* lisp/image-mode.el (image-mode-map): Add image-dired menu entry.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-02-17 Glenn Morris <rgm@gnu.org>
2
3 * image-mode.el (image-mode-map): Add image-dired menu entry.
4
5 * image-dired.el (tumme): Make this alias obsolete.
6
7 2013-02-16 Glenn Morris <rgm@gnu.org>
8
9 * image.el (image-animated-types): Remove.
10 (image-multi-frame-p): Rename from image-animated-p, and generalize.
11 (image-animated-p): Make obsolete alias.
12 (image-animate, image-nth-frame, image-animate-timeout):
13 Use image-multi-frame-p.
14 (image-animate-timeout): If no delay, use image-default-frame-delay.
15 * image-mode.el (image-mode, image-toggle-animation):
16 Use image-multi-frame-p. (Bug#763, bug#10739)
17 (image-mode): Adjust startup message for a multi-frame image.
18
19 * image-mode.el (image-mode-map): Give it a menu.
20
21 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
22
23 * net/tramp-cache.el (tramp-connection-properties): New customer
24 option.
25 (tramp-get-connection-property): Use it.
26
27 * net/tramp-compat.el (top): Require 'trampver.
28
29 * net/tramp-sh.el (tramp-remote-process-environment): Set
30 tramp-autoload cookie.
31
32 2013-02-16 Kevin Ryde <user42@zip.com.au>
33
34 * info-look.el (info-lookup-select-mode): If major-mode has no
35 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
36
37 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
38
39 * replace.el (read-regexp): Tighten the regexp that matches tag.
40 When tag is retrieved with `find-tag-default', use regexp that
41 matches tag at point. Also update docstring (Bug#13687).
42
43 2013-02-16 Eli Zaretskii <eliz@gnu.org>
44
45 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
46 add watch for the file, not its parent directory, since w32notify
47 sets up the watch for the directory internally. (Bug#13725)
48
49 2013-02-16 Glenn Morris <rgm@gnu.org>
50
51 * image.el (image-default-frame-delay): New variable.
52 (image-animated-p): Use image-default-frame-delay.
53 (image-minimum-frame-delay): New constant.
54 (image-animate-timeout): Use image-minimum-frame-delay.
55
56 * image.el (image-nth-frame): New, split from image-animate-timeout.
57 (image-animate-timeout): Use image-nth-frame.
58 * image-mode.el (image-goto-frame, image-next-frame)
59 (image-previous-frame): New commands.
60 (image-mode-map): Add new frame commands.
61
62 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
63
64 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
65 If col-desc already has help-echo, use it. (Bug#13563)
66
67 2013-02-16 Glenn Morris <rgm@gnu.org>
68
69 * image.el (image-current-frame): New variable.
70 (image-animate-timeout): Set image-current-frame.
71 * image-mode.el (image-mode): For animated images,
72 display a frame counter via mode-line-process.
73
74 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
75
76 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
79
80 2013-02-15 Alan Mackenzie <acm@muc.de>
81
82 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
83 global minor mode has been enabled, call the minor mode function
84 for a new buffer once only, after the major mode hook, whilst
85 allowing that hook explicitly to disable the minor mode.
86 (MODE-disable-in-buffer): New (generated) function.
87 (disable-MODE): New (generated) buffer local variable.
88
89 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
90
91 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
92 `iswitchb-next-match' and `iswitchb-prev-match' resply.
93 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
94 `ido-next-match' and `ido-prev-match' resply.
95 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
96 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
97 `icomplete-backward-completions' (Bug#13708).
98
99 2013-02-15 Glenn Morris <rgm@gnu.org>
100
101 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
102
103 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * net/goto-addr.el (goto-address-fontify): Add start and end args.
106 (goto-address-fontify-region): Use them instead of narrowing, so
107 syntax-ppss has access to the whole buffer.
108
109 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
110
111 * progmodes/python.el: Explain how to restore "cc-mode"-like
112 forward-sexp movement in header documentation (Bug#13642).
113 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
114 comments and strings (GH bug 114).
115
116 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
117
118 * progmodes/python.el (python-info-current-defun): Fix current
119 defun detection (Bug#13618).
120
121 2013-02-15 Chong Yidong <cyd@gnu.org>
122
123 * xml.el (xml-parse-string): Fix typo in handling of bad character
124 references.
125
126 2013-02-15 Glenn Morris <rgm@gnu.org>
127
128 * play/fortune.el (fortune-compile): Simplify and fix previous change.
129
130 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
131
132 * net/tramp.el (tramp-debug-message):
133 Add `tramp-condition-case-unless-debug'.
134 (tramp-debug-on-error): New defvar.
135 (tramp-condition-case-unless-debug): New defun.
136 (tramp-file-name-handler): Use it.
137
138 2013-02-14 Juri Linkov <juri@jurta.org>
139
140 * info.el (Info-isearch-filter): Treat non-nil values of
141 `search-invisible' including its default value `open'
142 like the value `t' to match hidden text. (Bug#13402)
143
144 2013-02-14 Glenn Morris <rgm@gnu.org>
145
146 * help-fns.el (find-lisp-object-file-name): Give special treatment
147 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
148
149 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
150
151 * net/quickurl.el (quickurl-save-urls):
152 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
153
154 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
155
156 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
157 depth for unfinished percent literal. Not using it in the caller.
158 (ruby-move-to-block): Jump over multiline literals of all types,
159 ignoring code-looking contents inside them.
160 (ruby-add-log-current-method): Improve performance at the expense
161 of accuracy. `ruby-block-contains-point' is relatively slow, so
162 only use it for method and singleton class blocks.
163
164 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
165
166 Use ControlMaster where applicable. (Bug#13677)
167
168 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
169 replacing `tramp-detect-ssh-controlmaster'.
170 (tramp-default-method): Use it.
171
172 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
173 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
174 arguments.
175 [scpc, rsyncc]: Remove methods.
176 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
177 and "ssh2_old".
178 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
179 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
180
181 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * emacs-lisp/package.el (package--initialized): Move before first use.
184
185 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
186
187 * icomplete.el (icomplete-hide-common-prefix): New user option.
188 (icomplete-first-match): New face.
189 (icomplete-completions): Correct handling of "complete but not
190 unique" (Bug#12638).
191
192 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
193
194 * descr-text.el (describe-char): Display the script (bug#13698).
195
196 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * tmm.el: Use lexical-binding and current-active-maps.
199 (tmm-menubar): Use map-keymap and pcase.
200 (tmm--completion-table): New function.
201 (tmm-prompt): Use it to fix the menu order.
202 (tmm-get-keybind): Use current-active-maps.
203
204 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
205
206 Add dired-hide-details-mode. (Bug#6799)
207
208 * locate.el (locate-mode): Set parent mode property to dired-mode.
209
210 * find-dired.el (find-dired): Call dired-insert-set-properties on
211 initial information line. Set process mark on end of buffer.
212 (find-dired-sentinel):
213 Call dired-insert-set-properties on summary.
214
215 * dired.el (dired-hide-details-hide-symlink-targets)
216 (dired-hide-details-hide-information-lines): New options.
217 (dired-insert-directory):
218 Set properties after final treatment of output.
219 (dired-insert-set-properties):
220 Set dired-hide-details-* properties.
221 (dired-mode-map): Bind dired-hide-details-mode.
222 (dired-mode): Set buffer-invisibility-spec to a list.
223 (dired-next-line): Skip hidden lines.
224 (dired-previous-line): Use dired-next-line.
225 (dired-hide-details-mode): New minor mode.
226 (dired-hide-details-update-invisibility-spec): New function.
227
228 2013-02-13 Glenn Morris <rgm@gnu.org>
229
230 * play/yow.el: Move to obsolete/. (Bug#9384)
231
232 2013-02-13 Juri Linkov <juri@jurta.org>
233
234 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
235 to select `ediff-control-frame' and set input focus correctly on Xfce.
236 (Bug#12218)
237
238 2013-02-13 Juri Linkov <juri@jurta.org>
239
240 * image-mode.el (image-mode-map):
241 * doc-view.el (doc-view-mode-map):
242 * vc/ediff-util.el (ediff-setup-keymap):
243 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
244
245 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
246
247 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
248 performance. Instead of recalculating indentation fully for each
249 line, sum up indentation depth based only on visited lines.
250 (ruby-parse-partial): Increase the depth after "do" even when END
251 is right after it.
252 (ruby-parse-partial): When END is in the middle of a percent
253 literal, increase the depth if the delimiter chars belong to the
254 paren syntax class.
255
256 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
257
258 * play/fortune.el (fortune-compile): Also make the compiled file
259 if it does not exist at all, not just if it is old. (Bug#5338)
260
261 2013-02-13 Glenn Morris <rgm@gnu.org>
262
263 * emacs-lisp/package.el (package-menu-execute): Doc fix.
264
265 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
266
267 * lisp/emacs-lisp/package.el (package-menu-execute):
268 Add optional noquery argument. (Bug#13625)
269
270 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
271
272 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
273 if DIR exists and PARENTS is non-nil.
274
275 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
276
277 * progmodes/js.el (js--multi-line-declaration-indentation):
278 Silence byte-compiler warning.
279
280 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
283
284 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
285 only if it doesn't exist.
286
287 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
288 Set process marker.
289
290 2013-02-12 Tassilo Horn <tsdh@gnu.org>
291
292 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
293 UserInstallation when calling soffice to work around LibreOffice
294 bug 37531.
295
296 2013-02-12 Glenn Morris <rgm@gnu.org>
297
298 * files.el (basic-save-buffer):
299 Offer to create a non-existing directory. (Bug#3016)
300
301 * calc/calc-graph.el (calc-graph-show-dumb):
302 * calendar/calendar.el (calendar-mode-map):
303 * cus-edit.el (custom-mode-map):
304 * ehelp.el (electric-help-map):
305 * emulation/vip.el (vip-mode-map):
306 * epa.el (epa-key-list-mode-map):
307 * info.el (Info-mode-map):
308 * mail/rmail.el (rmail-mode-map):
309 * mail/rmailsum.el (rmail-summary-mode-map):
310 * man.el (Man-mode-map):
311 * net/newst-plainview.el (newsticker-mode-map):
312 * progmodes/cpp.el (cpp-edit-mode-map):
313 * progmodes/grep.el (grep-mode-map):
314 * progmodes/idlw-help.el (idlwave-help-mode-map):
315 * simple.el (special-mode-map):
316 * startup.el (splash-screen-keymap):
317 * view.el (view-mode-map):
318 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
319
320 2013-02-11 Elias Pipping <pipping@lavabit.com>
321
322 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
323 (bug#13679).
324
325 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
328
329 2013-02-11 Glenn Morris <rgm@gnu.org>
330
331 * vc/diff.el (diff-use-labels): New variable.
332 (diff-no-select): Use --label rather than -L, and first
333 check that it is supported. (Bug#11067)
334
335 * files.el (enable-dir-local-variables): New variable.
336 (hack-dir-local-variables): Respect enable-dir-local-variables.
337 * tutorial.el (help-with-tutorial):
338 Ignore directory-local variables. (Bug#11127)
339
340 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
341 (vc-svn-global-switches): ... to here. (Bug#13513)
342
343 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
344
345 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
346 Handle "foo (bar, default: xxx): " prompts.
347
348 2013-02-10 Chong Yidong <cyd@gnu.org>
349
350 * files.el (basic-save-buffer-1): Do not set
351 buffer-file-coding-system-explicit (Bug#4533).
352
353 * mail/emacsbug.el (report-emacs-bug): Change binding of
354 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
355
356 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
357
358 * calc/calc.el (calc-allow-units-as-numbers): New variable.
359 * calc/calc-units.el (calc-convert-units): Use new variable.
360
361 2013-02-09 Eli Zaretskii <eliz@gnu.org>
362
363 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
364
365 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
366 buffer-file-type.
367
368 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
369 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
370 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
371 coding-system-for-write instead.
372
373 * jka-compr.el (jka-compr-write-region): Don't bind
374 buffer-file-type.
375
376 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
377 buffer-file-type.
378
379 * files.el (file-name-buffer-file-type-alist): Remove defvar.
380 (insert-file-contents-literally): Remove reference to
381 file-name-buffer-file-type-alist.
382
383 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
384 make-obsolete.
385 (find-buffer-file-type-match, find-buffer-file-type): Remove.
386 (find-buffer-file-type-coding-system): Remove references to
387 find-buffer-file-type-match, find-buffer-file-type, and
388 buffer-file-type.
389 Don't put find-buffer-file-type-coding-system into
390 file-coding-system-alist.
391 (find-file-binary, find-file-text): Bind coding-system-for-read
392 instead of file-name-buffer-file-type-alist.
393
394 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
395
396 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
397 converter (Bug#13622).
398 (doc-view-unoconv-program): Make obsolete alias.
399 (doc-view-odf->pdf-converter-program): New variable.
400 (doc-view-odf->pdf-converter-function): New variable.
401 (doc-view-mode-p): Use it.
402 (doc-view-odf->pdf-converter-unoconv):
403 Rename from `doc-view-odf->pdf-converter-unoconv'.
404 (doc-view-odf->pdf-converter-soffice): New function.
405 (doc-view-convert-current-doc):
406 Use `doc-view-odf->pdf-converter-function'.
407
408 2013-02-09 Chong Yidong <cyd@gnu.org>
409
410 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
411 view-echo-area-messages (Bug#13340).
412
413 * help.el (view-echo-area-messages): Use display-buffer.
414
415 * dired-x.el (dired-do-run-mail): Prompt for confirmation
416 (Bug#13561).
417
418 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
421 Eval body right away, now that we do eager macroexpansion (bug#13605).
422
423 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
424 (fundamental-mode): Use run-mode-hooks.
425
426 * eshell/esh-proc.el (eshell/kill): Fix last change.
427 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
428
429 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
430
431 * eshell/esh-proc.el (eshell/kill): Rewrite.
432
433 * eshell/em-ls.el (show-almost-all): Declare.
434 (eshell-do-ls): Add support for -A argument.
435
436 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
437
438 * icomplete.el (icomplete-forward-completions)
439 (icomplete-backward-completions): Handle corner case (bug#13602).
440
441 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
442
443 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
444 be nil. Handle this. (Bug#13636)
445
446 2013-02-07 Richard Stallman <rms@gnu.org>
447
448 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
449 `save-buffer-coding-system'.
450
451 2013-02-07 Alan Mackenzie <acm@muc.de>
452
453 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
454 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
455 (c-parse-state-get-strategy): Don't return 'BOD any more.
456 (c-append-lower-brace-pair-to-state-cache):
457 Extra parameter HERE instead of narrowing.
458 Widen to top of buffer before searching backwards for a brace pair.
459 (c-state-push-any-brace-pair): Add HERE parameter to function call.
460 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
461 Narrow to parameter HERE, in place of being called narrowed.
462 (c-remove-stale-state-cache): Extra parameter HERE in place of
463 narrowing. Check there's an open brace in the cache before
464 searching for its match.
465 (c-invalidate-state-cache-1): Add HERE parameter to function call.
466 (c-parse-state-1): Don't narrow here for 'forward strategy,
467 instead passing extra parameter HERE to several functions.
468 Remove 'BOD strategy.
469
470 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
471
472 * emacs-lisp/package.el (describe-package-1): Tell what archive is
473 used to install the package.
474
475 2013-02-06 Glenn Morris <rgm@gnu.org>
476
477 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
478 if we can't get user input. (Bug#6567)
479
480 * startup.el (command-line): If simple.el is missing,
481 test and warn about for some possible causes.
482
483 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
484
485 * cus-start.el (all): Add ns-use-native-fullscreen.
486
487 2013-02-05 Glenn Morris <rgm@gnu.org>
488
489 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
490
491 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
492 Fix directory creation in fallback case.
493
494 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
495
496 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
497 (vc-update-change-log): Use dolist.
498
499 2013-02-04 Chong Yidong <cyd@gnu.org>
500
501 * thingatpt.el: Rewrite the URL detection routines, absorbing some
502 code from ffap.el.
503 (thing-at-point-beginning-of-url-regexp): New var.
504 (thing-at-point-uri-schemes): Update list of URI schemes.
505 (thing-at-point-url-regexp): Variable deleted.
506 (thing-at-point-markedup-url-regexp): Disallow newlines.
507 (thing-at-point-newsgroup-regexp)
508 (thing-at-point-newsgroup-heads)
509 (thing-at-point-default-mail-uri-scheme): New variables.
510 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
511 method to find the possible bounds of the URI at point.
512 New optional argument to find ill-formed URIs.
513 (thing-at-point-url-at-point): Rewrite. New arguments for finding
514 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
515 the scheme-adding heuristics from ffap-url-at-point.
516 (thing-at-point--bounds-of-well-formed-url): New function.
517 Do parens matching to decide whether to include parens in the URI
518 (Bug#9153).
519
520 * ffap.el: Require thingatpt.
521 (ffap-url-at-point): Delegate URI detection to thing-at-point.
522 All URI-valid characters are now recognized (Bug#5673).
523 (ffap-string-at-point): Use use-region-p.
524 (ffap-url-regexp): Extra character is handled by thing-at-point.
525 (ffap-string-at-point-mode-alist): Allow parentheses.
526 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
527 Convert to aliases; code moved to thingatpt.el.
528 (ffap-gnus-hook): Use setq-local.
529
530 2013-02-04 Glenn Morris <rgm@gnu.org>
531
532 * emacs-lisp/ert.el (ert--explain-format-atom):
533 Don't try to print non-characters as characters. (Bug#13543)
534
535 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
536
537 * net/tramp.el (tramp-debug-message): Extend function exclude list.
538 (tramp-backtrace): New defun.
539 (tramp-handle-insert-file-contents): Use `visit' when inserting
540 the local copy.
541
542 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
543 Use `remote-file-name-inhibit-cache'.
544
545 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
548 (bug#13614).
549
550 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
551 current-load-list (bug#13366).
552
553 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
554
555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
556 Identify g++ template instantiation trace. (Bug#12287)
557 (compilation-mode-hook, compilation-start-hook)
558 (compilation-window-height): Simplify docstrings. (Bug#13379)
559
560 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * mouse.el (mouse-drag-track): Always deactivate the mark before
563 running the final event's command since that command is in charge of
564 activating the mark if needed (bug#13523).
565
566 2013-02-02 Juri Linkov <juri@jurta.org>
567
568 * replace.el (perform-replace): Move let-bindings of isearch-*
569 variables deeper to the loop that searches for the next match.
570 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
571 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
572 (Bug#13579)
573
574 * isearch.el (isearch-search-fun-default): Check for null
575 first element of isearch-cmds as a precaution when it's used
576 with inactive isearch.
577
578 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
579
580 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
581 error when buffer in question is narrowed so position 1 is out of
582 visible part.
583
584 2013-02-02 Glenn Morris <rgm@gnu.org>
585
586 * textmodes/remember.el (remember-clipboard): Doc fix.
587
588 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
591 properties (bug#13179).
592
593 2013-02-02 Juri Linkov <juri@jurta.org>
594
595 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
596 instead of hard-coded default face `match'. (Bug#9438)
597
598 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
599
600 * vc/vc-arch.el (vc-arch-registered):
601 * vc/vc-bzr.el (vc-bzr-registered):
602 * vc/vc-cvs.el (vc-cvs-registered):
603 * vc/vc-git.el (vc-git-registered):
604 * vc/vc-hg.el (vc-hg-registered):
605 * vc/vc-mtn.el (vc-mtn-registered):
606 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
607 (Bug#13139)
608
609 * info.el (Info-next-reference, Info-prev-reference): Add numeric
610 prefix argument. (Bug#11656)
611
612 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
615
616 2013-02-01 Glenn Morris <rgm@gnu.org>
617
618 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
619 if the backend is known not to support it.
620
621 * imenu.el (imenu-default-create-index-function):
622 Tweak infinite loop test to check for forward motion as well as none.
623
624 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
625
626 * net/soap-client.el (soap-invoke): Encode the string for
627 `url-request-data' as UTF-8.
628 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
629
630 2013-02-01 Glenn Morris <rgm@gnu.org>
631
632 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
633
634 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
635
636 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
637
638 * net/tramp.el (tramp-tramp-file-p): Comment check for
639 `string-as-unibyte'. The function does not exist on XEmacs, and
640 likely we need another approach.
641
642 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
643 `tramp-gw-*' variables are bound.
644
645 2013-01-31 Glenn Morris <rgm@gnu.org>
646
647 * files.el (basic-save-buffer-2): Choose coding system for
648 writing the file before backing it up, to reduce delay between
649 backing up and writing the new version. (Bug#13522)
650
651 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
652
653 * simple.el (cycle-spacing): New command.
654 (just-one-space): Use it.
655
656 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
659 (opascal-newline-always-indents): Remove custom.
660 (opascal-tab, opascal-newline): Remove commands.
661 (opascal-new-comment-line): Insert "\n" instead of calling newline.
662 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
663 (opascal-save-match-data): Remove, use save-match-data instead.
664 (opascal-save-state): Use with-silent-modifications.
665
666 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
667 (bug#13585).
668
669 2013-01-30 Juri Linkov <juri@jurta.org>
670
671 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
672 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
673 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
674
675 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
678 column if we're just deleting the backslashes.
679 (makefile-fill-paragraph): Use eolp.
680
681 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
682
683 * autorevert.el (auto-revert-use-notify): Fix docstring.
684
685 2013-01-30 Leo Liu <sdl.web@gmail.com>
686
687 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
688
689 2013-01-30 Glenn Morris <rgm@gnu.org>
690
691 * mouse.el (mouse-drag-line): Avoid pushing same event onto
692 unread-command-events twice in some cases. This tries to implement
693 the 2012-07-26 changes in a different way. (Bug#13560)
694
695 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
696
697 * progmodes/python.el
698 (python-pdbtrack-comint-output-filter-function): Enhancements on
699 stacktrace detection. (thanks @gnovak)
700
701 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
704 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
705 Use defvar-local.
706 (jit-lock-register): Use setq-local.
707
708 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
709
710 * calc-units.el (math-default-units-table): Remove initial value.
711 (calc-convert-units): Treat expressions where all the units cancel as
712 if they didn't have units.
713
714 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
715
716 * net/tramp.el (tramp-process-connection-type): Fix docstring.
717 (tramp-completion-reread-directory-timeout): Fix type.
718 (tramp-connection-min-time-diff): New defcustom.
719
720 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
721
722 2013-01-30 Glenn Morris <rgm@gnu.org>
723
724 * imenu.el (imenu-default-create-index-function):
725 Put back a version of the infinite loop test removed 2013-01-23.
726
727 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
728
729 * progmodes/python.el (python-shell-parse-command):
730 Find python-shell-interpreter with modified environment.
731
732 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
735
736 2013-01-29 Alan Mackenzie <acm@muc.de>
737
738 Amend to fontify /regexp/s in actions correctly.
739 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
740 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
741 are no longer included.
742 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
743 What used to be these variables without "-line" in the name.
744 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
745 (c-awk-non-arith-op-bra-re): Now also matches {.
746 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
747 "return", and "case".
748 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
749 by /.
750 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
751 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
752
753 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
754
755 * autorevert.el (auto-revert-use-notify):
756 Use `custom-initialize-default' for initialization. (Bug#13583)
757
758 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
759
760 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
761 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
762 in `tramp-file-name-handler'.
763 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
764 compatibility.
765 (tramp-compute-multi-hops): Check, whether
766 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
767
768 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
771 (bug#13297).
772
773 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
774
775 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
776 checks made superfluous by the \_< operator.
777 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
778 temporarily) broken indentation.
779 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
780 Highlight nested constants, too. \_< broke that.
781
782 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
783
784 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
785 instead of "\\b".
786
787 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
788
789 * autorevert.el (auto-revert-handler): Notifications which result
790 from a saved file shall not be taken into account. (Bug#13557)
791
792 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
793
794 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
795 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
796 (lisp-mode): Pass t for it. (Bug#13556)
797
798 2013-01-25 Alan Mackenzie <acm@muc.de>
799
800 AWK Mode: Fix indentation bug at top level. Bug #12274.
801
802 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
803 just before CASE 5D.
804
805 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
806
807 * net/socks.el (socks-nslookup-host): Use string-to-number.
808
809 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
810
811 * autorevert.el (auto-revert-remote-files)
812 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
813 (auto-revert-notify-enabled, auto-revert-use-notify)
814 (auto-revert-notify-watch-descriptor-hash-list)
815 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
816 (auto-revert-notify-event-descriptor)
817 (auto-revert-notify-event-action)
818 (auto-revert-notify-event-file-name): Doc fix.
819 (global-auto-revert-mode): Reorder checks.
820 (auto-revert-notify-rm-watch): Respect changed values of
821 `auto-revert-notify-watch-descriptor-hash-list'.
822 (auto-revert-notify-add-watch): Check for
823 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
824 `inotify-add-watch'. Watch `default-directory' instead of
825 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
826 has a changed meaning now. (Bug#13540)
827 (auto-revert-notify-handler): Change implementation wrt events
828 returning from a directory.
829 (auto-revert-handler): Reorder implementation for checks of remote
830 files.
831 (auto-revert-buffers): Fix parentheses error.
832
833 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
834
835 * progmodes/python.el: Enhancements to header documentation about
836 skeletons. (Bug#5716)
837
838 * imenu.el (imenu-default-create-index-function): Remove useless
839 infinite loop check. (Bug#13438)
840
841 2013-01-25 Alan Mackenzie <acm@muc.de>
842
843 Fix a bug in the state cache mechanism. Refactor this a bit.
844
845 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
846 `cache-pos' element from the return value.
847 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
848 buffer to enable proper searching from beyond HERE. Amend the
849 test for detecting the sought brace pair. Amend the value written
850 to the "brace desert cache" when the brace isn't found.
851 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
852 and several other variables analogously.
853 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
854 parameter to a locally calculated variable.
855 (c-parse-state-1): Change the calling conventions to the two
856 defuns involving `cache-pos'.
857
858 2013-01-25 Chong Yidong <cyd@gnu.org>
859
860 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
861
862 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
863
864 * paren.el (show-paren-function): Make sure to set 'priority and
865 'face only if the overlay does exist.
866
867 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
868
869 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
870
871 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
872 basic attributes.
873 (tramp-sh-handle-set-file-acl): Improve error checking.
874
875 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
876
877 * doc-view.el (doc-view-display): Force mode line update until all
878 document is converted. Suggested by Stefan Monnier (Bug#13164).
879
880 2013-01-23 Bastien Guerry <bzg@gnu.org>
881
882 * paren.el (show-paren-function): Make sure an overlay exists
883 before trying to delete it. Also use `pos' as a position only
884 when it is an integer.
885
886 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
887
888 * play/gametree.el (gametree-break-line-here): Use point-marker.
889
890 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
891
892 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
893 Mark descriptive parts with `display' property.
894
895 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
896
897 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
898 New variable to map standard dict names to hunspell ones.
899 (ispell-set-spellchecker-params): Make sure specific dict names
900 are used for standard dicts with hunspell.
901
902 2013-01-21 Tassilo Horn <tsdh@gnu.org>
903
904 * textmodes/reftex-cite.el (reftex-format-citation): Add format
905 chars for note (%N) and url (%U).
906 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
907
908 2013-01-21 Juri Linkov <juri@jurta.org>
909
910 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
911 in addition to existing separate binding `meta f10' in `global-map'.
912 (Bug#13484)
913
914 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
915
916 Improve XEmacs compatibility.
917
918 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
919
920 * net/tramp-adb.el (top): Require `time-date'.
921 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
922 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
923 Use `tramp-file-name-handler'.
924 (tramp-adb-maybe-open-connection):
925 Use `tramp-compat-set-process-query-on-exit-flag'.
926
927 * net/tramp-sh.el (tramp-sh-handle-file-acl):
928 Use `tramp-compat-funcall'.
929
930 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
931 `tramp-compat-funcall'.
932
933 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
934
935 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
936 reimplementation using "adb shell command ..." instead of running
937 remote shell interactively.
938
939 2013-01-20 Glenn Morris <rgm@gnu.org>
940
941 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
942 Add native profiler menu entries.
943
944 * profiler.el (profiler-running-p): New function.
945 (profiler-cpu-profile): Use profiler-running-p.
946 (profiler-report-mode-map): Add some more menu entries.
947
948 2013-01-19 Glenn Morris <rgm@gnu.org>
949
950 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
951 fixes 2012-12-07 change. (Bug#13499)
952
953 2013-01-19 Leo Liu <sdl.web@gmail.com>
954
955 * dired.el (dired-get-marked-files): Prune erroneous values due to
956 last change. (Bug#13152)
957
958 2013-01-19 Glenn Morris <rgm@gnu.org>
959
960 * progmodes/etags.el (tags-table-check-computed-list):
961 Preserve point in tags buffer. (Bug#13412)
962
963 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
964
965 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
966 Chong Yidong <cyd@gnu.org>
967
968 * image-mode.el (image-next-file, image-previous-file):
969 New commands (Bug#8453).
970 (image-mode-map): Bind them to n and p.
971 (image-mode--images-in-directory): New helper function.
972
973 2013-01-19 Chong Yidong <cyd@gnu.org>
974
975 * image-mode.el (image-mode-fit-frame): Add a frame argument.
976 Suggested by Drew Adams (Bug#7730). Handle window decorations;
977 save and restore the old window configuration.
978
979 2013-01-18 Leo Liu <sdl.web@gmail.com>
980
981 * progmodes/js.el: Tweak autoload cookie for alias.
982
983 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
984
985 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
986 buffer local, again. This was lost with the fix on 2013-01-12.
987
988 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
989
990 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
991 order to support several eshell buffers in parallel.
992
993 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
994
995 * autorevert.el (auto-revert-use-notify): In the :set function, do
996 not modify `kill-buffer-hook'.
997 (auto-revert-notify-rm-watch):
998 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
999 (auto-revert-notify-add-watch): Do not call
1000 `auto-revert-notify-rm-watch', but add it to a buffer local
1001 `kill-buffer-hook'.
1002
1003 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1006 call to `eval' rather than a backquoted lambda.
1007
1008 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1011 to return an explicit nil.
1012 (advice--remove-function): Change accordingly.
1013
1014 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1015 the use of nadvice.el.
1016
1017 * progmodes/which-func.el (which-function): Silence imenu errors
1018 (bug#13433).
1019
1020 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1021
1022 * progmodes/sql.el: (sql-imenu-generic-expression):
1023 (sql-mode-font-lock-object-name): Match schema qualified names.
1024 (sql-connect): Use string keys.
1025 (sql-product-interactive): Wait for interpreter prompt.
1026 (sql-comint-oracle): Set process coding based on NLS_LANG.
1027
1028 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1029
1030 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1031 (sql-interactive-remove-continuation-prompt):
1032 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1033
1034 2013-01-14 Leo Liu <sdl.web@gmail.com>
1035
1036 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1037 (Bug#13420)
1038
1039 2013-01-14 Glenn Morris <rgm@gnu.org>
1040
1041 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1042 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1043
1044 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1045
1046 * progmodes/python.el (python-nav-end-of-statement):
1047 Fix cornercase when handling multiline strings.
1048
1049 2013-01-13 Richard Stallman <rms@gnu.org>
1050
1051 * mail/sendmail.el (mail-position-on-field): Add doc string.
1052
1053 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1054 Get current message boundaries and pass them to
1055 message-forward-make-body-mime. Minor style changes.
1056
1057 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1058
1059 * cus-start.el (all): Avoid warnings about
1060 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1061
1062 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1063
1064 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1065
1066 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1069 (jit-lock--debug-fontifying): New var.
1070 (jit-lock--debug-fontify): New function.
1071 * subr.el (condition-case-unless-debug): Don't prevent catching the
1072 error, just let the debbugger run.
1073 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1074 timer code and don't drop errors silently.
1075
1076 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1077
1078 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1079 `permanent-local' property.
1080 (auto-revert-notify-handler): Use `file-equal-p'.
1081
1082 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1083
1084 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1085 file notification by ACTION. For filtering by file name, compare
1086 only the non-directory part of the file name.
1087
1088 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * autorevert.el: Use cl-lib instead of cl.
1091
1092 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1093 (vc-bzr-checkin): Use it.
1094 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1095 will preserve match-data.
1096
1097 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1098
1099 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1100 (js--declaration-keyword-re): New var.
1101 (js--multi-line-declaration-indentation): New function.
1102 (js--proper-indentation): Use it.
1103
1104 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1105
1106 * calc/calc.el (calc-highlight-selections-with-faces)
1107 (calc-dispatch):
1108 * comint.el (comint-history-isearch-message):
1109 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1110 * ffap.el (ffap-string-at-point-region, ffap-next)
1111 (ffap-string-at-point, ffap-string-around)
1112 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1113 (ffap-literally):
1114 * font-lock.el (font-lock-keywords-alist)
1115 (font-lock-removed-keywords-alist):
1116 * help-mode.el (help-xref-symbol-regexp):
1117 * info.el (Info-find-emacs-command-nodes):
1118 * international/mule.el (add-to-coding-system-list):
1119 * isearch.el (isearch-message-function, isearch-fail-pos):
1120 * misearch.el (multi-isearch-next-buffer-function):
1121 * newcomment.el (comment-box):
1122 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1123 (pr-setting-database):
1124 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1125 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1126 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1127 (pike-font-lock-keywords-3):
1128 * progmodes/compile.el (compile):
1129 * progmodes/etags.el (tags-table-files)
1130 (tags-table-files-function, tags-included-tables-function):
1131 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1132 (gdb-restore-windows):
1133 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1134 (ps-n-up-filling-database):
1135 * server.el (server-buffer, server-log):
1136 * simple.el (newline, delete-backward-char, delete-forward-char)
1137 (minibuffer-history-isearch-message, kill-line, track-eol)
1138 (temporary-goal-column):
1139 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1140 (flyspell-default-deplacement-commands):
1141 * textmodes/ispell.el (ispell-accept-output):
1142 * textmodes/sgml-mode.el (html-tag-help):
1143 * vc/compare-w.el (compare-ignore-whitespace)
1144 (compare-ignore-case, compare-windows-dehighlight):
1145 * vc/diff.el (diff):
1146 * whitespace.el (whitespace-point)
1147 (whitespace-font-lock-refontify, whitespace-bob-marker)
1148 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1149
1150 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1151
1152 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1153 (auto-revert-notify-rm-watch): Ignore errors.
1154 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1155 inotify, and '(size last-write-time) for w32notify.
1156 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1157 watch fails - this is a fallback to the file modification check.
1158 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1159 (auto-revert-notify-event-action)
1160 (auto-revert-notify-event-file-name): New defuns.
1161 (auto-revert-notify-handler): Use them. Implement first
1162 plausibility checks.
1163 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1164
1165 2013-01-11 Julien Danjou <julien@danjou.info>
1166
1167 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1168 max are almost equal. Also return the correct value for V which is
1169 already between 0 and 1.
1170
1171 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1172
1173 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1174
1175 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1176
1177 * autorevert.el (auto-revert-notify-rm-watch)
1178 (auto-revert-notify-add-watch): Fix typos in w32notify function
1179 names.
1180
1181 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1182
1183 * autorevert.el (auto-revert-notify-enabled): Move up.
1184 (auto-revert-use-notify): New defcustom.
1185 (auto-revert-mode, global-auto-revert-mode)
1186 (auto-revert-notify-add-watch, auto-revert-handler)
1187 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1188 `auto-revert-notify-enabled'.
1189
1190 2013-01-10 Elias Pipping <pipping@exherbo.org>
1191
1192 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1193 * doc-view.el (doc-view-document->bitmap):
1194 Use doc-view-single-page-converter-function instead of
1195 single-page-converter arg; adjust callers.
1196
1197 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1198
1199 * progmodes/which-func.el (which-function): Understand Semantic's use
1200 of overlays in imenu--index-alist.
1201
1202 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1203
1204 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1205 (Man-man-k-use-anchor): New var.
1206 (Man-parse-man-k): New function.
1207 (Man-completion-table): Use it.
1208 (man): Flush the completion cache between uses.
1209
1210 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1211
1212 * autorevert.el: Add file watch support.
1213 (auto-revert-notify-enabled): New defconst.
1214 (auto-revert-notify-watch-descriptor-hash-list)
1215 (auto-revert-notify-watch-descriptor)
1216 (auto-revert-notify-modified-p): New defvars.
1217 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1218 (auto-revert-notify-handler): New defuns.
1219 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1220 when mode is disabled.
1221 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1222 (auto-revert-buffers): Add file watches for active buffers.
1223
1224 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1225
1226 * cus-start.el (toplevel): Only allow float values for
1227 scroll-up-aggressively and scroll-down-aggressively.
1228 Allow any number for line-spacing.
1229
1230 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1233 (doc-view-pdf->png-converter-function): Use mupdf if available.
1234 (doc-view-djvu->png-converter-function)
1235 (doc-view-ps->png-converter-function): Remove.
1236 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1237 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1238 (doc-view-already-converted-p): Adjust accordingly.
1239 (doc-view-mode-p): Simplify.
1240 (doc-view-enlarge): Use setq-local.
1241 (doc-view-pdf->png-converter-ghostscript)
1242 (doc-view-djvu->png-converter-ddjvu)
1243 (doc-view-pdf->png-converter-mupdf): Rework to call
1244 doc-view-start-process directly.
1245 (doc-view-pdf/ps->png): Simplify accordingly.
1246 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1247 (doc-view-document->bitmap): Rename from doc-view-document->png.
1248 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1249 (doc-view-set-slice-from-bounding-box): Fix completion table.
1250 (doc-view-mode): Use add-hook for after-revert-hook.
1251
1252 2013-01-10 Glenn Morris <rgm@gnu.org>
1253
1254 * emacs-lisp/authors.el (authors-ignored-files)
1255 (authors-valid-file-names, authors-renamed-files-alist):
1256 Add some more entries.
1257
1258 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1261 `t' pseudo-window entry.
1262
1263 2013-01-10 Alan Mackenzie <acm@muc.de>
1264
1265 Fix bugs in the c-parse-state mechanism. Reuse some markers
1266 instead of continually generating new ones.
1267
1268 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1269 (c-state-old-cpp-end-marker): New variables.
1270 (c-append-lower-brace-pair-to-state-cache): Start a backward
1271 search for "}" definitively outside CPP constructs.
1272 (c-remove-stale-state-cache): Inform the caller of a need to
1273 search back for a brace pair in certain circumstances.
1274 (c-state-maybe-marker): New macro.
1275 (c-parse-state): Reuse markers when appropriate.
1276
1277 2013-01-10 Glenn Morris <rgm@gnu.org>
1278
1279 * simple.el (execute-extended-command): Doc fix.
1280 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1281
1282 2013-01-10 Chong Yidong <cyd@gnu.org>
1283
1284 * faces.el (read-face-name): Doc fix.
1285
1286 2013-01-10 Roland Winkler <winkler@gnu.org>
1287
1288 * emacs-lisp/crm.el: Allow any regexp for separators.
1289 (crm-default-separator): All spaces around the default comma separator.
1290 (crm--completion-command): New macro.
1291 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1292 (crm-complete-and-exit): Handle non-single-char separators.
1293
1294 2013-01-09 Elias Pipping <pipping@lavabit.com>
1295
1296 * doc-view.el: Add support for DjVu (bug#13164).
1297 (doc-view-djvu->png-converter-function): New config var.
1298 (doc-view-single-page-converter-function, doc-view--image-type)
1299 (doc-view--image-file-extension): New vars.
1300 (doc-view-mode): Initialize them.
1301 (doc-view-goto-page): Use them.
1302 (doc-view-mode-p): Add support for ddjvu.
1303 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1304 (doc-view-set-up-single-converter): New funs.
1305 (doc-view-pdf/ps->png): Extend for djvu.
1306 (doc-view-document->png): Rename from doc-view-pdf->png.
1307 (doc-view-convert-current-doc): Handle djvu.
1308 (doc-view-insert-image, doc-view-display)
1309 (doc-view-already-converted-p): Don't hardcode png.
1310 (doc-view-set-doc-type): Recognize djvu docs.
1311
1312 2013-01-09 Elias Pipping <pipping@lavabit.com>
1313
1314 * doc-view.el: Add support for mupdf converter (bug#13164).
1315 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1316 (doc-view-ps->png-converter-function): New config vars.
1317 (doc-view-pdf->png-converter-ghostscript)
1318 (doc-view-ps->png-converter-ghostscript)
1319 (doc-view-pdf->png-converter-mupdf): New functions.
1320 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1321
1322 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1323
1324 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1325 first in session cache: When `tramp-own-remote-path' is in
1326 `tramp-remote-path', the remote path is only set in the session
1327 cache.
1328
1329 2013-01-09 Glenn Morris <rgm@gnu.org>
1330
1331 * emacs-lisp/trace.el (trace-function-foreground)
1332 (trace-function-background): Doc fix.
1333
1334 2013-01-09 Juri Linkov <juri@jurta.org>
1335
1336 * international/mule-cmds.el (read-char-by-name): Move let-binding
1337 of completion-ignore-case around completing-read to fix regression
1338 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1339 `string-match-p' using the nil value of `case-fold-search' and
1340 `completion-ignore-case' in `completion-pcm--all-completions'.
1341 (Bug#12615).
1342
1343 2013-01-09 Glenn Morris <rgm@gnu.org>
1344
1345 * progmodes/compile.el (compilation-parse-errors):
1346 Fix typo. (Bug#13369)
1347
1348 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1349
1350 * comint.el (comint-send-input): Check size of buffer before
1351 waiting for process output, in case already accepted. (Bug#13290)
1352
1353 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1354
1355 Spelling fixes.
1356 * net/tramp-adb.el (tramp-adb-get-toolbox):
1357 Fix misspelling of 'unknown'.
1358
1359 2013-01-08 Juri Linkov <juri@jurta.org>
1360
1361 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1362 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1363 Use underline style wave on terminals that support it. (Bug#13000)
1364
1365 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1366
1367 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1368 the predicate returns nil.
1369
1370 * simple.el: Use lexical-binding.
1371 (primitive-undo): Use pcase.
1372 (minibuffer-history-isearch-push-state): Use a closure.
1373
1374 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1375
1376 * simple.el (primitive-undo): Move from undo.c.
1377
1378 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1381 (cvs-mode-remove-handled): Use it (bug#13380).
1382
1383 * emacs-lisp/nadvice.el (advice--tweak): New function.
1384 (advice--remove-function, advice--subst-main): Use it.
1385
1386 * emacs-lisp/advice.el: Update commentary.
1387
1388 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1391 Remove spurious entry.
1392
1393 2013-01-08 Glenn Morris <rgm@gnu.org>
1394
1395 * net/tramp.el (tramp-default-host-alist): Add :version.
1396
1397 2013-01-08 Juri Linkov <juri@jurta.org>
1398
1399 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1400 single completion. (Bug#12456)
1401 (info--manual-names): Expand node completions into an explicit list
1402 before appending it to another list. Filter out internal buffers
1403 with the leading space in the buffer name. (Bug#10771)
1404
1405 2013-01-08 Juri Linkov <juri@jurta.org>
1406
1407 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1408 that defaults to the Top node.
1409 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1410 the short format (FILENAME) goes to the Top node.
1411 (Info-build-node-completions): Rename arg `file' to `filename'.
1412 (Bug#13365)
1413
1414 2013-01-07 Bastien Guerry <bzg@gnu.org>
1415
1416 * menu-bar.el (menu-bar-search-documentation-menu):
1417 Use `apropos-user-option' and fix the help message.
1418
1419 2013-01-07 Bastien Guerry <bzg@gnu.org>
1420
1421 * apropos.el (apropos-do-all): Update docstring.
1422 (apropos-user-option-button): New face.
1423 (apropos-user-option): Rename from `apropos-variable' and update
1424 docstring.
1425 (apropos-variable): Rewrite, now show all variables by default.
1426 (apropos-print): Mention "User option" instead of "Variable" when
1427 printing doc for user options. (Bug#13276)
1428
1429 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1430
1431 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1432 Handle filename correctly, when parsing "source -> target" symlink
1433 output.
1434 (tramp-adb-handle-set-file-times): New defun.
1435
1436 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1439 advice list when the interactive-spec of ad-Advice-* changes.
1440
1441 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1442
1443 * wid-edit.el (widget-default-get): Work for inlined elements.
1444 (Bug#12670)
1445
1446 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1447
1448 * net/tramp.el (tramp-default-host-alist): New defcustom.
1449 (tramp-find-host): Use it.
1450 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1451 `eshell-directory-change-hook'.
1452
1453 * net/tramp-adb.el (top): Add adb specific entry in
1454 `tramp-default-host-alist'.
1455 (tramp-adb-file-name-host): Remove function.
1456 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1457 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1458
1459 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1460
1461 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1462
1463 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1464
1465 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1468 consist of more than one digit.
1469 (tramp-adb-file-name-handler-alist):
1470 Use `tramp-handle-file-exists-p' consistently.
1471 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1472 (tramp-adb-handle-file-exists-p): Remove function.
1473 (tramp-adb-file-name-host): New defun.
1474 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1475 Use it.
1476 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1477
1478 2013-01-06 Chong Yidong <cyd@gnu.org>
1479
1480 * vc/vc.el (vc-next-action): Detect buffer modifications
1481 conflicting with locking VCS operation (Bug#11490).
1482
1483 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1484
1485 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1486
1487 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1488 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1489
1490 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1491
1492 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1493 parsing of ls output using regular expression (handle filenames
1494 with spaces). Use virtual device number.
1495 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1496 cleanup).
1497
1498 2013-01-04 Daiki Ueno <ueno@gnu.org>
1499
1500 * epg.el: Silence byte-compiler warnings.
1501 (epg--start): Use delete-char instead of delete-backward-char.
1502 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1503
1504 2013-01-04 Daiki Ueno <ueno@gnu.org>
1505
1506 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1507 Suggested by Eli Zaretskii <eliz@gnu.org>.
1508
1509 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1512 non-negative integers. Otherwise, the default values are used.
1513 (tramp-convert-file-attributes): Convert uid and gid to integers.
1514
1515 2013-01-04 Glenn Morris <rgm@gnu.org>
1516
1517 * term.el (term-handle-colors-array): Ensure face attributes
1518 are fully specified, not nil. (Bug#13337)
1519
1520 * term.el (term-default-fg-color, term-default-bg-color):
1521 Fix custom type.
1522
1523 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1524 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1525 rather than 'jka-compr being loaded. (Bug#13338)
1526
1527 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1528
1529 * icomplete.el (icomplete-completions):
1530 Honor icomplete-prospects-height once more following
1531 2012-11-29 changes. (Bug#13224)
1532
1533 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1536 of called-interactively-p as well (bug#13237).
1537
1538 * view.el (view--enable, view--disable): Rename from view-mode-enable
1539 and view-mode-disable and assume it's called from view-mode.
1540 (view-mode-enable, view-mode-disable): Redefine as obsolete
1541 compatibility layer above view-mode.
1542 (view-mode-enter): Call `view-mode'.
1543
1544 * files.el (after-find-file): Call `view-mode'.
1545
1546 * doc-view.el (doc-view-scale-internally): New var.
1547 (doc-view-enlarge, doc-view-insert-image): Obey it.
1548
1549 2013-01-03 Daiki Ueno <ueno@gnu.org>
1550
1551 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1552 exist. (Bug#13344)
1553
1554 2013-01-03 Glenn Morris <rgm@gnu.org>
1555
1556 * mail/rmail.el (rmail-set-header-1): Ignore case.
1557 Handle multi-line headers. (Bug#13330)
1558
1559 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1560 Handle paragraph starting at beginning of buffer.
1561
1562 * subr.el (eval-after-load): Don't purecopy the form, so that it
1563 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1564
1565 * emacs-lisp/byte-run.el (defun): Place cl declarations
1566 after any interactive spec. (Bug#13265)
1567
1568 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1569
1570 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1571 defun. Don't check for DECL if DOCSTRING isn't a string.
1572 (defun): Likewise.
1573
1574 2013-01-02 Glenn Morris <rgm@gnu.org>
1575
1576 * eshell/em-cmpl.el (eshell-pcomplete):
1577 More thoroughly imitate pcomplete. (Bug#13293)
1578
1579 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1580 Return nil for empty path elements. (Bug#13296)
1581
1582 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1583
1584 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1585 order to improve efficiency (Based on Daniel Colascione's
1586 <dancol@dancol.org> patch). (Bug#13182)
1587
1588 2013-01-02 Glenn Morris <rgm@gnu.org>
1589
1590 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1591
1592 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1593
1594 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1595 neither DOCSTRING nor DECL was given. (Bug#13316)
1596
1597 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1598
1599 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1600 `error' call.
1601 (tramp-do-copy-or-rename-file): Ignore errors when calling
1602 `set-file-extended-attributes'.
1603
1604 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1605 Add handler for `file-acl'.
1606 (tramp-smb-handle-file-acl): New defun.
1607
1608 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1609
1610 * calc/README: Mention ISO 8601 week-numbering dates.
1611
1612 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1613
1614 * view.el (view-mode-enable): New argument run-view-mode-hook.
1615 Run view-mode-hook only when it's non-nil (Bug#13315).
1616 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1617 argument t.
1618
1619 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1620
1621 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1622 (No device connected, invalid device name). (Bug #13299)
1623
1624 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1625
1626 * window.el (window-resizable--p): Rename to window-resizable-p.
1627 (window-resize-no-error): New function.
1628
1629 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1630 broken in fix from 2012-12-28.
1631
1632 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * subr.el (special-form-p): Don't signal errors on undef aliases.
1635
1636 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1637
1638 * calc/calc-forms.el (math-parse-date): Try using
1639 `math-parse-iso-date' when it looks like it might be needed.
1640 Allow times of 24:00.
1641 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1642 of 24:00.
1643
1644 2012-12-30 Glenn Morris <rgm@gnu.org>
1645
1646 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1647 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1648 (rmail-summary-displayed, rmail-summary): Declare.
1649 (mairix-rmail-display): Just require rmail.
1650
1651 2012-12-30 Chong Yidong <cyd@gnu.org>
1652
1653 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1654 check for the tarball contents.
1655
1656 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1657
1658 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1659 tarfile content listings (Bug#13136).
1660
1661 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1662
1663 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1664 Insert the undecoded text of the message being forwarded. (Bug#9521)
1665
1666 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1667
1668 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1669 integers, if they are real numbers. (Bug#13282)
1670
1671 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1672 Return `t' on success.
1673
1674 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1675 Add handler for `set-file-selinux-context'.
1676
1677 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1678
1679 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1680 (tramp-sh-handle-set-file-acl): Return `t' on success.
1681
1682 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1683
1684 * files.el (backup-buffer-copy, basic-save-buffer-2):
1685 If set-file-extended-attributes fails, fall back on set-file-modes
1686 instead of signaling an error. (Bug#13298)
1687 (basic-save-buffer): Likewise.
1688
1689 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1690
1691 * progmodes/python.el: Support other commands triggering
1692 python-indent-line so indentation cycling continues to work.
1693 (python-indent-trigger-commands): New defcustom.
1694 (python-indent-line): Use it.
1695
1696 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1697
1698 * progmodes/python.el (python-shell-send-region): Add blank lines
1699 for non sent code so backtraces remain correct.
1700
1701 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1702
1703 * progmodes/python.el: Remove cl dependency.
1704 (python-syntax-count-quotes): Replace incf call.
1705 (python-fill-string): Replace setf call.
1706
1707 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1708
1709 * info.el (info-other-window): New arg, for consistency with info.
1710
1711 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1712
1713 * mail/rmail.el (rmail-maybe-display-summary):
1714 Rewrite (Bug#13066).
1715
1716 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1717
1718 * epg.el (epg--start): Modify process-environment locally.
1719
1720 2012-12-28 Daiki Ueno <ueno@gnu.org>
1721
1722 * epg.el: Support pinentry-curses.
1723 Suggested by Werner Koch in
1724 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1725 (epg-agent-file, epg-agent-mtime): New variable.
1726 (epg--start): Record the modified time of gpg-agent socket file,
1727 to restore Emacs frame after pinentry-curses termination.
1728 (epg-wait-for-completion): Restore Emacs frame here.
1729
1730 2012-12-27 Juri Linkov <juri@jurta.org>
1731
1732 * info.el (Info-file-completions): New variable.
1733 (Info-read-node-name-1): Complete node names in the Info file
1734 when a file name is given. Call `Info-build-node-completions'
1735 with a file name.
1736 (Info-build-node-completions): Add new arg `file'. When it is
1737 non-nil, visit it in a temporary buffer and cache its completions in
1738 `Info-current-file-completions'. Move most of the function body to
1739 `Info-build-node-completions-1'.
1740 (Info-build-node-completions-1): New function with the body from
1741 `Info-build-node-completions'. (Bug#12456)
1742
1743 2012-12-27 Juri Linkov <juri@jurta.org>
1744
1745 * frame.el (frame-maximization-style): Remove user option.
1746 (cycle-frame-maximized): Remove function.
1747 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1748 (toggle-frame-fullscreen): New command bound to <f11> instead of
1749 `toggle-frame-maximized'.
1750 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1751
1752 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1753
1754 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1755
1756 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1757 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1758 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1759 for `file-accessible-directory-p'. (Bug#13275)
1760
1761 2012-12-27 Sam Steingold <sds@gnu.org>
1762
1763 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1764 continuations, see <http://stackoverflow.com/questions/3582436>.
1765
1766 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1767
1768 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1769 "module" and "def" to have indentation before them.
1770 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1771
1772 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1773
1774 2012-12-27 Alan Mackenzie <acm@muc.de>
1775
1776 Speed up fontification where there's large brace blocks.
1777 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1778 to a call of c-beginning-of-decl-1.
1779
1780 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1781
1782 * comint.el (comint-adjust-window-point): New function.
1783 (comint-postoutput-scroll-to-bottom):
1784 Call comint-adjust-window-point (Bug#13248).
1785
1786 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1787
1788 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1789 Rakefile regexp.
1790 (auto-mode-alist): Associate .gemspec files with ruby-mode
1791 (https://bugs.ruby-lang.org/issues/5453).
1792
1793 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1794
1795 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1796 Suppress coloring, if possible (required for BusyBox based systems like
1797 CyanogenMod).
1798 (tramp-adb-handle-file-attributes)
1799 (tramp-adb-handle-insert-directory)
1800 (tramp-adb-handle-file-name-all-completions): Use it.
1801 (tramp-adb-get-toolbox): New defun. Check for remote shell
1802 implementation (BusyBox or Toolbox).
1803
1804 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1805
1806 * startup.el (initial-buffer-choice): Allow function as value
1807 (Bug#13251).
1808 (command-line-1): Handle case where initial-buffer-choice
1809 specifies a function.
1810 * server.el (server-execute): Handle case where
1811 initial-buffer-choice specifies a function.
1812
1813 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1814
1815 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1816 its own function.
1817 (smtpmail-try-auth-methods): Forget the user name/password if the
1818 login is unsuccessful (bug#12424).
1819
1820 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1821
1822 * notifications.el (notifications-notify): Protect body with
1823 `with-demoted-errors'.
1824
1825 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1826 Check properties of remote device. Restart connection, if there is a
1827 change.
1828
1829 2012-12-21 Chong Yidong <cyd@gnu.org>
1830
1831 * sort.el (sort-subr): Doc fix (Bug#13056).
1832
1833 2012-12-21 Bastien Guerry <bzg@gnu.org>
1834
1835 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1836
1837 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * simple.el (process-file): Overwrite stderr file, if exists.
1840
1841 2012-12-21 Daiki Ueno <ueno@gnu.org>
1842
1843 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1844 (epg-error): Set `error-message' property.
1845
1846 2012-12-21 Chong Yidong <cyd@gnu.org>
1847
1848 * international/mule-cmds.el (read-char-by-name): Signal an error
1849 if the user does not supply a valid character (Bug#13177).
1850
1851 * simple.el (transpose-subr-1): Preserve marker positions by
1852 changing the insertion sequence (Bug#13122).
1853
1854 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1855
1856 * simple.el (kill-region): Deactivate mark even for empty regions
1857 (Bug#13169).
1858
1859 2012-12-21 Chong Yidong <cyd@gnu.org>
1860
1861 * help-fns.el (describe-variable): Make sure we get the right
1862 buffer name (Bug#13105). Suggested by Kelly Dean.
1863
1864 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1865
1866 * comint.el (comint-redirect-previous-input-string): New variable.
1867 (comint-redirect-setup, comint-redirect-cleanup)
1868 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1869 (comint-redirect-preoutput-filter): Fix verbose message.
1870
1871 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1872
1873 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1874 is too long for Tramp. See discussion in
1875 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1876
1877 * progmodes/compile.el (compilation-start): Remove line escape
1878 template.
1879
1880 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1881
1882 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1883 Adjust comment.
1884
1885 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1886
1887 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1888 following non-comment text (bug#13207).
1889 (lm-header-multiline): Continuation lines need to be indented more than
1890 the first line.
1891 (lm-homepage): New function.
1892 (lm-with-file): Don't be confused if narrowing is in effect.
1893
1894 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1897 very beginning of a hunk (e.g. killing the first line).
1898
1899 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1900
1901 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1902 and text properties from returned ACL string.
1903 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1904 for "setfacl" command.
1905
1906 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1909 `tramp-cleanup-this-connection', when the process has died.
1910 (Bug#13151)
1911
1912 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1915
1916 2012-12-17 Kevin Ryde <user42@zip.com.au>
1917
1918 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1919
1920 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1921
1922 Add support for preserving ACL entries of files.
1923
1924 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1925 `set-file-acl' handlers.
1926
1927 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1928 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1929
1930 * net/tramp-compat.el (tramp-compat-copy-file):
1931 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1932
1933 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1934 Add `file-acl' and `set-file-acl' handlers.
1935 (tramp-gvfs-handle-copy-file):
1936 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1937 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1938 New defuns.
1939
1940 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1941 Add `file-acl' and `set-file-acl' handlers.
1942 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1943 (tramp-sh-handle-set-file-acl): New defuns.
1944 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1945 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1946
1947 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1948 Add `file-acl' and `set-file-acl' handlers.
1949 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1950
1951 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1952
1953 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1954 use pop-to-buffer with NORECORD argument t. As buffer name, use
1955 *Metahelp* with a leading space (Bug#13190).
1956
1957 2012-12-16 Romain Francoise <romain@orebokech.com>
1958
1959 * files.el (file-extended-attributes)
1960 (set-file-extended-attributes): New functions.
1961 (backup-buffer): Use them to handle both SELinux context and ACL
1962 entries.
1963 (backup-buffer-copy): Work with an alist of extended attributes,
1964 rather than an SELinux context.
1965 (basic-save-buffer-2): Ditto.
1966
1967 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1968
1969 * battery.el (battery-bsd-apm): New function.
1970
1971 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1972
1973 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1974 standard date formats.
1975
1976 2012-12-15 Juri Linkov <juri@jurta.org>
1977
1978 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1979 `isearch-insert-char-by-name'.
1980 (with-isearch-suspended): New defmacro with body mostly from
1981 `isearch-edit-string' except the part that sets
1982 `isearch-new-string' and `isearch-new-message'.
1983 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1984 body that sets `isearch-new-string' and `isearch-new-message'.
1985 (isearch-insert-char-by-name): New command.
1986 * international/mule-cmds.el (read-char-by-name): Let-bind
1987 `enable-recursive-minibuffers' to t.
1988 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1989
1990 2012-12-15 Juri Linkov <juri@jurta.org>
1991
1992 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1993 (Bug#13175)
1994
1995 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1996
1997 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1998 the prompt. (Bug#13045)
1999
2000 2012-12-14 Glenn Morris <rgm@gnu.org>
2001
2002 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2003 Try to include filename in non-bytecomp warning. (Bug#13132)
2004
2005 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2006
2007 Fix permissions bugs with setgid directories etc. (Bug#13125)
2008 * files.el (backup-buffer): Don't rely on 9th output of
2009 file-attributes, as it's now a placeholder. Instead, use the new
2010 optional arg of file-ownership-preserved-p.
2011 (file-ownership-preserved-p): New optional arg GROUP.
2012 Fix mishandling of setuid directories that would cause this
2013 function to return t when it should have returned nil.
2014 Document what happens if the file does not exist, and when
2015 it's not known whether the ownership will be preserved.
2016 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2017 Likewise.
2018 (tramp-get-local-gid): Use group-gid for integer, as that's
2019 faster and more reliable.
2020
2021 2012-12-14 Julien Danjou <julien@danjou.info>
2022
2023 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2024 Update keywords list, data type and PL/pgSQL.
2025
2026 2012-12-14 Dave Abrahams <dave@boostpro.com>
2027
2028 * vc/ediff-util.el (ediff-buffer-type): New function.
2029 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2030 rather than taking it as as argument.
2031 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2032
2033 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2034
2035 * json.el: Add pretty-print option (bug#12634).
2036 (json-encoding-separator, json-encoding-default-indentation)
2037 (json--encoding-current-indentation, json-encoding-pretty-print)
2038 (json-encoding-lisp-style-closings): New vars.
2039 (json--with-indentation): New macro.
2040 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2041 (json-encode-array): Use it to obey json-encoding-pretty-print.
2042 (json-pretty-print-buffer, json-pretty-print): New commands.
2043
2044 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2045
2046 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2047 Extract `ruby-syntax-propertize-expansions'.
2048 (ruby-syntax-propertize-expansions): Only change syntax on
2049 certain string delimiters, to punctuation. This way the common
2050 functions like forward-word and thing-at-point still work.
2051 (ruby-match-expression-expansion): Improve readability.
2052 (ruby-block-contains-point): New function.
2053 (ruby-add-log-current-method): Handle several edge cases.
2054
2055 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2056
2057 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2058 unload-feature finishes even when aborting an ongoing edebug session.
2059 Also, do not worry about edebug-mode, unload-feature takes care of it.
2060
2061 2012-12-13 Andreas Schwab <schwab@suse.de>
2062
2063 * net/tls.el (tls-program): Update customize type.
2064
2065 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2066
2067 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2068 (edebug-setup-hook, cl-read-load-hooks): Use it.
2069 (edebug-unload-function): New function. (Bug#13163)
2070
2071 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2072
2073 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2074 Otherwise, there could be errors in autoloading. (Bug#13151)
2075
2076 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2077
2078 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2079 sequences.
2080
2081 2012-12-13 Alan Mackenzie <acm@muc.de>
2082
2083 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2084 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2085 around `forward-comment' not recognizing ^M as whitespace.
2086
2087 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2088
2089 * progmodes/python.el (python-skeleton-class)
2090 (python-skeleton-def): Do not add space after defun name.
2091
2092 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2095 (cl--symbol-function): Remove (now that funbound is like nil).
2096
2097 2012-12-12 Glenn Morris <rgm@gnu.org>
2098
2099 * button.el (button--area-button-p): Fix typo.
2100
2101 2012-12-12 Sam Steingold <sds@gnu.org>
2102
2103 * frame.el (frame-maximization-style): New user option.
2104 (toggle-frame-maximized): Toggle frame maximization according to
2105 `frame-maximization-style', bound to <f11>.
2106 (cycle-frame-maximized): Cycle between all maximization styles and
2107 non-maximized frame, bound to shift-<f11>.
2108
2109 2012-12-12 David Cadé <codename68@gmail.com>
2110
2111 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2112
2113 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2114
2115 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2116 (eieio-override-prin1): Don't quote kewords and booleans.
2117 (object-write) <eieio-default-superclass>: Don't put closing parens
2118 on new line, avoid needless empty lines, align values that are objects
2119 with the slot keyword (instead of beginning on the same line).
2120 (eieio-list-prin1): Align value with slot keyword; increase
2121 eieio-print-depth before printing members of the list.
2122
2123 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2126 a display text-property.
2127 (report-emacs-bug-hook): Don't bother deleting it any more.
2128
2129 * hilit-chg.el (highlight-save-buffer-state): Delete.
2130 Use with-silent-modifications instead.
2131 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2132
2133 * button.el: Handle buttons in display text-properties.
2134 (button--area-button-p, button--area-button-string):
2135 Use (STRING . STRING-POS) representation instead of just STRING.
2136
2137 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2138
2139 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2140 subdirectory be skipped.
2141
2142 2012-12-11 Glenn Morris <rgm@gnu.org>
2143
2144 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2145
2146 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2147 Treat preprocessor lines embedded in continuations like comments.
2148 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2149
2150 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2151
2152 * calc/calc.el (calc-standard-date-formats): Add more date
2153 formats.
2154 * calc/calc-forms.el (math-parse-iso-date): New function.
2155 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2156 (math-parse-iso-date-validate): Add extra error checking.
2157 (calc-date-notation): Add ability to access new date formats.
2158
2159 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2160
2161 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2162 font-lock as well as when there's no text-property.
2163
2164 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2165
2166 * hi-lock.el: Refine the choice of default face.
2167 (hi-lock-keyword->face): New function. Use it wherever we used
2168 cadadadr instead.
2169 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2170 (hi-lock--last-face): Remove var.
2171 (hi-lock--unused-faces): New var to replace it.
2172 (hi-lock-read-face-name): Use/maintain it.
2173 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2174 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2175 if it has another face.
2176
2177 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2178
2179 * subr.el (w32notify-handle-event): New function.
2180 (inotify-handle-event): Doc fix.
2181
2182 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2183
2184 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2185
2186 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2187
2188 * simple.el (just-one-space): Doc fix.
2189
2190 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2191
2192 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2193
2194 2012-12-10 Le Wang <l26wang@gmail.com>
2195
2196 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2197 narrowed buffer (bug#12361).
2198
2199 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2200
2201 * vc/vc-hooks.el (vc-state): Doc fix.
2202
2203 2012-12-10 Glenn Morris <rgm@gnu.org>
2204
2205 * mail/rmail.el (rmail-maybe-display-summary):
2206 Preserve buffer, in case select-window changes it. (Bug#13066)
2207
2208 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2211 cl-load-hook where they belong.
2212
2213 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2216
2217 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2218
2219 Parallelize byte compilation on MS-Windows.
2220 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2221 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2222 (WINS_BASIC): Define as concatenation of the above.
2223 (compile): Subdivide into 4 separate and independent jobs that can
2224 be run in parallel.
2225 (compile0-CMD, compile0-SH): New targets for compiling
2226 COMPILE_FIRST files, which are prerequisites for the rest of the
2227 byte-compilation.
2228 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2229 New targets for parallel compilation with cmd.exe.
2230 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2231 compiling under a Unixy shell.
2232
2233 2012-12-09 Chong Yidong <cyd@gnu.org>
2234
2235 * simple.el (set-mark-default-inactive): Delete this
2236 accidentally-introduced option.
2237 (set-mark-command, exchange-point-and-mark): Remove calls.
2238
2239 2012-12-09 Glenn Morris <rgm@gnu.org>
2240
2241 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2242 Respect a defcustom's :set function, if appropriate. (Bug#109)
2243 (eval-defun): Doc fix.
2244
2245 2012-12-08 Juri Linkov <juri@jurta.org>
2246
2247 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2248 (Info-fontify-node, Info-bookmark-make-record): Remove the
2249 file extension from Info-current-file (Bug#13016).
2250
2251 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2254 point, still provide some default.
2255 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2256 names, since we don't use it right now. Actually return the list.
2257 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2258
2259 2012-12-07 Chong Yidong <cyd@gnu.org>
2260
2261 * novice.el (disabled-command-function): Remove a spurious help
2262 xref (Bug#13043). Suggested by Kelly Dean.
2263
2264 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2265 syntax is specified (Bug#13025).
2266
2267 * info.el (Info-set-mode-line): Remove the file extension from
2268 Info-current-file if there is one (Bug#13016).
2269
2270 2012-12-07 Glenn Morris <rgm@gnu.org>
2271
2272 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2273 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2274 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2275 and rmail-mime-decoded. (Bug#9841)
2276
2277 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2278 (batch-unrmail, unrmail): Doc fixes.
2279 (unrmail): Respect unrmail-mbox-format.
2280 * mail/rmail.el (rmail-mbox-format): New option.
2281 (rmail-show-message-1): Respect rmail-mbox-format.
2282
2283 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2286
2287 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2290 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2291 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2292 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2293 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2294 (cl-progv): Don't rely on dynamic scoping to find the body.
2295 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2296 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2297 (cl-declaim): Use backquotes.
2298 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2299 Use "cl--" prefix for the object's tag.
2300
2301 * ses.el: Use advice-add/remove.
2302 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2303 (copy-region-as-kill, yank): Use advice-add.
2304 (ses-unload-function): Use advice-remove.
2305
2306 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2307
2308 * button.el: Make them work in header-lines (bug#12817).
2309 (button-map): Add bindings for header-line and mode-line use.
2310 (button-get, button-put, button-label): `button' may now be a string.
2311 (button-activate): Don't make it a defsubst.
2312 (button--area-button-p, button--area-button-string): New functions.
2313 (make-text-button): Fix the return value when `beg' was a string.
2314 (push-button): Handle the mode-line case.
2315
2316 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2319 (sql-signum): Remove. Use `cl-signum' instead.
2320 (sql-read-passwd): Remove; use read-passwd instread.
2321 (sql-get-login-ext): Use read-string.
2322 (sql-get-login): Use dolist and pcase.
2323 (sql--completion-table): Rename from sql-try-completion.
2324 Use complete-with-action.
2325 (sql-mode): Don't change abbrev-all-caps globally.
2326 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2327 (sql-postgres-completion-object): Initialize vars in their `let'.
2328 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2329 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2330 (sql-comint-interbase): Use a single append, without setq.
2331 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2332
2333 * hi-lock.el: Rework the default face and the serialize regexp code.
2334 (hi-lock--auto-select-face-defaults): Remove.
2335 (hi-lock-string-serialize-serial): Remove.
2336 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2337 make weak.
2338 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2339 equal string.
2340 (hi-lock-set-pattern): Adjust accordingly.
2341 (hi-lock--regexps-at-point): Simplify accordingly.
2342 (hi-lock--auto-select-face-defaults): Remove.
2343 (hi-lock--last-face): New var to replace it.
2344 (hi-lock-read-face-name): Rewrite (bug#11095).
2345 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2346
2347 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * net/tramp.el (tramp-replace-environment-variables):
2350 Hide compiler warning.
2351 (tramp-file-name-for-operation): Remove `executable-find',
2352 `start-process', `call-process' and `call-process-region'.
2353
2354 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2355
2356 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2357 compatibility.
2358
2359 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2360
2361 2012-12-06 Chong Yidong <cyd@gnu.org>
2362
2363 * ffap.el (ffap-replace-file-component): Fix typo.
2364
2365 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2368 fix open-paren-like token test (bug#12785).
2369
2370 2012-12-06 Glenn Morris <rgm@gnu.org>
2371
2372 * mail/rmailsum.el (rmail-new-summary): Tweak for
2373 rmail-maybe-display-summary changing buffer. (Bug#13066)
2374
2375 2012-12-06 Juri Linkov <juri@jurta.org>
2376
2377 * info.el (Info-fontify-node): Don't hide the last newline.
2378 (Bug#12272)
2379
2380 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2381
2382 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2383 so as to enable message-read-from-minibuffer to expand mail aliases.
2384
2385 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2388 the `intangible' property.
2389 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2390
2391 2012-12-05 Deniz Dogan <deniz@dogan.se>
2392
2393 * net/rcirc.el (rcirc-urls): Update documentation.
2394 (rcirc-condition-filter): New function.
2395 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2396 and exclude consecutive duplicate URLs (Bug#6082).
2397
2398 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2401 Check return code of copy command.
2402
2403 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2404 Use group `tramp'. Add version.
2405
2406 2012-12-05 Chong Yidong <cyd@gnu.org>
2407
2408 * ffap.el (ffap-url-regexp): Don't require matching at front of
2409 string (Bug#4952).
2410 (ffap-url-p): If only a substring matches, return that.
2411 (ffap-url-at-point): Use the return value of ffap-url-p.
2412 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2413 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2414 (ffap-guess-file-name-at-point): Likewise.
2415 (ffap-replace-file-component): Fix typo.
2416
2417 * info.el (info-display-manual): Add existing Info buffers, whose
2418 files may not be in Info-directory-list, to the completion.
2419 (info--manual-names): New helper function.
2420
2421 2012-12-05 Glenn Morris <rgm@gnu.org>
2422
2423 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2424 New functions, for detecting and resolving conflicts. (Bug#10709)
2425
2426 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2427
2428 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2429 (hi-lock-auto-select-face-defaults): New buffer local variable.
2430 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2431 (hi-lock-unface-buffer): Prompt user with useful defaults.
2432 With prefix arg, unhighlight all hi-lock patterns in buffer.
2433
2434 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2437
2438 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2439
2440 * Makefile.in (TRAMP_SRC):
2441 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2442
2443 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2444
2445 * net/tramp-adb.el: New package.
2446
2447 2012-12-04 Chong Yidong <cyd@gnu.org>
2448
2449 * terminal.el: Move to obsolete/.
2450
2451 * longlines.el: Move to obsolete/.
2452
2453 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2454 Remove code referring to longlines mode.
2455
2456 2012-12-03 Juri Linkov <juri@jurta.org>
2457
2458 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2459
2460 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2461
2462 * textmodes/ispell.el (ispell-init-process)
2463 (ispell-start-process, ispell-internal-change-dictionary):
2464 Make sure personal dictionary name is expanded after initial
2465 `default-directory' value. Use expanded strings for
2466 keep/restart checks and for value (Bug#13019).
2467
2468 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2469
2470 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2471
2472 2012-12-03 Leo Liu <sdl.web@gmail.com>
2473
2474 * files.el (dir-locals-read-from-file): Check file non-empty
2475 before reading. (Bug#13038)
2476
2477 2012-12-03 Glenn Morris <rgm@gnu.org>
2478
2479 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2480 Remove any version extension before checking filename. (Bug#13006)
2481 (jka-compr-compression-info-list): Belated :version bump.
2482
2483 2012-12-03 Chong Yidong <cyd@gnu.org>
2484
2485 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2486
2487 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2488 (buffer-menu): Doc fix (Bug#12294).
2489
2490 2012-12-03 Roland Winkler <winkler@gnu.org>
2491
2492 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2493 of diary-show-all-entries in the diary buffer (Bug#12994).
2494
2495 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2496
2497 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2498 "<STDIN>". This is binary safe.
2499
2500 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2501
2502 * calc/calc-forms.el (math-absolute-from-iso-dt)
2503 (math-date-to-iso-dt, math-parse-iso-date-validate)
2504 (math-iso-dt-to-date): New functions.
2505 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2506 (math-fd-isoweekday): New variables.
2507 (calc-date-notation, math-parse-standard-date, math-format-date)
2508 (math-format-date-part): Add support for more formatting codes.
2509
2510 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2511
2512 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2513 current buffer's file name when called interactively (Bug#12488).
2514
2515 2012-12-02 Juri Linkov <juri@jurta.org>
2516
2517 * info.el (info-display-manual): Don't clobber an existing Info
2518 buffer (Bug#10770). Add completion (Bug#10771).
2519
2520 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2521
2522 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2523 before using it for comparison (Bug#5297).
2524
2525 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2526
2527 * textmodes/css-mode.el (css-current-defun-name): New function.
2528 (css-mode): Use it.
2529
2530 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2531 (html-mode): Use it.
2532
2533 2012-12-01 Chong Yidong <cyd@gnu.org>
2534
2535 Modularize add-log-current-defun (Bug#2224).
2536 Suggested by Jari Aalto.
2537
2538 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2539 (add-log-current-defun): Move mode-specific code to other files.
2540 (add-log-lisp-like-modes, add-log-c-like-modes)
2541 (add-log-tex-like-modes): Variables deleted.
2542
2543 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2544 (lisp-mode-variables): Use it.
2545
2546 * progmodes/cc-mode.el (c-common-init):
2547 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2548 add-log-current-defun-function.
2549
2550 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2551 (m4-mode): Use it.
2552
2553 * progmodes/perl-mode.el (perl-current-defun-name): New.
2554 (perl-mode): Use it.
2555
2556 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2557 Use lisp-current-defun-name.
2558
2559 * textmodes/tex-mode.el (tex-current-defun-name): New.
2560 (tex-common-initialization): Use it.
2561
2562 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2563 (texinfo-mode): Use it.
2564
2565 2012-12-01 Chong Yidong <cyd@gnu.org>
2566
2567 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2568 * progmodes/autoconf.el (autoconf-mode):
2569 * progmodes/js.el (js-mode):
2570 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2571 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2572 * progmodes/perl-mode.el (perl-mode):
2573 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2574 * textmodes/css-mode.el (css-mode):
2575 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2576 (sgml-tags-invisible, sgml-guess-indent):
2577 * textmodes/tex-mode.el (tex-common-initialization)
2578 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2579 (doctex-mode, plain-tex-mode, latex-mode):
2580 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2581
2582 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2583
2584 * vc/vc-hg.el (vc-hg-next-revision):
2585 Ensure use of default "tip" output format. (Bug#6968)
2586
2587 2012-12-01 Kim F. Storm <storm@cua.dk>
2588
2589 * startup.el (fancy-startup-tail): Add a clickable link
2590 (Bug#2176).
2591
2592 2012-12-01 Chong Yidong <cyd@gnu.org>
2593
2594 * startup.el (fancy-startup-tail): Improve the message about
2595 auto-save files (Bug#2176).
2596
2597 * files.el (recover-session): Improve the descriptive message, and
2598 use substitute-command-keys.
2599
2600 2012-12-01 Glenn Morris <rgm@gnu.org>
2601
2602 * ido.el (ido-file-internal):
2603 Handle other-window, other-frame for dired. (Bug#13036)
2604
2605 2012-11-30 Glenn Morris <rgm@gnu.org>
2606
2607 * icomplete.el (icomplete-separator): Fix :version.
2608
2609 2012-11-30 Chong Yidong <cyd@gnu.org>
2610
2611 * shell.el (shell): For C-u M-x shell, use an inactive shell
2612 buffer as the default (Bug#1975).
2613 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2614 (shell-mode): Use them to reapply ansi colorization if Shell mode
2615 is re-enabled.
2616
2617 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2618
2619 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2620
2621 2012-11-30 Samuel Bronson <naesten@gmail.com>
2622
2623 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2624 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2625
2626 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2627
2628 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2629 by move-to-column (Bug#3234).
2630
2631 2012-11-30 Chong Yidong <cyd@gnu.org>
2632
2633 * longlines.el (longlines-wrap-line, longlines-encode-region):
2634 Preserve text properties (Bug#1425).
2635
2636 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2637
2638 * vc/vc.el (vc-register): Allow registering a file which is
2639 already registered with a different backend (Bug#10589).
2640
2641 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2642 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * icomplete.el: Change separator; add ido-style commands.
2645 (icomplete-show-key-bindings): Remove custom var.
2646 (icomplete-get-keys): Remove function.
2647 (icomplete-forward-completions, icomplete-backward-completions):
2648 New commands.
2649 (icomplete-minibuffer-map): New var.
2650 (icomplete-minibuffer-setup): Use it.
2651 (icomplete-exhibit): Don't delay if the list of completions is known.
2652 (icomplete-separator): New custom.
2653 (icomplete-completions): Use it.
2654 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2655 (minibuffer-force-complete-and-exit): New command.
2656 (minibuffer--complete-and-exit): New function extracted from
2657 minibuffer-complete-and-exit.
2658 (minibuffer-complete-and-exit): Use it.
2659
2660 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2661 error message when the file doesn't exist (bug#12974).
2662
2663 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2664
2665 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2666
2667 2012-11-29 Glenn Morris <rgm@gnu.org>
2668
2669 * files.el (hack-dir-local-variables): Warn if try to set
2670 coding via dir-locals, since it doesn't work. (Bug#7169)
2671
2672 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2673 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2674 Set buffer-local value of desktop-save-buffer.
2675 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2676 New functions.
2677 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2678 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2679
2680 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2681 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2682 Doc fix.
2683 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2684 Doc fixes.
2685
2686 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2687
2688 * calc/calc-forms.el (calc-date-notation): Fix regexp
2689 used to find time codes. Fix symbol for seconds.
2690
2691 2012-11-27 Glenn Morris <rgm@gnu.org>
2692
2693 * emacs-lisp/derived.el (derived-mode-make-docstring):
2694 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2695
2696 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2699 lexically scoped variables (bug#13005).
2700
2701 2012-11-27 Glenn Morris <rgm@gnu.org>
2702
2703 * vc/vc-hooks.el (vc-mistrust-permissions):
2704 Default to t, to avoid data-loss. (Bug#11490)
2705
2706 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2707
2708 * progmodes/python.el (python-indent-guess-indent-offset):
2709 If indentation is guessed make python-indent-offset buffer-local.
2710
2711 Fix Imenu regression.
2712 * progmodes/python.el (python-nav-beginning-of-defun):
2713 Fix forward movement when statement(s) separates point from defun.
2714 (python-imenu-prev-index-position): New function.
2715
2716 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2717
2718 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2719
2720 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2721 Don't set buffer-file-type. Return nil. (Bug#12989)
2722
2723 2012-11-27 Glenn Morris <rgm@gnu.org>
2724
2725 * hippie-exp.el (hippie-expand-try-functions-list):
2726 Re-autoload it. (Bug#12982)
2727
2728 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2729
2730 * descr-text.el (describe-char-padded-string):
2731 Call internal-char-font only on GUI frames. (Bug#11964)
2732
2733 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2734
2735 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2736 and obsoletion message.
2737
2738 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2739
2740 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2741 the constructs to keep outside of the `cl-block' (bug#12977).
2742
2743 2012-11-27 Chong Yidong <cyd@gnu.org>
2744
2745 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2746 keep reading until we get the up-event anyway, in order to process
2747 the up-event for mouse-1-click-follows-link (Bug#12971).
2748
2749 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2752 base function is not yet defined (bug#12965).
2753 (ad-activate-advised-definition): Use ad-compile-function.
2754 (ad-activate): Use cond.
2755
2756 2012-11-25 Leo Liu <sdl.web@gmail.com>
2757
2758 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2759 (Bug#12979)
2760
2761 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2762
2763 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2764 reftex-section-info-function in order to be compatible with
2765 Texinfo integration.
2766
2767 * textmodes/reftex.el (reftex-section-pre-regexp)
2768 (reftex-section-post-regexp, reftex-section-info-function):
2769 New variable.
2770 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2771 reftex-section-post-regexp, and reftex-section-info-function in order
2772 to be compatible with Texinfo integration.
2773
2774 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2775 use reftex-section-pre-regexp variable in order to be compatible with
2776 Texinfo integration.
2777
2778 2012-11-25 Chong Yidong <cyd@gnu.org>
2779
2780 * faces.el: Make face-spec-set more analogous to setq.
2781 (face-spec-set): Change the third arg to specify whether this
2782 function is being called via defface, customize, or a third party.
2783 Set the appropriate symbol properties. Clear the override spec if
2784 setting via Custom. Initialize face if necessary. (Bug#4988)
2785 (face-spec-recalc): Allow theme faces to completely replace the
2786 defface spec, in the same way as custom faces (Bug#8454).
2787
2788 * cus-face.el (custom-declare-face): Move face initialization to
2789 face-spec-set.
2790 (custom-theme-set-faces): Don't initialize the face name here, as
2791 that is now done in face-spec-set.
2792
2793 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2794 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2795 Simplify by using the new arg to face-spec-set.
2796
2797 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2798 reset face-override-spec too, and use custom-declare-face.
2799
2800 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2801
2802 * term/ns-win.el (ns-initialize-window-system): Move creation of
2803 fontsets here (Bug#11964).
2804
2805 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2806
2807 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2808 cell renaming.
2809
2810 2012-11-24 Chong Yidong <cyd@gnu.org>
2811
2812 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2813 obsolete.
2814
2815 * custom.el (custom-theme-set-variables): Use a topological sort
2816 for ordering by custom dependencies (Bug#12952).
2817 (custom--sort-vars, custom--sort-vars-1): New functions.
2818
2819 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2822 lexical-binding (bug#12938).
2823
2824 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2825
2826 * image-mode.el (image-transform-check-size): Use assertions only
2827 for images of type imagemagick.
2828
2829 Otherwise no error, image-transform-fit-to-{width,height} is
2830 silently ignored, as before. Doc fix.
2831
2832 2012-11-24 Chong Yidong <cyd@gnu.org>
2833
2834 * faces.el (color-defined-p): Doc fix (Bug#12853).
2835
2836 2012-11-24 Juri Linkov <juri@jurta.org>
2837
2838 * dired.el (dired-mark): Add optional arg `interactive'.
2839 Check for `use-region-p' if `interactive' is non-nil.
2840 (dired-unmark, dired-flag-file-deletion): Add optional arg
2841 `interactive'. Call `dired-mark' with the arg `interactive'.
2842 (Bug#10624)
2843
2844 * wdired.el: Revert 2012-10-17 change partly and replace it with
2845 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2846 (wdired-finish-edit): Add marks for new file names to
2847 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2848 after `revert-buffer'.
2849 (wdired-do-renames): Remove calls to `dired-remove-file',
2850 `dired-add-file', `dired-add-entry'. (Bug#11795)
2851
2852 2012-11-24 Alan Mackenzie <acm@muc.de>
2853
2854 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2855
2856 Fix bugs in the state cache. Enhance a debugging mechanism.
2857 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2858 "brace at column zero" strategy for C++.
2859 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2860 (c-parse-state-point): New variable.
2861 (c-record-parse-state-state): Record old parse state with
2862 `copy-tree'. Record previous value of point.
2863 (c-debug-parse-state-double-cons): New debugging function.
2864 (c-debug-parse-state): Call the above new function.
2865 (c-toggle-parse-state-debug): Output a confirmatory message.
2866
2867 * progmodes/cc-mode.el (c-before-change, c-after-change):
2868 Call c-invalidate-state-cache from `c-before-change' instead of
2869 `c-after-change'.
2870
2871 2012-11-23 Chong Yidong <cyd@gnu.org>
2872
2873 * find-cmd.el (find-constituents): Add executable, ipath,
2874 readable, samefile, writable, daystart, regextype (Bug#12856).
2875
2876 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2879
2880 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2881
2882 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2883 definition. This fixes a bootstrap failure.
2884 (calc-gregorian-switch): In menu, put dates before regions.
2885 This is easier to follow, lines up better in the menu, and lets us
2886 coalesce regions that switch at the same time. Give country
2887 names, not "Vatican", as that's better for non-expert users.
2888 Use names that are stable between the date of switch and now, e.g.,
2889 Bohemia and Moravia (which existed then and now) and not
2890 Czechoslovakia (which didn't exist then and doesn't exist now).
2891 What is now the U.S. mostly did not switch at the same time as
2892 Britain, so omit the U.S. Correct spelling of "Britain".
2893 Catholic Switzerland was too much of a mess, so omit it.
2894
2895 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2896
2897 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2898 after the variable is changed.
2899
2900 2012-11-21 Daniel Colascione <dancol@dancol.org>
2901
2902 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2903 in SQL declarations for font-lock.
2904 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2905
2906 2012-11-21 Glenn Morris <rgm@gnu.org>
2907
2908 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2909 (face-italic-p): Add optional argument "inherit".
2910
2911 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2912 Remove -p suffix from names, for consistency with other set-face-*.
2913 (set-face-inverse-video): Fix interactive spec.
2914 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2915 * textmodes/table.el (table--update-cell-face):
2916 Use set-face-inverse-video rather than now obsolete alias.
2917
2918 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2919
2920 * simple.el (line-move): Don't call line-move-partial if
2921 scroll-conservatively is in effect. (Bug#12927)
2922
2923 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2926 Fallback on completion-at-point rather than
2927 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2928 (eshell-cmpl-initialize): Setup completion-at-point.
2929
2930 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2931
2932 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2933
2934 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2935
2936 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2937 are remote, check out-of-band property for both.
2938
2939 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2942 code rewrite.
2943
2944 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2945
2946 More minor time fixes.
2947 * calendar/time-date.el: Commentary fix.
2948 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2949 too much other code depends on (0 0) time stamps.
2950 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2951 Add a couple of FIXME comments.
2952
2953 Minor cleanup for times as lists of four integers.
2954 * files.el (dir-locals-directory-cache):
2955 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2956 Doc fixes.
2957 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2958 * ps-bdf.el (bdf-file-newer-than-time):
2959 Process four-integers time stamps, not two. Doc fixes.
2960
2961 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * uniquify.el (uniquify-managed): Use defvar-local.
2964 (rename-buffer, create-file-buffer): Advise with advice-add.
2965 (uniquify-unload-function): Unadvise accordingly.
2966
2967 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2968 (trace-buffer): Don't purecopy.
2969 (trace-entry-message, trace-exit-message): Add `context' arg.
2970 (trace--timer): New var.
2971 (trace-make-advice): Adjust for use in nadvice.
2972 Add `context' argument. Delay `display-buffer' via a timer.
2973 (trace-function-internal): Use advice-add.
2974 (trace--read-args): New function.
2975 (trace-function-foreground, trace-function-background): Use it.
2976 (trace-function): Rename to trace-function-foreground and redefine as
2977 an alias to that new name.
2978 (untrace-function, untrace-all): Adjust to the use of nadvice.
2979
2980 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2981
2982 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2983
2984 * subr.el (called-interactively-p-functions): New var.
2985 (internal--called-interactively-p--get-frame): New macro.
2986 (called-interactively-p, interactive-p): Rewrite in Lisp.
2987 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2988 (called-interactively-p-functions): Use it.
2989 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2990 (called-interactively-p-functions): Use it.
2991 * allout.el (allout-called-interactively-p): Don't assume
2992 called-interactively-p is a subr.
2993
2994 2012-11-20 Glenn Morris <rgm@gnu.org>
2995
2996 * profiler.el (profiler-report-mode-map): Add a menu.
2997 No need to bind `q' because we derive from special-mode.
2998 (profiler-report-find-entry): Handle calls from the menu-bar.
2999
3000 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * emacs-lisp/byte-run.el (defun-declarations-alist):
3003 Allow a compiler-macro to be a lambda expression.
3004
3005 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3006 eval-when-compile.
3007 (python-syntax-context): Add compiler-macro.
3008 (python-font-lock-keywords): Simplify with De Morgan.
3009
3010 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3011
3012 * files.el (load-file): Require match in minibuffer selection, as was
3013 the case in Emacs-20 before we changed the spec to allow .elc files
3014 (bug#12935).
3015
3016 * json.el: Don't require cl since we don't use it.
3017 * color.el: Don't require cl.
3018 (color-complement): `caddr' -> `nth 2'.
3019
3020 * calendar/time-date.el (time-to-seconds): De-obsolete.
3021
3022 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3023
3024 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3025 year numbers.
3026 (math-date-to-julian-dt): Adjust the initial approximation for the
3027 year to deal with the new definition of the DATE.
3028
3029 2012-11-19 Daniel Colascione <dancol@dancol.org>
3030
3031 * term/w32-win.el (cygwin-convert-path-from-windows):
3032 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3033
3034 2012-11-18 Chong Yidong <cyd@gnu.org>
3035
3036 * filecache.el (file-cache--read-list): New function.
3037 (file-cache-add-directory-list, file-cache-add-file-list)
3038 (file-cache-delete-file-list, file-cache-delete-directory-list):
3039 Use it to read a list of files or directories (Bug#12846).
3040 (file-cache-add-file, file-cache-add-directory)
3041 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3042 (file-cache-delete-directory): Print an message.
3043
3044 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3045
3046 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3047 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3048
3049 2012-11-18 Glenn Morris <rgm@gnu.org>
3050
3051 * image.el (insert-image, insert-sliced-image): Doc fix.
3052
3053 2012-11-18 Chong Yidong <cyd@gnu.org>
3054
3055 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3056 (Bug#12810).
3057
3058 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3059
3060 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3061 response when the target file is in a subdirectory (Bug#12757).
3062
3063 2012-11-18 Chong Yidong <cyd@gnu.org>
3064
3065 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3066
3067 2012-11-18 Glenn Morris <rgm@gnu.org>
3068
3069 * emacs-lisp/cl-lib.el (face-underline-p):
3070 Use set-face-underline rather than the alias set-face-underline-p.
3071
3072 * window.el (with-temp-buffer-window): Doc fix.
3073 * subr.el (with-output-to-temp-buffer):
3074 Add doc xref to with-temp-buffer-window.
3075
3076 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3077
3078 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3079 * calc/calc.el (math-format-date-cache): Declare.
3080
3081 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3082
3083 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3084 It also uses January 1, 1 AD as its day number 1.
3085 * calc/calc-forms.el (math-julian-date-beginning)
3086 (math-julian-date-beginning-int): Implement this.
3087
3088 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3089
3090 * descr-text.el (quail-find-key):
3091 * dired.el (desktop-file-name):
3092 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3093 * generic-x.el (comint-mode, comint-exec):
3094 * image-dired.el (widget-forward):
3095 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3096 (speedbar-change-expand-button-char)
3097 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3098 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3099 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3100 (widget-field-action, widget-value-set):
3101 * speedbar.el (imenu--make-index-alist):
3102 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3103 (ring-length, ring-insert):
3104 * vcursor.el (compare-windows-skip-whitespace):
3105 * woman.el (dired-get-filename):
3106 Declare functions.
3107
3108 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3109
3110 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3111
3112 * calc/calc.el (calc-gregorian-switch): New variable.
3113
3114 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3115 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3116 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3117 (math-leap-year-p): Add option to distinguish between Julian
3118 and Gregorian calendars.
3119 (math-day-number): Use `math-day-in-year' to do the computations.
3120 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3121 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3122 to do the computations.
3123 (math-date-to-dt): Use `math-date-to-julian-dt' and
3124 `math-date-to-gregorian-dt' to do the computations.
3125 (calcFunc-weekday, math-format-date-part): Use the new version of
3126 the DATE to determine the weekday.
3127 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3128 when necessary.
3129
3130 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3131
3132 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3133 Cygwin; otherwise use 'file:'. (Bug#12914)
3134 (cygwin-convert-path-from-windows): Declare, to avoid
3135 byte-compiler warnings.
3136
3137 2012-11-17 Andreas Politz <politza@fh-trier.de>
3138
3139 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3140 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3141 prefix and negative numeric prefix args (Bug#12795).
3142
3143 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3144
3145 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3146 Don't signal an error with a score that is too low to add to the
3147 list of top scores. (Bug#12779)
3148
3149 2012-11-17 Chong Yidong <cyd@gnu.org>
3150
3151 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3152
3153 * filecache.el (file-cache-add-file): Handle relative file name in
3154 the argument (Bug#12694).
3155
3156 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3157
3158 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3159
3160 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3163
3164 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3165
3166 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3167
3168 * window.el (enlarge-window, shrink-window): Don't mention return
3169 value in doc-string (Bug#12896).
3170 (window--display-buffer): Don't resize frames - it won't work
3171 with all window managers and defeat pop-up-frame-alist.
3172 (display-buffer-alist): In doc-string explain that CONDITION can
3173 be a function and which arguments are passed to it (Bug#12854).
3174 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3175 expressions (Bug#12854).
3176 (display-buffer): Pass ACTION argument to
3177 display-buffer-assq-regexp.
3178
3179 2012-11-16 Glenn Morris <rgm@gnu.org>
3180
3181 * window.el (fit-frame-to-buffer-bottom-margin)
3182 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3183
3184 * faces.el (face-underline-p): Use face-attribute-specified-or.
3185
3186 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3187
3188 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3189
3190 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3193
3194 2012-11-16 Glenn Morris <rgm@gnu.org>
3195
3196 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3197 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3198
3199 * faces.el (face-underline-p): Doc fix. Handle :underline being
3200 things other than `t' (a string, a list).
3201 (face-inverse-video-p): Doc fix.
3202 (set-face-underline): Rename it back from set-face-underline-p.
3203 Doc fix. Allow interactive input of values other than t.
3204 (read-face-attribute): Apply formatting to :underline,
3205 since like :box and :stipple it can take list values.
3206
3207 * term.el (ansi-term): Don't let C-x escape-char binding
3208 clobber the more standard C-c binding. (Bug#12842)
3209
3210 * subr.el (set-temporary-overlay-map): Doc fix.
3211
3212 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3213
3214 * window.el (record-window-buffer)
3215 (display-buffer-record-window): When copying the markers to
3216 window-point preserve window-point-insertion-type. (Bug#12588)
3217
3218 2012-11-16 Glenn Morris <rgm@gnu.org>
3219
3220 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3221 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3222 Use new names for hooks rather than obsolete aliases.
3223
3224 2012-11-15 Daniel Colascione <dancol@dancol.org>
3225
3226 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3227 prefix instead of "file:" so that when FILE-NAME begins with "//",
3228 as it does when the target file is on a network share, url-handler
3229 isn't confused.
3230
3231 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3234 a preactivated advice from an old advice.el; they're not compatible!
3235
3236 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3237
3238 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3239 Fix string-spec case.
3240
3241 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3242
3243 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3246 (advice--buffer-local-function-sample): New var.
3247 (advice--set-buffer-local, advice--buffer-local): New functions.
3248 (add-function, remove-function): Use them.
3249
3250 2012-11-15 Drew Adams <drew.adams@oracle.com>
3251
3252 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3253
3254 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3257 potential binding of print-gensym to t, and prettify (back)quotes in
3258 case they appear in args's default values (bug#12884).
3259
3260 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3263 (advice-eval-interactive-spec): New function.
3264 (advice--make-interactive-form): Support around advice (bug#12844).
3265
3266 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3267
3268 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3269 more strict. Add docstring.
3270 (ruby-expression-expansion-re): Extract from
3271 `ruby-match-expression-expansion'.
3272 (ruby-syntax-propertize-function): After everything else, search
3273 for expansions in string literals, mark their insides as
3274 whitespace syntax and save match data for font-lock.
3275 (ruby-font-lock-keywords): Use the 2nd group from expression
3276 expansion matches.
3277 (ruby-match-expression-expansion): Use the match data saved to the
3278 text property in ruby-syntax-propertize-function.
3279
3280 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3283 (bug#12879).
3284
3285 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3286
3287 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3288 start/end keyword a bit harder. Works with different values of N.
3289 Add more comments.
3290 (ruby-end-of-block): Update accordingly.
3291
3292 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * woman.el (woman-file-name): Don't mess with unread-command-events
3295 (bug#12861).
3296
3297 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3298 Remove out of date self-require hack.
3299 (ad-do-advised-functions): Use simple `dolist'.
3300 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3301 (ad-advice-definition): Redefine as functions.
3302 (ad-advice-classes): Move before first use.
3303 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3304 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3305 (ad--defalias-fset): Remove functions.
3306 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3307 (ad-get-orig-definition): Rewrite.
3308 (ad-make-advised-definition-docstring): Change base docstring.
3309 (ad-real-orig-definition): Rewrite.
3310 (ad-map-arglists): Change name of called function.
3311 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3312 (ad-make-advised-definition): Simplify.
3313 (ad-assemble-advised-definition): Tweak for new calling context.
3314 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3315 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3316 function and call ad-activate if needed.
3317 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3318 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3319 (ad-compile-function): Compile ad-Advice-*.
3320 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3321 (ad-start-advice, ad-stop-advice): Remove.
3322
3323 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3324
3325 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3326 period before class method names, not after. Remove handling of
3327 one impossible case. Add comments.
3328
3329 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * emacs-lisp/advice.el: Remove support for freezing.
3332 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3333 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3334 Remove support for `freeze'.
3335
3336 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3337 override the default.
3338 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3339 cl--dotimes/dolist.
3340 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3341 `cl' is loaded.
3342
3343 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3344 from add-advice.
3345 (advice--strip-macro): New function.
3346 (advice--defalias-fset): Use them to handle macros.
3347 (advice-add): Use them.
3348 (advice-member-p): Correctly handle macros.
3349
3350 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3351
3352 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3353 Never font-lock the beginning of singleton class as heredoc.
3354
3355 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3358
3359 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3360
3361 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3362 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3363 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3364
3365 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3366
3367 Fix end-of-defun misbehavior.
3368 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3369 python-beginning-of-defun-function. Handle nested defuns
3370 correctly.
3371 (python-nav-end-of-defun): Rename from
3372 python-end-of-defun-function. Ensure forward movement.
3373 (python-info-current-defun): Reimplement to work as intended
3374 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3375 parent defuns as soon as possible.
3376
3377 2012-11-13 Glenn Morris <rgm@gnu.org>
3378
3379 * progmodes/flymake.el (flymake-error-bitmap)
3380 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3381 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3382
3383 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3384
3385 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3386 backward, always stop at indentation. Reverts the change from
3387 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3388
3389 2012-11-13 Glenn Morris <rgm@gnu.org>
3390
3391 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3392 Add ibuffer-filter-by-derived-mode.
3393
3394 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3395 the same name shadowing each other.
3396
3397 * window.el (with-temp-buffer-window): Doc tweak.
3398
3399 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3400
3401 * help.el (temp-buffer-max-height):
3402 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3403 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3404
3405 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * emacs-lisp/nadvice.el: New package.
3408 * subr.el (special-form-p): New function.
3409 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3410 (elp-all-instrumented-list): Remove var.
3411 (elp-not-profilable): Remove elp-wrapper.
3412 (elp-profilable-p): Use autoloadp and special-form-p.
3413 (elp--advice-name): New const.
3414 (elp-instrument-function): Use advice-add.
3415 (elp--instrumented-p): New predicate.
3416 (elp-restore-function): Use advice-remove.
3417 (elp-restore-all, elp-reset-all): Use mapatoms.
3418 (elp-set-master): Use elp--instrumented-p.
3419 (elp--make-wrapper): Rename from elp-wrapper, return a function
3420 suitable for advice-add. Use cl-inf.
3421 (elp-results): Use mapatoms+elp--instrumented-p.
3422 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3423 (debug-function-list): Remove var.
3424 (debug): Rename arg, and then let-bind it explicitly inside.
3425 (debugger-setup-buffer): Rename arg.
3426 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3427 (debugger-frame-number): Adjust to new debug-on-entry setup.
3428 (debug--implement-debug-on-entry): Rename from
3429 implement-debug-on-entry, add argument.
3430 (debugger-special-form-p): Remove, use special-form-p instead.
3431 (debug-on-entry): Use advice-add.
3432 (debug--function-list): New function.
3433 (cancel-debug-on-entry): Use it, along with advice-remove.
3434 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3435 (debugger-list-functions): Use debug--function-list instead of
3436 debug-function-list.
3437 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3438 (ad-special-form-p): Remove, use special-form-p instead.
3439 (ad-set-advice-info): Use add-function and remove-function.
3440 (ad--defalias-fset): Adjust accordingly.
3441
3442 2012-11-10 Glenn Morris <rgm@gnu.org>
3443
3444 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3445 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3446 (report-emacs-bug-create-existing-bugs-buffer)
3447 (report-emacs-bug-parse-query-results)
3448 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3449
3450 * term.el (term-default-fg-color, term-default-bg-color):
3451 Make obsolete, rather than just saying "deprecated" in the doc.
3452
3453 * term.el (term): Rename from `term-face'.
3454 (term-current-face, ansi-term-color-vector)
3455 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3456 Update all users.
3457
3458 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3459
3460 * server.el (server-create-window-system-frame): Handle Nextstep
3461 specially (Bug#12780).
3462
3463 2012-11-10 Glenn Morris <rgm@gnu.org>
3464
3465 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3466 Unautoload, and make obsolete. (Bug#7449)
3467
3468 2012-11-10 Chong Yidong <cyd@gnu.org>
3469
3470 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3471 rename from diff-remove-trailing-whitespace (Bug#12831).
3472
3473 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3476 miscompilation of trace.el.
3477
3478 2012-11-10 Glenn Morris <rgm@gnu.org>
3479
3480 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3481
3482 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3485 (bug#12812).
3486
3487 2012-11-10 Chong Yidong <cyd@gnu.org>
3488
3489 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3490 a defcustom with an appropriate :set function.
3491 (minibuffer-default--in-prompt-regexps): New function.
3492
3493 2012-11-10 Glenn Morris <rgm@gnu.org>
3494
3495 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3496 (define-modify-macro): Doc fixes.
3497
3498 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3499 (gv-define-simple-setter): Update doc of `fix-return'.
3500
3501 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3502
3503 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3504 twice when `fix-return' is set (bug#12813).
3505
3506 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3507 gv-define-simple-setter (bug#12812).
3508
3509 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3510 (bug#12756).
3511
3512 2012-11-10 Glenn Morris <rgm@gnu.org>
3513
3514 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3515
3516 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3517 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3518 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3519 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3520
3521 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3522
3523 2012-11-10 Leo Liu <sdl.web@gmail.com>
3524
3525 * ido.el (ido-set-matches-1): Improve flex matching performance by
3526 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3527
3528 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3531 (ad--defalias-fset): New function.
3532 (ad-safe-fset): Remove.
3533 (ad-make-freeze-definition): Use cl-letf*.
3534
3535 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * subr.el (dolist): Don't bind VAR in RESULT.
3538
3539 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3540 (fset, documentation): Don't save real def since we don't advise.
3541 (ad-do-advised-functions): Remove problematic `result-form'.
3542 (ad-safe-fset): `ad-real-fset' => `fset'.
3543 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3544 uses CL's dolist internally.
3545 (ad-arglist): Remove unused arg `name'.
3546 (ad-docstring, ad-make-advised-docstring):
3547 `ad-real-documentation' => `documentation'.
3548 (warning-suppress-types): Declare.
3549 (ad-set-arguments): Simple CSE.
3550 (ad-recover-normality): Sanity check.
3551
3552 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3553 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3554
3555 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3556
3557 * ses.el: symbol to coordinate mapping is made by symbol property
3558 `ses-cell'. This means that the same mapping is done for all SES
3559 sheets. That is good enough for cells with standard A1 names, but
3560 not for named cell. So a hash map is added for the latter.
3561 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3562 (ses-sym-rowcol): Use hashmap for named cell.
3563 (ses-is-cell-sym-p): New defun.
3564 (ses-decode-cell-symbol): New defun.
3565 (ses-create-cell-variable): Add cell to hashmap when name is not
3566 A1-like.
3567 (ses-rename-cell): Check that cell new name is not already in
3568 spreadsheet with the use of ses-is-cell-sym-p
3569 (ses-rename-cell): Use hash map for named cells, but accept also
3570 renaming back to A1-like.
3571
3572 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * emacs-lisp/advice.el: Use new dynamic docstrings.
3575 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3576 Use dynamic-docstring-function instead of ad-advice-info.
3577 (ad--make-advised-docstring): New function extracted from
3578 ad-make-advised-docstring.
3579 (ad-make-advised-docstring): Use it.
3580 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3581 from sql-help.
3582 (sql-help): Use it with dynamic-docstring-function.
3583
3584 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3585
3586 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * files.el (hack-one-local-variable--obsolete): New function.
3589 (hack-one-local-variable): Use it for obsolete settings.
3590
3591 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3592 the new name.
3593
3594 * progmodes/js.el (js--filling-paragraph): New var.
3595 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3596 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3597 less sneaky.
3598
3599 2012-11-08 Julien Danjou <julien@danjou.info>
3600
3601 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3602 `auto-mode-alist' (Bug#12835).
3603
3604 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3607 (perl--prettify-symbols-alist): New const.
3608 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3609 New functions.
3610 (perl-font-lock-keywords-2): Use them.
3611 (perl-electric-noindent-p): New function.
3612 (perl-mode): Use it to set up electric-indent-mode.
3613 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3614 (perl-mode-map): Remove bindings for them.
3615 (perl-imenu-generic-expression, perl-outline-level):
3616 Match functions&packages in column>0.
3617
3618 * env.el (env--substitute-vars-regexp): New const.
3619 (substitute-env-vars): Use it. Add `only-defined' arg.
3620 * net/tramp.el (tramp-replace-environment-variables): Use it.
3621
3622 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3623 Byte-compile *before* eval in eval-and-compile.
3624 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3625 (byte-compile-file-form-autoload): Don't hide actual definition.
3626 (byte-compile-maybe-guarded): Accept `functionp' as well.
3627
3628 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3629
3630 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3631
3632 * notifications.el (notifications-get-server-information-method):
3633 New defconst.
3634 (notifications-get-capabilities): Fix docstring.
3635 (notifications-get-server-information): New defun.
3636
3637 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3638
3639 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3640 readability.
3641
3642 * textmodes/ispell.el: Experimental support for support debugging.
3643 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3644 buffer for ispell.
3645 (ispell-print-if-debug): New function to print stuff to
3646 `ispell-debug-buffer' if debugging is enabled.
3647 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3648 show some debugging info.
3649 (ispell-buffer-with-debug): New function that creates a debugging
3650 buffer and calls `ispell-buffer' with debugging enabled.
3651
3652 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3653 comment in autoconf mode. (Bug#12768)
3654
3655 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3656
3657 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3658 frame-first-window, frame-root-window, frame-selected-window,
3659 minibuffer-selected-window, minibuffer-window,
3660 window-absolute-pixel-edges, window-at, window-body-height,
3661 window-body-width, window-display-table, window-combination-limit,
3662 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3663 window-inside-edges, window-inside-pixel-edges, window-left-child,
3664 window-left-column, window-margins, window-next-buffers,
3665 window-next-sibling, window-new-normal, window-new-total,
3666 window-normal-size, window-parameter, window-parameters, window-parent,
3667 window-pixel-edges, window-point, window-prev-buffers,
3668 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3669 window-start, window-text-height, window-top-child, window-top-line,
3670 window-total-height, window-total-width and window-use-time to the list
3671 of functions without side-effects.
3672 (toplevel): Add window-valid-p to the list of error-free functions
3673 without side-effects.
3674
3675 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3676
3677 * textmodes/ispell.el (ispell-program-name):
3678 Update spellchecker parameters when customized.
3679
3680 2012-11-04 Glenn Morris <rgm@gnu.org>
3681
3682 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3683
3684 2012-11-04 Chong Yidong <cyd@gnu.org>
3685
3686 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3687 same-window-* variables.
3688
3689 2012-11-04 Juri Linkov <juri@jurta.org>
3690
3691 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3692 (isearch-describe-key, isearch-describe-mode): Use a display
3693 action instead of binding same-window-* variables (Bug#10040).
3694
3695 2012-11-03 Glenn Morris <rgm@gnu.org>
3696
3697 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3698 Rename handler properties back from cl-- to cl-. (Bug#12788)
3699
3700 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3701
3702 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3703
3704 * term/pc-win.el: Don't load term/internal from here.
3705
3706 * loadup.el: Load term/internal from here.
3707
3708 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3709
3710 * progmodes/python.el (inferior-python-mode): Fix hang in
3711 jit-lock (Bug#12645).
3712
3713 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3714
3715 * window.el (switch-to-visible-buffer)
3716 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3717
3718 2012-11-03 Glenn Morris <rgm@gnu.org>
3719
3720 * emacs-lisp/cl-lib.el (cl--random-time):
3721 Rename from cl-random-time. (Bug#12773)
3722 (cl--gensym-counter, cl--random-state): Update callers.
3723 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3724
3725 2012-11-03 Chong Yidong <cyd@gnu.org>
3726
3727 * cus-start.el: Make cursor-type customizable (Bug#11633).
3728
3729 2012-11-02 Glenn Morris <rgm@gnu.org>
3730
3731 * filecache.el: No need to load find-lisp when compiling.
3732 (find-lisp-find-files): Autoload it.
3733 (file-cache-add-directory-recursively): Don't require find-lisp.
3734
3735 * image.el (image-type-from-file-name): Trivial simplification.
3736
3737 * emacs-lisp/bytecomp.el (byte-compile-eval):
3738 Decouple "noruntime" and "cl-functions" warnings.
3739
3740 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3741
3742 * play/gomoku.el (gomoku-display-statistics): Update mode line
3743 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3744
3745 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3746
3747 * window.el (quit-restore-window): If the window has been
3748 created on an existing frame and ended up as the sole window on
3749 that frame, do not delete it (Bug#12764).
3750
3751 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3754 Rename from sh--inside-arithmetic-expression, handle more cases
3755 (bug#11263).
3756
3757 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3758 (sh-font-lock-open-heredoc): Use it (bug#12770).
3759
3760 2012-10-30 Glenn Morris <rgm@gnu.org>
3761
3762 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3763
3764 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3765
3766 2012-10-29 Chong Yidong <cyd@gnu.org>
3767
3768 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3769 function key is stored in a keyboard macro (Bug#4894).
3770
3771 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3772
3773 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3774
3775 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3776 header comments".
3777 (diff-unified->context, diff-context->unified)
3778 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3779
3780 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3781
3782 * files.el (find-alternate-file): Only ask one question (bug#12487).
3783
3784 2012-10-29 Chong Yidong <cyd@gnu.org>
3785
3786 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3787 Suggested by Dan Nicolaescu (Bug#6326).
3788
3789 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3790
3791 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3792
3793 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3794
3795 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3796
3797 * face-remap.el (face-remap-add-relative): Handle the case where a
3798 face-remapping-alist entry is a cons cell (Bug#12762).
3799
3800 2012-10-29 Kevin Ryde <user42@zip.com.au>
3801
3802 * woman.el (woman-parse-numeric-value): Handle picas correctly
3803 (Bug#12639).
3804
3805 2012-10-29 Glenn Morris <rgm@gnu.org>
3806
3807 * emacs-lisp/cl.el (defsetf): Doc fix.
3808
3809 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3812 syntax to the matching opener, if any (bug#12547).
3813 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3814 matching open as a "case-(".
3815 (sh-smie-rc-grammar): Add a corresponding rule for it.
3816
3817 2012-10-28 Daniel Hackney <dan@haxney.org>
3818
3819 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3820 "PKGNAME-autoloads.el" in case we created it.
3821
3822 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3825 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3826 (completion--twq-all): Disable too-strict assertions.
3827
3828 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3829
3830 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3831
3832 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3833 text to match the real keybindings.
3834
3835 2012-10-27 Juri Linkov <juri@jurta.org>
3836
3837 * wdired.el (wdired-keep-marker-rename): New defcustom.
3838 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3839 (Bug#11795)
3840
3841 * dired.el (dired-keep-marker-rename): Add reference to
3842 `wdired-keep-marker-rename' in the docstring.
3843 Add default character value ?R to display initially in
3844 Customization UI instead of ?@.
3845
3846 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3847
3848 * window.el (display-buffer): In doc-string describe
3849 window-height and window-width alist entries.
3850
3851 * time.el (display-time-world): Restore fit-window-to-buffer
3852 behavior.
3853
3854 2012-10-27 Chong Yidong <cyd@gnu.org>
3855
3856 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3857
3858 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3859
3860 * minibuffer.el (completion-category-overrides): New completion
3861 category `bookmark' (bug#11131).
3862
3863 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3866 Silence bogus compiler warnings for ad-do-it.
3867
3868 * bookmark.el (bookmark-completing-read): Set the completion category
3869 to `bookmark' (bug#11131).
3870
3871 2012-10-26 Bastien <bzg@altern.org>
3872 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * face-remap.el: Use lexical-binding.
3875 (text-scale-adjust): Improve docstring. Use itself for the temporary
3876 overlay-map bindings, so as to repeat the "Use..." message each time.
3877
3878 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * emacs-lisp/macroexp.el (macroexp--expand-all):
3881 Obey byte-compile-warning-enabled-p (bug#12486).
3882
3883 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3884 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3885
3886 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3887
3888 * mouse.el (mouse-drag-line): Move last form into preceding when
3889 clause (Bug#12731).
3890
3891 * help.el (resize-temp-buffer-window): Fix doc-string.
3892
3893 2012-10-25 David Engster <deng@randomsample.de>
3894
3895 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3896 Remove. This feature is already integrated in imenu.
3897
3898 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3899 always loaded. Require `speedbar' unconditionally.
3900
3901 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3904
3905 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3906
3907 * net/ldap.el (ldap-search-internal): The official ldif format starts
3908 with a "version: 1" header (bug#12724).
3909
3910 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3911 (bug#12721).
3912
3913 2012-10-25 Glenn Morris <rgm@gnu.org>
3914
3915 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3916
3917 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * minibuffer.el (minibuffer-force-complete): Use one more marker
3920 for the temporary-overlay-map command (bug#12619).
3921
3922 2012-10-24 Chong Yidong <cyd@gnu.org>
3923
3924 * time.el (display-time-world-mode): Derive from special-mode.
3925 (display-time-world): Use display-buffer (Bug#12708).
3926 (display-time-world-mode-map): Variable deleted.
3927 (display-time-world-display): Wrap the final delete-char inside
3928 inhibit-read-only.
3929
3930 2012-10-24 Chong Yidong <cyd@gnu.org>
3931
3932 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3933 Doc fix.
3934
3935 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3936
3937 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * minibuffer.el (completion--all-sorted-completions-location): New var.
3940 (completion--cache-all-sorted-completions)
3941 (completion--flush-all-sorted-completions): Use it.
3942 (completion-in-region, completion-in-region--postch)
3943 (completion-at-point, completion-help-at-point): Use markers in
3944 completion-in-region--data (bug#12619).
3945
3946 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * progmodes/compile.el (compilation-start): Try to handle common
3949 quoting of `cd' argument (bug#12640).
3950
3951 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3952 (bug#12671).
3953
3954 2012-10-23 Glenn Morris <rgm@gnu.org>
3955
3956 * progmodes/gud.el (gud-menu-map):
3957 Check gdb-active-process is bound. (Bug#12358)
3958
3959 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * repeat.el (repeat): Set real-this-command (bug#12232).
3962
3963 * htmlfontify.el (hfy-post-html-hook):
3964 * filesets.el (filesets-cache-fill-content-hook):
3965 * arc-mode.el (archive-extract-hook):
3966 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3967 * net/rcirc.el (rcirc-sentinel-functions)
3968 (rcirc-receive-message-functions, rcirc-activity-functions)
3969 (rcirc-print-functions):
3970 * net/dbus.el (dbus-event-error-functions):
3971 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3972 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3973 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3974 * term/sun.el (sun-raw-prefix-hooks):
3975 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3976
3977 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3980 Set `tramp-chunksize' to 1. This improves the performance.
3981 (tramp-smb-wait-for-output): Add timeout to
3982 `tramp-accept-process-output' calls.
3983
3984 2012-10-23 Chong Yidong <cyd@gnu.org>
3985
3986 * faces.el (font-list-limit): Define as an obsolete variable.
3987
3988 * startup.el (command-line):
3989 * cus-start.el: Don't refer to font-list-limit.
3990
3991 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3992
3993 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * subr.el (internal-temp-output-buffer-show): Rename from
3996 temp-output-buffer-show, since previously compiled files expect this name.
3997
3998 2012-10-23 Glenn Morris <rgm@gnu.org>
3999
4000 * image.el (image-type-from-file-name): If multiple types match,
4001 return the first one that is supported. (Bug#9045)
4002
4003 2012-10-22 Glenn Morris <rgm@gnu.org>
4004
4005 * image.el (imagemagick-enabled-types): Doc fix.
4006
4007 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4008
4009 * progmodes/which-func.el (which-func-current): The hash-table may have
4010 an explicit nil (bug#12338).
4011
4012 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * electric.el (electric-pair-delete-selection-self-insert-function):
4015 Rename to electric-pair-will-use-region, return a boolean.
4016 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4017
4018 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4019 (delete-selection-pre-hook): Use use-region-p.
4020 (delete-selection-self-insert-function): Remove.
4021 (self-insert-command): Obey self-insert-uses-region-functions.
4022 (self-insert-iso): Revert to previous setting, since we don't actually
4023 know what that command does.
4024 (delete-selection-self-insert-hooks): Remove.
4025
4026 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4027
4028 * delsel.el (delete-selection-helper): New function, extracted from
4029 delete-selection-pre-hook.
4030 (delete-selection-pre-hook): Use it.
4031 (delete-selection-self-insert-function): New function.
4032 (delete-selection-self-insert-hooks): New hook.
4033 (self-insert-command, self-insert-iso): Use it.
4034 * electric.el (electric-pair-syntax): New function, extracted from
4035 electric-pair-post-self-insert-function.
4036 (electric-pair-post-self-insert-function): Use it.
4037 (electric-pair-delete-selection-self-insert-function): New function.
4038 (electric-pair-mode): Require delsel and setup
4039 delete-selection-self-insert-hooks (bug#11520).
4040
4041 2012-10-20 Chong Yidong <cyd@gnu.org>
4042
4043 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4044 no changes to show (Bug#12586).
4045
4046 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4047 list explicitly (Bug#12571).
4048
4049 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4050
4051 * progmodes/flymake.el (flymake-create-temp-inplace):
4052 Use file-truename.
4053
4054 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4055
4056 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4057
4058 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4059
4060 * calc/calc-units.el (math-extract-units): Properly extract powers
4061 of units.
4062
4063 2012-10-20 Daniel Colascione <dancol@dancol.org>
4064
4065 * frame.el (make-frame): Set x-display-name as we used to in order
4066 to unbreak creating an X11 frame from an Emacs daemon started
4067 without a display.
4068
4069 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4072 the same completion-field (bug#12221).
4073
4074 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4075
4076 * emacs-lisp/debug.el (debug): Record height of debugger window
4077 also when debugger will be back (Bug#8789).
4078
4079 2012-10-18 Chong Yidong <cyd@gnu.org>
4080
4081 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4082 Convert to defcustom.
4083 (gdb-get-source-file): Don't bind pop-up-windows.
4084
4085 * progmodes/gud.el (gud-display-line): Don't specially re-use
4086 other frames for the gdb-mi case (Bug#12648).
4087
4088 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * emacs-lisp/advice.el: Clean up commentary a bit.
4091 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4092 (byte-code-function-p): Never redefine.
4093
4094 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4095
4096 2012-10-18 Glenn Morris <rgm@gnu.org>
4097
4098 * dired.el (dired-sort-toggle): Some ls implementations only allow
4099 a single option string. (Bug#12666)
4100
4101 * minibuffer.el (completion-cycle-threshold): Doc fix.
4102
4103 2012-10-17 Kenichi Handa <handa@gnu.org>
4104
4105 * international/mule.el (set-keyboard-coding-system):
4106 Recover input meta mode when the new coding system doesn not use 8-bit.
4107 Supply TERMINAL arg to set-input-meta-mode.
4108
4109 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4110
4111 * wdired.el (wdired-old-marks): New variable.
4112 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4113 (wdired-do-renames): Move point with renamed file and don't lose
4114 mark status (Bug#11795).
4115
4116 2012-10-16 Juri Linkov <juri@jurta.org>
4117
4118 * replace.el (query-replace-help): Mention multi-buffer replacement
4119 keys in the Help message. (Bug#12655)
4120
4121 2012-10-15 Chong Yidong <cyd@gnu.org>
4122
4123 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4124
4125 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4126
4127 * window.el (display-buffer): Doc fix.
4128
4129 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4130 Adjust the msft regexp to the output of Studio 2010, and move msft
4131 before edg-1. See the discussion on emacs-devel,
4132 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4133 for the details.
4134
4135 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4138 (oset): Move uses of object-class-fast macro after its definition.
4139
4140 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4141
4142 2012-10-13 Chong Yidong <cyd@gnu.org>
4143
4144 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4145 enabled, re-enable it (Bug#11963).
4146
4147 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4148
4149 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4150 non-nil, restore window configuration (Bug#12623).
4151
4152 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * help-fns.el (describe-variable, describe-function-1):
4155 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4156
4157 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4158
4159 2012-10-12 Glenn Morris <rgm@gnu.org>
4160
4161 * mail/rmailsum.el (rmail-header-summary):
4162 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4163
4164 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4165
4166 * progmodes/python.el (python-mode-map):
4167 Replace subtitute-key-definition with proper command remapping.
4168 (python-nav--up-list): Fix behavior for blocks on the same level.
4169
4170 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4173
4174 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4175 changes to the format of load-history.
4176
4177 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4178 completion-ignore-case in case that var is buffer-local (bug#12615).
4179
4180 2012-10-11 Kenichi Handa <handa@gnu.org>
4181
4182 * international/eucjp-ms.el: Re-generated.
4183
4184 2012-10-10 Kenichi Handa <handa@gnu.org>
4185
4186 * select.el (xselect--encode-string): If a coding is specified for
4187 selection, and that is compatible with COMPOUND_TEXT, use it.
4188
4189 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4190
4191 * window.el (switch-to-buffer-preserve-window-point): New option.
4192 (switch-to-buffer):
4193 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4194
4195 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4198 Don't document nil as a useful value (bug#12583).
4199
4200 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4201
4202 * net/tramp.el (tramp-debug-message):
4203 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4204 (with-tramp-progress-reporter): Rename from
4205 `tramp-with-progress-reporter'.
4206 (with-tramp-file-property, with-tramp-connection-property):
4207 Move from tramp-cache.el, rename from `with-file-property' and
4208 `with-connection-property', respectively.
4209
4210 * net/tramp-cache.el: Remove `with-file-property' and
4211 `with-connection-property'.
4212
4213 * net/tramp.el:
4214 * net/tramp-gvfs.el:
4215 * net/tramp-sh.el:
4216 * net/tramp-smb.el: Adapt callees.
4217
4218 * net/trampver.el: Update release number.
4219
4220 2012-10-09 Glenn Morris <rgm@gnu.org>
4221
4222 * w32-fns.el (set-message-beep):
4223 * term/w32-win.el (set-message-beep): Update declarations.
4224
4225 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4228 (mode-line-widen, mode-line-input-method-map)
4229 (mode-line-coding-system-map, mode-line-remote)
4230 (mode-line-unbury-buffer, mode-line-bury-buffer)
4231 (mode-line-next-buffer, mode-line-previous-buffer):
4232 Replace save-selected-window+select-window => with-selected-window.
4233
4234 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4235 * progmodes/cc-vars.el (bq-process): Remove, unused.
4236
4237 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4238
4239 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4240
4241 Implemented `backward-up-list'-like navigation.
4242 * progmodes/python.el (python-nav-up-list)
4243 (python-nav-backward-up-list): New functions.
4244 (python-mode-map): Define substitute key for backward-up-list to
4245 python-nav-backward-up-list.
4246
4247 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4248
4249 * progmodes/python.el (python-fill-paragraph): Rename from
4250 python-fill-paragraph-function. Fixed fill-paragraph for
4251 decorators (Bug#12605).
4252
4253 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4254
4255 * progmodes/python.el (python-shell-output-filter): Handle extra
4256 carriage return in OSX (Bug#12409).
4257
4258 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4259
4260 Fix shell handling of unbalanced quotes and parens in output.
4261 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4262 (python-syntax-propertize-function): Use it.
4263 (python-shell-output-syntax-table): New var.
4264 (inferior-python-mode): Prevent unbalanced parens/quotes from
4265 previous output mess with current input context.
4266
4267 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4268
4269 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4270 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4271
4272 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4273
4274 * ffap.el (ffap-replace-file-component): Support Tramp file name
4275 syntax, not only ange-ftp's one.
4276
4277 2012-10-08 Glenn Morris <rgm@gnu.org>
4278
4279 * cus-start.el (message-log-max): Set :version.
4280
4281 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4282
4283 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4284
4285 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4286 the minibuffer window (Bug#10851).
4287
4288 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4289
4290 Enhancements on forward-sexp movement.
4291 * progmodes/python.el (python-nav-beginning-of-statement)
4292 (python-nav-end-of-statement): Return point-marker.
4293 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4294 (python-info-current-symbol)
4295 (python-info-statement-starts-block-p): Rename from
4296 python-info-beginning-of-block-p.
4297 (python-info-statement-ends-block-p): Rename from
4298 python-info-end-of-block-p.
4299 (python-info-beginning-of-statement-p)
4300 (python-info-end-of-statement-p)
4301 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4302 New functions.
4303
4304 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4307 frame-selected-windows.
4308
4309 2012-10-08 Daniel Colascione <dancol@dancol.org>
4310
4311 * battery.el (battery-status-function): Check for
4312 w32-battery-status itself, not system-time windows-nt.
4313
4314 * frame.el: Require cl-lib.
4315 (display-format-alist): New variable mapping frame types to
4316 functions that initialize them.
4317 (window-system-for-display): New function: interprets
4318 display-format-alist.
4319 (make-frame-on-display): Remove existing display-selection logic
4320 and just forward to make-frame, which will now DTRT.
4321 (make-frame): Restructure to use window-system-for-display to
4322 figure out how to create a frame on a given display.
4323 (display-mouse-p): Look for frame-type w32, not a particular
4324 system-type.
4325
4326 * loadup.el: Load w32 lisp code when we have the w32 feature.
4327
4328 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4329 system-type windows-nt.
4330
4331 * server.el (server-create-window-system-frame): Look for window
4332 type.
4333 (server-proces-filter): Only force a window system when windows-nt
4334 _and_ w32. Explain why.
4335
4336 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4337 of window systems we configure for the mode.
4338
4339 * startup.el (command-line): Mark window system is initialized
4340 after we've done it.
4341
4342 * common-win.el (x-select-text): Look for w32, not windows-nt.
4343
4344 * ns-win.el: Require cl-lib. Add ourselves to
4345 display-format-alist.
4346 (ns-initialize-window-system): Assert we're not initialized twice.
4347
4348 * w32-win.el: Enable lexical binding; require cl-lib; add
4349 ourselves to display-format-alist.
4350 (w32-handle-dropped-file): Convert incoming dropped files from
4351 Windows paths to Cygwin ones before passing them on to the rest of
4352 Emacs.
4353 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4354 (w32-initialize-window-system): Assert we're not initialized twice.
4355
4356 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4357 (x-initialize-window-system): Assert we're not initialized twice.
4358
4359 * w32-common-fns.el: New File.
4360 (w32-version, w32-using-nt, w32-get-clipboard-data)
4361 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4362 (w32-charset-info-alist, x-last-selected, text)
4363 (x-get-selection-value, x-selection-value): Move here.
4364
4365 * w32-fns.el: Require w32-common-fns.
4366 (w32-version, w32-using-nt, w32-get-clipboard-data)
4367 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4368 (w32-charset-info-alist, x-last-selected, text)
4369 (x-get-selection-value, x-selection-value): Move to
4370 w32-common-fns.
4371
4372 * w32-vars.el:
4373 (w32-allow-system-shell, w32-system-shells): Define only in
4374 non-cygwin case.
4375
4376 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4379 (read-passwd): Remove a few more potential sources of leaks.
4380
4381 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4382
4383 * progmodes/python.el (inferior-python-mode)
4384 (python-shell-make-comint): Fix initialization of local
4385 variables copied from parent buffer.
4386
4387 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4388
4389 * term/ns-win.el (ns-read-file-name): Update declaration to match
4390 nsfns.m.
4391 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4392 it is set when font is acted upon.
4393
4394 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4395
4396 Enhancements to indentation.
4397 * progmodes/python.el (python-indent-context): Give priority to
4398 inside-string context. Make comments indentation markers.
4399 (python-indent-region): Do not mess with strings, unless it's the
4400 enclosing set of quotes.
4401
4402 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * window.el (internal--before-save-selected-window)
4405 (internal--after-save-selected-window): New functions extracted from
4406 save-selected-window. Make sure we return the `alist' we construct.
4407 (save-selected-window): Use them.
4408
4409 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4410 Use with-selected-window.
4411
4412 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4413 forms that define macros (bug#12593).
4414
4415 2012-10-07 Kenichi Handa <handa@gnu.org>
4416
4417 * international/mule-conf.el (compound-text-with-extensions):
4418 Add :mime-charset property as x-ctext.
4419
4420 2012-10-07 Stefan Merten <smerten@oekonux.de>
4421
4422 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4423 (rst-indent-literal-normal, rst-indent-literal-minimized)
4424 (rst-indent-comment): Correct :version tag.
4425 (rst-official-cvs-rev): Correct version string.
4426
4427 2012-10-07 Glenn Morris <rgm@gnu.org>
4428
4429 * mail/rmailmm.el (rmail-mime-process-multipart):
4430 Do not confuse a multipart message with an epilogue
4431 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4432
4433 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4434
4435 Fix shell output retrieval and comint-prompt-regexp init.
4436 * progmodes/python.el (inferior-python-mode):
4437 (python-shell-make-comint): Fix initialization of
4438 comint-prompt-regexp from copied file local variables.
4439 (python-shell-fetched-lines): Remove var.
4440 (python-shell-output-filter-in-progress): Rename from
4441 python-shell-fetch-lines-in-progress.
4442 (python-shell-output-filter-buffer): Rename from
4443 python-shell-fetch-lines-string.
4444 (python-shell-fetch-lines-filter): Delete function.
4445 (python-shell-output-filter): New function.
4446 (python-shell-send-string-no-output): Use them.
4447
4448 2012-10-07 Glenn Morris <rgm@gnu.org>
4449
4450 * hi-lock.el (hi-lock-process-phrase):
4451 Try to make it less fragile. (Bug#7161)
4452
4453 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4454
4455 2012-10-06 Glenn Morris <rgm@gnu.org>
4456
4457 * ehelp.el (electric-help-mode): Use help-mode rather than
4458 non-existent mode `help'.
4459 (electric-help-map): Use button-buffer-map. (Bug#10917)
4460
4461 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4462 (reftex-create-bibtex-footer): Fix custom types.
4463
4464 * progmodes/sh-script.el (sh-indent-after-continuation):
4465 Add explicit :group.
4466
4467 * textmodes/rst.el (rst-preferred-decorations)
4468 (rst-shift-basic-offset): Clarify obsolescence versions.
4469
4470 * profiler.el (profiler): Add missing group :version tag.
4471 * avoid.el (mouse-avoidance-banish-position):
4472 * proced.el (proced-renice-command):
4473 * calc/calc.el (calc-ensure-consistent-units):
4474 * calendar/icalendar.el (icalendar-import-format-uid):
4475 * net/tramp.el (tramp-save-ad-hoc-proxies):
4476 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4477 * progmodes/flymake.el (flymake-error-bitmap)
4478 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4479 * progmodes/sh-script.el (sh-indent-after-continuation):
4480 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4481 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4482 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4483 (vhdl-array-index-record-field-in-sensitivity-list)
4484 (vhdl-indent-comment-like-next-code-line):
4485 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4486 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4487 (reftex-cite-key-separator, reftex-create-bibtex-header)
4488 (reftex-create-bibtex-footer):
4489 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4490 (rst-indent-literal-normal, rst-indent-literal-minimized)
4491 (rst-indent-comment): Add missing custom :version tags.
4492
4493 * calendar/timeclock.el (timeclock-modeline-display):
4494 Add missing obsolete alias for renamed user option.
4495
4496 * strokes.el (strokes-modeline-string):
4497 * emulation/crisp.el (crisp-mode-modeline-string):
4498 * eshell/esh-mode.el (eshell-status-in-modeline):
4499 Aliases to defcustoms must come before the defcustom.
4500
4501 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4502 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4503 (cal-tex-cursor-week-monday): Doc fixes.
4504 (cal-tex-cursor-week2-summary): Doc fix.
4505 Rename from cal-tex-cursor-week-at-a-glance.
4506
4507 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4508 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4509
4510 * calendar/calendar.el (calendar-mode-map):
4511 Add cal-tex-cursor-week2-summary.
4512
4513 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4516
4517 * subr.el (read-passwd-map): New var.
4518 (read-passwd): Use `read-string' again.
4519 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4520
4521 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4522
4523 * register.el (append-to-register, prepend-to-register):
4524 Deactivate mark, as does `copy-to-register' (bug#12389).
4525
4526 2012-10-06 Chong Yidong <cyd@gnu.org>
4527
4528 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4529
4530 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4531
4532 * international/characters.el: Fix simple mistake ((car chars) ->
4533 elt), delete duplicated code.
4534
4535 2012-10-06 Glenn Morris <rgm@gnu.org>
4536
4537 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4538
4539 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4540
4541 * color.el (color-hsl-to-rgb): Fix incorrect results for
4542 small and large hue values. (Bug#12559)
4543
4544 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4545
4546 Enhancements to docstring formatting when filling paragraphs.
4547 * progmodes/python.el (python-fill-docstring-style): Rename from
4548 python-fill-string-style. Added new style.
4549 (python-fill-string): Use new style. Better checks for
4550 docstrings.
4551
4552 2012-10-05 Glenn Morris <rgm@gnu.org>
4553
4554 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4555
4556 * color.el (color-name-to-rgb, color-rgb-to-hex)
4557 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4558 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4559 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4560 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4561
4562 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4563
4564 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4565
4566 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4567 to get the correct size across symlinks.
4568
4569 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4570
4571 2012-10-04 Juri Linkov <juri@jurta.org>
4572
4573 * replace.el (query-replace-interactive): Declare obsolete.
4574 (query-replace-read-from): Add the last incremental search string
4575 to the list of default values accessible via M-n.
4576 (map-query-replace-regexp): Use `read-regexp'.
4577 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4578 (map-query-replace-regexp, replace-string, replace-regexp):
4579 Fix docstrings to replace mentions of `query-replace-interactive'
4580 with alternatives. (Bug#12526)
4581
4582 2012-10-04 Juri Linkov <juri@jurta.org>
4583
4584 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4585 (dired-pop-to-buffer): Declare obsolete.
4586 (dired-mark-pop-up): Doc fix.
4587
4588 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4589
4590 Allow user to set docstring style for fill-paragraph.
4591 * progmodes/python.el
4592 (python-fill-comment-function, python-fill-string-function)
4593 (python-fill-decorator-function, python-fill-paren-function):
4594 Remove :safe for defcustoms.
4595 (python-fill-string-style): New defcustom
4596 (python-fill-paragraph-function): Enhance context detection.
4597 (python-fill-string): Honor python-fill-string-style settings.
4598
4599 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4600
4601 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4602 after setting its buffer (Bug#10805).
4603
4604 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4605
4606 Fix cornercase for string syntax.
4607 * progmodes/python.el (python-syntax-propertize-function):
4608 Simplify and enhance the regexp for unescaped quotes. Now it also
4609 matches quotes in weird situations like the single quote in
4610 "something\"'".
4611 (python-syntax-stringify): Simplify num-quotes detecting code.
4612
4613 2012-10-03 Glenn Morris <rgm@gnu.org>
4614
4615 * help-macro.el (three-step-help):
4616 Revert 2012-09-29 change. (Bug#12567)
4617
4618 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4619
4620 * menu-bar.el (kill-this-buffer): Don't do anything when
4621 `menu-frame' is not alive or visible (Bug#8184).
4622
4623 * emacs-lisp/debug.el (debug): When quitting the debugger window
4624 restore current buffer (Bug#12502).
4625
4626 2012-10-02 Chong Yidong <cyd@gnu.org>
4627
4628 * progmodes/hideif.el (hif-lookup, hif-defined):
4629 Handle semantic-c-takeover-hideif.
4630
4631 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4632
4633 Change sampling interval units from ms to ns.
4634 * profiler.el (profiler-sampling-interval): Change units
4635 from ms to ns, multiplying the default by 1000000 so that
4636 it remains 1 ms.
4637 (profiler-report-cpu-line-format): Give enough room for
4638 the maximum counters on 64-bit hosts.
4639 (profiler-report-render-calltree-1): Call them "CPU samples",
4640 not "Time (ms)", since they are not milliseconds now (and
4641 never really were).
4642
4643 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4644
4645 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4646 Fix querying BBDB for entries without a last name (Bug#11580).
4647
4648 2012-10-02 Chong Yidong <cyd@gnu.org>
4649
4650 * emacs-lisp/eieio.el: Restore Version header.
4651
4652 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * vc/diff-mode.el (diff--auto-refine-data): New var.
4655 (diff-hunk): Use it to delay refinement.
4656 (diff-mode): Remove overlays when we turn off font-lock.
4657
4658 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4659 (table-initialize-table-fixed-width-mode)
4660 (table-set-table-fixed-width-mode): Remove functions.
4661 (table-command-list): Move initialization into declaration.
4662 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4663 (table-with-cache-buffer): Use `declare'.
4664 (table-span-cell): Simplify via CSE.
4665 (table-fixed-width-mode): Use define-minor-mode.
4666 (table-call-interactively, table-funcall, table-apply): Remove.
4667 (table-function): New function, to replace them.
4668
4669 * bookmark.el (bookmark-search-pattern): Remove var.
4670 (bookmark-read-search-input): Remove function.
4671 (bookmark-bmenu-search): Reimplement using a minibuffer.
4672
4673 * faces.el (modeline): Remove obsolete face name.
4674
4675 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4676 and give a non-nil default value.
4677 (add-change-log-entry): Simplify accordingly.
4678
4679 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4680
4681 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4682 (vc-git-log-edit-toggle-amend): New function.
4683 (vc-git-log-edit-toggle-signoff): New function.
4684 (vc-git-log-edit-mode): New major mode.
4685 (vc-git-log-edit-mode-map): Keymap for it.
4686 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4687
4688 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4689 header names.
4690 (log-edit-toggle-header): New function.
4691 (log-edit-extract-headers): Accept function values in HEADERS alist.
4692
4693 2012-10-01 David Engster <deng@randomsample.de>
4694
4695 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4696 from symbol property and change message to be more consistent with
4697 Emacs proper.
4698 (eieio-describe-generic): Add filename for each implementation.
4699 Fix indices for generic and normal methods.
4700 (eieio-method-def, eieio-class-def): New buttons.
4701 (eieio-help-find-method-definition)
4702 (eieio-help-find-class-definition): New functions.
4703 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4704 class, constructor and method definitions.
4705
4706 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4707 information in symbol property.
4708 (scoped-class): Remove.
4709 (eieio-slot-name-index, call-next-method): Check if it is bound.
4710
4711 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4712
4713 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4714 (eieio-custom-mode): New major mode.
4715 (eieio-customize-object): Use it.
4716
4717 2012-10-01 Eric Ludlam <zappo@gnu.org>
4718
4719 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4720 specifying the expected class, and whether subclassing is allowed.
4721 (eieio-persistent-convert-list-to-object):
4722 (eieio-persistent-validate/fix-slot-value)
4723 (eieio-persistent-slot-type-is-class-p): New functions.
4724 (eieio-named::slot-missing): Doc fix.
4725
4726 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4727 Stop using unused publd variable.
4728
4729 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4730 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4731 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4732 (eieio-speedbar-handle-click): Do not specify a class for the
4733 method. Fixes method invocation order problems with EDE.
4734
4735 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4738 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4739
4740 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4741
4742 * bookmark.el (bookmark-version-control): Give tags in the
4743 :type choices (Bug#12309), and improve doc string.
4744 (bookmark-write-file): Bind `print-circle' to `t' to allow
4745 circular custom bookmark types. (Bug#12503)
4746
4747 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4748
4749 Revert the FOLLOW-SYMLINKS change for file-attributes.
4750 * files.el (remote-file-name-inhibit-cache, after-find-file):
4751 * time.el (display-time-file-nonempty-p): Undo last change.
4752
4753 * profiler.el (profiler-sampling-interval): Change default back to 1.
4754 See Stefan Monnier in
4755 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4756
4757 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4758
4759 Shell output catching a la gud-gdb.
4760 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4761 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4762 New Vars.
4763 (python-shell-fetch-lines-filter): New function.
4764 (python-shell-send-string-no-output): Use them.
4765
4766 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4767
4768 * profiler.el (profiler-sampling-interval): Rename from
4769 profiler-sample-interval.
4770 (profiler-sampling-interval): Default to 10.
4771 (profiler-find-profile): New command (was profiler-find-log).
4772 (profiler-find-profile-other-window): New command.
4773 (profiler-find-profile-other-frame): New command.
4774 (profiler-profile): Introduce API-level data structure.
4775
4776 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4777
4778 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4779 * files.el (remote-file-name-inhibit-cache):
4780 * time.el (display-time-file-nonempty-p): Use it.
4781 * files.el (after-find-file): Don't chase links before calling
4782 file-exists-p, as file-exists-p already does the right thing.
4783
4784 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4785
4786 Merge from standalone RefTeX repository.
4787
4788 The following ChangeLog entries are shortened versions of the
4789 original ones with file paths adapted. A not so strongly edited
4790 version of the original ChangeLog can be found in the commit log.
4791
4792 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4793 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4794 Correctly handle new value type returned by `reftex-citation'.
4795
4796 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4797 that entries with whitespace at various places are found.
4798 Doc fix. Include entries that are cross-referenced from cited entries.
4799 Include @String definitions in the resulting bib file. Add header
4800 and footer defined in `reftex-create-bibtex-header' and
4801 `reftex-create-bibtex-footer'.
4802 (reftex-do-citation): Make it possible again to insert
4803 non-existent entries. Save match data when asking for optional
4804 arguments. Return all keys, not just the first one.
4805 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4806 all citations in the same line.
4807 (reftex-parse-bibtex-entry): Accept additional optional argument
4808 `raw' and keep quotes or braces if it is non-nil. Match fields
4809 containing hyphens besides word constituents.
4810 (reftex-get-string-refs): New function.
4811 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4812 and ask if it should be reread in case it did.
4813 (reftex-pop-to-bibtex-entry)
4814 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4815 entries with spaces or tabs in front of arguments.
4816 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4817 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4818 Match entries containing numbers and symbol constituents.
4819 (reftex-do-citation, reftex-figure-out-cite-format):
4820 Use `reftex-cite-key-separator'.
4821
4822 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4823 (reftex-mouse-view-crossref): Explain why point is set.
4824
4825 * textmodes/reftex-global.el: Whitespace changes.
4826
4827 * textmodes/reftex-index.el: Move provide statement to end of
4828 file.
4829 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4830 (reftex-index-visit-phrases-buffer): Set marker when visiting
4831 buffer. This allows for returning from the phrases file to the
4832 file one was just editing instead of the file where the last
4833 phrases was added from.
4834 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4835 punctuation syntax as it usually is not used as string quote in
4836 TeX-related modes and may occur unmatched. The change also
4837 prevents fontification of quoted content.
4838 (reftex-index-phrases-mode): Use it.
4839
4840 * textmodes/reftex-parse.el (reftex-parse-from-file):
4841 Move backward one char if a `\' was matched after a section macro.
4842 (reftex-parse-from-file): Use beginning of match instead of end as
4843 bound.
4844
4845 * textmodes/reftex-ref.el: Adapt creation of
4846 `reftex-<package>-<macro>' functions to new structure of
4847 `reftex-ref-style-alist'.
4848 (reftex-reference): Use `reftex-ref-style-list' function.
4849 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4850 reference macro if `reftex-ref-macro-prompt' is non-nil.
4851 (reftex-reference): Pass refstyle to `reftex-format-special'.
4852 Determine reference macro by looking at
4853 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4854 Use only one special format function.
4855 (reftex-varioref-vref, reftex-fancyref-fref)
4856 (reftex-fancyref-Fref): Remove definitions. The functions are now
4857 generated from `reftex-ref-style-alist'.
4858 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4859 Remove.
4860 (reftex-format-special): New function.
4861
4862 * textmodes/reftex-sel.el
4863 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4864 of `reftex-ref-style-alist'. Remove code for testing macro type.
4865 (reftex-select-toggle-varioref)
4866 (reftex-select-toggle-fancyref): Remove.
4867 (reftex-select-cycle-ref-style-internal)
4868 (reftex-select-cycle-ref-style-forward)
4869 (reftex-select-cycle-ref-style-backward): New functions.
4870 (reftex-select-label-map): Use `v' and `V' for general cycling
4871 through reference styles. Add `p' for switching between number
4872 and page reference types.
4873
4874 * textmodes/reftex-toc.el (reftex-re-enlarge):
4875 Call `enlarge-window' only if there is something to do because in Emacs
4876 the horizontal version throws an error even if the parameter is 0.
4877
4878 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4879 (reftex-plug-into-AUCTeX): Doc fix.
4880 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4881 string. Adapt to new name.
4882 (reftex-ref-style-alist): Change structure so that it is not
4883 possible to use multiple different package names within a style.
4884 Remove the symbols for symbols for macro type distinction.
4885 Add characters for macro selection.
4886 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4887 (reftex-create-bibtex-footer): New variables.
4888 (reftex-format-ref-function): Mention third argument of special
4889 format function.
4890 (reftex-ref-style-alist, reftex-ref-style-default-list):
4891 New variables.
4892 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4893 to new implementation. Mark as obsolete. Add compatibility code
4894 for honoring the variable values in case they are set.
4895 (reftex-cite-format-builtin, reftex-bibliography-commands):
4896 Add support for ConTeXt.
4897 (reftex-format-ref-function, reftex-format-cite-function):
4898 Fix custom type.
4899 (reftex-cite-key-separator): New variable.
4900
4901 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4902 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4903 `reftex-syntax-table' because parens have to retain their paren
4904 syntax in order for parsing of BibTeX entries like @book(...) to
4905 work.
4906 (reftex-in-comment): Do not error out if `comment-start-skip' is
4907 not set. Deal correctly with escaped comment characters.
4908 (reftex-tie-multifile-symbols): Add doc string.
4909 Initialize `reftex-ref-style-list'.
4910 (reftex-untie-multifile-symbols): Add doc string.
4911 (reftex-add-index-macros): Doc fix.
4912 (reftex-ref-style-activate, reftex-ref-style-toggle)
4913 (reftex-ref-style-list): New functions.
4914 (reftex-mode-menu): Use them. Adapt to new structure of
4915 `reftex-ref-style-alist'.
4916 (reftex-select-with-char): Kill the RefTeX Select buffer when
4917 done.
4918 (reftex-remove-if): New function.
4919 (reftex-erase-all-selection-and-index-buffers)
4920 (reftex-mode-menu): Reference styles are now computed from
4921 `reftex-ref-style-alist'. Fix typo.
4922 (reftex-report-bug): New function.
4923 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4924 algorithms with O(n log n). Introduce optional argument SORT (not
4925 yet used).
4926
4927 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4928
4929 Enhancements for triple-quote string syntax.
4930 * progmodes/python.el (python-syntax-propertize-function):
4931 Match both quote cases in one regexp.
4932 (python-syntax-stringify): Handle matches properly.
4933
4934 2012-09-30 Juri Linkov <juri@jurta.org>
4935
4936 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4937 to nil around the call to `insert' to prevent
4938 directory time modification by lock_file. (Bug#2295)
4939 * tar-mode.el (tar-summarize-buffer): Idem.
4940
4941 2012-09-30 Juri Linkov <juri@jurta.org>
4942
4943 * facemenu.el (list-colors-sort): Add option "Luminance".
4944 (list-colors-sort-key): Implement it.
4945
4946 * vc/diff-mode.el (diff-refine-removed):
4947 * vc/ediff-init.el (ediff-fine-diff-A):
4948 * vc/smerge-mode.el (smerge-refined-removed):
4949 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4950
4951 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4952
4953 * term/ns-win.el (x-file-dialog): New function.
4954
4955 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4956
4957 * ido.el (ido-max-directory-size): Default to nil; the current
4958 default is small for POSIX systems, and impractical on Windows 7
4959 now that lstat returns directory sizes for NTFS.
4960
4961 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4962
4963 In buffer display functions handle window-height/window-width
4964 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4965 * window.el (window--display-buffer): New argument ALIST.
4966 Obey window-height and window-width alist entries.
4967 (window--try-to-split-window): New argument ALIST.
4968 Bind window-combination-limit to t when the window's size shall be
4969 changed and window-combination-limit equals `window-size'.
4970 (display-buffer-in-atom-window)
4971 (display-buffer-in-major-side-window)
4972 (display-buffer-in-side-window, display-buffer-same-window)
4973 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4974 (display-buffer-pop-up-window, display-buffer-below-selected)
4975 (display-buffer-at-bottom, display-buffer-in-previous-window)
4976 (display-buffer-use-some-window): Adjust all callers of
4977 window--display-buffer and window--try-to-split-window.
4978 (fit-frame-to-buffer): New option.
4979 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4980 is non-nil.
4981 (display-buffer-in-major-side-window): Evaluate window-height /
4982 window-width alist entries.
4983
4984 * help.el (temp-buffer-resize-frames)
4985 (temp-buffer-resize-regexps): Remove options.
4986 (temp-buffer-resize-mode): Adjust doc-string.
4987 (resize-temp-buffer-window): Don't consult
4988 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4989 temp-buffer-resize-frames.
4990
4991 * dired.el (dired-mark-pop-up):
4992 Call display-buffer-below-selected with a fit-window-to-buffer alist
4993 entry.
4994
4995 2012-09-30 Chong Yidong <cyd@gnu.org>
4996
4997 * server.el (server-host): Document the security implications.
4998 (server-auth-key): Doc fix.
4999
5000 * startup.el (initial-buffer-choice): Doc fix.
5001
5002 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5003
5004 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5005 restriction change.
5006
5007 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5008
5009 * help-fns.el (help-fns--obsolete): Fix last change.
5010
5011 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5014 (minor-mode-map-alist): Remove redundant code.
5015
5016 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5017 visited in a buffer.
5018 (cvs-insert-visited-file): New function.
5019 (find-file-hook): Use it.
5020
5021 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5022
5023 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5024 chose face.
5025 (log-edit-empty-buffer-p): Don't require a space after a header.
5026
5027 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5028
5029 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5030
5031 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5032 a proper minor-mode.
5033
5034 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5035
5036 2012-09-29 Glenn Morris <rgm@gnu.org>
5037
5038 * winner.el (winner-mode): Remove variable (let define-minor-mode
5039 handle it).
5040 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5041 Doc fixes.
5042 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5043 (winner-mode): Use define-minor-mode.
5044
5045 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5046 the full definition in loaddefs, rather than duplicating it.
5047
5048 * help-macro.el (three-step-help): No need to autoload defcustom.
5049
5050 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5051 (inferior-lisp-program, inferior-lisp-load-command)
5052 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5053 No need to autoload defcustoms.
5054
5055 * hippie-exp.el (hippie-expand-try-functions-list)
5056 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5057 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5058 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5059 (hippie-expand-only-buffers): No need to autoload defcustoms.
5060 * progmodes/vhdl-mode.el (vhdl-line-expand):
5061 Explicitly load hippie-exp, so it does not get autoloaded
5062 while hippie-expand-try-functions-list is let-bound.
5063
5064 2012-09-28 Glenn Morris <rgm@gnu.org>
5065
5066 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5067
5068 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5069 Only "cl.el" counts as cl these days.
5070
5071 2012-09-28 Juri Linkov <juri@jurta.org>
5072
5073 Display archive errors in the echo area instead of inserting
5074 to the file buffer.
5075
5076 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5077 to STDERR-TEST that can be a regexp matching a successful output.
5078 Create a temporary file and redirect stderr to it. Search for
5079 STDERR-TEST in the stderr output and display it in the echo area
5080 if no match is found.
5081 (archive-extract-by-file): New function like
5082 `archive-extract-by-stdout' but extracting archives to files
5083 and looking for successful matches in stdout. Function body is
5084 mostly copied from `archive-rar-extract'.
5085 (archive-rar-extract): Use `archive-extract-by-file'.
5086 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5087
5088 2012-09-28 Leo Liu <sdl.web@gmail.com>
5089
5090 * pcomplete.el (pcomplete-show-completions):
5091 Use minibuffer-message to make pcomplete usable in minibuffer.
5092
5093 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5094
5095 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * type-break.el: Use lexical-binding.
5098 (type-break-mode): Use define-minor-mode.
5099
5100 * emacs-lisp/pcase.el (pcase--mark-used): New.
5101 (pcase--u1): Use it (bug#12512).
5102
5103 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5104 in load-history with the right file name.
5105
5106 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5107
5108 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5109 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5110 (doc-view-get-bounding-box): Make bounding box slicing work for
5111 ODF and DVI documents.
5112
5113 2012-09-28 Glenn Morris <rgm@gnu.org>
5114
5115 * type-break.el (type-break-mode, type-break-interval)
5116 (type-break-good-rest-interval, type-break-keystroke-threshold):
5117 No need to autoload.
5118 (type-break-good-rest-interval, type-break-keystroke-threshold):
5119 Add :set-after.
5120
5121 2012-09-28 Chong Yidong <cyd@gnu.org>
5122
5123 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5124 Add :version tag.
5125
5126 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5129
5130 2012-09-27 Glenn Morris <rgm@gnu.org>
5131
5132 * faces.el (x-display-name): Declare (for without-x builds).
5133
5134 * linum.el (linum-format): Don't autoload it. Improve :type.
5135
5136 * progmodes/tcl.el: Don't require outline when compiling.
5137 (outline-regexp, outline-level): Declare.
5138 * textmodes/sgml-mode.el: Don't require outline when compiling.
5139 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5140
5141 * term.el (term-ansi-reset):
5142 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5143
5144 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5145 files for RCS and SCCS. (Bug#9781)
5146
5147 2012-09-27 Chong Yidong <cyd@gnu.org>
5148
5149 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5150 change; value should be t.
5151
5152 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * image-mode.el: Use lexical-binding.
5155 (image-mode-winprops): Use t to stand for the window of
5156 a buffer that's not displayed.
5157 * doc-view.el (doc-view-new-window-function): Handle the new
5158 t in winprops.
5159 (doc-view-enlarge): Make it a real nop if the size is not changed.
5160 (doc-view-display): Handle the case where the buffer is not (yet?)
5161 displayed in any window.
5162 (doc-view-saved-settings): New var.
5163 (doc-view-mode): Use it.
5164 (doc-view-fallback-mode): Set it.
5165
5166 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5167 Set lexical-binding.
5168 (minibuffer-eldef-shorten-default): New var.
5169 (minibuffer-default-in-prompt-regexps): Use it for new default.
5170 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5171
5172 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * international/uni-bidi.el:
5175 * international/uni-category.el:
5176 * international/uni-name.el:
5177 * international/uni-numeric.el: Regenerate.
5178
5179 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5180 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * profiler.el: New file.
5183
5184 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5187 (testcover-reinstrument): Simplify with CSE.
5188
5189 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5190
5191 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5192
5193 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5194
5195 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5196 (verilog-auto-input, verilog-auto-insert-lisp)
5197 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5198 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5199 (verilog-auto-unused, verilog-auto-wire)
5200 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5201 newline. Reported by Andrew Jones.
5202 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5203 Reported by Brad Dobbie.
5204 (verilog-batch-delete-trailing-whitespace):
5205 Create verilog-batch-delete-trailing-whitespace.
5206 Reported by Brad Dobbie.
5207 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5208 parameters from another module. Reported by Dan Katz.
5209 (verilog-auto, verilog-auto-assign-modport)
5210 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5211 AUTOINOUTMODPORT for UVM interface module shell generation.
5212 Reported by Brad Dobbie.
5213 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5214 standard behavior.
5215 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5216 Reported by Matt Martin.
5217
5218 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5219
5220 * window.el (window--resize-child-windows): When resizing child
5221 windows proportionally, process them in reverse order to
5222 preserve the "when splitting a window the new one gets the odd
5223 line" behavior.
5224 (window--resize-root-window-vertically): When resizing the
5225 minibuffer window try to affect only windows at the bottom of the
5226 frame. (Bug#12419)
5227
5228 2012-09-25 Chong Yidong <cyd@gnu.org>
5229
5230 * subr.el (declare): Doc fix.
5231
5232 * help-fns.el (help-fns--obsolete): Handle macros properly.
5233
5234 2012-09-25 Chong Yidong <cyd@gnu.org>
5235
5236 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5237 this function obsolete.
5238
5239 * calendar/cal-x.el (calendar-two-frame-setup)
5240 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5241 * calendar/calendar.el (american-calendar, european-calendar)
5242 (calendar-for-loop):
5243 * comint.el (comint-dynamic-simple-complete)
5244 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5245 * desktop.el (desktop-load-default):
5246 * dired-x.el (dired-omit-here-always)
5247 (dired-hack-local-variables, dired-default-directory):
5248 * emacs-lisp/derived.el (derived-mode-class):
5249 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5250 * emacs-lock.el (toggle-emacs-lock):
5251 * epa.el (epa-display-verify-result):
5252 * epg.el (epg-sign-keys, epg-start-sign-keys)
5253 (epg-passphrase-callback-function):
5254 * eshell/esh-util.el (eshell-for):
5255 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5256 (eshell-add-to-window-buffer-names):
5257 * files.el (locate-file-completion):
5258 * imenu.el (imenu-example--create-c-index)
5259 (imenu-example--create-lisp-index)
5260 (imenu-example--lisp-extract-index-name)
5261 (imenu-example--name-and-position):
5262 * international/mule-cmds.el (princ-list):
5263 * international/mule-diag.el (decode-codepage-char):
5264 * international/mule-util.el (detect-coding-with-priority):
5265 * iswitchb.el (iswitchb-read-buffer):
5266 * mail/mailalias.el (mail-complete):
5267 * mail/sendmail.el (mail-sent-via):
5268 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5269 (mouse-major-mode-menu):
5270 * password-cache.el (password-read-and-add):
5271 * pcomplete.el (pcomplete-parse-comint-arguments):
5272 * progmodes/sh-script.el (sh-maybe-here-document):
5273 * replace.el (query-replace-regexp-eval):
5274 * savehist.el (savehist-load):
5275 * simple.el (choose-completion-delete-max-match):
5276 * term.el (term-dynamic-simple-complete):
5277 * vc/ediff-init.el (ediff-check-version):
5278 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5279 * vc/vc.el (vc-diff-switches-list):
5280 * view.el (view-return-to-alist-update): Likewise.
5281
5282 * subr.el (eval-next-after-load, makehash, insert-string)
5283 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5284 mark obsolete.
5285 (mode-line-inverse-video): Variable deleted.
5286
5287 * international/mule-util.el (string-to-sequence): Remove.
5288
5289 * calendar/calendar.el (calendar-version):
5290 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5291 (icalendar-convert-diary-to-ical):
5292 * cus-edit.el (custom-mode):
5293 * ansi-color.el (ansi-color-unfontify-region):
5294 * international/latin1-disp.el (latin1-char-displayable-p):
5295 * progmodes/cwarn.el (turn-on-cwarn-mode):
5296 * progmodes/which-func.el (which-func-update-1):
5297 Use define-obsolete-function-alias.
5298
5299 * net/newst-backend.el (newsticker-cache-filename):
5300 * net/newst-treeview.el (newsticker-groups-filename):
5301 Fix incorrect obsolescence declaration.
5302
5303 * allout.el (allout-passphrase-hint-string): Likewise.
5304 (allout-init): Use a declare form to mark obsolete.
5305
5306 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5307 this applies to functions.
5308
5309 * iswitchb.el (iswitchb-read-buffer): Move code of
5310 iswitchb-define-mode-map here, and delete that obsolete function.
5311
5312 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5313 font-lock-reference-face.
5314
5315 2012-09-25 Glenn Morris <rgm@gnu.org>
5316
5317 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5318 Doc fixes.
5319
5320 * eshell/em-term.el (eshell-term-name):
5321 Default to term-term-name. (Bug#12485)
5322
5323 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5324
5325 * progmodes/python.el (python-shell-send-buffer): Better handling
5326 of "if __name__ == '__main__':" conditionals when sending the buffer.
5327
5328 2012-09-24 Glenn Morris <rgm@gnu.org>
5329
5330 * eshell/esh-cmd.el (eshell-find-alias-function):
5331 Tighten up file-name regexp. (Bug#12499)
5332
5333 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5334
5335 Enhancements for triple-quote string syntax.
5336 * progmodes/python.el (python-quote-syntax): Remove.
5337 (python-syntax-propertize-function): New value.
5338 (python-syntax-count-quotes, python-syntax-stringify):
5339 New functions.
5340
5341 2012-09-24 Chong Yidong <cyd@gnu.org>
5342
5343 * mail/supercite.el (sc-version): Remove obsolete function.
5344 (sc-describe): Don't mark as obsolete, since it is bound.
5345 (sc-submit-bug-report): Remove.
5346
5347 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5348 (cvs-commit-buffer-require-final-newline): Remove.
5349 (log-edit-require-final-newline)
5350 (log-edit-changelog-full-paragraphs): Default to t.
5351
5352 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5353 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5354 * vc/vc.el (vc-checkout-carefully): Likewise.
5355
5356 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5357 (emerge-version): Remove.
5358
5359 * progmodes/compile.el (compile-internal): Remove.
5360 (compilation-parse-errors-function): Fix typo.
5361
5362 * international/mule.el (set-char-table-default): Remove.
5363 (set-coding-priority, make-coding-system, generic-char-p)
5364 (charset-list, charset-bytes, charset-id): Use declare to mark
5365 functions as obsolete.
5366
5367 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5368 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5369 * vc/vc-hooks.el (vc-default-registered): Don't use
5370 vc-master-templates.
5371
5372 * font-lock.el (font-lock-reference-face):
5373 Use define-obsolete-variable-alias.
5374
5375 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5376 * calendar/calendar.el (calendar-font-lock-keywords):
5377 * calendar/diary-lib.el (diary-font-lock-keywords)
5378 (diary-fancy-font-lock-keywords):
5379 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5380 * textmodes/reftex-index.el (reftex-insert-index):
5381 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5382 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5383 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5384 * progmodes/prolog.el (prolog-font-lock-keywords):
5385 * progmodes/idlwave.el (idlwave-idl-keywords):
5386 * progmodes/ada-mode.el (ada-font-lock-keywords):
5387 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5388
5389 2012-09-24 Glenn Morris <rgm@gnu.org>
5390
5391 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5392
5393 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5394
5395 * progmodes/python.el (python-indent-line): More consistent cursor
5396 movement behavior.
5397
5398 2012-09-23 Stefan Merten <smerten@oekonux.de>
5399
5400 * textmodes/rst.el: Fix compiler warning.
5401
5402 2012-09-23 Roland Winkler <winkler@gnu.org>
5403
5404 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5405 Transcribe also LaTeX hyphenation.
5406 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5407 bibtex-reformat-previous-options.
5408
5409 2012-09-23 Roland Winkler <winkler@gnu.org>
5410
5411 * proced.el (proced-renice-command): New variable.
5412 (proced-marked-processes): New function.
5413 (proced-with-processes-buffer): New macro.
5414 (proced-send-signal): Use them.
5415 (proced-renice): New command bound to r.
5416
5417 2012-09-23 Roland Winkler <winkler@gnu.org>
5418
5419 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5420 ibuffer-saved-filter-groups has one element, shortcut the call of
5421 completing-read. (Bug#12331)
5422
5423 2012-09-23 Chong Yidong <cyd@gnu.org>
5424
5425 * bindings.el (mode-line-toggle-read-only):
5426 * bs.el (bs-toggle-readonly):
5427 * buff-menu.el (Buffer-menu-toggle-read-only):
5428 * dired.el (dired-toggle-read-only):
5429 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5430
5431 2012-09-23 Chong Yidong <cyd@gnu.org>
5432
5433 * image.el (image-type-available-p): Adapt to init-image-library
5434 argument changes.
5435
5436 2012-09-22 Juri Linkov <juri@jurta.org>
5437
5438 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5439 `dired-toggle-read-only'. (Bug#12462)
5440
5441 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5442
5443 * subr.el (temp-output-buffer-show): New function.
5444 (with-output-to-temp-buffer): Call temp-output-buffer-show
5445 instead of internal-temp-output-buffer-show.
5446
5447 2012-09-22 Chong Yidong <cyd@gnu.org>
5448
5449 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5450 (Bug#12462).
5451
5452 * repeat.el (repeat): Doc fix (Bug#12348).
5453
5454 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5455 (Bug#10909).
5456
5457 * simple.el (shell-command-on-region): Doc fix.
5458 (read-only-mode): Doc fix.
5459
5460 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5461
5462 * emacs-lisp/timer.el (run-with-idle-timer)
5463 (timer-activate-when-idle): Warn against reinvoking an idle timer
5464 from within its own timer action. (Bug#12447)
5465
5466 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5467
5468 * cus-start.el (window-combination-limit): Add new optional
5469 values.
5470 * window.el (temp-buffer-window-show)
5471 (window--try-to-split-window): Handle new values of
5472 window-combination-limit (Bug#1806).
5473 (split-window): Test window-combination-limit for t instead of
5474 non-nil.
5475 (display-buffer-at-bottom): New buffer display action function.
5476 * help.el (temp-buffer-resize-regexps): New option.
5477 (temp-buffer-resize-mode): Rewrite doc-string.
5478 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5479 Don't resize reused window. Suggested by Glenn Morris.
5480
5481 2012-09-22 Stefan Merten <smerten@oekonux.de>
5482
5483 * textmodes/rst.el: Revamp section title faces.
5484 (rst-official-version)
5485 (rst-package-emacs-version-alist): Sync with official version
5486 V1.4.0.
5487 (rst-faces-defaults, rst-set-level-default)
5488 (rst-level-face-max, rst-level-face-base-color)
5489 (rst-level-face-base-light, rst-level-face-format-light)
5490 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5491 (rst-adornment-faces-alist): Match new setup.
5492 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5493 (rst-level-5, rst-level-6): New faces.
5494
5495 2012-09-22 Chong Yidong <cyd@gnu.org>
5496
5497 * simple.el (undo): Handle indirect buffers (Bug#8207).
5498
5499 2012-09-21 Leo Liu <sdl.web@gmail.com>
5500
5501 IDO: Disable match re-ordering for buffer switching.
5502 * ido.el (ido-buffer-disable-smart-matches): New variable.
5503 (ido-set-matches-1): Use it. (Bug#2042)
5504
5505 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5506
5507 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5508 Fix 2011-05-17 change. (Bug#12418)
5509
5510 2012-09-21 Leo Liu <sdl.web@gmail.com>
5511
5512 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5513
5514 2012-09-21 Glenn Morris <rgm@gnu.org>
5515
5516 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5517 Be more robust about locating simple.el.
5518
5519 2012-09-21 Glenn Morris <rgm@gnu.org>
5520
5521 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5522
5523 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5524
5525 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5526
5527 2012-09-20 Juri Linkov <juri@jurta.org>
5528
5529 * replace.el (query-replace-read-from): Use `read-regexp' instead
5530 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5531 (occur-read-primary-args): Use `read-regexp' instead of
5532 `read-string'.
5533 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5534 `read-from-minibuffer'.
5535 * isearch.el (isearch-occur): Use `read-regexp' instead of
5536 `read-string'.
5537 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5538 `read-from-minibuffer'.
5539 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5540 of `read-string'. (Bug#7567)
5541
5542 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5543 and allow accepting a list of strings prepended to a list of
5544 standard default values. Doc fix. (Bug#12321)
5545
5546 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5547
5548 * replace.el (read-regexp): Don't add ": " when PROMPT already
5549 ends with a colon and space. (Bug#12321)
5550
5551 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5552
5553 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5554 error.
5555
5556 2012-09-20 Stefan Merten <smerten@oekonux.de>
5557
5558 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5559 Fixes feature request bug#11711.
5560 (rst-mode): Create `imenu-create-index-function'.
5561 (rst-get-stripped-line): Delete after refactoring.
5562 (rst-section-tree, rst-section-tree-rec)
5563 (rst-section-tree-point): Refactor and document properly.
5564 (rst-imenu-find-adornments-for-position)
5565 (rst-imenu-convert-cell, rst-imenu-create-index):
5566 New function.
5567
5568 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5571 (macroexp--expand-all): Use it.
5572 (macroexp--funcall-and-return): Remove by folding it into its sole
5573 caller (macroexp--warn-and-return).
5574 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5575 Use macroexp--obsolete-warning.
5576
5577 * calc/calc.el: Fix last change by removing the whole chunk, since it
5578 was only needed back when Calc was not bundled.
5579
5580 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5581
5582 * emacs-lisp/debug.el (debug): Restore assignment to
5583 debugger-old-buffer removed on 2012-09-08.
5584
5585 2012-09-20 Juri Linkov <juri@jurta.org>
5586
5587 * dired-aux.el (dired-diff): Remove (require 'diff) since
5588 `diff-latest-backup-file' is now autoloaded.
5589
5590 2012-09-20 Chong Yidong <cyd@gnu.org>
5591
5592 * vc/diff.el (diff-latest-backup-file): Autoload.
5593
5594 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * calc/calc.el: Remove redundant autoload shape check.
5597 (sel-mode): Don't defvar.
5598 (calc-get-stack-element): Add `sel-mode' arg instead.
5599 (calc-top, calc-top-list): Pass it this additional argument.
5600 * calc/calc-store.el (calc-store-map):
5601 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5602 (calc-map-equation, calc-outer-product, calc-inner-product):
5603 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5604
5605 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5606
5607 2012-09-19 Juri Linkov <juri@jurta.org>
5608
5609 * dired-aux.el (dired-diff): Add (require 'diff) because
5610 `diff-latest-backup-file' is not autoloaded.
5611 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5612 of `dired-get-filename' to t to not report error when there is
5613 no default file on the current line.
5614
5615 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5618 macroexp--eval-if-compile.
5619 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5620 (macroexp--expand-all): Use them (bug#12371).
5621
5622 * doc-view.el (doc-view-guess-paper-size)
5623 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5624
5625 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5626
5627 New feature: set optimal slice from BoundingBox information.
5628 * doc-view.el (doc-view-mode-map): Add keybinding.
5629 (doc-view-menu): Add menu entry.
5630 (doc-view-set-slice): Adapt docstring.
5631 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5632 (doc-view-scale-bounding-box)
5633 (doc-view-set-slice-from-bounding-box): New functions.
5634 (doc-view-paper-sizes): New defvar.
5635
5636 2012-09-19 Glenn Morris <rgm@gnu.org>
5637
5638 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5639 (byte-compile-log-warning): Autoload. (Bug#12371)
5640
5641 * calendar/calendar.el (calendar-american-month-header)
5642 (calendar-european-month-header, calendar-iso-month-header)
5643 (calendar-month-header): New options.
5644 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5645 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5646
5647 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5648
5649 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5650
5651 2012-09-18 Juri Linkov <juri@jurta.org>
5652
5653 * dired-aux.el (dired-diff): Restore original functionality of
5654 getting the default value, but keep new feature of using the
5655 latest existing backup file (`diff-latest-backup-file').
5656
5657 2012-09-18 Juri Linkov <juri@jurta.org>
5658
5659 * dired.el (dired-mark): If the region is active in Transient Mark
5660 mode, mark all files in the active region. Doc fix.
5661 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5662 Doc fix. (Bug#10624)
5663
5664 2012-09-18 Juri Linkov <juri@jurta.org>
5665
5666 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5667 attributes for M-n are pulled from the file at point.
5668 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5669 Suggested by Drew Adams. (Bug#10624)
5670
5671 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5672
5673 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5674 whitespace after "end".
5675 (ruby-do-end-to-brace): Collapse block to one line if it fits
5676 within fill-column.
5677
5678 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5679
5680 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5681 value.
5682 (debug): Don't remove debugger window when debugger is expected
5683 to be back.
5684
5685 2012-09-18 Chong Yidong <cyd@gnu.org>
5686
5687 * custom.el (defface): Doc fix.
5688
5689 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5690
5691 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5692
5693 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5694 to initialize query-on-exit; then test that instead (bug#12288).
5695
5696 2012-09-17 Stefan Merten <smerten@oekonux.de>
5697
5698 * textmodes/rst.el: Add support for `testcover'.
5699 (rst-defcustom-testcover, rst-testcover-add-compose)
5700 (rst-testcover-add-1value): New functions.
5701 (rst-portable-mark-active-p): Replace by `use-region-p'.
5702 (rst-update-section, rst-classify-adornment)
5703 (rst-find-title-line): Mark `1value' forms.
5704 (rst-classify-adornment): Remove superfluous form.
5705 (rst-update-section, rst-get-adornments-around)
5706 (rst-adornment-complete-p, rst-get-next-adornment)
5707 (rst-adjust, rst-promote-region)
5708 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5709 (rst-find-pfx-in-region, rst-section-tree-rec)
5710 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5711 (rst-toc-node, rst-toc, rst-forward-section)
5712 (rst-iterate-leftmost-paragraphs)
5713 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5714 (rst-bullet-list-region)
5715 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5716 (rst-compile-find-conf, rst-compile)
5717 (rst-repeat-last-character): Fix style.
5718
5719 2012-09-17 Chong Yidong <cyd@gnu.org>
5720
5721 * comint.el (comint--complete-file-name-data): Don't add a space
5722 if the status is `sole'; that adds a gratuitous space in the
5723 completion-cycling case (Bug#12092).
5724
5725 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5726
5727 2012-09-17 Richard Stallman <rms@gnu.org>
5728
5729 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5730 only in the mime-shown mode, not in raw mode.
5731 (rmail-mime): Toggle off mime by displaying the message without
5732 mime processing. (Bug#12305)
5733
5734 * mail/rmail.el (rmail-retry-failure):
5735 Turn off mime processing first. (Bug#12037)
5736
5737 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5738
5739 2012-09-17 Chong Yidong <cyd@gnu.org>
5740
5741 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5742 (shell-dynamic-complete-functions): Convert to defcustom.
5743 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5744
5745 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5746 * comint.el (comint-prompt-read-only):
5747 * custom.el (defcustom):
5748 * hi-lock.el (hi-lock-mode):
5749 * ibuffer.el (ibuffer-formats):
5750 * ielm.el (ielm-prompt-read-only):
5751 * novice.el (disable-command):
5752 * saveplace.el (toggle-save-place):
5753 * speedbar.el (speedbar-supported-extension-expressions):
5754 * startup.el (auto-save-list-file-prefix, init-file-user)
5755 (after-init-hook, inhibit-startup-echo-area-message):
5756 * strokes.el (strokes-help):
5757 * time-stamp.el (time-stamp):
5758 * calendar/calendar.el (calendar, diary-file):
5759 * calendar/diary-lib.el (diary-mail-entries, diary)
5760 (diary-list-entries-hook):
5761 * calendar/holidays.el (holidays, calendar-holidays):
5762 * calendar/lunar.el (lunar-phases):
5763 * calendar/solar.el (sunrise-sunset):
5764 * emulation/edt.el (edt-load-keys):
5765 * emulation/viper.el (viper-mode):
5766 * eshell/em-alias.el (eshell-command-aliases-list):
5767 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5768 * international/ogonek.el (ogonek-information):
5769 * net/tramp-cmds.el (tramp-bug):
5770 * net/quickurl.el (quickurl-reread-hook-postfix):
5771 * play/decipher.el (decipher-font-lock-keywords):
5772 * progmodes/cc-styles.el (c-set-style):
5773 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5774 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5775 * progmodes/octave-mod.el (octave-mode):
5776 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5777 * progmodes/verilog-mode.el (verilog-read-defines):
5778 * textmodes/two-column.el (2C-mode): Likewise.
5779
5780 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5781
5782 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5783 that holds many addresses.
5784
5785 2012-09-16 Chong Yidong <cyd@gnu.org>
5786
5787 * align.el (align-areas): Call the indication function with
5788 positions instead of markers for arguments (Bug#12343).
5789
5790 * files.el (parse-colon-path): Use split-string (Bug#12351).
5791
5792 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5793 (display-buffer-function): Mark as obsolete.
5794
5795 * progmodes/compile.el (compilation-parse-errors): Accept list
5796 values similar to font-lock-keywords (Bug#12136).
5797 Suggested by Oleksandr Manzyuk.
5798 (compilation-error-regexp-alist): Doc fix.
5799
5800 2012-09-15 Glenn Morris <rgm@gnu.org>
5801
5802 * version.el (emacs-bzr-version-bzr): New function.
5803 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5804
5805 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5806 checkouts, check the parent dirstate matches the branch.
5807 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5808 empty string.
5809
5810 * version.el (emacs-bzr-version): Doc fix.
5811 (emacs-bzr-version-dirstate): New function.
5812 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5813 is local try and check that it matches the branch. If not, just
5814 use dirstate information. (Bug#12441)
5815
5816 2012-09-14 Juri Linkov <juri@jurta.org>
5817
5818 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5819 (Bug#12399)
5820
5821 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5824
5825 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5826 Remove obsolete byte-compiler hack that tried to silence some warnings.
5827 (edebug-submit-bug-report): Remove.
5828 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5829 Remove aliases, use the un-prefixed name instead.
5830 (edebug-pop-to-buffer): Consider other frames.
5831 (edebug-original-read):: Make it more obvious that it's always defined.
5832 (edebug--make-form-data-entry, edebug--form-data-name)
5833 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5834 single-dashed name, and implement with cl-defstruct.
5835 (edebug-set-form-data-entry): Use the standard accessors.
5836 (edebug-make-top-form-data-entry): Use push.
5837 (edebug-no-match): Drop useless `funcall'.
5838 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5839 to functions.
5840 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5841 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5842 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5843 (easy-menu-define, with-custom-print): Remove redundant specs.
5844 (edebug-outside-overriding-local-map)
5845 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5846 (edebug--display): Bind unread-command-events directly to nil rather
5847 than binding it to unread-command-events and later setting it to nil.
5848 (edebug--display): Kill edebug-eval-buffer here...
5849 (edebug--recursive-edit): ...rather than here.
5850 Bind standard-output and standard-input.
5851 (edebug-eval): Check cl-macroexpand-all is fboundp.
5852 (edebug-temp-display-freq-count): Fix last change.
5853
5854 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5855 * subr.el (noreturn, 1value): Add `debug' spec.
5856 * emacs-lisp/advice.el: Require cl-lib.
5857 (ad-copy-tree): Remove, use copy-tree instead.
5858 (ad-dolist): Remove use dolist or cl-dolist instead.
5859 (ad-do-return): Remove, use cl-return instead.
5860 (defadvice): Add `debug' spec.
5861
5862 2012-09-13 Juri Linkov <juri@jurta.org>
5863
5864 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5865 (Bug#12399)
5866
5867 2012-09-13 Glenn Morris <rgm@gnu.org>
5868
5869 * calc/calc.el (math-compose-expr):
5870 * calc/calc-ext.el (math-compose-expr):
5871 * progmodes/cc-defs.el (cl-macroexpand-all):
5872 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5873 (cl-macroexpand-all): Update declarations.
5874
5875 * vc/vc.el: No need to require ediff.
5876 (ediff-load-version-control): Declare.
5877 (ediff-vc-internal): Fix declaration.
5878 (vc-version-ediff): Require ediff.
5879
5880 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5881
5882 Use a more backwards-compatible timer format (Bug#12430).
5883 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5884 being right after USECS, as that better supports old code that
5885 inadvisedly looked directly at the timer vector.
5886
5887 2012-09-13 Kenichi Handa <handa@gnu.org>
5888
5889 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5890 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5891 `coding-priority' property of these language environment.
5892
5893 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5894
5895 Fix glitches caused by addition of psec to timers (Bug#12430).
5896 * image.el (image-animate-timer):
5897 * time.el (display-time-world-timer):
5898 Use timer--function and timer--args rather than raw access to
5899 timer vector.
5900
5901 2012-09-13 Glenn Morris <rgm@gnu.org>
5902
5903 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5904 If not compiling a file, try using load-file-name.
5905
5906 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5909 Fix last change.
5910 (edebug-update-eval-list): Use `push'.
5911
5912 * emacs-lisp/edebug.el: Use lexical-binding.
5913 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5914 Mark unused args with underscore.
5915 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5916 (edebug-form-data): Use defvar-local.
5917 (edebug-make-before-and-after-form, edebug-make-after-form):
5918 Use backquote.
5919 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5920 Not dynamically scoped any more.
5921 (edebug--enter-trace): Add arguments `function' and `args'.
5922 Rename from edebug-enter-trace.
5923 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5924 (edebug--update-coverage): Add `after-index' and `value' args.
5925 Rename from edebug-update-coverage.
5926 (edebug-slow-after): Call it accordingly.
5927 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5928 edebug-recursive-edit.
5929 (edebug--display): Call it accordingly. Add args `value',
5930 `offset-index', and `arg-mode'. Rename from edebug-display.
5931 (edebug-debugger, edebug): Call it accordingly.
5932 (edebug-eval-display-list): Use dolist.
5933
5934 2012-09-12 Juri Linkov <juri@jurta.org>
5935
5936 * info.el (Info-search): Don't check for isearch-mode and
5937 isearch-regexp before let-binding search-spaces-regexp to
5938 Info-search-whitespace-regexp.
5939 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5940 search-whitespace-regexp if isearch-lax-whitespace or
5941 isearch-regexp-lax-whitespace is non-nil.
5942 (Info-mode): Don't set local variable search-whitespace-regexp.
5943 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5944
5945 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5948 (debugger-env-macro): Remove support for unread-command-char.
5949
5950 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5951 the temporary map re-appearing on emulation-mode-map-alists.
5952
5953 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5954 since 22.1.
5955
5956 * ehelp.el (with-electric-help): Accept functions in
5957 electric-help-form-to-execute.
5958 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5959 And replace unread-command-char -> unread-command-events.
5960
5961 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5962
5963 Sync with Tramp 2.2.6.
5964
5965 * net/tramp.el (tramp-accept-process-output): Don't use
5966 JUST-THIS-ONE in the XEmacs case.
5967
5968 * net/trampver.el: Update release number.
5969
5970 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5971
5972 * emacs-lisp/debug.el (debugger-previous-window-height):
5973 New variable.
5974 (debug): When debugger-jumping-flag is non-nil try to restore
5975 height of debugger window. (Bug#8789)
5976
5977 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5980 overriding-local-map and pre/post-command-hook here.
5981 (edebug-recursive-edit): Do it here instead (bug#12345).
5982 (edebug-outside-unread-command-char): Remove all uses of
5983 unread-command-char.
5984
5985 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5986 inhibit-debugger is bound instead.
5987
5988 2012-09-11 Bastien Guerry <bzg@gnu.org>
5989
5990 * subr.el (set-temporary-overlay-map): Add a docstring.
5991 (Bug#12346)
5992
5993 2012-09-11 Bastien Guerry <bzg@gnu.org>
5994
5995 * minibuffer.el (completion-table-subvert): Fix docstring.
5996 (Bug#12347)
5997
5998 2012-09-11 Bastien Guerry <bzg@gnu.org>
5999
6000 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6001
6002 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6003
6004 * progmodes/sql.el: Version 3.1
6005 (sql-db2-escape-newlines): New variable.
6006 (sql-escape-newlines-filter): Use it.
6007
6008 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6009
6010 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6011
6012 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6013
6014 * vc/diff-mode.el (diff-mode-menu):
6015 Bind diff-remove-trailing-whitespace.
6016
6017 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6020 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6021 (emacs-lisp-byte-code-mode): New functions.
6022 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6023 (eval-defun-2): Remove bogus interactive spec.
6024 (lisp-indent-line): Remove redundant whole-exp code, now done in
6025 indent-according-to-mode.
6026 (save-match-data): Remove redundant indent data.
6027
6028 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6029 Use `declare'.
6030
6031 2012-09-09 Juri Linkov <juri@jurta.org>
6032
6033 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6034 (replace-lax-whitespace, query-replace-regexp)
6035 (query-replace-regexp-eval, replace-regexp): Doc fix.
6036 (perform-replace, replace-highlight): Let-bind
6037 isearch-lax-whitespace to replace-lax-whitespace and
6038 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6039
6040 * isearch.el (isearch-query-replace): Let-bind
6041 replace-lax-whitespace to isearch-lax-whitespace and
6042 replace-regexp-lax-whitespace to
6043 isearch-regexp-lax-whitespace. (Bug#10885)
6044
6045 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6048
6049 2012-09-09 Alan Mackenzie <acm@muc.de>
6050
6051 * progmodes/cc-engine.el (c-state-cache-init):
6052 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6053 (c-record-parse-state-state):
6054 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6055
6056 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6057
6058 * register.el (register-separator): Rename from
6059 separator-register. All uses changed. Doc fix.
6060 (register): Fix version.
6061
6062 2012-09-09 Chong Yidong <cyd@gnu.org>
6063
6064 * replace.el (query-replace-map): Bind four new symbols for
6065 requesting window scrolling.
6066
6067 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6068 query-replace-map (Bug#8948).
6069
6070 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6071
6072 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6073 since they are now in query-replace-map.
6074
6075 * window.el (scroll-other-window-down): Make the arg optional.
6076
6077 2012-09-09 Chong Yidong <cyd@gnu.org>
6078
6079 * files.el (hack-local-variables-confirm): Use quit-window to kill
6080 the *Local Variables* buffer.
6081
6082 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6083
6084 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6085 not just expect to be at its beginning. Adjust callees.
6086 Succeed when do-end block has no space before the pipe character.
6087 (ruby-brace-to-do-end): When the original block is one-liner,
6088 convert to multiline. Reindent the result.
6089
6090 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6091
6092 * register.el (register): New group.
6093 (separator-register): New user option.
6094 (increment-register): Route it to `append-to-register', if
6095 register contains text. Implication is that `C-x r +' can now be
6096 used for appending to a text register (bug#12217).
6097 (append-to-register, prepend-to-register): Add separator based on
6098 `separator-register'.
6099
6100 2012-09-08 Alan Mackenzie <acm@muc.de>
6101
6102 AWK Mode: make auto-newline work when there's "==" in the pattern.
6103 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6104 correctly.
6105 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6106 Test more rigorously for "=" token.
6107
6108 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6109
6110 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6111 Only fail when reached LIMIT.
6112
6113 2012-09-08 Chong Yidong <cyd@gnu.org>
6114
6115 * dired.el (dired-mode-map): Don't bind M-=.
6116
6117 * dired-aux.el (dired-diff): Use backup file as default.
6118
6119 2012-09-08 Drew Adams <drew.adams@oracle.com>
6120
6121 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6122
6123 2012-09-08 Chong Yidong <cyd@gnu.org>
6124
6125 * subr.el (syntax-after, syntax-class): Doc fix.
6126
6127 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6128
6129 * window.el (display-buffer-in-previous-window): New buffer
6130 display action function.
6131
6132 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6133 (debugger-previous-window): New variable.
6134 (debug): Rewrite using display-buffer-in-previous-window,
6135 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6136
6137 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6140
6141 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6142
6143 * progmodes/python.el (python-shell-send-string):
6144 When default-directory is remote, create temp file on remote
6145 filesystem.
6146 (python-shell-send-file): When file is remote, pass local view of
6147 file paths to remote Python interpreter. (Bug#12340)
6148
6149 2012-09-07 Chong Yidong <cyd@gnu.org>
6150
6151 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6152
6153 * files.el (after-find-file): Don't fail on a read-only buffer if
6154 require-final-newline is `visit' or `visit-save' (Bug#11156).
6155
6156 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6157
6158 * userlock.el (ask-user-about-supersession-threat):
6159 Use read-char-choice (Bug#12093).
6160
6161 2012-09-07 Chong Yidong <cyd@gnu.org>
6162
6163 * subr.el (buffer-narrowed-p): New function.
6164
6165 * ses.el (ses-widen):
6166 * simple.el (count-words--buffer-message):
6167 * net/browse-url.el (browse-url-of-buffer): Use it.
6168
6169 * simple.el (count-words-region): Don't signal an error if there
6170 is a non-nil prefix arg and the mark is not set.
6171
6172 * help.el (describe-key-briefly): Allow the message to be seen
6173 when invoked from the minibuffer (Bug#7014).
6174
6175 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6176
6177 * progmodes/ruby-mode.el (ruby-end-of-defun)
6178 (ruby-beginning-of-defun): Simplify, allow indentation before
6179 block beginning and end keywords.
6180 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6181 (ruby-end-of-defun): Expect that the point is at the beginning of
6182 the defun.
6183
6184 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6187 (bug#12367).
6188 (cl--make-usage-args): Strip _ from argument names.
6189
6190 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6191
6192 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6193 obsolete alias speedbar-key-map.
6194 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6195 (vhdl-index-menu-init): Don't use obsolete variable
6196 font-lock-maximum-size.
6197
6198 2012-09-06 Chong Yidong <cyd@gnu.org>
6199
6200 * frame.el (window-system-version): Mark as obsolete.
6201
6202 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6203 of obsolete variable speedbar-key-map.
6204
6205 2012-09-06 Juri Linkov <juri@jurta.org>
6206
6207 * replace.el (replace-lax-whitespace): New defcustom.
6208 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6209 (replace-string, replace-regexp): Mention it in docstrings.
6210 (perform-replace, replace-highlight): Let-bind
6211 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6212 to the values of replace-lax-whitespace and regexp-flag.
6213 Don't let-bind search-whitespace-regexp. (Bug#10885)
6214
6215 * isearch.el (isearch-query-replace): Let-bind
6216 replace-lax-whitespace instead of let-binding
6217 replace-search-function and replace-re-search-function.
6218 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6219 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6220 (isearch-toggle-symbol): Set isearch-regexp to nil
6221 in isearch-word mode (like in isearch-toggle-word).
6222
6223 2012-09-06 Juri Linkov <juri@jurta.org>
6224
6225 * replace.el (replace-search-function)
6226 (replace-re-search-function): Set default values to nil.
6227 (perform-replace): Let-bind isearch-related variables based on
6228 replace-related values, call `isearch-search-fun' and let-bind
6229 the result to `search-function'. Remove code that sets
6230 `search-function' and `search-string' separately for
6231 `delimited-flag'.
6232 (replace-highlight): Add new argument `delimited-flag' and
6233 rename other arguments to the names used in `perform-replace'.
6234 Let-bind `isearch-word' to the argument `delimited-flag'.
6235 (Bug#10885, bug#10887)
6236
6237 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6238
6239 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6240 ruby-beginning-of-indent, simplify, allow all keywords to have
6241 indentation before them.
6242 (ruby-beginning-of-indent): Adjust for above. Search until the
6243 found point is not inside a string or comment.
6244 (ruby-font-lock-keywords): Allow symbols to start with "@"
6245 character, give them higher priority than variables.
6246 (ruby-syntax-propertize-function)
6247 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6248 matchers. Expression expansions are not comments when inside a
6249 string, and there comment syntax status is irrelevant.
6250 (ruby-match-expression-expansion): New function. Check that
6251 expression expansion is inside a string, and it's not escaped.
6252 (ruby-font-lock-keywords): Use it.
6253
6254 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6255
6256 * help.el (temp-buffer-max-height): New default value.
6257 (temp-buffer-resize-frames): New option.
6258 (resize-temp-buffer-window): Optionally resize frame.
6259
6260 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6261 (fit-frame-to-buffer): New function.
6262
6263 2012-09-05 Glenn Morris <rgm@gnu.org>
6264
6265 * emulation/cua-rect.el (cua--init-rectangles):
6266 * textmodes/picture.el (picture-mode-map):
6267 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6268 like forward-char and backward-char. (Bug#12317)
6269
6270 2012-09-05 Leo Liu <sdl.web@gmail.com>
6271
6272 * progmodes/flymake.el (flymake-warning-re): New variable.
6273 (flymake-parse-line): Use it.
6274
6275 2012-09-05 Glenn Morris <rgm@gnu.org>
6276
6277 * calendar/holidays.el (holiday-christian-holidays):
6278 Rename an entry. (Bug#12289)
6279
6280 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6283 (bug#12222).
6284
6285 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * loadup.el: Load macroexp. Remove hack.
6288 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6289 (macroexp--expand-all): Use it to get better warnings.
6290 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6291 (internal-macroexpand-for-load): New functions.
6292 (macroexp--pending-eager-loads): New var.
6293 (emacs-startup-hook): New hack to replace one in loadup.el.
6294 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6295 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6296 (cl-psetf): Simplify.
6297 (cl-defstruct): Add indent rule.
6298
6299 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6300
6301 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6302 over `user-mail-address' for the SMTP MAIL FROM envelope.
6303 (smtpmail-via-smtp): Ditto.
6304
6305 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6306
6307 * progmodes/ruby-mode.el: Clean up keybindings.
6308 (ruby-mode-map): Don't bind ruby-electric-brace,
6309 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6310 backward-kill-word, reindent-then-newline-and-indent.
6311 (ruby-mark-defun): Remove.
6312 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6313 (ruby-mode): Set local beginning-of-defun-function and
6314 end-of-defun-function values.
6315
6316 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6317
6318 * window.el (temp-buffer-window-setup-hook)
6319 (temp-buffer-window-show-hook): New hooks.
6320 (temp-buffer-window-setup, temp-buffer-window-show)
6321 (with-temp-buffer-window): New functions.
6322 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6323 (special-display-popup-frame): Make sure the window used shows BUFFER.
6324
6325 * help.el (temp-buffer-resize-mode): Fix doc-string.
6326 (resize-temp-buffer-window): New optional argument WINDOW.
6327
6328 * files.el (recover-file, save-buffers-kill-emacs):
6329 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6330
6331 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6332
6333 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6334 remote definition of `default-directory', ensure we can connect.
6335
6336 2012-09-02 Juri Linkov <juri@jurta.org>
6337
6338 Toggle whitespace matching mode with M-s SPC.
6339 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6340
6341 * isearch.el (search-whitespace-regexp): Doc fix.
6342 Remove cons cell customization.
6343 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6344 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6345 New variables.
6346 (isearch-forward, isearch-forward-regexp): Doc fix.
6347 (isearch-toggle-lax-whitespace): New command.
6348 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6349 (re-search-forward-lax-whitespace)
6350 (re-search-backward-lax-whitespace): New functions.
6351 (isearch-whitespace-regexp): Remove function.
6352 (isearch-query-replace): Let-bind replace-search-function and
6353 replace-re-search-function.
6354 (isearch-occur): Let-bind search-spaces-regexp according to the
6355 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6356 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6357 condition for C-q SPC.
6358 (isearch-search-fun-default): Use new functions mentioned above.
6359 (isearch-search-forward, isearch-search-backward): Remove functions.
6360 (isearch-search): Don't let-bind search-spaces-regexp.
6361 (isearch-lazy-highlight-space-regexp): Remove variable.
6362 (isearch-lazy-highlight-lax-whitespace)
6363 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6364 (isearch-lazy-highlight-new-loop): Use them.
6365 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6366
6367 2012-09-02 Chong Yidong <cyd@gnu.org>
6368
6369 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6370
6371 2012-09-02 Glenn Morris <rgm@gnu.org>
6372
6373 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6374
6375 2012-09-01 Glenn Morris <rgm@gnu.org>
6376
6377 * term.el: Tidy up menu definitions.
6378 (term-mode-map): Use easymenu for In/Out, Complete menus.
6379 (term-pager-break-map): Initialize in the defvar.
6380 (term-terminal-menu, term-signals-menu): Define with easymenu.
6381 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6382 (term-pager-menu): New, extracted from term-process-pager.
6383 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6384 (term-update-mode-line): Propertize line/char and page items.
6385 (term-process-pager): Move keymap initialization elsewhere.
6386
6387 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6388
6389 * window.el (switch-to-prev-buffer): Handle additional values of
6390 BURY-OR-KILL argument. Don't switch in minibuffer window.
6391 (switch-to-next-buffer): Don't switch in minibuffer window.
6392 (quit-restore-window): New function based on quit-window.
6393 Handle additional values of former KILL argument.
6394 (quit-window): Call quit-restore-window with appropriate
6395 interpretation of KILL argument.
6396 (display-buffer-below-selected): New buffer display action
6397 function.
6398
6399 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * minibuffer.el (completion-at-point-functions): Complete docstring
6402 (bug#12254).
6403
6404 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6405
6406 Better seed support for (random).
6407 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6408 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6409 * play/mpuz.el, play/tetris.el, play/zone.el:
6410 * calc/calc-comb.el (math-init-random-base):
6411 * play/blackbox.el (bb-init-board):
6412 * play/life.el (life):
6413 * server.el (server-use-tcp):
6414 * type-break.el (type-break):
6415 Remove unnecessary call to (random t).
6416 * net/sasl.el (sasl-unique-id-function):
6417 Change (random t) to (random), now that the latter is more random.
6418 * play/life.el (life-initialized): Remove no-longer-needed var.
6419
6420 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6421
6422 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6423 Consider frame's buffer predicate when choosing the buffer.
6424 (Bug#12081)
6425
6426 2012-08-30 Richard Stallman <rms@gnu.org>
6427
6428 * simple.el (special-mode-map): Delete binding for `z'.
6429
6430 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6431
6432 * progmodes/compile.el (compilation-always-kill): Doc fix.
6433
6434 2012-08-30 Chong Yidong <cyd@gnu.org>
6435
6436 * window.el (display-buffer-reuse-frames): Make the obsolescence
6437 message more informative.
6438
6439 2012-08-30 Glenn Morris <rgm@gnu.org>
6440
6441 * paren.el (show-paren-delay):
6442 Add a :set function. Doc fix. (Bug#12297)
6443
6444 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6445
6446 * progmodes/compile.el (compilation-always-kill): New var.
6447 (compilation-start): Use it.
6448
6449 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6452 * files.el (read-only-mode): Move to simple.el.
6453
6454 * files.el (read-only-mode): New minor mode.
6455 (toggle-read-only): Use it and mark obsolete.
6456 (find-file--read-only):
6457 * vc/vc.el (vc-next-action, vc-checkout):
6458 * vc/vc-cvs.el (vc-cvs-checkout):
6459 * obsolete/vc-mcvs.el (vc-mcvs-update):
6460 * ffap.el (ffap--toggle-read-only): Update callers.
6461
6462 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6463
6464 * eshell/esh-ext.el (eshell-external-command): Do not examine
6465 remote shell scripts.
6466 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6467
6468 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6469 "/usr/local/sbin".
6470
6471 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6474
6475 2012-08-28 Leo Liu <sdl.web@gmail.com>
6476
6477 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6478 completion-at-point. (Bug#12220)
6479
6480 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6481
6482 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6483
6484 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6487 be buffer-local; add delete-trailing-whitespace (bug#12259).
6488
6489 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6490
6491 * progmodes/hideif.el (hif-compress-define-list):
6492 Fix typo. (Bug#11951)
6493
6494 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6495
6496 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6497 buffer local setting.
6498
6499 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6500 rcirc-encode-coding-system.
6501
6502 2012-08-28 Leo Liu <sdl.web@gmail.com>
6503
6504 * net/rcirc.el (rcirc-split-message): New function.
6505 (rcirc-send-message): Use it. (Bug#12051)
6506
6507 2012-08-28 Juri Linkov <juri@jurta.org>
6508
6509 * info.el (Info-fontify-node): Hide empty lines at the end of
6510 the node. (Bug#12272)
6511
6512 2012-08-27 Drew Adams <drew.adams@oracle.com>
6513
6514 * dired.el (dired-pop-to-buffer): Make window start at beginning
6515 of buffer (Bug#12281).
6516
6517 2012-08-26 Chong Yidong <cyd@gnu.org>
6518
6519 * window.el (special-display-regexps, special-display-frame-alist)
6520 (special-display-buffer-names, special-display-function)
6521 (display-buffer-reuse-frames): Mark as obsolete.
6522
6523 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6524
6525 * help.el (help-print-return-message): Don't treat
6526 display-buffer-reuse-frames specially.
6527
6528 2012-08-26 Chong Yidong <cyd@gnu.org>
6529
6530 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6531 New variable, replacing gdb-frame-parameters.
6532 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6533 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6534 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6535 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6536 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6537 the functions directly with gdb-display-buffer-other-frame-action.
6538 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6539 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6540 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6541 (gdb-display-registers-buffer): Define directly.
6542 (def-gdb-display-buffer): Macro deleted.
6543 (gdb-display-buffer): Remove second and third args, callers don't
6544 use them. Defer to the default display-buffer behavior, apart
6545 from making windows dedicated.
6546 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6547
6548 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6549
6550 * window.el (display-buffer-pop-up-frame): Handle a
6551 pop-up-frame-parameters alist entry.
6552 (display-buffer): Document it.
6553
6554 2012-08-26 Chong Yidong <cyd@gnu.org>
6555
6556 * isearch.el (search-whitespace-regexp): Make string and nil
6557 values apply to both ordinary and regexp search. Allow a cons
6558 cell value to distinguish between the two.
6559 (isearch-whitespace-regexp, isearch-search-forward)
6560 (isearch-search-backward): New functions.
6561 (isearch-occur, isearch-search-fun-default, isearch-search)
6562 (isearch-lazy-highlight-new-loop): Use them.
6563 (isearch-forward, isearch-forward-regexp): Doc fix.
6564
6565 2012-08-26 Chong Yidong <cyd@gnu.org>
6566
6567 * faces.el (help-argument-name): Always inherit from italic
6568 (Bug#12213).
6569
6570 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6571
6572 * window.el (window--even-window-heights): Even heights when
6573 WINDOW and the selected window form a vertical combination.
6574 (display-buffer-use-some-window): Provide that window used gets
6575 sized back by quit-window. (Bug#11880) and (Bug#12091)
6576
6577 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6578
6579 Fix file time stamp problem with bzr and CVS (Bug#12001).
6580 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6581 in the file's time stamp, since the version control system loses
6582 that information.
6583
6584 2012-08-22 Juri Linkov <juri@jurta.org>
6585
6586 * info.el (Info-fontify-node): Hide the suffix of the
6587 Info file name in the header line. (Bug#12187)
6588
6589 2012-08-22 Glenn Morris <rgm@gnu.org>
6590
6591 * calendar/cal-tex.el (cal-tex-weekly-common):
6592 Restore leading blank page.
6593
6594 2012-08-22 Le Wang <l26wang@gmail.com>
6595
6596 * misc.el (forward-to-word, backward-to-word): Activate or extend
6597 the region under `shift-select-mode'. (Bug#12231)
6598
6599 2012-08-22 Bastien Guerry <bzg@gnu.org>
6600
6601 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6602 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6603 gives details on why the space is never needed.
6604
6605 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6606
6607 * window.el (walk-window-tree, window-with-parameter):
6608 New optional argument MINIBUF to control whether these functions
6609 should run on the minibuffer window.
6610 (window-at-side-list): Don't operate on minibuffer window.
6611 (window-in-direction): Simplify and rewrite doc-string.
6612 (window--size-ignore): Rename to window--size-ignore-p.
6613 Update callers.
6614 (display-buffer-in-atom-window, window--major-non-side-window)
6615 (window--major-side-window, display-buffer-in-major-side-window)
6616 (delete-side-window, display-buffer-in-side-window):
6617 New functions.
6618 (window--side-check, window-deletable-p, delete-window)
6619 (delete-other-windows, split-window): Handle side windows and
6620 atomic windows appropriately.
6621 (window--display-buffer): Call display-buffer-record-window also
6622 when the window buffer did not change.
6623
6624 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6625
6626 * help-fns.el (help-fns--key-bindings):
6627 Abbreviate non-symbol remap targets. (Bug#12174)
6628
6629 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6630
6631 * dired.el (dired-mark-remembered): Don't clobber point.
6632 (Bug#11795)
6633
6634 2012-08-22 Glenn Morris <rgm@gnu.org>
6635
6636 * progmodes/bug-reference.el (bug-reference): New custom group.
6637 (bug-reference-bug-regexp): Make it a defcustom.
6638
6639 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6640
6641 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6642 (js-paren-indent-offset, js-square-indent-offset)
6643 (js-curly-indent-offset): Add :safe (Bug#12257).
6644
6645 2012-08-22 Edward O'Connor <hober0@gmail.com>
6646
6647 * json.el (json-key-format): Add error properties.
6648 (json-encode-key): New function.
6649 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6650 Use json-encode-key.
6651
6652 2012-08-22 Glenn Morris <rgm@gnu.org>
6653
6654 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6655 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6656 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6657 Update for above change.
6658
6659 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6660
6661 * cus-face.el (custom-face-attributes): Fix customize type for the
6662 :underline attribute. (Bug#11805)
6663
6664 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6665
6666 * window.el (window-point-1, set-window-point-1): Remove.
6667 (window-in-direction, record-window-buffer)
6668 (set-window-buffer-start-and-point, split-window-below)
6669 (window--state-get-1, display-buffer-record-window):
6670 Replace calls to window-point-1 and set-window-point-1 by calls to
6671 window-point and set-window-point respectively.
6672
6673 2012-08-21 Glenn Morris <rgm@gnu.org>
6674
6675 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6676 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6677 Use it.
6678
6679 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6680 (cal-tex-shortday): New function.
6681 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6682 (cal-tex-cursor-filofax-daily): Use the above.
6683
6684 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6685 New functions.
6686 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6687 (cal-tex-cursor-filofax-week): Use them.
6688
6689 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6690 New constants.
6691 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6692 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6693
6694 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6695 (cal-tex-end-document): Don't rely on buffer name.
6696
6697 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6698 Use cal-tex-vspace.
6699 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6700 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6701 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6702 Use cal-tex-arg.
6703
6704 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6705 (cal-tex-cursor-week, cal-tex-cursor-week2)
6706 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6707 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6708 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6709 (cal-tex-insert-preamble, cal-tex-b-document)
6710 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6711 Improve cal-tex-cmd usage.
6712
6713 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6714 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6715 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6716 (cal-tex-weekly-paper): New function.
6717 (cal-tex-cursor-week, cal-tex-cursor-week2)
6718 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6719 (cal-tex-cursor-day): Use it.
6720
6721 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6722 (cal-tex-cursor-filofax-week): Remove leading blank page.
6723
6724 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6725 Add autoload cookie. For now at least, don't use color, since
6726 no other cal-tex function does.
6727
6728 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6729 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6730 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6731
6732 2012-08-21 Juri Linkov <juri@jurta.org>
6733
6734 * info.el (Info-file-attributes): New variable.
6735 (info-insert-file-contents): Add file attributes to
6736 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6737 `Info-toc-nodes' when previous modtime of the Info file is less
6738 than new modtime.
6739 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6740 of info.el. (Bug#12230)
6741
6742 2012-08-20 Glenn Morris <rgm@gnu.org>
6743
6744 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6745 * calendar/holidays.el (calendar-holiday-list):
6746 Report errors with display-warning rather than beep'n'sleep.
6747
6748 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6749
6750 * net/tramp.el (tramp-accept-process-output): Accept only output
6751 from PROC. Otherwise, process filters and sentinels might be
6752 confused. (Bug#12145)
6753
6754 2012-08-20 Chong Yidong <cyd@gnu.org>
6755
6756 * descr-text.el (describe-text-properties-1): Use overlays-in to
6757 report on empty overlays (Bug#3322).
6758
6759 2012-08-20 Glenn Morris <rgm@gnu.org>
6760
6761 * mail/rmailout.el (rmail-output-read-file-name):
6762 Trap and report errors in rmail-output-file-alist elements.
6763
6764 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6765 since most non-font-lock faces are not also variables).
6766
6767 2012-08-20 Edward Reingold <reingold@iit.edu>
6768
6769 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6770 New function. (Bug12160)
6771
6772 2012-08-19 Glenn Morris <rgm@gnu.org>
6773
6774 * mail/rmailout.el (rmail-output-read-file-name):
6775 Fix previous change (when the alist is nil or does not match).
6776
6777 2012-08-19 Chong Yidong <cyd@gnu.org>
6778
6779 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6780 (Bug#12228).
6781
6782 2012-08-18 Chong Yidong <cyd@gnu.org>
6783
6784 * simple.el (yank-handled-properties): New defcustom.
6785 (yank-excluded-properties): Add font-lock-face and category.
6786 (yank): Doc fix.
6787
6788 * subr.el (remove-yank-excluded-properties):
6789 Obey yank-handled-properties. The special handling of font-lock-face
6790 and category is now done this way, instead of being hard-coded.
6791 (insert-for-yank-1): Remove font-lock-face handling.
6792 (yank-handle-font-lock-face-property)
6793 (yank-handle-category-property): New function.
6794
6795 2012-08-17 Glenn Morris <rgm@gnu.org>
6796
6797 * mail/rmailout.el (rmail-output-read-file-name):
6798 Check rmail-output-file-alist against the full message body
6799 in the correct rmail buffer. (Bug#12214)
6800
6801 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6802
6803 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6804 Eliminate superfluous prompt. (Bug#12203)
6805
6806 2012-08-17 Chong Yidong <cyd@gnu.org>
6807
6808 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6809 font spec, set the font directly (Bug#3228).
6810
6811 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6812
6813 * window.el (delete-window): Fix last fix.
6814
6815 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6816
6817 * window.el (window-valid-p): Move to window.c.
6818 (window-child, window-child-count, window-last-child)
6819 (window-normalize-window, window-combined-p)
6820 (window-combinations, window-atom-root, window-min-size)
6821 (window-sizable, window-sizable-p, window-size-fixed-p)
6822 (window-min-delta, window-max-delta, window--resizable)
6823 (window--resizable-p, window-resizable, window-total-size)
6824 (window-full-height-p, window-full-width-p, window-body-size)
6825 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6826 (minimize-window, window-deletable-p, delete-window)
6827 (delete-other-windows, set-window-buffer-start-and-point)
6828 (next-buffer, previous-buffer, split-window, balance-windows-2)
6829 (set-window-text-height, window-buffer-height)
6830 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6831 (truncated-partial-width-window-p): Minor code adjustments.
6832 In doc-strings state whether the argument window has to denote a
6833 live, valid or any window.
6834
6835 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6836
6837 * progmodes/subword.el (subword-forward-function)
6838 (subword-backward-function, subword-forward-regexp)
6839 (subword-backward-regexp): New variables.
6840 (subword-forward, subword-forward-internal, subword-backward-internal):
6841 Use new variables, eg so that different "word" definitions
6842 can be easily used. (Bug#11411)
6843
6844 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6847 for composite selectors.
6848 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6849 operation just because we can't find a previous revision.
6850
6851 2012-08-15 Chong Yidong <cyd@gnu.org>
6852
6853 * frame.el (set-frame-font): Accept font objects.
6854
6855 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6858
6859 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6860
6861 * man.el (Man-overstrike-face, Man-underline-face)
6862 (Man-reverse-face): Remove variables.
6863 (Man-overstrike, Man-underline, Man-reverse): New faces.
6864 (Man-fontify-manpage): Use them instead of the variables.
6865 (Man-cleanup-manpage): Comment change.
6866 (Man-ansi-color-map): New variable.
6867 (Man-fontify-manpage): Use it.
6868 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6869
6870 Implement ANSI SGR parameters 22-27 (bug#12146).
6871 * ansi-color.el (ansi-colors): Doc fix.
6872 (ansi-color-context, ansi-color-context-region): Doc fix.
6873 (ansi-color--find-face): New function.
6874 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6875 Rename the local variable `face' to `codes' since it is now a list of
6876 ansi codes. Doc fix.
6877 (ansi-color-get-face): Remove.
6878 (ansi-color-parse-sequence): New function, derived from
6879 ansi-color-get-face.
6880 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6881 codes 22-27.
6882
6883 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * subr.el (read-passwd): Allow use from a minibuffer.
6886
6887 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6888
6889 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6890 inside comments and strings as identifiers.
6891
6892 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6893 expression to evaluate. This allows to evaluate expressions with
6894 embedded whitespace.
6895 (gud-tooltip-tips): Add a blank before the newline in the
6896 message-box text, for the benefit of message-box emulation on
6897 MS-Windows.
6898
6899 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6900 messages from GDB, pop them up in a tooltip to give feedback to
6901 user.
6902 (gdb-tooltip-print-1): Quote the expression to evaluate.
6903 This allows to evaluate expressions with embedded whitespace.
6904 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6905 if the TTY name is nil or empty (which happens when communicating
6906 with the inferior via pipes, e.g. on MS-Windows).
6907 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6908 don't send that to the GUD buffer.
6909
6910 2012-08-14 Glenn Morris <rgm@gnu.org>
6911
6912 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6913 Optimize away setq-default with no args, as for setq. (Bug#12195)
6914
6915 2012-08-14 Chong Yidong <cyd@gnu.org>
6916
6917 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6918
6919 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6920 (Bug#12085).
6921
6922 2012-08-14 Glenn Morris <rgm@gnu.org>
6923
6924 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6925
6926 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6927
6928 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6929 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6930 Use cached shell name.
6931
6932 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6933
6934 * progmodes/python.el (python-shell-send-string):
6935 (python-shell-send-setup-code): Do not use `format' with `message'.
6936
6937 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6938
6939 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6940 (ruby-percent-literal-beg-re): New constant.
6941 (ruby-syntax-general-delimiters-goto-beg): Rename to
6942 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6943 (ruby-syntax-propertize-general-delimiters): Rename to
6944 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6945 popular term. Adjust comments everywhere.
6946 (ruby-syntax-propertize-percent-literal): Only propertize when not
6947 inside a simple string or comment. When the literal is unclosed,
6948 leave the text after it unpropertized.
6949 (ruby-syntax-methods-before-regexp): New constant.
6950 (ruby-syntax-propertize-function): Use it to recognize regexps.
6951 Don't look at the text after regexp, just use the whitelist.
6952
6953 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6954
6955 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6956 non-nil always load the compiled file if it exists. (Bug#12197)
6957
6958 2012-08-14 Chong Yidong <cyd@gnu.org>
6959
6960 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6961 (hi-lock-set-pattern): When deciding whether to use font lock or
6962 overlays, look at font-lock-mode instead of font-lock-fontified
6963 (Bug#12168).
6964 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6965 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6966
6967 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6968
6969 * subr.el (internal--after-with-selected-window): Fix typo
6970 (Bug#12193).
6971
6972 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6973
6974 Use `completion-table-dynamic' for completion functions.
6975 * progmodes/python.el
6976 (python-shell-completion--do-completion-at-point)
6977 (python-shell-completion--get-completions):
6978 Remove functions.
6979 (python-shell-completion-complete-at-point): New function.
6980 (python-completion-complete-at-point): Use it.
6981
6982 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6983
6984 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6985 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6986
6987 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * subr.el (function-get): Refine `autoload' arg so it can also
6990 autoload functions for gv.el (bug#12191).
6991 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6992 autoloads macros.
6993
6994 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6995 Prefer pcase-let over destructuring-bind.
6996 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6997 Also, remove whitespace as we go, rather than after accumulating the
6998 various places.
6999
7000 * subr.el (internal--before-with-selected-window)
7001 (internal--after-with-selected-window): Fix typo seleted->selected.
7002 (with-selected-window): Adjust callers.
7003 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7004
7005 2012-08-13 Bastien Guerry <bzg@gnu.org>
7006
7007 * window.el (special-display-popup-frame): Minor docstring
7008 enhancement. (Bug#12172)
7009
7010 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7011
7012 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7013 type 1-6.
7014 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7015 extended headers.
7016
7017 * files.el (hack-local-variables-filter): Remove useless eval.
7018
7019 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7020
7021 * subr.el (with-selected-window): Fix last change.
7022
7023 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * subr.el (internal--before-with-seleted-window)
7026 (internal--after-with-seleted-window): New functions.
7027 (with-selected-window): Use them, to replace dependency on
7028 tty-top-frame.
7029
7030 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7031
7032 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7033 binding for `newline'.
7034 (ruby-move-to-block): When moving backward, stop at block opening,
7035 not indentation.
7036 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7037 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7038 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7039 `ruby-toggle-block'.
7040
7041 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * ibuffer.el (ibuffer-do-toggle-read-only):
7044 * dired.el (dired-toggle-read-only):
7045 * buff-menu.el (Buffer-menu-toggle-read-only):
7046 * bindings.el (mode-line-toggle-read-only):
7047 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7048
7049 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7050
7051 * descr-text.el (describe-char): Put the overlays over the
7052 "displayed as" character.
7053
7054 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7055
7056 * calc/calc-units.el (math-default-units-table): Give an
7057 initial value.
7058 (math-put-default-units): Add options to put composite units and
7059 unit systems in the default units table.
7060 (calc-convert-units): Send composite units to
7061 `math-put-default-units' when appropriate.
7062
7063 2012-08-11 Glenn Morris <rgm@gnu.org>
7064
7065 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7066
7067 * tutorial.el (help-with-tutorial):
7068 * emacs-lisp/copyright.el (copyright-update-directory):
7069 * emacs-lisp/autoload.el (autoload-find-generated-file)
7070 (autoload-find-file): Disable local eval: (for insurance).
7071
7072 * files.el (hack-local-variables-filter): If an eval: form is not
7073 known to be safe, and enable-local-variables is :safe, then ignore
7074 the form totally, as is done for non-eval forms. (Bug#12155)
7075 This is CVE-2012-3479.
7076
7077 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7080 (rx-form): Simplify.
7081
7082 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7083
7084 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7085 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7086 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7087 (ruby-syntax-propertize-function): Adjust for changes in
7088 `ruby-syntax-propertize-heredoc'.
7089
7090 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7091
7092 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7093 binding (use `M-;' instead).
7094 (ruby-singleton-class-p): New function.
7095 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7096
7097 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7100
7101 2012-08-10 Chong Yidong <cyd@gnu.org>
7102
7103 * progmodes/python.el (python-shell-get-process-name): Don't mess
7104 with same-window-buffer-names.
7105
7106 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7107 (eshell-remove-from-window-buffer-names): Make obsolete.
7108 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7109 (eshell): Just use pop-to-buffer-same-window instead.
7110
7111 2012-08-10 Chong Yidong <cyd@gnu.org>
7112
7113 * bindings.el: Bind M-= back to count-words-region.
7114
7115 * simple.el (count-words-region): Accept a prefix arg for acting
7116 on the entire buffer.
7117 (count-words--buffer-message): New helper function.
7118
7119 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7122 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7123 (event-start, event-end): Use posn-at-point to return a more
7124 informative posn.
7125 (posnp): New function.
7126 * mouse.el (popup-menu-normalize-position): Use it.
7127
7128 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7129
7130 * mouse.el (popup-menu-normalize-position): New function.
7131 (popup-menu): Use `popup-menu-normalize-position' to normalize
7132 the form for POSITION argument.
7133
7134 * term/x-win.el (x-menu-bar-open):
7135 Use the value returend from (posn-at-point) as position
7136 passed to `popup-menu'.
7137
7138 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7139
7140 * calc/calccomp.el (math-compose-expr): Add extra argument
7141 indicating that parentheses should be put around products in
7142 denominators. Give multiplication precedence over division during
7143 composition.
7144
7145 2012-08-09 Chong Yidong <cyd@gnu.org>
7146
7147 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7148 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7149 (Man-untabify-command, manual-program): Convert to defcustom
7150 (Bug#10429).
7151
7152 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7153
7154 * descr-text.el (describe-char): Don't insert extra newlines
7155 (Bug#10127).
7156
7157 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7158 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7159
7160 * align.el (align-region): Delete temporary markers (Bug#10047).
7161 Plus some code cleanups.
7162
7163 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7164
7165 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7166 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7167 (python-shell-internal-last-output): Use make-local-variable
7168 instead of make-variable-buffer-local.
7169
7170 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7171
7172 * progmodes/python.el: Enhancements to forward-sexp.
7173 (python-nav-forward-sexp): Rename from
7174 python-nav-forward-sexp-function.
7175 (python-nav--forward-sexp, python-nav--backward-sexp):
7176 New functions.
7177
7178 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7179
7180 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7181 modes and simplification modes.
7182
7183 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * delsel.el (delete-selection-pre-hook): Don't propagate the
7186 file-supersession signals (bug#12161).
7187
7188 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7191 (cl-map-extents): Add compatibility aliases (bug#12135).
7192
7193 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7194
7195 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7196 tests by `ignore-error'.
7197 (tramp-find-shell): Open also a new shell, when cache is already
7198 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7199
7200 2012-08-08 Juri Linkov <juri@jurta.org>
7201
7202 * bookmark.el: Add `defaults' property to the bookmark record.
7203 (bookmark-current-buffer): Doc fix.
7204 (bookmark-make-record): Add `defaults' property with default values
7205 to the bookmark record.
7206 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7207 with `bookmark-insert-current-bookmark'.
7208 (bookmark-set): Get `defaults' property from the bookmark record
7209 and use it in `read-from-minibuffer'.
7210 (bookmark-insert-current-bookmark): Remove function.
7211
7212 * info.el (Info-bookmark-make-record): Add `defaults' property
7213 with values of canonical Info node name, the current Info file
7214 name and the current Info node name. (Bug#12107)
7215
7216 2012-08-08 Juri Linkov <juri@jurta.org>
7217
7218 * files.el (basic-save-buffer): Use `buffer-name' as the default
7219 of `read-file-name' when buffer is not visiting a file (bug#12128).
7220
7221 2012-08-08 Juri Linkov <juri@jurta.org>
7222
7223 * info.el (Info-isearch-search): Doc fix.
7224 (Info-search): Change search-failed message from "initial node" to
7225 "end of node" (bug#12078).
7226 (Info-isearch-search): Change `isearch-string-state' to
7227 `isearch--state-string'.
7228
7229 2012-08-08 Glenn Morris <rgm@gnu.org>
7230
7231 * language/persian.el: Remove file.
7232 * language/misc-lang.el: Move unique part of persian.el here.
7233 * loadup.el: Remove language/persian.
7234
7235 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7236
7237 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7238
7239 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7240
7241 * progmodes/python.el: Fix defsubst warning.
7242 (python-syntax-context) Rename from python-info-ppss-context.
7243 (python-syntax-context-type): Rename from
7244 python-info-ppss-context-type.
7245 (python-syntax-comment-or-string-p): Rename from
7246 python-info-ppss-comment-or-string-p.
7247
7248 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7249
7250 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7251
7252 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7253
7254 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7255 a defcustom that is quoted with backquote.
7256
7257 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7258 Fix handling of interactive spec when the body uses return.
7259 (math-do-arg-check, math-define-function-body): Use backquote forms.
7260 * calc/calc-ext.el (math-defcache): Likewise.
7261 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7262 * allout.el (allout-new-exposure): Likewise.
7263 * calc/calcalg2.el (math-tracing-integral): Likewise.
7264 * info.el (Info-last-menu-item): Likewise.
7265 * emulation/vip.el (vip-loop): Likewise.
7266 * textmodes/artist.el (artist-funcall): Likewise.
7267 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7268 Construct menu-item directly.
7269
7270 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7271 Don't declare.
7272
7273 2012-08-07 Chong Yidong <cyd@gnu.org>
7274
7275 * simple.el (deactivate-mark): Preserve text properties when
7276 saving the primary selection (Bug#8384).
7277
7278 2012-08-07 Kevin Ryde <user42@zip.com.au>
7279
7280 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7281 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7282 and continue processing (Bug#12110).
7283
7284 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7287 syntax-propertize-function (bug#10095).
7288
7289 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7292 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7293 describe-function-1.
7294 (describe-function-1): Use them. Move compiler macro after sig.
7295 (help-fns--compiler-macro): Use function-get. Assume we're already in
7296 standard-output. Adjust layout to new call order.
7297
7298 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7299 re-binding a symbol that has a symbol-macro (bug#12119).
7300
7301 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7302
7303 * language/persian.el: New file. (Bug#11812)
7304 * loadup.el: Add language/persian.el.
7305
7306 2012-08-06 Chong Yidong <cyd@gnu.org>
7307
7308 * window.el (window--maybe-raise-frame): New function.
7309 (window--display-buffer): Split off from here.
7310 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7311 (display-buffer-pop-up-window, display-buffer-use-some-window):
7312 Obey an inhibit-switch-frame action alist entry.
7313 (display-buffer): Update doc.
7314
7315 * replace.el (occur-after-change-function): Avoid losing focus by
7316 using the inhibit-switch-frame display parameter (Bug#12139).
7317
7318 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7319
7320 Make internal shell process buffer names start with space.
7321 * progmodes/python.el (python-shell-make-comint): Add optional
7322 argument INTERNAL.
7323 (run-python-internal): Use it.
7324 (python-shell-internal-get-or-create-process): Check for new
7325 internal buffer names.
7326
7327 2012-08-06 Glenn Morris <rgm@gnu.org>
7328
7329 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7330 Do less getting and setting of environment variables.
7331
7332 2012-08-05 Chong Yidong <cyd@gnu.org>
7333
7334 * proced.el (proced): Add substitution string to docstring to
7335 trigger autoloading of the proced library on C-h f (Bug#1768).
7336
7337 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7338 Don't show defvars which have no second argument (Bug#8638).
7339
7340 * imenu.el (imenu-generic-expression): Move documentation here
7341 from imenu--generic-function.
7342 (imenu--generic-function): Refer to imenu-generic-expression.
7343
7344 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7345
7346 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7347 indentation declaration.
7348 (viper-loop): Add indentation declaration (Bug#7025).
7349
7350 2012-08-05 Chong Yidong <cyd@gnu.org>
7351
7352 * help-fns.el (describe-variable): Add hyperlink for
7353 directory-local variables files. Improve buffer-local and
7354 permanent-local reporting; suggested by MON KEY (Bug#6644).
7355
7356 * help-mode.el (help-dir-local-var-def): New button type.
7357
7358 * files.el (kill-buffer-hook): Provide a defvar.
7359
7360 2012-08-05 Glenn Morris <rgm@gnu.org>
7361
7362 * eshell/esh-ext.el (eshell/addpath):
7363 Also update eshell-path-env. (Bug#12013)
7364
7365 2012-08-05 Chong Yidong <cyd@gnu.org>
7366
7367 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7368
7369 * fringe.el (fringe-styles): Add docstring.
7370 (fringe--check-mode): New function.
7371 (set-fringe-mode, set-fringe-style): Use it.
7372 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7373
7374 * files.el (set-auto-mode): Fix invalid setq call.
7375
7376 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * isearch.el: Misc simplification; use defstruct.
7379 (isearch-mode-map): Dense maps now work like sparse ones.
7380 (isearch--state): New defstruct.
7381 (isearch-string-state, isearch-message-state, isearch-point-state)
7382 (isearch-success-state, isearch-forward-state)
7383 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7384 (isearch-wrapped-state, isearch-barrier-state)
7385 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7386 replaced by defstruct's accessors.
7387 (isearch--set-state): Rename from isearch-top-state and change
7388 calling convention.
7389 (isearch-push-state): Use new isearch--get-state.
7390 (isearch-toggle-word): Disable regexp when enabling word.
7391 (isearch-message-prefix): Remove unused arg _c-q-hack.
7392 (isearch-message-suffix): Remove unused arg _ellipsis.
7393
7394 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7395
7396 * simple.el (list-processes--refresh): For a server use :host or
7397 :local as the address.
7398 (list-processes): Doc fix.
7399
7400 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7401
7402 * lisp/mpc.el: Support password in host argument.
7403 (mpc--proc-connect): Parse and use new password element.
7404 Set mpc-proc variable instead of returning process.
7405 (mpc-proc): Adjust accordingly.
7406
7407 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7408
7409 * whitespace.el (whitespace-display-mappings): Use Unicode
7410 codepoints, instead of emacs-mule codepoints. See
7411 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7412 for the details.
7413
7414 * files.el (file-truename): Don't skip symlink-chasing part on
7415 windows-nt. Incorporate the resolution of 8+3 short aliases on
7416 Windows into the loop that recursively chases symlinks.
7417 Compare directory and its parent case-insensitively on MS-Windows and
7418 MS-DOS.
7419
7420 2012-08-03 Chong Yidong <cyd@gnu.org>
7421
7422 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7423
7424 * sort.el (sort-regexp-fields): Doc fix.
7425
7426 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7427
7428 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7429 labels regex position point at the expected place.
7430
7431 2012-08-03 MON KEY <monkey@sandpframing.com>
7432
7433 * net/imap.el (imap-interactive-login, imap-authenticate)
7434 (imap-mailbox-lsub, imap-mailbox-list)
7435 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7436 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7437 (imap-parse-response): Doc fix.
7438
7439 2012-08-03 João Távora <joaotavora@gmail.com>
7440
7441 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7442 if sexp scanning does not move point (Bug#5734).
7443
7444 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7445
7446 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7447 Add listings, minted, and ctable packages.
7448 (reftex-label-alist-builtin): Move listings, minted, and ctable
7449 entries before LaTeX.
7450 (reftex-label-alist): Docfix.
7451
7452 2012-08-02 Bastien Guerry <bzg@gnu.org>
7453
7454 * replace.el (occur): Fix docstring (bug#12122).
7455
7456 2012-08-02 Glenn Morris <rgm@gnu.org>
7457
7458 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7459
7460 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7461
7462 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7463 * international/mule-cmds.el: Create
7464 inactivate-current-input-method-function as an obsolete alias for
7465 deactivate-current-input-method-function. See Katsumi Yamaoka in
7466 <http://bugs.gnu.org/10150#46>.
7467
7468 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7469
7470 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7471 of nested `if's.
7472
7473 2012-08-01 Glenn Morris <rgm@gnu.org>
7474
7475 * progmodes/autoconf.el (autoconf-definition-regexp):
7476 Add AH_TEMPLATE, adjust submatch numbering.
7477 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7478 (autoconf-current-defun-function): Update for above change.
7479 (autoconf-current-defun-function): First skip to end of current word.
7480
7481 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7482
7483 * calendar/cal-html.el (cal-html-insert-agenda-days):
7484 Fix typo. (Bug#12018)
7485
7486 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7487
7488 Shell processes: enhancements to startup and CEDET compatibility.
7489 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7490 (python-shell-make-comint): accept-process-output at startup.
7491 (run-python-internal): Set inferior-python-mode-hook to nil.
7492 (python-shell-internal-get-or-create-process): call sit-for.
7493 (python-preoutput-result): Add obsolete alias.
7494 (python-shell-internal-send-string): Use it.
7495 (python-shell-send-setup-code): Remove call to
7496 accept-process-output.
7497
7498 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7499
7500 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7501 (Bug#12108)
7502
7503 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7504
7505 * calc-mode.el (calc-basic-simplification-mode): Rename from
7506 `calc-limited-simplification-mode'.
7507 (calc-alg-simplification-mode): New function.
7508 (calc-set-simplify-mode): Adjust message.
7509
7510 * calc.el (calc-set-mode-line): Adjust mode line display for
7511 basic simplification mode.
7512
7513 * calc-help.el (calc-m-prefix-help): Update help message.
7514
7515 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7516 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7517
7518 2012-07-31 Bastien Guerry <bzg@gnu.org>
7519
7520 * man.el (man): Fix comment. (bug#12101)
7521
7522 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7523
7524 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7525 Don't return a non-nil value when no suitable buffer was found.
7526
7527 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7528
7529 * progmodes/python.el (run-python-internal): Disable font lock for
7530 internal shells.
7531
7532 2012-07-30 Stefan Merten <smerten@oekonux.de>
7533
7534 * textmodes/rst.el: Silence `checkdoc-ispell'.
7535 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7536 (rst-official-version, rst-official-cvs-rev)
7537 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7538 (rst-mode-map): New key binding.
7539
7540 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7541
7542 Update .PHONY listings in makefiles.
7543 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7544 autoloads, update-subdirs, updates, bzr-update, update-authors,
7545 compile-onefile, compile-calc, backup-compiled-files,
7546 compile-after-backup, compile-one-process, mh-autoloads,
7547 bootstrap-clean, distclean, maintainer-clean.
7548
7549 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7550
7551 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7552 (calc-set-mode-line): Don't display "AlgSimp ".
7553
7554 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7555 (calc-lim-simplify-mode): New function.
7556 (calc-set-simplify-mode): Default to 'alg.
7557 (calc-default-simplify-mode): Make algebraic simplifications
7558 the default.
7559
7560 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7561 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7562
7563 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7564 indicate new simplification modes.
7565
7566 * calc/README: Mention new default simplification mode.
7567
7568 * calc/calc.el (math-normalize-error): New variable.
7569 (math-normalize): Set `math-normalize-error' to t
7570 when there's an error.
7571
7572 * calc/calc-alg.el (math-simplify): Don't simplify when
7573 `math-normalize' returns an error.
7574
7575 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7576
7577 * international/mule-cmds.el (set-locale-environment): Revert last
7578 change, since display-graphic-p returns nil when this function is
7579 called during startup. Instead...
7580
7581 * term/w32console.el (terminal-init-w32console): ...setup the
7582 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7583
7584 2012-07-29 Juri Linkov <juri@jurta.org>
7585
7586 * simple.el (goto-line): Don't display default line number in the
7587 prompt because it should be displayed by `read-number' (bug#9952).
7588 Add the current line number to the defaults of `goto-line' to
7589 allow its easier modification by users with `M-n' (bug#9201).
7590
7591 * subr.el (read-number): Support multiple default values like in
7592 other minibuffer reading functions. Replace `read' with
7593 `string-to-number' for consistency with `number-to-string'.
7594
7595 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7596
7597 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7598 * emulation/viper-init.el (viper-deactivate-input-method-action):
7599 Rename from viper-inactivate-input-method-action.
7600 (viper-deactivate-input-method):
7601 Rename from viper-inactivate-input-method.
7602 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7603 * international/mule-cmds.el (deactivate-input-method):
7604 Rename from inactivate-input-method.
7605 Also run input-method-deactivate-hook.
7606 (deactivate-current-input-method-function):
7607 Rename from inactivate-current-input-method-function.
7608 (input-method-deactivate-hook): New hook.
7609 (input-method-inactivate-hook): Mark obsolete.
7610 (inactivate-input-method): Mark obsolete.
7611
7612 * international/quail.el (quail-activate):
7613 Also run quail-deactivate-hook.
7614 (quail-deactivate): Rename from quail-inactivate.
7615 * international/robin.el (robin-activate):
7616 Also run robin-deactivate-hook.
7617 (robin-deactivate): Rename from robin-inactivate.
7618
7619 2012-07-29 Chong Yidong <cyd@gnu.org>
7620
7621 * simple.el (indicate-copied-region): New function.
7622 (kill-ring-save): Split off from here.
7623
7624 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7625 (kill-rectangle): Set deactivate-mark to t on read-only error.
7626
7627 * register.el (copy-to-register, copy-rectangle-to-register):
7628 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7629 (append-to-register, prepend-to-register): Call indicate-copied-region.
7630
7631 2012-07-29 Juri Linkov <juri@jurta.org>
7632
7633 * simple.el (async-shell-command-buffer): New defcustom.
7634 (shell-command): Use it. (Bug#4719)
7635
7636 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7637
7638 * international/mule-cmds.el (set-locale-environment): In a
7639 console session on MS-Windows, set up keyboard and terminal
7640 encoding from the OEM codepage, not the ANSI codepage.
7641 (Bug#12055)
7642
7643 2012-07-28 Chong Yidong <cyd@gnu.org>
7644
7645 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7646 gdb-get-location.
7647
7648 2012-07-28 Leo Liu <sdl.web@gmail.com>
7649
7650 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7651 the alist (bug#12029).
7652
7653 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7654
7655 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7656 (compile-always, compile-first)
7657 ($(lisp)/calendar/cal-loaddefs.el)
7658 ($(lisp)/calendar/diary-loaddefs.el)
7659 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7660 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7661 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7662 instead of on update-subdirs.
7663 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7664
7665 2012-07-28 Chong Yidong <cyd@gnu.org>
7666
7667 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7668 directory if vc-deduce-backend returns nil (Bug#7350).
7669
7670 * simple.el (delete-trailing-lines): New option.
7671 (delete-trailing-whitespace): Obey it (Bug#11879).
7672
7673 2012-07-28 David Engster <deng@randomsample.de>
7674
7675 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7676 Explanation of new 'symbol-qnames feature in doc-strings.
7677 (xml-maybe-do-ns): Return expanded names as plain symbols if
7678 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7679 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7680
7681 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7682
7683 Consistent completion in inferior python with emacs -nw.
7684 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7685 binding in inferior-python-mode-map with "\t".
7686 (python-shell-completion-complete-at-point)
7687 (python-completion-complete-at-point): Remove interactive spec.
7688
7689 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7690
7691 * calc/calccomp.el (math-compose-expr): Undo previous change.
7692
7693 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7694
7695 * progmodes/python.el (python-mode-map): Add keybinding for
7696 run-python.
7697 (python-shell-make-comint): Fix pop-to-buffer call.
7698 (run-python): Autoload. New arg SHOW.
7699 (python-shell-get-or-create-process): Do not pop python process
7700 buffer.
7701
7702 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7703
7704 * notifications.el (notifications-on-action-signal)
7705 (notifications-on-closed-signal): Use also the bus address for the map.
7706 (notifications-notify, notifications-close-notification)
7707 (notifications-get-capabilities): Add optional argument BUS.
7708
7709 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7710
7711 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7712 Add support for the lstlisting and minted environments, and for the
7713 ctable macro.
7714 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7715 labels written in keyvals syntax.
7716
7717 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7718
7719 * calc/calccomp.el (math-compose-expr): Use parentheses when
7720 there is a product in the denominator of a fraction.
7721
7722 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7723
7724 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7725 ($(lisp)/calendar/diary-loaddefs.el)
7726 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7727 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7728 Fixes failures in parallel bootstrap because subdirs.el is being
7729 rewritten while the autoload files are built at the same time,
7730 which needs to load subdirs.el.
7731
7732 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7733
7734 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7735 (mouse-drag-line): Don't exit tracking when a switch-frame or
7736 switch-window event occurs (Bug#12006).
7737
7738 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7739
7740 * mouse.el (popup-menu): Fix last change.
7741
7742 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 Autoload from Lisp with more care. Follow aliases when looking for
7745 function properties.
7746 * subr.el (autoloadp): New function.
7747 (symbol-file): Use it.
7748 (function-get): New function.
7749 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7750 autoload-do-load.
7751 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7752 (lisp-indent-function):
7753 * emacs-lisp/gv.el (gv-get):
7754 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7755 * emacs-lisp/byte-opt.el (byte-optimize-form):
7756 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7757 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7758 Use function-get.
7759 * emacs-lisp/cl.el: Don't propagate function properties any more.
7760
7761 * speedbar.el (speedbar-add-localized-speedbar-support):
7762 * emacs-lisp/disass.el (disassemble-internal):
7763 * desktop.el (desktop-load-file):
7764 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7765 (describe-function-1):
7766 * emacs-lisp/find-func.el (find-function-noselect):
7767 * emacs-lisp/elp.el (elp-instrument-function):
7768 * emacs-lisp/advice.el (ad-has-proper-definition):
7769 * apropos.el (apropos-safe-documentation, apropos-macrop):
7770 * emacs-lisp/debug.el (debug-on-entry):
7771 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7772 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7773 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7774
7775 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7776
7777 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7778 function, not an obsolete variable (Bug#12046).
7779
7780 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7781
7782 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7783
7784 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7785
7786 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7787 window only if it is still live (Bug#12034).
7788
7789 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7790
7791 * subr.el (redirect-frame-focus): Add advertised calling
7792 convention (Bug#12030).
7793
7794 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7795
7796 Prefer typical American spelling for "acknowledgment".
7797 * vc/add-log.el (change-log-acknowledgment): Rename from
7798 change-log-acknowledgement, with an alias for the old name.
7799
7800 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7801
7802 * calc-alg.el (math-simplify-divide): Don't cross multiply
7803 in an equation when the lhs is a variable.
7804
7805 2012-07-24 Julien Danjou <julien@danjou.info>
7806
7807 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7808 Remove, unused.
7809
7810 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7811
7812 * startup.el (command-line): Don't display an empty user name in
7813 the error message about non-existent home directory, when
7814 init-file-user was set to an empty string. See
7815 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7816 for the details and context.
7817
7818 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7819
7820 * ses.el (ses-cell-formula-aset): New macro.
7821 (ses-cell-references-aset): New macro.
7822 (ses-cell-p): New function.
7823 (ses-rename-cell): Do no longer rely on complex operations like
7824 ses-cell-set-formula or ses-set-cell to change the cell and handle
7825 the undo at the same time, but rather use lower level new macros
7826 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7827 the undo directly. Refresh the mode line.
7828
7829 2012-07-21 Leo Liu <sdl.web@gmail.com>
7830
7831 * progmodes/cc-cmds.el (c-defun-name):
7832 Use match-string-no-properties instead for consistency.
7833
7834 2012-07-20 Leo Liu <sdl.web@gmail.com>
7835
7836 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7837 (Bug#7879)
7838
7839 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7840
7841 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7844 * progmodes/bug-reference.el, misearch.el: Provide themselves
7845 (bug#11915).
7846
7847 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7848 of narrowed buffer (bug#11966).
7849
7850 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7851
7852 * ses.el (ses-rename-cell): Set new name also in reference list of
7853 cells of which the renamed cell depends.
7854
7855 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7856
7857 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7858 to check whether menu-bar is shown or not. If not shown,
7859 show the menu-bar as a popup menu instead of using tmm.
7860 * mouse.el (popup-menu): Accept `point' as `position' argument.
7861
7862 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7863
7864 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7865 up inside string symbol literal (bug#11923).
7866
7867 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7868
7869 * startup.el (fancy-startup-text): Read the whole tutorial, not
7870 just its first 256 bytes. Prevents gibberish in display of the
7871 tutorial title.
7872
7873 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7874
7875 Drop idle buffer compaction due to an absence of the
7876 proved efficiency.
7877 * compact.el: Remove.
7878
7879 2012-07-19 Sam Steingold <sds@gnu.org>
7880
7881 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7882 vc-bzr-pull & vc-bzr-merge-branch.
7883 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7884 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7885 for consistency with compilation-error-regexp-alist.
7886 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7887 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7888 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7889 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7890
7891 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * emacs-lisp/chart.el: Use lexical-binding.
7894 (chart-emacs-storage): Don't hardcode the list of entries.
7895
7896 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7897
7898 Next round of tweaks caused by Fgarbage_collect changes.
7899 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7900
7901 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7902
7903 Compact buffers when idle.
7904 * compact.el: New file.
7905
7906 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7907
7908 * subr.el (eventp): Presume that if it looks vaguely like an event,
7909 it's an event (bug#10190).
7910
7911 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7912
7913 Enhancements to ppss related code (thanks Stefan).
7914 * progmodes/python.el (python-indent-context)
7915 (python-indent-calculate-indentation, python-indent-dedent-line)
7916 (python-indent-electric-colon, python-nav-forward-block)
7917 (python-mode-abbrev-table)
7918 (python-info-assignment-continuation-line-p): Simplify checks
7919 for ppss context.
7920 (python-info-continuation-line-p): Cleanup.
7921 (python-info-ppss-context): Do not catch 'quote.
7922 (python-info-ppss-context-type)
7923 (python-info-ppss-comment-or-string-p): Simplify.
7924
7925 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7926
7927 * progmodes/python.el: Enhancements to eldoc support.
7928 (python-info-current-symbol): New function.
7929 (python-eldoc-at-point): Use python-info-current-symbol.
7930 (python-info-current-defun): Fix cornercase on first defun scan.
7931 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7932 and signal error when no inferior python process is available.
7933
7934 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7935
7936 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7937 assume it's always t.
7938 (vc-git-registered): Remove caching, the function is only called
7939 once.
7940 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7941
7942 2012-07-18 Chong Yidong <cyd@gnu.org>
7943
7944 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7945
7946 * simple.el (count-words): Report on narrowing (Bug#9959).
7947
7948 * bindings.el: Bind M-= to count-words.
7949
7950 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7951
7952 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7953
7954 * progmodes/sh-script.el (sh-imenu-generic-expression):
7955 Capture a function with `function' keyword and without parentheses
7956 like "function FOO" (bug#11856).
7957
7958 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7959
7960 * window.el (split-window-sensibly): Make WINDOW argument
7961 optional.
7962
7963 2012-07-18 Chong Yidong <cyd@gnu.org>
7964
7965 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7966
7967 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7968 and make C-x 8 RET exit isearch (Bug#11439).
7969
7970 * international/iso-transl.el: Move isearch-mode-map key
7971 definitions to isearch.el.
7972
7973 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7974
7975 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7976 (eieio-defclass): Use gv-define-setter when possible.
7977
7978 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7979
7980 Reflect recent changes in Fgarbage_collect.
7981 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7982 reflect new format of data returned by Fgarbage_collect.
7983
7984 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7985
7986 New utility functions + python-info-ppss-context fix (Bug#11910).
7987 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7988 (python-info-ppss-comment-or-string-p): New functions.
7989 (python-info-ppss-context): Small fix for string check.
7990
7991 2012-07-17 Juri Linkov <juri@jurta.org>
7992
7993 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7994 (dired-do-async-shell-command): Don't add `*' at the end of the
7995 command (Bug#11815).
7996 (dired-do-shell-command): Doc fix.
7997 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7998 Join the individual commands using either "&" or ";" as the
7999 separator depending on the values of these trailing characters.
8000 At the end re-add the trailing "&". (Bug#10598)
8001
8002 * simple.el (async-shell-command): Sync the interactive spec with
8003 `shell-command'. Doc fix.
8004 (shell-command): Doc fix.
8005
8006 2012-07-17 Juri Linkov <juri@jurta.org>
8007
8008 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8009
8010 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8011
8012 Final renames and doc fixes for movement commands (bug#11899).
8013 * progmodes/python.el (python-nav-beginning-of-statement):
8014 Rename from python-nav-statement-start.
8015 (python-nav-end-of-statement): Rename from
8016 python-nav-statement-end.
8017 (python-nav-beginning-of-block): Rename from
8018 python-nav-block-start.
8019 (python-nav-end-of-block): Rename from python-nav-block-end.
8020
8021 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8022
8023 * progmodes/python.el (python-shell-send-string-no-output):
8024 Allow accept-process-output to quit, keeping shell process ready for
8025 future interactions (Bug#11868).
8026
8027 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8030
8031 * emacs-lisp/elint.el (elint-find-args-in-code):
8032 Use help-function-arglist, so as to handle lexical byte-code.
8033
8034 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8035 change (bug#11826).
8036
8037 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8040 Avoid spuriously marking the buffer as modified because of c-is-sws.
8041
8042 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8043 as not-a-comment (bug#11946).
8044
8045 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8046 for uninterned vars.
8047
8048 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8049 Use read-event since we don't really want to read chars but bytes.
8050
8051 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8052 $$..$$ but also $..$ using regexps (bug#11953).
8053 Use tex-verbatim for \url and \path.
8054 (tex-font-lock-keywords): Define as defconst like the others.
8055 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8056
8057 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8058
8059 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8060 alias for insert-char.
8061
8062 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8063
8064 * progmodes/python.el: Simplified imenu implementation.
8065 (python-nav-jump-to-defun): Remove command.
8066 (python-mode-map): Use `imenu' instead.
8067 (python-nav-list-defun-positions-cache)
8068 (python-imenu-include-defun-type, python-imenu-make-tree)
8069 (python-imenu-subtree-root-label, python-imenu-index-alist):
8070 Remove vars.
8071 (python-nav-list-defun-positions, python-nav-read-defun)
8072 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8073 (python-imenu-make-tree, python-imenu-create-index):
8074 Remove functions.
8075 (python-mode): Update to interact with imenu by setting
8076 `imenu-extract-index-name-function' only.
8077
8078 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8079
8080 * progmodes/python.el: Enhancements to navigation commands.
8081 (python-nav-backward-sentence)
8082 (python-nav-forward-sentence): Remove.
8083 (python-nav-backward-statement, python-nav-forward-statement)
8084 (python-nav-statement-start, python-nav-statement-end)
8085 (python-nav-backward-block, python-nav-forward-block)
8086 (python-nav-block-start, python-nav-block-end)
8087 (python-nav-forward-sexp-function)
8088 (python-info-current-line-comment-p)
8089 (python-info-current-line-empty-p): New functions.
8090 (python-indent-context): Use `python-nav-statement-start'.
8091
8092 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8093
8094 * eshell/em-ls.el (eshell/ls): Use `apply'.
8095
8096 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8097 multi-hops, instead of Tramp internals.
8098
8099 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8100
8101 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8102 when F1 and F2 are located on different hosts.
8103
8104 2012-07-14 Chong Yidong <cyd@gnu.org>
8105
8106 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8107 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8108 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8109 (xterm-mouse--read-event-sequence-1000)
8110 (xterm-mouse--read-event-sequence-1006): New functions. For old
8111 mouse protocol, handle M-mouse-X events correctly.
8112 (xterm-mouse-event): New arg specifying mouse protocol.
8113 (turn-on-xterm-mouse-tracking-on-terminal)
8114 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8115 sequence to toggle extended coordinates on newer XTerms.
8116 This appears to be harmless on terminals which do not support this.
8117
8118 2012-07-14 Leo Liu <sdl.web@gmail.com>
8119
8120 Add fringe bitmap indicators for flymake. (Bug#11253)
8121 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8122 (flymake-make-overlay): New arg BITMAP.
8123 (flymake-error-bitmap, flymake-warning-bitmap)
8124 (flymake-fringe-indicator-position): New user variables.
8125
8126 * fringe.el: New bitmap exclamation-mark.
8127
8128 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8129
8130 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8131 also (Bug#7879).
8132
8133 2012-07-14 Chong Yidong <cyd@gnu.org>
8134
8135 * electric.el (electric-pair-post-self-insert-function): Fix pair
8136 insertion in empty-region case (Bug#11520).
8137
8138 2012-07-14 Chong Yidong <cyd@gnu.org>
8139
8140 * bindings.el: Consolidate ctl-x-r-map bindings.
8141 Bind copy-rectangle-as-kill to C-x r w.
8142
8143 * rect.el, register.el: Move bindings to bindings.el.
8144
8145 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8146
8147 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8148
8149 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8150
8151 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8152
8153 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8154
8155 * bindings.el (top): Use `mapc' instead of `mapcar'.
8156
8157 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8158
8159 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8160
8161 * progmodes/sql.el (sql-comint): Suppress the check for program on
8162 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8163 (Bug#11908)
8164
8165 2012-07-13 Chong Yidong <cyd@gnu.org>
8166
8167 * bindings.el: Assign a non-nil permanent-local property to
8168 per-buffer variables which lack a default value (Bug#11930).
8169
8170 * help-fns.el (describe-variable): In the "automatically becomes
8171 local" notice, take note of permanent-local variables.
8172
8173 2012-07-13 Chong Yidong <cyd@gnu.org>
8174
8175 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8176 to allow printing the message when called from Lisp.
8177
8178 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8179 Remove toggle-read-only.
8180
8181 * bs.el (bs-toggle-readonly):
8182 * buff-menu.el (Buffer-menu-toggle-read-only):
8183 Remove with-no-warnings around toggle-read-only.
8184
8185 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8186 Remove with-no-warnings around toggle-read-only.
8187 (ffap-read-only, ffap-read-only-other-window)
8188 (ffap-read-only-other-frame): Callers changed.
8189
8190 * help-mode.el: Don't require view package.
8191 (help-mode-finish): Set buffer-read-only instead of calling
8192 toggle-read-only.
8193
8194 * bindings.el (mode-line-toggle-read-only):
8195 * dired.el (dired-toggle-read-only):
8196 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8197 with non-nil second arg.
8198
8199 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8200 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8201 directly.
8202
8203 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8204
8205 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8206 not incf.
8207
8208 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 More CL cleanups and reduction of use of cl.el.
8211 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8212 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8213 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8214 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8215 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8216 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8217 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8218 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8219 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8220 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8221 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8222 * eshell/em-cmpl.el, eshell/em-banner.el:
8223 * calendar/parse-time.el: Use cl-lib.
8224 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8225 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8226 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8227 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8228 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8229 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8230 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8231 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8232 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8233 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8234 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8235 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8236 `lambda' rather than with `quote'.
8237 (eshell-do-opt): Adjust accordingly.
8238 (eshell-process-option): Simplify.
8239 * eshell/esh-var.el:
8240 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8241 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8242 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8243 to `pcase--dontcare'.
8244 * emacs-lisp/cl.el (labels): Mark obsolete.
8245 (cl--letf, letf): Move to cl-lib.
8246 (cl--letf*, letf*): Remove.
8247 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8248 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8249 (cl-progv): Rewrite.
8250 (cl--letf, cl-letf): Move from cl.el.
8251 (cl-letf*): New macro.
8252 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8253
8254 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8255
8256 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8257
8258 2012-07-11 Chong Yidong <cyd@gnu.org>
8259
8260 * vc/log-edit.el (log-edit-vc-backend): New variable.
8261 (log-edit): Doc fix.
8262
8263 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8264 argument of log-edit to set up all local variables.
8265 (vc-start-logentry): New optional arg specifying VC backend.
8266
8267 * vc/vc.el (vc-checkin): Use it.
8268 (vc-deduce-fileset): Handle Log Edit buffers.
8269 (vc-diff): Make first argument optional too.
8270
8271 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8272
8273 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8274
8275 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8276 command, just in case. The function is not needed anymore.
8277 (eshell-external-command): Do not call `eshell-remote-command'.
8278
8279 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 Reduce use of (require 'cl).
8282 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8283 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8284 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8285 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8286 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8287 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8288 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8289 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8290 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8291 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8292 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8293 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8294 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8295 (byte-compile-unfold-bcf, byte-compile-check-variable):
8296 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8297 (byte-compile-nilconstp):
8298 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8299 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8300
8301 * emacs-lisp/gv.el (cond): Make it a valid place.
8302 (if): Simplify slightly.
8303
8304 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8305 (pcase--self-quoting-p): New function.
8306 (pcase--u1): Use it.
8307
8308 2012-07-10 Glenn Morris <rgm@gnu.org>
8309
8310 * emacs-lisp/authors.el (authors-fixed-entries):
8311 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8312
8313 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8314
8315 Rename configure.in to configure.ac (Bug#11603).
8316 * emacs-lisp/authors.el (authors-canonical-file-name):
8317 * progmodes/autoconf.el (autoconf-mode):
8318 Prefer configure.ac to configure.in.
8319
8320 2012-07-08 Chong Yidong <cyd@gnu.org>
8321
8322 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8323 Implement the mouse-1-click-follows-link handling properly.
8324
8325 * info.el (Info-link-keymap): Use follow-link mechanism for
8326 header-line links (Bug#374).
8327
8328 * simple.el (deactivate-mark): Do not set the primary selection
8329 if another program has acquired it (Bug#11772).
8330
8331 2012-07-07 Kevin Ryde <user42@zip.com.au>
8332
8333 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8334 (woman-decode-region): Replace escaped-escapes without destroying
8335 bold or underline (Bug#11552).
8336 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8337
8338 2012-07-07 Chong Yidong <cyd@gnu.org>
8339
8340 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8341 (interprogram-cut-function, interprogram-paste-function):
8342 Mention that we typically mean the clipboard.
8343
8344 2012-07-06 Glenn Morris <rgm@gnu.org>
8345
8346 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8347
8348 * files.el (toggle-read-only): Restrict message to interactive use.
8349
8350 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8351
8352 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8353
8354 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8355
8356 2012-07-06 Glenn Morris <rgm@gnu.org>
8357
8358 * Makefile.in (compile-one-process): Rename from "recompile".
8359
8360 * Makefile.in (bzr-update): "compile" is the same as "recompile
8361 autoloads", but parallelizable, so use that instead.
8362
8363 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8364
8365 * window.el (quit-window): Always restore window height when
8366 it's saved in quit-restore parameter (Bug#11810).
8367
8368 2012-07-06 Glenn Morris <rgm@gnu.org>
8369
8370 * simple.el (kill-whole-line): Doc tweak.
8371
8372 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8373
8374 * files.el (file-relative-name): Compare file names
8375 case-insensitively if on MS-Windows or MS-DOS, or if
8376 read-file-name-completion-ignore-case is non-nil. Don't use
8377 case-fold-search for this purpose. (Bug#11827)
8378
8379 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8380
8381 * calendar/cal-dst.el (calendar-current-time-zone):
8382 Return calendar-current-time-zone-cache if non-nil.
8383
8384 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8385 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8386
8387 * calendar/cal-dst.el (calendar-current-time-zone):
8388 Return calendar-current-time-zone-cache if non-nil.
8389
8390 2012-07-06 Glenn Morris <rgm@gnu.org>
8391
8392 * Makefile.in (cvs-update): Remove old alias.
8393
8394 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8395
8396 Sync with Tramp 2.2.6-pre.
8397
8398 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8399 compatible declaration.
8400
8401 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8402 Protect `list-load-path-shadows' call.
8403
8404 * net/tramp-compat.el (top): Require packages, which aren't
8405 autoloaded anymore for XEmacs. Protect call of
8406 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8407 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8408 it hurts at least for SXEmacs.
8409 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8410 standard-value for `temporary-file-directory'.
8411
8412 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8413 Redirect stderr to /dev/null.
8414 (tramp-sh-handle-write-region): uid and gid can be floats.
8415 Reported by Russell Sim <russell.sim@gmail.com>.
8416 (tramp-sh-handle-vc-registered): Hide errors.
8417 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8418 and `start-file-process'.
8419 (tramp-maybe-open-connection): Check also whether `non-essential'
8420 is bound.
8421
8422 2012-07-04 Chong Yidong <cyd@gnu.org>
8423
8424 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8425 (xml-parse-tag): Likewise, and avoid changing entity tables.
8426 (xml-syntax-table): Define from scratch, making sure not to give
8427 x2000 and other Unicode spaces whitespace syntax, since those are
8428 not spaces in XML.
8429 (xml-parse-fragment): Delete unused function.
8430 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8431 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8432 (xml-entity-ref, xml-pe-reference-re)
8433 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8434 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8435 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8436 (xml-entity-value-re): Use syntax references in regexps where
8437 possible; no need to define inside a let-binding.
8438 (xml-parse-dtd): Use xml-pe-reference-re.
8439 (xml-entity-or-char-ref-re): New defconst.
8440 (xml-parse-string, xml-substitute-special): Use it.
8441
8442 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8445 (find-file--read-only): New function.
8446 (find-file-read-only, find-file-read-only-other-window)
8447 (find-file-read-only-other-frame): Use it.
8448 (insert-file-contents-literally): Don't `fset'.
8449 (get-free-disk-space): Use locate-dominating-file.
8450
8451 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8452 function is already compiled.
8453
8454 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8455
8456 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8457
8458 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8459 files on the same host.
8460
8461 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8462
8463 * help-fns.el (describe-function-1): Only call
8464 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8465
8466 2012-07-03 Chong Yidong <cyd@gnu.org>
8467
8468 * xml.el: Protect parser against XML bombs.
8469 (xml-entity-expansion-limit): New variable.
8470 (xml-parse-string, xml-substitute-special): Use it.
8471 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8472
8473 2012-07-03 Glenn Morris <rgm@gnu.org>
8474
8475 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8476 Allow linking to specific messages in debbugs reports (eg 123#5).
8477
8478 2012-07-02 Chong Yidong <cyd@gnu.org>
8479
8480 * xml.el: Fix entity and character reference expansion, allowing
8481 them to expand into markup as per XML spec.
8482 (xml-default-ns): New variable.
8483 (xml-entity-alist): Use XML spec definitions for lt and amp.
8484 (xml-parse-region): Make first two arguments optional.
8485 Discard text properties.
8486 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8487 All callers changed.
8488 (xml-parse-tag): Call xml-parse-tag-1. For backward
8489 compatibility, this function should not modify buffer contents.
8490 (xml-parse-tag-1): Fix opening-tag regexp.
8491 (xml-parse-string): Rewrite, handling entity and character
8492 references properly.
8493 (xml--entity-replacement-text): Signal an error if a parameter
8494 entity is undefined.
8495
8496 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * comint.el (comint-output-filter): Filter out repeated prompts.
8499
8500 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8501 and file-name-absolute-p.
8502 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8503 internal calls.
8504
8505 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8506
8507 Spelling fixes.
8508 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8509 Rename from byte-compile--refiy-function. All uses changed.
8510
8511 2012-07-01 Chong Yidong <cyd@gnu.org>
8512
8513 * xml.el (xml--parse-buffer): New function. Move most of
8514 xml-parse-region here.
8515 (xml-parse-region): Copy region into a temporary buffer, since
8516 parameter entity substitution requires changing buffer contents.
8517 Use xml--parse-buffer.
8518 (xml-parse-file): Use xml--parse-buffer.
8519 (xml-parse-dtd): Make parameter entity substitution work right.
8520 Use proper regexps for ELEMENT declarations (Bug#7172).
8521
8522 2012-06-30 Glenn Morris <rgm@gnu.org>
8523
8524 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8525
8526 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8527 Remove outdated and unnecessary dbus declarations.
8528
8529 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8530
8531 * emacs-lisp/timer.el (timer-until): Subtract results of
8532 float-time, instead of taking float-time of the result of
8533 time-subtract, since float-time signals an error for negative time
8534 arguments.
8535
8536 2012-06-30 Chong Yidong <cyd@gnu.org>
8537
8538 * xml.el (xml-*-re): Convert defvars into defconsts, and
8539 eval-and-compile them so eval-and-compile works on derivatives.
8540 (xml--entity-replacement-text): Use eval-and-comple.
8541
8542 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8543
8544 * vc/vc-git.el (vc-git-registered): Use cache property
8545 `git-registered'.
8546 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8547 `vc-git-working-revision' in order to benefit from the cache.
8548 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8549
8550 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8551
8552 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8553 removed (likely outside Emacs). (Bug#11757)
8554
8555 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * emacs-lisp/cl-lib.el: Require macroexp.
8558
8559 2012-06-30 Chong Yidong <cyd@gnu.org>
8560
8561 * xml.el: Implement XML parameter entities.
8562 (xml-parameter-entity-alist): New variable.
8563 (xml-parse-region, xml-parse-fragment): Preserve previous values
8564 of xml-entity-alist and xml-parameter-entity-alist, so that
8565 repeated calls on different documents do not change them.
8566 (xml-parse-tag): Fix doctype regexp.
8567 (xml--entity-replacement-text): New function.
8568 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8569 properly requires url retrieval which is unimplemented.
8570 (xml-escape-string): Doc fix.
8571
8572 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8575
8576 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8577
8578 * fringe.el (fringe-mode): Doc fix.
8579
8580 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8581
8582 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8583 is non-nil.
8584 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8585 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8586
8587 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8588
8589 * calendar/cal-dst.el (calendar-current-time-zone):
8590 Return calendar-current-time-zone-cache if non-nil.
8591
8592 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8593
8594 * progmodes/which-func.el (which-func-format):
8595 Add mouse-face. (Bug#11698)
8596
8597 2012-06-29 Leo Liu <sdl.web@gmail.com>
8598
8599 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8600
8601 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * minibuffer.el (minibuffer-confirm-exit-commands):
8604 Add completion-at-point (bug#11725).
8605
8606 2012-06-29 Glenn Morris <rgm@gnu.org>
8607
8608 * progmodes/f90.el (f90-font-lock-keywords-2):
8609 Add some preprocessor elements. (Bug#10499)
8610
8611 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8614 Use syntax-propertize (bug#11739).
8615
8616 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8617
8618 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8619
8620 2012-06-28 Julien Danjou <julien@danjou.info>
8621
8622 * term.el (term-handle-colors-array): Use a set of new faces to
8623 color the terminal. Also uses :inverse-video property.
8624 (term-default-fg-color): Set to nil by default, deprecate in favor
8625 of `term-face'.
8626 (term-default-bg-color): Set to nil by default, deprecate in favor
8627 of `term-face'.
8628 (term-current-face): Use `term-face' by default.
8629 (term-bold-attribute): Variable deleted.
8630
8631 2012-06-28 Glenn Morris <rgm@gnu.org>
8632
8633 * simple.el (completion-list-mode-finish):
8634 Don't use toggle-read-only. (Since completion-list-mode has
8635 a special mode-class, it wasn't doing anything extra anyway.)
8636
8637 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 Make inlining of other-mode interpreted functions work (bug#11799).
8640 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8641 (byte-compile): Use it to fix compilation of lexical-binding closures.
8642 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8643 function, if needed.
8644
8645 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * help-mode.el (help-make-xrefs): Don't just withstand
8648 cyclic-variable-indirection but any error in documentation-property.
8649
8650 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8651 memory use.
8652 * bindings.el (bindings--define-key): New function.
8653 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8654 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8655 * bindings.el: Use it to purecopy define-key bindings.
8656
8657 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8658
8659 * emacs-lisp/cl.el (flet): Mark obsolete.
8660 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8661 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8662 * progmodes/js.el (js-c-fill-paragraph):
8663 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8664 (ebrowse-switch-member-buffer-to-derived-class):
8665 * play/5x5.el (5x5-solver): Use cl-flet.
8666
8667 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8668 (cl--symbol-function): New macro.
8669 (cl--letf, cl--letf*): Use it.
8670
8671 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8672 Strip "toggle-" if any.
8673
8674 2012-06-27 Glenn Morris <rgm@gnu.org>
8675
8676 * info.el (Info-default-directory-list): Move here from paths.el.
8677 * paths.el: Remove file, which is now empty.
8678 * loadup.el: No longer load "paths".
8679
8680 * custom.el (custom-initialize-delay): Doc fix.
8681
8682 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8683 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8684 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8685 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8686 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8687 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8688 * eshell/eshell.el (eshell-defgroup): Remove alias.
8689
8690 2012-06-27 Chong Yidong <cyd@gnu.org>
8691
8692 * help.el (help-enable-auto-load): New variable.
8693
8694 * help-fns.el (help-fns--autoloaded-p): New function.
8695 (describe-function-1): Refer to a function as "autoloaded" if it
8696 was autoloaded at any time in the past. Perform autoloading if
8697 help-enable-auto-load is non-nil.
8698
8699 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8700
8701 * makefile.w32-in (compile, compile-always): Depend on
8702 update-subdirs, not on subdirs.el. Otherwise, several different
8703 sub-targets of 'bootstrap' running in parallel could
8704 simultaneously write to subdirs.el, producing a garbled file.
8705
8706 2012-06-26 Sam Steingold <sds@gnu.org>
8707
8708 * files.el (file-name-base): New convenience function.
8709 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8710 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8711 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8712 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8713 * textmodes/ispell.el, textmodes/reftex-ref.el:
8714 * textmodes/tex-mode.el: Use it.
8715 Did not touch cedet and org because they are maintained elsewhere.
8716
8717 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8718
8719 * calendar/calendar.el (calendar-exit): Don't try to delete or
8720 iconify last frame. See:
8721 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8722
8723 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8724
8725 * server.el (server-process-filter): Remember dir in the
8726 process's `server-client-directory' properties.
8727
8728 2012-06-24 Chong Yidong <cyd@gnu.org>
8729
8730 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8731 non-tag text.
8732
8733 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8734
8735 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8736
8737 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * help-fns.el (describe-variable): Don't croak when doc is not found.
8740 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8741 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8742 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8743 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8744 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8745 ((lambda ..) ..).
8746 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8747
8748 2012-06-23 Chong Yidong <cyd@gnu.org>
8749
8750 * info.el (Info-mouse-follow-link): Accept symbol values of
8751 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8752 (Info-fontify-node): Use Info-link-keymap for all navigation
8753 buttons, with link-args property to perform the desired action.
8754 (Info-link-keymap): Doc fix.
8755 (Info-next-link-keymap, Info-prev-link-keymap)
8756 (Info-up-link-keymap): Delete now-unused keymaps.
8757
8758 2012-06-23 Chong Yidong <cyd@gnu.org>
8759
8760 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8761
8762 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8763 system abbrevs.
8764
8765 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8766
8767 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8770 (bug#11719).
8771
8772 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8773 the requote function doesn't work properly (bug#11714).
8774
8775 2012-06-23 Glenn Morris <rgm@gnu.org>
8776
8777 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8778
8779 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 Further GV/CL cleanups.
8782 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8783 gv-expander.
8784 (gv--defun-declaration): New function.
8785 (defun-declarations-alist): Use it.
8786 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8787 (gv-place): Autoload.
8788 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8789 original definition of dotimes and dolist.
8790 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8791 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8792 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8793 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8794 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8795 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8796 to the function's definition.
8797 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8798 * window.el:
8799 * files.el:
8800 * faces.el:
8801 * env.el: Don't use CL.
8802
8803 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8804
8805 Support higher-resolution time stamps (Bug#9000).
8806
8807 * calendar/time-date.el (with-decoded-time-value): New arg
8808 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8809 (encode-time-value): New optional arg PICO. New type 3.
8810 (time-to-seconds) [!float-time]: Support the new picoseconds
8811 component if it's used.
8812 (seconds-to-time, time-subtract, time-add):
8813 Support ps-resolution time stamps as well.
8814
8815 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8816 (timerp): Timer vectors now have length 9, not 8.
8817 (timer--time): Support new-style (4-part) time stamps.
8818 (timer-next-integral-multiple-of-time): Time stamps now have
8819 picosecond resolution, so take a bit more care about rounding.
8820 (timer-relative-time, timer-inc-time): New optional arg psecs.
8821 (timer-set-time-with-usecs): Set psecs to 0.
8822 (timer--activate): Check psecs component, too.
8823
8824 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8825
8826 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8829 Move the non-essential binding to the post/pre-command-hook where it is
8830 more obviously correct.
8831
8832 * subr.el (read-passwd): Don't use a history at all.
8833 * savehist.el (savehist-save): Remove password saved accidentally
8834 because of the above bug.
8835
8836 2012-06-22 Bastien Guerry <bzg@gnu.org>
8837
8838 * files.el (toggle-read-only): Display a message telling whether
8839 the buffer is read-only or not (bug#11726).
8840
8841 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * emacs-lisp/gv.el: New file.
8844 * subr.el (push, pop): Extend to generalized variables.
8845 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8846 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8847 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8848 gv-define-simple-setter, and gv-define-expander.
8849 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8850 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8851 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8852 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8853 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8854 gv-letplace.
8855 (cl-defstruct): Don't define setf-method any more.
8856 * emacs-lisp/cl.el (flet): Don't autoload.
8857 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8858 (define-setf-expander, defsetf, define-modify-macro)
8859 (cl-struct-setf-expander): Move from cl-lib.el.
8860 * emacs-lisp/syntax.el:
8861 * emacs-lisp/ewoc.el:
8862 * emacs-lisp/smie.el:
8863 * emacs-lisp/cconv.el:
8864 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8865 (timer--time): Use gv-define-simple-setter.
8866 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8867 to avoid coding-system problems in subr.el. Adjust all users.
8868 (macroexp--maxsize, macroexp-small-p): New functions.
8869 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8870 * scroll-bar.el (scroll-bar-mode):
8871 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8872 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8873 * winner.el (winner-configuration, winner-make-point-alist)
8874 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8875 * files.el (locate-file-completion-table): Avoid list*.
8876
8877 2012-06-22 Chong Yidong <cyd@gnu.org>
8878
8879 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8880 (dired-create-files): Doc fix (Bug#11329).
8881 (dired-do-copy): Doc fix (Bug#11334).
8882 (dired-mark-read-string): Doc fix (Bug#11553).
8883
8884 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8885 Doc fix (Bug#11326).
8886 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8887 (dired-dwim-target): Doc fix.
8888
8889 * wdired.el (wdired-mode): Doc fix.
8890
8891 2012-06-22 Glenn Morris <rgm@gnu.org>
8892
8893 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8894 (pcmpl-rpm-cache-stamp-file): New constant.
8895 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8896 (pcmpl-rpm-packages): Optionally cache list of packages.
8897
8898 * pcmpl-rpm.el (pcmpl-rpm): New group.
8899 (pcmpl-rpm-query-options): New option.
8900 (pcmpl-rpm-packages): No need to inline it.
8901 Use pcmpl-rpm-query-options.
8902
8903 * calendar/calendar.el (calendar-in-read-only-buffer):
8904 Avoid some needless mode changes.
8905
8906 2012-06-21 Chong Yidong <cyd@gnu.org>
8907
8908 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8909 (desktop-path): Remove . from the default value (Bug#10977).
8910 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8911
8912 2012-06-20 Chong Yidong <cyd@gnu.org>
8913
8914 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8915
8916 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8917
8918 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8919 (bug#11201).
8920
8921 2012-06-20 Chong Yidong <cyd@gnu.org>
8922
8923 * term.el (term-window-width): Handle the case of a missing right
8924 fringe (Bug#8837).
8925 (term-check-size): Use window-text-height (Bug#5445).
8926 (term-mode): Use define-derived-mode. Minor cleanups.
8927 Set font-lock-defaults (Bug#7692).
8928 (term-move-columns, term-insert-char, term-emulate-terminal)
8929 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8930
8931 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8932
8933 * net/ange-ftp.el (ange-ftp-get-passwd):
8934 Bind `enable-recursive-minibuffers'.
8935 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8936
8937 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8938
8939 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8940
8941 2012-06-19 Glenn Morris <rgm@gnu.org>
8942
8943 * progmodes/python.el (python-mode): Derive from prog-mode.
8944
8945 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8946
8947 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8948 (edt-user-menu-bar-update-buffers): New functions.
8949 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8950
8951 2012-06-19 Chong Yidong <cyd@gnu.org>
8952
8953 * subr.el (with-selected-window): Preserve the selected window's
8954 terminal's top-frame (Bug#4702).
8955
8956 * window.el (save-selected-window): Likewise.
8957
8958 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * progmodes/python.el (python-rx-constituents): Move backquote.
8961 (python-skeleton-define, python-define-auxiliary-skeleton):
8962 Use `declare'.
8963
8964 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8965
8966 * minibuffer.el (read-file-name-default): Revert the patch from
8967 2012-06-17.
8968
8969 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8972 (pcase--u1, pcase--q1): Don't use apply-partially.
8973
8974 2012-06-18 Glenn Morris <rgm@gnu.org>
8975
8976 * progmodes/python.el (python-proc, python-buffer)
8977 (python-send-receive, python-send-string): Fix obsolete versions.
8978
8979 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8980
8981 * window.el (special-display-p): Completely remove stringp
8982 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8983
8984 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8985
8986 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8987
8988 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8989
8990 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8991 * net/tramp-sh.el (tramp-maybe-open-connection):
8992 Throw if `non-essential' is non-nil.
8993
8994 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8995
8996 * window.el (special-display-p): Signal an error if BUFFER-NAME
8997 is not a string (Bug#11713).
8998
8999 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9000
9001 * progmodes/python.el (python-info-beginning-of-backslash):
9002 Rename from python-info-beginning-of-backlash, as a spelling fix.
9003
9004 2012-06-17 Chong Yidong <cyd@gnu.org>
9005
9006 * term.el (term-emulate-terminal): If term-check-size is called,
9007 move point to the process mark without resetting point (Bug#4635).
9008
9009 2012-06-17 Glenn Morris <rgm@gnu.org>
9010
9011 * international/mule-cmds.el (mule-menu-keymap)
9012 (set-language-environment, set-locale-environment): Doc tweaks.
9013
9014 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9015
9016 * cus-face.el (custom-face-attributes): Add wave-style underline
9017 attribute.
9018 * faces.el (set-face-attribute): Update docstring to describe
9019 wave-style underline attribute.
9020
9021 2012-06-16 Chong Yidong <cyd@gnu.org>
9022
9023 * term/xterm.el (terminal-init-xterm): Discard input before
9024 querying background mode (Bug#10959).
9025
9026 2012-06-16 Stefan Merten <smerten@oekonux.de>
9027
9028 * textmodes/rst.el: Added and corrected some comments.
9029 (rst-re-alist-def): Improve symbol syntax.
9030 (rst-mode-syntax-table): Correct syntax entries.
9031 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9032 (rst-official-version, rst-official-cvs-rev): Update version
9033 information.
9034
9035 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9036
9037 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9038 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9039
9040 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9041
9042 * progmodes/python.el: New python.el merge.
9043 (python-guess-indent): Obsolete var.
9044 (python-indent-guess-indent-offset): New defcustom.
9045 (python-indent): Obsolete var.
9046 (python-indent-offset): New defcustom.
9047 (python-python-command, python-jython-command): Delete var.
9048 (python-shell-interpreter): New defcustom.
9049 (python-pdbtrack-do-tracking-p): Delete var.
9050 (python-pdbtrack-activate): New defcustom.
9051 (python-use-skeletons): Obsolete var.
9052 (python-skeleton-autoinsert): New defcustom.
9053 (inferior-python-filter-regexp, python-continuation-offset)
9054 (python-honour-comment-indentation, python-indent-string-contents)
9055 (python-jython-packages, python-mode-hook)
9056 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9057 (python-shell-prompt-alist)
9058 (python-source-modes): Delete defcustoms.
9059 (python-check-buffer-name, python-eldoc-setup-code)
9060 (python-eldoc-string-code, python-ffap-setup-code)
9061 (python-ffap-string-code, python-fill-comment-function)
9062 (python-fill-decorator-function, python-fill-paren-function)
9063 (python-fill-string-function, python-imenu-include-defun-type)
9064 (python-imenu-make-tree, python-imenu-subtree-root-label)
9065 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9066 (python-shell-compilation-regexp-alist)
9067 (python-shell-completion-module-string-code)
9068 (python-shell-completion-pdb-string-code)
9069 (python-shell-completion-setup-code)
9070 (python-shell-completion-string-code)
9071 (python-shell-enable-font-lock, python-shell-exec-path)
9072 (python-shell-extra-pythonpaths)
9073 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9074 (python-shell-process-environment)
9075 (python-shell-prompt-block-regexp)
9076 (python-shell-prompt-output-regexp)
9077 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9078 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9079 (python-shell-virtualenv-path): New defcustoms.
9080 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9081 (inferior-python-mode-syntax-table, python--prompt-regexp)
9082 (python-buffer, python-command python-python-command)
9083 (python-default-template, python-imports, python-indent-index)
9084 (python-indent-list, python-indent-list-length)
9085 (python-mode-running, python-pdbtrack-is-tracking-p)
9086 (python-preoutput-continuation, python-preoutput-leftover)
9087 (python-preoutput-result, python-preoutput-skip-next-prompt)
9088 (python-prev-dir/file, python-recursing)
9089 (python-saved-check-command, python-version-checked)
9090 (python-which-func-length-limit)
9091 (view-return-to-alist): Delete vars.
9092 (python-check-custom-command, python-dotty-syntax-table)
9093 (python-imenu-index-alist, python-indent-current-level)
9094 (python-indent-dedenters, python-indent-levels)
9095 (python-nav-beginning-of-defun-regexp)
9096 (python-nav-list-defun-positions-cache)
9097 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9098 (python-shell-internal-buffer)
9099 (python-skeleton-available): New vars.
9100 (def-python-skeleton): Delete macro.
9101 (python-skeleton-define): New macro.
9102 (python-define-auxiliary-skeleton, python-rx): New macros.
9103 (python-insert-class): Delete command.
9104 (python-skeleton-class): New command.
9105 (python-insert-def): Delete command.
9106 (python-skeleton-def): New command.
9107 (python-insert-for): Delete command.
9108 (python-skeleton-for): New command.
9109 (python-insert-if): Delete command.
9110 (python-skeleton-if): New command.
9111 (python-insert-try/except, python-insert-try/finally): Delete commands.
9112 (python-skeleton-try): New command.
9113 (python-insert-while): Delete command.
9114 (python-skeleton-while): New command.
9115 (python-backspace): Delete command.
9116 (python-indent-dedent-line-backspace): New command.
9117 (python-electric-colon): Delete command.
9118 (python-indent-electric-colon): New command.
9119 (python-guess-indent): Delete command.
9120 (python-indent-guess-indent-offset): New command.
9121 (python-shift-left): Delete command.
9122 (python-indent-shift-left): New command.
9123 (python-shift-right): Delete command.
9124 (python-indent-shift-right): New command.
9125 (python-find-function): Delete command.
9126 (python-nav-jump-to-defun): New command.
9127 (python-next-statement): Delete command.
9128 (python-nav-forward-sentence): New command.
9129 (python-previous-statement): Delete command.
9130 (python-nav-backward-sentence): New command.
9131 (python-fill-paragraph): Delete command.
9132 (python-fill-paragraph-function): New command.
9133 (python-send-buffer): Delete command.
9134 (python-shell-send-buffer): New command.
9135 (python-send-defun): Delete command.
9136 (python-shell-send-defun): New command.
9137 (python-send-region, python-send-region-and-go): Delete commands.
9138 (python-shell-send-region)
9139 (python-shell-switch-to-shell): New commands.
9140 (python-send-string): Delete command.
9141 (python-shell-send-string): New command.
9142 (python-switch-to-python): Delete command.
9143 (python-shell-switch-to-shell): New command.
9144 (python-describe-symbol): Delete command.
9145 (python-eldoc-at-point): New command.
9146 (python--set-prompt-regexp, python-args-to-list)
9147 (python-after-info-look, python-check-version)
9148 (python-check-comint-prompt, python-find-imports)
9149 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9150 (python-unload-function, python-expand-template)
9151 (python-maybe-jython, python-preoutput-filter)
9152 (python-pdbtrack-get-source-buffer)
9153 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9154 (python-pdbtrack-toggle-stack-tracking)
9155 (python-pdbtrack-track-stack-file, python-initial-text)
9156 (python-first-word, python-comment-line-p, python-send-command)
9157 (python-setup-brm, python-sentinel, python-set-proc)
9158 (python-skip-out, python-input-filter, python-outdent-p)
9159 (python-outline-level, python-backslash-continuation-line-p)
9160 (python-end-of-block, python-end-of-statement, python-mark-block)
9161 (python-beginning-of-block, python-beginning-of-statement)
9162 (python-blank-line-p, python-beginning-of-string)
9163 (python-open-block-statement-p): Delete functions.
9164 (python-indent-line, python-indent-line-1): Delete functions.
9165 (python-indent-line): New function.
9166 (python-indentation-levels): Delete function.
9167 (python-indent-calculate-levels): New function.
9168 (python-proc): Delete function.
9169 (python-shell-get-process): New function.
9170 (python-send-receive): Delete function.
9171 (python-shell-send-string-no-output): New function.
9172 (python-module-path): Delete function.
9173 (python-ffap-module-path): New function.
9174 (python-completion-at-point)
9175 (python-symbol-completions): Delete functions.
9176 (python-completion-complete-at-point): New function.
9177 (python-load-file): Delete function.
9178 (python-shell-send-file): New function.
9179 (python-calculate-indentation): Delete function.
9180 (python-indent-calculate-indentation): New function.
9181 (python-skip-comments/blanks): Delete function.
9182 (python-util-forward-comment): New function.
9183 (python-continuation-line-p): Delete function.
9184 (python-info-continuation-line-p): New function.
9185 (python-which-func, python-current-defun): Delete function.
9186 (python-info-current-defun): New function.
9187 (python-beginning-of-defun): Delete function.
9188 (python-nav-beginning-of-defun): New function.
9189 (python-close-block-statement-p)
9190 (python-block-end-p): Delete function.
9191 (python-info-closing-block): New function.
9192 (python-comint-output-filter-function)
9193 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9194 (python-fill-comment, python-fill-decorator, python-fill-paren)
9195 (python-fill-string, python-imenu-make-element-tree)
9196 (python-imenu-make-tree, python-imenu-tree-assoc)
9197 (python-indent-context, python-indent-dedent-line)
9198 (python-indent-line-function)
9199 (python-indent-post-self-insert-function)
9200 (python-indent-toggle-levels)
9201 (python-info-assignment-continuation-line-p)
9202 (python-info-beginning-of-backlash)
9203 (python-info-block-continuation-line-p)
9204 (python-info-closing-block-message)
9205 (python-info-line-ends-backslash-p)
9206 (python-info-looking-at-beginning-of-defun)
9207 (python-info-ppss-context, python-info-ppss-context-type)
9208 (python-nav-list-defun-positions, python-nav-read-defun)
9209 (python-nav-sentence-end, python-nav-sentence-start)
9210 (python-pdbtrack-comint-output-filter-function)
9211 (python-pdbtrack-set-tracked-buffer)
9212 (python-shell-calculate-exec-path)
9213 (python-shell-calculate-process-environment)
9214 (python-shell-completion--do-completion-at-point)
9215 (python-shell-completion--get-completions)
9216 (python-shell-completion-complete-at-point)
9217 (python-shell-completion-complete-or-indent)
9218 (python-shell-get-or-create-process)
9219 (python-shell-get-process-name)
9220 (python-shell-internal-get-or-create-process)
9221 (python-shell-internal-get-process-name)
9222 (python-shell-internal-send-string, python-shell-make-comint)
9223 (python-shell-parse-command, python-shell-send-setup-code)
9224 (python-skeleton-add-menu-items)
9225 (python-util-clone-local-variables, python-util-position)
9226 (run-python-internal, python-indentation-levels)
9227 (python-nav-beginning-of-defun)
9228 (python-completion-complete-at-point): New functions.
9229 (run-python): Change arguments. New API requirements.
9230
9231 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9234 (bug#11649).
9235
9236 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9237 (macroexp--expand-all): Use it.
9238
9239 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9240 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9241 Use `cl-function' instead.
9242
9243 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9246 Suggested by Stefan Monnier while discussing bug#11657.
9247
9248 2012-06-14 Sam Steingold <sds@gnu.org>
9249
9250 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9251
9252 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9253
9254 * play/doctor.el (doctor-doc): Remove parameter and use
9255 doctor-sent instead of sent.
9256 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9257
9258 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * files.el: Require cl-lib.
9261 (file-name-non-special): Replace case -> cl-case.
9262
9263 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9264
9265 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9266 mapping from #' to function*.
9267
9268 2012-06-13 Chong Yidong <cyd@gnu.org>
9269
9270 * mouse.el (mouse-drag-track): Do not set the mark if the user
9271 releases the mouse without selecting anything (Bug#11588).
9272
9273 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9276 as well (bug#11646).
9277
9278 * loadup.el: Count byte-code functions as well.
9279
9280 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9281 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9282
9283 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9284 (bug#11649). Add cl-defun and cl-defmacro.
9285
9286 2012-06-13 Drew Adams <drew.adams@oracle.com>
9287
9288 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9289 Fix last change.
9290
9291 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9292
9293 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9294 Otherwise, it blocks in batch mode.
9295
9296 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9297
9298 * help-mode.el (bookmark-make-record-default): Declare.
9299
9300 2012-06-13 Chong Yidong <cyd@gnu.org>
9301
9302 * emacs-lisp/package.el (list-packages): Compute a list of
9303 packages that are newly-available since the last list-packages
9304 invocation.
9305 (package-menu--new-package-list): New var.
9306 (package-menu--generate, package-menu--print-info)
9307 (package-menu--status-predicate, package-menu-mark-install):
9308 Handle new status label "new".
9309
9310 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9313 conversion to backquotes.
9314
9315 2012-06-12 Chong Yidong <cyd@gnu.org>
9316
9317 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9318 Rename from gud-inhibit-global-bindings.
9319
9320 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9321
9322 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9323 hook from nxml-glyph-set-hook.
9324
9325 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9326 declaration.
9327
9328 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9329
9330 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9331 Convert to defcustom.
9332
9333 2012-06-12 Drew Adams <drew.adams@oracle.com>
9334
9335 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9336 New functions.
9337 (help-mode): Use them.
9338
9339 2012-06-11 Glenn Morris <rgm@gnu.org>
9340
9341 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9342 Use preprocessor face for directives.
9343 (fortran-directive-re): Doc fix.
9344
9345 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9348 conversion to backquotes (bug#11652).
9349
9350 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9351 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9352 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9353 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9354 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9355 (cl-ninth, cl-tenth): Mark them as inlinable.
9356 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9357 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9358 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9359 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9360 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9361 (cl-list*, cl-adjoin): Don't put an autoload manually.
9362 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9363 (cl--compiler-macro-list*): Add autoload cookie.
9364 (cl--compiler-macro-cXXr): New function.
9365
9366 * help-fns.el (help-fns--compiler-macro): New function extracted from
9367 describe-function-1; follow aliases and use `compiler-macro' property.
9368 (describe-function-1): Use it.
9369
9370 2012-06-11 Chong Yidong <cyd@gnu.org>
9371
9372 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9373 is uninstalled, if imagemagick is installed.
9374
9375 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * emacs-lisp/cl-lib.el: Use lexical-binding.
9378 (cl-map-extents, cl-maclisp-member): Remove.
9379 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9380 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9381 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9382 * emacs-lisp/cl-extra.el: Use lexical-binding.
9383 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9384 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9385 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9386 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9387 * emacs-lisp/cl-seq.el: Use lexical-binding.
9388 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9389 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9390 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9391 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9392 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9393 CL's internals.
9394
9395 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9396
9397 Sync with Tramp 2.2.6-pre.
9398
9399 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9400 `print-length' and `print-level' to nil, in order to avoid
9401 truncation. Reported by Christopher Schmidt
9402 <christopher@ristopher.com>.
9403
9404 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9405
9406 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9407 New defmacro.
9408 (tramp-compat-copy-directory): Add optional argument
9409 COPY-CONTENTS. It is not handled yet.
9410
9411 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9412 (tramp-ftp-file-name-p): Simplify.
9413
9414 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9415 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9416 connection vector.
9417
9418 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9419 (tramp-methods): Do not use `tramp-password-end-of-line'.
9420 (tramp-completion-function-alist-putty): Handle UNIX case.
9421 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9422 (tramp-do-file-attributes-with-stat)
9423 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9424 gid as real numbers. They could run out of integer range on cygwin.
9425 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9426 (tramp-sh-handle-expand-file-name): Handle hops.
9427 (tramp-open-connection-setup-interactive-shell):
9428 Use `tramp-cleanup'. Move check for busyboxes ...
9429 (tramp-find-shell): ... here. Simplify implementation.
9430 Set "remote-shell" property also for alternative shells.
9431 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9432 If failing, a regular file would be written otherwise.
9433 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9434 (tramp-find-inline-encoding): Cache the coding commands in the
9435 process cache. Apply test command on the remote side, if defined.
9436 (tramp-find-inline-compress): Cache the compress commands in the
9437 process cache.
9438 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9439 when requested. Handle hops.
9440 (tramp-current-connection): New defvar.
9441 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9442 Throw `suppress', if there was a failed connection shortly before.
9443 Handle user interrupt. (Bug#10187)
9444 (tramp-get-inline-compress, tramp-get-inline-coding):
9445 Read connection properties from the process cache.
9446
9447 * net/tramp-smb.el (tramp-smb-server-version)
9448 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9449 New defconsts.
9450 (tramp-smb-prompt): Extend for powershell prompt.
9451 (tramp-smb-file-name-handler-alist): Add handlers for
9452 `process-file', `shell-command' and `start-file-process'.
9453 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9454 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9455 (tramp-smb-file-name-p): Simplify.
9456 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9457 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9458 (tramp-smb-shell-quote-argument): New defuns.
9459 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9460 Implement using "tar". By this, time-stamps are preserved.
9461 (tramp-smb-handle-copy-file): Handle also the case of directories.
9462 (tramp-smb-do-file-attributes-with-stat)
9463 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9464 Use `tramp-get-connection-buffer').
9465 (tramp-smb-handle-rename-file): Use "rename", when source and
9466 target are on the same share.
9467 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9468 Use `tramp-smb-server-version'.
9469 (tramp-smb-wait-for-output): Remove prompt.
9470
9471 * net/tramp.el (top): Require 'cl.
9472 (tramp-methods, tramp-rsh-end-of-line):
9473 Remove `tramp-password-end-of-line' from docstring.
9474 (tramp-save-ad-hoc-proxies): New defcustom.
9475 (tramp-completion-function-alist): Adapt docstring.
9476 (tramp-default-password-end-of-line): Remove defcustom.
9477 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9478 (tramp-user-regexp, tramp-file-name-regexp-unified)
9479 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9480 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9481 (tramp-remote-file-name-spec-regexp): New defconst.
9482 (tramp-file-name-structure): Extend structure for hops.
9483 (tramp-get-method-parameter): Move up.
9484 (tramp-file-name-p, tramp-dissect-file-name)
9485 (with-parsed-tramp-file-name): Handle hops.
9486 (tramp-file-name-hop): New defun.
9487 (tramp-make-tramp-file-name): New optional arg HOP.
9488 (tramp-message-show-progress-reporter-message): New defvar.
9489 (tramp-with-progress-reporter): Use it. We cannot use
9490 `tramp-message-show-message' here, because this suppresses also
9491 error buffers.
9492 (tramp-error-with-buffer): Suppress buffer view, if
9493 `tramp-message-show-message' is nil.
9494 Use `tramp-get-connection-buffer'.
9495 (tramp-cleanup): New defun.
9496 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9497 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9498 an error unchanged.
9499 (tramp-completion-handle-file-name-all-completions): Handle hops.
9500 Fix an error when called from ido.
9501 (tramp-completion-dissect-file-name): Use better local variable
9502 name. Add hop to the vector.
9503 (tramp-handle-insert-file-contents): Use progress-reporter for the
9504 whole scenario.
9505 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9506 to `t'.
9507 (tramp-check-for-regexp): Simplify search.
9508 (tramp-enter-password): Remove it. Move implementation ...
9509 (tramp-action-password): ... here.
9510 (tramp-mode-string-to-int, tramp-local-host-p)
9511 (tramp-make-tramp-temp-file, tramp-read-passwd)
9512 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9513 Set tramp-autoload cookie.
9514
9515 * net/trampver.el: Update release number.
9516
9517 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9518 Michael Albinus <michael.albinus@gmx.de>
9519
9520 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9521 (tramp-parse-group, tramp-parse-file)
9522 (tramp-parse-shostkeys-sknownhosts): New defuns.
9523 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9524 (tramp-parse-shosts-group, tramp-parse-sconfig)
9525 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9526 (tramp-parse-sknownhosts, tramp-parse-hosts)
9527 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9528 Use them.
9529 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9530 (tramp-parse-putty-group): Don't narrow.
9531 (tramp-parse-putty): Make a loop.
9532 (tramp-file-name-handler): Catch the `suppress' signal.
9533
9534 2012-06-11 Chong Yidong <cyd@gnu.org>
9535
9536 * image.el (imagemagick-register-types): Put the ImageMagick entry
9537 at the end of image-type-file-name-regexps.
9538
9539 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9540
9541 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9542 (pcase, pcase-let*, pcase-dolist): Use them.
9543
9544 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * emacs-lisp/pcase.el (pcase--let*): New function.
9547 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9548 (pcase--expand): Use macroexp-let².
9549
9550 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9551
9552 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9553 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9554 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9555 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9556 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9557 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9558
9559 2012-06-10 Glenn Morris <rgm@gnu.org>
9560
9561 * mail/rmail.el (rmail-yank-current-message): Leave point at
9562 correct position. (Bug#11660)
9563
9564 2012-06-10 Chong Yidong <cyd@gnu.org>
9565
9566 * allout-widgets.el: Fix code header.
9567
9568 2012-06-10 Chong Yidong <cyd@gnu.org>
9569
9570 * cus-edit.el (customize-changed-options-previous-release):
9571 Bump to 24.1.
9572
9573 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9574
9575 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9576
9577 2012-06-09 Chong Yidong <cyd@gnu.org>
9578
9579 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9580
9581 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9582
9583 * window.el (special-display-popup-frame): Don't use
9584 window--display-buffer (Bug#11651).
9585
9586 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9587
9588 Fix parallel builds: make sure loaddefs.el is not being written
9589 while Lisp files are compiled.
9590 (compile): Don't depend on 'mh-autoloads'.
9591 (compile-CMD, compile-SH): Depend on 'autoloads'.
9592 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9593
9594 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9595
9596 2012-06-09 Chong Yidong <cyd@gnu.org>
9597
9598 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9599 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9600 Doc fixes (Bug#11225).
9601
9602 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9605 a function if there's a clear indication that it has a compiler-macro.
9606 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9607 (macro-declarations-alist): Add arglist to declaration functions.
9608 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9609 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9610 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9611 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9612 Also add autoload to find the compiler macro.
9613 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9614 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9615 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9616 (cl--compiler-macro-get): New functions, replacing calls to
9617 cl-define-compiler-macro.
9618 (cl-typep) [compiler-macro]: Use macroexp-let².
9619
9620 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9621
9622 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9623 string properly, fixes Bug#11473.
9624
9625 2012-06-08 Chong Yidong <cyd@gnu.org>
9626
9627 * faces.el (set-face-attribute): Doc fix.
9628 (modify-face): Don't use :bold and :italic.
9629 (error, warning, success): Tweak definitions.
9630
9631 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9632 (custom-modified, custom-set, custom-changed, custom-themed)
9633 (custom-saved, custom-button, custom-button-mouse)
9634 (custom-button-pressed, custom-state, custom-comment-tag)
9635 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9636 (custom-group-subtitle): Use new-style face specs.
9637 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9638 (custom-set-face, custom-changed-face, custom-saved-face)
9639 (custom-button-face, custom-button-pressed-face)
9640 (custom-documentation-face, custom-state-face)
9641 (custom-comment-face, custom-comment-tag-face)
9642 (custom-variable-tag-face, custom-variable-button-face)
9643 (custom-face-tag-face, custom-group-tag-face-1)
9644 (custom-group-tag-face): Remove obsolete face alias.
9645
9646 * epa.el (epa-validity-high, epa-validity-medium)
9647 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9648 (epa-field-name, epa-field-body):
9649 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9650 (font-lock-keyword-face, font-lock-builtin-face)
9651 (font-lock-function-name-face, font-lock-variable-name-face)
9652 (font-lock-type-face, font-lock-constant-face):
9653 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9654 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9655 * speedbar.el (speedbar-button-face, speedbar-file-face)
9656 (speedbar-directory-face, speedbar-tag-face)
9657 (speedbar-selected-face, speedbar-highlight-face)
9658 (speedbar-separator-face):
9659 * whitespace.el (whitespace-newline, whitespace-space)
9660 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9661 (whitespace-line, whitespace-space-before-tab)
9662 (whitespace-space-after-tab, whitespace-indentation)
9663 (whitespace-empty):
9664 * emulation/cua-base.el (cua-global-mark):
9665 * eshell/em-prompt.el (eshell-prompt):
9666 * net/newst-plainview.el (newsticker-new-item-face)
9667 (newsticker-old-item-face, newsticker-immortal-item-face)
9668 (newsticker-obsolete-item-face, newsticker-date-face)
9669 (newsticker-statistics-face, newsticker-default-face):
9670 * net/newst-reader.el (newsticker-feed-face)
9671 (newsticker-extra-face, newsticker-enclosure-face):
9672 * net/newst-treeview.el (newsticker-treeview-face)
9673 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9674 (newsticker-treeview-immortal-face)
9675 (newsticker-treeview-obsolete-face)
9676 (newsticker-treeview-selection-face):
9677 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9678 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9679 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9680 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9681 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9682 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9683 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9684 (mpuz-text):
9685 * progmodes/vera-mode.el (vera-font-lock-number)
9686 (vera-font-lock-function, vera-font-lock-interface):
9687 * textmodes/table.el (table-cell): Use new-style face specs, and
9688 don't use the old :bold and :italic attributes.
9689
9690 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9691 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9692 (ebrowse-member-class, ebrowse-progress): Likewise.
9693 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9694 (ebrowse-file-name-face, ebrowse-default-face)
9695 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9696 (ebrowse-progress-face): Remove obsolete faces.
9697
9698 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9699 Inherit from error and warning faces respectively.
9700
9701 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9702 Likewise.
9703 (flyspell-incorrect-face, flyspell-duplicate-face):
9704 Remove obsolete aliases.
9705
9706 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9707
9708 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9709 Avoid infloop.
9710
9711 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * startup.el (argv, argi): Make lexically scoped.
9714 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9715 * emacs-lisp/cl-macs.el: Use lexical-binding.
9716 Rename cl-bind-* to cl--bind-*.
9717 * files.el: Don't require `cl' since it doesn't use it.
9718 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9719
9720 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9721
9722 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9723 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9724 instead of calling external sort utility.
9725 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9726
9727 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9728
9729 * descr-text.el (describe-char): Mention how to insert the
9730 character, if the current input method doesn't support it.
9731 See the discussion in this thread for the details:
9732 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9733
9734 2012-06-08 Sam Steingold <sds@gnu.org>
9735
9736 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9737 XF86Back to previous-buffer.
9738 (minibuffer-local-map): Bind them to next-history-element and
9739 previous-history-element respectively.
9740 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9741 help-go-back respectively.
9742 * info.el (Info-mode-map): Bind them to Info-history-forward and
9743 Info-history-back respectively.
9744 These are the keys next to Up on the ThinkPad keyboard.
9745
9746 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9749 * emacs-lisp/cl-macs.el: Provide itself.
9750 (cl--labels-convert-cache): New var.
9751 (cl--labels-convert): New function.
9752 (cl-flet, cl-labels): New implementation with new semantics, relying on
9753 lexical-binding.
9754 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9755 (cl-closure-vars, cl--function-convert-cache)
9756 (cl--function-convert): Move from cl-macs.el.
9757 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9758 rename by removing the "cl-" prefix.
9759 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9760
9761 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9764 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9765 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9766 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9767 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9768 (cl-hash-table-count): Add old compatibility aliases.
9769
9770 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9771 Use macroexpand-all-environment instead.
9772 (cl--old-macroexpand): New var.
9773 (cl--sm-macroexpand): New function.
9774 (cl-symbol-macrolet): Use it during macro expansion.
9775 (cl--function-convert-cache): New var.
9776 (cl--function-convert): New function, extracted from
9777 cl-macroexpand-all.
9778 (cl-lexical-let): Use it.
9779
9780 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9781 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9782 (cl-member): Remove old alias.
9783
9784 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9785 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9786 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9787 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9788 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9789 (cl-macroexpand-cmacs): Remove var.
9790 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9791 Use macroexpand-all instead.
9792
9793 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9796 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9797 (macroexp-copyable-p): New functions and macros.
9798 * emacs-lisp/edebug.el (edebug-unwrap):
9799 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9800 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9801 (pcase--let*): Remove.
9802 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9803 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9804 macroexp-const-p instead.
9805 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9806
9807 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9808 instead of "cl-" for internal definitions. Use macroexp-const-p.
9809 (cl-old-bc-file-form): Remove var.
9810 (cl-const-exprs-p): Remove fun.
9811 (cl-labels, cl-macrolet): Use backquote.
9812 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9813 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9814 (cl-define-setf-expander): Rename from cl-define-setf-method.
9815 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9816
9817 * international/mule-cmds.el: Don't require CL.
9818 (view-hello-file): Don't use `letf'.
9819
9820 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * tmm.el (tmm-prompt): Use string-prefix-p.
9823 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9824 (tmm-add-prompt): Use minibuffer-completion-help.
9825 (tmm-delete-map): Remove.
9826
9827 * subr.el (kbd): Make it its own function.
9828
9829 2012-06-07 Stefan Merten <smerten@oekonux.de>
9830
9831 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9832 Silence compiler warnings. Fix versions.
9833 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9834 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9835 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9836 (rst-package-emacs-version-alist): Correct Emacs version to
9837 represent major merge with upstream.
9838 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9839
9840 2012-06-06 Glenn Morris <rgm@gnu.org>
9841
9842 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9843 Only print environment variables if set.
9844
9845 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9848 (macroexp--cons): Rename from maybe-cons.
9849 (macroexp--accumulate): Rename from macroexp-accumulate.
9850 (macroexp--all-forms): Rename from macroexpand-all-forms.
9851 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9852 (macroexp--expand-all): Rename from macroexpand-all-1.
9853
9854 2012-06-06 Sam Steingold <sds@gnu.org>
9855
9856 * calendar/calendar.el (calendar-in-read-only-buffer):
9857 Call `special-mode' to enable the standard read-only keybindings.
9858
9859 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9862 with "loading" messages (bug#11635).
9863
9864 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9865
9866 * files.el (enable-remote-dir-locals): New option.
9867 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9868
9869 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9870 Ensure, that the temp directory is local.
9871
9872 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9873 `temporary-file-directory'.
9874
9875 * progmodes/python.el (python-send-region): Ensure, that the
9876 temporary file is created also in the remote case.
9877
9878 2012-06-06 Glenn Morris <rgm@gnu.org>
9879
9880 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9881 (vc-rcs-update-changelog): Use it.
9882
9883 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9884
9885 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9886 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9887 (vc-sccs-diff): Replace use of the external vcdiff script.
9888
9889 2012-06-05 Glenn Morris <rgm@gnu.org>
9890
9891 * ledit.el: Move to obsolete/.
9892
9893 2012-06-05 Sam Steingold <sds@gnu.org>
9894
9895 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9896 patch (Bug#11140).
9897
9898 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * emacs-lisp/cust-print.el: Move to obsolete.
9901
9902 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9903 compiler-macro expansion.
9904
9905 Add native compiler-macro support.
9906 * emacs-lisp/macroexp.el (macroexpand-all-1):
9907 Support compiler-macros directly. Properly follow aliases and apply
9908 the compiler macros more thoroughly.
9909 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9910 macroexpand now properly follows aliases.
9911 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9912 (cl-compiler-macroexpand): Use new prop.
9913 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9914
9915 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9916
9917 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9918
9919 * window.el (get-lru-window, get-mru-window, get-largest-window):
9920 New argument NOT-SELECTED to avoid picking the selected window.
9921 (window--display-buffer-1, window--display-buffer-2): Replace by
9922 new function window--display-buffer
9923 (display-buffer-same-window, display-buffer-reuse-window)
9924 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9925 Use window--display-buffer.
9926 (display-buffer-use-some-window): Remove temporary dedication
9927 hack by calling get-lru-window and get-largest-window with
9928 NOT-SELECTED argument non-nil. Call window--display-buffer.
9929
9930 2012-06-05 Glenn Morris <rgm@gnu.org>
9931
9932 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9933 Replace external vcdiff script.
9934
9935 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9938
9939 2012-06-04 Chong Yidong <cyd@gnu.org>
9940
9941 * image.el (imagemagick-types-inhibit): Revert last change.
9942 Add INFO and M.
9943 (imagemagick-enabled-types): Remove CIN and EPS*.
9944
9945 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * emacs-lisp/cl-lib.el: Rename from cl.el.
9948 * emacs-lisp/cl.el: New compatibility file.
9949 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9950 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9951 to obey the "cl-" prefix.
9952 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9953
9954 2012-06-03 Glenn Morris <rgm@gnu.org>
9955
9956 * emacs-lisp/authors.el (authors-aliases): Addition.
9957
9958 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9959 Fix :version.
9960
9961 2012-06-03 Stefan Merten <smerten@oekonux.de>
9962
9963 * textmodes/rst.el: Add comments.
9964 (rst-transition, rst-adornment): New faces.
9965 (rst-adornment-faces-alist): Make default safe to reevaluate.
9966 Fixes
9967 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9968 Improve customization tags.
9969 (rst-define-level-faces): Clarify meaning.
9970
9971 2012-06-03 Chong Yidong <cyd@gnu.org>
9972
9973 * progmodes/compile.el (compilation-mode-line-fail)
9974 (compilation-mode-line-run, compilation-mode-line-exit):
9975 New faces.
9976 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9977
9978 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9979
9980 * progmodes/which-func.el (which-func-update-ediff-windows):
9981 New function. Use it in ediff-select-hook (Bug#11478).
9982
9983 2012-06-03 Chong Yidong <cyd@gnu.org>
9984
9985 * bindings.el: Remove explicit help text from format-mode-line.
9986 It is now supplied by mode-line-default-help-echo.
9987 (mode-line-front-space, mode-line-end-spaces)
9988 (mode-line-misc-info): New variables.
9989 (mode-line-modes, mode-line-position): Move the default value to
9990 the variable definition.
9991 (mode-line-default-help-echo): New defcustom.
9992 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9993 (mode-line-modified-help-echo): New functions.
9994 (mode-line-mule-info, mode-line-modified): Use them.
9995 (mode-line-eol-desc, propertized-buffer-identification):
9996 Consistency fixes for help text.
9997 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9998 set-buffer-file-coding-system (Bug#289).
9999 (mode-line-mule-info-help-echo): Update help text.
10000
10001 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10002
10003 * simple.el (execute-extended-command): Set real-this-command
10004 (bug#11506).
10005
10006 2012-06-02 Chong Yidong <cyd@gnu.org>
10007
10008 Remove incorrect uses of "modeline" in comments, docstrings, and
10009 function/variable names (Bug#10329).
10010
10011 * cus-edit.el (mode-line):
10012 * dframe.el (dframe-mouse-hscroll):
10013 * emacs-lisp/re-builder.el:
10014 * emacs-lisp/easy-mmode.el (define-minor-mode):
10015 * frame.el (set-frame-name):
10016 * help.el (lookup-minor-mode-from-indicator):
10017 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10018 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10019 (c-toggle-hungry-state):
10020 * progmodes/antlr-mode.el (antlr-language-alist):
10021 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10022 * progmodes/vhdl-mode.el (vhdl-mode):
10023 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10024 * term/ns-win.el (ns-face-at-pos):
10025 * term/sup-mouse.el (sup-mouse-report):
10026 * textmodes/flyspell.el (flyspell-mode-line-string):
10027 * textmodes/ispell.el (ispell-highlight-face):
10028 * textmodes/reftex-global.el:
10029 * vc/vc-arch.el (vc-arch-mode-line-string):
10030 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10031 * vc/vc-git.el (vc-git-mode-line-string):
10032 * vc/vc-hooks.el (vc-display-status)
10033 (vc-default-mode-line-string):
10034 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10035
10036 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10037
10038 * dired.el (dired-sort-set-mode-line): Rename from
10039 dired-sort-set-modeline. All callers changed.
10040
10041 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10042 eshell-status-in-modeline.
10043
10044 * foldout.el (foldout-mode-line-string): Rename from
10045 foldout-modeline-string. All callers changed.
10046 (foldout-update-mode-line): Rename from foldout-update-modeline.
10047
10048 * subr.el (redraw-modeline): Make into obsolete alias.
10049
10050 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10051 timeclock-modeline-display. Make old name an alias.
10052 (timeclock-update-mode-line): Likewise. All callers changed.
10053 (timeclock-mode-line-display): No need to check before using
10054 add-hook.
10055 (timeclock-relative, timeclock-day-over-hook)
10056 (timeclock-use-elapsed, timeclock-mode-string)
10057 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10058
10059 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10060 crisp-mode-modeline-string.
10061
10062 * play/solitaire.el (solitaire-build-mode-line): Rename from
10063 solitaire-build-modeline. All callers changed.
10064
10065 * play/zone.el (zone-hiding-mode-line): Rename from
10066 zone-hiding-modeline. All callers changed.
10067 (zone): Remove unusued `modeline-hidden-level' property.
10068
10069 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10070 xscheme-modeline-initialize. All callers changed.
10071
10072 * strokes.el (strokes-lighter): Rename from
10073 strokes-modeline-string.
10074
10075 * textmodes/sgml-mode.el (html-face-tag-alist)
10076 (html-tag-face-alist): Use mode-line face instead of obsolete
10077 alias modeline.
10078
10079 2012-06-02 Stefan Merten <smerten@oekonux.de>
10080
10081 * textmodes/rst.el: Always require `cl'.
10082 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10083
10084 2012-06-02 Chong Yidong <cyd@gnu.org>
10085
10086 * image.el (imagemagick-enabled-types): Rename from
10087 imagemagick-types-enable. Add many more types.
10088 (imagemagick-types-inhibit): Change default to nil.
10089 (imagemagick-filter-types): Caller changed.
10090
10091 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * emacs-lisp/cl-macs.el: Use backquotes.
10094 (cl-transform-function-property): Use eval-and-compile rather than
10095 abusing `require'.
10096 (defstruct): Use declare-function instead of with-no-warnings.
10097
10098 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10099 (byte-compile-output-docform): Re-add the print-circle bindings.
10100 (byte-compile-fix-header): Use #$ just because it's shorter.
10101 (byte-compile-output-file-form): Remove defun/defmacro.
10102
10103 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10104
10105 * simple.el (choose-completion): Remove now obsolete binding for
10106 owindow.
10107
10108 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10109
10110 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10111 in order to avoid "Stack overflow in regexp matcher".
10112
10113 2012-05-31 Glenn Morris <rgm@gnu.org>
10114
10115 * image.el: For clarity, call imagemagick-register-types at
10116 top-level, rather than relying on a custom :initialize.
10117 (imagemagick-types-enable): New option. (Bug#11557)
10118 (imagemagick-filter-types): New function. (Bug#7406)
10119 (imagemagick-register-types): Use imagemagick-filter-types.
10120 If disabling support, remove elements altogether rather
10121 than using an impossible regexp.
10122 (imagemagick-types-inhibit): Give it the default init function.
10123
10124 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10127 Handle arbitrary file name lengths (Bug#11585).
10128
10129 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10130
10131 * desktop.el (desktop-read): Clear previous and next buffers for
10132 all windows and bury *Messages* buffer (bug#11556).
10133
10134 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 Add `declare' for `defun'. Align `defmacro's with it.
10137 * emacs-lisp/easy-mmode.el (define-minor-mode)
10138 (define-globalized-minor-mode): Don't autoload the var definitions.
10139 * emacs-lisp/byte-run.el: Use lexical-binding.
10140 (defun-declarations-alist, macro-declarations-alist): New vars.
10141 (defmacro, defun): Use them.
10142 (make-obsolete, define-obsolete-function-alias)
10143 (make-obsolete-variable, define-obsolete-variable-alias):
10144 Use `declare'.
10145 (macro-declaration-function): Mark obsolete.
10146 * emacs-lisp/autoload.el: Use lexical-binding.
10147 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10148
10149 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10150
10151 * textmodes/ispell.el (ispell-with-no-warnings):
10152 Define as a macro.
10153 (ispell-kill-ispell, ispell-change-dictionary):
10154 Use `called-interactively-p' for Emacs instead of obsolete
10155 `interactive-p'.
10156
10157 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10160 (macro-declaration-function): Move var from C code.
10161 (macro-declaration-function): Define function with defalias.
10162 * emacs-lisp/macroexp.el (macroexpand-all-1):
10163 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10164 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10165 defun/defmacro any more.
10166 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10167 Provide fallback for unknown arglist.
10168 (byte-compile-arglist-warn): Change calling convention.
10169 (byte-compile-output-file-form): Move print-vars binding.
10170 (byte-compile-output-docform): Simplify accordingly.
10171 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10172 (byte-compile-defmacro-declaration): Remove.
10173 (byte-compile-file-form-defmumble): Generalize to defalias.
10174 (byte-compile-output-as-comment): Return byte-positions.
10175 Simplify callers accordingly.
10176 (byte-compile-lambda): Use `assert'.
10177 (byte-compile-defun, byte-compile-defmacro): Remove.
10178 (byte-compile-file-form-defalias):
10179 Use byte-compile-file-form-defmumble.
10180 (byte-compile-defalias-warn): Remove.
10181
10182 2012-05-29 Stefan Merten <smerten@oekonux.de>
10183
10184 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10185 possible. Fix authors. Improve comments. Improve loading of `cl'.
10186
10187 (rst-mode-abbrev-table): Merge definition.
10188 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10189 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10190
10191 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10192
10193 * calendar/icalendar.el
10194 (icalendar-export-region): Export UID properly.
10195
10196 2012-05-29 Leo Liu <sdl.web@gmail.com>
10197 * calendar/icalendar.el (icalendar-import-format):
10198 Add `icalendar-import-format-uid' (Bug#11525).
10199 (icalendar-import-format-uid): New.
10200 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10201 Export UID.
10202
10203 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10206 different alternative patterns.
10207 (pcase-codegen): Be more careful to preserve identity.
10208 (pcase--u1): Don't forget to mark vars as used.
10209
10210 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10211 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10212 (byte-compile-from-buffer): ...rather than here.
10213
10214 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10215 functions from byte-compile-function-environment.
10216
10217 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10218
10219 * window.el (window-deletable-p): Avoid deleting the root window
10220 of a frame with an active minibuffer.
10221
10222 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10223
10224 * simple.el (choose-completion): Use quit-window (Bug#11567).
10225
10226 2012-05-29 Chong Yidong <cyd@gnu.org>
10227
10228 * whitespace.el (whitespace-cleanup): Fix usage of
10229 whitespace-empty-at-bob-regexp (Bug#11492).
10230
10231 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10232
10233 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10234 revert (Bug#11488).
10235
10236 2012-05-29 Juri Linkov <juri@jurta.org>
10237
10238 * isearch.el (isearch-mode-map): Bind `M-s _' to
10239 `isearch-toggle-symbol'. Bind `M-s c' to
10240 `isearch-toggle-case-fold'.
10241 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10242 (isearch-forward): Add `M-s _' to the docstring.
10243 (isearch-forward-symbol, isearch-toggle-case-fold)
10244 (isearch-symbol-regexp): New functions. (Bug#11381)
10245
10246 2012-05-29 Juri Linkov <juri@jurta.org>
10247
10248 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10249 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10250 a function, call it to get the regexp.
10251 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10252 property `isearch-message-prefix' instead of the string "word ".
10253 (isearch-search-fun-default): For the case of `isearch-word',
10254 return a lambda that calls re-search-forward/re-search-backward
10255 with a regexp returned by `word-search-regexp' or by the function
10256 in `isearch-word'.
10257
10258 2012-05-29 Juri Linkov <juri@jurta.org>
10259
10260 * isearch.el (isearch-search-fun-default): New function.
10261 (isearch-search-fun): Move default part to the new function
10262 `isearch-search-fun-default'.
10263 (isearch-search-fun-function): Set the default value to
10264 `isearch-search-fun-default'. (Bug#11381)
10265
10266 * comint.el (comint-history-isearch-end):
10267 Use `isearch-search-fun-default'.
10268 (comint-history-isearch-search): Use `isearch-search-fun-default'
10269 and remove spacial case for `isearch-word'.
10270 (comint-history-isearch-wrap): Remove spacial case for
10271 `isearch-word'.
10272
10273 * hexl.el (hexl-isearch-search-function):
10274 Use `isearch-search-fun-default'.
10275
10276 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10277 Use `word-search-regexp' for `isearch-word'.
10278
10279 * misearch.el (multi-isearch-search-fun):
10280 Use `isearch-search-fun-default'.
10281
10282 * simple.el (minibuffer-history-isearch-search):
10283 Use `isearch-search-fun-default' and remove spacial case for
10284 `isearch-word'.
10285 (minibuffer-history-isearch-wrap): Remove spacial case for
10286 `isearch-word'.
10287
10288 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10289 Remove spacial case for `isearch-word'.
10290 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10291
10292 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10293
10294 Decrease XEmacs incompatibilities.
10295 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10296 Use `string-match'.
10297 (flyspell-delete-region-overlays): Use alternative definition for
10298 XEmacs.
10299 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10300 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10301 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10302 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10303 `define-obsolete-face-alias' under XEmacs, but old method.
10304
10305 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10306 `with-no-warnings' definition or Emacs alias.
10307 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10308 (ispell-word): Do not use `region-p' if XEmacs.
10309
10310 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10311
10312 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10313 Check for `ispell-dictionary-base-alist' instead of full
10314 `ispell-dictionary-alist'.
10315 (ispell-init-process): Show spellchecker when starting new Ispell
10316 process.
10317
10318 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10321 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10322
10323 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10324
10325 * version.el (motif-version-string, gtk-version-string)
10326 (ns-version-string): Declare.
10327
10328 2012-05-27 Juri Linkov <juri@jurta.org>
10329
10330 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10331 after the `eval-defun-1' specialcaseing
10332 like in `edebug-eval-defun' (bug#10181).
10333
10334 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10335 like in `eval-defun-1'.
10336
10337 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10338
10339 * mail/sendmail.el (mail-yank-region):
10340 Recognize rmail-yank-current-message in addition to insert-buffer.
10341 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10342 a *mail* buffer created through rmail-start-mail with sendmail as
10343 mail-user-agent.
10344
10345 2012-05-27 Chong Yidong <cyd@gnu.org>
10346
10347 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10348 Default to 256 (Bug#11267).
10349
10350 * help.el (describe-mode): Doc fix.
10351
10352 2012-05-26 Glenn Morris <rgm@gnu.org>
10353
10354 * w32-fns.el (w32-init-info): Remove.
10355 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10356
10357 * info.el (info-initialize): For self-contained NS builds, put the
10358 included info/ directory at the front. (Bug#2791)
10359
10360 * paths.el (Info-default-directory-list): Make it a defcustom,
10361 mainly so that we can use custom-initialize-delay.
10362
10363 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * subr.el (buffer-has-markers-at): Mark obsolete.
10366
10367 * subr.el (lambda): Use declare.
10368
10369 * emacs-lisp/lisp-mode.el (lambda):
10370 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10371
10372 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10373
10374 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10375
10376 2012-05-26 Glenn Morris <rgm@gnu.org>
10377
10378 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10379
10380 2012-05-25 Glenn Morris <rgm@gnu.org>
10381
10382 * paths.el: Remove no-byte-compile.
10383 * loadup.el: No need to load paths.el uncompiled.
10384
10385 * image.el (imagemagick-types-inhibit): Doc fix.
10386
10387 * version.el: Remove no-byte-compile and associated formatting.
10388 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10389 is ancient code from when there was an "inc-vers.el".
10390
10391 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * progmodes/gdb-mi.el: Minor style changes.
10394 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10395 Turn into minor modes.
10396 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10397 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10398 (gdb-shell): Remove unneeded let-binding.
10399 (gdb-get-many-fields): Eliminate O(n²) behavior.
10400
10401 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10402
10403 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10404 platforms that don't link in fontset.c.
10405
10406 2012-05-25 Juri Linkov <juri@jurta.org>
10407
10408 Use the same diff color scheme as in modern VCSes (bug#10181).
10409
10410 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10411 to avoid confusion with `diff-added' that now uses green colors.
10412 (diff-removed): Use shades of red.
10413 (diff-added): Use shades of green.
10414 (diff-changed): Leave just the yellow color.
10415 (diff-use-changed-face): New variable.
10416 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10417 how to highlight context diff changes.
10418 (diff-refine-change): Use shades of yellow.
10419 (diff-refine-removed): New face that uses shades of red.
10420 (diff-refine-added): New face that uses shades of green.
10421 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10422 `diff-refine-removed' in the call to `smerge-refine-subst'
10423 depending on the value of `diff-use-changed-face'.
10424
10425 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10426 (smerge-other): Use shades of green.
10427 (smerge-base): Use shades of yellow.
10428 (smerge-refined-change): Empty face.
10429 (smerge-refined-removed): New face that uses shades of red.
10430 (smerge-refined-added): New face that uses shades of green.
10431 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10432 args `props-r' and `props-a', and use them. Doc fix.
10433 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10434 on its value use different faces `smerge-refined-change',
10435 `smerge-refined-removed', `smerge-refined-added' in the call to
10436 `smerge-refine-subst'.
10437
10438 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10439 Add face condition `min-colors 88' with shades of red.
10440 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10441 `min-colors 88' with shades of green.
10442 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10443 `min-colors 88' with shades of yellow.
10444
10445 2012-05-24 Glenn Morris <rgm@gnu.org>
10446
10447 * paths.el (prune-directory-list, remote-shell-program): Move to...
10448 * files.el (prune-directory-list, remote-shell-program): ...here.
10449 For the latter, delay initialization, prefer ssh, just search PATH.
10450
10451 * paths.el (term-file-prefix): Move to faces.el (the only user).
10452 * faces.el (term-file-prefix): Move here, make it a defcustom.
10453
10454 * paths.el (news-directory, news-path, news-inews-program):
10455 Move to gnus/nnspool.el.
10456
10457 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10458
10459 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10460 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10461 Make the latter a defcustom, with a delayed initialization.
10462
10463 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10464 These were deleted from Gnus itself late 2010.
10465
10466 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10467
10468 * progmodes/which-func.el (which-func-ff-hook):
10469 Check against user-error, not error.
10470
10471 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10472 cl-specs.el, which no longer exists.
10473
10474 2012-05-22 Glenn Morris <rgm@gnu.org>
10475
10476 * info.el (info-emacs-bug): New command.
10477 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10478 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10479
10480 2012-05-21 Glenn Morris <rgm@gnu.org>
10481
10482 * makefile.w32-in (update-subdirs-SH):
10483 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10484
10485 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10488
10489 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10490 Simplify Maven regexp, and make sure the file can't start with a space
10491 (bug#11517).
10492
10493 2012-05-21 Glenn Morris <rgm@gnu.org>
10494
10495 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10496 Scrap superfluous subshells.
10497
10498 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10499
10500 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10501 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10502
10503 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10504
10505 * calc/calc.el (calc-ensure-consistent-units): New variable.
10506
10507 * calc/calc-units.el (math-consistent-units-p)
10508 (math-check-unit-consistency): New functions.
10509 (calc-quick-units, calc-convert-units):
10510 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10511 is non-nil.
10512 (calc-extract-units): Fix typo.
10513
10514 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10517
10518 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10519 (flyspell-default-deplacement-commands): Don't spell check after
10520 repeated window/frame switches (e.g. triggered by mouse-movement).
10521 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10522 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10523 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10524 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10525 Remove unused vars.
10526 (flyspell-get-casechars, flyspell-get-not-casechars):
10527 Simplify; Don't bother removing a ] just to add it back.
10528 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10529
10530 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10531
10532 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10533 New functions.
10534 (math-function-table): Add support for more C functions.
10535
10536 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10537
10538 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10539 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10540 Protect delay handling for otherchars against empty otherchars.
10541
10542 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10545 their respective macro declarations.
10546 * skeleton.el (define-skeleton):
10547 * progmodes/compile.el (define-compilation-mode):
10548 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10549 (define-ibuffer-filter):
10550 * emacs-lisp/generic.el (define-generic-mode):
10551 * emacs-lisp/easy-mmode.el (define-minor-mode)
10552 (define-globalized-minor-mode):
10553 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10554 * emacs-lisp/byte-run.el (defsubst):
10555 * custom.el (deftheme): Add doc-string metadata.
10556
10557 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10558
10559 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10560
10561 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10564
10565 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10566 * emacs-lisp/cl-macs.el: Idem.
10567 * emacs-lisp/cl-specs.el: Remove.
10568
10569 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 Minor renaming of internal CL functions and variables.
10572 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10573 (cl--position): Rename from cl-position.
10574 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10575 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10576 (cl--random-state): Rename from *random-state*.
10577
10578 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10581 parens around the arg list (bug#11499).
10582
10583 2012-05-17 Juri Linkov <juri@jurta.org>
10584
10585 * isearch.el (word-search-regexp, word-search-backward)
10586 (word-search-forward, word-search-backward-lax)
10587 (word-search-forward-lax): Move functions from search.c
10588 (bug#10145, bug#11381).
10589
10590 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10591
10592 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10593 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10594 Delay for otherchars as for normal word components.
10595
10596 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * minibuffer.el (completion--sifn-requote): Fix last change.
10599 (minibuffer-local-must-match-filename-map):
10600 Move define-obsolete-variable-alias before its var.
10601
10602 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10605
10606 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10607 behavior.
10608 (completion--string-equal-p): New function.
10609 (completion--twq-all): Use it to get better assertion failure data.
10610
10611 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10612 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10613 (shell--requote-argument): New functions.
10614 (shell-completion-vars): Use them.
10615 (shell--parse-pcomplete-arguments): Rename from
10616 shell-parse-pcomplete-arguments.
10617 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10618 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10619 Obey comint-file-name-quote-list.
10620
10621 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10622 (smie-indent-keyword): Use it.
10623
10624 2012-05-14 Stefan Merten <smerten@oekonux.de>
10625
10626 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10627
10628 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * net/rlogin.el (rlogin-mode-map): Fix last change.
10631
10632 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10633
10634 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10635 the following \r\n using a single `process-send-string', since the
10636 Lotus SMTP server refuses to accept any commands if they are sent
10637 with two `process-send-string's (Bug#11444).
10638
10639 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10640
10641 * shell.el (shell-parse-pcomplete-arguments):
10642 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10643
10644 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10645
10646 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10647 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10648 (image-transform-width, image-transform-fit-width): New functions.
10649 (image-transform-properties): Use them.
10650 (image-transform-check-size): New function.
10651 (image-toggle-display-image): Use it (for testing).
10652 (image-transform-set-rotation): Reduce angle mod 360.
10653 Delete obsolete comment.
10654
10655 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10656
10657 * image-mode.el: Fix scaling (bug#11399).
10658 (image-transform-resize): Doc fix.
10659 (image-transform-properties): Default scale is 1 and height should
10660 be an integer.
10661
10662 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10663
10664 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10665 than hard-coding `car', to fix misbehavior when moving forward.
10666
10667 2012-05-13 Chong Yidong <cyd@gnu.org>
10668
10669 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10670 (tabulated-list-entries, tabulated-list-padding)
10671 (tabulated-list-sort-key): Make permanent-local.
10672
10673 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10674 (electric-buffer-list): Put electric buffer menu
10675 command descriptions in this docstring, instead of the docstring
10676 of electric-buffer-menu-mode. Code cleanups.
10677 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10678 Electric-buffer-menu-mode.
10679 (electric-buffer-update-highlight): Minor code cleanup.
10680
10681 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10682
10683 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10684 (Bug#11447)
10685
10686 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10687
10688 Move define-obsolete-variable-alias before the var's definition.
10689 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10690 * tooltip.el (tooltip-hook):
10691 * textmodes/reftex-toc.el (reftex-toc-map):
10692 * textmodes/reftex-sel.el (reftex-select-label-map)
10693 (reftex-select-bib-map):
10694 * textmodes/reftex-index.el (reftex-index-map)
10695 (reftex-index-phrases-map):
10696 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10697 * progmodes/meta-mode.el (meta-mode-map):
10698 * novice.el (disabled-command-hook):
10699 * loadhist.el (unload-hook-features-list):
10700 * frame.el (blink-cursor):
10701 * files.el (find-file-not-found-hooks, write-file-hooks)
10702 (write-contents-hooks):
10703 * emulation/tpu-edt.el (GOLD-map):
10704 * emacs-lock.el (emacs-lock-from-exiting):
10705 * emacs-lisp/generic.el (generic-font-lock-defaults):
10706 * emacs-lisp/chart.el (chart-map):
10707 * dos-fns.el (register-name-alist):
10708 * dired-x.el (dired-omit-files-p):
10709 * desktop.el (desktop-enable):
10710 * cus-edit.el (custom-mode-hook):
10711 * buff-menu.el (buffer-menu-mode-hook):
10712 * bookmark.el (bookmark-read-annotation-text-func)
10713 (bookmark-exit-hooks):
10714 * allout.el (allout-mode-deactivate-hook)
10715 (allout-exposure-change-hook, allout-structure-added-hook)
10716 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10717 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10718 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10719 comes before the corresponding variable's definition.
10720
10721 2012-05-12 Chong Yidong <cyd@gnu.org>
10722
10723 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10724 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10725 (Buffer-menu-mode-map): Bind it.
10726 (Buffer-menu--pretty-name): Add a mouse-face property.
10727
10728 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10731 (prolog-upper-case-string, prolog-lower-case-string)
10732 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10733 (prolog-use-smie, prolog-smie-grammar): New vars.
10734 (prolog-smie-forward-token, prolog-smie-backward-token)
10735 (prolog-smie-rules): New funs.
10736 (prolog-comment-indent): Remove.
10737 (prolog-mode-variables): Use default comment indentation instead.
10738 Setup SMIE.
10739 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10740 (prolog-mode): Don't call them any more.
10741 (prolog-electric-colon, prolog-electric-dash)
10742 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10743
10744 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10745
10746 * minibuffer.el (completion--twq-all): Again, allow case differences.
10747
10748 * term.el: Move keymap initialization code to be more idiomatic.
10749 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10750 (term-terminal-menu): Move initialization into declaration.
10751 (term-escape-char): Let the user set it in her .emacs.
10752
10753 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10754 Provide SMIE-based indentation (not enabled by default yet).
10755 (sh-mode-map): Don't bind electric keys.
10756 Use electric-pair-mode instead of skeleton-pair.
10757 (sh-assignment-regexp): Fit within 80 columns.
10758 (sh-indent-supported): Specify actual shell name instead of boolean.
10759 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10760 (sh-maybe-here-document): Use it. Make obsolete.
10761 (sh-electric-here-document-mode) New minor mode.
10762 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10763 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10764 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10765 (sh-smie-rc-grammar, sh-use-smie): New vars.
10766 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10767 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10768 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10769 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10770 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10771 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10772 (sh-set-shell): Use smie-setup if requested.
10773
10774 * term.el (term-set-escape-char): Properly set term-escape-char.
10775 See http://stackoverflow.com/questions/10524656.
10776
10777 2012-05-10 Chong Yidong <cyd@gnu.org>
10778
10779 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10780 Use url-generic-parse-url, and handle host names and Windows
10781 filenames properly.
10782 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10783 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10784 URL schemes to work on.
10785 (ffap--toggle-read-only): New function.
10786 (ffap-read-only, ffap-read-only-other-window)
10787 (ffap-read-only-other-frame): Use it.
10788 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10789 necessary for ffap-url-unwrap-remote.
10790
10791 2012-05-10 Dave Abrahams <dave@boostpro.com>
10792
10793 * cus-start.el (create-lockfiles): Add it.
10794
10795 2012-05-09 Chong Yidong <cyd@gnu.org>
10796
10797 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10798 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10799
10800 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10803
10804 2012-05-09 Chong Yidong <cyd@gnu.org>
10805
10806 * ansi-color.el (ansi-color-process-output): Check for validity of
10807 comint-last-output-start before using it. This avoids a bad
10808 interaction with gdb-mi's input/output buffer.
10809
10810 2012-05-09 Glenn Morris <rgm@gnu.org>
10811
10812 * files.el (dir-locals-read-from-file):
10813 Mention dir-locals in any error message.
10814
10815 2012-05-09 Chong Yidong <cyd@gnu.org>
10816
10817 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10818 package (Bug#11410).
10819
10820 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10821 variables into description.
10822
10823 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10826 shell-delimiter-argument-list (bug#11348).
10827 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10828
10829 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * textmodes/rst.el: Silence byte-compiler warnings.
10832 (rst-re-alist, rst-reset-section-caches): Move around.
10833 (rst-re): Use `characterp', not `char-valid-p'.
10834 (font-lock-beg, font-lock-end): Declare.
10835
10836 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10837 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10838
10839 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10840
10841 2012-05-08 Glenn Morris <rgm@gnu.org>
10842
10843 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10844
10845 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * vc/log-edit.el: Add GNU coding standards highlighting.
10848 (log-edit-font-lock-gnu-style)
10849 (log-edit-font-lock-gnu-keywords): New vars.
10850 (log-edit-font-lock-keywords): New fun.
10851 (log-edit-mode): Don't fold case in font-lock.
10852 (log-edit-font-lock-keywords): Do not assume case-folding.
10853
10854 * imenu.el: Misc cleanup. Make docstrings out of comments.
10855 Use lexical-binding.
10856 (imenu--index-alist, imenu--last-menubar-index-alist)
10857 (imenu-menubar-modified-tick): Use defvar-local.
10858 (imenu--split-menu): Remove unused var.
10859 (imenu--cleanup-seen): Declare as global.
10860 (imenu--cleanup): Use dolist.
10861
10862 * subr.el (defvar-local): Add debug spec and doc-string position.
10863
10864 2012-05-08 Glenn Morris <rgm@gnu.org>
10865
10866 * language/burmese.el, language/cham.el, language/czech.el:
10867 * language/english.el, language/georgian.el, language/greek.el:
10868 * language/japanese.el, language/khmer.el, language/korean.el:
10869 * language/lao.el, language/misc-lang.el, language/romanian.el:
10870 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10871 * language/thai.el, language/utf-8-lang.el:
10872 Remove no-byte-compile setting.
10873
10874 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10875
10876 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10877
10878 * progmodes/make-mode.el (makefile-browse):
10879 Remove unnecessary interactive. (Bug#11324)
10880
10881 2012-05-07 Glenn Morris <rgm@gnu.org>
10882
10883 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10884
10885 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10886
10887 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * loadup.el: Preload newcomment.el.
10890 * newcomment.el: Move autoload-only code to toplevel.
10891
10892 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10893 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10894 Handle new :right-align column property.
10895 (tabulated-list-print-col): Idem, plus use `display' text-property to
10896 try and preserve alignment for variable pitch fonts.
10897
10898 2012-05-07 Chong Yidong <cyd@gnu.org>
10899
10900 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10901 (tabulated-list-use-header-line): New var.
10902 (tabulated-list-init-header): Use it.
10903 (tabulated-list-print-fake-header): New function.
10904 (tabulated-list-print): Use it.
10905 (tabulated-list-sort-button-map): Add non-header-line commands.
10906 (tabulated-list-init-header): Add column name property to basic
10907 labels as well.
10908 (tabulated-list-col-sort): Handle non-header-line button case.
10909 (tabulated-list--sort-by-column-name): Fix a corner case.
10910
10911 * buff-menu.el (list-buffers--refresh):
10912 Handle Buffer-menu-use-header-line.
10913
10914 2012-05-06 Chong Yidong <cyd@gnu.org>
10915
10916 * buff-menu.el: Convert to Tabulated List mode.
10917 (Buffer-menu-buffer+size-width): Make obsolete.
10918 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10919 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10920 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10921 documentation into docstring of buffer-menu.
10922 (Buffer-menu-toggle-files-only): Add an informative message.
10923 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10924 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10925 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10926 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10927 (Buffer-menu-execute, Buffer-menu-select)
10928 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10929 (Buffer-menu-bury): Use Tabulated List machinery.
10930 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10931 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10932 Delete.
10933 (list-buffers--refresh): New function.
10934 (list-buffers-noselect): Use it.
10935 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10936 (Buffer-menu--pretty-file-name): New helper functions.
10937
10938 * loadup.el: Preload tabulated-list.
10939
10940 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10941 tabulated-list-sort-column.
10942 (tabulated-list-init-header): Add the initial aligning space even
10943 if tabulated-list-padding is zero.
10944
10945 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10946
10947 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10948 whose cdr is not a cons cell correctly (bug#11038).
10949
10950 2012-05-06 Chong Yidong <cyd@gnu.org>
10951
10952 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10953 Accept additional plist in column descriptors.
10954 (tabulated-list-init-header): Obey it.
10955 (tabulated-list-get-entry): New function.
10956 (tabulated-list-put-tag): Use it. Use string-width instead of
10957 length.
10958 (tabulated-list--column-number): New function.
10959 (tabulated-list-print): Use it.
10960 (tabulated-list-print-col): New function.
10961 Set `tabulated-list-column-name' property on each column's text.
10962 (tabulated-list-print-entry): Use it.
10963 (tabulated-list-delete-entry, tabulated-list-set-col):
10964 New functions.
10965 (tabulated-list-sort-column): New command (Bug#11337).
10966
10967 * buff-menu.el (list-buffers): Move C-x C-b binding from
10968 buff-menu.el to bindings.el.
10969
10970 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10971 :advertised-binding feature.
10972
10973 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10974
10975 * progmodes/compile.el (compilation-internal-error-properties):
10976 Calculate start position correctly when end-col is set but
10977 end-line is not (Bug#11382).
10978
10979 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10980
10981 * man.el (Man-unindent): Use text-property-default-nonsticky to
10982 prevent untabify from inheriting face properties (Bug#11408).
10983
10984 2012-05-05 Stefan Merten <smerten@oekonux.de>
10985
10986 * textmodes/rst.el: Major merge with upstream development up to
10987 Docutils SVN r7399 / rst.el V1.2.1.
10988
10989 Clarify maintainership and authors.
10990
10991 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10992 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10993 (rst-official-version, rst-official-cvs-rev, rst-version)
10994 (rst-package-emacs-version-alist): New functions and variables
10995 for version information.
10996
10997 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10998 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10999 (rst-mode-syntax-table, rst-mode): New and corrected functions
11000 and variables representing reStructuredText features.
11001
11002 (rst-re): New function for reStructuredText regexes. Use in
11003 many places.
11004
11005 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11006 (rst-mode-map): Rebind keys.
11007
11008 (rst-mode-lazy, rst-font-lock-keywords)
11009 (rst-font-lock-extend-region)
11010 (rst-font-lock-extend-region-internal)
11011 (rst-font-lock-extend-region-extend)
11012 (rst-font-lock-find-unindented-line-limit)
11013 (rst-font-lock-find-unindented-line-match)
11014 (rst-adornment-level, rst-font-lock-adornment-level)
11015 (rst-font-lock-adornment-match)
11016 (rst-font-lock-handle-adornment-pre-match-form)
11017 (rst-font-lock-handle-adornment-matcher): Major revision of
11018 font-locking. Integrate with other code. Use `jit-lock-mode'.
11019
11020 (rst-preferred-adornments, rst-adjust-hook)
11021 (rst-new-adornment-down, rst-preferred-bullets)
11022 (rst-preferred-bullets, rst-indent, rst-indent-width)
11023 (rst-indent-field, rst-indent-literal-normal)
11024 (rst-indent-literal-minimized, rst-indent-comment): Change,
11025 extend and improve customization.
11026
11027 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11028 (rst-normalize-cursor-position, rst-get-decoration)
11029 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11030 (rst-rstrip, rst-toc-insert-find-delete-contents)
11031 (rst-shift-fill-region, rst-compute-bullet-tabs)
11032 (rst-debug-print-tabs, rst-debug-mark-found)
11033 (rst-shift-region-guts, rst-shift-region-right)
11034 (rst-shift-region-left, rst-use-char-classes)
11035 (rst-font-lock-keywords-function)
11036 (rst-font-lock-indentation-point)
11037 (rst-font-lock-find-unindented-line-begin)
11038 (rst-font-lock-find-unindented-line-end)
11039 (rst-font-lock-find-unindented-line)
11040 (rst-font-lock-adornment-point, rst-font-lock-level)
11041 (rst-adornment-level-alist): Remove functions and variables.
11042
11043 (rst-compare-adornments, rst-get-adornment-match)
11044 (rst-suggest-new-adornment, rst-get-adornments-around)
11045 (rst-adornment-complete-p, rst-get-next-adornment)
11046 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11047 (rst-straighten-adornments): Standardize function names to
11048 use "adornment" instead of "decoration". Correct callers.
11049 Similar standardizing in many places.
11050
11051 (rst-update-section, rst-adjust, rst-promote-region)
11052 (rst-enumerate-region, rst-bullet-list-region)
11053 (rst-repeat-last-character): Correct use of `interactive'.
11054
11055 (rst-classify-adornment, rst-find-all-adornments)
11056 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11057 (rst-find-leftmost-column, rst-repeat-last-character):
11058 Refactor functions.
11059
11060 (rst-find-title-line, rst-reset-section-caches)
11061 (rst-get-adornments-around, rst-adjust-adornment-work)
11062 (rst-arabic-to-roman, rst-roman-to-arabic)
11063 (rst-insert-list-pos, rst-insert-list-new-item)
11064 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11065 New functions.
11066
11067 (rst-all-sections, rst-section-hierarchy)
11068 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11069 New variables.
11070
11071 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11072 configuration instead of only buffer. Change where necessary.
11073
11074 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11075 (rst-shift-region, rst-adaptive-fill): New functions for
11076 indentation and filling.
11077
11078 (rst-comment-line-break, rst-comment-indent)
11079 (rst-comment-insert-comment, rst-comment-region)
11080 (rst-uncomment-region): New functions for handling comments.
11081
11082 (rst-compile): Quote shell arguments.
11083
11084 (rst-compile-pdf-preview, rst-compile-slides-preview):
11085 Delete temporary files after use.
11086
11087 2012-05-05 Glenn Morris <rgm@gnu.org>
11088
11089 * calendar/cal-html.el: Optionally include holidays in the output.
11090 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11091 (cal-html-holidays): New option.
11092 (cal-html-css-default): Add holiday entry.
11093 (holiday-in-range): Autoload it.
11094 (cal-html-htmlify-entry): Add optional class argument.
11095 (cal-html-htmlify-list): Add optional holidays argument.
11096 (cal-html-insert-agenda-days): Include holidays in the output.
11097 (cal-html-one-month): Maybe include holidays.
11098
11099 * calendar/holidays.el (holiday-in-range):
11100 Move here from cal-tex-list-holidays.
11101 * calendar/cal-tex.el (cal-tex-list-holidays):
11102 Make it an obsolete alias for holiday-in-range. Update all callers.
11103
11104 2012-05-05 Chong Yidong <cyd@gnu.org>
11105
11106 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11107 Nextstep.
11108
11109 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11110
11111 * files.el (file-auto-mode-skip): New var.
11112 (set-auto-mode-1): Use it.
11113
11114 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * repeat.el: Use lexical-binding.
11117 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11118 (repeat-undo-count): Remove.
11119 (repeat):
11120 * progmodes/octave-mod.el (octave-abbrev-start):
11121 * progmodes/f90.el (f90-abbrev-start):
11122 * face-remap.el (text-scale-adjust):
11123 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11124
11125 * emacs-lisp/pcase.el (pcase--let*): New function.
11126 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11127 a bit more.
11128 (pcase--split-pred): Be more clever about ruling out overlap between
11129 a predicate and some constant pattern.
11130 (pcase--q1): Use `null' instead of (eq foo nil).
11131
11132 * subr.el (setq-local, defvar-local): New macros.
11133 (kbd): Redefine as an alias.
11134 (with-selected-window): Leave unrelated frames alone.
11135 (set-temporary-overlay-map): New function.
11136
11137 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * subr.el (user-error): New function.
11140 * window.el (switch-to-buffer):
11141 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11142 (smerge-match-conflict):
11143 * simple.el (previous-matching-history-element)
11144 (next-matching-history-element, goto-history-element, undo-more)
11145 (undo-start):
11146 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11147 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11148 (next-file, tags-loop-scan, list-tags, complete-tag):
11149 * progmodes/compile.el (compilation-loop):
11150 * mouse.el (mouse-minibuffer-check):
11151 * man.el (Man-bgproc-sentinel, Man-goto-page):
11152 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11153 (Info-history-forward, Info-follow-reference, Info-menu)
11154 (Info-extract-menu-item, Info-extract-menu-counting)
11155 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11156 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11157 (Info-next-reference, Info-prev-reference, Info-index)
11158 (Info-index-next, Info-follow-nearest-node)
11159 (Info-copy-current-node-name):
11160 * imenu.el (imenu--make-index-alist)
11161 (imenu-default-create-index-function, imenu-add-to-menubar):
11162 * files.el (basic-save-buffer, recover-file):
11163 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11164 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11165 (checkdoc-message-text, checkdoc-defun):
11166 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11167 * cus-edit.el (customize-changed-options, customize-rogue)
11168 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11169 (custom-variable-mark-to-reset-standard)
11170 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11171 (custom-file):
11172 * completion.el (check-completion-length):
11173 * comint.el (comint-search-arg)
11174 (comint-previous-matching-input-string-position)
11175 (comint-previous-matching-input)
11176 (comint-replace-by-expanded-history-before-point, comint-send-input)
11177 (comint-copy-old-input, comint-backward-matching-input)
11178 (comint-goto-process-mark, comint-set-process-mark):
11179 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11180 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11181
11182 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * dabbrev.el (dabbrev--ignore-case-p): New function.
11185 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11186 Use it.
11187
11188 * files.el (automount-dir-prefix): Mark as obsolete.
11189
11190 2012-05-04 Glenn Morris <rgm@gnu.org>
11191
11192 * patcomp.el, play/bruce.el: Move to obsolete/.
11193
11194 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11195
11196 Fix minor Y10k bugs.
11197 * arc-mode.el (archive-unixdate):
11198 * autoinsert.el (auto-insert-alist):
11199 * calc/calc-forms.el (math-this-year):
11200 * emacs-lisp/copyright.el (copyright-current-year)
11201 (copyright-update-year, copyright):
11202 * tar-mode.el (tar-clip-time-string):
11203 * time.el (display-time-update):
11204 Don't assume years have 4 digits.
11205
11206 2012-05-04 Chong Yidong <cyd@gnu.org>
11207
11208 * dos-w32.el (file-name-buffer-file-type-alist)
11209 (direct-print-region-use-command-dot-com):
11210 * ffap.el (ffap-menu-regexp):
11211 * find-file.el (ff-special-constructs):
11212 * follow.el (follow-debug):
11213 * forms.el (forms--debug):
11214 * iswitchb.el (iswitchb-all-frames):
11215 * ido.el (ido-all-frames):
11216 * emacs-lisp/timer.el (timer-max-repeats):
11217 * mail/feedmail.el (feedmail-mail-send-hook)
11218 (feedmail-mail-send-hook-queued):
11219 * mail/footnote.el (footnote-signature-separator):
11220 * mail/mailabbrev.el (mail-alias-separator-string)
11221 (mail-abbrev-mode-regexp):
11222 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11223 * progmodes/idlwave.el (idlwave-libinfo-file)
11224 (idlwave-default-completion-case-is-down)
11225 (idlwave-library-routines): Convert defvars to defcustoms.
11226
11227 * mail/rmail.el (rmail-decode-mime-charset):
11228 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11229 (idlwave-shell-fix-inserted-breaks)
11230 (idlwave-shell-activate-alt-keybindings)
11231 (idlwave-shell-use-breakpoint-glyph):
11232 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11233
11234 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11235
11236 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11237
11238 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11239
11240 * progmodes/verilog-mode.el (font-lock-keywords):
11241 Fix mis-highligting auto. Reported by Craig Barner.
11242 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11243 defines from global name space. Reported by Dan Dever.
11244 (verilog-auto-reset, verilog-auto-reset-widths)
11245 (verilog-auto-tieoff): Support using unbased numbers for
11246 AUTORESET and AUTOTIEOFF.
11247 (verilog-submit-bug-report): Update variable list.
11248 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11249 parenthesis from not matching. Reported by Michael Rytting.
11250 (verilog-auto-template-lint): Fix hash error when linting modules
11251 with no used templates.
11252 (verilog-warn, verilog-warn-error)
11253 (verilog-warn-fatal): When non-interactive report multiple
11254 warnings before exiting. Suggested by Brad Dobbie.
11255 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11256 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11257 to report unused template errors. Reported by Brad Dobbie.
11258 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11259 nets, bug438. Reported by Vns Blore.
11260 (verilog-auto-inout-module, verilog-auto-reg)
11261 (verilog-read-decls, verilog-read-sub-decls-sig)
11262 (verilog-signals-edit-wire-reg, verilog-signals-with):
11263 Fix passing of Verilog data types in ANSI input/output ports
11264 such as "output logic" into the AUTOs. Special case "wire" and
11265 "reg" for backwards compatibility presuming Verilog 2001.
11266 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11267 (verilog-preprocess): Fix replication of preprocess output.
11268 Reported by Brad Dobbie.
11269 (verilog-auto-inst-interfaced-ports):
11270 Create verilog-auto-inst-interfaced-ports, bug429.
11271 Reported by Julian Gorfajn.
11272 (verilog-after-save-font-hook)
11273 (verilog-before-save-font-hook): New variable.
11274 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11275 (verilog-save-font-mods): Wrap disabling fontification, reported
11276 by David Rogoff.
11277 (verilog-do-indent, verilog-pretty-declarations-auto)
11278 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11279 Reported by Pierre-David Pfister.
11280 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11281 of class declarations, bug292. Reported by Kevin Heilman.
11282 (verilog-read-decls): Fix 'parameter type' not appearing in
11283 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11284 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11285 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11286 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11287 Reported by David Kravitz.
11288
11289 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11290
11291 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11292 assignment with tests in ifs and for loops.
11293 (verilog-extended-complete-re, verilog-complete-reg): Change so
11294 that DPI inport functions don't look like fuction declarations.
11295 (verilog-pretty-expr): Don't line up assignment
11296 operations to the test and increment in if and for loops
11297 (verilog-extended-complete-re, verilog-complete-reg): Change so
11298 that DPI inport functions don't look like fuction declarations.
11299
11300 2012-05-03 Kenichi Handa <handa@m17n.org>
11301
11302 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11303 decoding, and show a warning message without signaling an error
11304 (Bug#11282).
11305
11306 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * emacs-lisp/bytecomp.el
11309 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11310 since cconv.el might have introduced :fun-body, internal-make-closure,
11311 and friends for bytecomp to handle (bug#11391).
11312 * custom.el (defcustom): Avoid ((λ ..) ..).
11313
11314 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11315
11316 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11317
11318 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11319
11320 * notifications.el (dbus-debug):
11321 * term/linux.el (gpm-mouse-enable):
11322 * term/screen.el (xterm-register-default-colors): Declare.
11323
11324 2012-05-02 Chong Yidong <cyd@gnu.org>
11325
11326 * cus-start.el (gc-cons-percentage, exec-suffixes)
11327 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11328 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11329 (make-cursor-line-fully-visible, void-text-area-pointer)
11330 (font-list-limit): Add customization data.
11331
11332 * allout.el (allout-exposure-change-functions)
11333 (allout-structure-added-functions)
11334 (allout-structure-deleted-functions)
11335 (allout-structure-shifted-functions): Rename abnormal hooks from
11336 *-hook, and convert to defcustoms.
11337 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11338 Convert to defcustoms.
11339 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11340
11341 * allout-widgets.el: Hook callers changed.
11342
11343 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11344
11345 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11346 the yanked message in preference to the default value of
11347 buffer-file-coding-system.
11348
11349 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11350
11351 * window.el (display-buffer--action-function-custom-type):
11352 Fix entry.
11353
11354 2012-05-02 Alan Mackenzie <acm@muc.de>
11355
11356 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11357
11358 2012-05-01 Glenn Morris <rgm@gnu.org>
11359
11360 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11361
11362 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11363
11364 * cus-edit.el (custom-variable-documentation): Simplify with format.
11365
11366 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11367 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * simple.el (suggest-key-bindings, execute-extended-command):
11370 Move from keyboard.c.
11371
11372 2012-05-01 Chong Yidong <cyd@gnu.org>
11373
11374 * follow.el: Eliminate advice.
11375 (set-process-filter, process-filter, sit-for): Advice deleted.
11376 (follow-mode-off-hook): Obsolete hook removed.
11377 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11378 Vars deleted.
11379 (follow-auto): Use a :set function.
11380 (follow-mode): Rewritten. Don't advise process filters.
11381 (follow-switch-to-current-buffer-all, follow-scroll-up)
11382 (follow-scroll-down): Assume follow-mode is bound.
11383 (follow-comint-scroll-to-bottom)
11384 (follow-align-compilation-windows): New functions.
11385 (follow--window-sorter): New function.
11386 (follow-all-followers): Use it to explicitly sort windows by their
11387 positions; don't make assumptions about next-window order.
11388 (follow-windows-start-end, follow-delete-other-windows-and-split)
11389 (follow-calc-win-start): Doc fix.
11390 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11391 vertical-motion unnecessarily.
11392 (follow-adjust-window): New function.
11393 (follow-post-command-hook): Use it.
11394 (follow-call-set-process-filter, follow-call-process-filter)
11395 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11396 (follow-stop-intercept-process-output, follow-generic-filter):
11397 Functions deleted.
11398 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11399 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11400 New functions, replacing advice on scroll-bar-* commands.
11401 (follow-mwheel-scroll): New function (Bug#4112).
11402
11403 * comint.el (comint-adjust-point): New function.
11404 (comint-postoutput-scroll-to-bottom): Use it.
11405 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11406
11407 2012-05-01 Glenn Morris <rgm@gnu.org>
11408
11409 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11410 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11411 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11412 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11413 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11414 Remove no-byte-compile setting.
11415
11416 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11419 all-completions code to not return a number in the last cdr.
11420
11421 2012-04-30 Leo Liu <sdl.web@gmail.com>
11422
11423 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11424 read-only error.
11425
11426 2012-04-29 Chong Yidong <cyd@gnu.org>
11427
11428 * follow.el (follow-calc-win-end): Rewrite to handle partial
11429 screen lines correctly (Bug#8390).
11430 (follow-avoid-tail-recenter): Minor cleanup.
11431
11432 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11433
11434 Avoid the obsolete `assoc' package.
11435 * speedbar.el (speedbar-refresh): Avoid adelete.
11436 (speedbar-file-lists): Simplify and avoid aput.
11437 * man.el (Man--sections, Man--refpages): New vars, replacing
11438 Man-sections-alist and Man-refpages-alist.
11439 (Man-build-section-alist, Man-build-references-alist):
11440 Use them; avoid aput.
11441 (Man--last-section, Man--last-refpage): New vars.
11442 (Man-follow-manual-reference): Use them.
11443 Use the `default' arg of completing-read.
11444 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11445
11446 2012-04-27 Chong Yidong <cyd@gnu.org>
11447
11448 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11449
11450 * startup.el (x-apply-session-resources): New function.
11451
11452 * term/ns-win.el (ns-initialize-window-system):
11453 * term/w32-win.el (w32-initialize-window-system):
11454 * term/x-win.el (x-initialize-window-system): Use it to properly
11455 set menu-bar-mode and other vars from X resources, even if the
11456 initial frame is not a window-system frame (Bug#2299).
11457
11458 * subr.el (read-key): Avoid running filter function when setting
11459 up temporary tool bar entries (Bug#9922).
11460
11461 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11462
11463 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11464 (Bug#11344)
11465
11466 2012-04-27 Chong Yidong <cyd@gnu.org>
11467
11468 * select.el (xselect--encode-string): New function, split from
11469 xselect-convert-to-string.
11470 (xselect-convert-to-string): Use it.
11471 (xselect-convert-to-filename, xselect-convert-to-os)
11472 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11473 returned strings are properly encoded (Bug#11315).
11474
11475 2012-04-27 Chong Yidong <cyd@gnu.org>
11476
11477 * simple.el (delete-active-region): Move to killing custom group.
11478
11479 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11480
11481 * progmodes/which-func.el (which-func-current): Quote %
11482 characters for mode-line processing.
11483
11484 2012-04-27 Chong Yidong <cyd@gnu.org>
11485
11486 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11487 reaching eob (Bug#11286).
11488
11489 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11490
11491 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11492 (gdb): Make it buffer-local and init to zero.
11493 (gdb-control-commands-regexp): New variable.
11494 (gdb-send): Don't wrap in "-interpreter-exec console" if
11495 gdb-control-level is positive. Increment gdb-control-level
11496 whenever the command matches gdb-control-commands-regexp, and
11497 decrement it each time the command is "end". (Bug#11279)
11498
11499 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11500
11501 * window.el (adjust-window-trailing-edge, enlarge-window)
11502 (shrink-window, window-resize):
11503 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11504 windows (Bug#11276).
11505
11506 2012-04-27 Chong Yidong <cyd@gnu.org>
11507
11508 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11509 fix "missing prefix" warning. All callers changed.
11510
11511 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * emacs-lisp/assoc.el: Move to obsolete/.
11514
11515 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11518
11519 * term/ns-win.el (ns-define-service):
11520 * progmodes/pascal.el (pascal-goto-defun):
11521 * progmodes/js.el (js--read-tab):
11522 * progmodes/etags.el (tags-lazy-completion-table):
11523 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11524 * emacs-lisp/ewoc.el (ewoc--wrap):
11525 * emacs-lisp/assoc.el (aput, adelete, amake):
11526 * doc-view.el (doc-view-convert-current-doc):
11527 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11528
11529 2012-04-26 Chong Yidong <cyd@gnu.org>
11530
11531 * image.el (image-type-from-buffer): Only return supported image
11532 type (Bug#9045).
11533
11534 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11535 value, for symmetry with diff-end-of-hunk.
11536 (diff-split-hunk, diff-find-source-location)
11537 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11538 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11539 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11540 compute the relevant hunk or file properly (Bug#6005).
11541 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11542
11543 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * vc/vc-mtn.el:
11546 * vc/vc-hg.el:
11547 * vc/vc-git.el:
11548 * vc/vc-dir.el:
11549 * vc/vc-cvs.el:
11550 * vc/vc-bzr.el:
11551 * vc/vc-arch.el:
11552 * vc/vc.el: Replace lexical-let by lexical-binding.
11553 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11554 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11555 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11556
11557 2012-04-26 Chong Yidong <cyd@gnu.org>
11558
11559 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11560 (diff-mode-shared-map): Bind it to / and [remap undo].
11561
11562 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11563 (ediff-window-setup-function): Use it as the default, to set up
11564 windows based on whether the current frame is graphical (Bug#2138).
11565 (ediff-choose-window-setup-function-automatically): Make obsolete.
11566
11567 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11568
11569 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11570
11571 * ffap.el: Remove old code for obsolete package.
11572 (ffap-complete-as-file-p): Remove.
11573
11574 Use completion-table-with-quoting for comint and pcomplete.
11575 * comint.el (comint--unquote&requote-argument)
11576 (comint--unquote-argument, comint--requote-argument): New functions.
11577 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11578 (comint-quote-filename): Use regexp-opt-charset.
11579 (comint--common-suffix, comint--common-quoted-suffix)
11580 (comint--table-subvert): Remove.
11581 (comint-unquote-function, comint-requote-function): New vars.
11582 (comint--complete-file-name-data): Use them with
11583 completion-table-with-quoting.
11584 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11585 * pcomplete.el (pcomplete-arg-quote-list)
11586 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11587 (pcomplete-unquote-argument-function): Default to non-nil.
11588 (pcomplete-unquote-argument): Simplify.
11589 (pcomplete--common-quoted-suffix): Remove.
11590 (pcomplete-requote-argument-function): New var.
11591 (pcomplete--common-suffix): New function.
11592 (pcomplete-completions-at-point): Use completion-table-with-quoting
11593 and completion-table-subvert.
11594
11595 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11596 (minibuffer--double-dollars): Preserve properties.
11597 (completion--sifn-requote): New function.
11598 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11599
11600 * minibuffer.el: Add support for completion of quoted/escaped data.
11601 (completion-table-with-quoting, completion-table-subvert): New funs.
11602 (completion--twq-try, completion--twq-all): New functions.
11603 (completion--nth-completion): New function.
11604 (completion-try-completion, completion-all-completions): Use it.
11605
11606 2012-04-25 Leo Liu <sdl.web@gmail.com>
11607
11608 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11609 Use compilation-message if available to find real filename.
11610
11611 2012-04-25 Chong Yidong <cyd@gnu.org>
11612
11613 * vc/diff-mode.el (diff-setup-whitespace): New function.
11614 (diff-mode): Use it.
11615
11616 * vc/diff.el (diff-sentinel):
11617 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11618 Whitespace mode variables based on diff style (Bug#8612).
11619
11620 2012-04-25 Leo Liu <sdl.web@gmail.com>
11621
11622 * progmodes/python.el (python-send-region): Add suffix .py to the
11623 temp file.
11624
11625 * files.el (auto-mode-alist): Use javascript-mode instead.
11626
11627 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11628
11629 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11630
11631 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11632 (soap-resolve-references-for-array-type): Hack to prevent self
11633 references, see Bug#9.
11634 (soap-parse-envelope): Report the contents of the 'detail' node
11635 when receiving a fault reply.
11636 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11637
11638 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11639 (soap-inspect-simple-type): New function.
11640
11641 * net/soap-client.el (soap-simple-type): New struct.
11642 (soap-default-xsd-types, soap-default-soapenc-types)
11643 (soap-decode-basic-type, soap-encode-basic-type):
11644 support unsignedInt and double basic types.
11645 (soap-resolve-references-for-simple-type)
11646 (soap-parse-simple-type, soap-encode-simple-type): New function.
11647 (soap-parse-schema): Parse xsd:simpleType declarations.
11648
11649 * net/soap-client.el (soap-default-xsd-types)
11650 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11651 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11652 the local name of "soapenc:Array".
11653 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11654 decoding integer, byte and anyURI xsd types.
11655
11656 2012-04-25 Chong Yidong <cyd@gnu.org>
11657
11658 * cus-edit.el (custom-buffer-create-internal): Update header text.
11659
11660 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11661
11662 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11663 settings on 'system-type', not on 'window-system'. On MS-Windows,
11664 set interactive-mode on in GDB.
11665
11666 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11667
11668 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11669 (ruby-syntax-propertize-regexp): Remove.
11670 (ruby-syntax-propertize-function): Split regexp into chunks.
11671 Match following code directly.
11672
11673 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11674
11675 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11676 (ruby-syntax-propertize-regexp): New function.
11677 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11678 by a special keyword.
11679
11680 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11681 (ruby-syntax-general-delimiters-goto-beg)
11682 (ruby-syntax-propertize-general-delimiters): New functions.
11683 (ruby-syntax-propertize-function): Use them to handle GDL.
11684 (ruby-font-lock-keywords): Move old handling of GDL...
11685 (ruby-font-lock-syntactic-keywords): .. to here.
11686 (ruby-calculate-indent): Adjust indentation for GDL.
11687
11688 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11689
11690 * notifications.el (top): Remove unneeded declarations.
11691 (notifications-specification-version): Change to "1.2".
11692 (notifications-interface, notifications-notify-method)
11693 (notifications-close-notification-method): Fix docstring.
11694 (notifications-get-capabilities-method): New defconst.
11695 (notifications-notify): Add :action-items, :resident and
11696 :transient hints. Change "image_data" to "image-data" and
11697 "image_path" to "image-path".
11698 (notifications-get-capabilities): New defun.
11699
11700 2012-04-24 Leo Liu <sdl.web@gmail.com>
11701
11702 * progmodes/python.el: Move hideshow setup to the end.
11703
11704 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11705
11706 * window.el (handle-select-window): Clear echo area since this is
11707 no more done by read_char (Bug#11304).
11708
11709 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11712 and `/ M' to filter-derived-mode.
11713 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11714 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11715 (ibuffer-mark-by-mode): Use default rather than initial-input.
11716 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11717
11718 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11719
11720 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11721 (ibuffer-filter-by-derived-mode): New filter.
11722 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11723
11724 2012-04-23 Andreas Politz <politza@fh-trier.de>
11725
11726 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11727
11728 2012-04-23 Chong Yidong <cyd@gnu.org>
11729
11730 * cus-edit.el (customize-apropos, customize-apropos-options):
11731 Disable matching of non-option variables (Bug#11176).
11732 (customize-option, customize-option-other-window)
11733 (customize-changed-options): Doc fix.
11734 (customize-apropos-options, customize-apropos-faces)
11735 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11736
11737 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11738 Fix word list splitting (Bug#11132).
11739 (apropos-symbol, apropos-keybinding, apropos-label)
11740 (apropos-property, apropos-function-button)
11741 (apropos-variable-button, apropos-misc-button): New faces.
11742 (apropos-symbol-face, apropos-keybinding-face)
11743 (apropos-label-face, apropos-property-face, apropos-match-face):
11744 Variables removed (Bug#8396).
11745 (apropos-library-button, apropos-format-plist, apropos-print)
11746 (apropos-print-doc, apropos-describe-plist): Callers changed.
11747
11748 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11749
11750 * net/xesam.el (xesam-mode-map): Use let-bound map in
11751 initialization. (Bug#11292)
11752
11753 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11754
11755 Preserve ispell session localwords when switching back to
11756 original buffer.
11757
11758 * textmodes/ispell.el (ispell-buffer-session-localwords):
11759 New buffer-local variable to hold buffer session localwords.
11760 (ispell-kill-ispell): Add option 'clear to delete session
11761 localwords.
11762 (ispell-command-loop, ispell-change-dictionary)
11763 (ispell-buffer-local-words): Preserve session localwords when
11764 needed.
11765
11766 * textmodes/flyspell.el (flyspell-process-localwords)
11767 (flyspell-do-correct): Preserve session localwords when needed.
11768
11769 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11770
11771 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11772 using obsolete `translation-table-for-input'.
11773 (ispell-word, ispell-process-line, ispell-complete-word):
11774 Use plain `insert' instead of removed `ispell-insert-word'.
11775
11776 2012-04-22 Chong Yidong <cyd@gnu.org>
11777
11778 * cus-edit.el (custom-variable-menu)
11779 (custom-variable-reset-saved, custom-face-menu)
11780 (custom-face-reset-saved): If there is no saved value, make the
11781 "reset-saved" operation bring back the default (Bug#9509).
11782 (custom-face-state): Properly detect themed faces.
11783
11784 * faces.el (face-spec-set): Stop supporting deprecated form of
11785 third arg.
11786
11787 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11788
11789 Move functions from C to Lisp. Make non-blocking method calls
11790 the default. Implement further D-Bus standard interfaces.
11791
11792 * net/dbus.el (dbus-message-internal): Declare function.
11793 Remove unneeded function declarations.
11794 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11795 (dbus-message-type-method-return, dbus-message-type-error)
11796 (dbus-message-type-signal): Declare variables. Remove local
11797 definitions.
11798 (dbus-interface-dbus, dbus-interface-peer)
11799 (dbus-interface-introspectable, dbus-interface-properties)
11800 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11801 Adapt docstring.
11802 (dbus-interface-objectmanager): New defconst.
11803 (dbus-call-method, dbus-call-method-asynchronously)
11804 (dbus-send-signal, dbus-method-return-internal)
11805 (dbus-method-error-internal, dbus-register-service)
11806 (dbus-register-signal, dbus-register-method): New defuns, moved
11807 from dbusbind.c
11808 (dbus-call-method-handler, dbus-setenv)
11809 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11810 New defuns.
11811 (dbus-call-method-non-blocking): Make it an obsolete function.
11812 (dbus-unregister-object, dbus-unregister-service)
11813 (dbus-handle-event, dbus-register-property)
11814 (dbus-property-handler): Obey the new structure of
11815 `bus-registered-objects'.
11816 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11817 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11818 Use `dbus-call-method'.
11819
11820 2012-04-22 Chong Yidong <cyd@gnu.org>
11821
11822 * cus-edit.el (custom-commands, custom-reset-menu)
11823 (Custom-reset-standard): Tweak labels.
11824 (custom-reset-button-menu): Change default to t.
11825 (custom-buffer-create-internal): For the custom-reset-button-menu
11826 case, put the revert button first.
11827 (custom-group-subtitle): New face.
11828 (custom-group-value-create): Align docstring to a specific column.
11829
11830 * wid-edit.el (widget-documentation-link-add): Don't handle
11831 indentation in this function.
11832 (widget-documentation-string-indent-to): New function.
11833 (widget-documentation-string-value-create): Use it.
11834
11835 * autorevert.el (auto-revert):
11836 * epg-config.el (epg):
11837 * ibuffer.el (ibuffer):
11838 * mpc.el (mpc):
11839 * ses.el (ses):
11840 * eshell/eshell.el (eshell):
11841 * net/ange-ftp.el (ange-ftp):
11842 * progmodes/ebnf2ps.el (postscript):
11843 * progmodes/flymake.el (flymake):
11844 * progmodes/prolog.el (prolog):
11845 * progmodes/verilog-mode.el (verilog-mode):
11846 * progmodes/which-func.el (which-func):
11847 * term/xterm.el (xterm):
11848 * textmodes/picture.el (picture):
11849 * textmodes/tildify.el (tildify):
11850 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11851 customization buffers.
11852
11853 2012-04-22 Alan Mackenzie <acm@muc.de>
11854
11855 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11856 Adding a ) can hide the resulting (..) from searches. Fix it.
11857 Bound the backward search to the position of the existing (.
11858
11859 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11860
11861 * progmodes/verilog-mode.el (verilog-mode): Check whether
11862 which-func-modes is t before adding verilog-mode.
11863 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11864
11865 2012-04-21 Leo Liu <sdl.web@gmail.com>
11866
11867 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11868
11869 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11870
11871 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11872 filling of the last column of a table (Bug#5635).
11873 (woman-find-next-control-line): New arg, specifying an additional
11874 regexp component for the control line.
11875 (woman2-roff-buffer): Use it.
11876 (woman-break-table): New function.
11877 (woman2-TS): Use it.
11878
11879 2012-04-21 Chong Yidong <cyd@gnu.org>
11880
11881 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11882 (woman-horizontal-escapes, woman-negative-vertical-space)
11883 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11884 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11885
11886 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * minibuffer.el (completion-file-name-table): Complete user names.
11889
11890 2012-04-20 Leo Liu <sdl.web@gmail.com>
11891
11892 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11893 and pcase-let*.
11894
11895 2012-04-20 Chong Yidong <cyd@gnu.org>
11896
11897 * server.el (server-execute): Respect initial-buffer-choice if it
11898 is a string and there are no files to open (Bug#2825).
11899 (server-create-window-system-frame, server-create-tty-frame):
11900 Don't switch buffers here.
11901 (server-process-filter): Only try to open a window system frame if
11902 compiled with graphical support (Bug#8314).
11903
11904 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11905
11906 * battery.el (battery-echo-area-format): Display remaining time
11907 for sysfs backend too (Bug#11269).
11908 (battery-linux-sysfs): Fix conditional for the charge.
11909
11910 2012-04-20 Chong Yidong <cyd@gnu.org>
11911
11912 * progmodes/gdb-mi.el (gdb): Revert previous change.
11913 (gdb-inferior-io--init-proc): New function.
11914 (gdb-init-1): Use it.
11915 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11916 responsible for allocating a new pty and hooking it to gdb when
11917 the old pty gets an EIO due to process exit.
11918 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11919 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11920 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11921
11922 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11923
11924 * window.el (window-min-size, window-sizable, window-min-delta)
11925 (window-max-delta, window--resizable, window-resizable)
11926 (window-total-size, window-full-height-p, window-full-width-p)
11927 (window-in-direction, window--resize-mini-window, window-resize)
11928 (window--resize-child-windows-normal)
11929 (window--resize-child-windows, window--resize-siblings)
11930 (window--resize-this-window, adjust-window-trailing-edge)
11931 (enlarge-window, shrink-window): Doc fixes.
11932
11933 2012-04-20 Chong Yidong <cyd@gnu.org>
11934
11935 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11936 New function to call delete-process on the gdb-inferior buffer's pty.
11937 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11938 pty process (Bug#11273).
11939 (gdb-update): New arg to suppress talking to the gdb process.
11940 (gdb-done-or-error): Use it.
11941 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11942 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11943 sentinel not being called.
11944
11945 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11946
11947 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11948
11949 2012-04-20 Glenn Morris <rgm@gnu.org>
11950
11951 * net/network-stream.el (open-network-stream): Doc fix.
11952
11953 2012-04-20 Chong Yidong <cyd@gnu.org>
11954
11955 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11956
11957 2012-04-20 Alan Mackenzie <acm@muc.de>
11958
11959 Ensure searching for keywords is case sensitive.
11960
11961 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11962 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11963 (c-defun-name, c-mark-function, c-cpp-define-name)
11964 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11965 (c-context-line-break): Bind case-fold-search to nil.
11966
11967 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11968 Bind case-fold-search to nil.
11969
11970 2012-04-20 Chong Yidong <cyd@gnu.org>
11971
11972 * mail/sendmail.el (mail-bury): Call return action with the right
11973 Rmail buffer (Bug#11242).
11974
11975 * server.el (server-process-filter): Handle corner case where both
11976 tty and nowait options are present (Bug#11102).
11977
11978 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11979
11980 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11981 (top level): Put into the executable the ident-style '$Id:' tag on
11982 windows-nt as well.
11983
11984 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 * electric.el (electric-indent-post-self-insert-function): Check that
11987 electric-indent-mode is enabled in current buffer.
11988
11989 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * imenu.el (imenu-progress-message): Restore; it is "used" in
11992 erc/erc-imenu.el and net/snmp-mode.el.
11993
11994 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11995
11996 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11997 (mouse-avoidance-nudge-mouse): Remove unused binding.
11998
11999 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12000
12001 * descr-text.el (describe-char):
12002 * progmodes/python.el (python-describe-symbol):
12003 Don't call `toggle-read-only', set `buffer-read-only'.
12004
12005 * imenu.el (imenu-default-goto-function): Mark unused args.
12006 (imenu-progress-message): Remove obsolete macro; all callers changed.
12007
12008 * subr.el (keymap-canonicalize): Remove unused binding.
12009 (read-passwd): Mark unused arg.
12010
12011 * tutorial.el (tutorial--display-changes): Remove unused binding.
12012 (tutorial--save-tutorial-to): Remove unused variable.
12013
12014 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12015 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12016 (package-generate-autoloads, package-menu--generate)
12017 (package-menu--find-upgrades): Remove unused bindings.
12018
12019 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12020 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12021 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12022 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12023 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12024 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12025 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12026 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12027 (cua-delete-char-rectangle): Mark unused args.
12028 (cua-align-rectangle): Remove unused binding.
12029
12030 * mail/rmail.el (compilation--message->loc)
12031 (epa--find-coding-system-for-mime-charset): Declare.
12032
12033 * net/dbus.el (dbus-register-service): Declare.
12034 (dbus-name-owner-changed-handler): Remove unused binding.
12035
12036 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12037 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12038 (nxml-scan-backward-within): Mark unused arg.
12039 (nxml-dynamic-markup-word): Remove unused binding.
12040
12041 * mouse.el (mouse-menu-major-mode-map):
12042 * emacs-lisp/authors.el (authors-scan-change-log)
12043 (authors-add-to-author-list):
12044 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12045 * emacs-lisp/smie.el (smie-auto-fill):
12046 * mail/sendmail.el (mail-bury):
12047 * mail/unrmail.el (unrmail):
12048 * net/tls.el (open-tls-stream):
12049 * textmodes/picture.el (picture-mouse-set-point):
12050 Remove unused bindings.
12051
12052 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12053
12054 * net/tramp.el (tramp-action-password): Let-bind
12055 `enable-recursive-minibuffers' to t.
12056
12057 2012-04-18 Sam Steingold <sds@gnu.org>
12058
12059 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12060 instead of 'string to accommodate values like [f11].
12061 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12062 * progmodes/gdb-mi.el: Likewise.
12063
12064 2012-04-18 Leo Liu <sdl.web@gmail.com>
12065
12066 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12067 current buffer.
12068 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12069 LOCAL is nil.
12070
12071 2012-04-18 Chong Yidong <cyd@gnu.org>
12072
12073 * simple.el (line-move): Use forward-line if in batch mode
12074 (Bug#11053).
12075
12076 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12077
12078 * files.el (after-find-file): Do not try to add a final newline if
12079 the buffer is read-only (Bug#11156).
12080
12081 2012-04-17 Richard Stallman <rms@gnu.org>
12082
12083 * mail/rmail.el (rmail-start-mail):
12084 Pass (rmail-mail-return...) for the return-action.
12085 Pass (rmail-yank-current-message...) for the yank-action.
12086 (rmail-yank-current-message): New function.
12087 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12088 (rmail-reply): Likewise.
12089 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12090
12091 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12092 buffer, not the last. Reject temp buffers. Use the rmail-mode
12093 buffer, not newbuf.
12094
12095 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12096
12097 * server.el (server-ensure-safe-dir): Simplify.
12098
12099 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12100
12101 * emacs-lisp/smie.el: Provide smarter auto-filling.
12102 (smie-auto-fill): New function.
12103 (smie-setup): Use it.
12104
12105 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12106
12107 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12108
12109 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12110 (comment-indent): Use it.
12111
12112 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12113
12114 * ses.el: The overall change is to add cell renaming, that is
12115 setting fancy names for cell symbols other than name matching
12116 "\\`[A-Z]+[0-9]+\\'" regexp .
12117 (ses-localvars): Add ses--renamed-cell-symb-list.
12118 (ses-create-cell-variable): New defun.
12119 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12120 (ses-relocate-formula): Relocate formulas only for cells the
12121 symbols of which are not renamed, i.e. symbols whose names do not
12122 match regexp "\\`[A-Z]+[0-9]+\\'".
12123 (ses-relocate-all): Relocate values only for cells the symbols of
12124 which are not renamed.
12125 (ses-load): Create cells variables as the (ses-cell ...) are read,
12126 in order to check row col consistency with cell symbol name only
12127 for cells that are not renamed.
12128 (ses-replace-name-in-formula): New defun.
12129 (ses-rename-cell): New defun.
12130
12131 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12132
12133 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12134 New option (bug#11118).
12135 (perl-calculate-indent): Respect it.
12136
12137 2012-04-17 Glenn Morris <rgm@gnu.org>
12138
12139 * dired-aux.el (dired-mark-read-string): Doc fix.
12140
12141 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12142
12143 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12144 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12145
12146 2012-04-17 Glenn Morris <rgm@gnu.org>
12147
12148 * mouse.el (mouse-drag-track):
12149 * speedbar.el (speedbar-frame-mode):
12150 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12151
12152 2012-04-16 Leo Liu <sdl.web@gmail.com>
12153
12154 * progmodes/python.el: Trivial cleanup.
12155
12156 2012-04-16 Glenn Morris <rgm@gnu.org>
12157
12158 * vc/vc.el (vc-string-prefix-p):
12159 * vc/pcvs-util.el (cvs-string-prefix-p):
12160 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12161 * mpc.el (mpc-string-prefix-p):
12162 Make all of these into obsolete aliases for string-prefix-p.
12163 Update callers.
12164 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12165
12166 * textmodes/two-column.el: Move custom options to the start.
12167 (frame-width): Remove compat definition.
12168 (2C-associate-buffer, 2C-dissociate):
12169 Use with-current-buffer rather than save-excursion.
12170 (2C-dissociate): Force a mode-line update.
12171 (2C-autoscroll): Use ignore-errors.
12172
12173 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12174 Autoload trivia.
12175
12176 * emacs-lisp/cl-extra.el (*random-state*):
12177 Remove unnecessary declaration.
12178
12179 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12180
12181 * play/cookie1.el (cookie-snarf):
12182 Give an explicit error if input file cannot be read.
12183
12184 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12185
12186 * progmodes/perl-mode.el (c-macro-expand):
12187 Remove unnecessary autoload (it is in loaddefs.el).
12188
12189 * textmodes/picture.el (picture-desired-column)
12190 (picture-update-desired-column): Convert comments to doc-strings.
12191 (picture-substitute): Remove function.
12192 (picture-mode-map): Initialize in the defvar.
12193
12194 * woman.el: Remove eval-after-load for tar-mode.
12195 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12196 (woman-tar-extract-file): Autoload it.
12197
12198 * frame.el (automatic-hscrolling): Make this alias obsolete.
12199
12200 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12201
12202 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12203 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12204 (ispell-dictionary-base-alist): Revert to original XEmacs
12205 friendly version for default. [:alpha:] will be added in
12206 `ispell-set-spellchecker-params' if needed.
12207
12208 2012-04-16 Chong Yidong <cyd@gnu.org>
12209
12210 * image.el (imagemagick--file-regexp): New variable.
12211 (imagemagick-register-types): Use it.
12212 (imagemagick-types-inhibit): Add :set function. Allow new value
12213 of t to inhibit all types.
12214
12215 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12216 so we can preload it.
12217
12218 * loadup.el (fboundp): Preload regexp-opt, needed by
12219 imagemagick-register-types.
12220
12221 2012-04-15 Chong Yidong <cyd@gnu.org>
12222
12223 * frame.el (scrolling): Remove nearly unused customization group.
12224
12225 * scroll-all.el (scroll-all-mode): Move to windows group.
12226
12227 2012-04-15 Chong Yidong <cyd@gnu.org>
12228
12229 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12230
12231 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12232
12233 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12234 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12235
12236 2012-04-15 Glenn Morris <rgm@gnu.org>
12237
12238 * simple.el (process-file-side-effects): Doc fix.
12239
12240 2012-04-15 Glenn Morris <rgm@gnu.org>
12241
12242 * international/mule-cmds.el (set-language-environment): Doc fix.
12243
12244 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12245
12246 * server.el (server-auth-key, server-generate-key): Doc fixes.
12247 (server-get-auth-key): Doc fix. Use `string-match-p'.
12248 (server-start): Reflow docstring.
12249
12250 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12251
12252 * server.el (server-generate-key): `called-interactively-p'
12253 requires a parameter.
12254
12255 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12256
12257 * server.el (server-auth-key): New variable.
12258 (server-generate-key, server-get-auth-key): New function.
12259 (server-start): Use the new variable and functions to allow
12260 setting a permanent server key (bug#9423).
12261
12262 2012-04-14 Leo Liu <sdl.web@gmail.com>
12263
12264 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12265
12266 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12267
12268 Spelling fixes.
12269 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12270 Emacs uses American spelling.
12271
12272 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12273
12274 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12275 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12276 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12277 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12278
12279 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * progmodes/which-func.el (which-func-modes): Change default.
12282
12283 2012-04-14 Kim F. Storm <storm@cua.dk>
12284
12285 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12286 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12287
12288 2012-04-14 Chong Yidong <cyd@gnu.org>
12289
12290 * custom.el (custom-theme-set-variables): Doc fix.
12291
12292 2012-04-14 Glenn Morris <rgm@gnu.org>
12293
12294 * international/mule.el (set-auto-coding-for-load): Doc fix.
12295
12296 2012-04-14 Alan Mackenzie <acm@muc.de>
12297
12298 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12299 imenu work again for Objective C Mode. Correct the *-index values,
12300 these having been disturbed by a previous change in 2011-08.
12301
12302 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12303 Correct two search limits.
12304
12305 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12308
12309 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12310
12311 * international/characters.el: Fix sorting.
12312
12313 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12314
12315 * international/characters.el: Add more missing Latin case pairs.
12316
12317 2012-04-14 Glenn Morris <rgm@gnu.org>
12318
12319 * files.el (dir-locals-set-class-variables): Doc fix.
12320
12321 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12322
12323 * international/characters.el: Add set-case-syntax-pair call for
12324 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12325 counterpart. (Bug#11209)
12326
12327 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12328
12329 2012-04-14 Glenn Morris <rgm@gnu.org>
12330
12331 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12332
12333 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12334
12335 * textmodes/ispell.el (ispell-dictionary-base-alist):
12336 Add data for Hebrew.
12337
12338 2012-04-14 Chong Yidong <cyd@gnu.org>
12339
12340 * net/rcirc.el (rcirc-cmd-quit):
12341 Revert 2012-03-18 change (Bug#11192).
12342
12343 2012-04-14 Glenn Morris <rgm@gnu.org>
12344
12345 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12346
12347 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12348
12349 * minibuffer.el (completion-in-region-mode-map):
12350 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12351
12352 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12353
12354 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12355
12356 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12357
12358 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12359 to allow `C-M-f' and `C-M-b' to move to the nearest path
12360 separator (bug#9511).
12361
12362 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12363
12364 * avoid.el: Require cl when compiling. And also move the
12365 `provide' to the end.
12366
12367 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12368
12369 * avoid.el (mouse-avoidance-banish-position): New variable.
12370 (mouse-avoidance-banish-destination): Use it (bug#10165).
12371
12372 2012-04-13 Leo Liu <sdl.web@gmail.com>
12373
12374 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12375
12376 2012-04-13 Ken Brown <kbrown@cornell.edu>
12377
12378 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12379 this is no longer needed now that cygstart understands file:// URLs.
12380 (browse-url-filename-alist): For the same reason, don't modify
12381 file:// URLs on Cygwin.
12382
12383 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12386 the region on shift if the binding is already shifted (bug#11221).
12387
12388 2012-04-12 Glenn Morris <rgm@gnu.org>
12389
12390 * mail/mailpost.el: Move to obsolete/.
12391
12392 2012-04-12 Drew Adams <drew.adams@oracle.com>
12393
12394 * imenu.el (imenu--generic-function): Ignore invisible definitions
12395 (bug#10123).
12396
12397 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12398
12399 * hexl.el (hexl-bits): New variable.
12400 (hexl-options): Mention the variable in the doc string.
12401 (hexl-rulerise, hexl-line-displen): New functions.
12402 (hexl-mode): Mention the new variable.
12403 (hexl-mode, hexl-current-address, hexl-current-address):
12404 Use the displen.
12405 (hexl-ascii-start-column): New function.
12406 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12407 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12408
12409 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12410
12411 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12412 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12413 the encoding, as expected by hunspell.
12414
12415 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12416
12417 * battery.el (battery--linux-sysfs-regexp): New const.
12418 (battery-status-function): Use it. Remove yeeloong special case.
12419 (battery-yeeloong-sysfs): Remove.
12420 (battery-echo-area-format): Remove yeeloong special case.
12421
12422 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12423
12424 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12425 Reported by Noah Friedman.
12426
12427 * subr.el (read-passwd): Use read-string.
12428
12429 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12430
12431 * vcursor.el (vcursor-move): Increase the priority of the overlay
12432 (bug#9663).
12433
12434 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12435
12436 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12437 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12438
12439 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12440
12441 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12442 define-minor-mode (bug#10760).
12443
12444 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12445
12446 * progmodes/grep.el (rgrep): Tweak the find command line so
12447 that directories matching `grep-find-ignored-files' won't be
12448 pruned (bug#10351).
12449
12450 2012-04-11 Chong Yidong <cyd@gnu.org>
12451
12452 * startup.el (command-line): Remove support for long-obsolete
12453 variable font-lock-face-attributes.
12454
12455 2012-04-11 Glenn Morris <rgm@gnu.org>
12456
12457 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12458
12459 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12460
12461 * window.el (window--state-get-1): Obey window-point-insertion-type.
12462
12463 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12464
12465 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12466 to previous function when point is on the first character of a
12467 function. Take care of that in `narrow-to-defun' (bug#6157).
12468
12469 2012-04-11 Glenn Morris <rgm@gnu.org>
12470
12471 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12472 not just file-errors.
12473
12474 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12475 (vc-bzr-sha1): Use internal sha1.
12476
12477 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12478
12479 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12480
12481 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12482
12483 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12484 that start in the middle of the line (bug#10496).
12485
12486 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12487
12488 * battery.el (battery-linux-proc-acpi): Only one battery is
12489 discharged at a time, but that seems to confuse battery.el when
12490 computing `rate-type' for the battery not being discharged
12491 (bug#10332).
12492
12493 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12496
12497 * international/quail.el: Use dolist and simplify.
12498 (quail-define-package, quail-update-keyboard-layout)
12499 (quail-define-rules): Use dolist.
12500 (quail-insert-kbd-layout, quail-get-translation): CSE.
12501
12502 * tmm.el: Use dolist, remove left over hook.
12503 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12504 Use dolist.
12505 (calendar-load-hook): Don't mess with it.
12506
12507 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12508 Use derived-mode-p. Run the diff asynchronously.
12509
12510 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511
12512 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12513
12514 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12515
12516 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12517 (list-dynamic-libraries--loaded): New function.
12518 (list-dynamic-libraries--refresh): Use it.
12519
12520 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12521
12522 * progmodes/python.el (python-fill-paragraph):
12523 Make python-fill-region in a multiline string work when font-lock is
12524 disabled (bug#7018).
12525
12526 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12527
12528 * language/european.el (cp775): Add oem/legacy (en)coding on
12529 DOS/MS Windows for the Baltic languages. There are still plenty
12530 of texts written in this encoding/codepage (bug#6519).
12531
12532 2012-04-10 Glenn Morris <rgm@gnu.org>
12533
12534 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12535 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12536
12537 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12538
12539 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12540 next-line "n" and previous-line "p" in order to make recentf more
12541 consistent with ibuffer, dired or org-mode (bug#9387).
12542
12543 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12544
12545 * image.el (put-image): Return the overlay created instead of the
12546 optional input string (bug#7834). Note that this may break code
12547 that is (for some reason or other) depending on `put-image'
12548 returning the string.
12549
12550 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12551
12552 * simple.el (zap-to-char): Allow zapping using input methods
12553 (bug#1580).
12554
12555 * textmodes/fill.el (fill-region): Leave point and mark where they
12556 were before filling (bug#5399).
12557
12558 2012-04-09 Glenn Morris <rgm@gnu.org>
12559
12560 * version.el (emacs-bzr-get-version):
12561 Handle lightweight checkouts of local branches.
12562
12563 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12564
12565 * international/characters.el: Recover lost case pairs. (Bug#11209)
12566
12567 2012-04-09 Chong Yidong <cyd@gnu.org>
12568
12569 * custom.el (custom-variable-p): Return nil for non-symbol
12570 arguments instead of signaling an error.
12571 (user-variable-p): Obsolete alias for custom-variable-p.
12572
12573 * apropos.el (apropos-variable):
12574 * files-x.el (read-file-local-variable):
12575 * simple.el (set-variable):
12576 * woman.el (woman-mini-help):
12577 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12578
12579 2012-04-09 Glenn Morris <rgm@gnu.org>
12580
12581 * startup.el (normal-top-level): Don't look for leim-list.el
12582 in places where it will not be found. (Bug#910)
12583
12584 * international/mule-cmds.el (set-default-coding-systems):
12585 * files.el (normal-mode):
12586 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12587 This function was removed with ucs-tables.el in 2008.
12588
12589 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12590
12591 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12592 ispell-encoding8-command to "-i", without a trailing space.
12593 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12594 separate command-line arguments, to specify the encoding, since
12595 that's how hunspell expects it.
12596
12597 2012-04-08 Glenn Morris <rgm@gnu.org>
12598
12599 * loadup.el: Load bindings before cus-start.
12600 This reduces somewhat the number of "rogue" settings in emacs -Q.
12601
12602 2012-04-07 Glenn Morris <rgm@gnu.org>
12603
12604 * version.el (emacs-bzr-get-version): New function.
12605 (emacs-bzr-version): New variable.
12606 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12607 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12608
12609 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12610
12611 * international/uni-bidi.el, international/uni-category.el:
12612 * international/uni-combining.el, international/uni-decimal.el:
12613 * international/uni-decomposition.el, international/uni-digit.el:
12614 * international/uni-lowercase.el, international/uni-mirrored.el:
12615 * international/uni-name.el, international/uni-numeric.el:
12616 * international/uni-titlecase.el, international/uni-uppercase.el:
12617 Update for Unicode 6.1.
12618
12619 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12620
12621 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12622
12623 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12624
12625 * window.el (shrink-window): Mention the `window-min-height'
12626 variable in the doc string.
12627
12628 2012-04-05 Bastien Guerry <bzg@altern.org>
12629
12630 * color.el (color-lighten-name): Fix typo.
12631
12632 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12633
12634 * server.el (server--on-display-p): New function.
12635 (server--on-display-p): Use it.
12636
12637 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12638
12639 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12640 (bug#11145).
12641
12642 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * comint.el (comint--common-quoted-suffix): Check string boundary
12645 before comparing (bug#11158).
12646 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12647
12648 2012-04-04 Chong Yidong <cyd@gnu.org>
12649
12650 * minibuffer.el (completion-extra-properties): Doc fix.
12651
12652 * subr.el (delayed-warnings-hook): Doc fix.
12653
12654 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12655
12656 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12657 selection (Bug#11159).
12658 (epa-insert-keys): Inform that the default public key will be
12659 exported if no key is selected.
12660
12661 2012-04-04 Richard Stallman <rms@gnu.org>
12662
12663 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12664
12665 2012-04-03 Chong Yidong <cyd@gnu.org>
12666
12667 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12668 mail-insert-file, not its obsolete alias mail-attach-file.
12669
12670 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12671
12672 * notifications.el (notifications-notify): Fix docstring.
12673
12674 2012-04-02 Glenn Morris <rgm@gnu.org>
12675
12676 * emacs-lisp/authors.el (authors-aliases): Another addition.
12677
12678 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12679
12680 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12681 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12682 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12683
12684 2012-04-01 Chong Yidong <cyd@gnu.org>
12685
12686 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12687 Handle root directory properly.
12688 (copy-directory): Caller changed.
12689
12690 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12691 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12692
12693 2012-03-31 Glenn Morris <rgm@gnu.org>
12694
12695 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12696
12697 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12698
12699 * calendar/calendar.el (calendar-window-list)
12700 (calendar-hide-window): Restore. (Bug#11140)
12701 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12702
12703 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12704
12705 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12706
12707 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12708 Check if file is a symlink (Bug#10489).
12709
12710 * files.el (copy-directory): Likewise.
12711
12712 2012-03-30 Chong Yidong <cyd@gnu.org>
12713
12714 * image.el (imagemagick-types-inhibit)
12715 (imagemagick-register-types): Doc fix.
12716
12717 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12718
12719 * textmodes/ispell.el (ispell-get-extended-character-mode):
12720 Disable extended-char-mode for hunspell. hunspell does not support it
12721 and treats ~word as ordinary words in pipe mode.
12722
12723 2012-03-30 Glenn Morris <rgm@gnu.org>
12724
12725 * tutorial.el (help-with-tutorial): Ensure local variables don't
12726 happen to make the buffer read-only. (Bug#11127)
12727
12728 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12731 (perl-calculate-indent): Return `noindent' in strings.
12732
12733 2012-03-28 Sam Steingold <sds@gnu.org>
12734
12735 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12736 instead of the broken adhockery which does not prevent calendar
12737 buffers from being displayed at random after exit.
12738 (calendar-window-list, calendar-hide-window): Remove the broken
12739 adhockery.
12740
12741 2012-03-28 Glenn Morris <rgm@gnu.org>
12742
12743 * replace.el (query-replace-map): Doc fix.
12744
12745 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12746
12747 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12748 contents. (Bug#11109)
12749
12750 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12751
12752 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12753 (bug#11077).
12754 (avl-tree--check, avl-tree--check-node): New funs.
12755
12756 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12757
12758 * window.el (switch-to-visible-buffer): New option.
12759 (switch-to-prev-buffer, switch-to-next-buffer):
12760 Observe switch-to-visible-buffer. Make sure that checking for a window
12761 showing a buffer already is done on the same frame.
12762
12763 2012-03-27 Glenn Morris <rgm@gnu.org>
12764
12765 * startup.el (mail-host-address): Doc fix.
12766
12767 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12770 than 197 variables.
12771
12772 2012-03-26 Ami Fischman <ami@fischman.org>
12773
12774 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12775
12776 2012-03-26 Glenn Morris <rgm@gnu.org>
12777
12778 * files.el (save-buffers-kill-emacs): Doc fix.
12779
12780 * startup.el (normal-top-level, command-line, command-line-1):
12781 Give them doc strings.
12782
12783 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12784
12785 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12786 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12787
12788 2012-03-25 Chong Yidong <cyd@gnu.org>
12789
12790 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12791 theme if it was previously enabled before (Bug#11031).
12792
12793 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12794 spec with custom-face-get-current-spec if its :shown-value is not
12795 determined yet (Bug#9337).
12796 (customize-create-theme, custom-theme-revert): Doc fixes.
12797
12798 * button.el (button-at): Minor addition to docstring.
12799
12800 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12801
12802 * vc/vc.el (vc-merge): Fix a prompt.
12803
12804 2012-03-24 Chong Yidong <cyd@gnu.org>
12805
12806 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12807 point (Bug#9623).
12808
12809 * button.el (button-at): Minor addition to docstring.
12810
12811 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12812
12813 * newcomment.el (comment-choose-indent): No space after BOL.
12814
12815 2012-03-22 Sam Steingold <sds@gnu.org>
12816
12817 * window.el (switch-to-prev-buffer): Revert last patch because the
12818 bug turned out to be an advertised feature (Elisp manual 28.14).
12819
12820 2012-03-22 Glenn Morris <rgm@gnu.org>
12821
12822 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12823 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12824
12825 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12826
12827 * net/network-stream.el (network-stream-open-starttls): Make error
12828 message under Windows be less misleading.
12829
12830 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12831
12832 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12833 understands (bug#9942).
12834
12835 2012-03-22 Chong Yidong <cyd@gnu.org>
12836
12837 * simple.el (end-of-visible-line): Handle return value of
12838 next-single-property-change properly (Bug#9371).
12839
12840 2012-03-22 Kenichi Handa <handa@m17n.org>
12841
12842 * international/quail.el (quail-insert-kbd-layout): Fix previous
12843 change. To avoid unwanted bidi reordering, use
12844 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12845
12846 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12847
12848 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12849 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12850 (ruby-beginning-of-indent): Be more careful with the difference
12851 between word-boundary and symbol boundary.
12852 (ruby-mode-syntax-table): Make : a symbol constituent.
12853
12854 2012-03-21 Andreas Politz <politza@fh-trier.de>
12855
12856 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12857
12858 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 * progmodes/etags.el (tags-completion-at-point-function):
12861 Improve last fix.
12862
12863 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12864
12865 2012-03-21 Sam Steingold <sds@gnu.org>
12866
12867 * progmodes/etags.el (tags-completion-at-point-function):
12868 Avoid the error when point is inside the pattern.
12869
12870 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12871
12872 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12873 line (Bug#10855).
12874
12875 2012-03-21 Drew Adams <drew.adams@oracle.com>
12876
12877 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12878
12879 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12880
12881 * ido.el (ido-set-current-directory, ido-read-internal)
12882 (ido-choose-completion-string, ido-completion-help): Handle nil
12883 value of ido-completion-buffer (Bug#11008).
12884
12885 2012-03-21 Sam Steingold <sds@gnu.org>
12886
12887 * window.el (switch-to-prev-buffer): Do not switch to a visible
12888 window previous buffer, just like with the frame previous buffers.
12889
12890 2012-03-21 Chong Yidong <cyd@gnu.org>
12891
12892 * faces.el (make-face, make-empty-face, copy-face):
12893 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12894 Doc fixes.
12895
12896 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12897
12898 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12899 (widget-complete): Remove broken use of it.
12900
12901 2012-03-20 Chong Yidong <cyd@gnu.org>
12902
12903 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12904 Use string-width and truncate-string-width to handle arbitrary
12905 characters.
12906
12907 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12908
12909 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12910 to draw rectangles, not squares. (Regression introduced by revno
12911 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12912
12913 2012-03-18 Chong Yidong <cyd@gnu.org>
12914
12915 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12916 it is not yet defined (for temacs).
12917
12918 2012-03-18 Leo Liu <sdl.web@gmail.com>
12919
12920 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12921 prefix.
12922
12923 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12924
12925 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12926 (ispell-choices-win-default-height, ispell-silently-savep)
12927 (ispell-dictionary-alist, ispell-encoding8-command)
12928 (ispell-check-version, ispell-aspell-find-dictionary)
12929 (ispell-valid-dictionary-list, ispell-words-keyword)
12930 (ispell-get-word, ispell-internal-change-dictionary)
12931 (ispell-region, ispell-skip-region-list)
12932 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12933 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12934 (ispell-message-text-end, ispell-message)
12935 (ispell-buffer-local-parsing): Doc fix.
12936
12937 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12938
12939 * htmlfontify.el: Add support for code block fontification for ODT
12940 export (Bug #9914).
12941 (hfy-optimisations): Define new option
12942 `body-text-only'
12943 (hfy-fontify-buffer): Honor above setting.
12944 (hfy-begin-span, hfy-end-span): New routines factored out form
12945 `hfy-fontify-buffer'.
12946 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12947 that permit insertion of custom tags.
12948 (hfy-fontify-buffer): Use above handlers.
12949 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12950 (hfy-face-to-css): Re-defined to be a variable.
12951 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12952 over multiple runs. This is made possible by having the caller let
12953 bind a special variable `hfy-user-sheet-assoc'.
12954 (htmlfontify-string): New defun.
12955 (hfy-compile-face-map): Make sure that the last char in the
12956 buffer is correctly fontified.
12957 (hfy-face-resolve-face): Whitespace only change.
12958
12959 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12960
12961 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12962 message more clear.
12963
12964 2012-03-16 Leo Liu <sdl.web@gmail.com>
12965
12966 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12967
12968 2012-03-16 Alan Mackenzie <acm@muc.de>
12969
12970 Further optimize the handling of large macros.
12971
12972 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12973 limit to a call of `c-literal-limits'.
12974 (c-determine-+ve-limit): New function.
12975 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12976 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12977 In CASE 5B, restrict a search limit to 500.
12978 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12979
12980 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12981 Restrict macro bounds to +-500 from after-change's BEG END.
12982
12983 2012-03-16 Leo Liu <sdl.web@gmail.com>
12984
12985 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12986
12987 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12988
12989 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12990 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12991
12992 2012-03-16 Glenn Morris <rgm@gnu.org>
12993
12994 * view.el (view-buffer, view-buffer-other-window)
12995 (view-buffer-other-frame): Doc fixes re special mode-class.
12996
12997 * subr.el (eval-after-load): If named feature is provided not from
12998 a file, run after-load forms. (Bug#10946)
12999
13000 * calendar/calendar.el (calendar-insert-at-column):
13001 Handle non-unit-width characters a bit better. (Bug#10978)
13002
13003 2012-03-15 Chong Yidong <cyd@gnu.org>
13004
13005 * emacs-lisp/ring.el (ring-extend): New function.
13006 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13007
13008 * comint.el (comint-read-input-ring)
13009 (comint-add-to-input-history): Grow comint-input-ring lazily.
13010
13011 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13014 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13015
13016 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13017 (imenu-add-to-menubar): Don't add a redundant index.
13018 (imenu-update-menubar): Handle a dynamically composed keymap.
13019
13020 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13021
13022 * mail/sendmail.el (mail-encode-header):
13023 Bind rfc2047-encode-encoded-words to nil.
13024
13025 2012-03-13 Glenn Morris <rgm@gnu.org>
13026
13027 * calendar/calendar.el (calendar-string-spread):
13028 Handle non-unit-width characters a bit better. (Bug#10978)
13029
13030 2012-03-13 Leo Liu <sdl.web@gmail.com>
13031
13032 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13033 directory and file as argument (Bug#10822).
13034
13035 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13036
13037 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13038 For dynamically generated code, follow $PC.
13039 (gdb-disassembly-handler-custom): Handle no function name case.
13040
13041 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13042
13043 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13044 * emulation/ws-mode.el (ws-query-replace):
13045 * sort.el (sort-regexp-fields):
13046 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13047
13048 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * dabbrev.el: Fix cycle completion order (bug#10963).
13051 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13052 (dabbrev-completion): Don't use an obarray; provide
13053 a cycle-sort-function.
13054
13055 2012-03-12 Leo Liu <sdl.web@gmail.com>
13056
13057 * simple.el (kill-new): Use equal-including-properties for comparison.
13058 (kill-do-not-save-duplicates): Doc fix.
13059
13060 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13061
13062 * dabbrev.el: Fix cycle completion (bug#10963).
13063 Use lexical binding and wrap to 80 columns.
13064 (dabbrev-completion): Delay computing the list of completions.
13065
13066 2012-03-12 Kenichi Handa <handa@m17n.org>
13067
13068 * international/quail.el (quail-insert-kbd-layout): Surround each
13069 row by LRO and PDF instead of inserting many LRMs. Pad the left
13070 and right of each non-spacing marks. Insert invisible space
13071 between lower and upper characters to prevent composition.
13072
13073 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13074
13075 * minibuffer.el (minibuffer-complete): Don't get confused when the
13076 function is run twice via different commands (bug#10958).
13077 (complete-with-action): Fix docstring.
13078
13079 2012-03-12 Chong Yidong <cyd@gnu.org>
13080
13081 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13082 (nxml-completion-at-point-function): New function.
13083 (nxml-mode): Use it.
13084 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13085
13086 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13087 Load generated autoloads file before byte compiling (Bug#10970).
13088 (package--make-autoloads-and-compile): New helper fun.
13089
13090 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13091
13092 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13093
13094 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13095
13096 * autorevert.el (auto-revert-handler): Ensure, that
13097 file-readable-p is applied only for local files or in
13098 auto-revert-tail-mode.
13099
13100 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13101
13102 * server.el (server-eval-at): Handle non-tcp connections.
13103 Decode result string.
13104
13105 * server.el (server-msg-size): New constant.
13106 (server-reply-print): New function.
13107 (server-eval-and-print): Use it.
13108 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13109 Handle -print-nonl.
13110
13111 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13112
13113 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13114 (Bug#10987).
13115
13116 2012-03-11 Chong Yidong <cyd@gnu.org>
13117
13118 * simple.el (goto-line): Doc fix (Bug#9938).
13119
13120 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13121
13122 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13123 when finished (Bug#10963).
13124
13125 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13126
13127 * window.el (split-window-below): Fix bug in case where
13128 split-window-keep-point is nil (Bug#10971).
13129
13130 2012-03-11 Juri Linkov <juri@jurta.org>
13131
13132 * replace.el (replace-highlight): Set isearch-word to nil
13133 unconditionally. (Bug#10887)
13134
13135 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13136
13137 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13138 mairix-replace-illegal-chars; all callers changed. Don't remove
13139 ^, ~, and = characters: they are meaningful in mairix search specs.
13140 (mairix-widget-create-query): Add usage information about mairix
13141 search forms: negating words, searching for substrings, etc.
13142
13143 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13144
13145 * international/fontset.el (font-encoding-alist): Add an entry for
13146 ksx1001 (Bug#5667).
13147
13148 2012-03-10 Richard Stallman <rms@gnu.org>
13149
13150 * mail/sendmail.el (mail-encode-header):
13151 Set rfc2047-encode-encoded-words.
13152
13153 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13154
13155 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13156 view buffer means not swapped.
13157 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13158 (rmail-write-region-annotate): Error if real text has disappeared.
13159
13160 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13161
13162 2012-03-10 Chong Yidong <cyd@gnu.org>
13163
13164 * emulation/cua-rect.el (cua--init-rectangles):
13165 * emulation/cua-base.el (cua--init-keymaps):
13166 Add delete-forward-char to remappings (Bug#9666).
13167
13168 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13169
13170 * speedbar.el (speedbar-unhighlight-one-tag-line):
13171 Avoid unhighlighting due to frame switching (Bug#10275).
13172
13173 2012-03-10 Chong Yidong <cyd@gnu.org>
13174
13175 * minibuffer.el (completion-in-region, completion-help-at-point):
13176 Give the completion field overlay a high priority (Bug#6830).
13177
13178 * dired.el (dired-goto-file): Recognize absolute file name
13179 listings (Bug#7126).
13180 (dired-goto-file-1): New helper function.
13181 (dired-toggle-read-only): Inhibit warnings.
13182
13183 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13184
13185 * net/dbus.el (dbus-property-handler): Return empty array if
13186 there are no properties.
13187
13188 2012-03-09 Leo Liu <sdl.web@gmail.com>
13189
13190 * savehist.el (savehist-printable): Stricter check for string
13191 value (Bug#10937).
13192
13193 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13194
13195 * mail/smtpmail.el (smtpmail-send-it):
13196 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13197 valid mbox format.
13198
13199 2012-03-09 Glenn Morris <rgm@gnu.org>
13200
13201 * files.el (dir-locals-find-file):
13202 Don't check result is regular, readable.
13203 (dir-locals-read-from-file): Demote errors.
13204
13205 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13206
13207 * international/quail.el (quail-insert-kbd-layout):
13208 Insert invisible LRM characters before each character in a keyboard
13209 layout cell, to prevent their reordering by bidi display engine.
13210 For details, see the discussion in
13211 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13212
13213 2012-03-08 Alan Mackenzie <acm@muc.de>
13214
13215 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13216 the starting position; make it extend the marked region when
13217 invoked repeatedly - all under appropriate circumstances.
13218 Fixes bugs #5525, #10906.
13219
13220 2012-03-08 Glenn Morris <rgm@gnu.org>
13221
13222 * files.el (locate-dominating-file, dir-locals-find-file):
13223 Undo 2012-03-06 change.
13224
13225 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13226
13227 * international/quail.el (quail-help):
13228 Force bidi-paragraph-direction be left-to-right. See discussion in
13229 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13230 for the reason.
13231
13232 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13233
13234 Avoid superfluous registering of signals. (Bug#10807)
13235
13236 * notifications.el (notifications-on-action-object)
13237 (notifications-on-close-object): New defvars.
13238 (notifications-on-action-signal, notifications-on-closed-signal):
13239 Unregister the signal if not needed any longer.
13240 (notifications-notify): Register `notifications-action-signal' or
13241 `notifications-closed-signal', if :on-action or :on-close has been
13242 passed as argument.
13243
13244 2012-03-07 Chong Yidong <cyd@gnu.org>
13245
13246 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13247 non-X platforms.
13248
13249 2012-03-06 Glenn Morris <rgm@gnu.org>
13250
13251 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13252 (x-disown-selection-internal, x-get-selection-internal):
13253 Doc fix (add arglist signatures). (Bug#10783)
13254
13255 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13256
13257 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13258 Handle breakpoints with no "type".
13259
13260 2012-03-06 Glenn Morris <rgm@gnu.org>
13261
13262 * files.el (locate-dominating-file): Add optional predicate argument.
13263 (dir-locals-find-file): Make use of above change.
13264
13265 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13266
13267 * info.el (Info-insert-dir): Also try "dir.gz".
13268
13269 2012-03-06 Glenn Morris <rgm@gnu.org>
13270
13271 * files.el (dir-locals-find-file):
13272 Ignore non-readable or non-regular files. (Bug#10928)
13273
13274 * files.el (locate-dominating-file): Doc fix.
13275
13276 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13277
13278 * calendar/calendar.el (calendar-set-mode-line):
13279 `getenv' returns a string. (Bug#10951)
13280
13281 2012-03-05 Leo Liu <sdl.web@gmail.com>
13282
13283 * simple.el (backward-delete-char-untabify): Constrain point to
13284 field (Bug#10939).
13285
13286 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13287
13288 2012-03-05 Chong Yidong <cyd@gnu.org>
13289
13290 * simple.el (count-words): If called from Lisp, return the word
13291 count, for symmetry with `count-lines'. Arglist changed.
13292 (count-words--message): Args changed. Consolidate counting code
13293 from count-words and count-words-region.
13294 (count-words-region): Caller changed.
13295 (count-lines-region): Make it an obsolete alias.
13296
13297 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13298
13299 * saveplace.el (save-place-to-alist)
13300 (save-place-ignore-files-regexp): Allow value nil to disable this
13301 feature.
13302
13303 2012-03-04 Chong Yidong <cyd@gnu.org>
13304
13305 * faces.el (face-spec-reset-face): For the default face, reset the
13306 attributes to default values (Bug#10748).
13307
13308 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13309
13310 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13311 previous patch: Check `message-send-mail-function', and not the
13312 default function (bug#10897).
13313
13314 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13315
13316 * notifications.el (notifications-on-action-signal)
13317 (notifications-on-closed-signal): Check for unique service name of
13318 incoming event. Fix error in removing entry.
13319 (top): Register for signals with wildcard service name.
13320 (notifications-notify): Use daemon unique service name for map entries.
13321
13322 2012-03-04 Chong Yidong <cyd@gnu.org>
13323
13324 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13325
13326 2012-03-04 Glenn Morris <rgm@gnu.org>
13327
13328 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13329 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13330 (expand-abbrev, define-abbrev-table): Doc fixes.
13331
13332 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13333
13334 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13335 `message-default-send-mail-function' and not `send-mail-function'
13336 when doing the prompting for `sendmail-query-once' before sending
13337 in Message buffers (bug#10897).
13338
13339 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13340 This is inconsistent with all the other stream functions, which leave
13341 the setting up to the higher levels (if so wanted) (bug#10931).
13342
13343 2012-03-02 Alan Mackenzie <acm@muc.de>
13344
13345 Depessimize the handling of very large macros.
13346
13347 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13348 (c-macro-cache-syntactic): New variables to implement a one
13349 element macro cache.
13350 (c-invalidate-macro-cache): New function.
13351 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13352 Adapt to use the new cache.
13353 (c-state-safe-place): Use better the cache of safe positions.
13354 (c-state-semi-nonlit-pos-cache)
13355 (c-state-semi-nonlit-pos-cache-limit):
13356 New variables for...
13357 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13358 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13359 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13360 Use c-state-semi-safe-place.
13361
13362 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13363 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13364
13365 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13366
13367 * jka-compr.el (jka-compr-call-process):
13368 Apply `file-accessible-directory-p' only when the default directory is
13369 not remote.
13370
13371 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13372
13373 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13374 access of FILE2, if FILE1 does not exist.
13375
13376 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13377 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13378
13379 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13380 Add "PAGER=" to `process-environment'.
13381
13382 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13383
13384 * progmodes/sql.el: Bug fix
13385 (sql-get-login-ext): Save login values in globals.
13386 (sql-get-login): Use new version of `sql-get-login-ext'.
13387 (sql-interactive-mode): Set global `sql-connection' to nil.
13388 (sql-connect): Set global values for connection.
13389 (sql-product-interactive): Save global values as buffer local.
13390
13391 2012-02-29 Leo Liu <sdl.web@gmail.com>
13392
13393 * abbrev.el (define-abbrevs): Reset sys to nil.
13394
13395 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13396
13397 * files.el (file-equal-p): Rename from `files-equal-p'.
13398 Return nil when one or both files don't exist.
13399 (file-subdir-of-p): Now only top directory must exists,
13400 return nil if it doesn't.
13401 (copy-directory): No need to test with `file-subdir-of-p' after
13402 creating dir.
13403 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13404 to `file-equal-p'.
13405
13406 2012-02-28 Glenn Morris <rgm@gnu.org>
13407
13408 * shell.el (shell-mode):
13409 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13410 * play/landmark.el (landmark-font-lock-face-O):
13411 * play/handwrite.el (handwrite):
13412 * play/gomoku.el (gomoku-O):
13413 * net/browse-url.el (browse-url-browser-display):
13414 * international/mule.el (define-charset):
13415 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13416 * filesets.el (filesets-find-file-delay):
13417 * eshell/em-xtra.el (eshell-xtra):
13418 * eshell/em-unix.el (eshell-grep):
13419 * emulation/viper.el (viper-mode):
13420 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13421 * emacs-lisp/easymenu.el (easy-menu-define):
13422 * calendar/timeclock.el (timeclock-use-display-time):
13423 * bs.el (bs-mode):
13424 * bookmark.el (bookmark-save-flag):
13425 Doc fix (standardize possessive apostrophe usage).
13426
13427 2012-02-27 Chong Yidong <cyd@gnu.org>
13428
13429 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13430 Fix key-binding lookup for ESC key (Bug#9146).
13431
13432 * font-lock.el (font-lock-specified-p): Rename from
13433 font-lock-spec-present. Callers changed.
13434
13435 2012-02-27 Daniel Hackney <dan@haxney.org>
13436
13437 * emacs-lisp/package.el (package-compute-transaction):
13438 Handle holding a package version to t in package-load-list.
13439
13440 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13441
13442 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13443 (tramp-get-inode, tramp-get-device): Use cached values.
13444
13445 2012-02-26 Alan Mackenzie <acm@muc.de>
13446
13447 Check there is a font-lock specification before doing initial
13448 fontification.
13449
13450 * font-core.el (font-lock-mode): Move the conditional from
13451 :after-hook to font-lock-initial-fontify.
13452 (font-lock-default-function): Move the check for a specification
13453 to font-lock-spec-present.
13454
13455 * font-lock.el (font-lock-initial-fontify): Call ...
13456 (font-lock-spec-present): New function.
13457
13458 2012-02-26 Jim Blandy <jimb@red-bean.com>
13459
13460 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13461 (gdb-send): Apply it to the operand of the '-interpreter-exec
13462 console' command, so that we can pass arguments with (say) quotes
13463 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13464
13465 2012-02-26 Chong Yidong <cyd@gnu.org>
13466
13467 * help-fns.el (describe-function-1): Clarify description of
13468 remapping (Bug#10844).
13469
13470 * files.el (files-equal-p): Doc fix.
13471 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13472 and quit the loop once a mismatch is found.
13473
13474 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13475
13476 * bs.el (bs--show-with-configuration): Don't throw an error
13477 if the window cannot be split; otherwise, subsequent calls to
13478 bs-show fail, restoring a stale window config. (Bug#10882)
13479
13480 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13481
13482 * term/ns-win.el (global-map): Bind ns-drag-file to
13483 ns-find-file (Bug#5855, Bug#10050).
13484
13485 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13486
13487 * calendar/parse-time.el (parse-time-string): Allow extractor to
13488 return nil.
13489
13490 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13491
13492 * net/tramp.el (tramp-file-name-for-operation):
13493 Add `files-equal-p' and `file-subdir-of-p'.
13494
13495 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13496 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13497 Add COPY-CONTENTS argument.
13498
13499 2012-02-25 Chong Yidong <cyd@gnu.org>
13500
13501 Add custom groups for VC backends, for consistency with vc-bzr.
13502
13503 * vc/vc-arch.el (vc-arch):
13504 * vc/vc-cvs.el (vc-cvs):
13505 * vc/vc-git.el (vc-git):
13506 * vc/vc-hg.el (vc-hg):
13507 * vc/vc-mtn.el (vc-mtn):
13508 * vc/vc-rcs.el (vc-rcs):
13509 * vc/vc-sccs.el (vc-sccs):
13510 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13511 All relevant defcustoms reassigned.
13512
13513 2012-02-25 Chong Yidong <cyd@gnu.org>
13514
13515 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13516
13517 * term/x-win.el (x-initialize-window-system): Reduce default for
13518 x-selection-timeout to 5 seconds (Bug#8869).
13519
13520 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13521
13522 * files.el (files-equal-p, file-subdir-of-p): New functions.
13523 (copy-directory): Error when trying to copy a directory on itself.
13524 Add missing copy-contents arg to tramp handler.
13525 * dired-aux.el (dired-copy-file-recursive): Same.
13526 (dired-create-files): Modify destination when source is equal to
13527 dest when copying files.
13528 Return also when dest is a subdir of source. (Bug#10489)
13529
13530 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13531
13532 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13533 (Bug#10874)
13534
13535 2012-02-23 Alan Mackenzie <acm@muc.de>
13536
13537 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13538 parameter "after-hook:" to allow the expansion to run code after
13539 the execution of the mode hooks.
13540
13541 * font-lock.el (font-lock-initial-fontify): New function extracted
13542 from font-lock-mode-internal.
13543
13544 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13545 :after-hook.
13546
13547 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13550 (completion--cache-all-sorted-completions): New function.
13551 (completion-all-sorted-completions): Use it.
13552 (completion--do-completion, minibuffer-force-complete):
13553 Use it to re-instate the flush hook.
13554
13555 * icomplete.el (icomplete-completions): Replace last fix with a better
13556 one (bug#10850).
13557
13558 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13559
13560 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13561 when it might call us back infinitely (bug#10797).
13562
13563 2012-02-23 Glenn Morris <rgm@gnu.org>
13564
13565 * minibuffer.el (completion-category-overrides): Doc fix.
13566
13567 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13568
13569 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13570 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13571
13572 2012-02-23 Glenn Morris <rgm@gnu.org>
13573
13574 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13575 (authors-obsolete-files-regexps, authors-ignored-files)
13576 (authors-ambiguous-files, authors-renamed-files-alist):
13577 Add more entries.
13578
13579 2012-02-23 Juri Linkov <juri@jurta.org>
13580
13581 * isearch.el (isearch-occur): Sync interactive spec with occur's
13582 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13583
13584 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13585
13586 2012-02-22 Juri Linkov <juri@jurta.org>
13587
13588 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13589 (ucs-insert): Doc fix. Check for hex digits in the string.
13590 Don't display `nil' in the error message. (Bug#10857)
13591
13592 2012-02-22 Alan Mackenzie <acm@muc.de>
13593
13594 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13595
13596 2012-02-22 Glenn Morris <rgm@gnu.org>
13597
13598 * ffap.el (ffap-c-path):
13599 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13600
13601 2012-02-22 Chong Yidong <cyd@gnu.org>
13602
13603 * custom.el (load-theme): Doc fix.
13604
13605 2012-02-22 Glenn Morris <rgm@gnu.org>
13606
13607 * dired-x.el (dired-guess-shell-alist-default):
13608 Remove escape sequences from nroff output. (Bug#172)
13609
13610 2012-02-21 Glenn Morris <rgm@gnu.org>
13611
13612 * vc/emerge.el (emerge-defvar-local):
13613 Set `permanent-local' property rather than unused `preserved'.
13614
13615 * textmodes/picture.el (picture-delete-char): New alias.
13616 (picture-mode-map): Use it. (Bug#10860)
13617 (picture-mode): Doc fix.
13618
13619 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13620
13621 * newcomment.el (uncomment-region-default): Remove unused binding.
13622
13623 2012-02-21 Glenn Morris <rgm@gnu.org>
13624
13625 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13626 (picture-self-insert, picture-tab-chars): Doc fix.
13627 (picture-mode-map): Fix C-a, C-e.
13628
13629 2012-02-20 Glenn Morris <rgm@gnu.org>
13630
13631 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13632
13633 2012-02-20 Leo Liu <sdl.web@gmail.com>
13634
13635 * icomplete.el (icomplete-completions): Check FROM arg before
13636 passing to substring (Bug#10850).
13637
13638 2012-02-19 Chong Yidong <cyd@gnu.org>
13639
13640 * comint.el: Require ansi-color.
13641 (comint-output-filter-functions): Add ansi-color-process-output.
13642
13643 * ansi-color.el: Don't set comint-output-filter-functions; it is
13644 now in the initial value defined in comint.el.
13645 (ansi-color-apply-face-function): New variable.
13646 (ansi-color-apply-on-region): Use it.
13647 (ansi-color-apply-overlay-face): New function.
13648
13649 * shell.el (shell): No need to require ansi-color.
13650 (shell-mode): Use ansi-color-apply-face-function to highlight
13651 color escapes using font-lock-face property (Bug#10835).
13652
13653 2012-02-19 Chong Yidong <cyd@gnu.org>
13654
13655 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13656 mode-line formats (Bug#10839).
13657
13658 2012-02-18 Glenn Morris <rgm@gnu.org>
13659
13660 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13661
13662 * mail/undigest.el (unforward-rmail-message): Doc fix.
13663
13664 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13665
13666 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13667
13668 * international/characters.el (script-list): Sync with the latest
13669 Unicode Character Database.
13670
13671 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13672
13673 * international/titdic-cnv.el: Remove duplicate coding tag.
13674 * language/cham.el: Likewise.
13675 * language/tai-viet.el: Likewise.
13676
13677 2012-02-18 Glenn Morris <rgm@gnu.org>
13678
13679 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13680 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13681 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13682 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13683 * calendar/holidays.el (holiday-bahai-holidays)
13684 (calendar-holidays, list-holidays):
13685 Use utf-8 Bahá'í in doc-strings, menus, etc.
13686
13687 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13688
13689 * saveplace.el (save-place-ignore-files-regexp): New variable
13690 allowing for excluding files from saving their location of point.
13691 The default value matches the temporary commit message editing
13692 files from Git, SVN, Bazaar, and Mercurial.
13693 (save-place-to-alist): Use it.
13694
13695 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13696 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 * newcomment.el (uncomment-region-default): Don't leave extra space
13699 when an arg is provided (bug#8150).
13700
13701 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13702
13703 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13704
13705 2012-02-17 Glenn Morris <rgm@gnu.org>
13706
13707 * net/socks.el: Require network-stream. (Bug#10599)
13708
13709 2012-02-17 Kenichi Handa <handa@m17n.org>
13710
13711 * international/charprop.el:
13712 * international/uni-name.el:
13713 * international/uni-old-name.el:
13714 * international/uni-comment.el: Regenerate.
13715
13716 2012-02-16 Glenn Morris <rgm@gnu.org>
13717
13718 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13719 Interactively in calendar buffer, give an error if not on a date.
13720
13721 2012-02-15 Glenn Morris <rgm@gnu.org>
13722
13723 * shell.el (shell-delimiter-argument-list):
13724 Revert 2011-02-17 change. (Bug#8027)
13725
13726 2012-02-15 Chong Yidong <cyd@gnu.org>
13727
13728 * minibuffer.el (completion-at-point-functions): Doc fix.
13729
13730 * custom.el (defcustom): Doc fix; note use of defvar.
13731
13732 2012-02-15 Glenn Morris <rgm@gnu.org>
13733
13734 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13735 Doc fixes.
13736
13737 2012-02-14 Glenn Morris <rgm@gnu.org>
13738
13739 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13740
13741 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13742
13743 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13744 way the ports list is computed.
13745 (smtpmail-query-smtp-server): Prompt the user for a port number if
13746 we can't connect to any of the standard ports (bug#10810).
13747
13748 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13749
13750 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13751
13752 2012-02-13 Glenn Morris <rgm@gnu.org>
13753
13754 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13755
13756 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13757
13758 * net/gnutls.el (gnutls-trustfiles): New variable.
13759 (gnutls-negotiate): Use it.
13760
13761 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13762
13763 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13764 does its stuff if Gnus is running.
13765
13766 2012-02-13 Alan Mackenzie <acm@muc.de>
13767
13768 Fix a loop in c-set-fl-decl-start.
13769
13770 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13771 c-backward-syntactic-ws actually moves backwards.
13772
13773 2012-02-13 Leo Liu <sdl.web@gmail.com>
13774
13775 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13776 beginning so that all \C-o chars are removed.
13777
13778 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13779
13780 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13781
13782 2012-02-12 Alan Mackenzie <acm@muc.de>
13783
13784 Fix infinite loop with long macros.
13785 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13786
13787 2012-02-12 Chong Yidong <cyd@gnu.org>
13788
13789 * window.el (display-buffer): Doc fix (Bug#10785).
13790
13791 2012-02-12 Glenn Morris <rgm@gnu.org>
13792
13793 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13794 (x-disown-selection-internal, x-get-selection-internal):
13795 Sync docs with the xselect.c versions.
13796
13797 * allout-widgets.el: Add missing license notice.
13798
13799 2012-02-11 Glenn Morris <rgm@gnu.org>
13800
13801 * select.el (x-get-selection-internal, x-own-selection-internal)
13802 (x-disown-selection-internal):
13803 * x-dnd.el (x-get-selection-internal): Update declarations.
13804
13805 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13806
13807 * window.el (window-sides-slots):
13808 * tool-bar.el (tool-bar-position):
13809 * term/xterm.el (xterm-extra-capabilities):
13810 * ses.el (ses-self-reference-early-detection):
13811 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13812 (verilog-auto-wire-type)
13813 (verilog-auto-delete-trailing-whitespace)
13814 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13815 (verilog-auto-tieoff-declaration):
13816 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13817 (sql-oracle-statement-starters, sql-oracle-scan-on):
13818 * progmodes/prolog.el (prolog-align-comments-flag)
13819 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13820 (prolog-left-indent-regexp, prolog-paren-indent-p)
13821 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13822 (prolog-types, prolog-mode-specificators)
13823 (prolog-determinism-specificators, prolog-directives)
13824 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13825 (prolog-electric-dot-flag)
13826 (prolog-electric-dot-full-predicate-template)
13827 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13828 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13829 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13830 (prolog-program-switches, prolog-prompt-regexp)
13831 (prolog-debug-on-string, prolog-debug-off-string)
13832 (prolog-trace-on-string, prolog-trace-off-string)
13833 (prolog-zip-on-string, prolog-zip-off-string)
13834 (prolog-use-standard-consult-compile-method-flag)
13835 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13836 (prolog-imenu-max-lines, prolog-info-predicate-index)
13837 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13838 (prolog-char-quote-workaround):
13839 * progmodes/cc-vars.el (c-defun-tactic):
13840 * net/tramp.el (tramp-encoding-command-interactive)
13841 (tramp-local-end-of-line):
13842 * net/soap-client.el (soap-client):
13843 * net/netrc.el (netrc-file):
13844 * net/gnutls.el (gnutls):
13845 * minibuffer.el (completion-category-overrides)
13846 (completion-cycle-threshold)
13847 (completion-pcm-complete-word-inserts-delimiters):
13848 * man.el (Man-name-local-regexp):
13849 * mail/feedmail.el (feedmail-display-full-frame):
13850 * international/characters.el (glyphless-char-display-control):
13851 * eshell/em-ls.el (eshell-ls-date-format):
13852 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13853 (lisp-lambda-list-keyword-parameter-indentation)
13854 (lisp-lambda-list-keyword-parameter-alignment):
13855 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13856 * dired-x.el (dired-omit-verbose):
13857 * cus-theme.el (custom-theme-allow-multiple-selections):
13858 * calc/calc.el (calc-highlight-selections-with-faces)
13859 (calc-lu-field-reference, calc-lu-power-reference)
13860 (calc-note-threshold):
13861 * battery.el (battery-mode-line-limit):
13862 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13863 (archive-7z-update):
13864 * allout.el (allout-prefixed-keybindings)
13865 (allout-unprefixed-keybindings)
13866 (allout-inhibit-auto-fill-on-headline)
13867 (allout-flattened-numbering-abbreviation):
13868 * allout-widgets.el (allout-widgets-auto-activation)
13869 (allout-widgets-icons-dark-subdir)
13870 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13871 (allout-widgets-theme-dark-background)
13872 (allout-widgets-theme-light-background)
13873 (allout-widgets-item-image-properties-emacs)
13874 (allout-widgets-item-image-properties-xemacs)
13875 (allout-widgets-run-unit-tests-on-load)
13876 (allout-widgets-time-decoration-activity)
13877 (allout-widgets-hook-error-post-time)
13878 (allout-widgets-track-decoration):
13879 Add missing :version tags to new defcustoms and defgroups.
13880
13881 * progmodes/sql.el (sql-ansi-statement-starters)
13882 (sql-oracle-statement-starters): Add custom type.
13883
13884 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13885 (prolog-system-version): Give it a type.
13886
13887 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13888
13889 * term/pc-win.el (x-select-text, x-selection-owner-p)
13890 (x-own-selection-internal, x-disown-selection-internal)
13891 (x-get-selection-internal): Sync doc strings and argument lists
13892 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13893
13894 2012-02-11 Leo Liu <sdl.web@gmail.com>
13895
13896 * progmodes/python.el (python-end-of-statement): Fix infinite
13897 loop. (Bug#10788)
13898
13899 2012-02-10 Glenn Morris <rgm@gnu.org>
13900
13901 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13902 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13903
13904 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13905
13906 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13907 about SMTP before checking the From header.
13908
13909 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13910 into own function for reuse by emacsbug.el.
13911
13912 2012-02-10 Leo Liu <sdl.web@gmail.com>
13913
13914 * subr.el (condition-case-unless-debug): Rename from
13915 condition-case-no-debug. All callers changed.
13916 (with-demoted-errors): Fix caller.
13917
13918 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13919 * nxml/rng-valid.el (rng-do-some-validation):
13920 * emacs-lisp/package.el (package-refresh-contents)
13921 (package-menu-execute):
13922 * desktop.el (desktop-create-buffer):
13923 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13924
13925 2012-02-10 Glenn Morris <rgm@gnu.org>
13926
13927 * textmodes/bibtex.el:
13928 Add missing :version tags for new/changed defcustoms.
13929
13930 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13931
13932 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13933
13934 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13935 (smtpmail-via-smtp): Use it, or fall back on the From address.
13936 (smtpmail-send-it): Ditto.
13937
13938 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13939
13940 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13941 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13942 (byte-compile-tmp-var): New const.
13943 (byte-compile-defvar): Use it to minimize .elc size.
13944 Just use `defvar' rather than simulate it (bug#10761).
13945
13946 2012-02-09 Glenn Morris <rgm@gnu.org>
13947
13948 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13949
13950 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13951 Add :version tags.
13952
13953 * progmodes/compile.el (compilation-error-screen-columns)
13954 (compilation-first-column, compilation-filter-start): Doc fixes.
13955
13956 * vc/log-view.el (log-view-toggle-entry-display):
13957 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13958
13959 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13960 (report-emacs-bug-can-use-xdg-email):
13961 (report-emacs-bug-insert-to-mailer): Doc fixes.
13962 (report-emacs-bug): Message fix.
13963
13964 * net/browse-url.el (browse-url-can-use-xdg-open)
13965 (browse-url-xdg-open): Doc fixes.
13966
13967 * electric.el (electric-indent-mode, electric-pair-mode)
13968 (electric-layout-rules, electric-layout-mode): Doc fixes.
13969 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13970
13971 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13972
13973 * server.el (server-unselect-display): Don't inadvertently kill
13974 the current buffer. (Bug#10729)
13975
13976 2012-02-08 Glenn Morris <rgm@gnu.org>
13977
13978 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13979 (sql-list-table): Doc fixes.
13980
13981 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13982 Comment out (does nothing).
13983
13984 * completion.el (dynamic-completion-mode):
13985 * dirtrack.el (dirtrack-debug-mode):
13986 * electric.el (electric-layout-mode):
13987 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13988 * face-remap.el (text-scale-mode, buffer-face-mode):
13989 * iimage.el (iimage-mode):
13990 * image-mode.el (image-transform-mode):
13991 * minibuffer.el (completion-in-region-mode):
13992 * scroll-lock.el (scroll-lock-mode):
13993 * simple.el (next-error-follow-minor-mode):
13994 * tar-mode.el (tar-subfile-mode):
13995 * tooltip.el (tooltip-mode):
13996 * vcursor.el (vcursor-use-vcursor-map):
13997 * wid-browse.el (widget-minor-mode):
13998 * emulation/tpu-edt.el (tpu-edt-mode):
13999 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14000 * international/iso-ascii.el (iso-ascii-mode):
14001 * language/thai-util.el (thai-word-mode):
14002 * mail/supercite.el (sc-minor-mode):
14003 * net/goto-addr.el (goto-address-mode):
14004 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14005 * progmodes/cwarn.el (cwarn-mode):
14006 * progmodes/flymake.el (flymake-mode):
14007 * progmodes/glasses.el (glasses-mode):
14008 * progmodes/hideshow.el (hs-minor-mode):
14009 * progmodes/pascal.el (pascal-outline-mode):
14010 * textmodes/enriched.el (enriched-mode):
14011 * vc/smerge-mode.el (smerge-mode):
14012 Doc fixes (minor mode argument).
14013
14014 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14015
14016 * ls-lisp.el (ls-lisp-sanitize): New function.
14017 (ls-lisp-insert-directory): Use it to fix or remove any elements
14018 in file-alist with missing attributes. (Bug#4673)
14019
14020 2012-02-07 Alan Mackenzie <acm@muc.de>
14021
14022 Fix spurious recognition of c-in-knr-argdecl.
14023
14024 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14025 putative K&R region.
14026
14027 2012-02-07 Alan Mackenzie <acm@muc.de>
14028
14029 * progmodes/cc-engine.el (c-forward-objc-directive):
14030 Prevent looping in "#pragma mark @implementation".
14031
14032 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14033
14034 * notifications.el (notifications-on-closed-signal): Make `reason'
14035 optional. (Bug#10744)
14036
14037 2012-02-07 Glenn Morris <rgm@gnu.org>
14038
14039 * emacs-lisp/easy-mmode.el (define-minor-mode):
14040 Doc fixes for the macro and the mode it defines.
14041
14042 * image.el (imagemagick-types-inhibit): Doc fix.
14043
14044 * cus-start.el (imagemagick-render-type): Add it.
14045
14046 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14047
14048 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14049 Set the default at load time, too, so that `font-lock-fontify-buffer'
14050 can be called without setting up the entire mode first. This fixes
14051 a bug in `mm-inline-text' with C MIME parts.
14052
14053 2012-02-06 Chong Yidong <cyd@gnu.org>
14054
14055 * simple.el (list-processes--refresh): Delete exited processes
14056 (Bug#8094).
14057
14058 * comint.el (comint-next-prompt): next-single-char-property-change
14059 and prev-single-char-property-change never return nil (Bug#8657).
14060
14061 * custom.el (defcustom): Doc fix (Bug#9711).
14062
14063 2012-02-05 Chong Yidong <cyd@gnu.org>
14064
14065 * cus-edit.el (custom-variable-reset-backup): Quote the value
14066 before storing it in the customized-value property (Bug#6712).
14067 (custom-display): Add a customization type tag.
14068 (custom-buffer-create-internal): Improve tooltip message.
14069
14070 * wid-edit.el (widget-field-value-get): New optional arg to
14071 suppress trailing whitespace truncation.
14072 (character): Use it (Bug#2689).
14073
14074 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14075
14076 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14077 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14078
14079 2012-02-05 Chong Yidong <cyd@gnu.org>
14080
14081 * cus-edit.el (custom-variable-value-create): For mismatched
14082 types, show the current value (Bug#7600).
14083
14084 * custom.el (defcustom): Doc fix.
14085
14086 2012-02-05 Glenn Morris <rgm@gnu.org>
14087
14088 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14089
14090 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14091
14092 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14093 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14094 (pp-last-sexp): Use `looking-at-p'.
14095
14096 2012-02-04 Glenn Morris <rgm@gnu.org>
14097
14098 * files.el (revert-buffer):
14099 Doc fix (mention revert-buffer-in-progress-p).
14100
14101 * emacs-lisp/ert-x.el (ert-simulate-command):
14102 Check deferred-action-list (which is obsolete) is bound.
14103
14104 * subr.el (with-wrapper-hook): Doc fixes.
14105
14106 * simple.el (filter-buffer-substring-functions)
14107 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14108
14109 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14110
14111 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14112 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14113
14114 2012-02-04 Leo Liu <sdl.web@gmail.com>
14115
14116 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14117
14118 2012-02-04 Glenn Morris <rgm@gnu.org>
14119
14120 * image.el (image-extension-data): Add obsolete alias.
14121
14122 * isearch.el (isearch-update): Doc fix.
14123
14124 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14125
14126 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14127
14128 2012-02-03 Glenn Morris <rgm@gnu.org>
14129
14130 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14131 (image-animate-timeout): Doc fix.
14132
14133 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14134
14135 2012-02-02 Glenn Morris <rgm@gnu.org>
14136
14137 * server.el (server-auth-dir): Doc fix.
14138 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14139
14140 * subr.el (run-mode-hooks): Doc fix.
14141
14142 2012-02-02 Juri Linkov <juri@jurta.org>
14143
14144 * image-mode.el (image-toggle-display-image): Remove tautological
14145 `major-mode' from the `derived-mode-p' test.
14146
14147 2012-02-02 Kenichi Handa <handa@m17n.org>
14148
14149 * composite.el (compose-region): Cancel previous change.
14150
14151 2012-02-02 Kenichi Handa <handa@m17n.org>
14152
14153 * composite.el (compose-region, compose-string): Signal error for
14154 a null string component (Bug#6988).
14155
14156 2012-02-01 Chong Yidong <cyd@gnu.org>
14157
14158 * view.el (view-buffer-other-window, view-buffer-other-frame):
14159 Handle special modes like view-buffer (Bug#10650).
14160 (view-buffer): Simplify.
14161
14162 * frame.el (set-frame-font): Tweak meaning of third argument.
14163
14164 * dynamic-setting.el (font-setting-change-default-font):
14165 Use set-frame-font (Bug#9982).
14166
14167 2012-02-01 Glenn Morris <rgm@gnu.org>
14168
14169 * progmodes/compile.el (compilation-internal-error-properties):
14170 Respect compilation-first-column in the "*compilation*" buffer.
14171
14172 * emacs-lisp/easy-mmode.el (define-minor-mode):
14173 Relax :variable's test for a named function.
14174
14175 2012-01-31 Alan Mackenzie <acm@muc.de>
14176
14177 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14178 off by one error.
14179
14180 2012-01-31 Chong Yidong <cyd@gnu.org>
14181
14182 * frame.el (set-frame-font): New arg ALL-FRAMES.
14183
14184 * menu-bar.el (menu-set-font): Use set-frame-font.
14185
14186 * faces.el (face-spec-reset-face): Don't apply unspecified
14187 attribute values to the default face.
14188
14189 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14190
14191 * progmodes/cwarn.el (cwarn): Remove dead link.
14192 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14193 Remove * from defcustom docstrings.
14194 (turn-on-cwarn-mode): Make obsolete.
14195 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14196 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14197
14198 2012-01-31 Glenn Morris <rgm@gnu.org>
14199
14200 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14201 Fix :variable handling of mode a symbol not equal to modefun.
14202 Allow named functions to be used as the cdr of :variable.
14203
14204 2012-01-30 Glenn Morris <rgm@gnu.org>
14205
14206 * emacs-lisp/authors.el (authors-fixed-entries):
14207 Remove reference to deleted file rnewspost.el.
14208
14209 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14210
14211 * window.el (window-with-parameter): Remove unused variable `windows'.
14212 (window--side-check): Remove unused variable `code'.
14213 (window--resize-siblings): Remove unused variable `first'.
14214 (adjust-window-trailing-edge): Remove unused variable `failed'.
14215 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14216 Use `let', not `let*'.
14217 (balance-windows-2): Remove unused variable `found'.
14218 (window--state-put-2): Remove unused variable `splits'.
14219 (window-state-put): Remove unused variable `selected'.
14220 (same-window-p): Use `string-match-p'.
14221 (display-buffer-assq-regexp): Remove unused variable `value'.
14222 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14223 Mark argument ALIST as ignored.
14224 (pop-to-buffer): Remove unused variable `old-window'.
14225
14226 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14227
14228 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14229 and .lzma compressed files.
14230
14231 2012-01-29 Chong Yidong <cyd@gnu.org>
14232
14233 * frame.el (window-system-default-frame-alist): Doc fix.
14234
14235 * dynamic-setting.el (font-setting-change-default-font): Don't
14236 change the default face if SET-FONT argument is non-nil (Bug#9982).
14237
14238 2012-01-29 Samuel Bronson <naesten@gmail.com>
14239
14240 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14241
14242 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14243
14244 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14245 breakpoints in files outside current directory (Bug#6098).
14246
14247 2012-01-29 Chong Yidong <cyd@gnu.org>
14248
14249 * progmodes/python.el: Require ansi-color at top-level.
14250
14251 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14252 Define and use in Emacs Lisp mode (Bug#9360).
14253 (lisp-mode-abbrev-table): Add doc.
14254 (lisp-mode-variables): Don't set local-abbrev-table.
14255 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14256
14257 2012-01-28 Roland Winkler <winkler@gnu.org>
14258
14259 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14260
14261 2012-01-28 Roland Winkler <winkler@gnu.org>
14262
14263 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14264 (bibtex-set-dialect): Use it. Either set global values of
14265 dialect-dependent variables or bind these variables buffer-locally
14266 (Bug#10254).
14267 (bibtex-mode): Call bibtex-set-dialect via
14268 hack-local-variables-hook.
14269 (bibtex-dialect): Update docstring.
14270 Add safe-local-variable predicate.
14271 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14272 bibtex-set-dialect.
14273 (bibtex-mode-map): Define menu for each dialect.
14274 (bibtex-entry): Fix docstring.
14275
14276 2012-01-28 Chong Yidong <cyd@gnu.org>
14277
14278 * eshell/esh-arg.el (eshell-quote-argument): New function.
14279
14280 * eshell/esh-ext.el (eshell-invoke-batch-file):
14281 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14282 first arg to eshell-parse-command (Bug#10523).
14283
14284 2012-01-28 Drew Adams <drew.adams@oracle.com>
14285
14286 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14287 `default-directory' is non-nil.
14288
14289 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14290
14291 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14292 line that displays system-configuration-options. (Bug#9924)
14293
14294 2012-01-28 Drew Adams <drew.adams@oracle.com>
14295
14296 * descr-text.el (describe-char): Show information about POS, in
14297 addition to information about the character at POS. Improve and
14298 update the doc string. Change "code point" to "code point in
14299 charset", to avoid confusion with the character's Unicode code
14300 point shown above that. (Bug#10129)
14301
14302 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14303
14304 * descr-text.el (describe-char): Show the raw character, not only
14305 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14306 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14307 for the reasons.
14308
14309 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14310
14311 * emacs-lisp/package.el (package-install):
14312 Run package-refresh-contents if there is no archive yet (Bug#9798).
14313
14314 2012-01-28 Chong Yidong <cyd@gnu.org>
14315
14316 * emacs-lisp/package.el (package-maybe-load-descriptor):
14317 New function, split from package-maybe-load-descriptor.
14318 (package-maybe-load-descriptor): Use it.
14319 (package-download-transaction): Fully load required packages
14320 inside the loop, so that `require' calls work (Bug#10593).
14321 (package-install): No need to call package-initialize now.
14322
14323 2012-01-28 Chong Yidong <cyd@gnu.org>
14324
14325 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14326
14327 * tooltip.el (tooltip-mode): Doc fix.
14328 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14329
14330 * frame.el (set-cursor-color): Doc fix (Bug#352).
14331
14332 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14333 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14334
14335 * cus-edit.el (custom-buffer-create-internal): Fix search button
14336 action (Bug#10542).
14337 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14338
14339 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14340
14341 * dired.el (dired-mark-files-regexp):
14342 Include any subdirectory components. (Bug#10445)
14343
14344 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14345
14346 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14347 Handle [host]:port syntax. (Bug#10533)
14348
14349 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14350
14351 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14352
14353 2012-01-26 Glenn Morris <rgm@gnu.org>
14354
14355 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14356 * term.el (term-raw-escape-map): Use Control-X-prefix.
14357 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14358
14359 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14360
14361 * window.el (window-state-get, window--state-get-1): Don't deal
14362 with fixed-sizeness of windows. Simplify code.
14363
14364 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14365
14366 * window.el (window--state-get-1, window--state-put-2):
14367 Don't save and restore the mark.
14368
14369 2012-01-25 Chong Yidong <cyd@gnu.org>
14370
14371 * custom.el (custom-variable-p): Doc fix.
14372
14373 2012-01-25 Glenn Morris <rgm@gnu.org>
14374
14375 * dired.el (dired-goto-file): Handle some of the more common
14376 characters that `ls -b' escapes. (Bug#10596)
14377
14378 * progmodes/compile.el (compilation-next-error-function):
14379 Respect compilation-first-column in the "*compilation*" buffer.
14380 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14381
14382 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14383
14384 2012-01-24 Glenn Morris <rgm@gnu.org>
14385
14386 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14387
14388 2012-01-24 Julien Danjou <julien@danjou.info>
14389
14390 * color.el (color-rgb-to-hsl): Fix value computing.
14391 (color-hue-to-rgb): New function.
14392 (color-hsl-to-rgb): New function.
14393 (color-clamp, color-saturate-hsl, color-saturate-name)
14394 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14395 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14396
14397 2012-01-24 Glenn Morris <rgm@gnu.org>
14398
14399 * vc/vc-rcs.el (vc-rcs-create-tag):
14400 * vc/vc-sccs.el (vc-sccs-create-tag):
14401 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14402
14403 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14404
14405 * eshell/esh-util.el (eshell-read-hosts-file):
14406 Skip comment lines. (Bug#10549)
14407
14408 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14409
14410 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14411
14412 * subr.el (display-delayed-warnings): Doc fix.
14413 (collapse-delayed-warnings): New function to collapse identical
14414 adjacent warnings.
14415 (delayed-warnings-hook): Add it.
14416
14417 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14418
14419 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14420
14421 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14422 (tramp-default-user-alist): Don't add "pscp".
14423 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14424 property "login-as", if set. (Bug#10530)
14425
14426 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14427
14428 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14429 "plink1" and "psftp". (Bug#10530)
14430
14431 2012-01-21 Kenichi Handa <handa@m17n.org>
14432
14433 * international/mule-cmds.el (prefer-coding-system): Show a
14434 warning message if the default value of file-name-coding-system
14435 was not changed.
14436
14437 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14438
14439 * windmove.el (windmove-reference-loc):
14440 Fix windmove-reference-loc miscalculation.
14441
14442 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14443
14444 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14445 default unit.
14446
14447 2012-01-21 Glenn Morris <rgm@gnu.org>
14448
14449 * international/mule.el (auto-coding-alist): Add .tbz.
14450
14451 * files.el (local-enable-local-variables): Doc fix.
14452 (inhibit-local-variables-regexps): Rename from
14453 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14454 Doc fix. Add some extensions from auto-coding-alist.
14455 (inhibit-local-variables-suffixes):
14456 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14457 (inhibit-local-variables-p):
14458 New function, extracted from set-auto-mode-1.
14459 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14460 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14461 (hack-local-variables): Doc fix. Make the mode-only case
14462 respect enable-local-variables and friends.
14463 Respect inhibit-local-variables-regexps for file-locals, but
14464 not for directory-locals.
14465 (set-visited-file-name):
14466 Take account of inhibit-local-variables-regexps.
14467 Whether it applies may change as the file name is changed.
14468 * jka-cmpr-hook.el (jka-compr-install):
14469 * jka-compr.el (jka-compr-uninstall):
14470 Update for inhibit-first-line-modes-suffixes name change.
14471
14472 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14473
14474 * help-macro.el (make-help-screen): Temporarily restore original
14475 binding for minor-mode-map-alist (Bug#10454).
14476
14477 2012-01-19 Julien Danjou <julien@danjou.info>
14478
14479 * color.el (color-name-to-rgb): Use the white color to find the max
14480 color component value and return correctly computed values.
14481 (color-name-to-rgb): Add missing float conversion for max value.
14482
14483 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14484
14485 * window.el (window--state-get-1, window-state-get): Do not use
14486 special state value for window-persistent-parameters.
14487 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14488 (window--state-put-2): Reset all window parameters to nil before
14489 assigning values of persistent parameters.
14490
14491 2012-01-18 Alan Mackenzie <acm@muc.de>
14492
14493 Eliminate sluggishness and hangs in fontification of "semicolon
14494 deserts".
14495
14496 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14497 Change value 10000 -> 3000.
14498 (c-state-safe-place): Reformulate so it doesn't stack up an
14499 infinite number of wrong entries in c-state-nonlit-pos-cache.
14500 (c-determine-limit-get-base, c-determine-limit): New functions to
14501 determine backward search limits disregarding literals.
14502 (c-find-decl-spots): Amend commenting.
14503 (c-cheap-inside-bracelist-p): New function which detects "={".
14504
14505 * progmodes/cc-fonts.el
14506 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14507 backward search.
14508 (c-font-lock-declarations): Fix an occurrence of point being
14509 undefined. Check additionally for point being in a bracelist or
14510 near a macro invocation without a semicolon so as to avoid a
14511 fruitless time consuming search for a declarator. Give a more
14512 precise search limit for declarators using the new
14513 c-determine-limit.
14514
14515 2012-01-18 Glenn Morris <rgm@gnu.org>
14516
14517 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14518 (set-auto-mode): Doc fixes.
14519
14520 2012-01-17 Glenn Morris <rgm@gnu.org>
14521
14522 * isearch.el (search-nonincremental-instead): Fix doc typo.
14523
14524 * dired.el (dired-insert-directory): Handle newlines in directory name.
14525 (dired-build-subdir-alist): Unescape newlines in directory name.
14526
14527 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14528
14529 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14530 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14531 (tramp-action-terminal): Use it. (Bug#10530)
14532
14533 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14536
14537 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14538
14539 * window.el (window-state-ignored-parameters): Remove variable.
14540 (window--state-get-1): Rename argument MARKERS to IGNORE.
14541 Handle persistent window parameters. Make copy of clone-of
14542 parameter only if requested. (Bug#10348)
14543 (window--state-put-2): Install a window parameter only if it has
14544 a non-nil value or an existing parameter shall be overwritten.
14545
14546 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14547
14548 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14549
14550 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14551
14552 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14553 don't pass the (nil) value of `upnode' to string-match.
14554
14555 2012-01-14 Chong Yidong <cyd@gnu.org>
14556
14557 * startup.el (command-line): Fix X resource class for cursorColor.
14558 Fix values recognized by the cursorBlink resource.
14559
14560 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14561
14562 * epg.el (epg--make-temp-file): Avoid permission race condition
14563 when running on old Emacs versions (bug#10403).
14564
14565 2012-01-14 Glenn Morris <rgm@gnu.org>
14566
14567 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14568
14569 2012-01-13 Alan Mackenzie <acm@muc.de>
14570
14571 Fix filling for when filladapt mode is enabled.
14572
14573 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14574 c-mask-paragraph, pass in `fill-paragraph' rather than
14575 `fill-region-as-paragraph'. (This is a reversion of a previous
14576 change.)
14577 * progmodes/cc-mode.el (c-basic-common-init):
14578 Make fill-paragraph-handle-comment buffer local and set it to nil.
14579
14580 2012-01-13 Glenn Morris <rgm@gnu.org>
14581
14582 * dired.el (dired-switches-escape-p): New function.
14583 (dired-insert-directory): Use dired-switches-escape-p.
14584 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14585
14586 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14587
14588 2012-01-12 Glenn Morris <rgm@gnu.org>
14589
14590 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14591 changes in adaptive-fill-regexp. (Bug#10276)
14592
14593 2012-01-11 Alan Mackenzie <acm@muc.de>
14594
14595 Fix Emacs bug #10463 - put `widen's around the critical spots.
14596
14597 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14598 widen around each invocation of c-state-pp-to-literal. Remove an
14599 unused let variable.
14600
14601 2012-01-11 Glenn Morris <rgm@gnu.org>
14602
14603 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14604 Doc fix.
14605
14606 2012-01-10 Chong Yidong <cyd@gnu.org>
14607
14608 * net/network-stream.el (network-stream-open-starttls):
14609 Avoid emitting a confusing error message when the server gives a bad
14610 response to the capability command.
14611
14612 2012-01-10 Glenn Morris <rgm@gnu.org>
14613
14614 * mail/unrmail.el (unrmail): Tweak previous change.
14615
14616 2012-01-09 Chong Yidong <cyd@gnu.org>
14617
14618 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14619
14620 2012-01-08 Alan Mackenzie <acm@muc.de>
14621
14622 Optimize font locking in long enum definitions.
14623
14624 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14625 arm to a cond form to handle enums.
14626 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14627 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14628
14629 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14630
14631 * files.el (move-file-to-trash): Preserve default file modes on error.
14632 (Bug#10401)
14633
14634 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14635
14636 * faces.el (set-face-attribute): Clarify the meaning of the nil
14637 frame (bug#10294).
14638
14639 * subr.el (with-selected-frame): Mention that the selected frame
14640 is restored (bug#9980).
14641
14642 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14643 (bug#9759).
14644
14645 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14646 (password-read): Don't autoload unused function.
14647
14648 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14649
14650 * progmodes/which-func.el (which-func-mode): Turn into a
14651 non-interactive function and mark as obsolete (bug#10428).
14652
14653 2012-01-06 Chong Yidong <cyd@gnu.org>
14654
14655 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14656 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14657 functions, along with 1 and -1.
14658
14659 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14660
14661 * time.el (display-time-load-average)
14662 (display-time-default-load-average): Doc fixes. See the thread
14663 starting at
14664 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14665 for the details.
14666
14667 2012-01-06 Glenn Morris <rgm@gnu.org>
14668
14669 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14670 has no messages. (Bug#10377)
14671
14672 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14673 than Info-edit. (Bug#10385)
14674
14675 * time.el (display-time-load-average, display-time-next-load-average):
14676 Doc fixes.
14677
14678 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14679 local setting of buffer-read-only to the input buffer. (Bug#10419)
14680
14681 * calendar/calendar.el (calendar-mode):
14682 Locally set scroll-margin to 0. (Bug#10379)
14683
14684 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14685
14686 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14687
14688 2012-01-05 Glenn Morris <rgm@gnu.org>
14689
14690 * eshell/em-unix.el (diff-no-select): Autoload it.
14691 (eshell/diff): Use diff-no-select. (Bug#10420)
14692
14693 2012-01-05 Chong Yidong <cyd@gnu.org>
14694
14695 * shell.el (shell-dynamic-complete-functions): Revert last change.
14696 (shell-command-completion-function): New function.
14697 (shell-completion-vars): Use it to implement
14698 shell-completion-execonly (Bug#10417).
14699
14700 * custom.el (enable-theme): Don't set custom-safe-themes.
14701
14702 * cus-theme.el (custom-theme-merge-theme):
14703 Ignore custom-enabled-themes and custom-safe-themes.
14704
14705 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14706
14707 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14708 first prompt in `sql-interacive-mode'.
14709 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14710 keywords.
14711 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14712 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14713 context of original buffer. Invoke `sql-login-hook'.
14714
14715 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14716
14717 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14718 letters in cite-prefix.
14719
14720 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14721
14722 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14723
14724 2012-01-03 Chong Yidong <cyd@gnu.org>
14725
14726 * shell.el (shell-dynamic-complete-functions):
14727 Put pcomplete-completions-at-point, so as to try
14728 comint-filename-completion first (Bug#10417).
14729
14730 2012-01-02 Richard Stallman <rms@gnu.org>
14731
14732 * battery.el (battery-status-function):
14733 Detect when to use battery-yeeloong-sysfs.
14734 (battery-echo-area-format): Add string for Yeeloong.
14735 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14736 (battery-yeeloong-sysfs): New function.
14737
14738 2012-01-02 Chong Yidong <cyd@gnu.org>
14739
14740 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14741 (dirtrack): Merge code for handling relative filenames in prompt
14742 from shell-dir-cookie-watcher.
14743 (dirtrack-debug-message): New arg to avoid excess format calls.
14744
14745 * shell.el (shell-dir-cookie-re): Variable deleted.
14746 (shell-dir-cookie-watcher): Function deleted.
14747 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14748 with dirtrack-mode.
14749
14750 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14751
14752 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14753 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14754 libgnutls-26.dll.
14755
14756 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14757
14758 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14759
14760 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14761
14762 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14763 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14764
14765 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14766
14767 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14768 also for alternative shells.
14769 (tramp-open-connection-setup-interactive-shell): Check, whether
14770 the shell is a busybox.
14771 (tramp-send-command): Don't suppress multiple prompts for
14772 busyboxes, it hurts.
14773
14774 2011-12-28 Chong Yidong <cyd@gnu.org>
14775
14776 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14777 (gdb-get-source-file): Move mode line update to
14778 gdb-get-source-file (Bug#10087).
14779
14780 2011-12-25 Chong Yidong <cyd@gnu.org>
14781
14782 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14783 gud-gdb-marker-filter without taking it as an argument.
14784 (gud-gdb-run-command-fetch-lines): Caller changed.
14785 (gud-gdb-completion-function): New variable.
14786 (gud-gdb-completion-at-point): Use it.
14787 (gud-gdb-completions-1): Split from gud-gdb-completions.
14788
14789 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14790 function as separate arguments.
14791 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14792 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14793 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14794 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14795 (gdb-stopped, def-gdb-auto-update-trigger)
14796 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14797 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14798 Callers changed.
14799 (gud-gdbmi-completions): New function.
14800 (gdb): Use it for generating the completion table.
14801
14802 2011-12-24 Alan Mackenzie <acm@muc.de>
14803
14804 Introduce a mechanism to widen the region used in context font
14805 locking. Use this to protect declarations from losing their contexts.
14806
14807 * progmodes/cc-langs.el (c-before-font-lock-functions):
14808 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14809 (c-before-context-fontification-functions): New defvar, a list of
14810 functions to be run just before context (etc.) font locking.
14811
14812 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14813 New, functionality extracted from
14814 c-neutralize-syntax-in-and-mark-CPP.
14815 (c-in-after-change-fontification): New variable.
14816 (c-after-change): Set c-in-after-change-fontification.
14817 (c-set-fl-decl-start): Rejig its interface, so it can be called
14818 from both after-change and context fontifying.
14819 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14820 New functions.
14821 (c-standard-font-lock-fontify-region-function): New variable.
14822 (c-font-lock-fontify-region): New function.
14823
14824 2011-12-24 Juri Linkov <juri@jurta.org>
14825
14826 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14827 (Bug#10348)
14828
14829 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14830
14831 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14832 existence of source file. (Bug#10325)
14833
14834 2011-12-23 Alan Mackenzie <acm@muc.de>
14835
14836 Fix unstable fontification inside templates.
14837
14838 * progmodes/cc-langs.el (c-before-font-lock-functions):
14839 Newly created from the singular version. The (c c++ objc) entry now
14840 additionally has c-set-fl-decl-start. The other languages (apart
14841 from AWK) have that as a single entry.
14842
14843 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14844 The functionality for "local" declarations has been extracted to
14845 c-set-fl-decl-start.
14846
14847 * progmodes/cc-mode.el (c-common-init, c-after-change):
14848 Changes due to pluralisation of c-before-font-lock-functions.
14849 (c-set-fl-decl-start): New function, extracted from
14850 c-font-lock-enclosing-decls and enhanced.
14851
14852 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14853
14854 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14855
14856 2011-12-22 Juri Linkov <juri@jurta.org>
14857
14858 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14859
14860 2011-12-22 Chong Yidong <cyd@gnu.org>
14861
14862 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14863
14864 2011-12-21 Drew Adams <drew.adams@oracle.com>
14865
14866 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14867
14868 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14869
14870 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14871
14872 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14873
14874 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14875 highlighting and support. Fix up comments for capitalization.
14876 (cfengine-mode-debug): New var.
14877 (cfengine3-mode): Change the modeline indicator to "CFE3".
14878 (cfengine3-font-lock-keywords): Improve defun highlighting.
14879 (cfengine2-actions): Rename from `cfengine-actions'.
14880 (cfengine2-font-lock-keywords): Rename from
14881 `cfengine-font-lock-keywords'.
14882 (cfengine2-imenu-expression): Rename from
14883 `cfengine-imenu-expression'.
14884 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14885 (cfengine2-beginning-of-defun): Rename from
14886 `cfengine-beginning-of-defun'.
14887 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14888 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14889 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14890 modeline indicator to "CFE2".
14891 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14892 (cfengine-mode-abbrevs): Mark obsolete.
14893
14894 2011-12-21 Chong Yidong <cyd@gnu.org>
14895
14896 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14897 filename argument.
14898
14899 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14900
14901 * window.el (window-normalize-buffer-to-display): Remove.
14902 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14903
14904 2011-12-19 Chong Yidong <cyd@gnu.org>
14905
14906 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14907 Don't signal an error in a predicate function; return non-nil.
14908 (vc-dir-mark-file): Move the error here.
14909 (vc-dir-mark-unmark): If acting on the region, keep going if one
14910 of the entries cannot be marked/unmarked.
14911 (vc-dir-mark-all-files): If current entry is a directory, mark
14912 only child files, as documented.
14913
14914 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14915
14916 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14917 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14918 addition.
14919
14920 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14921
14922 * term/ns-win.el (ns-get-selection-internal)
14923 (ns-store-selection-internal): Declare.
14924 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14925 Declare as obsolete.
14926 (ns-get-pasteboard, ns-paste-secondary):
14927 Use ns-get-selection-internal.
14928 (ns-set-pasteboard, ns-copy-including-secondary):
14929 Use ns-store-selection-internal.
14930
14931 2011-12-17 Chong Yidong <cyd@gnu.org>
14932
14933 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14934 (vc-deduce-fileset): Doc fix.
14935
14936 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14937
14938 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14939
14940 2011-12-13 Sam Steingold <sds@gnu.org>
14941
14942 * man.el (Man-getpage-in-background): When running under a
14943 window-system, ignore $MANWIDTH and $COLUMNS.
14944
14945 2011-12-15 Kenichi Handa <handa@m17n.org>
14946
14947 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14948 (setup-ethiopic-environment-internal): Comment out key-binding for
14949 ethio-toggle-punctuation.
14950
14951 2011-12-13 Alan Mackenzie <acm@muc.de>
14952
14953 Add the switch statement to AWK Mode.
14954
14955 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14956 "default" to the keywords regexp.
14957
14958 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14959 expression as the rest.
14960 (c-nonlabel-token-key): Allow string literals for AWK.
14961 Refactor for the other modes.
14962
14963 Large brace-block initialisation makes CC Mode slow: Fix.
14964 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14965 routines. Limit backward searching in c-font-lock-enclosing.decl.
14966
14967 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14968 pp-state and literal type in addition to the limits.
14969 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14970 (c-state-literal-at): Use the above new defun.
14971 (c-slow-in-literal, c-fast-in-literal): Remove.
14972 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14973
14974 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14975 being in a literal. Add a limit for backward searching.
14976
14977 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14978 c-slow-in-literal.
14979
14980 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14983
14984 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14985
14986 * window.el (delete-other-windows): Use correct frame in call to
14987 window-with-parameter.
14988
14989 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14990
14991 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14992 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14993 (makefile-gmake-statements, makefile-makepp-statements):
14994 Use it and add new makepp keywords.
14995 (makefile-makepp-font-lock-keywords): Add new patterns.
14996 (makefile-match-function-end): Match new [...] and [[...]].
14997
14998 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14999
15000 * ses.el (ses-call-printer-return, ses-cell-property-get)
15001 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15002 (ses-create-cell-variable, ses-reset-header-string)
15003 (ses-cell-set-formula, ses-repair-cell-reference-all)
15004 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15005 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15006 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15007 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15008 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15009 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15010 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15011 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15012 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15013 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15014 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15015 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15016
15017 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15018
15019 * ses.el: The overall change is to add cell renaming, that is
15020 setting fancy names for cell symbols other than name matching
15021 "\\`[A-Z]+[0-9]+\\'" regexp .
15022 (ses-create-cell-variable): New defun.
15023 (ses-relocate-formula): Relocate formulas only for cells the
15024 symbols of which are not renamed, i.e. symbols whose names do not
15025 match regexp "\\`[A-Z]+[0-9]+\\'".
15026 (ses-relocate-all): Relocate values only for cells the symbols of
15027 which are not renamed.
15028 (ses-load): Create cells variables as the (ses-cell ...) are read,
15029 in order to check row col consistency with cell symbol name only
15030 for cells that are not renamed.
15031 (ses-replace-name-in-formula): New defun.
15032 (ses-rename-cell): New defun.
15033
15034 2011-12-11 Chong Yidong <cyd@gnu.org>
15035
15036 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15037 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15038
15039 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15040
15041 * window.el (other-window): Fix docstring.
15042
15043 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15044
15045 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15046 `from' or `to' address before taking its substring.
15047 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15048 encoded name is chopped in the middle of the encoded string, and
15049 thus displayed encoded.
15050
15051 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15052
15053 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15054
15055 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15056
15057 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15058 to use texinfo-update-node and commands that call it if the
15059 Texinfo file uses @node lines without next/prev/up pointers.
15060 Correct outdated description about texinfo-master-menu.
15061 (texinfo-all-menus-update, texinfo-master-menu)
15062 (texinfo-update-node, texinfo-every-node-update)
15063 (texinfo-multiple-files-update): Doc fix. Warn against updating
15064 all the @node lines.
15065 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15066 argument is numeric. Explain better in the doc string what the
15067 function really does.
15068 (texinfo-insert-master-menu-list): Improve the error message
15069 displayed if there's no menu in the Top node.
15070 (Bug#2975) See also this thread:
15071 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15072
15073 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15074
15075 * speedbar.el (speedbar-supported-extension-expressions):
15076 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15077
15078 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15079
15080 * printing.el (pr-mode-alist):
15081 * simple.el (filter-buffer-substring-functions)
15082 (completion-list-insert-choice-function):
15083 * window.el (window-with-parameter, window-atom-root)
15084 (window-sides-slots, window-size-fixed, window-min-delta)
15085 (window-max-delta, window--resize-mini-window)
15086 (window--resize-child-windows-normal, window-tree)
15087 (delete-other-windows, quit-window, split-window)
15088 (display-buffer-record-window, special-display-buffer-names)
15089 (special-display-regexps, special-display-popup-frame)
15090 (same-window-p, split-window-sensibly)
15091 (display-buffer-overriding-action, display-buffer-alist)
15092 (display-buffer-base-action, display-buffer, switch-to-buffer)
15093 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15094 (fit-window-to-buffer, recenter-positions)
15095 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15096 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15097 and remove unneeded backslashes in docstrings.
15098
15099 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15102
15103 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15104 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15105 end in ".mk".
15106 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15107 when reading the makefile (bug#10116).
15108
15109 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15110
15111 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15112 (bug#10116).
15113
15114 2011-12-06 Glenn Morris <rgm@gnu.org>
15115
15116 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15117
15118 2011-12-06 Chong Yidong <cyd@gnu.org>
15119
15120 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15121
15122 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15123
15124 * textmodes/table.el (table-shorten-cell): Fix typo.
15125
15126 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15127
15128 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15129
15130 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15131
15132 * descr-text.el (describe-char): Fix display of strong
15133 right-to-left characters and directional embeddings and overrides.
15134
15135 * simple.el (what-cursor-position): Fix display of codepoints of
15136 strong right-to-left characters.
15137
15138 2011-12-05 Chong Yidong <cyd@gnu.org>
15139
15140 * faces.el (read-color): Doc fix.
15141
15142 2011-12-05 Glenn Morris <rgm@gnu.org>
15143
15144 * align.el (align--set-marker): Add doc-string.
15145 Don't try to move something that is not a marker. (Bug#10216)
15146
15147 2011-12-04 Glenn Morris <rgm@gnu.org>
15148
15149 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15150 overly zealous deletion of trailing whitespace.
15151
15152 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15153
15154 * server.el (server-delete-client): On Windows, do not try to delete
15155 the only terminal.
15156 (server-process-filter): On Windows, treat requests for a tty frame as
15157 if they were for a GUI frame if the running server is in GUI mode.
15158
15159 2011-12-03 Glenn Morris <rgm@gnu.org>
15160
15161 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15162
15163 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15164
15165 * electric.el: Streamline electric-indent's hook.
15166 (electric-indent-chars): Revert to simple list.
15167 (electric-indent-functions): New var.
15168 (electric-indent-post-self-insert-function): Use it.
15169
15170 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15171 there's no inferior buffer (bug#10196).
15172 (prolog-consult-compile): Don't use toggle-read-only.
15173
15174 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15175
15176 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15177 interrupt. (Bug#10187)
15178
15179 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15180
15181 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15182 (bug#9160).
15183
15184 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15185 (bug#10191).
15186
15187 2011-12-02 Juri Linkov <juri@jurta.org>
15188
15189 * info.el (Info-search): Display "end of manual" when Isearch
15190 reaches the end of single-file Info manual. (Bug#9918)
15191
15192 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15193
15194 * isearch.el (isearch-message-prefix): Run the input method part
15195 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15196
15197 2011-12-02 Juri Linkov <juri@jurta.org>
15198
15199 * isearch.el (isearch-occur): Use `word-search-regexp' for
15200 `isearch-word'.
15201 (isearch-search-and-update): Add condition for `isearch-word' and
15202 call `word-search-regexp'. (Bug#10145)
15203
15204 2011-12-01 Glenn Morris <rgm@gnu.org>
15205
15206 * eshell/em-hist.el (eshell-hist-initialize):
15207 Handle eshell-history-size nil and HISTSIZE set or unset.
15208 (eshell-history-file-name, eshell-history-size): Fix custom type.
15209
15210 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15211
15212 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15213
15214 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15215
15216 * progmodes/verilog-mode.el (verilog-pretty-expr):
15217 Rework verilog-pretty-expr to handle new assignment operators in system
15218 verilog, such as += *= and the like.
15219 (verilog-assignment-operator-re): Regular expression to find the
15220 assigment operator in a verilog assignment.
15221 (verilog-assignment-operation-re): Regular expression to find an
15222 assignment statement for pretty-expr.
15223 (verilog-in-attribute-p): Query returns true if point is in an
15224 attribute context; used to skip these for expression line up from
15225 pretty-expr.
15226 (verilog-in-parameter-p): Query returns true if point is in an
15227 parameter definition context; used to skip these for expression
15228 line up from pretty-expr.
15229 (verilog-in-parenthesis-p): Query returns true if point is in a
15230 parenthetical expression, specifically ( ) but not [ ] or { };
15231 used by pretty-expr.
15232 (verilog-just-one-space): If there is no space, don't add one.
15233 (verilog-get-lineup-indent-2): Specifically skip just attribute
15234 contexts for expression lineup, rather than skipping all
15235 parenthetical expressions.
15236 (verilog-calculate-indent): Fix comment, and fix indent.
15237 (verilog-do-indent): Indent declarations in lists (suggested by
15238 Joachim Lechner).
15239 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15240 skeleton items.
15241 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15242 by Alain Mellan).
15243
15244 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15245
15246 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15247 parameters with embedded comments. Reported by Ray Stevens.
15248 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15249 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15250 Reported by Tim Holt.
15251 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15252 instantiated by upper module causing wrong expansion until AUTOed a
15253 second time. Reported by K C Buckenmaier.
15254 (verilog-diff-auto): Fix showing .* as a difference when
15255 `verilog-auto-star-save' off. Reported by Dan Dever.
15256 (verilog-auto-reset, verilog-read-always-signals)
15257 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15258 temporary signals in reset list if
15259 verilog-auto-reset-blocking-in-non is nil, and match assignment
15260 style to each signal's assignment type, bug381.
15261 Reported by Thomas Esposito.
15262 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15263 (verilog-uvm-statement-re): Support UVM indentation and
15264 highlighting, with old OVM keywords only.
15265 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15266 Support AUTOTIEOFF creating non-wire data types.
15267 Suggested by Jonathan Greenlaw.
15268 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15269 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15270 (verilog-inject-sense, verilog-read-inst-pins)
15271 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15272 Fix mismatching parenthesis inside commented out code when deleting
15273 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15274 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15275 non-numeric vector width. Reported by Alex Reed.
15276 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15277 detecting signals with parameter widths. Reported by Alex Reed.
15278 (verilog-auto-delete-trailing-whitespace):
15279 With `verilog-auto-delete-trailing-whitespace' remove trailing
15280 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15281 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15282 Fix verilog-scan-cache corruption when running user AUTO expansion
15283 hooks that call indentation routines.
15284 (verilog-simplify-range-expression): Fix typo ignoring lower case
15285 identifiers.
15286 (verilog-delete-auto): Fix delete-autos to also remove user created
15287 automatics, as long as they start with AUTO.
15288 (verilog-batch-diff-auto, verilog-diff-auto)
15289 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15290 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15291 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15292 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15293 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15294 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15295 is disabled and its cache will get corrupt, causing AUTOS not to
15296 expand. Instead use only -quick functions.
15297 (verilog-scan-region): Fix scanning over escaped quotes.
15298 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15299 (verilog-re-search-backward-quick)
15300 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15301 related functions now ignore strings, to fix misparsing of strings
15302 with magic comments embedded in them.
15303 (verilog-read-auto-template):
15304 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15305 Reported by Brad Dobbie.
15306 (verilog-read-auto-template):
15307 Fix 'verilog-auto-inst-template-numbers' with comments.
15308 Reported by Brad Dobbie.
15309 (verilog-auto-inst, verilog-auto-inst-param)
15310 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15311 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15312 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15313 debugging templates without merge conflicts, bug357.
15314 Reported by Brad Dobbie.
15315 (verilog-read-auto-template):
15316 Fix verilog-auto-inst-template-numbers with multiple templates.
15317 Reported by Brad Dobbie.
15318 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15319 abbrevs so user won't be asked to save.
15320 (verilog-read-auto-lisp-present): Fix to start at beginning of
15321 buffer in case called outside of verilog-auto.
15322 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15323 to "X-2". Reported by Matthew Myers.
15324 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15325 all inputs from module templates. Reported by Leith Johnson.
15326 (verilog-module-inside-filename-p): Fix locating programs as with
15327 modules.
15328 (verilog-auto-inst-port): Fix vl-width expressions when using
15329 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15330 (verilog-decls-get-regs, verilog-decls-get-signals,
15331 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15332 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15333 verilog-read-decls): Combine reg and wire structures into one var
15334 structure to represent SystemVerilog concepts.
15335 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15336 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15337 (verilog-auto-wire-type, verilog-insert-definition):
15338 Add verilog-auto-wire-type and AUTOLOGIC to support using
15339 SystemVerilog "logic" keyword instead of "wire"/"reg".
15340 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15341 to declares outputs that also have assignments (presumably in an
15342 ifdef or generate if so there's not a driver conflict).
15343 Reported by Matthew Myers.
15344 (verilog-auto-declare-nettype, verilog-insert-definition):
15345 Add verilog-auto-declare-nettype to fix declarations using
15346 `default_nettype none. Reported by Julian Gorfajn.
15347 (verilog-read-always-signals-recurse, verilog-read-decls)
15348 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15349 malformed end statement, bug325. Reported by Joshua Wise and
15350 Andrew Drake.
15351 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15352 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15353 when expanding .* in interfaces, bug320.
15354 Reported by Pierre-David Pfister.
15355 (verilog-read-module-name): Fix import statements between module
15356 name and open parenthesis, bug317.
15357 Reported by Pierre-David Pfister.
15358 (verilog-simplify-range-expression): Fix simplification of
15359 multiplications inside AUTOWIRE connections, bug303.
15360 (verilog-auto-inst-port): Support parameter expansion in
15361 multidimensional arrays.
15362 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15363 after "assert property". Reported by Julian Gorfajn.
15364 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15365 with multiplication, bug303.
15366 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15367 Reported by Jan Frode Lonnum.
15368
15369 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15370
15371 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15372 (hfy-shell-file-name, hfy-shell):
15373 * international/fontset.el (x-decompose-font-name): Fix typos.
15374
15375 2011-11-29 Ken Brown <kbrown@cornell.edu>
15376
15377 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15378 (gdb-version): Remove defvar.
15379 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15380 (gdb-gud-context-command, gdb-non-stop-handler)
15381 (gdb-current-context-command, gdb-stopped): Use it.
15382 (gdb-init-1): Enable pretty printing here.
15383 (gdb-non-stop-handler): Don't enable pretty-printing here.
15384 Check to see if the target supports non-stop mode; if not, turn off
15385 non-stop mode. Use the following.
15386 (gdb-check-target-async): New defun.
15387 (gud-watch, gdb-stopped): Fix whitespace.
15388 (gdb-get-source-file): Don't try to display the source file if
15389 `gdb-main-file' is nil.
15390
15391 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * align.el: Try to generate fewer markers (bug#10047).
15394 (align--set-marker): New macro.
15395 (align-region): Use it.
15396
15397 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15398
15399 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15400
15401 2011-11-29 Chong Yidong <cyd@gnu.org>
15402
15403 * indent.el (indent-for-tab-command, indent-according-to-mode):
15404 Doc fix.
15405 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15406
15407 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15408
15409 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15410 aware of remote file names. (Bug#10124)
15411
15412 2011-11-29 Chong Yidong <cyd@gnu.org>
15413
15414 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15415
15416 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15417
15418 * files.el (find-file): Don't use force-same-window (bug#10144).
15419 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15420 use pop-to-buffer if the selected window can't be used.
15421 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15422
15423 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15424
15425 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15426 special-mode-map.
15427
15428 2011-11-28 Chong Yidong <cyd@gnu.org>
15429
15430 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15431
15432 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15433
15434 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15435 gdb-get-source-file-list on gdb-create-source-file-list.
15436
15437 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15438
15439 * whitespace.el (whitespace-newline): Use a different foreground
15440 color for 16-color light-background displays.
15441
15442 2011-11-24 Chong Yidong <cyd@gnu.org>
15443
15444 * window.el (display-buffer--special-action): Doc fix.
15445
15446 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15447
15448 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15449 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15450 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15451 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15452 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15453 (avl-tree-stack-first):
15454 * emacs-lisp/cconv.el (cconv--analyse-use):
15455 * net/gnutls.el (gnutls-negotiate): Fix typos.
15456
15457 2011-11-24 Glenn Morris <rgm@gnu.org>
15458
15459 * lpr.el (lpr-windows-system, lpr-lp-system):
15460 * mail/binhex.el (binhex-begin-line):
15461 * progmodes/grep.el (grep-history, grep-find-history):
15462 * textmodes/flyspell.el:
15463 * vc/pcvs-defs.el (cvs-global-menu):
15464 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15465 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15466 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15467
15468 * net/tls.el: Fix case of "GnuTLS".
15469
15470 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15471
15472 * version.el (emacs-build-system): Give it a doc-string.
15473
15474 2011-11-24 Juri Linkov <juri@jurta.org>
15475
15476 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15477
15478 2011-11-24 Glenn Morris <rgm@gnu.org>
15479
15480 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15481 if called on a non-mime message just toggle the headers. (Bug#8006)
15482
15483 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15484
15485 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15486 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15487 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15488 (allout-rebullet-heading, allout-open-sibtopic)
15489 (allout-toggle-current-subtree-encryption)
15490 (allout-toggle-subtree-encryption, allout-encrypt-string)
15491 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15492 (allout-distinctive-bullets-string, allout-auto-activation):
15493 * window.el (window-normalize-buffer-to-display):
15494 * progmodes/verilog-mode.el (verilog-batch-indent):
15495 * textmodes/bibtex.el (bibtex-field-braces-opt)
15496 (bibtex-field-strings-opt):
15497 * vc/cvs-status.el (cvs-tree-merge):
15498 Fix typos.
15499
15500 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15501
15502 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15503 `non-essential' to t, in order to avoid remote connections.
15504
15505 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15506
15507 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15508 On MS-DOS and MS-Windows, compare with loaddefs.el
15509 case-insensitively.
15510
15511 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15512
15513 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15514
15515 2011-11-23 Glenn Morris <rgm@gnu.org>
15516
15517 * paths.el (rmail-file-name): Reformat the doc-string so that it
15518 is picked up.
15519
15520 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15521 (rmail-auto-file): Ignore case in the "special" field names,
15522 as mail-fetch-field does for all others.
15523
15524 * mail/rmail.el (rmail-forward):
15525 * mail/rmailkwd.el (rmail-set-label):
15526 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15527 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15528
15529 * mail/rmail.el (rmail-current-message): Doc fix.
15530
15531 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15532
15533 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15534
15535 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15536
15537 2011-11-22 Glenn Morris <rgm@gnu.org>
15538
15539 * mail/rmailmm.el (test-rmail-mime-handler)
15540 (test-rmail-mime-bulk-handler)
15541 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15542
15543 2011-11-21 Juri Linkov <juri@jurta.org>
15544
15545 * calc/calc.el (calc-read-key-sequence):
15546 Let-bind `input-method-function' to nil. (Bug#10018)
15547
15548 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15549
15550 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15551 Tell the caller that the next line needs recomputation, even
15552 though it doesn't start a sexp (bug#10094).
15553
15554 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15555
15556 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15557
15558 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15559
15560 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15561 Use force-same-window.
15562
15563 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15564
15565 * descr-text.el (describe-char-unicode-data):
15566 * json.el (json-string-escape):
15567 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15568 (Footnote-unicode, Footnote-style-p):
15569 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15570
15571 2011-11-20 Chong Yidong <cyd@gnu.org>
15572
15573 * window.el (replace-buffer-in-windows): Restore interactive spec.
15574
15575 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15576
15577 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15578
15579 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15580 (byte-compile-global-not-obsolete-vars): New var.
15581 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15582 Use it.
15583 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15584
15585 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15586
15587 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15588 * progmodes/pascal.el (electric-pascal-equal):
15589 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15590 * xml.el (xml-substitute-special): Fix typos.
15591
15592 2011-11-20 Glenn Morris <rgm@gnu.org>
15593
15594 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15595 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15596 Doc fixes.
15597 (rmail-decode-mime-charset): Mark as obsolete.
15598
15599 * mail/rmailsum.el (rmail-message-regexp-p-1):
15600 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15601 Before using mime functions, check they are set. (Bug#10077)
15602
15603 2011-11-19 Juri Linkov <juri@jurta.org>
15604
15605 * info.el (Info-finder-find-node): Use `package--builtins' instead
15606 of `package-alist'. Use node names formed by the pattern "Keyword "
15607 and the keyword name.
15608
15609 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15610
15611 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15612
15613 2011-11-19 Juri Linkov <juri@jurta.org>
15614
15615 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15616 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15617 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15618 `old-history', `old-history-forward'. Add let-binding
15619 `window-selected'. Remove calls to `kill-buffer',
15620 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15621 before calling `Info-find-node', so `Info-find-node-2' will reread
15622 the Info file. Restore window positions only when `window-selected'
15623 is non-nil.
15624
15625 2011-11-19 Juri Linkov <juri@jurta.org>
15626
15627 * isearch.el (isearch-lazy-highlight-new-loop):
15628 Remove condition `(not isearch-error)'. (Bug#9918)
15629
15630 * misearch.el (multi-isearch-search-fun): Add condition
15631 `(not bound)' to ignore lazy-highlighting search.
15632 Add the search-failed message "end of multi" when the end of
15633 multi-sequence is reached. Uncapitalize the search-failed
15634 message "Repeat for next buffer".
15635
15636 * info.el (Info-search): Add the search-failed message
15637 "end of the manual" when the end of the manual is reached
15638 in Isearch mode.
15639
15640 2011-11-19 Juri Linkov <juri@jurta.org>
15641
15642 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15643 Use non-destructive `remove' instead of `delete' because
15644 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15645 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15646
15647 2011-11-19 Juri Linkov <juri@jurta.org>
15648
15649 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15650 to nil instead of binding `search-ring' and `regexp-search-ring'.
15651 (Bug#9185)
15652
15653 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15654
15655 * simple.el (line-move): Force movement by logical lines for any
15656 hscrolled window, not only when auto-hscroll-mode is on.
15657 (line-move-visual): Update doc string to that effect. (Bug#10076)
15658
15659 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15660
15661 * language/european.el (macintosh): Define as alias for mac-roman.
15662
15663 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15664
15665 * mail/rmailmm.el (rmail-mime-display-header)
15666 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15667 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15668 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15669 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15670 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15671 of a raw aref.
15672 (rmail-mime-entity-segment): To get past the tagline, move forward
15673 2 more lines, to account for the 2 empty lines that precede and
15674 follow the line with the buttons.
15675 (rmail-mime-update-tagline): Move one more line, to get past the
15676 empty line that follows the buttons in the tagline. (Bug#9520)
15677
15678 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15679
15680 * window.el (window-max-delta-1, window-min-delta-1)
15681 (window-min-size-1, window-state-get-1, window-state-put-1)
15682 (window-state-put-2): Use "window--" prefix.
15683
15684 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15685
15686 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15687 (smie-warning-count): New var.
15688 (smie-set-prec2tab): Use it.
15689 (smie-bnf->prec2): Improve warnings. Add docstring.
15690 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15691 (smie-bnf--set-class): New function.
15692 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15693 corner case.
15694
15695 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15696 (compilation-error-properties, compilation-move-to-column):
15697 Handle compilation-first-column while in the target buffer.
15698
15699 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15700 Don't hardcode point-min==1.
15701
15702 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15703 (eshell-rewrite-for-command): Remove workaround.
15704 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15705 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15706 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15707
15708 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15709
15710 2011-11-17 Glenn Morris <rgm@gnu.org>
15711
15712 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15713 Ignore buffer-local generated-autoload-file if it is the same
15714 as the global value. (Bug#10049)
15715
15716 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15717
15718 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15719 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15720 (reftex-toc-previous-heading, reftex-toc-max-level)
15721 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15722 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15723 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15724 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15725 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15726 (reftex-toc-rename-label, reftex-toc-visit-location)
15727 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15728 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15729 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15730 leaving "*toc*" only for references to the buffer.
15731
15732 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15733
15734 * window.el (window-resize, delete-window, split-window):
15735 Replace window-splits by window-combination-resize.
15736 * cus-start.el (window-splits): Replace by window-combination-resize.
15737
15738 2011-11-17 Glenn Morris <rgm@gnu.org>
15739
15740 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15741 Make bash entry derive from sh entry, not shell entry.
15742
15743 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15744
15745 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15746 local file name.
15747
15748 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15749
15750 * menu-bar.el (menu-bar-file-menu):
15751 * printing.el (pr-ps-utility):
15752 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15753 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15754 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15755 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15756 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15757 (icalendar--convert-cyclic-to-ical)
15758 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15759 (icalendar--convert-ical-to-diary)
15760 (icalendar--convert-recurring-to-diary)
15761 (icalendar--convert-non-recurring-all-day-to-diary)
15762 (icalendar-import-format-sample):
15763 * progmodes/idlw-shell.el (idlwave-shell-mode):
15764 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15765 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15766 (vhdl-ps-print-init): Fix typos.
15767
15768 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15769
15770 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15771 FSF and collapse date sequence, obscure author/maintainer email address
15772 better, remove extra version line, track relocation of author's webpage.
15773
15774 * progmodes/python.el (python-pdbtrack-input-prompt)
15775 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15776 regular python pdb prompts. Adjustments shamelessly taken exactly as
15777 suggested in EmacsWiki page (tiny change):
15778 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15779
15780 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15781
15782 * expand.el (expand-pos, expand-index, expand-point):
15783 Remove redundant info from docstring.
15784 (expand-add-abbrevs): Doc fix.
15785 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15786 (expand-sample-perl-mode-expand-list): Fix typos.
15787
15788 * net/dbus.el (dbus-event-member-name):
15789 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15790 * term/pc-win.el (msdos-create-frame-with-faces):
15791 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15792
15793 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15794
15795 * window.el (split-window, window-state-get-1)
15796 (window-state-put-1, window-state-put-2): Rename occurrences of
15797 window-nest to window-combination-limit.
15798 * cus-start.el (window-nest): Rename to window-combination-limit.
15799
15800 2011-11-16 Chong Yidong <cyd@gnu.org>
15801
15802 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15803 regexp (Bug#10033).
15804
15805 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15806
15807 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15808 `completing-read' will remove *Completions* and will preserve
15809 current-buffer for us.
15810 (tmm-add-prompt): Users of *Completions* will always (re)set its
15811 major mode.
15812 (tmm-old-comp-map): Remove.
15813
15814 2011-11-16 Glenn Morris <rgm@gnu.org>
15815
15816 * mail/rmailedit.el: Require rmailmm when compiling.
15817 (rmail-old-mime-state): New declaration.
15818 (rmail-edit-current-message): If editing a mime message,
15819 edit the "raw" message from the mbox buffer.
15820 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15821
15822 2011-11-15 Glenn Morris <rgm@gnu.org>
15823
15824 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15825 which wasn't being used. Add optional arg to force given state.
15826 (rmail-mime): Add optional arg to force given state.
15827
15828 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15829
15830 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15831 * frame.el (display-mm-dimensions-alist):
15832 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15833 (outline-move-subtree-down):
15834 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15835 (newsticker--treeview-do-get-node):
15836 * net/quickurl.el (quickurl-list-buffer-name):
15837 * progmodes/dcl-mode.el (dcl-mode):
15838 * progmodes/gdb-mi.el (gdb-mapcar*):
15839 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15840
15841 2011-11-15 Glenn Morris <rgm@gnu.org>
15842
15843 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15844 in a boolean sense, so just make it a boolean, and fix the doc.
15845 (rmail-show-mime-function, rmail-mime-feature)
15846 (rmail-require-mime-maybe): Doc fixes.
15847 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15848
15849 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15850
15851 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15852
15853 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15854 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15855 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15856 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15857
15858 2011-11-15 Glenn Morris <rgm@gnu.org>
15859
15860 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15861 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15862 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15863 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15864 (rmail-mime, rmail-show-mime): Doc fixes.
15865
15866 * term/ns-win.el (mode-line-frame-identification):
15867 Leave it alone. (Bug#10051)
15868
15869 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15870
15871 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15872 Handle empty buffers. (Bug#9978)
15873
15874 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15875
15876 * international/mule.el (define-charset):
15877 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15878 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15879 * progmodes/verilog-mode.el (verilog-backward-token):
15880 * textmodes/ispell.el (lookup-words):
15881 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15882
15883 2011-11-14 Glenn Morris <rgm@gnu.org>
15884
15885 * progmodes/executable.el
15886 (executable-make-buffer-file-executable-if-script-p):
15887 Handle file-modes returning nil.
15888
15889 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15890 message - not necessary, and causes problems. (Bug#9831)
15891
15892 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15893
15894 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15895
15896 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15897 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15898 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15899
15900 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15901
15902 * window.el (window-resize, delete-window): Use window-splits
15903 variable instead of function.
15904 (window-state-get-1, window-state-put-2, window-state-put):
15905 Don't deal with windows' splits status.
15906
15907 2011-11-12 Glenn Morris <rgm@gnu.org>
15908
15909 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15910 (apropos-documentation): Doc fixes.
15911
15912 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15913
15914 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15915 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15916
15917 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * electric.el (electric-indent-post-self-insert-function): Make it
15920 possible for a char to only indent in some circumstances.
15921 (electric-indent-mode): Simplify.
15922
15923 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15924
15925 * window.el (windows-with-parameter): Remove unused function.
15926 (windows-at-side): Rename to window-at-side-list.
15927 (window-check, window-atom-check, window-atom-check-1)
15928 (window-side-check, window-size-ignore, window-size-fixed-1)
15929 (window-in-direction-2): Prefix with "window--".
15930 (window-tree-1): Rename to window--subtree, fix doc-string.
15931
15932 2011-11-11 Glenn Morris <rgm@gnu.org>
15933
15934 * subr.el (eval-after-load): If FILE is already loaded,
15935 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15936
15937 2011-11-10 Glenn Morris <rgm@gnu.org>
15938
15939 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15940 Call svn via vc-svn-command rather than vc-do-command.
15941 (vc-svn-command): Add --non-interactive. (Bug#9993)
15942 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15943
15944 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15945 Add toggle-read-only. (Bug#7292)
15946 * files.el (toggle-read-only): Mention that it should only
15947 be used interactively. (Bug#10006)
15948
15949 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15950
15951 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15952 Adjust regexp for OCaml warnings.
15953
15954 * electric.el (electric-pair-post-self-insert-function): Let user
15955 turn it off buffer-locally (bug#9932).
15956
15957 * progmodes/python.el (python-beginning-of-statement):
15958 Rewrite (bug#2703).
15959
15960 * progmodes/compile.el: Better handle TABs (bug#9749).
15961 (compilation-internal-error-properties)
15962 (compilation-next-error-function): Obey the target buffer's
15963 compilation-error-screen-columns.
15964
15965 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15966
15967 * progmodes/meta-mode.el: Remove obsolete comments.
15968 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15969 Fix typos in docstrings.
15970
15971 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15972
15973 * window.el (window-size-fixed-p): Rewrite doc-string.
15974 (window-resizable-p): Rename to window--resizable-p. Update callers.
15975 (window--resizable): New function. Make all callers of
15976 window-resizable call window--resizable instead.
15977 (window-resizable): Rewrite in terms of window--resizable.
15978
15979 2011-11-08 Glenn Morris <rgm@gnu.org>
15980
15981 * progmodes/delphi.el (delphi-mode-syntax-table):
15982 Let define-derived-mode define a proper syntax table. (Bug#9994)
15983
15984 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15985
15986 * window.el: Stay away from defsubst.
15987 (window-list-no-nils): Remove.
15988 (window-state-get-1, window-state-get): Use backquote instead.
15989
15990 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15991
15992 * emacs-lisp/find-func.el (find-function-read):
15993 Fix incorrect use of default argument in `completing-read'.
15994
15995 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15996
15997 * window.el (display-buffer-function, special-display-function):
15998 Mention display-buffer-record-window but do not mention
15999 help-setup parameter in doc-strings.
16000 (window-min-delta): Fix doc-string typo.
16001
16002 2011-11-08 Chong Yidong <cyd@gnu.org>
16003
16004 * window.el (window-total-height, window-total-width): Doc fix.
16005 (window-body-size): Move from C.
16006 (window-body-height, window-body-width): Move to C.
16007
16008 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * window.el: Make special-display like display-buffer-alist (bug#9532).
16011 (display-buffer--special-action): New function, morphed
16012 from display-buffer--special.
16013 (display-buffer): Use it to handle special-display-buffers at higher
16014 priority (just after display-buffer-alist).
16015 (display-buffer-fallback-action, display-buffer--other-frame-action)
16016 (pop-to-buffer-same-window): Remove display-buffer--special.
16017
16018 2011-11-07 Glenn Morris <rgm@gnu.org>
16019
16020 * calendar/cal-menu.el (cal-menu-set-date-title):
16021 Do nothing if not in a calendar. (Bug#9976)
16022
16023 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16024
16025 * files.el (find-file): Always use selected-window.
16026
16027 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16028
16029 * window.el (window-combinations): Make WINDOW argument
16030 mandatory. Rewrite doc-string.
16031 (walk-window-subtree, window-atom-check, window-min-delta)
16032 (window-max-delta, window--resize-this-window)
16033 (window--resize-root-window-vertically, window-tree)
16034 (balance-windows, window-state-put): Rewrite doc-strings as to
16035 not mention the term "subwindow".
16036 (window--resize-subwindows-skip-p): Rename to
16037 window--resize-child-windows-skip-p.
16038 (window--resize-subwindows-normal): Rename to
16039 window--resize-child-windows-normal.
16040 (window--resize-subwindows): Rename to
16041 window--resize-child-windows.
16042 (window-or-subwindow-p): Rename to window--in-subtree-p.
16043
16044 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16045
16046 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16047 Ensure that mbox format messages end in two newlines (Bug#9974).
16048
16049 2011-11-06 Chong Yidong <cyd@gnu.org>
16050
16051 * window.el (window-combination-p): Function deleted; its
16052 side-effect is not used in any existing code.
16053 (window-combinations, window-combined-p): Call window-*-child
16054 directly.
16055
16056 2011-11-05 Chong Yidong <cyd@gnu.org>
16057
16058 * window.el (window-valid-p): Rename from window-any-p.
16059 (window-size-ignore, window-state-get): Callers changed.
16060 (window-normalize-window): Rename from window-normalize-any-window.
16061 New arg LIVE-ONLY, replacing window-normalize-live-window.
16062 (window-normalize-live-window): Delete.
16063 (window-combination-p, window-combined-p, window-combinations)
16064 (walk-window-subtree, window-atom-root, window-min-size)
16065 (window-sizable, window-sizable-p, window-size-fixed-p)
16066 (window-min-delta, window-max-delta, window-resizable)
16067 (window-resizable-p, window-full-height-p, window-full-width-p)
16068 (window-current-scroll-bars, window-point-1, set-window-point-1)
16069 (window-at-side-p, window-in-direction, window-resize)
16070 (adjust-window-trailing-edge, maximize-window, minimize-window)
16071 (window-deletable-p, delete-window, delete-other-windows)
16072 (record-window-buffer, unrecord-window-buffer)
16073 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16074 (quit-window, split-window, window-state-put)
16075 (set-window-text-height, fit-window-to-buffer)
16076 (shrink-window-if-larger-than-buffer): Callers changed.
16077
16078 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16079
16080 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16081 rfc2047-decode-string.
16082 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16083 warnings.
16084
16085 * window.el (window-body-height, window-body-width): Mention in
16086 the doc string that the return values are in frame's canonical
16087 units. (Bug#9949)
16088
16089 2011-11-03 Alan Mackenzie <acm@muc.de>
16090
16091 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16092 change in cc-engine.el.
16093
16094 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16095
16096 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16097
16098 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16099
16100 * window.el (quit-window): Call unrecord-window-buffer after
16101 showing another buffer in the window. (Bug#9937)
16102 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16103
16104 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16105
16106 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16107 Accept status with more than 9 shelves. (Bug#9935)
16108 Reported by Colin D Bennett <colin@gibibit.com>.
16109
16110 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16111
16112 * help.el (with-help-window): Don't reference
16113 temp-buffer-show-specifiers in doc-string.
16114
16115 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16116
16117 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16118 menu-item.
16119
16120 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16121
16122 * whitespace.el: New version 13.2.2.
16123 (whitespace-newline-mode): Disable properly. Reported by Sarah
16124 <EmacsWiki>.
16125
16126 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16127
16128 * net/newst-treeview.el: Remove "Time-stamp".
16129 (newsticker--group-manage-orphan-feeds): Do not call
16130 newsticker--treeview-tree-update.
16131 (newsticker-treeview-update, newsticker-treeview):
16132 Call newsticker--treeview-tree-update if necessary.
16133
16134 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16135
16136 * window.el (window-iso-combination-p, window-iso-combined-p)
16137 (window-iso-combinations): Remove "iso-" infix.
16138 Suggested by Chong Yidong.
16139 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16140 (window-max-delta-1, window-resize, window--resize-siblings)
16141 (window--resize-this-window, adjust-window-trailing-edge)
16142 (split-window, balance-windows-1)
16143 (shrink-window-if-larger-than-buffer):
16144 * calendar/calendar.el (calendar-generate-window):
16145 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16146
16147 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16148
16149 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16150 in place (bug#9907).
16151 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16152 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16153 (eshell-structure-basic-command, eshell-rewrite-while-command)
16154 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16155 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16156 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16157 (eshell-do-pipelines-synchronously, eshell-eval-command):
16158 Use backquotes and prefer setq to set.
16159 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16160 (eshell-macrop): Use functionp.
16161 (eshell-do-eval): Handle multiple expressions in `while' body.
16162
16163 2011-10-30 Chong Yidong <cyd@gnu.org>
16164
16165 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16166 instead of set-mark (Bug#9810).
16167
16168 2011-10-30 Chong Yidong <cyd@gnu.org>
16169
16170 * window.el (split-window-below, split-window-right): Rename from
16171 split-window-above-each-other and split-window-side-by-side
16172 respectively. All callers changed.
16173 (split-window-sensibly, split-window-sensibly): Use them.
16174 (split-window-keep-point): Doc fix.
16175
16176 * isearch.el: Add isearch-scroll property to split-window-below
16177 and split-window-right.
16178
16179 * follow.el (follow-mode):
16180 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16181 * progmodes/ada-xref.el (ada-gdb-application):
16182 * emulation/vip.el (vip-buffer-in-two-windows):
16183 * image-dired.el (image-dired-dired-with-window-configuration):
16184 * dired-x.el (dired-do-find-marked-files):
16185 * dired.el (dired-pop-to-buffer):
16186 * bs.el (bs--show-with-configuration):
16187 * vc/emerge.el (emerge-setup-windows):
16188 * textmodes/two-column.el (2C-two-columns):
16189 * textmodes/reftex-toc.el (reftex-toc):
16190 * progmodes/gdb-mi.el (gdb-setup-windows):
16191 * progmodes/fortran.el (fortran-window-create):
16192 * net/newst-treeview.el (newsticker--treeview-window-init):
16193 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16194 * emulation/tpu-edt.el (tpu-gold-map):
16195 * emulation/crisp.el (crisp-mode-map):
16196 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16197
16198 2011-10-29 Chong Yidong <cyd@gnu.org>
16199
16200 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16201
16202 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16203
16204 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16205 forged Ispell output (Bug#7904).
16206
16207 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16208
16209 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16210
16211 * doc-view.el: Avoid ugly errors about not finding nil.
16212 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16213 (doc-view-dvipdf-program, doc-view-unoconv-program)
16214 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16215 Avoid nil or absolute file name as default value.
16216 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16217
16218 2011-10-28 Alan Mackenzie <acm@muc.de>
16219
16220 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16221
16222 2011-10-28 Alan Mackenzie <acm@muc.de>
16223
16224 Amend the handling of c-beginning/end-of-defun in nested declaration
16225 scopes.
16226
16227 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16228 cc-langs.el. Change it to a defcustom.
16229
16230 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16231 cc-vars.el.
16232
16233 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16234 Prevent "class foo : bar" being spuriously recognized as a label.
16235
16236 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16237 Add parameter `inclusive' (to include enclosing braces in the region).
16238 (c-widen-to-enclosing-decl-scope): New function.
16239 (c-while-widening-to-decl-block): New macro.
16240 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16241 outward for defun boundaries, and correspondingly change symbol
16242 `respect-enclosure' to `go-outward'.
16243 (c-declaration-limits): Change algorithm to report only the "innermost"
16244 defun's boundaries.
16245
16246 2011-10-28 Deniz Dogan <deniz@dogan.se>
16247
16248 * net/rcirc.el (rcirc-mode): Use hard newlines.
16249
16250 2011-10-28 Alan Mackenzie <acm@muc.de>
16251
16252 Amend to indent and fontify macros "which include their own semicolon"
16253 correctly, using the "virtual semicolon" mechanism.
16254
16255 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16256
16257 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16258 Recode to scan one line at a time rather than having \n and \r
16259 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16260 (c-forward-label): Amend for virtual semicolons.
16261 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16262
16263 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16264 of the new C macros.
16265
16266 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16267 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16268 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16269 (c-opt-cpp-macro-define): Make into a full language variable.
16270 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16271 AWK Mode (including \n, \r) removed, no longer needed.
16272
16273 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16274 Invoke c-make-macro-with-semi-re.
16275
16276 * progmodes/cc-vars.el (c-macro-with-semi-re):
16277 (c-macro-names-with-semicolon): New variables.
16278 (c-make-macro-with-semi-re): New function.
16279
16280 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16281
16282 * vc/log-edit.el: Fill empty field rather than adding new one.
16283 (log-edit-add-field): New function.
16284 (log-edit-insert-changelog): Use it.
16285
16286 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16287
16288 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16289
16290 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16291
16292 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16293 (gdb--check-interpreter): New function.
16294 (gdb): Use it.
16295
16296 2011-10-27 Glenn Morris <rgm@gnu.org>
16297
16298 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16299 (least-positive-float, least-negative-float)
16300 (least-positive-normalized-float, least-negative-normalized-float)
16301 (float-epsilon, float-negative-epsilon):
16302 Remove unnecessary declarations.
16303
16304 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16305 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16306 (least-positive-float, least-negative-float)
16307 (least-positive-normalized-float, least-negative-normalized-float)
16308 (float-epsilon, float-negative-epsilon): Add doc-strings,
16309 based on those in cl.texi.
16310
16311 * files.el (set-visited-file-name): If the major-mode changed,
16312 reload the local variables. (Bug#9796)
16313
16314 2011-10-27 Chong Yidong <cyd@gnu.org>
16315
16316 * subr.el (change-major-mode-after-body-hook): New hook.
16317 (run-mode-hooks): Run it.
16318
16319 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16320 Use change-major-mode-before-body-hook.
16321
16322 * simple.el (fundamental-mode):
16323 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16324 change introducing fundamental-mode-hook.
16325
16326 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16327
16328 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16329
16330 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16331
16332 * ido.el (ido-file-name-all-completions-1): Do not require
16333 tramp.el explicitly. (Bug#7583)
16334
16335 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16336
16337 * progmodes/octave-mod.el:
16338 * progmodes/octave-inf.el: Update maintainer.
16339
16340 2011-10-26 Chong Yidong <cyd@gnu.org>
16341
16342 * subr.el (with-wrapper-hook): Rewrite doc.
16343
16344 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16345
16346 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16347 filenames "/method:foo:". (Bug#9793)
16348
16349 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16350
16351 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16352 (bug#9865).
16353
16354 2011-10-24 Glenn Morris <rgm@gnu.org>
16355
16356 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16357
16358 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16359
16360 * notifications.el: Add the requirement of a running D-Bus session
16361 bus to the Commentary.
16362
16363 2011-10-24 Juri Linkov <juri@jurta.org>
16364
16365 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16366 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16367 (Bug#9364)
16368
16369 2011-10-24 Juri Linkov <juri@jurta.org>
16370
16371 * info.el (Info-following-node-name-re): Add newline to the list
16372 of allowed characters for leading space. (Bug#9824)
16373
16374 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16375
16376 * progmodes/octave-inf.el (inferior-octave-mode-map):
16377 Fix C-c C-h binding.
16378 * progmodes/octave-mod.el (octave-help): Remove.
16379
16380 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16381
16382 Sync with Tramp 2.2.3.
16383
16384 * net/tramp-cache.el (top): Pacify byte-compiler using
16385 `init-file-user' and `site-run-file'.
16386
16387 * net/trampver.el: Update release number.
16388
16389 2011-10-23 Chong Yidong <cyd@gnu.org>
16390
16391 * files.el (toggle-read-only): Remove obsolete comment about
16392 version control.
16393
16394 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16395 for toggle-read-only. Note that this hasn't called vc-next-action
16396 since 2008-05-02, though it wasn't documented at the time.
16397
16398 * vc/ediff-init.el (ediff-toggle-read-only-function):
16399 Use toggle-read-only.
16400
16401 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16402
16403 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16404 of c-parse-state.
16405
16406 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16407 correct faulty logical expression.
16408 (c-parse-state-state, c-record-parse-state-state):
16409 (c-replay-parse-state-state): New defvar/defuns.
16410 (c-debug-parse-state): Use new functions.
16411
16412 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16413
16414 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16415 last fix. Use window-in-direction correctly.
16416
16417 2011-10-21 Chong Yidong <cyd@gnu.org>
16418
16419 * progmodes/idlwave.el (idlwave-mode):
16420 * progmodes/vera-mode.el (vera-mode): No need to set
16421 require-final-newline; that's done in prog-mode.
16422 Suggested by Stefan Monnier.
16423
16424 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16425
16426 * mouse.el (mouse-drag-window-above)
16427 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16428 (mouse-drag-mode-line-1, mouse-drag-header-line)
16429 (mouse-drag-vertical-line-rightward-window): Remove.
16430 (mouse-drag-line): New function.
16431 (mouse-drag-mode-line, mouse-drag-header-line)
16432 (mouse-drag-vertical-line): Call mouse-drag-line.
16433 * window.el (window-at-side-p, windows-at-side): New functions.
16434
16435 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16436
16437 * tar-mode.el (tar-grind-file-mode):
16438 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16439
16440 2011-10-21 Chong Yidong <cyd@gnu.org>
16441
16442 * progmodes/idlwave.el (idlwave-mode):
16443 * progmodes/vera-mode.el (vera-mode):
16444 Use mode-require-final-newline.
16445
16446 2011-10-20 Glenn Morris <rgm@gnu.org>
16447
16448 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16449
16450 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16451
16452 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16453
16454 2011-10-20 Chong Yidong <cyd@gnu.org>
16455
16456 * emulation/cua-base.el (cua-mode):
16457 * mail/footnote.el (footnote-mode):
16458 * mail/mailabbrev.el (mail-abbrevs-mode):
16459 * net/xesam.el (xesam-minor-mode):
16460 * progmodes/bug-reference.el (bug-reference-mode):
16461 * progmodes/cap-words.el (capitalized-words-mode):
16462 * progmodes/compile.el (compilation-minor-mode)
16463 (compilation-shell-minor-mode):
16464 * progmodes/gud.el (gud-tooltip-mode):
16465 * progmodes/hideif.el (hide-ifdef-mode):
16466 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16467 * progmodes/subword.el (subword-mode):
16468 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16469 * progmodes/which-func.el (which-function-mode):
16470 * term/tvi970.el (tvi970-set-keypad-mode):
16471 * term/vt100.el (vt100-wide-mode):
16472 * textmodes/flyspell.el (flyspell-mode):
16473 * textmodes/ispell.el (ispell-minor-mode):
16474 * textmodes/nroff-mode.el (nroff-electric-mode):
16475 * textmodes/paragraphs.el (use-hard-newlines):
16476 * textmodes/refill.el (refill-mode):
16477 * textmodes/reftex.el (reftex-mode):
16478 * textmodes/rst.el (rst-minor-mode):
16479 * textmodes/sgml-mode.el (html-autoview-mode)
16480 (sgml-electric-tag-pair-mode):
16481 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16482 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16483 * emulation/crisp.el (crisp-mode):
16484 * emacs-lisp/eldoc.el (eldoc-mode):
16485 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16486 minor mode behavior.
16487
16488 2011-10-19 Juri Linkov <juri@jurta.org>
16489
16490 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16491 the list of hard-coded chars with escape-glyph face.
16492
16493 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16494
16495 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16496
16497 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16498
16499 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16500 running process.
16501
16502 2011-10-19 Glenn Morris <rgm@gnu.org>
16503
16504 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16505 Ignore ignored files. (Bug#9726)
16506
16507 2011-10-19 Chong Yidong <cyd@gnu.org>
16508
16509 Doc fix for minor modes, stating that an omitted argument enables
16510 the mode unconditionally when called from Lisp.
16511
16512 * abbrev.el (abbrev-mode):
16513 * allout.el (allout-mode):
16514 * autoinsert.el (auto-insert-mode):
16515 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16516 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16517 (global-auto-revert-mode):
16518 * battery.el (display-battery-mode):
16519 * composite.el (global-auto-composition-mode)
16520 (auto-composition-mode):
16521 * delsel.el (delete-selection-mode):
16522 * desktop.el (desktop-save-mode):
16523 * dired-x.el (dired-omit-mode):
16524 * dirtrack.el (dirtrack-mode):
16525 * doc-view.el (doc-view-minor-mode):
16526 * double.el (double-mode):
16527 * electric.el (electric-indent-mode, electric-pair-mode):
16528 * emacs-lock.el (emacs-lock-mode):
16529 * epa-hook.el (auto-encryption-mode):
16530 * follow.el (follow-mode):
16531 * font-core.el (font-lock-mode):
16532 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16533 * help.el (temp-buffer-resize-mode):
16534 * hilit-chg.el (highlight-changes-mode)
16535 (highlight-changes-visible-mode):
16536 * hi-lock.el (hi-lock-mode):
16537 * hl-line.el (hl-line-mode, global-hl-line-mode):
16538 * icomplete.el (icomplete-mode):
16539 * ido.el (ido-everywhere):
16540 * image-file.el (auto-image-file-mode):
16541 * image-mode.el (image-minor-mode):
16542 * iswitchb.el (iswitchb-mode):
16543 * jka-cmpr-hook.el (auto-compression-mode):
16544 * linum.el (linum-mode):
16545 * longlines.el (longlines-mode):
16546 * master.el (master-mode):
16547 * mb-depth.el (minibuffer-depth-indicate-mode):
16548 * menu-bar.el (menu-bar-mode):
16549 * minibuf-eldef.el (minibuffer-electric-default-mode):
16550 * mouse-sel.el (mouse-sel-mode):
16551 * msb.el (msb-mode):
16552 * mwheel.el (mouse-wheel-mode):
16553 * outline.el (outline-minor-mode):
16554 * paren.el (show-paren-mode):
16555 * recentf.el (recentf-mode):
16556 * reveal.el (reveal-mode, global-reveal-mode):
16557 * rfn-eshadow.el (file-name-shadow-mode):
16558 * ruler-mode.el (ruler-mode):
16559 * savehist.el (savehist-mode):
16560 * scroll-all.el (scroll-all-mode):
16561 * scroll-bar.el (scroll-bar-mode):
16562 * server.el (server-mode):
16563 * shell.el (shell-dirtrack-mode):
16564 * simple.el (auto-fill-mode, transient-mark-mode)
16565 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16566 (line-number-mode, column-number-mode, size-indication-mode)
16567 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16568 * strokes.el (strokes-mode):
16569 * time.el (display-time-mode):
16570 * t-mouse.el (gpm-mouse-mode):
16571 * tool-bar.el (tool-bar-mode):
16572 * tooltip.el (tooltip-mode):
16573 * type-break.el (type-break-mode-line-message-mode)
16574 (type-break-query-mode):
16575 * view.el (view-mode):
16576 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16577 (global-whitespace-mode, global-whitespace-newline-mode):
16578 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16579
16580 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16581 Fix autogenerated docstring.
16582
16583 2011-10-19 Juri Linkov <juri@jurta.org>
16584
16585 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16586 by checking environment variables "DESKTOP_SESSION" and
16587 "XDG_CURRENT_DESKTOP". (Bug#9779)
16588
16589 2011-10-19 Juri Linkov <juri@jurta.org>
16590
16591 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16592 (browse-url-chromium-program, browse-url-chromium-arguments):
16593 New defcustoms.
16594 (browse-url-default-browser): Check for `browse-url-chromium' and
16595 call `browse-url-chromium-program'.
16596 (browse-url-chromium): New command. (Bug#9779)
16597
16598 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16599
16600 * facemenu.el (list-colors-duplicates): On Windows, detect more
16601 duplicates by assuming that only colors matching "^System" are
16602 special "system colors". (Bug#9722)
16603
16604 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16605
16606 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16607 to distinguish the author from the committer.
16608
16609 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16610
16611 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16612
16613 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16614
16615 * international/mule.el (sgml-html-meta-auto-coding-function):
16616 Add support for detecting encoding in HTML5 specified only as
16617 <meta charset="UTF-8">. Implementation just makes http-equiv and
16618 content-type parts from HTML4 encoding string optional. (Bug#9716)
16619
16620 2011-10-18 Glenn Morris <rgm@gnu.org>
16621
16622 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16623
16624 2011-10-18 Chong Yidong <cyd@gnu.org>
16625
16626 * faces.el (cursor): Doc fix.
16627
16628 2011-10-17 Chong Yidong <cyd@gnu.org>
16629
16630 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16631
16632 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16633
16634 * dirtrack.el (dirtrack): Support shell buffers with path
16635 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16636
16637 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16638
16639 * json.el: Bump version to 1.3 and note change in History.
16640 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16641
16642 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16643
16644 * comint.el (comint-insert-input, comint-send-input)
16645 (comint-get-old-input-default, comint-backward-matching-input)
16646 (comint-next-prompt): Use nil instead of `input' for field property of
16647 past user input (bug#114).
16648
16649 * minibuffer.el (completion--replace): Inherit surrounding properties
16650 (bug#114).
16651 (minibuffer-complete-and-exit): Use it.
16652
16653 * comint.el (comint--table-subvert): Quote the all-completions output
16654 (bug#9160).
16655
16656 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16657
16658 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16659
16660 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16661 window on right of selected. (Bug#9350) Reword other window
16662 entries and separate them from frame entries.
16663
16664 2011-10-15 Glenn Morris <rgm@gnu.org>
16665
16666 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16667 Doc fixes.
16668
16669 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16670
16671 * net/network-stream.el (network-stream-open-starttls):
16672 Improve detection of failure due to lack of TLS support.
16673
16674 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16675 putting the input text in front and in bold.
16676
16677 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16678
16679 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16680
16681 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16682 empty buffer.
16683
16684 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16685 unread-command-events rather than pushing yet-another event.
16686
16687 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16688
16689 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16690 the explanation of the possible choices. Make the options passed
16691 to completing-read shorter.
16692
16693 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16694
16695 * textmodes/flyspell.el (flyspell-large-region): Make sure
16696 extended character mode is used if defined (Bug#1339).
16697
16698 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16699
16700 * simple.el (what-cursor-position): Fix the display of the
16701 character info for LRE, LRO, RLE, and RLO characters by appending
16702 an invisible PDF.
16703
16704 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16705
16706 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16707 even in case of error; add debug spec; simplify data flow.
16708 (with-timeout-handler): Remove.
16709
16710 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16711
16712 Fix Bug#6019, Bug#9315.
16713
16714 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16715 complete `buffer-file-name', the local file name part could look
16716 remotely (for example on VMS).
16717
16718 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16719 `tramp-run-real-handler'.
16720 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16721 already quoted by '"'.
16722
16723 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16724 Let `file-name-handler-alist' be nil, the local file name part
16725 could look remotely (for example on VMS).
16726
16727 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16728
16729 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16730 from here...
16731 (flyspell-post-command-hook): ...to here.
16732
16733 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16736 if not needed.
16737 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16738 using completion. Protect against "slow" callers.
16739 Remove the "message hack".
16740
16741 2011-10-11 Juri Linkov <juri@jurta.org>
16742
16743 * isearch.el (isearch-lazy-highlight-word): New variable.
16744 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16745 Use it. (Bug#9727)
16746
16747 2011-10-11 Glenn Morris <rgm@gnu.org>
16748
16749 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16750 like f90-previous-statement does.
16751
16752 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16753
16754 * eshell/eshell.el (eshell-command): History should be saved
16755 only in interactive use, to avoid error.
16756
16757 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16758
16759 * minibuffer.el (completion-file-name-table): Fix last change,
16760 i.e. ignore normal errors but not the other ones.
16761
16762 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16763
16764 * window.el (special-display-buffer-names)
16765 (special-display-regexps): Remove some remnants of earlier
16766 changes from doc-strings.
16767 (quit-windows-on): New function.
16768
16769 * vc/vc.el (vc-revert, vc-rollback):
16770 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16771 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16772 (Bug#6183) (Bug#7074) (Bug#7447)
16773
16774 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16775
16776 * window.el (frame-auto-hide-function): Add version tag.
16777 (Bug#9699)
16778
16779 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16780
16781 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16782 condition.
16783
16784 2011-10-09 Leo Liu <sdl.web@gmail.com>
16785
16786 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16787 (Bug#9701)
16788
16789 2011-10-08 Glenn Morris <rgm@gnu.org>
16790
16791 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16792 before the first code statement zero indent. (Bug#9690)
16793
16794 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16795
16796 * simple.el (count-words-region): Always count in the region.
16797 Report the number of lines and characters too.
16798 (count-words): New command, which counts in the buffer if the
16799 region is inactive, as count-words-region used to.
16800 (count-words--message): New function. Handle plurals.
16801 (count-lines-region): Make it an alias for count-words-region.
16802
16803 * bindings.el (esc-map): Replace count-lines-region with
16804 count-words-region.
16805
16806 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16807
16808 * window.el (window--delete): Delete dedicated frame
16809 unconditionally when argument KILL is non-nil. (Bug#9699)
16810 (switch-to-buffer): Fix doc-string typo.
16811
16812 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16813
16814 * eshell/eshell.el (eshell-command): Avoid using hooks.
16815
16816 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16817
16818 * bindings.el ([M-left],[M-right]): Bind to left-word and
16819 right-word respectively.
16820
16821 2011-10-07 Glenn Morris <rgm@gnu.org>
16822
16823 * cus-start.el (debug-on-quit): Fix custom type.
16824
16825 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16826
16827 * subr.el (define-key-after): Clarify that the function is not
16828 useful for non-menu keymaps.
16829
16830 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16831
16832 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16833
16834 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16835 in current minibuffer (Fix bug with recursive minibuffers).
16836
16837 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16838
16839 * progmodes/gdb-mi.el (gdb): Doc fix.
16840
16841 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16842
16843 * window.el (frame-auto-hide-function): New option replacing
16844 frame-auto-delete. Suggested by Stefan Monnier.
16845 (window--delete): Call frame-auto-hide-function instead of
16846 investigating frame-auto-delete.
16847 (window-point-1, set-window-point-1): New functions.
16848 (window-in-direction, record-window-buffer, window-state-get-1)
16849 (display-buffer-record-window): Use window-point-1 instead of
16850 window-point.
16851 (set-window-buffer-start-and-point): Use set-window-point-1.
16852
16853 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16854
16855 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16856
16857 2011-10-05 Glenn Morris <rgm@gnu.org>
16858
16859 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16860 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16861
16862 2011-10-05 Leo Liu <sdl.web@gmail.com>
16863
16864 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16865 works with buffer object.
16866
16867 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16868
16869 * mpc.el (mpc-tool-bar-map): Add labels.
16870
16871 2011-10-04 Glenn Morris <rgm@gnu.org>
16872
16873 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16874
16875 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16876
16877 * window.el (window--delete): New function.
16878 (frame-auto-delete): Resuscitate option.
16879 (bury-buffer, replace-buffer-in-windows)
16880 (quit-window): Rewrite using window--delete.
16881 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16882 Pass display-buffer-mark-dedicated to window--display-buffer-2
16883 (Bug#9639).
16884
16885 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16886
16887 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16888 returns a list (bug#9554). Add remote file name completion.
16889 * comint.el (comint--table-subvert): Curry and get quote&unquote
16890 functions as arguments.
16891 (comint--complete-file-name-data): Adjust call accordingly.
16892 * pcomplete.el (pcomplete--table-subvert): Remove.
16893 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16894
16895 * minibuffer.el (completion-table-case-fold): Use currying.
16896 (completion--styles-type, completion--cycling-threshold-type):
16897 New constants.
16898 (completion-styles, completion-category-overrides)
16899 (completion-cycle-threshold): Use them.
16900 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16901 completion-table-case-fold.
16902
16903 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16904
16905 * minibuffer.el (completion-category-overrides): Fix type of styles
16906 and add more user friendly tags (bug#9660).
16907
16908 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16909
16910 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16911 (mule-input-method-string): New widget.
16912 (default-input-method, language-info-custom-alist): Use it.
16913
16914 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16915
16916 * pcomplete.el: Require comint.
16917 (pcomplete--common-suffix): Remove.
16918 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16919 (pcomplete--table-subvert): Sync with comint--table-subvert.
16920 (pcomplete--entries): Use comint-completion-file-name-table.
16921 * comint.el (comint-unquote-filename): Simplify.
16922 (comint-completion-file-name-table): New function (bug#9616).
16923 (comint--complete-file-name-data): Use it.
16924
16925 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16926 (pcmpl-gnu-tar-buffer): Remove.
16927 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16928 around. Make sure pcomplete-suffix-list is only changed temporarily.
16929 Don't look inside the tar's file if it's too large.
16930
16931 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16932
16933 * cus-edit.el (custom-mode-map):
16934 * epa.el (epa-key-list-mode-map):
16935 * man.el (Man-mode-map):
16936 * startup.el (splash-screen-keymap):
16937 * simple.el (special-mode-map): Use scroll-up-command and
16938 scroll-down-command.
16939
16940 * progmodes/idlw-help.el (idlwave-help-mode-map):
16941 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16942 * net/newst-plainview.el (newsticker-mode-map):
16943 * emulation/ws-mode.el (wordstar-mode-map):
16944 * emulation/vi.el (vi-com-map):
16945 * calc/calc-graph.el (calc-graph-show-dumb):
16946 * term/sun.el (terminal-init-sun):
16947 * term/ns-win.el (global-map):
16948 * progmodes/grep.el (grep-mode-map):
16949 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16950 * mail/rmail.el (rmail-mode-map):
16951 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16952
16953 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16954 custom-safe-themes as special.
16955
16956 2011-10-01 Julien Danjou <julien@danjou.info>
16957
16958 * notifications.el (notifications-notify): Fix docstring.
16959
16960 2011-10-01 Per Starbäck <per@starback.se>
16961
16962 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16963
16964 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16965
16966 * startup.el (command-line-1): Fix last fix by inserting
16967 initial-scratch-message into *scratch* before displaying it.
16968 (Bug#9605) and (Bug#9636)
16969
16970 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16971
16972 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16973 window is hscrolled, move by logical lines. (Bug#9607)
16974 (line-move-visual): Update the doc string to the above effect.
16975
16976 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16977
16978 * window.el (display-buffer-record-window): When WINDOW is the
16979 selected window use `point' instead of `window-point'. (Bug#9626)
16980
16981 * startup.el (command-line-1): Use insert-before-markers when
16982 inserting initial-scratch-message. (Bug#9605)
16983
16984 * help.el (help-window): Remove variable.
16985
16986 2011-09-29 Glenn Morris <rgm@gnu.org>
16987
16988 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16989
16990 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16991
16992 * descr-text.el (describe-char-categories): Accept category
16993 descriptions more than one line long.
16994
16995 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16996
16997 * simple.el (delete-trailing-whitespace): Fix last change.
16998
16999 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17000 Don't confuse "y => 3" as the beginning of a `y' operation.
17001
17002 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17003 object has more than 4 slots (bug#9613).
17004
17005 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17006
17007 * subr.el (with-output-to-temp-buffer):
17008 * net/quickurl.el (quickurl, quickurl-browse-url):
17009 Fix typos in docstrings.
17010
17011 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17012
17013 * minibuffer.el (completion-styles)
17014 (completion-category-overrides): Cross reference each other in doc
17015 strings.
17016
17017 2011-09-27 Glenn Morris <rgm@gnu.org>
17018
17019 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17020 to split-string. (Bug#9606)
17021
17022 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17023
17024 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17025 (bug#9615).
17026
17027 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17028
17029 * emacs-lisp/package.el (list-packages): Fix echo area message.
17030
17031 2011-09-27 Leo Liu <sdl.web@gmail.com>
17032
17033 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17034
17035 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17036
17037 * net/dbus.el (dbus-unregister-object): Don't release services for
17038 registered signals. (Bug#9581)
17039
17040 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17041
17042 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17043 function that picks between cfengine 2 and 3 support
17044 automatically. Update docs accordingly.
17045
17046 2011-09-22 Kenichi Handa <handa@m17n.org>
17047
17048 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17049 ZERO.
17050 (indian-itrans-v5-table-for-tamil): New variable.
17051 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17052
17053 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17054
17055 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17056 that's true if the current command involved collapsing of text.
17057 It's reset to false at the beginning of the next command.
17058 (allout-post-command-business): Move the cursor to the beginning
17059 of entry if the cursor is hidden and collapsing activity just
17060 happened.
17061
17062 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17063
17064 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17065 tracking (Bug#9541).
17066
17067 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17068
17069 * net/newst-reader.el (newsticker-html-renderer)
17070 (newsticker-show-news): Automatically load html rendering package
17071 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17072 because w3m-fill-column is let-bound" and the error "Symbol's value
17073 as variable is void: w3m-fill-column".
17074
17075 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17076
17077 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17078 Release services only if they are defined. (Bug#9581)
17079
17080 2011-09-23 Richard Stallman <rms@gnu.org>
17081
17082 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17083 distinguish start of paragraph from start of its text.
17084
17085 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17086
17087 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17088 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17089 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17090
17091 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17092
17093 * international/mule-diag.el (mule-diag): Insert a newline after
17094 each fontset description.
17095
17096 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17097
17098 * simple.el (delete-trailing-whitespace):
17099 Document last change; simplify.
17100
17101 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17102
17103 * simple.el (delete-trailing-whitespace): Also delete
17104 extra newlines at the end of the buffer.
17105
17106 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17107 (picture-newline): Use forward-line so as to ignore fields.
17108
17109 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17110
17111 * subr.el (with-wrapper-hook): Fix edebug spec.
17112
17113 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17114
17115 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17116 (bug#4538).
17117
17118 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17119
17120 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17121 Fix nasty bug using wrong cached values.
17122
17123 2011-09-23 Alan Mackenzie <acm@muc.de>
17124
17125 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17126
17127 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17128
17129 * window.el (pop-to-buffer): Ensure right window is selected if we
17130 chose another frame.
17131
17132 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17133
17134 * simple.el (what-cursor-position): Use get-char-property-change
17135 and next-single-char-property-change, to be able to show display
17136 properties that come from overlays as well as text properties.
17137
17138 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17139
17140 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17141
17142 * cmuscheme.el (run-scheme, switch-to-scheme):
17143 * cus-edit.el (customize-group, custom-buffer-create)
17144 (customize-browse):
17145 * info.el (info):
17146 * shell.el (shell):
17147 * mail/sendmail.el (mail):
17148 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17149
17150 2011-09-22 Richard Stallman <rms@gnu.org>
17151
17152 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17153 move back only to line beg, don't move back over blank lines.
17154
17155 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17156
17157 * files.el (copy-directory): Set directory attributes only in case
17158 they could be retrieved from the source directory. (Bug#9565)
17159
17160 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17161
17162 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17163 (hs-find-block-beginning, hs-hide-level-recursive):
17164 Ignore strings as well as comments. (Bug#9502)
17165
17166 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17167
17168 * progmodes/sql.el (sql-comint-postgres):
17169 Convert port number to a string. (Bug#9566)
17170
17171 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17172
17173 * window.el (quit-window): Undedicate window when switching to
17174 previous buffer. Reported by Thierry Volpiatto
17175 <thierry.volpiatto@gmail.com>.
17176 (special-display-popup-frame): When popping up a new frame reset
17177 its previous buffers to nil. Simplify code.
17178
17179 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17180
17181 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17182 and process filter, as done also in `shell-command'.
17183
17184 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17185
17186 * window.el (set-window-buffer-start-and-point):
17187 Call set-window-start with NOFORCE argument t.
17188 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17189 (quit-window): Reword doc-string. Handle new format of
17190 quit-restore parameter. Don't delete window if it has a
17191 previous buffer we can show instead of the present one.
17192 (display-buffer-record-window): Rewrite using a new format for
17193 the quit-restore window parameter
17194 (special-display-popup-frame, display-buffer-same-window)
17195 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17196 (display-buffer-pop-up-window, display-buffer-use-some-window):
17197 Adapt symbol passed to display-buffer-record-window.
17198 * help.el (help-window-setup): Handle new format of quit-restore
17199 parameter.
17200
17201 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17202
17203 * faces.el (face-list): Fix docstring (bug#9564).
17204
17205 * window.el (display-buffer--action-function-custom-type):
17206 Don't include internal functions in the Custom interface.
17207
17208 2011-09-20 Juri Linkov <juri@jurta.org>
17209
17210 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17211 (Info-forward-node, Info-backward-node, Info-next-preorder)
17212 (Info-last-preorder): Use it. (Bug#9528)
17213
17214 2011-09-20 Juri Linkov <juri@jurta.org>
17215
17216 * info.el (Info-last-preorder): Visit last menu item only when
17217 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17218
17219 2011-09-20 Julien Danjou <julien@danjou.info>
17220
17221 * password-cache.el (password-cache-remove): Remove entries even if the
17222 value is nil, so that password with a nil value (negative caching) is
17223 possible to invalidate.
17224
17225 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17226
17227 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17228 all whitespace around breakpoint. (Bug#9553)
17229 (f90-find-breakpoint): Only break at whitespace inside a comment.
17230
17231 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * minibuffer.el (completion-file-name-table): Keep track of errors.
17234 (completion-table-with-predicate): Handle the case where pred1 is nil.
17235 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17236
17237 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17238
17239 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17240 (debugger-return-value): Signal an error if the debugging context does
17241 not await any return value.
17242
17243 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17244 * image-mode.el (image-toggle-display-text)
17245 (image-toggle-display-image): Stay away from evil `intangible'.
17246
17247 2011-09-19 Leo Liu <sdl.web@gmail.com>
17248
17249 * replace.el (occur-revert-arguments): Make it permanent-local.
17250 (occur-mode): Don't call font-lock-defontify.
17251
17252 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17253
17254 * net/ldap.el (ldap-search-internal): Don't push empty search
17255 result (Bug#9508).
17256
17257 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17258
17259 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17260
17261 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17262
17263 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17264 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17265
17266 2011-09-18 Juri Linkov <juri@jurta.org>
17267
17268 * buff-menu.el (Buffer-menu-mode-map):
17269 * dired.el (dired-mode-map):
17270 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17271 (lisp-interaction-mode-map):
17272 * emacs-lisp/package.el (package-menu-mode-map):
17273 * epa.el (epa-key-list-mode-map):
17274 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17275 (menu-bar-options-menu):
17276 * outline.el (outline-mode-menu-bar-map):
17277 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17278 * vc/vc-dir.el (vc-dir-menu-map):
17279 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17280 Capitalize non-function content words in menu item strings.
17281
17282 * dired.el (dired-mode-map): Add menu item for
17283 `image-dired-dired-toggle-marked-thumbs'.
17284
17285 2011-09-18 Juri Linkov <juri@jurta.org>
17286
17287 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17288 to `isearch-case-fold-search' and restore its original value
17289 after the `isearch-mode' call.
17290
17291 2011-09-18 Juri Linkov <juri@jurta.org>
17292
17293 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17294 because `zgrep' returns 1 for successful matches (bug#9226).
17295
17296 2011-09-18 Juri Linkov <juri@jurta.org>
17297
17298 * info.el (Info-extract-menu-node-name): Check the second match
17299 for empty string (second test-case of bug#9528).
17300 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17301 intermediate nodes to the history (first test-case of bug#9528).
17302
17303 2011-09-18 Juri Linkov <juri@jurta.org>
17304
17305 * info.el (Info-mode-syntax-table): New variable.
17306 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17307
17308 2011-09-18 Juri Linkov <juri@jurta.org>
17309
17310 * info.el (Info-file-supports-index-cookies):
17311 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17312 outputs one more line for long file names (bug#4142).
17313
17314 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17315
17316 * newcomment.el (comment-normalize-vars): If prompting for
17317 comment-start, set comment-start-skip too (Bug#8424).
17318
17319 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17320
17321 * icomplete.el: Fix previous fix of Bug#5849.
17322 (icomplete-mode): Don't set completion-show-inline-help.
17323 (icomplete-minibuffer-setup): Set completion-show-inline-help
17324 locally during icompletion.
17325
17326 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17327
17328 * woman.el (woman2-process-escapes): Don't delete unrecognized
17329 escapes (Bug#7843).
17330
17331 * files.el (inhibit-first-line-modes-regexps): Add image files.
17332 (hack-local-variables-prop-line): Return nil for malformed
17333 prop-lines (Bug#9044).
17334
17335 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17336
17337 * net/tramp.el (top): Don't require 'shell.
17338 (tramp-methods): Fix docstring.
17339 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17340 Return complete remote file name. Handle "smb" case.
17341 Use `tramp-tmpdir', if defined for the respective method.
17342 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17343
17344 * net/tramp-compat.el (top): Require 'shell.
17345
17346 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17347 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17348 `tramp-current-host'.
17349 (tramp-get-remote-tmpdir): Remove.
17350
17351 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17352 `tramp-tmpdir' entries.
17353 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17354 (tramp-smb-handle-file-attributes): Ignore errors.
17355 (tramp-smb-wait-for-output): Check also for process end.
17356
17357 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17358
17359 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17360 when sending QUIT (bug#9312).
17361
17362 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17363
17364 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17365 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17366 occur-mode-display-occurrence.
17367 (occur-edit-mode): Add usage message.
17368 (occur-cease-edit): New command.
17369 (occur-after-change-function): Use text properties to find the
17370 position of the prefix text.
17371 (occur-engine): Set stickiness of prefix text properties.
17372
17373 2011-09-17 Glenn Morris <rgm@gnu.org>
17374
17375 * progmodes/etags.el (complete-tag):
17376 Fix call to completion-in-region. (Bug#9526)
17377
17378 2011-09-17 Juri Linkov <juri@jurta.org>
17379
17380 * textmodes/ispell.el (ispell-word): Add to the error message
17381 the word, ispell program name and current dictionary (bug#9121).
17382 (ispell-tex-arg-end): Capitalize "error" in the error message.
17383
17384 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17385
17386 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17387 check. (Bug#4251)
17388
17389 2011-09-17 Juri Linkov <juri@jurta.org>
17390
17391 * window.el (window-safe-min-height, window-safe-min-width):
17392 Fix typos (followup to bug#9522).
17393
17394 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17395
17396 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17397
17398 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17399
17400 * simple.el (line-move): If goal-column is set, move by logical
17401 lines, not by display lines. (Bug#971)
17402 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17403 to reflect the above change.
17404
17405 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17406
17407 * image.el (imagemagick-register-types): Use regexp-opt.
17408
17409 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17410
17411 * window.el (display-buffer-base-action): Rename from
17412 display-buffer-default-action. Make default value empty.
17413 (display-buffer-overriding-action): Convert to defvar.
17414 (display-buffer-fallback-action): New var.
17415
17416 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17417
17418 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17419 declaration.
17420 (package--add-to-archive-contents): If there is a duplicate entry
17421 with an older version, remove it.
17422 (package-menu-mark-delete, package-menu-mark-install)
17423 (package-menu-mark-unmark): Make unused args optional.
17424 (package-menu-mark-obsolete-for-deletion):
17425 Use package-menu-get-status instead of a regexp search.
17426 (package-menu-get-status): Use tabulated-list-entry.
17427 (package-menu-mark-upgrades): New command.
17428 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17429 (package-menu-execute): Do installation before deletion.
17430 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17431 instead of checking major-mode.
17432 (package-menu--find-upgrades): New function.
17433
17434 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17435
17436 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17437 passwords in the log buffer.
17438 (smtpmail-process-filter): Update the process marker so that the
17439 "broken by peer" status message is inserted in the right place.
17440
17441 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17442
17443 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17444 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17445 bibtex-completion-at-point-function.
17446 (bibtex-completion-at-point-function): Use them.
17447
17448 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17449
17450 * mpc.el (mpc-constraints-tag-lookup): New function.
17451 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17452 also to browser "album|playlist".
17453
17454 2011-09-14 Juri Linkov <juri@jurta.org>
17455
17456 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17457 (isearch-edit-string): Use length of `isearch-string' when
17458 `isearch-fail-pos' returns nil.
17459 (isearch-message): Remove duplicate code and call
17460 `isearch-fail-pos' with arg `t'.
17461
17462 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17463
17464 * replace.el (occur-mode-goto-occurrence): Don't force using other
17465 window (Bug#9499).
17466
17467 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17468
17469 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17470
17471 * window.el (display-buffer-window): Remove.
17472 (display-buffer-record-window): Use help-setup window parameter
17473 instead of variable display-buffer-window.
17474 (display-buffer-function, special-display-buffer-names)
17475 (special-display-function): Mention help-setup parameter instead
17476 of display-buffer-window in doc-string.
17477 * help.el (help-window-setup): New argument help-window.
17478 Use help-window-setup parameter instead of display-buffer-window.
17479 Reword some messages.
17480 (with-help-window): Pass window used for displaying the buffer
17481 to help-window-setup. Don't set display-buffer-window.
17482
17483 2011-09-13 Glenn Morris <rgm@gnu.org>
17484
17485 * emacs-lisp/debug.el (debugger-make-xrefs):
17486 Preserve point. (Bug#9462)
17487
17488 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17489
17490 * window.el (window-deletable-p): Use next-frame.
17491
17492 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17493
17494 * window.el (window-auto-delete): Remove.
17495 (window-deletable-p): Remove argument FORCE. Don't deal with
17496 dedication and previous buffers.
17497 (switch-to-prev-buffer): Don't delete window.
17498 (delete-windows-on): Delete a window's frame if and only if the
17499 window is dedicated.
17500 (replace-buffer-in-windows): Delete buffer's window or frame if
17501 and only if window is dedicated.
17502 (quit-window): Handle quit-restore as before last change.
17503 (bury-buffer): Delete window only if window-deletable-p returns t.
17504
17505 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17506
17507 * window.el (window-deletable-p): Never delete the last frame on a
17508 given terminal.
17509
17510 2011-09-13 Glenn Morris <rgm@gnu.org>
17511
17512 * help.el (describe-key-briefly): Copy previous standard-output change.
17513
17514 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17515
17516 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17517
17518 2011-09-13 Glenn Morris <rgm@gnu.org>
17519
17520 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17521 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17522
17523 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17524
17525 * dired-aux.el (dired-mark-read-string): Don't return default
17526 value on empty input (Bug#9361).
17527 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17528 Omit initial minibuffer contents.
17529 (dired-do-chmod): Signal an error on empty input.
17530 (dired-mark-read-string): Don't return default on empty input.
17531
17532 * files.el (file-modes-symbolic-to-number): Doc fix.
17533
17534 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * international/mule-cmds.el (ucs-completions): Remove.
17537 (read-char-by-name): Use complete-with-action instead; add metadata.
17538
17539 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17540
17541 * window.el (display-buffer--action-function-custom-type)
17542 (display-buffer--action-custom-type): New vars.
17543 (display-buffer-alist, display-buffer-default-action)
17544 (display-buffer-overriding-action): Add defcustom types.
17545
17546 * frame.el (delete-other-frames): Doc fix (Bug#276).
17547
17548 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17549
17550 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17551
17552 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17553
17554 Change modes that used same-window-* vars to use switch-to-buffer.
17555
17556 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17557 Use switch-to-buffer.
17558
17559 * cus-edit.el (customize-group, custom-buffer-create)
17560 (customize-browse, custom-buffer-create-other-window):
17561 Use switch-to-buffer or switch-to-buffer-other-window.
17562
17563 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17564 (Info-prev, Info-up, Info-speedbar-goto-node)
17565 (info-display-manual): Use switch-to-buffer.
17566 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17567
17568 * mail/sendmail.el (mail): Use switch-to-buffer.
17569 (mail-recover): Use switch-to-buffer-other-window.
17570
17571 * cmuscheme.el (run-scheme, switch-to-scheme):
17572 * ielm.el (ielm):
17573 * shell.el (shell):
17574 * net/rlogin.el (rlogin):
17575 * net/telnet.el (telnet, rsh):
17576 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17577
17578 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17579
17580 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17581
17582 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17583
17584 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17585 so don't mention it (bug#9301).
17586 (dired-sort-toggle-or-edit): Clarify string further.
17587
17588 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17589 match `x', `w32' and `ns', like the manual says (bug#9029).
17590
17591 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17592 (process-kill-buffer-query-function): Mention the buffer name in
17593 the query.
17594
17595 * image-mode.el (image-next-line): The line parameter is mandatory
17596 (bug#9258).
17597
17598 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17599 which can be useful (bug#9301).
17600
17601 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17602
17603 * subr.el (match-string): Mention that the current buffer should
17604 be the same as the search was done in (bug#9282).
17605
17606 * facemenu.el: Disable the remove-* commands if the mark isn't
17607 active (bug#9162).
17608
17609 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17610
17611 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17612 of display-buffer.
17613 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17614
17615 * replace.el (occur-mode-goto-occurrence)
17616 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17617 and display-buffer.
17618
17619 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17620 display-buffer.
17621
17622 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17623 special-display and same-window variables.
17624 (mail-other-window): Use switch-to-buffer-other-window.
17625 (mail-other-frame): USe switch-to-buffer-other-frame.
17626
17627 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17628 Use display-buffer-other-frame.
17629 (gdb-display-gdb-buffer): Use pop-to-buffer.
17630
17631 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17632
17633 * progmodes/python.el: Don't set same-window-buffer-names.
17634
17635 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17636
17637 * window.el (display-buffer-alist): Add *Python*.
17638
17639 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17640
17641 * window.el (display-buffer-alist): Add entry for buffers
17642 previously handled same-window-*.
17643 (display-buffer-alist, display-buffer-default-action)
17644 (display-buffer-overriding-action): Mark as risky.
17645 (display-buffer-alist): Document action function changes.
17646 (display-buffer--same-window-action)
17647 (display-buffer--other-frame-action): New variables.
17648 (switch-to-buffer, display-buffer-other-frame): Use them.
17649 (display-buffer): Rename reuse-frame entry to reusable-frames.
17650 (display-buffer-reuse-selected-window): Function deleted.
17651 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17652 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17653 (display-buffer-special): New function.
17654 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17655 display-buffer-reuse-or-pop-window. Split off special-display
17656 part into display-buffer-special.
17657 (display-buffer-use-some-window): Don't perform any special
17658 pop-up-frames handling.
17659 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17660 (display-buffer--maybe-same-window): Rename from
17661 display-buffer-maybe-same-window.
17662
17663 * info.el: Don't set same-window-regexps.
17664 (info-setup): New function.
17665 (info-other-window, info): Call it.
17666
17667 * cus-edit.el: Don't set same-window-regexps.
17668 (customize-group): New argument.
17669 (customize-group-other-window): Use it.
17670 (customize-face, customize-face-other-window): Likewise.
17671 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17672
17673 * net/rlogin.el:
17674 * net/telnet.el:
17675 * progmodes/gud.el: Don't set same-window-regexps.
17676
17677 * cmuscheme.el:
17678 * ielm.el:
17679 * shell.el:
17680 * mail/sendmail.el:
17681 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17682
17683 2011-09-10 Juri Linkov <juri@jurta.org>
17684
17685 * isearch.el (isearch-edit-string): Remove obsolete mention of
17686 `C-w' (`isearch-yank-word-or-char') from docstring.
17687 (isearch-query-replace): Fix typo in docstring (bug#9466).
17688
17689 2011-09-10 Juri Linkov <juri@jurta.org>
17690
17691 * paren.el (show-paren-function): Don't show escaped parens.
17692 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17693
17694 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17695
17696 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17697 (mm-default-file-encoding): Remove autoload forms, they are
17698 replaced with autoload cookies in mml.el and mm-encode.el.
17699 (mail-add-attachment): New command.
17700 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17701 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17702 the doc string.
17703 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17704
17705 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17706
17707 * simple.el (count-words-region): Use buffer if there's no region
17708 (bug#9429).
17709
17710 2011-09-09 Juri Linkov <juri@jurta.org>
17711
17712 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17713 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17714 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17715
17716 2011-09-09 Alan Mackenzie <acm@muc.de>
17717
17718 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17719 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17720
17721 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17722
17723 Fix for Savannah bug#9392.
17724 * simple.el (mail-encode-mml): New defvar.
17725
17726 * mail/rmail.el (mail-encode-mml): Add a defvar.
17727 (rmail-enable-mime-composing): Default to t.
17728 (rmail-forward): Use MIME method of forwarding only if both
17729 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17730 Set mail-encode-mml non-nil if the MIME method was used.
17731
17732 * mail/sendmail.el (mml-to-mime): Add autoload form.
17733 (mail-encode-mml): Add a defvar.
17734 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17735 to nil.
17736 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17737 message through mml-to-mime, and reset mail-encode-mml to nil.
17738
17739 2011-09-09 Glenn Morris <rgm@gnu.org>
17740
17741 * woman.el (woman-if-body): When processing an .el block,
17742 do not delete the next .el block as well. (Bug#9447)
17743 (woman-special-characters): Add oq, cq, and hy characters.
17744
17745 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17746
17747 * window.el (window-deletable-p): Make sure window is live before
17748 invoking window-prev-buffers.
17749
17750 2011-09-08 Leo Liu <sdl.web@gmail.com>
17751
17752 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17753
17754 2011-09-08 Juri Linkov <juri@jurta.org>
17755
17756 * progmodes/compile.el (compilation-environment): Make it
17757 a defcustom (bug#8340).
17758
17759 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17760
17761 * window.el (frame-auto-delete): Rename to window-auto-delete.
17762 Make it control auto-deletion of windows and/or frames.
17763 (window-deletable-p): New argument FORCE. Rewrite conditions
17764 for deleting window/frame. (Bug#9419)
17765 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17766 Rewrite handling of case when window/frame can be deleted.
17767 (delete-windows-on): Call window-deletable-p with new FORCE
17768 argument t. (Bug#9456)
17769
17770 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17771
17772 * help-mode.el (help-mode): Restore autoload.
17773
17774 2011-09-07 Juri Linkov <juri@jurta.org>
17775
17776 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17777 `compilation-environment'. Set buffer-local
17778 `compilation-environment' to `thisenv' later after (funcall mode).
17779 (Bug#8340)
17780
17781 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17782 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17783 instead of replacing its value. (Bug#8340)
17784
17785 2011-09-07 Juri Linkov <juri@jurta.org>
17786
17787 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17788 based on text properties put by `grep-filter' instead of matching
17789 escape sequences.
17790 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17791 to the value of `grep-error-screen-columns' (bug#9438).
17792
17793 2011-09-07 Juri Linkov <juri@jurta.org>
17794
17795 * simple.el (next-error-highlight, next-error-highlight-no-select):
17796 Doc fix (bug#9432).
17797
17798 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17799
17800 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17801 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17802
17803 2011-09-07 Leo Liu <sdl.web@gmail.com>
17804
17805 * net/rcirc.el (rcirc-mode): Conditionally initialize
17806 rcirc-input-ring.
17807
17808 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17809
17810 * emacs-lisp/find-func.el (find-function-C-source): Only set
17811 find-function-C-source-directory after checking that we found a source
17812 file there (bug#9440).
17813
17814 2011-09-06 Alan Mackenzie <acm@muc.de>
17815
17816 * isearch.el (isearch-other-meta-char): Wherever a key list is
17817 unread, "unread" the prefix arg, too. This fixes bug #8901.
17818
17819 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17820
17821 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17822
17823 2011-09-05 Juri Linkov <juri@jurta.org>
17824
17825 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17826
17827 2011-09-05 Juri Linkov <juri@jurta.org>
17828
17829 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17830 keeping point where processing of grep matches begins, and
17831 continue to delete remaining escape sequences from the same point.
17832 (grep-filter): Make leading zero optional in "0?1;31m" because
17833 git-grep emits "\033[1;31m" escape sequences unlike expected
17834 "\033[01;31m" as GNU Grep does (bug#9408).
17835 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17836
17837 2011-09-05 Juri Linkov <juri@jurta.org>
17838
17839 * subr.el (y-or-n-p): Capitalize "yes".
17840
17841 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17842
17843 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17844 `tramp-cache-unload-hook' where appropriate.
17845 (tramp-methods): Rename `tramp-remote-sh' to
17846 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17847 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17848
17849 * net/tramp-sh.el (top): Don't require 'shell.
17850 (tramp-methods): Add `tramp-remote-shell' and
17851 `tramp-remote-shell-args' entries.
17852 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17853 (tramp-sh-handle-shell-command): Remove.
17854 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17855 Use `tramp-remote-shell'.
17856
17857 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * mail/sendmail.el (sendmail-query-once-function): Delete.
17860 (sendmail-query-once): Save directly to send-mail-function.
17861 Update message-send-mail-function too.
17862
17863 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17864
17865 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17866
17867 * progmodes/python.el (python-mode-map): Use correct function to
17868 start python interpreter from menu-bar (as reported by Geert
17869 Kloosterman).
17870 (inferior-python-mode-map): Fix typo.
17871 (python-shell-map): Remove.
17872
17873 2011-09-03 Deniz Dogan <deniz@dogan.se>
17874
17875 * net/rcirc.el (rcirc-print): Simplify code for
17876 rcirc-scroll-show-maximum-output. There is no need to walk
17877 through all windows to find the right one.
17878
17879 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17880
17881 * help.el (help-return-method): Doc fix.
17882
17883 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17884
17885 * window.el (window-deletable-p): Don't return a non-nil value
17886 when there's a buffer that was shown in the window before.
17887 (Bug#9419)
17888 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17889 Set window's previous buffers to nil.
17890
17891 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17892
17893 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17894 newline before and after the tag line, so it doesn't interfere
17895 with determining the paragraph direction of bidirectional text.
17896
17897 2011-09-03 Leo Liu <sdl.web@gmail.com>
17898
17899 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17900
17901 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17902
17903 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17904 (pop-to-buffer): Change interactive spec. Pass second argument
17905 directly to display-buffer.
17906 (display-buffer): Fix interactive spec. Use functionp to
17907 distinguish between a function and a list of functions.
17908
17909 * abbrev.el (edit-abbrevs):
17910 * arc-mode.el (archive-extract):
17911 * autoinsert.el (auto-insert):
17912 * bookmark.el (bookmark-bmenu-list):
17913 * files.el (find-file):
17914 * view.el (view-buffer):
17915 * progmodes/compile.el (compilation-goto-locus):
17916 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17917
17918 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17919
17920 * window.el (display-buffer-alist): Doc fix.
17921 (display-buffer): Add docstring. Don't treat
17922 display-buffer-default specially.
17923 (display-buffer-reuse-selected-window)
17924 (display-buffer-same-window, display-buffer-maybe-same-window)
17925 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17926 (display-buffer-pop-up-window)
17927 (display-buffer-reuse-or-pop-window)
17928 (display-buffer-use-some-window): New functions.
17929 (display-buffer-default-action): Use them.
17930 (display-buffer-default): Delete.
17931 (pop-to-buffer-1): Fix choice of actions.
17932
17933 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17934
17935 * minibuffer.el (completion--insert-strings): Don't get confused by
17936 completion entries that end with an LF char.
17937
17938 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17939
17940 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17941
17942 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17943
17944 * window.el (display-buffer): Restore interactive spec.
17945 (display-buffer-same-window, display-buffer-other-window):
17946 New functions.
17947 (pop-to-buffer-1): New function. Use the above.
17948 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17949 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17950
17951 * view.el (view-buffer-other-window, view-buffer-other-frame):
17952 Just use pop-to-buffer.
17953
17954 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17955
17956 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17957
17958 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17959
17960 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17961
17962 2011-08-31 Richard Stallman <rms@gnu.org>
17963
17964 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17965 of the separation of rmail-view-buffer from rmail-buffer.
17966 If you say no to "replace original", the decrypt is in the
17967 view buffer. If you say yes, the decrypt goes into the
17968 rmail buffer also.
17969
17970 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17971
17972 * window.el (display-buffer-window): Rewrite doc-string.
17973 (display-buffer-record-window): New function.
17974 (display-buffer-macro-specifiers)
17975 (display-buffer-even-window-sizes, display-buffer-set-height)
17976 (display-buffer-set-width, display-buffer-in-window)
17977 (display-buffer-reuse-window, display-buffer-split-specifiers)
17978 (display-buffer-side-specifiers, display-buffer-split-window-1)
17979 (display-buffer-split-window, display-buffer-split-atom-window)
17980 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17981 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17982 (display-buffer-other-window-means-other-frame)
17983 (display-buffer-normalize-special)
17984 (display-buffer-normalize-default)
17985 (display-buffer-normalize-argument)
17986 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17987 (display-buffer-normalize-specifiers, display-buffer-frame)
17988 (display-buffer-same-window, display-buffer-same-frame)
17989 (display-buffer-other-window)
17990 (display-buffer-same-frame-other-window)
17991 (display-buffer-other-frame, pop-to-buffer-same-window)
17992 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17993 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17994 (switch-to-buffer-same-frame)
17995 (switch-to-buffer-other-window-same-frame)
17996 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17997 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17998 (display-buffer-alist-set): Remove.
17999 (display-buffer-function, special-display-buffer-names)
18000 (special-display-regexps, special-display-function):
18001 In doc-string refer to display-buffer-window and quit-restore
18002 parameter.
18003 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18004 (special-display-frame-alist, special-display-popup-frame)
18005 (same-window-buffer-names, same-window-regexps, same-window-p)
18006 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18007 (split-window-preferred-function, split-height-threshold)
18008 (split-width-threshold, window-splittable-p)
18009 (split-window-sensibly, window--try-to-split-window)
18010 (window--frame-usable-p, even-window-heights)
18011 (window--even-window-heights, window--display-buffer-1)
18012 (window--display-buffer-2, display-buffer-other-frame):
18013 Restore old Emacs 23 code, order and doc-strings where applicable.
18014 (display-buffer-default, display-buffer-assq-regexp): New functions.
18015 (display-buffer-alist): Rewrite doc-string.
18016 (display-buffer-default-action)
18017 (display-buffer-overriding-action): New variables.
18018 (display-buffer, switch-to-buffer): Rewrite.
18019 (pop-to-buffer): Restore Emacs 23 behavior but use
18020 window-normalize-buffer-to-display.
18021 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18022 Restore Emacs 23 behavior but use
18023 window-normalize-buffer-to-switch-to.
18024 (pop-to-buffer-same-window): Rewrite.
18025 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18026 Rewrite using Emacs 23 options.
18027
18028 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18029
18030 * net/tramp.el (tramp-root-regexp): Remove.
18031 (tramp-completion-file-name-regexp-unified)
18032 (tramp-completion-file-name-regexp-separate)
18033 (tramp-completion-file-name-regexp-url): Don't use leading volume
18034 letter on w32 systems. (Bug#5303, Bug#9311)
18035 (tramp-drop-volume-letter): Simplify definition.
18036 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18037
18038 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18039
18040 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18041 (bug#9356).
18042
18043 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18044
18045 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18046
18047 2011-08-29 Juri Linkov <juri@jurta.org>
18048
18049 * isearch.el (isearch-done): Don't display message "Mark saved"
18050 when arg `edit' is non-nil to prevent its flicker in the echo area.
18051
18052 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18053
18054 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18055 obsolete packages for deletion.
18056
18057 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18058
18059 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18060 (help-mode): Derive help-mode from special-mode. Don't invoke
18061 view-mode from help-mode.
18062 (help-xref-override-view-map): Remove.
18063 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18064 view-mode is not used anymore.
18065
18066 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18067
18068 * server.el (server-port): Doc fix.
18069
18070 * cus-theme.el (custom-theme-choose-mode): Inherit from
18071 special-mode (Bug#9124).
18072 (custom-theme-choose-mode-map): Add special-mode to parent.
18073
18074 2011-08-28 Alan Mackenzie <acm@muc.de>
18075
18076 * progmodes/cc-fonts.el
18077 (c-make-font-lock-BO-decl-search-function): New function.
18078 (c-basic-matchers-after - "Fontify the clauses after various
18079 keywords"): Extract the three keyword lists for the 3 erroneous
18080 constructs from the list of four, and use the new function above
18081 in place of an old one.
18082
18083 2011-08-28 Deniz Dogan <deniz@dogan.se>
18084
18085 * net/rcirc.el (rcirc-insert-prev-input)
18086 (rcirc-insert-next-input): Remove unused argument.
18087
18088 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18089
18090 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18091
18092 2011-08-27 Alan Mackenzie <acm@muc.de>
18093
18094 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18095 handle function pointer parameters properly.
18096
18097 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18098
18099 * window.el (display-buffer-reuse-window): Fix case where
18100 selected window was reused with non-nil OTHER-WINDOW argument.
18101 (Bug#9381)
18102
18103 2011-08-27 Deniz Dogan <deniz@dogan.se>
18104
18105 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18106 oftc's NickServ messages.
18107
18108 2011-08-27 Glenn Morris <rgm@gnu.org>
18109
18110 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18111
18112 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18113
18114 * emacs-lisp/package.el (package-install): Call package-initialize
18115 if called interactively.
18116
18117 2011-08-26 Leo Liu <sdl.web@gmail.com>
18118
18119 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18120
18121 2011-08-25 Juri Linkov <juri@jurta.org>
18122
18123 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18124 `search-whitespace-regexp' (bug#9364).
18125
18126 2011-08-25 Juri Linkov <juri@jurta.org>
18127
18128 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18129 `regexp-search-ring' to their global values to protect from
18130 updating by `read-from-minibuffer' (bug#9185).
18131
18132 2011-08-25 Juri Linkov <juri@jurta.org>
18133
18134 * textmodes/ispell.el (ispell-command-loop): Add newline
18135 at the end of the "Use option `i'..." line.
18136
18137 2011-08-25 Juri Linkov <juri@jurta.org>
18138
18139 * battery.el (display-battery-mode): If `battery-status-function'
18140 or `battery-mode-line-format' is nil, display the message and set
18141 `display-battery-mode' to nil (bug#9363).
18142
18143 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18144
18145 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18146 bidi-string-mark-left-to-right; they are unnecessary now.
18147
18148 2011-08-25 Deniz Dogan <deniz@dogan.se>
18149
18150 * net/quickurl.el: Documentation typo fixes.
18151
18152 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18153
18154 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18155
18156 2011-08-25 Glenn Morris <rgm@gnu.org>
18157
18158 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18159
18160 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18161 (smtpmail-via-smtp): Handle nil response from smtp.
18162
18163 2011-08-24 Juri Linkov <juri@jurta.org>
18164
18165 * proced.el (proced-marked): Inherit from `error' instead of
18166 `font-lock-warning-face'.
18167
18168 * ibuffer.el (ibuffer-marked-face): Change default face from
18169 `font-lock-warning-face' to `warning'.
18170 (ibuffer-deletion-face): Change default face from
18171 `font-lock-type-face' to `error'.
18172
18173 * battery.el (battery-update): Use the face `error' instead of
18174 `font-lock-warning-face' (bug#6117).
18175
18176 2011-08-24 Juri Linkov <juri@jurta.org>
18177
18178 * faces.el (success): Change face color from "Green3" to
18179 "ForestGreen" on light background (bug#9353).
18180
18181 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18182
18183 * window.el (quit-window): Rename from quit-restore-window.
18184 Use same arglist as old quit-window.
18185 (frame-auto-delete): Doc fix.
18186
18187 * view.el (view-mode-exit): Use quit-window.
18188
18189 2011-08-24 Juri Linkov <juri@jurta.org>
18190
18191 * isearch.el (isearch-ring-adjust1): Start visiting previous
18192 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18193 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18194 for empty search string (when the last search string is reused
18195 automatically) to adjust the isearch ring to the last element and
18196 prepare the correct index for further M-p commands (bug#9185).
18197
18198 2011-08-24 Kenichi Handa <handa@m17n.org>
18199
18200 * international/ucs-normalize.el: If decomposition property of
18201 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18202 nil.
18203 (nfd, nfkd): Likewise.
18204
18205 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18206
18207 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18208 from process filters aren't reliably transmitted to the surrounding
18209 accept-process-output.
18210 (mpc-proc-check): New function.
18211 (mpc-proc-sync): Use it (bug#8293)
18212
18213 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18214
18215 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18216 Add compatibility functions (bug#9313).
18217
18218 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18219
18220 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18221
18222 * international/uni-bidi.el: Regenerate.
18223
18224 2011-08-23 Kenichi Handa <handa@m17n.org>
18225
18226 * international/charprop.el:
18227 * international/uni-bidi.el:
18228 * international/uni-category.el:
18229 * international/uni-combining.el:
18230 * international/uni-comment.el:
18231 * international/uni-decimal.el:
18232 * international/uni-decomposition.el:
18233 * international/uni-digit.el:
18234 * international/uni-lowercase.el:
18235 * international/uni-mirrored.el:
18236 * international/uni-name.el:
18237 * international/uni-numeric.el:
18238 * international/uni-old-name.el:
18239 * international/uni-titlecase.el:
18240 * international/uni-uppercase.el: Regenerate.
18241
18242 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18243
18244 * help.el (help-window-setup): Fix message displayed when other
18245 window is reused. (Bug#9341)
18246
18247 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18248
18249 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18250 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18251
18252 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18253 Mark obsolete.
18254 * shell.el (shell-parse-pcomplete-arguments): New function.
18255 (shell-completion-vars): Use it instead (bug#9160).
18256
18257 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18258
18259 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18260 strings and comments (bug#9333).
18261
18262 * emacs-lisp/debug.el (debug-arglist): New function.
18263 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18264 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18265
18266 2011-08-22 Juri Linkov <juri@jurta.org>
18267
18268 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18269 Revert regexp that highlights output switches to its old
18270 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18271
18272 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18273 to check for empty output (bug#9226).
18274
18275 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18276
18277 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18278 symbol-constituent as the default, as that stops font-lock from
18279 working properly (Bug#8843).
18280
18281 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18282
18283 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18284 `coding-system-for-*' around the process open call to avoid
18285 auth-source side effects.
18286 (smtpmail-try-auth-methods): Expand the secret password.
18287 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18288 probe hangs.
18289
18290 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18291
18292 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18293
18294 * emacs-lisp/find-func.el (find-function-noselect): New arg
18295 lisp-only.
18296
18297 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18298 signal an error for built-in functions (Bug#6664).
18299
18300 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18301
18302 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18303 (smtpmail-try-auth-methods): Use it.
18304
18305 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18306
18307 * font-lock.el (font-lock-fontify-region)
18308 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18309 (font-lock-default-unfontify-buffer)
18310 (font-lock-default-fontify-region)
18311 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18312
18313 * progmodes/compile.el (compilation-error-properties):
18314 Fix confusion between file struct and message struct (Bug#9319).
18315 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18316 `ant' regexp.
18317
18318 * net/browse-url.el (browse-url-firefox): Don't call
18319 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18320
18321 2011-08-20 Glenn Morris <rgm@gnu.org>
18322
18323 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18324
18325 * tutorial.el (tutorial--default-keys): Update some default bindings.
18326
18327 * files.el (hack-local-variables): Fully ignore case for "mode:".
18328
18329 2011-08-20 Alan Mackenzie <acm@muc.de>
18330
18331 Resolve invalid use of a regexp in regexp-opt.
18332
18333 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18334 detection for a java annotation.
18335
18336 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18337 detection for a java annotation.
18338
18339 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18340 handling for java.
18341 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18342
18343 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18344
18345 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18346 (Bug#9274).
18347
18348 2011-08-20 Alan Mackenzie <acm@muc.de>
18349
18350 Fontify CPP expressions correctly when starting in the middle of
18351 such a construct. Mainly for when jit-lock etc. starts a chunk
18352 here.
18353
18354 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18355 variable.
18356 (c-make-font-lock-search-form): New function, extracted from
18357 c-make-font-lock-search-function.
18358 (c-make-font-lock-search-function): Use the above function.
18359 (c-make-font-lock-context-search-function): New function.
18360 (c-cpp-matchers): Enhance the preprocessor expression case with
18361 the above function
18362 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18363 which takes an expression.
18364
18365 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18366
18367 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18368
18369 * window.el (display-buffer-reuse-window)
18370 (display-buffer-pop-up-window): Don't reuse or split a side
18371 window.
18372
18373 2011-08-19 Glenn Morris <rgm@gnu.org>
18374
18375 * files.el (hack-local-variables-prop-line, hack-local-variables):
18376 Downcase "Mode:". (Bug#9331)
18377
18378 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18379
18380 * international/characters.el: Add L and R categories.
18381
18382 * subr.el (bidi-string-mark-left-to-right): Rename from
18383 string-mark-left-to-right. Use category search.
18384
18385 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18386
18387 2011-08-18 Juri Linkov <juri@jurta.org>
18388
18389 * faces.el (error, warning, success): New faces with definitions
18390 copied from old default values of `font-lock-warning-face',
18391 `compilation-warning', `compilation-info' (bug#6117).
18392
18393 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18394
18395 * progmodes/compile.el (compilation-error): Inherit from `error'.
18396 (compilation-warning): Inherit from `warning'.
18397 (compilation-info): Inherit from `success'.
18398
18399 * dired.el (dired-marked): Inherit from `warning'.
18400 (dired-flagged): Inherit from `error'.
18401
18402 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18403
18404 * mail/smtpmail.el (auth-source): Require to avoid problems with
18405 binding variables (bug#9298). Also clean up some unused
18406 autoloads.
18407
18408 * net/network-stream.el (network-stream-open-starttls):
18409 Support using starttls.el without using gnutls-cli.
18410
18411 2011-08-17 Juri Linkov <juri@jurta.org>
18412
18413 * progmodes/grep.el (rgrep): Handle the case when
18414 `grep-find-command' is a cons cell (bug#9278).
18415
18416 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18417
18418 * window.el (display-buffer-pop-up-frame): Run frame creation
18419 function with BUFFER current (as special-display-popup-frame
18420 does). Reported by Drew Adams.
18421
18422 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18423
18424 * epa-mail.el: Simplify GnuPG group expansion using
18425 epg-expand-group.
18426 (epa-mail-group-alist, epa-mail-group-modtime)
18427 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18428 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18429 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18430 Remove.
18431
18432 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18433
18434 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18435
18436 2011-08-16 Alan Mackenzie <acm@muc.de>
18437
18438 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18439 Correct, to avoid the inside of macros.
18440
18441 2011-08-16 Richard Stallman <rms@gnu.org>
18442
18443 * epa-mail.el: Handle GnuPG group definitions.
18444 (epa-mail-group-alist, epa-mail-group-modtime)
18445 (epa-mail-gnupg-conf-file): New variables.
18446 (epa-mail-parse-groups, epa-mail-sync-groups)
18447 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18448 (epa-mail-expand-recipients): New functions.
18449 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18450
18451 * mail/rmail.el (rmail-epa-decrypt): New command.
18452
18453 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18454 Don't bind buffer-read-only, just inhibit-read-only.
18455 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18456 (epa-decrypt-armor-in-region): Make error message clearer.
18457
18458 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18459
18460 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18461 and "a2b" to "ab" for `prefix'.
18462
18463 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18464
18465 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18466 filter groups.
18467 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18468 Fourquet (Bug#8804).
18469
18470 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18471
18472 * startup.el (argi): Declare as global variable (bug#9275).
18473
18474 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18475
18476 * subr.el (string-mark-left-to-right): Search the entire string
18477 for RTL script, not just the terminating character. Doc fix.
18478
18479 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18480
18481 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18482 New function.
18483 (js--regexp-literal, js-syntax-propertize-function): Remove.
18484 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18485 (js-mode-map): Don't rebind electric keys.
18486 (js-insert-and-indent): Remove.
18487 (js-mode): Setup electric-layout and electric-indent instead.
18488
18489 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18490
18491 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18492
18493 * epa.el (epa-progress-callback-function): Fix the logic of
18494 displaying progress.
18495 * epa-file.el (epa-file-insert-file-contents): Make progress
18496 display more user-friendly.
18497 (epa-file-write-region): Ditto.
18498
18499 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18500
18501 * subr.el (string-mark-left-to-right): New function.
18502
18503 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18504 Use string-mark-left-to-right.
18505 (list-buffers-noselect): Caller changed.
18506
18507 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18508 Use string-mark-left-to-right.
18509 (tabulated-list-print): Recenter after moving point.
18510
18511 2011-08-10 Juri Linkov <juri@jurta.org>
18512
18513 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18514 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18515 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18516
18517 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18518
18519 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18520 (Bug#7554).
18521
18522 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18523
18524 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18525 character. (Bug#6594)
18526
18527 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18528
18529 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18530 (image-dired--with-db-file): New macro.
18531 (image-dired-write-tags, image-dired-remove-tag)
18532 (image-dired-create-gallery-lists, image-dired-write-comments)
18533 (image-dired-get-comment, image-dired-mark-tagged-files)
18534 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18535 (image-dired-gallery-generate): Use insert-file-contents.
18536
18537 * time.el (display-time-world-list, display-time-world-display):
18538 * time-stamp.el (time-stamp-string):
18539 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18540 set-time-zone-rule (Bug#7337).
18541
18542 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18543
18544 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18545 (epg-error-to-string, epg-errors-to-string): New function.
18546 (epg-wait-for-completion): Reverse errors list.
18547 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18548 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18549 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18550 (epg-sign-keys, epg-generate-key-from-file)
18551 (epg-generate-key-from-string): Format errors by using
18552 epg-errors-to-string (bug#9255).
18553 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18554
18555 2011-08-07 Juri Linkov <juri@jurta.org>
18556
18557 * faces.el (list-faces-display): Remove extra angle bracket
18558 from `help-mode-map'.
18559
18560 * info.el (Info-history-toc-nodes): Doc fix.
18561
18562 * longlines.el (longlines-mode): Doc fix.
18563
18564 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18565
18566 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18567 of statements and in a few more cases (bug#9183).
18568
18569 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18570 New functions.
18571 (cl-transform-lambda): Use them (bug#9239).
18572
18573 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18574
18575 * window.el (display-buffer-same-window)
18576 (display-buffer-same-frame, display-buffer-other-window)
18577 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18578 (pop-to-buffer-other-window)
18579 (pop-to-buffer-same-frame-other-window)
18580 (pop-to-buffer-other-frame): Make them defuns.
18581 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18582
18583 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18584
18585 * subr.el (make-composed-keymap): Move from C. Change calling
18586 convention, and improve docstring to bring attention to a subtle point.
18587 * minibuffer.el (completing-read-default): Adjust accordingly.
18588
18589 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18590
18591 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18592 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18593
18594 * net/trampver.el: Update release number.
18595
18596 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18597
18598 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18599 "in" (bug#9190).
18600
18601 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18602
18603 * mail/sendmail.el (sendmail-query-once): Restore the current
18604 buffer after querying (bug#9074).
18605
18606 * dired.el (dired-flagged): Use different faces for marked and
18607 flagged files (bug#6117).
18608
18609 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18610 (bug#4433).
18611
18612 * ido.el (ido-mode): Switch off the message if called
18613 non-interactively.
18614
18615 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18616 before 587, since it appears that that's more likely to work for
18617 more people.
18618
18619 * cus-edit.el (custom-file): When running under emacs -q, always
18620 refuse to save the customizations, even if the .emacs file doesn't
18621 exist.
18622
18623 * info.el: Remove the `Info-beginning-of-buffer' function
18624 (bug#8325).
18625
18626 * net/network-stream.el (network-stream-open-starttls):
18627 Use `starttls-available-p' to see whether starttls.el can be used.
18628
18629 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18630
18631 * window.el (display-buffer-in-window): Don't set dedicated status
18632 of window here (Bug#9215).
18633 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18634 (display-buffer-pop-up-side-window)
18635 (display-buffer-in-side-window): Set dedicated status of window here.
18636
18637 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18638
18639 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18640 before binding generated-autoload-file.
18641
18642 2011-08-01 Deniz Dogan <deniz@dogan.se>
18643
18644 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18645
18646 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18647
18648 Sync with Tramp 2.2.2.
18649
18650 * net/trampver.el: Update release number.
18651
18652 2011-07-30 Juri Linkov <juri@jurta.org>
18653
18654 * dired-aux.el (dired-touch-initial): Remove function.
18655 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18656 current time, and `default' to the last modification time of the
18657 current marked file (bug#6887).
18658
18659 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18660
18661 * simple.el (goto-line): Use string-to-number to provide a
18662 numeric argument to read-number (bug#9163).
18663
18664 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18665
18666 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18667 connection process, it could be nil.
18668
18669 2011-07-27 Leo Liu <sdl.web@gmail.com>
18670
18671 Simplify url handling in rcirc-mode.
18672
18673 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18674 (rcirc-browse-url-at-mouse): Remove.
18675 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18676
18677 2011-07-26 Alan Mackenzie <acm@muc.de>
18678
18679 Fontify bitfield declarations properly.
18680
18681 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18682 (c-symbol-chars): Now exported as a lang variable.
18683 (c-not-primitive-type-keywords): New lang variable.
18684
18685 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18686 QT keyword "more" to prevent "more slots: ...." being spuriously
18687 parsed as a bitfield declaration.
18688
18689 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18690 Refactor and enhance to handle bitfield declarations.
18691 (c-punctuation-in): New function.
18692 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18693 declarations properly.
18694
18695 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18696
18697 * calendar/icalendar.el (icalendar--all-events): Take care of
18698 multiple vcalendars in a single file.
18699 (icalendar--convert-float-to-ical): Checkdoc fixes.
18700
18701 2011-07-25 Deniz Dogan <deniz@dogan.se>
18702
18703 * image.el (insert-image): Clarifying docstring.
18704
18705 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18706
18707 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18708 `tramp-send-command-and-check' if there is no error.
18709 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18710
18711 2011-07-22 Alan Mackenzie <acm@muc.de>
18712
18713 Prevent cc-langs.elc being loaded at run time.
18714
18715 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18716 cc-langs.
18717
18718 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18719 "(require 'cc-langs)". Quote a form so it will evaluate at
18720 (cc-mode's) compilation time.
18721
18722 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18723
18724 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18725 loading. (Bug#9114)
18726
18727 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18728
18729 * window.el (display-buffer-pop-up-window)
18730 (display-buffer-pop-up-side-window)
18731 (display-buffer-in-side-window): Call display-buffer-set-height
18732 and display-buffer-set-width after setting the new window's
18733 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18734
18735 2011-07-20 Sam Steingold <sds@gnu.org>
18736
18737 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18738 (etags-tags-included-tables): Call `convert-standard-filename' on
18739 the file names contained in TAGS so that windows Emacs can handle
18740 TAGS files created by cygwin ctags.
18741
18742 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18743
18744 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18745 which apparently didn't work.
18746
18747 2011-07-19 Roland Winkler <winkler@gnu.org>
18748
18749 * proced.el (proced-send-signal): For *Marked Processes* buffer
18750 put point at beginning of buffer.
18751
18752 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18753
18754 * proced.el (proced-format): Make header lines align with the text
18755 (bug#1779).
18756
18757 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18758
18759 * view.el (view-buffer): Allow running in `special' modes if we're
18760 visiting a file (bug#8615).
18761
18762 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18763
18764 * window.el (display-buffer-alist-of-strings-p)
18765 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18766 New functions.
18767 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18768 more accurately.
18769
18770 2011-07-18 Alan Mackenzie <acm@muc.de>
18771
18772 Fontify declarators properly when, e.g., a jit-lock chunk begins
18773 inside a declaration.
18774
18775 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18776
18777 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18778 New function.
18779 (c-complex-decl-matchers): Insert reference to
18780 c-font-lock-enclosing-decls.
18781
18782 * progmodes/cc-engine.el (c-backward-single-comment):
18783 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18784 to nil around calls to (forward-comment -1).
18785
18786 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18787
18788 * image.el (put-image): Doc typo fix.
18789
18790 * progmodes/etags.el (tags-search): Doc typo fix.
18791
18792 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18793 password if we get errors 550 to 554.
18794
18795 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18796
18797 * net/gnutls.el (gnutls-log-level): Remove.
18798
18799 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18800 indentation character (bug#6380).
18801
18802 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18803
18804 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18805 to clarify what the problem is (bug#4291).
18806
18807 * simple.el (current-kill): Clarify what
18808 `interprogram-paste-function' does (bug#7500).
18809 (auto-fill-mode): Document `auto-fill-function' in relation to
18810 `auto-fill-mode' (bug#2470).
18811
18812 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18813
18814 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18815 method if slot is read-only (bug#9035).
18816
18817 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18818
18819 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18820 * window.el (pop-to-buffer): Select window used even if it was
18821 selected before, see discussion of (Bug#8615), (Bug#6954).
18822 Pass argument NORECORD on to select-frame-set-input-focus.
18823
18824 2011-07-15 Glenn Morris <rgm@gnu.org>
18825
18826 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18827 Respect help-form.
18828
18829 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18830
18831 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18832 (gnutls-negotiate): Use it.
18833
18834 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18835
18836 * net/gnutls.el (gnutls-negotiate):
18837 Upcase `gnutls-algorithm-priority'.
18838
18839 2011-07-15 Glenn Morris <rgm@gnu.org>
18840
18841 * jka-compr.el (jka-compr-verbose): Move from here...
18842 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18843 Add missing :version tag.
18844 * info.el: No need to require jka-compr when compiling.
18845
18846 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18847
18848 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18849 (gnutls-negotiate): Use it.
18850
18851 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18852
18853 * info.el (Info-beginning-of-buffer): New command.
18854 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18855 announcing `b' as the key (bug#8325).
18856 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18857
18858 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18859
18860 * international/mule-cmds.el
18861 (describe-specified-language-support): Make the error message
18862 clearer (bug#8905).
18863
18864 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18865
18866 * isearch.el (isearch-barrier): Add a doc string, since it's
18867 mentioned in a function doc string (bug#8678).
18868
18869 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18870
18871 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18872 buffer argument (Bug#9083) and self-identifying label argument.
18873
18874 2011-07-15 Glenn Morris <rgm@gnu.org>
18875
18876 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18877
18878 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18879
18880 * man.el (Man-fontify-manpage): Fix message when formatting the
18881 man page (bug#7929).
18882
18883 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18884
18885 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18886 argument LRM; if non-nil, append an invisible LRM character to the
18887 buffer name.
18888 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18889 last argument non-nil, when formatting buffer names.
18890 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18891 paragraph direction.
18892
18893 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18894
18895 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18896 the man page name (bug#7929).
18897
18898 * image.el (put-image): Mention the `put-image' overlay property
18899 (bug#7834).
18900
18901 * scroll-bar.el (set-scroll-bar-mode): Mention that
18902 `scroll-bar-mode' lists the values (bug#7772).
18903
18904 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18905 command (bug#7729).
18906
18907 * rect.el (apply-on-rectangle): Return the point after the last
18908 operation.
18909 (string-rectangle): Go to the point after the last operation
18910 (bug#7522).
18911
18912 * printing.el (pr-toggle-region): Clarify the documentation
18913 slightly (bug#7493).
18914
18915 * time.el (display-time-update):
18916 Allow `display-time-mail-function' to return nil (bug#7158).
18917 Fix suggested by Detlev Zundel.
18918
18919 * vc/diff.el (diff): Clarify the order the file names are read
18920 (bug#7111).
18921
18922 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18923 the doc string (bug#7015).
18924
18925 * font-lock.el (font-lock-maximum-decoration): Mention what
18926 numeric levels mean (bug#6935).
18927
18928 * startup.el (initial-buffer-choice): Don't mention the `none'
18929 selection, which is against policy.
18930
18931 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18932
18933 * window.el (display-buffer-normalize-special):
18934 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18935
18936 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18937
18938 * subr.el (version<, version<=, version=): Mention "-CVS" and
18939 "-12345" alpha version numbers.
18940
18941 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18942
18943 * bindings.el: Add advertised binding for set-mark-command
18944 (Bug#5772).
18945
18946 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18947
18948 * bindings.el (mode-line-other-buffer):
18949 * bookmark.el (bookmark-bmenu-2-window):
18950 * bs.el (bs-cycle-next, bs-cycle-previous):
18951 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18952 switch-to-buffer.
18953
18954 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18955 Delete.
18956
18957 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18958
18959 * follow.el (follow-debug-message, follow-redisplay):
18960 * jka-cmpr-hook.el (with-auto-compression-mode):
18961 Fix typos in docstrings.
18962
18963 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18964
18965 * subr.el (with-silent-modifications): Clarify somewhat what the
18966 macro inhibits (bug#6525).
18967
18968 * simple.el (eval-expression): Note what it does if called
18969 interactively (bug#6495).
18970
18971 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18972
18973 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18974 Use pop-to-buffer buffer-or-name if it is nil.
18975
18976 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18977 Remove switch-to-buffer.
18978
18979 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18980
18981 * files.el (make-directory): Clarify that an error will be raised
18982 if there's an error (bug#6397).
18983
18984 * startup.el (initial-buffer-choice): Add `none' as a choice
18985 (bug#6234).
18986
18987 * subr.el (add-hook): Clarify section about buffer-local hooks
18988 (bug#6218).
18989
18990 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18991
18992 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18993
18994 * tabify.el (untabify): Preserve the current column so that point
18995 doesn't move (bug#6032).
18996
18997 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18998
18999 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19000 Rewrite to avoid awkward possessive "s" (bug#5986).
19001
19002 2011-07-13 Glenn Morris <rgm@gnu.org>
19003
19004 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19005 (dired-insert-directory): Give a message the first time
19006 if ls is found not to support --dired.
19007
19008 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19009
19010 * simple.el (toggle-truncate-lines): Clarify what is toggled
19011 (bug#5580). Text by Drew Adams.
19012
19013 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19014
19015 * simple.el (blink-matching-open): Make the error message from the
19016 last change less verbose.
19017
19018 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19019
19020 * font-lock.el (font-lock-comment-face): Use the high contrast
19021 "yellow" color for font-lock-comment-face on low color terminals
19022 using a dark background color (bug#4221).
19023
19024 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19025
19026 * dired.el (dired-insert-set-properties): Make the doc string
19027 reflect what it does now (bug#5325).
19028
19029 * simple.el (blink-matching-open): Say that we were unable to find
19030 the match within the limit, if we're limited (bug#5122).
19031
19032 * international/mule-cmds.el (prefer-coding-system): Add an
19033 example (bug#4869).
19034
19035 * progmodes/etags.el (tags-search): Document `file-list-form'
19036 (bug#4731).
19037
19038 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19039
19040 * net/browse-url.el (browse-url-default-browser)
19041 (browse-url-browser-function): Make the default browser choice a
19042 bit more logical (bug#4300). Also clean up the doc string.
19043
19044 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19045
19046 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19047 binary endings (bug#4440).
19048
19049 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19050
19051 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19052 which can be pretty annoying (bug#8971).
19053
19054 * jka-compr.el (jka-compr-verbose): New variable, and use
19055 throughout (bug#8971).
19056
19057 * info.el (Info-find-file): Fall back on the installation
19058 directory if we can't find the info node anywhere else.
19059
19060 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19061
19062 * vc/vc.el (vc-revert-file):
19063 Don't set file time-stamp in the past. (Bug#5181)
19064
19065 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19066
19067 * files.el (after-find-file): Give a better error message when
19068 trying to find a symlink that points to a file that doesn't exist
19069 (bug#4398).
19070
19071 * progmodes/cc-vars.el: Remove (probably) misleading comment
19072 (bug#4396).
19073
19074 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19075
19076 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19077
19078 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19079
19080 * mouse-sel.el: Hack restoring functionality, while keeping
19081 compatibility with 2010-07-03 changes to mouse selection.
19082 (mouse-sel-primary-overlay): New var.
19083 (mouse-sel-selection-alist): Use it.
19084 (mouse-sel-mode): Doc fix; remove points that are default features
19085 of mouse.el.
19086
19087 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19088
19089 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19090 Fix previous fix (bug#2490).
19091
19092 2011-07-12 Roland Winkler <winkler@gnu.org>
19093
19094 * textmodes/bibtex.el (bibtex-initialize):
19095 Use pop-to-buffer-same-window.
19096 (bibtex-search-entries): Fix interactive call.
19097
19098 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19099
19100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19101 Fontise bytecomp Error lines more correctly (bug#2490).
19102 Fix suggested by Johan Bockgård.
19103
19104 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19105
19106 * dired-x.el (dired-guess-default): Use `delete-dups'.
19107
19108 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19109
19110 * dired.el (dired-mark-prompt):
19111 * dired-aux.el (dired-read-shell-command): Doc fix.
19112
19113 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19114
19115 * mail/sendmail.el (sendmail-query-once):
19116 Use `customize-save-variable' unconditionally, now that it works under
19117 emacs -Q.
19118
19119 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19120
19121 * cus-edit.el (custom-file): Take an optional no-error variable.
19122 (customize-save-variable): Set the variable, and give a warning if
19123 running under "emacs -q".
19124
19125 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19126
19127 * loadhist.el (unload-feature-special-hooks):
19128 Add `auto-coding-functions', `fill-nobreak-predicate' and
19129 `find-directory-functions' (bug#5327).
19130
19131 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19132
19133 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19134
19135 * cus-edit.el (custom-guess-name-alist): -alist variables should
19136 use the `alist' type (bug#3120). Suggested by Drew Adams.
19137
19138 * printing.el: Add documentation to all the `pr-toggle-' commands.
19139
19140 2011-07-11 Leo Liu <sdl.web@gmail.com>
19141
19142 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19143 backends where it makes sense (bug#2623).
19144
19145 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19146
19147 * dired-x.el (dired-guess-default): Remove duplicate shell command
19148 entries (bug#2028).
19149 (dired-guess-default): Fix grammar in doc string (bug#2028).
19150 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19151
19152 * subr.el (remove-duplicates): New conveniency function.
19153
19154 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19155
19156 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19157 (bug#1526).
19158
19159 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19160
19161 * window.el (display-buffer-normalize-default): Don't invert
19162 meaning of even-window-heights. Reported by Eli Zaretskii
19163 <eliz@gnu.org>.
19164
19165 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19166
19167 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19168
19169 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19170
19171 * window.el (display-buffer): Fix arguments to
19172 display-buffer-reuse-window in last change.
19173
19174 * faces.el (link): Use a less saturated blue on light backgrounds.
19175
19176 * startup.el (fancy-startup-text, fancy-about-text)
19177 (fancy-startup-tail): Use font-lock faces, for background safety.
19178
19179 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19180
19181 * emulation/viper-cmd.el (viper-change-state-to-vi):
19182 Limit triggering of abbrev expansion (Bug#9038).
19183
19184 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19185
19186 * window.el (display-buffer-default-specifiers): Remove.
19187 (display-buffer-macro-specifiers): Remove default specifiers.
19188 (display-buffer-alist): Default to nil.
19189 (display-buffer-reuse-window): New optional argument other-window.
19190 (display-buffer-pop-up-window): Allow splitting internal
19191 windows. Check whether a live window was created.
19192 (display-buffer-other-window-means-other-frame)
19193 (display-buffer-normalize-arguments): Rename to
19194 display-buffer-normalize-argument and rewrite. Set the
19195 other-window specifier.
19196 (display-buffer-normalize-special): New function.
19197 (display-buffer-normalize-options): Rename to
19198 display-buffer-normalize-default and rewrite.
19199 (display-buffer-normalize-options-inhibit): Remove.
19200 (display-buffer-normalize-specifiers): Rewrite.
19201 (display-buffer): Process other-window specifier and call
19202 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19203 more faithfully.
19204 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19205 (display-buffer-alist-set): Don't handle 'unset default values.
19206 (display-buffer-in-window, display-buffer-alist-set):
19207 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19208 <tassilo@member.fsf.org>.
19209
19210 2011-07-09 Leo Liu <sdl.web@gmail.com>
19211
19212 * register.el (insert-register): Restore accidental change on
19213 2011-06-26. (Bug#9028)
19214
19215 2011-07-09 Glenn Morris <rgm@gnu.org>
19216
19217 * subr.el (remq): Handle the empty list. (Bug#9024)
19218
19219 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19220
19221 * mail/sendmail.el (send-mail-function): No longer delay custom
19222 initialization.
19223 * custom.el (custom-initialize-delay): Doc fix.
19224
19225 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19226
19227 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19228
19229 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19230
19231 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19232 human-friendly prompt.
19233
19234 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19235
19236 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19237 provided by a particular plugin.
19238
19239 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19240
19241 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19242 save customizations (with "emacs -Q"), just set the variable
19243 instead of erroring out.
19244
19245 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19246
19247 2011-07-08 Juri Linkov <juri@jurta.org>
19248
19249 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19250 (archive-zip-update-case): Use 7z if found by `executable-find'.
19251 The order of searching the available programs is the same as in
19252 `archive-zip-extract' (bug#8968).
19253
19254 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19255
19256 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19257 (menu-bar-options-menu): Tweak descriptions.
19258
19259 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19260
19261 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19262 menu items into verb phrases (bug#1421). Also refill to fit under
19263 80 columns.
19264
19265 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19266
19267 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19268 (Info-read-node-name): Doc fix (Bug#1084).
19269
19270 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19271 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19272 (end-of-sexp, beginning-of-sexp)
19273 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19274 (forward-symbol, forward-same-syntax, word-at-point)
19275 (sentence-at-point): Doc fix (Bug#1144).
19276
19277 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19278
19279 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19280 should cover it (bug#1281).
19281
19282 * cus-edit.el (custom-show): Mark as obsolete.
19283
19284 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19285 negotiation fails, then possibly try again with a non-encrypted
19286 connection (bug#9017).
19287
19288 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19289 be used.
19290
19291 2011-07-07 Richard Stallman <rms@gnu.org>
19292
19293 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19294 property, and handle its changed format.
19295 Look for the correct line number.
19296 Use file's line contents (but not past first =) to find
19297 correct line in message.
19298
19299 2011-07-07 Kenichi Handa <handa@m17n.org>
19300
19301 * international/characters.el (build-unicode-category-table):
19302 Delete it.
19303 (unicode-category-table): Set it by unicode-property-table-internal.
19304
19305 * international/mule-cmds.el (char-code-property-alist): Move to
19306 to src/chartab.c.
19307 (get-char-code-property): Call unicode-property-table-internal to
19308 load a file. Call get-unicode-property-internal where necessary.
19309 (put-char-code-property): Call unicode-property-table-internal to
19310 load a file. Call put-unicode-property-internal where necessary.
19311 put-unicode-property-internal where necessary.
19312 (char-code-property-description):
19313 Call unicode-property-table-internal to load a file.
19314
19315 * international/charprop.el:
19316 * international/uni-bidi.el:
19317 * international/uni-category.el:
19318 * international/uni-combining.el:
19319 * international/uni-comment.el:
19320 * international/uni-decimal.el:
19321 * international/uni-decomposition.el:
19322 * international/uni-digit.el:
19323 * international/uni-lowercase.el:
19324 * international/uni-mirrored.el:
19325 * international/uni-name.el:
19326 * international/uni-numeric.el:
19327 * international/uni-old-name.el:
19328 * international/uni-titlecase.el:
19329 * international/uni-uppercase.el: Regenerate.
19330
19331 * loadup.el: Load international/charprop.el before
19332 international/characters.
19333
19334 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19335
19336 * window.el (next-buffer, previous-buffer): Signal an error if
19337 called from a minibuffer window.
19338
19339 * bindings.el: Revert 2011-07-04 change.
19340
19341 2011-07-06 Richard Stallman <rms@gnu.org>
19342
19343 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19344 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19345 Treat markers like ints.
19346 (rmail-mime-entity): Doc fix.
19347
19348 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19349
19350 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19351 defcustom again for backwards compatibility.
19352
19353 * simple.el (shell-command-on-region): Fill.
19354
19355 * dired-aux.el (dired-kill-line): Add a doc string.
19356
19357 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19358 to "\\sw\\|\\s_" (bug#358).
19359
19360 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19361 (dired-unmark-backward): Ditto.
19362 (dired-flag-backup-files): Ditto.
19363
19364 * dired-x.el (dired-mark-sexp): Ditto.
19365
19366 2011-07-06 Richard Stallman <rms@gnu.org>
19367
19368 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19369 (rmail-mime-entity): New arg TRUNCATED.
19370 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19371 New functions.
19372 (rmail-mime-save): Warn if entity is truncated.
19373 (rmail-mime-toggle-hidden): Likewise, for showing.
19374 (rmail-mime-process-multipart): Record when an entity is truncated.
19375
19376 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19377 if ENTITY is a string.
19378
19379 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19380
19381 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19382 of faces when `M-C-x'-ing their definitions (bug#8378).
19383 Also clean up the code slightly.
19384
19385 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19386 because that makes the colors go away.
19387
19388 * mail/sendmail.el (send-mail-function): Change the default to
19389 `sendmail-query-once'.
19390 (sendmail-query-once): Add an autoload cookie.
19391
19392 * net/network-stream.el (network-stream-open-starttls): Try using
19393 a plain connection even if the server offered STARTTLS, and we
19394 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19395 capability. This should make smtpmail.el work in slightly more
19396 configurations.
19397
19398 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19399
19400 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19401 New defun.
19402 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19403
19404 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19405
19406 * progmodes/sql.el: Version 3.0
19407 (sql-product-alist): Add product :completion-object,
19408 :completion-column, and :statement attributes.
19409 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19410 (sql-mode-syntax-table): Mark all punctuation.
19411 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19412 ansi keywords.
19413 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19414 (sql-mode-oracle-font-lock-keywords): Improve.
19415 (sql-oracle-show-reserved-words): New function for development.
19416 (sql-product-font-lock): Simplify for source code buffers.
19417 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19418 New functions.
19419 (sql-highlight-product): Set product specific syntax table.
19420 (sql-mode-map): Add statement movement functions.
19421 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19422 New variable.
19423 (sql-statement-regexp, sql-beginning-of-statement)
19424 (sql-end-of-statement, sql-signum): New functions.
19425 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19426 (sql-show-sqli-buffer): Bug fix.
19427 (sql-interactive-mode): Store connection data as buffer local.
19428 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19429 with sql-interactive-mode.
19430 (sql-save-connection): Save buffer local settings.
19431 (sql-connection-menu-filter): Change menu entry name.
19432 (sql-product-interactive): Bug fix.
19433 (sql-preoutput-hold): New variable.
19434 (sql-interactive-remove-continuation-prompt): Bug fixes.
19435 (sql-debug-redirect): New variable.
19436 (sql-str-literal): New function.
19437 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19438 Redesign.
19439 (sql-oracle-save-settings, sql-oracle-restore-settings)
19440 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19441 (sql-completion-object, sql-completion-column)
19442 (sql-completion-sqlbuf): New variables.
19443 (sql-build-completions-1, sql-build-completions)
19444 (sql-try-completion): New functions.
19445 (sql-read-table-name): Use them.
19446 (sql-contains-names): New buffer local variable.
19447 (sql-list-all, sql-list-table): Use it.
19448 (sql-oracle-completion-types): New variable.
19449 (sql-oracle-completion-object, sql-sqlite-completion-object)
19450 (sql-postgres-completion-object): New functions.
19451
19452 2011-07-06 Glenn Morris <rgm@gnu.org>
19453
19454 * window.el (pop-to-buffer): Doc fix.
19455
19456 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19457
19458 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19459
19460 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19461
19462 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19463
19464 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19465
19466 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19467
19468 * button.el (button): Inherit from link face. Suggested by Dan
19469 Nicolaescu.
19470
19471 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19472
19473 * progmodes/gdb-mi.el: Fit in 80 columns.
19474 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19475 switch-to-buffer.
19476
19477 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19478 if imenu is simply not configured (bug#8941).
19479
19480 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19481
19482 * allout.el (allout-post-undo-hook): New allout outline-change
19483 event hook to signal undo activity.
19484 (allout-post-command-business): Run allout-post-undo-hook if an
19485 undo just occurred.
19486 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19487 * allout-widgets.el (allout-widgets-after-undo-function):
19488 Ensure the integrity of the current item's decoration after it has been
19489 in the vicinity of an undo.
19490 (allout-widgets-mode): Include allout-widgets-after-undo-function
19491 on the new allout-post-undo-hook.
19492
19493 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19494
19495 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19496 Let define-derived-mode define it.
19497 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19498 cycles of abbrev-table inheritance (bug#8998).
19499
19500 2011-07-05 Roland Winkler <winkler@gnu.org>
19501
19502 * textmodes/bibtex.el: Add support for biblatex.
19503 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19504 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19505 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19506 (bibtex-entry-alist, bibtex-field-alist): New variables.
19507 (bibtex-entry-field-alist): Obsolete alias for
19508 bibtex-BibTeX-entry-alist.
19509 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19510 (bibtex-set-dialect): New command.
19511 (bibtex-entry-type, bibtex-entry-head)
19512 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19513 Bind via bibtex-set-dialect.
19514 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19515 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19516 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19517 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19518 Define via bibtex-set-dialect.
19519 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19520 Obey bibtex-no-opt-remove-re.
19521 (bibtex-vec-push, bibtex-vec-incr): New functions.
19522 (bibtex-format-entry, bibtex-field-list)
19523 (bibtex-print-help-message, bibtex-validate)
19524 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19525
19526 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19527
19528 * progmodes/compile.el (compilation-goto-locus):
19529 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19530 * bs.el (bs-cycle-next, bs-cycle-previous):
19531 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19532 * bindings.el (mode-line-other-buffer):
19533 * autoinsert.el (auto-insert):
19534 * arc-mode.el (archive-extract):
19535 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19536
19537 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19538
19539 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19540 Fix check of `emacs-lock-unlockable-modes'.
19541 Coerce true values of `emacs-lock--try-unlocking' to t.
19542
19543 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19544
19545 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19546 * emacs-lock.el: New file.
19547
19548 2011-07-05 Julien Danjou <julien@danjou.info>
19549
19550 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19551 than `boundp' to check if face is set.
19552
19553 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19554
19555 * register.el (registerv-make):
19556 * window.el (window-min-height): Fix typos in docstrings.
19557
19558 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19559
19560 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19561 Update doc string.
19562
19563 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19564
19565 * server.el (server-execute): Catch quit and call
19566 `server-return-error' to pass the error back to emacsclient and
19567 close the connection (bug#8942).
19568
19569 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19570
19571 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19572 insecure exception for current topic. Also note that auto-saves
19573 are handled differently.
19574
19575 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19576 State variables for tracking auto-save inhibition situation.
19577
19578 (allout-write-contents-hook-handler): Rename from
19579 'allout-write-file-hook-handler', and describe how it depends on
19580 write-contents-functions sensitivity to non-nil value to prevent
19581 file write.
19582
19583 (allout-auto-save-hook-handler): Remove. auto-save does not check
19584 this in individual buffers, only in the starting buffer, so this
19585 is not the right way for us to inhibit auto-save in a buffer
19586 according to its condition.
19587
19588 (allout-mode): Use new allout-write-contents-hook-handler, and
19589 only with write-contents-functions. Remove auto-save provisions -
19590 they're implemented elsewhere.
19591
19592 (allout-before-change-handler): If undo is in progress, note that
19593 for attention of allout-post-command-business.
19594
19595 (allout-post-command-business): If the command we're following was
19596 an undo, check for change in the status of encrypted items and
19597 adjust auto-save inhibitions accordingly.
19598
19599 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19600 according to whether there are or aren't any plain-text topics
19601 pending encryption.
19602
19603 (allout-inhibit-auto-save-info-for-decryption):
19604 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19605 if there are plain-text topics pending encryption.
19606
19607 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19608 buffer-saved-size and some allout state to not inhibit auto-saves
19609 if there are no longer any plain-text topics pending encryption.
19610
19611 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19612 No longer provide for exemption of the current topic.
19613
19614 2011-07-04 Juri Linkov <juri@jurta.org>
19615
19616 Add 7z operations to delete and save changed members (bug#8968).
19617 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19618 New defcustoms.
19619 (archive-7z-write-file-member): New function.
19620 (archive-7z-summarize): Fix the number of dashes in the
19621 listing output.
19622
19623 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19624
19625 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19626 (bug#8958).
19627
19628 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19629
19630 * bindings.el: Ignore next-buffer and previous-buffer in
19631 minibuffer-local-map.
19632
19633 * font-lock.el (font-lock-builtin-face): Change light background
19634 color to dark slate blue (Bug#6693).
19635
19636 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19637
19638 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19639
19640 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19641
19642 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19643 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19644 Add switch-to-buffer.
19645
19646 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19647
19648 * isearch.el (isearch-search-fun-function): Clarify further the
19649 meaning of the function returned.
19650
19651 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19652
19653 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19654
19655 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19656 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19657 Use it.
19658 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19659 `tramp-default-remote-path' does not exist.
19660 (tramp-send-command-and-read): New optional argument NOERROR.
19661 (tramp-open-connection-setup-interactive-shell)
19662 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19663 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19664 (tramp-process-sentinel): Flush also process' connection property.
19665 (tramp-sh-handle-start-file-process): Do not set process
19666 sentinel. It is done now ...
19667 (tramp-maybe-open-connection): ... here. (Bug#8929)
19668
19669 2011-07-04 MON KEY <monkey@sandpframing.com>
19670
19671 * play/animate.el (animate-string): Doc fixes and allow changing
19672 the buffer name (bug#5417).
19673
19674 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19675
19676 * play/animate.el (animation-buffer-name): Rename from *animate*.
19677
19678 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19679
19680 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19681 This is simpler and helps future-proof the code.
19682 (timer-until): Use time-subtract and float-time.
19683 (timer--time-less-p): Use time-less-p.
19684
19685 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19686
19687 * type-break.el (timep): Use the value of `float-time' to avoid a
19688 byte-compiler warning.
19689
19690 * server.el (server-eval-and-print): Return any result, even nil.
19691
19692 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19693
19694 * type-break.el: Accept time formats that the builtins accept.
19695 (timep, type-break-time-difference): Accept any format that
19696 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19697 This is simpler and helps future-proof the code.
19698 (type-break-time-difference): Round rather than ignoring
19699 subseconds components.
19700
19701 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19702
19703 * info.el (Info-apropos-matches): Make non-interactive, since it
19704 doesn't seem to do anything useful as a command (bug#8829).
19705
19706 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19707
19708 * frame.el (frame-background-mode, frame-set-background-mode):
19709 Move from faces.el.
19710 (frame-default-terminal-background): New function.
19711
19712 * custom.el (custom-push-theme): Don't record faces in `changed'
19713 theme; this doesn't work correctly for per-frame face settings.
19714 (disable-theme): Use face-set-after-frame-default to reset faces.
19715 (custom--frame-color-default): New function.
19716
19717 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19718
19719 * dired.el (dired-flagging-regexp): Remove unused variable
19720 (bug#8769).
19721
19722 2011-03-29 Kevin Ryde <user42@zip.com.au>
19723
19724 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19725 `perl-Test2' extend to match possible "fail #N" rep count
19726 (bug#8377).
19727
19728 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19729
19730 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19731 `smtpmail-via-smtp' now returns the error instead of nil.
19732
19733 * isearch.el (isearch-search-fun-function): Clarify the doc string
19734 (bug#8101).
19735
19736 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19737
19738 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19739 unnecessary spaces (bug#8987).
19740
19741 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19742
19743 * net/network-stream.el (open-network-stream): Use the
19744 :end-of-capability command thoughout.
19745
19746 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19747
19748 * net/network-stream.el (open-network-stream): Add the
19749 :end-of-capability command parameter, used by pop3.el.
19750
19751 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19752
19753 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19754
19755 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19756 for list)" (bug#6475).
19757
19758 * files.el (file-expand-wildcards): Ignore non-readable
19759 sub-directories while trying to find matches instead of signaling
19760 an error (bug#6297).
19761
19762 * man.el (Man-reference-regexp): Allow matching possible
19763 word-wrapped references (bug#6289).
19764
19765 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19766 for consistency with the other vc buffers (bug#6197).
19767 (vc-checkin): Ditto.
19768
19769 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19770
19771 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19772
19773 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19774
19775 * custom.el (defcustom): Clarify that :set is only used in the
19776 Customize user interface (bug#6089).
19777
19778 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19779 associated with a file, refuse to run instead of erroring out
19780 (bug#6084).
19781
19782 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19783 the doc string, since it appears that using `fill-column' always
19784 controls the width (bug#7845).
19785
19786 * simple.el (shell-command-on-region): Say where the error output
19787 went if `shell-command-default-error-buffer' is set (bug#6857).
19788
19789 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19790
19791 * allout.el (allout-yank-processing): Adjust cursor position for
19792 backwards-deleted space.
19793
19794 (allout-rebullet-heading): Register changes with
19795 allout-exposure-changed-hook, so the modified topic is properly
19796 decorated.
19797
19798 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19799
19800 * minibuffer.el (completion-in-region): Document PREDICATE
19801 (bug#7136).
19802
19803 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19804 of keyword/argument pairs (bug#6904).
19805
19806 * replace.el (multi-occur):
19807 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19808
19809 2011-07-02 Drew Adams <drew.adams@oracle.com>
19810
19811 * dired.el (dired-mark-if): Make the message about whether it's
19812 marking or unmarking clearer (bug#8523).
19813
19814 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19815
19816 * disp-table.el (display-table-print-array): New function.
19817 (describe-display-table): Use it to print the vectors more pretty
19818 (Bug#8859).
19819
19820 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19821
19822 * window.el (window-state-get-1): Don't assign clone numbers.
19823 Add clone-of item to list of window parameters.
19824 (window-state-put-2): Don't process clone numbers.
19825 (display-buffer-alist): Fix doc-string.
19826
19827 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19828
19829 * subr.el (remq): Don't allocate if it's not needed.
19830 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19831 (keymap--merge-bindings): New functions.
19832 (keymap-canonicalize): Use them to refine the canonicalization.
19833 * minibuffer.el (minibuffer-local-completion-map)
19834 (minibuffer-local-must-match-map): Move initialization from C.
19835 (minibuffer-local-filename-completion-map): Move initialization from C;
19836 don't inherit from anything here.
19837 (minibuffer-local-filename-must-match-map): Make obsolete.
19838 (completing-read-default): Use make-composed-keymap to combine
19839 minibuffer-local-filename-completion-map with either
19840 minibuffer-local-must-match-map or
19841 minibuffer-local-filename-completion-map.
19842
19843 2011-07-01 Glenn Morris <rgm@gnu.org>
19844
19845 * type-break.el (type-break-time-sum): Use dolist.
19846
19847 * textmodes/flyspell.el (flyspell-word-search-backward):
19848 Replace CL function.
19849
19850 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19851
19852 * mouse.el (mouse--strip-first-event): New function.
19853 (function-key-map): Use it to map fringe clicks to normal clicks
19854 by default.
19855
19856 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19857 (vc-bzr-revision-completion-table): Add support for annotate and date.
19858
19859 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19860 inherit from parent.
19861
19862 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19863
19864 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19865 (dired-show-file-type): Doc fixup (bug#8818).
19866
19867 * dired.el (dired-mode): Fix up the doc string as suggested by
19868 Drew Adams (bug#8817).
19869
19870 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19871 cookie, since the manual says that it should be possible to add
19872 this function to `find-file-hook' (bug#8709).
19873
19874 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19875
19876 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19877 here. Noted Ted Zlatanov as the maintainer.
19878 (cfengine-common-settings, cfengine-common-syntax): New functions
19879 to set up common things between `cfengine-mode' and
19880 `cfengine3-mode'.
19881 (cfengine3-mode): New mode.
19882 (cfengine3-defuns cfengine3-defuns-regex
19883 (cfengine3-class-selector-regex cfengine3-category-regex)
19884 (cfengine3-vartypes cfengine3-font-lock-keywords)
19885 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19886 (cfengine3-indent-line): Add from cfengine3.el.
19887
19888 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19889
19890 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19891
19892 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19893
19894 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19895
19896 * window.el (same-window-buffer-names, same-window-regexps)
19897 (same-window-p, special-display-frame-alist)
19898 (special-display-popup-frame, special-display-function)
19899 (special-display-buffer-names, special-display-regexps)
19900 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19901 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19902 (split-window-preferred-function, split-height-threshold)
19903 (split-width-threshold, even-window-heights)
19904 (display-buffer-mark-dedicated, window-splittable-p)
19905 (split-window-sensibly, window-safely-shrinkable-p):
19906 Un-obsolete.
19907 (display-buffer): Don't spread args with function specifier
19908 because special-display-popup-frame won't like it.
19909
19910 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19911
19912 Time-stamp simplifications and fixes.
19913 These improve accuracy slightly, and future-proof the code
19914 against some potential changes to current-time format.
19915
19916 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19917 by using time-since and float-time.
19918
19919 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19920 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19921 + NNN microseconds".
19922
19923 * type-break.el (type-break-time-sum): Rewrite using time-add.
19924
19925 * play/hanoi.el (hanoi-current-time-float): Remove.
19926 All uses replaced by float-time.
19927
19928 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19929 This yields a more-accurate answer.
19930 (rng-time-to-float): Remove; no longer needed.
19931
19932 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19933
19934 * calendar/timeclock.el (timeclock-seconds-to-time):
19935 Defalias to seconds-to-time, since they're the same thing.
19936
19937 * emacs-lisp/elp.el (elp-elapsed-time):
19938 * emacs-lisp/benchmark.el (benchmark-elapse):
19939 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19940
19941 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19942
19943 * window.el (bury-buffer): Don't iconify the only frame.
19944 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19945 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19946
19947 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19948
19949 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19950 Add mouse-yank-primary.
19951
19952 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19953
19954 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19955
19956 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19957
19958 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19959 (find-library-name): Use it to find relative load names when provided
19960 absolute file name (bug#8803).
19961
19962 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19963
19964 * textmodes/flyspell.el (flyspell-word): Consider words that
19965 differ only in case as potential doublons (bug#5687).
19966
19967 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19968 Remove two rather uninteresting debugging-like messages to make
19969 debbugs.el more silent.
19970
19971 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19972 a password-like phrase.
19973
19974 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19975
19976 * progmodes/cc-guess.el: New file.
19977
19978 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19979
19980 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19981 derived from `c-basic-common-init'.
19982
19983 * progmodes/cc-mode.el (top-level): Require cc-guess.
19984 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19985
19986 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19987
19988 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19989
19990 2011-06-30 Alan Mackenzie <acm@muc.de>
19991
19992 * progmodes/cc-engine.el (c-guess-continued-construct):
19993 Correct the handling of template-args-cont, particularly for when font
19994 lock is disabled. Name this case as "CASE G".
19995
19996 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19997
19998 * allout.el (allout-yank-processing): Fix injection of extra space
19999 between bullet and non-whitespace character in first topic when
20000 pasting, ensuring that the actual spacing in the pasted topic
20001 following the bullet char is preserved. This extra space was
20002 causing pasted encrypted topics to get a decrypted status even
20003 when the content was actually still encrypted. Now the decryption
20004 status from before the paste is preserved.
20005
20006 (allout-flag-region): Set all allout overlays so they evaporate
20007 when reduced to zero length (evanescent), to prevent overlay
20008 leakage.
20009
20010 2011-06-30 Glenn Morris <rgm@gnu.org>
20011
20012 * w32-fns.el (w32-charset-info-alist): Declare.
20013
20014 * find-dired.el (find-grep-options): Simplify.
20015
20016 * term/ns-win.el (ns-set-resource): Declare.
20017
20018 * ses.el (row, col): Declare dynamic variables honestly.
20019
20020 * textmodes/reftex-parse.el (index-tags): Declare.
20021
20022 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20023
20024 * cus-edit.el (customize-push-and-save): New function.
20025
20026 * files.el (hack-local-variables-confirm): Use it.
20027
20028 * custom.el (load-theme): New arg NO-CONFIRM.
20029 Use customize-push-and-save (Bug#8720).
20030 (custom-enabled-themes): Doc fix.
20031
20032 * cus-theme.el (customize-create-theme)
20033 (custom-theme-merge-theme): Callers to load-theme changed.
20034
20035 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20036
20037 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20038 short URLs have at least one dot in them (bug #7614).
20039
20040 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20041 nil, because using a pty is apparently too slow (bug #895).
20042
20043 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20044
20045 * mail/sendmail.el (sendmail-query-once): New function.
20046 (sendmail-query-once-function): New variable.
20047
20048 2011-06-29 Glenn Morris <rgm@gnu.org>
20049
20050 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20051
20052 * ses.el (top-level): Require cl when compiling.
20053 (ses-set-localvars): Fix error statement.
20054 Call it at compile time to silence a storm of warnings.
20055
20056 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20057
20058 * window.el (normalize-live-buffer): Rename to
20059 window-normalize-buffer.
20060 (normalize-live-frame): Rename to window-normalize-frame.
20061 (normalize-any-window): Rename to window-normalize-any-window.
20062 (normalize-live-window): Rename to window-normalize-live-window.
20063 (make-window-atom): Rename to window-make-atom.
20064 (window-resize-reset): Rename to window--resize-reset.
20065 (window-resize-reset-1): Rename to window--resize-reset-1.
20066 (resize-mini-window): Rename to window--resize-mini-window.
20067 (resize-subwindows-skip-p): Rename to
20068 window--resize-subwindows-skip-p.
20069 (resize-subwindows-normal): Rename to
20070 window--resize-subwindows-normal.
20071 (resize-subwindows): Rename to window--resize-subwindows.
20072 (resize-other-windows): Rename to window--resize-siblings.
20073 (resize-this-window): Rename to window--resize-this-window.
20074 (resize-root-window): Rename to window--resize-root-window.
20075 (resize-root-window-vertically): Rename to
20076 window--resize-root-window-vertically.
20077 (normalize-buffer-to-display): Rename to
20078 window-normalize-buffer-to-display.
20079 (normalize-buffer-to-switch-to): Rename to
20080 window-normalize-buffer-to-switch-to.
20081 Correspondingly update all callers of the functions listed
20082 above.
20083 (display-buffer-alist, display-buffer-normalize-arguments)
20084 (display-buffer-normalize-options, display-buffer)
20085 (display-buffer-alist-set): Use "function" instead of
20086 "fun-with-args".
20087
20088 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20089
20090 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20091 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20092 debbugs.gnu.org. Mention acknowledgment email.
20093
20094 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20095
20096 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20097 buffer multibyteness, since it shouldn't matter.
20098
20099 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20100
20101 * window.el (display-buffer-in-side-window): Handle dedicated
20102 windows as in display-buffer-reuse-window.
20103 (display-buffer-normalize-alist): Use value of override
20104 specifier.
20105 (display-buffer-normalize-specifiers): Use value of
20106 other-window-means-other-frame specifier.
20107 (display-buffer-alist): Rewrite some texts in widgets.
20108 (display-buffer): Spread arguments when calling function
20109 specified by fun-with-args.
20110
20111 2011-06-28 Deniz Dogan <deniz@dogan.se>
20112
20113 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20114 Unnest `let'.
20115
20116 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20117 selectors (Bug#5732).
20118 (css-proprietary-nmstart-re): Use `regexp-opt'.
20119
20120 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20121
20122 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20123 (eshell-ls-date-format): New defcustom.
20124 (eshell-ls-file): Use it.
20125
20126 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20127
20128 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20129
20130 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20131
20132 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20133 (ange-ftp-make-tmp-name): New arg.
20134 (ange-ftp-file-local-copy): Use it.
20135
20136 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20137
20138 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20139 no-conversion (Bug#8870).
20140
20141 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20142
20143 * window.el (window-right, window-left, window-child)
20144 (window-child-count, window-last-child)
20145 (window-iso-combination-p, walk-window-tree-1)
20146 (window-atom-check-1, window-tree-1, delete-window)
20147 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20148 new naming conventions - window-vchild, window-hchild,
20149 window-next and window-prev are now called window-top-child,
20150 window-left-child, window-next-sibling and window-prev-sibling
20151 respectively.
20152 (resize-window-reset): Rename to window-resize-reset.
20153 (resize-window-reset-1): Rename to window-resize-reset-1.
20154 (resize-window): Rename to window-resize.
20155 (window-min-height, window-min-width)
20156 (resize-mini-window, resize-this-window, resize-root-window)
20157 (resize-root-window-vertically, adjust-window-trailing-edge)
20158 (enlarge-window, shrink-window, maximize-window)
20159 (minimize-window, delete-window, quit-restore-window)
20160 (split-window, balance-windows, balance-windows-area-adjust)
20161 (balance-windows-area, window-state-put-2)
20162 (display-buffer-even-window-sizes, display-buffer-set-height)
20163 (display-buffer-set-width, set-window-text-height)
20164 (fit-window-to-buffer): Rename all "resize-window" prefixed
20165 calls to use the "window-resize" prefix convention.
20166 (display-buffer-alist): Fix symbol for label specifier.
20167 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20168 corresponding specifier.
20169 Reported by Juanma Barranquero <lekktu@gmail.com>.
20170
20171 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20172
20173 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20174 convention.
20175 (ses-call-printer): Does not pass an empty string to formatter when the
20176 cell is empty to keep from barking printer Calc math-format-value.
20177
20178 2011-06-27 Richard Stallman <rms@gnu.org>
20179
20180 * battery.el (battery-mode-line-limit): New variable.
20181 (battery-update): Handle it.
20182
20183 * mail/rmailmm.el (rmail-mime-process-multipart):
20184 Handle truncated messages.
20185
20186 2011-06-27 Glenn Morris <rgm@gnu.org>
20187
20188 * progmodes/flymake.el (flymake-err-line-patterns):
20189 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20190
20191 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20192
20193 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20194 (ses--clean-!, ses--clean-_): New functions.
20195 (ses-range): Add configurability of readout order, and conversion
20196 to Calc vector.
20197
20198 * ses.el (ses-repair-cell-reference-all): New function.
20199 (ses-cell-symbol): Set macro as safe, so that it can be used in
20200 formulas.
20201
20202 * ses.el: Update cycle detection algorithm.
20203 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20204 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20205 (ses-set-localvars): New function.
20206 (ses-make-cell): Add property-list as a cell element.
20207 (ses-cell-property-get-fun, ses-cell-property-get)
20208 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20209 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20210 New functions.
20211 (ses-cell-property-set, ses-cell-property-pop)
20212 (ses-cell-property-get-handle): New macro.
20213 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20214 New aliases, used for code readability.
20215 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20216 cycle detection.
20217 (ses-self-reference-early-detection): New defcustom.
20218 (ses-formula-references): Robustify against self-referring cells.
20219 (ses-mode): Use ses-set-localvars.
20220 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20221 before lauching the update processing.
20222 (ses-initialize-Dijkstra-attempt): New function.
20223 (ses-recalculate-cell): Update for cycle detection based on
20224 Dijkstra algorithm.
20225
20226 * ses.el: Fix commenting and indenting convention.
20227
20228 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20229
20230 * bs.el (bs-cycle-next): Complete last change.
20231
20232 2011-06-27 Drew Adams <drew.adams@oracle.com>
20233
20234 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20235
20236 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20237
20238 * net/network-stream.el (network-stream-open-starttls):
20239 Don't re-get capabilities unless we've reestablished connection.
20240 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20241
20242 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20243 to binary to possibly avoid line encoding issues on Windows (among
20244 other things).
20245
20246 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20247
20248 * net/network-stream.el (open-network-stream): Return an :error
20249 saying what the problem was, if possible.
20250
20251 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20252 server.
20253
20254 * net/network-stream.el (network-stream-open-starttls): If we
20255 wanted to use STARTTLS, and the server offered it, but we weren't
20256 able to because we had no STARTTLS support, then close the connection.
20257 (open-network-stream): Return an :error element, if present.
20258
20259 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20260
20261 * hl-line.el (hl-line-sticky-flag): Doc fix.
20262 (global-hl-line-sticky-flag): New option (Bug#8323).
20263 (global-hl-line-highlight): Obey it.
20264
20265 * vc/vc.el (vc-revert-show-diff): Default to t.
20266
20267 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20268
20269 * allout-widgets.el (allout-widgets-post-command-business):
20270 Stop decorating intermediate isearch matches. They're not being
20271 undecorated when an isearch is continued past, and isearch
20272 automatically collapses them. This leads to "widget leaks", where
20273 decorated items accumulate in collapsed areas. Lines with lots of
20274 hidden widgets can slow down cursor travel, substantially.
20275 Too much complicated machinery would be needed to ensure undecoration,
20276 so we're doing without this nicety.
20277
20278 (allout-widgets-tally-string): Don't try to do a hash-table-count
20279 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20280 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20281 *Messages* when allout-widgets-maintain-tally is t.
20282
20283 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20284
20285 * window.el (display-buffer-normalize-argument): Rename to
20286 display-buffer-normalize-arguments. Handle special meaning of
20287 LABEL argument. Respect special-display-function when popping up
20288 a new frame. Fix code searching for a window showing the buffer
20289 on another frame.
20290 (display-buffer-normalize-specifiers):
20291 Call display-buffer-normalize-arguments.
20292 (display-buffer-in-window): Don't undedicate the window if its
20293 buffer remains the same.
20294 Reported by Drew Adams <drew.adams@oracle.com>.
20295 (display-buffer-alist): Add choice for same-window macro
20296 specfier.
20297 (display-buffer): Mention special meaning of LABEL argument in
20298 doc-string. Fix quoting. Don't pop up a new frame even as
20299 fallback.
20300
20301 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20302
20303 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20304 avoid deleting the current window in some cases (bug#8911).
20305
20306 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20307
20308 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20309 (Bug#8934)
20310
20311 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20312
20313 * net/network-stream.el (network-stream-open-starttls):
20314 Use built-in TLS support if `gnutls-available-p' is true.
20315 (network-stream-open-tls): Ditto.
20316
20317 2011-06-26 Leo Liu <sdl.web@gmail.com>
20318
20319 * register.el (registerv): New struct.
20320 (registerv-make): New function.
20321 (jump-to-register, describe-register-1, insert-register):
20322 Support the jump-func, print-func and insert-func slot of a registerv
20323 struct. (Bug#8415)
20324
20325 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20326
20327 * vc/vc.el (vc-revert-show-diff): New defcustom.
20328 (vc-diff-internal): New arg specifying diff buffer.
20329 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20330 reuse an existing *vc-diff* buffer (Bug#8927).
20331
20332 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20333
20334 2011-06-26 Glenn Morris <rgm@gnu.org>
20335
20336 * progmodes/f90.el (f90-critical-indent): New option.
20337 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20338 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20339 (f90-mode): Doc fix.
20340 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20341 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20342 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20343 (f90-match-end): Handle block, critical.
20344
20345 2011-06-25 Glenn Morris <rgm@gnu.org>
20346
20347 * calendar/diary-lib.el (diary-included-files): Doc fix.
20348 (diary-include-files): New function, extracted from
20349 diary-include-other-diary-files and diary-mark-included-diary-files.
20350 (diary-include-other-diary-files, diary-mark-included-diary-files):
20351 Just call diary-include-files.
20352 (diary-mark-entries): Reset diary-included-files on first call.
20353
20354 * calendar/diary-lib.el (diary-mark-entries)
20355 (diary-mark-included-diary-files):
20356 Visit included diary-files in temp buffers.
20357
20358 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20359 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20360 (f90-start-block-re, f90-imenu-generic-expression)
20361 (f90-looking-at-program-block-start, f90-no-block-limit):
20362 Add support for submodules.
20363
20364 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20365 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20366
20367 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20368
20369 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20370 buffer-file-type before setting its value, to avoid disastrous
20371 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20372
20373 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20374
20375 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20376
20377 * ses.el (ses-unload-function):
20378 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20379
20380 * proced.el (proced-unload-function):
20381 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20382
20383 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20384
20385 * server.el (server-create-window-system-frame): Add parameters arg.
20386 (server-process-filter): Doc fix. Handle frame-parameters.
20387
20388 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20389
20390 Fix bug#8730, bug#8781.
20391
20392 * loadhist.el (unload--set-major-mode): New function.
20393 (unload-feature): Use it.
20394
20395 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20396 (python-unload-function): New function.
20397
20398 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20401
20402 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20403
20404 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20405 the candidates list.
20406
20407 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20408
20409 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20410
20411 2011-06-23 Richard Stallman <rms@gnu.org>
20412
20413 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20414 (rmail-variables): Set next-error-move-function.
20415 (rmail-what-message): Take argument POS.
20416 (rmail-next-error-move): New function.
20417
20418 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20419
20420 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20421 messages for adjacent non-terminals.
20422
20423 2011-06-23 Richard Stallman <rms@gnu.org>
20424
20425 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20426 (rmail-show-message-1): Preserve buffer modified flag.
20427 (rmail-start-mail): Don't specify use of rmail-mail-return;
20428 that's done by mail-bury now.
20429 (rmail-mail-return): Handle arg NEWBUF.
20430
20431 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20432
20433 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20434 SIZE is a number.
20435
20436 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20437
20438 * window.el (get-lru-window, get-mru-window)
20439 (get-largest-window): Never return a minibuffer window.
20440 (display-buffer-pop-up-window): Fix a bug that could lead to
20441 reusing the minibuffer window.
20442 (display-buffer): Pass original specifier argument to
20443 display-buffer-function instead of the normalized one.
20444 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20445
20446 2011-06-22 Leo Liu <sdl.web@gmail.com>
20447
20448 * minibuffer.el (completing-read-function)
20449 (completing-read-default): Move from minibuf.c.
20450
20451 2011-06-22 Richard Stallman <rms@gnu.org>
20452
20453 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20454 to Rmail even if not started by a special Rmail command.
20455
20456 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20457 Copy the buffer currently showing just one message.
20458
20459 2011-06-22 Roland Winkler <winkler@gnu.org>
20460
20461 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20462 (bibtex-clean-entry): First delete the old key so that a
20463 customized algorithm for generating the new key does not get
20464 confused by the old key.
20465 (bibtex-url): Obey regexp of first step.
20466 (bibtex-search-entries): Do not use add-to-list with local
20467 list-var.
20468
20469 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20470
20471 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20472 stored a user name, then query for the password first, instead of
20473 waiting for SMTP to give an error message and the trying again.
20474
20475 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20476
20477 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20478 BUFFER in call-process.
20479
20480 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20481
20482 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20483 QUIT twice.
20484 (smtpmail-try-auth-methods): Require user name and password from
20485 auth-source.
20486
20487 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20488
20489 * window.el (display-buffer-default-specifiers)
20490 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20491 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20492 (split-window): Normalize SIDE argument (Bug#8916).
20493
20494 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20495 (special-display-frame-alist, special-display-popup-frame):
20496 Remove duplicate declarations. These are now in window.el.
20497
20498 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20499
20500 * mail/smtpmail.el (smtpmail-via-smtp):
20501 Set :use-starttls-if-possible so that we always use STARTTLS if the
20502 server supports it. SMTP servers that support STARTTLS commonly
20503 require it.
20504
20505 * net/network-stream.el (network-stream-open-starttls): Support
20506 upgrading to STARTTLS always, even if we don't have built-in support.
20507 (open-network-stream): Add the :always-query-capabilities keyword.
20508
20509 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20510 upgrades with `open-network-stream', and rely solely on
20511 auth-source for all credentials. Big changes throughout the file,
20512 but in particular:
20513 (smtpmail-auth-credentials): Remove.
20514 (smtpmail-starttls-credentials): Remove.
20515 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20516 MAIL FROM, too.
20517
20518 * net/network-stream.el (network-stream-open-starttls):
20519 Provide support for client certificates both for external and built-in
20520 STARTTLS.
20521 (auth-source): Require.
20522 (open-network-stream): Document the :client-certificate keyword.
20523 (network-stream-certificate): Change cert-cert to cert and
20524 cert-key to key.
20525
20526 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20527
20528 * net/tramp-cache.el (top): Don't load the persistency file when
20529 "emacs -Q" has been called.
20530
20531 2011-06-21 Tim Harper <timcharper@gmail.com>
20532
20533 * term/ns-win.el (ns-initialize-window-system):
20534 Set application-specific `ApplePressAndHoldEnabled' system
20535 resource to NO as it is not yet supported by the NS port.
20536
20537 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20538
20539 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20540 (list-dynamic-libraries): ...not here.
20541
20542 2011-06-21 Leo Liu <sdl.web@gmail.com>
20543
20544 * subr.el (sha1): Implement sha1 using secure-hash.
20545
20546 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20547
20548 * window.el (display-buffer-alist): In default value do not
20549 enforce searching a window on any but the selected frame.
20550 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20551 (display-buffer-select-window): Remove function.
20552 (display-buffer-in-window): When a window on another frame gets
20553 reused, do not select it any more but just raise its frame if
20554 necessary (Bug#8851) and (Bug#8856).
20555 (display-buffer-normalize-options): Handle pop-up-frames related
20556 options more faithfully.
20557 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20558 window if it is on another frame.
20559 (display-buffer-alist, display-buffer-default-specifiers):
20560 Don't make new frame unsplittable by default.
20561 (display-buffer-normalize-argument): Fix doc-string typo and use
20562 'same-frame-other-window instead of 'other-window when associating
20563 with display-buffer-macro-specifiers.
20564
20565 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20566
20567 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20568 New functions.
20569 (5x5-mode-map, 5x5-mode-menu): Bind them.
20570 (5x5-draw-grid): Tweak the solver's rendering.
20571
20572 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20573
20574 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20575 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20576
20577 2011-06-21 Drew Adams <drew.adams@oracle.com>
20578
20579 * menu-bar.el: Use function variable instead of switch-to-buffer.
20580 (menu-bar-select-buffer-function): New variable.
20581 (menu-bar-update-buffers): Use it (bug#8876).
20582
20583 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20584
20585 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20586 variable's status.
20587
20588 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20589
20590 * x-dnd.el (x-dnd-version-from-flags)
20591 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20592 and long as number (Bug#8899).
20593 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20594
20595 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20596
20597 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20598 (completion-try-completion, completion-all-completions): Compute the
20599 metadata argument if it's missing; make it optional (bug#8795).
20600
20601 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20602 (widget-complete): Use new :completion-function property.
20603 (widget-completions-at-point): New function.
20604 (default): Use :completion-function instead of :complete.
20605 (widget-default-completions): Rename from widget-default-complete;
20606 Rewrite.
20607 (widget-string-complete, widget-file-complete, widget-color-complete):
20608 Remove functions.
20609 (file, symbol, function, variable, coding-system, color):
20610 * international/mule-cmds.el (default-input-method, charset)
20611 (language-info-custom-alist):
20612 * cus-edit.el (face): Use new property :completions.
20613
20614 * progmodes/pascal.el (pascal-completions-at-point): New function.
20615 (pascal-mode): Use it.
20616 (pascal-mode-map): Use completion-at-point.
20617 (pascal-toggle-completions): Make obsolete.
20618 (pascal-complete-word, pascal-show-completions):
20619 * progmodes/octave-mod.el (octave-complete-symbol):
20620 Redefine as obsolete alias.
20621 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20622 Signal absence of completion info for old Octave,
20623 (inferior-octave-complete): Redefine as obsolete alias.
20624 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20625 (meta-completions-at-point): Rename from meta-complete-symbol and
20626 adapt it for use on completion-at-point-functions.
20627 (meta-common-mode): Use it.
20628 (meta-looking-at-backward, meta-match-buffer): Remove.
20629 (meta-complete-symbol): Redefine as obsolete alias.
20630 (meta-common-mode-map): Use completion-at-point.
20631 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20632 (makefile-mode-map): Use completion-at-point.
20633 (makefile-completions-at-point): Rename from makefile-complete and
20634 adapt it for use on completion-at-point-functions.
20635 (makefile-mode): Use it.
20636 (makefile-complete): Redefine as obsolete alias.
20637
20638 2011-06-20 Deniz Dogan <deniz@dogan.se>
20639
20640 * net/rcirc.el: Delete trailing whitespaces once and for all.
20641
20642 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20643
20644 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20645
20646 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20647
20648 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20649
20650 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20651
20652 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20653
20654 * window.el (display-buffer-other-window-means-other-frame):
20655 Call display-buffer-normalize-alist.
20656 (display-buffer-normalize-specifiers-1): Rename to
20657 display-buffer-normalize-argument. New argument other-frame.
20658 Rewrite.
20659 (display-buffer-normalize-specifiers-2): Rename to
20660 display-buffer-normalize-options.
20661 (display-buffer-normalize-alist-1): New function.
20662 (display-buffer-normalize-specifiers-3): Rename to
20663 display-buffer-normalize-alist.
20664 Call display-buffer-normalize-alist-1.
20665 (display-buffer-normalize-options-inhibit): New variable.
20666 (display-buffer-normalize-specifiers): Rewrite calling
20667 display-buffer-normalize-alist,
20668 display-buffer-normalize-argument, and
20669 display-buffer-normalize-options. Don't call the latter if
20670 display-buffer-normalize-options-inhibit is non-nil.
20671 (frame-auto-delete): New option.
20672 (window-deletable-p): Use frame-auto-delete.
20673 (window-list-no-nils, window-state-ignored-parameters)
20674 (window-state-get-1, window-state-get, window-state-put-list)
20675 (window-state-put-1, window-state-put-2, window-state-put):
20676 New functions.
20677 (display-buffer-normalize-options): Move special-display-p group
20678 after pop-up-frame group (Bug#8851) and (Bug#8856).
20679
20680 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20681
20682 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20683 groups (Bug#8776).
20684 (rx-submatch-n): New function.
20685 (rx): Document it.
20686
20687 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20688 (Bug#8768).
20689
20690 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20691
20692 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20693
20694 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20695 anytime existing face settings are present (Bug#8889).
20696
20697 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20698 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20699 Remove unused argument.
20700
20701 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20702
20703 * window.el (display-buffer-default-specifiers):
20704 Remove pop-up-frame. Add pop-up-window-min-height,
20705 pop-up-window-min-width, and another reuse-window specifier
20706 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20707 (display-buffer-normalize-specifiers-2):
20708 Handle split-height-threshold and split-width-threshold also when
20709 pop-up-windows is unset. Add a reuse-window specifier for the
20710 case popping up a new window fails.
20711 (special-display-popup-frame): Remove double quoting.
20712 (display-buffer-normalize-specifiers-1): Fix thinko.
20713
20714 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20715
20716 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20717 according to comint-completion-addsuffix.
20718
20719 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20720 (pcomplete-suffix-list): Mark as obsolete.
20721 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20722 pcomplete-seen in the closure.
20723 (pcomplete-comint-setup): Setup completion-at-point as well.
20724 (pcomplete--entries): New function.
20725 (pcomplete--env-regexp): New var.
20726 (pcomplete-entries): Rewrite to work with partial-completion and
20727 without relying on pcomplete-suffix-list.
20728 (pcomplete-pare-list): Remove, unused.
20729
20730 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20731
20732 * window.el (display-buffer-alist): Set pop-up-window-min-height
20733 and pop-up-window-min-width in default value. Reported by
20734 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20735 other-window-means-other-frame.
20736 (display-buffer-macro-specifiers): Comment out entry for
20737 other-window specifier.
20738 (display-buffer-other-window-means-other-frame): New function.
20739 (display-buffer-normalize-specifiers-1): New arguments
20740 buffer-name and label. Treat other-window case specially.
20741 (display-buffer-normalize-specifiers-2): Treat other-window case
20742 specially.
20743 (display-buffer-normalize-specifiers-3): New function.
20744 (display-buffer-normalize-specifiers):
20745 Call display-buffer-normalize-specifiers-3.
20746
20747 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20748
20749 * window.el (same-window-p): Fix two typos introduced when
20750 adding with-no-warnings.
20751 (display-buffer-normalize-specifiers-1): Don't check
20752 pop-up-frames for 'unset initialization.
20753 (display-buffer-normalize-specifiers-2): Major rewrite using
20754 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20755 (pop-up-frames, display-buffer-reuse-frames)
20756 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20757 Suggested by David Engster <deng@randomsample.de>.
20758 (even-window-heights): Initialize to 'unset.
20759 (display-buffer-alist-set): Handle new 'unset initializations.
20760 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20761 other window case.
20762
20763 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20764
20765 * window.el (display-buffer-normalize-specifiers-1):
20766 Respect current value of pop-up-frames for most reasonable values of
20767 second argument of display-buffer (Bug#8865).
20768 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20769 (switch-to-buffer-other-window-same-frame)
20770 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20771 Adams (Bug#8875).
20772 (display-buffer): Don't check noninteractive when calling
20773 display-buffer-pop-up-frame.
20774 (display-buffer-pop-up-frame): Never pop up a frame in
20775 noninteractive mode (Bug#8857).
20776 (enlarge-window, shrink-window): Don't report an error when the
20777 window can't be resized as requested (Bug#8862).
20778
20779 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20780
20781 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20782
20783 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20784
20785 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20786
20787 2011-06-15 Alan Mackenzie <acm@muc.de>
20788
20789 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20790 for declarators, disable knr checking to speed up for normal files.
20791 2: Refactor, replacing a sequence of nested if forms by a cond form.
20792
20793 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20794
20795 * net/network-stream.el (open-network-stream): Add the keyword
20796 :always-query-capabilities for the case where you want to force a
20797 `plain' network connection, but the protocol still requires the
20798 capabilitiy command (i.e., SMTP and EHLO).
20799
20800 * subr.el (process-live-p): Rename from `process-alive-p' for
20801 consistency with other `-live-p' functions.
20802
20803 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20804
20805 * window.el (same-window-buffer-names, same-window-regexps)
20806 (special-display-frame-alist, special-display-popup-frame)
20807 (special-display-function, special-display-buffer-names)
20808 (special-display-regexps, pop-up-frame-alist)
20809 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20810 (pop-up-windows, split-window-preferred-function)
20811 (split-height-threshold, split-width-threshold, even-window-heights)
20812 (display-buffer-mark-dedicated): Don't encourage the use of
20813 display-buffer-alist from Elisp code.
20814
20815 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20816
20817 * progmodes/python.el (python-mode): Derive from prog-mode.
20818 * progmodes/ps-mode.el (ps-mode):
20819 * progmodes/mixal-mode.el (mixal-mode):
20820 * progmodes/cfengine.el (cfengine-mode):
20821 * progmodes/ld-script.el (ld-script-mode): Likewise.
20822
20823 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20824
20825 * window.el (display-buffer-alist): Trim default value to avoid
20826 popping up a new frame (Bug#8857) or reusing an arbitrary window
20827 on another frame.
20828 (display-buffer): Do not fall back on popping up a new frame in
20829 batch mode (Bug#8857).
20830
20831 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20832
20833 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20834 (custom-theme-summary): New function.
20835 (customize-themes): Use it.
20836
20837 2011-06-13 Glenn Morris <rgm@gnu.org>
20838
20839 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20840
20841 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20842
20843 * help.el (help-window): Remove variable.
20844 (help-window-point-marker, temp-buffer-max-height)
20845 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20846 (help-print-return-message): Don't set help-window.
20847 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20848 (help-window-setup-finish): Remove.
20849 (help-window-display-message, help-window-setup)
20850 (with-help-window): Major rewrite based on new
20851 display-buffer-window variable.
20852
20853 * help-mode.el (help-mode-finish): Remove help-window related
20854 code.
20855
20856 * view.el (view-exits-all-viewing-windows): Remove reference to
20857 view-return-to-alist in doc-string.
20858 (view-return-to-alist): Make obsolete.
20859 (view-buffer): Call pop-to-buffer-same-window and remove
20860 undo-window code.
20861 (view-buffer-other-window): Call pop-to-buffer-other-window and
20862 simplify code. Ignore second argument.
20863 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20864 simplify code. Ignore second argument.
20865 (view-return-to-alist-update): Make obsolete.
20866 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20867 Rewrite using quit-restore window parameters.
20868 (view-mode-exit): Rename second argument to EXIT-ONLY.
20869 Rewrite using quit-restore-window.
20870 (View-exit, View-exit-and-edit, View-leave, View-quit)
20871 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20872 appropriate arguments.
20873 (view-end-message): Use quit-restore window parameter.
20874
20875 * window.el (display-buffer-function): Rewrite doc-string.
20876 (display-buffer-window, display-buffer-alist): New variables.
20877 (display-buffer-split-specifiers)
20878 (display-buffer-side-specifiers)
20879 (display-buffer-macro-specifiers): New constants.
20880 (display-buffer-even-window-sizes, display-buffer-set-height)
20881 (display-buffer-set-width, display-buffer-select-window)
20882 (display-buffer-in-window, display-buffer-reuse-window)
20883 (display-buffer-split-window-1, display-buffer-split-window)
20884 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20885 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20886 (display-buffer-in-side-window, normalize-buffer-to-display)
20887 (display-buffer-normalize-specifiers-1)
20888 (display-buffer-normalize-specifiers-2)
20889 (display-buffer-normalize-specifiers, display-buffer-frame):
20890 New functions.
20891 (display-buffer): Major rewrite.
20892 (display-buffer-other-window, display-buffer-other-frame)
20893 (pop-to-buffer, switch-to-buffer-other-window)
20894 (switch-to-buffer-other-frame): Rewrite.
20895 (display-buffer-same-window, display-buffer-same-frame)
20896 (display-buffer-same-frame-other-window)
20897 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20898 (pop-to-buffer-other-window)
20899 (pop-to-buffer-same-frame-other-window)
20900 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20901 (switch-to-buffer-other-window-same-frame): New functions.
20902 (same-window-p, special-display-p): Rewrite disabling warnings.
20903 Make obsolete.
20904 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20905 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20906 Make obsolete
20907 (same-window-buffer-names, same-window-regexps)
20908 (special-display-frame-alist, special-display-popup-frame)
20909 (special-display-function, special-display-buffer-names)
20910 (special-display-regexps, pop-up-frame-alist)
20911 (pop-up-frame-function, split-window-preferred-function)
20912 (split-height-threshold, split-width-threshold)
20913 (even-window-heights): Make obsolete.
20914
20915 2011-06-12 Glenn Morris <rgm@gnu.org>
20916
20917 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20918 Misc simplifications.
20919
20920 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20921
20922 * window.el (window-safely-shrinkable-p): Restore function which
20923 was inadvertently removed in change from 2011-06-11. Declare as
20924 obsolete.
20925
20926 * calendar/calendar.el (calendar-generate-window):
20927 Use window-iso-combined-p instead of combination of one-window-p and
20928 window-safely-shrinkable-p.
20929
20930 2011-06-12 Glenn Morris <rgm@gnu.org>
20931
20932 * progmodes/fortran.el (fortran-mode-syntax-table):
20933 * progmodes/f90.el (f90-mode-syntax-table):
20934 Set % to punctuation. (Bug#8820)
20935 (f90-find-tag-default): Remove, no longer needed.
20936
20937 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20938
20939 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20940
20941 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20942
20943 * image.el (image-animated-p): Return animation delay in seconds.
20944 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20945 (image-animate-timeout): Remove DELAY argument. Don't assume
20946 every subimage has the same delay; get it from image-animated-p.
20947 (image-animate): Caller changed.
20948
20949 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20950
20951 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20952 to ignored backtrace functions.
20953
20954 2011-06-11 Glenn Morris <rgm@gnu.org>
20955
20956 * calendar/appt.el (appt-disp-window-function): Doc fix.
20957 (appt-check): Handle overlapping appointments. (Bug#8337)
20958
20959 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20960
20961 * window.el (window-tree-1, window-tree): New functions, moving
20962 the latter to window.el.
20963 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20964 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20965 (bw-refresh-edges): Remove.
20966 (balance-windows-1, balance-windows-2): New functions.
20967 (balance-windows): Rewrite in terms of window tree functions,
20968 balance-windows-1 and balance-windows-2.
20969 (bw-adjust-window): Remove.
20970 (balance-windows-area-adjust): New function with functionality of
20971 bw-adjust-window but using resize-window.
20972 (set-window-text-height): Rewrite doc-string.
20973 Use normalize-live-window and resize-window.
20974 (enlarge-window-horizontally, shrink-window-horizontally):
20975 Rename argument to DELTA.
20976 (window-buffer-height): New function.
20977 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20978 Rewrite using new window resize routines.
20979 (kill-buffer-and-window, mouse-autoselect-window-select):
20980 Use ignore-errors instead of condition-case.
20981 (quit-window): Call delete-frame instead of delete-windows-on
20982 for the only buffer on frame.
20983
20984 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20985
20986 * loadup.el (top-level): Load window before files for the sake
20987 of replace-buffer-in-windows.
20988
20989 * files.el (read-buffer-to-switch)
20990 (switch-to-buffer-other-window)
20991 (switch-to-buffer-other-frame, display-buffer-other-frame):
20992 Move to window.el.
20993
20994 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20995 (previous-buffer): Move to window.el.
20996
20997 * bindings.el (unbury-buffer): Move to window.el.
20998
20999 * window.el (delete-other-windows-vertically): Move after
21000 definition of delete-other-windows.
21001 (other-window, delete-windows-on, replace-buffer-in-windows):
21002 Move here from window.c.
21003 (record-window-buffer, unrecord-window-buffer)
21004 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21005 (switch-to-next-buffer): New functions.
21006 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21007 from simple.el. Call switch-to-next-buffer.
21008 (previous-buffer): Move here from simple.el.
21009 Call switch-to-prev-buffer.
21010 (bury-buffer): Move here from buffer.c. Switch to previous
21011 buffer when window cannot be deleted.
21012 (unbury-buffer): Move here from bindings.el.
21013 (ctl-x-map): Move binding for other-window from window.c to
21014 here.
21015 (read-buffer-to-switch, switch-to-buffer-other-window)
21016 (switch-to-buffer-other-frame): Move here from files.el.
21017 (normalize-buffer-to-switch-to): New functions.
21018 (switch-to-buffer): Move here from buffer.c.
21019 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21020
21021 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21022
21023 * window.el (window-min-height, window-min-width): Move here
21024 from window.c. Add defcustoms and rewrite doc-strings.
21025 (resize-mini-window, resize-window): New functions.
21026 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21027 Move here from window.c.
21028 (maximize-window, minimize-window): New functions.
21029 (delete-window, delete-other-windows, split-window): Move here
21030 from window.c.
21031 (window-split-min-size): New function.
21032 (split-window-keep-point): Mention split-window-above-each-other
21033 instead of split-window-vertically.
21034 (split-window-above-each-other, split-window-vertically):
21035 Rename split-window-vertically to split-window-above-each-other
21036 and provide defalias for old definition.
21037 (split-window-side-by-side, split-window-horizontally):
21038 Rename split-window-horizontally to split-window-side-by-side
21039 and provide defalias for the old definition.
21040 (ctl-x-map): Move bindings for delete-window,
21041 delete-other-windows and enlarge-window here from window.c.
21042 Replace bindings for split-window-vertically and
21043 split-window-horizontally by bindings for
21044 split-window-above-each-other and split-window-side-by-side.
21045
21046 * cus-start.el (all): Remove entries for window-min-height and
21047 window-min-width. Add entries for window-splits and
21048 window-nest.
21049
21050 2011-06-09 Glenn Morris <rgm@gnu.org>
21051
21052 * calendar/appt.el (appt-mode-line): New function.
21053 (appt-check, appt-disp-window): Use it.
21054
21055 * files.el (hack-one-local-variable-eval-safep):
21056 Allow minor-modes with explicit +/-1 arguments.
21057
21058 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21059
21060 * term/xterm.el (xterm): Add defgroup.
21061 (xterm-extra-capabilities): Add defcustom to supply known xterm
21062 capabilities, skip querying them, or query them (default).
21063 (terminal-init-xterm): Use it.
21064 (terminal-init-xterm-modify-other-keys): New function to set up
21065 modifyOtherKeys support to simplify `terminal-init-xterm'.
21066
21067 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21068
21069 * window.el (resize-window-reset, resize-window-reset-1)
21070 (resize-subwindows-skip-p, resize-subwindows-normal)
21071 (resize-subwindows, resize-other-windows, resize-this-window)
21072 (resize-root-window, resize-root-window-vertically)
21073 (window-deletable-p, window-or-subwindow-p)
21074 (frame-root-window-p): New functions.
21075
21076 2011-06-09 Glenn Morris <rgm@gnu.org>
21077
21078 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21079 (ange-ftp-get-files): Use it.
21080
21081 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21082
21083 * mail/sendmail.el (mail-recover-1, mail-recover):
21084 * files.el (recover-file, recover-session):
21085 Handle dired-listing-switches not being just a single short option.
21086
21087 2011-06-09 Glenn Morris <rgm@gnu.org>
21088
21089 * calendar/appt.el (appt-display-message, appt-disp-window):
21090 Handle lists of appointments.
21091
21092 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21093
21094 * window.el (one-window-p): Move down in code.
21095 Rewrite doc-string.
21096 (window-current-scroll-bars): Rewrite doc-string.
21097 Normalize live window argument.
21098 (walk-windows, get-window-with-predicate, count-windows):
21099 Rewrite doc-string. Use window-list-1.
21100 (window-in-direction-2, window-in-direction, get-mru-window):
21101 New functions.
21102
21103 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21104
21105 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21106 Doc fix (Bug#8713).
21107
21108 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21109
21110 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21111
21112 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21113
21114 * loadhist.el (unload-feature-special-hooks):
21115 Add `comint-output-filter-functions'.
21116
21117 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21118
21119 * calendar/appt.el (appt-check): Move some initializations into the let.
21120
21121 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21122
21123 * window.el (window-height): Defalias to window-total-height.
21124 (window-width): Defalias to window-body-width.
21125
21126 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21127
21128 * image-mode.el (image-toggle-animation): New command.
21129 (image-mode-map): Bind it to RET.
21130 (image-mode): Update message.
21131 (image-toggle-display-image): Avoid a spurious cache flush.
21132 (image-transform-rotation): Doc fix.
21133 (image-transform-properties): Return quickly in the normal case.
21134 (image-animate-loop): Rename from image-animate-max-time.
21135
21136 * image.el (image-animate-max-time): Move to image-mode.el.
21137 (create-animated-image): Remove unnecessary function.
21138 (image-animate): Rename from image-animate-start. New arg.
21139 (image-animate-stop): Remove; just use image-animate-timer.
21140 (image-animate-timer): Use car-safe.
21141 (image-animate-timeout): Rename argument.
21142
21143 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21144
21145 * window.el (get-lru-window, get-largest-window): Move here from
21146 window.c. Rename first argument to ALL-FRAMES.
21147 Rephrase doc-strings.
21148 (get-buffer-window-list): Rewrite using window-list-1.
21149 Rephrase doc-string.
21150 (window-safe-min-height, window-safe-min-width): New constants.
21151 (window-size-ignore, window-min-size, window-min-size-1)
21152 (window-sizable, window-sizable-p, window-size-fixed-1)
21153 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21154 (window-max-delta-1, window-max-delta, window-resizable)
21155 (window-resizable-p, window-total-height, window-total-width)
21156 (window-body-width): New functions.
21157 (window-full-height-p, window-full-width-p): Rewrite using
21158 window-total-size.
21159 (window-body-height): Rewrite using window-body-size.
21160
21161 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21162
21163 * window.el (window-right, window-left, window-child)
21164 (window-child-count, window-last-child, window-any-p)
21165 (normalize-live-buffer, normalize-live-frame)
21166 (normalize-any-window, normalize-live-window)
21167 (window-iso-combination-p, window-iso-combined-p)
21168 (window-iso-combinations)
21169 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21170 (windows-with-parameter, window-with-parameter)
21171 (window-atom-root, make-window-atom, window-atom-check-1)
21172 (window-atom-check, window-side-check, window-check):
21173 New functions.
21174 (ignore-window-parameters, window-sides, window-sides-vertical)
21175 (window-sides-slots): New variables.
21176 (window-size-fixed): Move down in code. Minor doc-string fix.
21177
21178 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21179
21180 * comint.el (comint-dynamic-complete-as-filename)
21181 (comint-dynamic-complete-filename): Correctly call
21182 completion-in-region.
21183
21184 2011-06-05 Deniz Dogan <deniz@dogan.se>
21185
21186 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21187 in last change.
21188
21189 2011-06-05 Deniz Dogan <deniz@dogan.se>
21190
21191 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21192 (rcirc): Use it to prompt for encryption.
21193
21194 2011-06-05 Roland Winkler <winkler@gnu.org>
21195
21196 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21197 (bibtex-search-entries): New command bound to C-c C-a.
21198 (bibtex-display-entries): New function.
21199
21200 2011-06-05 Roland Winkler <winkler@gnu.org>
21201
21202 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21203 (bibtex-insert-kill): After yanking insert newline if necessary.
21204 (bibtex-initialize): Call bibtex-string-files-init only once.
21205 (bibtex-mode): Do not call easy-menu-add.
21206 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21207 (bibtex-yank): Set arg properly if nil.
21208
21209 2011-06-05 Roland Winkler <winkler@gnu.org>
21210
21211 * textmodes/bibtex.el (bibtex-search-entry-globally):
21212 New variable.
21213 (bibtex-search-entry): Use it.
21214
21215 2011-06-05 Roland Winkler <winkler@gnu.org>
21216
21217 * textmodes/bibtex.el (bibtex-entry-format): New option
21218 sort-fields.
21219 (bibtex-format-entry, bibtex-reformat): Honor this option.
21220 (bibtex-parse-entry): Return fields in proper order.
21221
21222 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21223
21224 * doc-view.el (doc-view-remove-if): Move computation of result out
21225 of `dolist' to silence misleading lexical-binding warning.
21226
21227 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21228
21229 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21230 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21231
21232 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21233
21234 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21235 "SunOS 5.10".
21236
21237 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21238
21239 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21240 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21241 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21242 (tramp-parse-putty):
21243 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21244 (tramp-completion-function-alist-ssh)
21245 (tramp-completion-function-alist-telnet)
21246 (tramp-completion-function-alist-su)
21247 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21248 cookie.
21249
21250 * net/tramp-ftp.el:
21251 * net/tramp-sh.el:
21252 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21253 load "tramp.el" `tramp-set-completion-function'.
21254
21255 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21256
21257 * shell.el: Require and use pcomplete.
21258 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21259 (shell-completion-vars): Set pcomplete-default-completion-function.
21260
21261 2011-06-04 Deniz Dogan <deniz@dogan.se>
21262
21263 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21264 `memq' (Bug#8799).
21265
21266 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21267
21268 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21269
21270 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21271
21272 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21273 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21274 * vc/log-view.el (log-view-beginning-of-defun):
21275 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21276 (smerge-refine-forward, smerge-refine-chopup-region):
21277 Silence warning for unused `dotimes' counter variables.
21278
21279 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21280
21281 * net/tramp.el (tramp-with-progress-reporter): Rename from
21282 with-progress-reporter. Use `declare'.
21283 * net/tramp-smb.el:
21284 * net/tramp-sh.el:
21285 * net/tramp-gvfs.el: Update all uses.
21286
21287 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21288
21289 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21290 buffer isn't killed before making it current.
21291
21292 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21293
21294 Silence various byte-compiler warnings.
21295 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21296 `access-type' and new obsolescence format.
21297 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21298 new format.
21299 (byte-compile-check-variable): New `access-type' argument.
21300 Only warn if the access-type is obsolete.
21301 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21302 (byte-compile-variable-set): Adjust callers.
21303 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21304 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21305 setting it as obsolete.
21306 * simple.el (minibuffer-completing-symbol):
21307 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21308 access as obsolete.
21309 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21310 obsolete yet.
21311 * international/quail.el (quail-mouse-choose-completion): Remove unused
21312 code referring to obsolete var.
21313 (quail-choose-completion-string): Remove.
21314 * server.el (server-clients-with, server-kill-buffer-query-function)
21315 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21316 * proced.el (proced-send-signal):
21317 * emacs-lisp/lisp.el (lisp-complete-symbol):
21318 Replace completion-annotate-function with completion-extra-properties.
21319
21320 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21321
21322 * simple.el (goto-line): Use read-number.
21323 (overriding-map-is-bound): Remove.
21324 (saved-overriding-map): Change default.
21325 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21326 Take the map as argument.
21327 (universal-argument, negative-argument, digit-argument): Use it.
21328 (restore-overriding-map): Adjust.
21329 (do-auto-fill): Use fill-forward-paragraph.
21330 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21331
21332 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21333 (minibuffer-inactive-mode): New major mode.
21334 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21335 the *Messages* buffer" hack.
21336 (mouse-popup-menubar): Don't burp if the event is a normal key.
21337
21338 Miscellaneous tweaks.
21339 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21340 lexical scoping as in subr.el's dolist and dotimes.
21341 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21342 Silence compiler warning.
21343 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21344 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21345 * international/ccl.el (ccl-compile): Trivial simplification.
21346 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21347 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21348 `printflag' argument.
21349 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21350 Purecopy the whole obsolescence data.
21351
21352 2011-06-01 Leo Liu <sdl.web@gmail.com>
21353
21354 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21355 improve doc-string as suggested by Marco Pessotto
21356 <melmothx@gmail.com>.
21357 (rcirc-print): Fix last change.
21358
21359 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21360
21361 * minibuffer.el (complete-with-action): Return nil for the metadata and
21362 boundaries of non-functional tables.
21363 (completion-table-dynamic): Return nil for the metadata.
21364 (completion-table-with-terminator): Add default case, using
21365 complete-with-action.
21366 (completion--metadata): New function.
21367 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21368 to try and avoid pathological performance problems.
21369 (completion--embedded-envvar-table): Return `category' metadata.
21370
21371 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21372
21373 * subr.el (process-alive-p): New tiny convenience function.
21374
21375 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21376
21377 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21378 content but also its previous major mode.
21379
21380 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21381
21382 * emacs-lisp/debug.el (debug): Restore the previous content of the
21383 *Backtrace* buffer when we exit with C-M-c.
21384
21385 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21386
21387 * minibuffer.el: Add metadata method to completion tables.
21388 (completion-category-overrides): New defcustom.
21389 (completion-metadata, completion--field-metadata)
21390 (completion-metadata-get, completion--styles)
21391 (completion--cycle-threshold): New functions.
21392 (completion-try-completion, completion-all-completions):
21393 Add `metadata' argument to choose completion-styles.
21394 (completion--do-completion): Use metadata to choose cycling.
21395 (completion-all-sorted-completions): Use metadata for sorting.
21396 Remove :completion-cycle-penalty which is not needed any more.
21397 (completion--try-word-completion): Add `metadata' argument.
21398 (minibuffer-completion-help): Check metadata for annotation function
21399 and sorting.
21400 (completion-file-name-table): Return `category' metadata.
21401 (minibuffer-completing-file-name): Make obsolete.
21402 * simple.el (minibuffer-completing-symbol): Make obsolete.
21403 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21404 completion-try-completion.
21405
21406 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21407
21408 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21409
21410 2011-05-30 Leo Liu <sdl.web@gmail.com>
21411
21412 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21413 (rcirc-print): Decode all incoming messages (bug#8744).
21414 (rcirc-decode-coding-system): Allow value nil for automatic coding
21415 system detection.
21416
21417 2011-06-01 Glenn Morris <rgm@gnu.org>
21418
21419 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21420
21421 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21422
21423 * image.el (image-animate-max-time): Allow nil and t values.
21424 Default to nil.
21425 (create-animated-image): Doc fix.
21426 (image-animate-start): Remove second arg; just use
21427 image-animate-max-time.
21428 (image-animate-timeout): Doc fix. Args changed.
21429
21430 * image-mode.el (image-toggle-display-image): Ensure that the
21431 image spec passed to the animate timer is the same object as in
21432 the buffer's display property (Bug#6981).
21433 (image-transform-properties): Doc fix.
21434
21435 * image.el (image-animate-max-time): Default to nil.
21436
21437 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21438
21439 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21440 entire buffer list (Bug#8184).
21441
21442 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21443
21444 * image.el (imagemagick-types-inhibit)
21445 (imagemagick-register-types): Doc fix.
21446
21447 2011-05-29 Deniz Dogan <deniz@dogan.se>
21448
21449 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21450 default.
21451
21452 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21453
21454 * select.el: Don't perform clipboard-manager saving in hooks;
21455 leave the hooks empty.
21456
21457 2011-05-28 Leo Liu <sdl.web@gmail.com>
21458
21459 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21460 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21461 (occur-edit-mode): New major mode (Bug#8463).
21462 (occur-after-change-function): New function.
21463 (occur-engine): Give Occur tags a read-only property.
21464
21465 2011-05-28 Kevin Ryde <user42@zip.com.au>
21466
21467 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21468
21469 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21470
21471 * bindings.el (help-echo): Make the initial non-indicator dash
21472 empty on graphical terminals (Bug#7295).
21473
21474 * files.el (auto-mode-alist): Move config rule after the
21475 in-stripping one (Bug#8547).
21476
21477 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21478
21479 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21480 setting (Bug#8740).
21481
21482 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21483
21484 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21485 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21486 (Bug#8539).
21487
21488 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21489
21490 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21491
21492 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21493
21494 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21495 (hs-hide-block-at-point, hs-find-block-beginning)
21496 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21497 (Bug#8279).
21498
21499 2011-05-28 Glenn Morris <rgm@gnu.org>
21500
21501 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21502
21503 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21504
21505 * help-fns.el (describe-function-1): If the function is a derived
21506 major mode, print the parent mode.
21507
21508 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21509 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21510
21511 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21512
21513 * minibuffer.el (completion--capf-wrapper): Check applicability before
21514 returning non-nil for non-exclusive completion data.
21515 * progmodes/etags.el (tags-completion-at-point-function):
21516 * info-look.el (info-lookup-completions-at-point): Mark as
21517 non-exclusive.
21518 (info-complete): Adjust accordingly.
21519
21520 * info-look.el: Convert to lexical-binding and completion-at-point.
21521 (info-lookup-completions-at-point): New function.
21522 (info-complete): Use it and completion-in-region.
21523
21524 2011-05-28 Drew Adams <drew.adams@oracle.com>
21525
21526 * isearch.el: Let M-e start with point at the first mismatched char.
21527 (isearch-fail-pos): New function.
21528 (isearch-edit-string): Use it.
21529
21530 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21531
21532 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21533
21534 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21535
21536 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21537 traversal functions for avl-trees.
21538 (avl-tree--stack): New struct.
21539 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21540 (avl-tree-enter): Add optional `updatefun' arg.
21541 (avl-tree--do-enter): Add optional `updatefun' arg.
21542 Change return value.
21543 (avl-tree-delete): Add optional `test' and `nilflag' args.
21544 (avl-tree--do-delete): Add `test' and `nilflag' args.
21545 Change return value.
21546 (avl-tree-member): Add optional `nilflag'
21547 (avl-tree-member-p): New function.
21548 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21549 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21550 (avl-tree-stack-empty-p): New functions.
21551
21552 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21553 avl-tree--del-balance1 and make it work both ways.
21554 (avl-tree--del-balance2): Remove.
21555 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21556 make it work both ways.
21557 (avl-tree--enter-balance2): Remove.
21558 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21559 New macros.
21560 (avl-tree--mapc, avl-tree-map): Add direction argument.
21561
21562 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21563
21564 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21565
21566 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21567
21568 * select.el: Support clipboard managers with built-in function
21569 x-clipboard-manager-save, via delete-frame-functions and
21570 kill-emacs-hook.
21571 (xselect-convert-to-targets): Add MULTIPLE target to list.
21572 (xselect-convert-to-save-targets): New function.
21573
21574 2011-05-27 Kenichi Handa <handa@m17n.org>
21575
21576 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21577 let-binding rfc2047-encode-encoded-words to nil.
21578
21579 2011-05-27 Glenn Morris <rgm@gnu.org>
21580
21581 * mail/emacsbug.el: Don't require url-util.
21582
21583 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21584
21585 * files.el (set-auto-mode):
21586 Also respect mode: entries at the end of the file. (Bug#8586)
21587
21588 2011-05-26 Glenn Morris <rgm@gnu.org>
21589
21590 * files.el (hack-local-variables-prop-line, hack-local-variables):
21591 Downcase mode names, as seems to be traditional.
21592 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21593
21594 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21595 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21596
21597 2011-05-25 Julien Danjou <julien@danjou.info>
21598
21599 * textmodes/rst.el (rst-define-level-faces): Do not define face
21600 symbol if it is already defined.
21601
21602 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21603
21604 * play/5x5.el (5x5-new-game, 5x5-randomize):
21605 Reset 5x5-solver-output to nil when a new grid is cast.
21606 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21607 these debugging traces, as defmacro breaks the compiled code.
21608
21609 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21610
21611 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21612
21613 2011-05-24 Leo Liu <sdl.web@gmail.com>
21614
21615 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21616 (vc-bzr-sha1): Adapt.
21617
21618 * sha1.el: Remove. Function `sha1' is now builtin.
21619
21620 * bindings.el: Provide sha1 feature.
21621
21622 2011-05-24 Kenichi Handa <handa@m17n.org>
21623
21624 * mail/sendmail.el: Require `rfc2047'.
21625 (mail-insert-from-field): Do not perform RFC2047 encoding.
21626 (mail-encode-header): New function.
21627 (sendmail-send-it): Set buffer-file-coding-system of the work
21628 buffer to the return value of select-message-coding-system.
21629 Call mail-encode-header.
21630
21631 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21632
21633 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21634
21635 * mail/supercite.el (sc-default-cite-frame):
21636 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21637
21638 2011-05-24 Glenn Morris <rgm@gnu.org>
21639
21640 * progmodes/python.el (brm-menu): Declare.
21641
21642 * emulation/viper.el (viper-set-hooks): Declare.
21643
21644 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21645 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21646 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21647 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21648 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21649 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21650
21651 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21652
21653 Add an :exit-function for completion-at-point.
21654
21655 * minibuffer.el (completion--done): New fun.
21656 (completion--do-completion): Use it. New arg `expect-exact'.
21657 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21658 since completion--do-completion does it for us now.
21659 (minibuffer-force-complete): Use completion--done and
21660 completion--replace. Handle sole-completion case with more care.
21661 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21662 (completion-extra-properties): New var.
21663 (completion-annotate-function): Make obsolete.
21664 (minibuffer-completion-help): Adjust accordingly.
21665 Use completion-list-insert-choice-function.
21666 (completion-at-point, completion-help-at-point):
21667 Bind completion-extra-properties.
21668 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21669 * simple.el (completion-list-insert-choice-function): New var.
21670 (completion-setup-function): Preserve it.
21671 (choose-completion): Pay attention to it, shuffle the code a bit.
21672 (choose-completion-string): New arg `insert-function'.
21673
21674 * textmodes/bibtex.el: Convert to lexical binding.
21675 (bibtex-mode-map): Use completion-at-point.
21676 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21677 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21678 (bibtex-complete): Define as obsolete alias.
21679 (bibtex-complete-internal): Remove.
21680 (bibtex-format-entry): Remove unused sub-group in regexp.
21681 * shell.el (shell--command-completion-data)
21682 (shell-environment-variable-completion):
21683 * pcomplete.el (pcomplete-completions-at-point):
21684 * comint.el (comint--complete-file-name-data): Use :exit-function
21685 instead of completion-table-with-terminator so it also works for
21686 choose-completion.
21687
21688 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21689
21690 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21691
21692 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21693 (bug#8710).
21694
21695 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21696
21697 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21698
21699 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21700 customization variable and implement: If non-nil, auto-fill will
21701 be inhibited while on topic's header line.
21702
21703 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21704
21705 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21706 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21707 always have a solution in grid size = 5 cases.
21708 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21709 (5x5-solver-output, 5x5-log-buffer): New vars.
21710 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21711 Make these variables buffer local to achieve 5x5 multi-session-ness.
21712 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21713 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21714 (5x5-solve-suggest): New funs.
21715 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21716 randomize a grid so that we ensure that there is always a solution.
21717 (5x5-make-random-grid): Allow other movement than flipping.
21718
21719 2011-05-23 Kevin Ryde <user42@zip.com.au>
21720
21721 * emacs-lisp/advice.el (ad-read-advised-function):
21722 Use `function-called-at-point' as the default, if it has
21723 advice and passes PREDICATE.
21724
21725 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21726
21727 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21728 byte-compile-lambda if it's actually a lambda.
21729
21730 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21731 Fix function quoting. Use backquote better.
21732
21733 2011-05-22 Yuanle Song <sylecn@gmail.com>
21734
21735 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21736 matching (Bug#8516).
21737
21738 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21739
21740 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21741 different face (Bug#8178).
21742
21743 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21744
21745 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21746 defface (Bug#8144).
21747
21748 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21749
21750 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21751 funcall as well (bug#8712). Warn when performing those conversions.
21752 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21753
21754 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21755
21756 2011-05-22 Glenn Morris <rgm@gnu.org>
21757
21758 * files.el (hack-local-variables-prop-line): Small simplifications.
21759 (hack-local-variables, hack-local-variables-prop-line):
21760 If MODE-ONLY, return the mode, rather than just `t'.
21761
21762 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21763
21764 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21765
21766 2011-05-21 Glenn Morris <rgm@gnu.org>
21767
21768 * files.el (hack-local-variables-prop-line, hack-local-variables):
21769 If only interested in the mode, don't bother doing the other stuff.
21770
21771 * image-mode.el (image-after-revert-hook):
21772 Redraw all frames on which the image is visible. (Bug#8567)
21773
21774 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21775
21776 * wid-edit.el (widget-checklist-match-inline):
21777 Fix 2011-04-19 change. (Bug#8649)
21778
21779 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21780
21781 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21782 Also allow singlespace after single-letter capitals followed by a dot.
21783
21784 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21785 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21786
21787 2011-05-20 Nix <nix@esperi.org.uk>
21788
21789 * files.el (basic-save-buffer-2):
21790 Fix handling of break-hardlink-on-save with non-existent files.
21791
21792 2011-05-19 Deniz Dogan <deniz@dogan.se>
21793
21794 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21795 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21796
21797 2011-05-19 Glenn Morris <rgm@gnu.org>
21798
21799 * progmodes/f90.el (f90-type-def-re):
21800 Handle "type, bind(c)". (Bug#8691)
21801
21802 * emacs-lisp/autoload.el (batch-update-autoloads):
21803 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21804
21805 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21806
21807 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21808 property for the correct connection in case of multihops.
21809
21810 2011-05-18 Glenn Morris <rgm@gnu.org>
21811
21812 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21813 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21814
21815 Rationalize calendar handling of day and month abbrev-arrays.
21816 * calendar/calendar.el (calendar-customized-p): New function.
21817 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21818 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21819 Add :set function.
21820 (calendar-abbrev-length, calendar-day-abbrev-array)
21821 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21822 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21823 Elements may no longer be nil.
21824 (calendar-day-name, calendar-month-name):
21825 Update for changed nature of abbrev arrays.
21826 * calendar/diary-lib.el (diary-name-pattern):
21827 Update for changed nature of abbrev arrays.
21828 (diary-mark-entries-1): Update calendar-make-alist calls.
21829 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21830 * calendar/cal-html.el (cal-html-day-abbrev-array):
21831 Simply inherit from calendar-day-abbrev-array.
21832
21833 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21834
21835 * progmodes/grep.el (grep-mode): Disable default
21836 compilation-directory-matcher setting (bug#8684).
21837
21838 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21839
21840 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21841 instead of "head" and "tail". There were problems with SunOS 5.9,
21842 and it performs better.
21843
21844 2011-05-17 Glenn Morris <rgm@gnu.org>
21845
21846 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21847
21848 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21849 Replace obsolete function.
21850
21851 * shell.el (pcomplete-parse-arguments-function): Declare.
21852
21853 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21854 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21855 (appt-check): Doc fixes.
21856 (appt-disp-window-function, appt-delete-window-function):
21857 Remove needless special case in custom :type.
21858 (appt-display-count): Default to 0, not nil.
21859 (appt-check): Reset appt-display-count to 0, not nil.
21860
21861 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21862
21863 * progmodes/python.el (python-font-lock-keywords):
21864 Add the Python 3.X keyword "nonlocal" (bug#8639).
21865
21866 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21867
21868 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21869
21870 2011-05-16 Kevin Ryde <user42@zip.com.au>
21871
21872 * info-look.el (makefile-automake-mode): New setups, looking in
21873 automake manual, then makefile-mode.
21874 (makefile-mode): Remove automake manual, have it just in
21875 makefile-automake-mode since there's various things different or
21876 not relevant to plain make.
21877 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21878 believe a hypothetical automake-mode would go to makefile-mode,
21879 not the other way around.
21880
21881 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21882
21883 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21884 hunk-end tags (Bug#8672).
21885
21886 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21887 vc-annotate-show-diff-revision-at-line (Bug#8671).
21888
21889 2011-05-14 Glenn Morris <rgm@gnu.org>
21890
21891 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21892 in the middle of an existing one with multiple authors. (Bug#8645)
21893 (change-log-font-lock-keywords): Also handle multiple author lines
21894 with leading tabs. (Bug#8644)
21895
21896 * calendar/appt.el (appt-check): Rename some local variables.
21897 Some simplification/reordering.
21898
21899 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21900 (feedmail-sendmail-f-doesnt-sell-me-out)
21901 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21902 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21903 (feedmail-queue-runner-message-sender): Set :version.
21904 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21905 (bbdb-dwim-net-address, vm-mail): Declare.
21906 (feedmail-binmail-gnulinuxish-template):
21907 Rename from feedmail-binmail-linuxish-template.
21908 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21909 Use insert-buffer-substring.
21910
21911 2011-05-14 Bill Carpenter <bill@carpenter.org>
21912
21913 * mail/feedmail.el (feedmail-patch-level): Increase.
21914 (feedmail-debug): New custom group.
21915 (feedmail-confirm-outgoing-timeout)
21916 (feedmail-sendmail-f-doesnt-sell-me-out)
21917 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21918 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21919 (feedmail-sender-line, feedmail-from-line)
21920 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21921 (feedmail-spray-this-address)
21922 (feedmail-spray-address-fiddle-plex-list)
21923 (feedmail-queue-use-send-time-for-date)
21924 (feedmail-queue-use-send-time-for-message-id)
21925 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21926 (feedmail-buffer-eating-function):
21927 Doc fixes.
21928 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21929 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21930 (feedmail-message-action-scroll-down): New functions.
21931 (feedmail-queue-directory, feedmail-queue-draft-directory):
21932 Use expand-file-name.
21933 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21934 Remove C-v help entry.
21935 (feedmail-queue-buffer-file-name): New variable.
21936 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21937 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21938 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21939 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21940 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21941 (feedmail-message-action-toggle-spray)
21942 (feedmail-run-the-queue-no-prompts)
21943 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21944 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21945 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21946 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21947 (feedmail-envelope-deducer, feedmail-fiddle-from)
21948 (feedmail-fiddle-sender, feedmail-default-date-generator)
21949 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21950 (feedmail-fiddle-spray-address)
21951 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21952 (feedmail-fiddle-list-of-fiddle-plexes)
21953 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21954 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21955 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21956 Change default. Doc fix.
21957 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21958 (feedmail-binmail-linuxish-template): New constant.
21959 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21960 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21961 (feedmail-send-it): Add debug call.
21962 Use feedmail-queue-buffer-file-name, and
21963 feedmail-send-it-immediately-wrapper.
21964 (feedmail-message-action-send): Add debug call.
21965 Use feedmail-send-it-immediately-wrapper.
21966 (feedmail-queue-express-to-queue): Add debug call.
21967 Run feedmail-queue-express-hook.
21968 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21969 (feedmail-message-action-help-blat):
21970 Rename from feedmail-queue-send-edit-prompt-help-first.
21971 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21972 Check line-endings. Handle errors better.
21973 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21974 Doc fix. Add debug call.
21975 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21976 Use feedmail-queue-send-edit-prompt-inner.
21977 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21978 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21979 from feedmail-queue-send-edit-prompt.
21980 (feedmail-queue-send-edit-prompt-help)
21981 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21982 (feedmail-tidy-up-slug): Add debug call.
21983 Respect feedmail-queue-slug-suspect-regexp.
21984 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21985 (feedmail-dump-message-to-queue): Add debug call.
21986 Expand queue-directory.
21987 (feedmail-dump-message-to-queue): Change message slightly.
21988 Use feedmail-say-chatter.
21989 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21990 (feedmail-send-it-immediately-wrapper): New function.
21991 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21992 Insert empty string rather than newline. Handle full-frame case.
21993 Use catch/throw. Use feedmail-say-chatter.
21994 (feedmail-fiddle-from): Try mail-host-address.
21995 (feedmail-default-message-id-generator): Doc fix.
21996 Bind system-time-locale. Handle missing end.
21997 (feedmail-fiddle-x-mailer): Add debug call.
21998 Handle feedmail-x-mailer-line being nil.
21999 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22000 Add debug call. Use buffer-substring-no-properties.
22001 (feedmail-say-debug, feedmail-say-chatter): New functions.
22002 (feedmail-find-eoh): Give an explicit error.
22003
22004 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22005
22006 * net/newst-treeview.el (newsticker-treeview-face): Change default
22007 family from helvetica to sans.
22008 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22009 etc/images/newsticker.
22010
22011 * net/newst-reader.el (newsticker-feed-face): Change default
22012 family from helvetica to sans.
22013
22014 * net/newst-plainview.el (newsticker-new-item-face)
22015 (newsticker-old-item-face, newsticker-immortal-item-face)
22016 (newsticker-obsolete-item-face, newsticker-date-face)
22017 (newsticker-statistics-face): Change default family from
22018 helvetica to sans.
22019 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22020 etc/images/newsticker.
22021
22022 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22023 (newsticker--process-auto-mark-filter-match): Tell user about
22024 auto-marking.
22025
22026 2011-05-13 Didier Verna <didier@xemacs.org>
22027
22028 Common Lisp indentation improvements on defmethod and lambda-lists.
22029 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22030 TODO entries.
22031 (lisp-lambda-list-keyword-parameter-indentation)
22032 (lisp-lambda-list-keyword-parameter-alignment)
22033 (lisp-lambda-list-keyword-alignment): New customizable user options.
22034 (lisp-indent-defun-method): Improve docstring.
22035 (extended-loop-p): Fix comment.
22036 (lisp-indent-lambda-list-keywords-regexp): New variable.
22037 (lisp-indent-lambda-list): New function.
22038 (lisp-indent-259): Use it.
22039 (lisp-indent-defmethod): Support for more than one
22040 method qualifier and properly indent methods lambda-lists.
22041 (defgeneric): Provide a missing common-lisp-indent-function property.
22042
22043 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22044
22045 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22046 bounds for the empty string (bug#8667).
22047
22048 2011-05-13 Glenn Morris <rgm@gnu.org>
22049
22050 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22051
22052 * mail/sendmail.el (sendmail-program): Try executable-find first.
22053 (sendmail-send-it): `sendmail-program' cannot be unbound.
22054
22055 * calendar/appt.el (appt-make-list): Simplify.
22056 (appt-time-msg-list): Doc fix.
22057 (appt-check): Change mode-line message at the time of the appointment.
22058
22059 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22060
22061 * progmodes/ld-script.el (ld-script-keywords)
22062 (ld-script-builtins): Update keywords list.
22063
22064 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22065
22066 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22067
22068 * shell.el (shell-completion-vars): New function.
22069 (shell-mode):
22070 * simple.el (read-shell-command): Use it.
22071 (blink-matching-open): No need for " [...]" in minibuffer-message.
22072
22073 2011-05-12 Glenn Morris <rgm@gnu.org>
22074
22075 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22076 (appt-check): Simplify.
22077
22078 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22079
22080 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22081 literal "/dev/null".
22082
22083 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22084
22085 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22086 Fix typo.
22087
22088 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22089
22090 * progmodes/which-func.el (which-function):
22091 Use add-log-current-defun instead of add-log-current-defun-function,
22092 which might not be defined (Bug#8260).
22093
22094 2011-05-12 Glenn Morris <rgm@gnu.org>
22095
22096 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22097 Let byte-compile-initial-macro-environment always take precedence.
22098
22099 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22100
22101 * net/rcirc.el: Add support for SSL/TLS connections.
22102 (rcirc-server-alist): New field `encryption'.
22103 (rcirc): Check `encryption' settings.
22104 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22105 Merge make-local-variable into `set'.
22106 (rcirc--connection-open-p): New function.
22107 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22108 the process is not a network process (e.g. running gnutls-cli).
22109 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22110 Make rcirc-(en|de)code-coding-system local here.
22111 (rcirc-mode): Merge make-local-variable into `set'.
22112 (rcirc-parent-buffer): Make permanent buffer-local.
22113 (rcirc-multiline-minor-mode): Don't do it here.
22114 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22115 there's no server buffer.
22116
22117 2011-05-11 Glenn Morris <rgm@gnu.org>
22118
22119 * newcomment.el (comment-kill): Prefix "unused" local.
22120
22121 * term/w32console.el (get-screen-color): Declare.
22122
22123 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22124 Handle symbol elements of byte-compile-initial-macro-environment.
22125
22126 2011-05-10 Leo Liu <sdl.web@gmail.com>
22127
22128 * bookmark.el (bookmark-bmenu-mode-map):
22129 Bind bookmark-bmenu-search to `/'.
22130
22131 * mail/footnote.el: Convert to utf-8 encoding.
22132 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22133 (Footnote-unicode): New function.
22134 (footnote-style-alist): Add unicode style to the list.
22135 (footnote-style): Doc fix.
22136
22137 2011-05-10 Jim Meyering <meyering@redhat.com>
22138
22139 Fix doubled-word typos.
22140 * international/quail.el (quail-insert-kbd-layout): and and -> and
22141 * kermit.el: and and -> and
22142 * net/ldap.el (ldap-search-internal): to to -> to
22143 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22144 * progmodes/js.el (js-mode): and and -> and
22145 * textmodes/artist.el (artist-move-to-xy): at at -> at
22146 (artist-draw-region-trim-line-endings): if if -> if
22147 And Safetyc -> Safety.
22148 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22149
22150 2011-05-10 Glenn Morris <rgm@gnu.org>
22151 Stefan Monnier <monnier@iro.umontreal.ca>
22152
22153 * files.el (hack-one-local-variable-eval-safep):
22154 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22155
22156 2011-05-10 Glenn Morris <rgm@gnu.org>
22157
22158 * calendar/diary-lib.el (diary-list-entries-hook)
22159 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22160 (diary-nongregorian-marking-hook, diary-list-entries)
22161 (diary-include-other-diary-files, diary-mark-entries)
22162 (diary-mark-included-diary-files): Doc fixes.
22163
22164 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22165
22166 * misc.el: Require tabulated-list.el during compilation.
22167
22168 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22169
22170 * progmodes/compile.el (compilation-start):
22171 Run compilation-filter-hook for the async case too.
22172 (compilation-filter-hook): Doc fix.
22173
22174 2011-05-09 Deniz Dogan <deniz@dogan.se>
22175
22176 * wdired.el: Remove outdated installation comment. Fix usage
22177 comment.
22178
22179 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22180
22181 * misc.el: Implement new command `list-dynamic-libraries'.
22182 (list-dynamic-libraries--loaded-only-p): New variable.
22183 (list-dynamic-libraries--refresh): New function.
22184 (list-dynamic-libraries): New command.
22185
22186 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22187
22188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22189 Fix the ant regexp to handle end-line and end-column info from jikes.
22190 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22191 higher priority to avoid clobbering by gnu.
22192
22193 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22194
22195 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22196 if the face has existing theme settings (Bug#8454).
22197
22198 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22199
22200 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22201 Only match variables declared via `my' or `our' (Bug#8261).
22202
22203 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22204 special file names `.' and `..' (Bug#8259).
22205
22206 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22207
22208 * progmodes/grep.el (grep-mode-font-lock-keywords):
22209 Remove buffer-changing entries.
22210 (grep-filter): New function.
22211 (grep-mode): Add it to compilation-filter-hook.
22212
22213 * progmodes/compile.el (compilation-filter-hook)
22214 (compilation-filter-start): New defvars.
22215 (compilation-filter): Call compilation-filter-hook prior to
22216 updating the process mark.
22217
22218 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22219
22220 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22221
22222 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22223
22224 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22225 mailclient-send-it even if window-system is nil. (Bug#8595)
22226
22227 * term/w32console.el (terminal-init-w32console):
22228 Call get-screen-color and use its output to set the frame
22229 background-mode. (Bug#8597)
22230
22231 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22232
22233 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22234 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22235 New functions.
22236 (defgeneric, eieio--defmethod): Use them.
22237 (eieio-defgeneric): Remove.
22238 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22239
22240 2011-05-07 Glenn Morris <rgm@gnu.org>
22241
22242 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22243 Use let rather than let*.
22244 (timeclock-find-discrep): Remove unused local.
22245
22246 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22247
22248 * calendar/appt.el (appt-time-msg-list): Doc fix.
22249
22250 2011-05-06 Noah Friedman <friedman@splode.com>
22251
22252 * apropos.el (apropos-print-doc): Only use
22253 emacs-lisp-docstring-fill-column when it is bound to an integer,
22254 per that variable's documentation.
22255
22256 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22257
22258 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22259 and warnings are not silently discarded (e.g. use -d instead of -P).
22260
22261 2011-05-06 Glenn Morris <rgm@gnu.org>
22262
22263 * calendar/appt.el (appt-message-warning-time): Doc fix.
22264 (appt-warning-time-regexp): New option.
22265 (appt-make-list): Respect appt-message-warning-time.
22266
22267 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22268 New options.
22269 (diary-add-to-list): Strip comments from the displayed string.
22270 (diary-mode): Set comment-start and comment-end.
22271
22272 * vc/diff-mode.el (smerge-refine-subst): Declare.
22273 (diff-refine-hunk): Don't require smerge-mode when compiling.
22274
22275 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22276
22277 * simple.el (list-processes): Return nil as the docstring says.
22278
22279 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22280
22281 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22282 to "".
22283 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22284 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22285 determining of binary transfer. (Bug#7383)
22286
22287 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22288
22289 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22290 Fix port computation bug. (Bug#8618)
22291
22292 2011-05-05 Glenn Morris <rgm@gnu.org>
22293
22294 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22295
22296 * simple.el (shell-dynamic-complete-functions)
22297 (comint-dynamic-complete-functions): Declare.
22298
22299 * net/network-stream.el (gnutls-negotiate):
22300 * simple.el (tabulated-list-print): Fix declarations.
22301
22302 * progmodes/gud.el (syntax-symbol, syntax-point):
22303 Remove unnecessary and incorrect declarations.
22304
22305 * emacs-lisp/check-declare.el (check-declare-scan):
22306 Handle byte-compile-initial-macro-environment in bytecomp.el.
22307
22308 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22309
22310 Fix earlier half-done eieio-defmethod change (bug#8338).
22311 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22312 Streamline and change calling convention.
22313 (defmethod): Adjust accordingly and simplify.
22314 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22315 new eieio--defmethod.
22316 (slot-boundp): Minor CSE simplification.
22317
22318 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22319
22320 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22321 (glasses-make-readable): Use glasses-separate-capital-groups.
22322
22323 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22324
22325 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22326 (warning-series): Doc fix.
22327 (display-warning): Don't try to create the buffer if we just found it.
22328
22329 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22330
22331 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22332 (autoload-find-generated-file): New function.
22333 (generate-file-autoloads): Bind generated-autoload-file to
22334 buffer-file-name.
22335 (update-file-autoloads, update-directory-autoloads):
22336 Use autoload-find-generated-file. If called interactively, prompt for
22337 output file (Bug#7989).
22338 (batch-update-autoloads): Doc fix.
22339
22340 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22341
22342 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22343
22344 2011-05-04 Glenn Morris <rgm@gnu.org>
22345
22346 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22347 function, so it follows changes in calendar-date-style.
22348 (diary-fancy-date-matcher): New function.
22349 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22350 (diary-fancy-font-lock-fontify-region-function):
22351 Use diary-fancy-date-pattern as a function.
22352
22353 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22354 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22355
22356 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22357
22358 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22359 instead of positional arguments. Allow :keylist and :crlfiles
22360 arguments.
22361 (open-gnutls-stream): Call it.
22362
22363 * net/network-stream.el (network-stream-open-starttls): Adjust to
22364 call `gnutls-negotiate' with :process and :hostname arguments.
22365
22366 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22367
22368 * minibuffer.el (completion--message): New function.
22369 (completion--do-completion, minibuffer-complete)
22370 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22371 (completion--do-completion): Don't ignore completion-auto-help when in
22372 icomplete-mode.
22373
22374 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22375 internal encoding (e.g. tibetan zero is not whitespace).
22376 (global-whitespace-mode): Prefer save-current-buffer.
22377 (whitespace-trailing-regexp): Remove useless save-match-data.
22378 (whitespace-empty-at-bob-regexp): Minor simplification.
22379
22380 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22381
22382 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22383
22384 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22385
22386 * textmodes/ispell.el (ispell-add-per-file-word-list):
22387 Use `concat' to create string for insertion.
22388
22389 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22390
22391 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22392 Avoid open-line which runs post-self-insert-hook.
22393 (bibtex-fill-entry): Remove unused `end' var.
22394
22395 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22396
22397 * textmodes/ispell.el (ispell-add-per-file-word-list):
22398 Protect against `nil' value of `comment-start' (Bug#8579).
22399
22400 2011-05-03 Leo Liu <sdl.web@gmail.com>
22401
22402 * isearch.el (isearch-yank-pop): New command.
22403 (isearch-mode-map): Bind it to `M-y'.
22404 (isearch-forward): Mention it.
22405
22406 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22407
22408 * simple.el (minibuffer-complete-shell-command): Remove.
22409 (minibuffer-local-shell-command-map): Use completion-at-point.
22410 (read-shell-command): Setup completion vars here instead.
22411 (read-expression-map): Bind TAB to symbol completion.
22412
22413 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22414 error directly rather via storing it into `results'.
22415
22416 2011-05-02 Leo Liu <sdl.web@gmail.com>
22417
22418 * vc/diff.el: Fix description.
22419
22420 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22421
22422 * server.el (server-eval-at): New function.
22423
22424 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22425
22426 * net/network-stream.el (open-network-stream): Take a :nowait
22427 parameter and pass it on to `make-network-process'.
22428 (network-stream-open-plain): Ditto.
22429
22430 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22431
22432 * faces.el (face-spec-set-match-display): Don't match toolkit
22433 options on terminal frames.
22434
22435 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22436
22437 * progmodes/pascal.el: Use lexical binding.
22438 (pascal-mode-map): Remove author preferences.
22439
22440 * pcomplete.el (pcomplete-std-complete): Don't abuse
22441 completion-at-point.
22442
22443 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22444
22445 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22446 removing code that has been dead since 1991 or so.
22447
22448 * startup.el (command-line): When warning about "_emacs", use a
22449 delayed warning to allow the user to filter it out.
22450
22451 2011-04-28 Deniz Dogan <deniz@dogan.se>
22452
22453 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22454 user has not joined.
22455
22456 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22457
22458 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22459 aren't any completions at point.
22460
22461 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22462
22463 * subr.el (display-delayed-warnings): New function.
22464 (delayed-warnings-hook): New variable.
22465
22466 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22467
22468 * minibuffer.el (completion-at-point, completion-help-at-point):
22469 Don't presume that a given completion-at-point-function will always
22470 use the same calling convention.
22471
22472 * pcomplete.el (pcomplete-completions-at-point):
22473 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22474 pcomplete-seen is non-nil.
22475 (pcomplete-comint-setup): Also recognize the new comint/shell
22476 completion functions.
22477 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22478 pcomplete-seen is non-nil.
22479
22480 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22481
22482 * calendar/icalendar.el (diary-lib): Add require statement.
22483 (icalendar--create-uid): Read out a uid from a text-property on
22484 the first character in the entry. This allows for code to add its
22485 own uid to the entry.
22486 (icalendar--convert-float-to-ical): Add export of
22487 `diary-float'-entries save for those with the optional DAY
22488 argument.
22489
22490 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22491
22492 * subr.el (shell-quote-argument): Use alternate escaping strategy
22493 when we spot a variable reference in a string.
22494
22495 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22496
22497 * cus-start.el (all): Define customization for debug-on-event.
22498
22499 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22500
22501 * subr.el (shell-quote-argument): Escape correctly under Windows.
22502
22503 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22504
22505 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22506
22507 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22508
22509 * net/tramp.el (tramp-process-actions): Add POS argument.
22510 Delete region between POS and (pos).
22511
22512 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22513 Use `nil' position in `tramp-process-actions' call.
22514 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22515
22516 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22517 position in `tramp-process-actions' call.
22518
22519 * net/trampver.el: Update release number.
22520
22521 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22522
22523 * custom.el (defcustom): Obey lexical-binding.
22524
22525 Fix octave-inf completion problems reported by Alexander Klimov.
22526 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22527 Inherit from octave-mode-syntax-table.
22528 (inferior-octave-mode): Set info-lookup-mode.
22529 (inferior-octave-completion-at-point): New function.
22530 (inferior-octave-complete): Use it and completion-in-region.
22531 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22532 comint-filename-completion.
22533 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22534 symbol elements which shouldn't be word elements.
22535 (octave-font-lock-keywords, octave-beginning-of-defun)
22536 (octave-function-header-regexp): Adjust regexps accordingly.
22537 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22538
22539 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22540
22541 * net/gnutls.el (gnutls-errorp): Declare before first use.
22542
22543 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22544
22545 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22546 verify-error, and verify-hostname-error parameters. Check whether
22547 default trustfile exists before going to use it. Add missing
22548 argument to gnutls-message-maybe call. Return value.
22549 Reported by Claudio Bley <claudio.bley@gmail.com>.
22550 (open-gnutls-stream): Add usage example.
22551
22552 * net/network-stream.el (network-stream-open-starttls): Give host
22553 parameter to `gnutls-negotiate'.
22554 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22555 * subr.el (shell-quote-argument): Escape correctly under Windows.
22556
22557 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22558
22559 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22560 Use correct match group (bug#8438).
22561
22562 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22563
22564 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22565 (package-menu--generate): New arg specifying packages to show.
22566 (package-menu-refresh, package-menu-execute, list-packages):
22567 Callers changed.
22568 (package-show-package-list): New function, replacing deleted
22569 package--list-packages (renamed because it is non-internal).
22570
22571 * finder.el (finder-list-matches): Use package-show-package-list
22572 instead of deleted package--list-packages.
22573
22574 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22575 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22576 (vc-annotate-mode-map): Bind it to RET.
22577
22578 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22579
22580 * progmodes/etags.el (next-file): Don't use set-buffer to change
22581 buffers (Bug#8478).
22582
22583 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22584
22585 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22586
22587 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22588 (apropos-accumulator): Doc fix.
22589 (apropos-function, apropos-macro, apropos-command)
22590 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22591 (apropos-plist): Add face property.
22592 (apropos-symbols-internal): Fix indentation.
22593 (apropos-print): Simplify help, and recognize apropos-multi-type.
22594 (apropos-print-doc): Use button-type-get to extract the button's
22595 face property. Fill docstring (Bug#8352).
22596
22597 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22598
22599 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22600
22601 * play/mpuz.el (mpuz-silent): Doc fix.
22602 (mpuz-mode-map): Use mapc.
22603 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22604 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22605 Fix typos in docstrings.
22606
22607 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22608 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22609
22610 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22611
22612 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22613
22614 * minibuffer.el (completion--do-completion): Avoid the "Next char
22615 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22616
22617 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22618 mouse-2 into unread-command-events, it is interpreted correctly.
22619
22620 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22621 (image-toggle-display): Doc fix.
22622
22623 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22624
22625 * textmodes/page.el (what-page): Use line-number-at-pos to
22626 calculate line number (Bug#6825).
22627
22628 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22629
22630 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22631 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22632 Pass argument NO-DEFAULT to `find-tag-interactive'.
22633
22634 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22635
22636 Lexical-binding cleanup.
22637
22638 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22639 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22640 * progmodes/ada-prj.el (ada-prj-initialize-values)
22641 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22642 (ada-prj-show-value):
22643 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22644 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22645 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22646 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22647 * progmodes/bug-reference.el (bug-reference-push-button):
22648 * progmodes/fortran.el (fortran-line-length):
22649 * progmodes/glasses.el (glasses-change):
22650 * progmodes/octave-mod.el (octave-fill-paragraph):
22651 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22652 (python-pdbtrack-grub-for-buffer, python-sentinel):
22653 * progmodes/sql.el (sql-save-connection):
22654 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22655 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22656 Mark unused parameters.
22657
22658 * progmodes/compile.el (compilation--flush-directory-cache)
22659 (compilation--flush-parse, compile-internal): Mark unused parameters.
22660 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22661 (compilation-next-error-function): Remove unused variable `timestamp'.
22662
22663 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22664 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22665
22666 * progmodes/dcl-mode.el (dcl-end-of-command):
22667 Remove unused variable `start'.
22668 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22669 (dcl-option-value-basic, dcl-option-value-offset)
22670 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22671 Mark unused parameters.
22672 (dcl-save-local-variable): Remove unused variable `val'.
22673 (mode): Declare.
22674
22675 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22676 Mark unused parameters.
22677 (delphi-ignore-changes): Move before first use.
22678 (delphi-charset-token-at): Remove unused variable `start'.
22679 (delphi-else-start): Remove unused variable `if-count'.
22680 (delphi-comment-block-start, delphi-comment-block-end):
22681 Remove unused variable `kind'.
22682 (delphi-indent-line): Remove unused variable `new-point'.
22683
22684 * progmodes/ebrowse.el (ebrowse-files-list)
22685 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22686 Mark unused parameters. Don't quote `lambda'.
22687 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22688 Don't quote `lambda'.
22689 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22690 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22691 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22692 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22693 Use `ignore-errors'.
22694 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22695 (ebrowse-view/find-file-and-search-pattern)
22696 (ebrowse-view/find-member-declaration/definition):
22697 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22698 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22699 Rename parameter PREFIX-ARG to PREFIX.
22700 (ebrowse-tags-read-name): Remove unused variables `start' and
22701 `member-info'.
22702 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22703 to `tags-file'.
22704
22705 * progmodes/etags.el (local-find-tag-hook): Declare.
22706 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22707 Mark unused parameters.
22708
22709 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22710 (executable-interpret): Mark unused parameter.
22711
22712 * progmodes/flymake.el (flymake-process-sentinel)
22713 (flymake-after-change-function)
22714 (flymake-create-temp-with-folder-structure)
22715 (flymake-get-include-dirs-dot): Mark unused parameters.
22716 (flymake-safe-delete-directory): Remove unused variable `err'.
22717
22718 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22719 (speedbar-timer-fn, speedbar-line-text)
22720 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22721 (speedbar-center-buffer-smartly): Declare functions.
22722 (gdb-find-watch-expression): Remove unused variable `array'.
22723 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22724 (gdb-starting): Mark unused parameters.
22725 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22726 (gdb-table-string): Remove unused variable `res'.
22727 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22728 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22729 (gdb-display-buffer): Remove unused variable `cur-size'.
22730
22731 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22732 allow lexical-binding compilation.
22733 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22734 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22735 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22736 Mark unused parameters.
22737 (gud-gdb-marker-filter): Remove unused variable `match'.
22738 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22739 lambda expressions and funcall them, instead of using `fset'.
22740
22741 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22742 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22743
22744 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22745 variable `header-beg'; use `let'.
22746
22747 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22748 `restart', `last-sexp' and `at-do'.
22749
22750 * progmodes/js.el (js--debug): Mark unused parameter.
22751 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22752 (js--splice-into-items): Remove unused variable `item'.
22753 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22754
22755 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22756 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22757 (makefile-complete): Remove unused variable `try'.
22758 (makefile-fill-paragraph, makefile-match-function-end):
22759 Mark unused parameters.
22760
22761 * progmodes/octave-inf.el (inferior-octave-complete):
22762 Remove unused variable `proc'.
22763 (inferior-octave-output-digest): Mark unused parameter.
22764
22765 * progmodes/perl-mode.el (perl-calculate-indent):
22766 Remove unused variable `err'.
22767
22768 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22769 (prolog-indent-line): Mark unused parameters.
22770 (prolog-indent-line): Remove unused variable `beg'.
22771
22772 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22773 (reporter-dont-compact-list): Declare.
22774
22775 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22776 Remove unused variable `char'.
22777 (sh-debug): Mark unused parameter.
22778 (sh-get-indent-info): Remove unused variable `start'.
22779 (sh-calculate-indent): Remove unused variable `var'.
22780
22781 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22782 (simula-electric-keyword): Remove unused variable `null'.
22783 (simula-search-backward, simula-search-forward): Remove unused
22784 variables `begin' and `end'.
22785
22786 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22787 Remove unused variable `pos'.
22788 (vera-electric-tab, vera-comment-uncomment-region):
22789 Mark unused parameters.
22790 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22791
22792 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22793
22794 * emacs-lisp/package.el (package--builtins, package-alist)
22795 (package-load-descriptor, package-built-in-p, package-activate)
22796 (define-package, package-installed-p)
22797 (package-compute-transaction, package-buffer-info)
22798 (package--push): Doc fix. Distinguish more clearly between
22799 version strings and version lists.
22800
22801 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22802
22803 Lexical-binding cleanup.
22804
22805 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22806 (5x5-make-mutate-best):
22807 * play/fortune.el (fortune-in-buffer):
22808 * play/gomoku.el (gomoku-init-display):
22809 * play/solitaire.el (solitaire, solitaire-do-check):
22810 * play/tetris.el (tetris-default-update-speed-function):
22811 Mark unused parameters.
22812
22813 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22814 (bubbles--shift): Remove unused variable `char-org'.
22815 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22816 (bubbles--show-images): Remove unused variable `char'.
22817
22818 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22819 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22820 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22821 (decipher-analyze-buffer): Use ?\s.
22822 (decipher-make-checkpoint): Remove unused variable `mapping'.
22823
22824 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22825
22826 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22827 Remove unused variable `result'; use `let'.
22828
22829 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22830 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22831 (gametree-children-shown-p, gametree-compute-reduced-score):
22832 Use `ignore-errors'.
22833
22834 * play/handwrite.el (ps-lpr-switches): Declare.
22835 (handwrite): Remove unused variables `pmin' and `lastp'.
22836
22837 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22838
22839 * play/landmark.el (landmark-init-display)
22840 (landmark-update-naught-weights): Mark unused parameters.
22841 (landmark-y): Remove unused variable `noise'. Simplify.
22842 (landmark-human-plays): Remove unused variable `score'.
22843
22844 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22845 (mpuz-try-proposal): Remove unused variable `game'.
22846
22847 * play/zone.el (life-patterns): Declare.
22848
22849 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22850
22851 * vc/vc.el (ediff-vc-internal): Declare function.
22852
22853 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22854
22855 * shell.el: Use lexical-binding and std completion UI.
22856 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22857 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22858 comint-preoutput-filter-functions rather than on
22859 comint-output-filter-functions.
22860 (shell-command-completion, shell--command-completion-data)
22861 (shell-filename-completion, shell-environment-variable-completion)
22862 (shell-c-a-p-replace-by-expanded-directory): New functions.
22863 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22864 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22865 (shell-dynamic-complete-environment-variable): Use them.
22866 (shell-dynamic-complete-as-environment-variable)
22867 (shell-dynamic-complete-as-command): Remove.
22868 (shell-match-partial-variable): Match past point.
22869 * comint.el: Clean up use of completion-at-point-functions.
22870 (comint-completion-at-point): New function.
22871 (comint-mode): Use it completion-at-point-functions.
22872 (comint-dynamic-complete): Make it obsolete.
22873 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22874 (comint-c-a-p-replace-by-expanded-history): New function.
22875 (comint-dynamic-complete-functions)
22876 (comint-replace-by-expanded-history): Use it.
22877 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22878 termination strings. Try harder to avoid second try-completion.
22879 (completion-in-region-mode-map): Disable bindings that don't work yet.
22880
22881 * comint.el: Use lexical-binding. Require CL.
22882 (comint-dynamic-complete-functions): Use comint-filename-completion.
22883 (comint-completion-addsuffix): Tweak custom type.
22884 (comint-filename-completion, comint--common-suffix)
22885 (comint--common-quoted-suffix, comint--table-subvert)
22886 (comint--complete-file-name-data): New functions.
22887 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22888 (comint-dynamic-list-filename-completions): Use them.
22889 (comint-dynamic-simple-complete): Make obsolete.
22890
22891 * minibuffer.el (completion-in-region-mode):
22892 Keep completion-in-region-mode--predicate global.
22893 (completion-in-region--postch):
22894 Assume completion-in-region-mode--predicate is not null.
22895
22896 * progmodes/flymake.el (flymake-start-syntax-check-process):
22897 Obey `dir'. Simplify.
22898
22899 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22900 we're in VC after all.
22901
22902 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22903
22904 * vc/vc.el (vc-diff-build-argument-list-internal)
22905 (vc-version-ediff, vc-ediff): New commands.
22906 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22907
22908 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22909
22910 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22911 add sanity check.
22912
22913 * obsolete/erc-hecomplete.el: Make obsolete.
22914 * obsolete/: Standardize obsolescence info in the header.
22915
22916 2011-04-20 Glenn Morris <rgm@gnu.org>
22917
22918 * calendar/solar.el (solar-horizontal-coordinates):
22919 Use the longitude argument rather than `calendar-longitude'.
22920 (solar-date-next-longitude): Remove unused locals.
22921
22922 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22923
22924 * whitespace.el: New version 13.2.1.
22925
22926 2011-04-20 felix <EmacsWiki> (tiny change)
22927
22928 * whitespace.el (global-whitespace-mode): Keep highlight when
22929 switching between major modes on a file.
22930
22931 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22932
22933 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22934 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22935 multi-line comments as well.
22936
22937 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22938
22939 Lexical-binding cleanup.
22940
22941 * arc-mode.el (archive-mode-revert):
22942 * cmuscheme.el (scheme-interactively-start-process):
22943 * custom.el (custom-initialize-delay):
22944 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22945 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22946 * emacs-lock.el (emacs-lock-clear-sentinel):
22947 * ezimage.el (defezimage):
22948 * follow.el (follow-avoid-tail-recenter):
22949 * fringe.el (set-fringe-mode-1):
22950 * generic-x.el (bat-generic-mode-compile):
22951 * help-mode.el (help-info-variable, help-do-xref)
22952 (help-mode-revert-buffer):
22953 * help.el (view-emacs-todo):
22954 * iswitchb.el (iswitchb-completion-help):
22955 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22956 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22957 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22958 * locate.el (locate-update):
22959 * longlines.el (longlines-encode-region)
22960 (longlines-after-change-function):
22961 * outline.el (outline-isearch-open-invisible):
22962 * ps-def.el (declare-function, charset-dimension, char-width)
22963 (encode-char):
22964 * ps-mule.el (ps-mule-plot-string):
22965 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22966 (recentf-edit-list-select, recentf-edit-list-validate)
22967 (recentf-open-files-action):
22968 * rect.el (delete-whitespace-rectangle-line)
22969 (rectangle-number-line-callback):
22970 * register.el (window-configuration-to-register)
22971 (frame-configuration-to-register):
22972 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22973 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22974 (xselect-convert-to-targets, xselect-convert-to-delete)
22975 (xselect-convert-to-filename, xselect-convert-to-charpos)
22976 (xselect-convert-to-lineno, xselect-convert-to-colno)
22977 (xselect-convert-to-os, xselect-convert-to-host)
22978 (xselect-convert-to-user, xselect-convert-to-class)
22979 (xselect-convert-to-name, xselect-convert-to-integer)
22980 (xselect-convert-to-atom, xselect-convert-to-identity):
22981 * subr.el (declare, ignore, process-kill-without-query)
22982 (text-clone-maintain):
22983 * terminal.el (te-get-char, te-tic-sentinel):
22984 * tool-bar.el (tool-bar-make-keymap):
22985 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22986 * type-break.el (type-break-mode, type-break-noninteractive-query):
22987 * view.el (View-back-to-mark):
22988 * wid-browse.el (widget-browse-action, widget-browse-widget)
22989 (widget-browse-widgets, widget-browse-sexp):
22990 * widget.el (define-widget-keywords):
22991 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22992 Mark unused parameters.
22993
22994 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22995 (align-areas): Remove unused variable `look'.
22996 (align-region): Remove unused variables `real-end' and `pos-list'.
22997
22998 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22999
23000 * bindings.el (mode-line-modified, mode-line-remote):
23001 Mark unused parameters.
23002 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23003
23004 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23005 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23006
23007 * comint.el (comint-history-isearch-pop-state)
23008 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23009 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23010 (comint-substitute-in-file-name): Doc fix.
23011
23012 * completion.el (cmpl-statistics-block): Mark unused parameter.
23013 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23014 (save-completions-to-file, load-completions-from-file):
23015 Remove unused local variable `e'.
23016
23017 * composite.el (compose-chars): Remove unused variable `len'.
23018 (lgstring-insert-glyph): Remove unused variable `g'.
23019 (compose-glyph-string): Remove unused variables `ascent',
23020 `descent', `lbearing' and `rbearing'.
23021 (compose-glyph-string-relative): Remove unused variables
23022 `lbearing', `rbearing' and `wadjust'.
23023 (compose-gstring-for-graphic): Remove unused variables `header',
23024 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23025 (compose-gstring-for-terminal): Remove unused variables `header'
23026 and `nchars'. Use `let', not `let*'.
23027
23028 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23029 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23030 (Custom-buffer-done, custom-buffer-create-internal)
23031 (custom-browse-visibility-action, custom-browse-group-tag-action)
23032 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23033 (widget-magic-mouse-down-action, custom-toggle-parent)
23034 (custom-add-parent-links, custom-toggle-hide-variable)
23035 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23036 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23037 (custom-face-menu-create, custom-variable-menu-create, get)
23038 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23039 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23040 (customize-apropos): Remove unused variable `tests'.
23041 (custom-group-value-create): Remove unused variable `hidden-p'.
23042 (sort-fold-case): Declare.
23043
23044 * cus-theme.el (custom-reset-standard-faces-list)
23045 (custom-reset-standard-variables-list): Declare.
23046 (customize-create-theme, custom-theme-revert, custom-theme-write)
23047 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23048 Mark unused parameters.
23049
23050 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23051
23052 * delim-col.el (delimit-columns-max): Move defvar before first use.
23053
23054 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23055 (describe-char): Don't quote `lambda'. Mark unused parameter.
23056
23057 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23058 (auto-insert): Declare.
23059 (desktop-restore-file-buffer): Rename desktop-* parameters;
23060 mark unused ones.
23061 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23062 (desktop-buffer): Rename desktop-* parameters.
23063
23064 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23065 (dframe-reposition-frame-xemacs, dframe-help-echo)
23066 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23067 Mark unused parameters.
23068
23069 * dired-aux.el (backup-extract-version-start, overwrite-query)
23070 (overwrite-backup-query, rename-regexp-query)
23071 (rename-non-directory-query): Declare.
23072 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23073 (dired-add-entry): Remove unused variable `orig-file-name'.
23074 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23075 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23076 `dired-copy-preserve-time' directly.
23077 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23078 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23079
23080 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23081 (dired-virtual-revert, dired-make-relative-symlink):
23082 Mark unused parameters.
23083 (manual-program): Declare.
23084 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23085 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23086 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23087
23088 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23089
23090 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23091
23092 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23093 Declare.
23094
23095 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23096
23097 * electric.el (Electric-command-loop): Rename parameter
23098 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23099
23100 * expand.el (expand-in-literal): Remove unused variable `here'.
23101
23102 * facemenu.el (facemenu-add-new-color):
23103 Remove unused variable `docstring'.
23104
23105 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23106 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23107 (face-attr-construct): Mark unused parameter. Doc fix.
23108 (read-color): Remove unused variable `hex-string'.
23109
23110 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23111 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23112 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23113 (display-buffer-other-frame): Remove unused variable `old-window'.
23114 (kill-buffer-hook): Declare.
23115 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23116 Mark unused parameters.
23117 (after-find-file): Pass 1 to `auto-save-mode', not t.
23118
23119 * files-x.el (auto-insert): Declare.
23120 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23121
23122 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23123 variable `buf'. Mark unused parameter.
23124 (find-lisp-insert-directory): Mark unused parameter.
23125
23126 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23127 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23128 (format-common-tail): Remove, unused.
23129 (format-deannotate-region): Remove unused variable `loc'.
23130 (format-annotate-region): Remove unused variable `p'.
23131 (format-annotate-single-property-change): Remove unused variables
23132 `default' and `tail'.
23133
23134 * forms.el (read-file-filter): Declare.
23135 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23136
23137 * frame.el (frame-creation-function-alist): Mark unused parameter.
23138 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23139
23140 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23141 Remove unused parameters.
23142 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23143 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23144
23145 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23146 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23147 (hfy-prepare-tag-map): Mark unused parameters.
23148 (htmlfontify-buffer): Use `called-interactively-p'.
23149
23150 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23151 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23152 (ibuffer-do-occur): Mark unused parameters.
23153 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23154 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23155
23156 * ibuffer.el: Don't quote `lambda'.
23157 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23158 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23159 Mark unused parameters.
23160
23161 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23162 (ido-completing-read): Mark unused parameters.
23163 (ido-copy-current-word): Mark unused parameters;
23164 remove unused variable `name'.
23165 (ido-sort-merged-list): Remove unused parameter `dirs'.
23166
23167 * ielm.el (ielm-input-sender): Mark unused parameter.
23168 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23169 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23170 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23171 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23172 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23173
23174 * image-dired.el (image-dired-display-thumbs): Remove unused
23175 variables `curr-file' and `count'.
23176 (image-dired-remove-tag): Remove unused variable `start'.
23177 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23178 variable `curr-file'
23179 (image-dired-rotate-original): Remove unused variable `temp-file'.
23180 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23181 Remove unused variable `file'.
23182 (image-dired-gallery-generate): Remove unused variable `curr'.
23183 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23184
23185 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23186
23187 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23188
23189 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23190
23191 * isearch.el (minibuffer-history-symbol): Declare.
23192 (isearch-edit-string): Remove unused variable `err'.
23193 (isearch-message-prefix, isearch-message-suffix):
23194 Mark unused parameters.
23195
23196 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23197
23198 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23199
23200 * makesum.el (double-column): Remove unused variable `cnt'.
23201
23202 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23203 (ido-ignore-item-temp-list): Declare.
23204
23205 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23206 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23207 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23208 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23209 `mouse-col-delta'.
23210
23211 * mouse-sel.el (mouse-extend-internal):
23212 Remove unused variable `orig-window-frame'.
23213
23214 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23215 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23216 Move declarations before first use.
23217 (pcomplete-opt): Mark unused parameters; doc fix.
23218
23219 * proced.el (proced-revert): Mark unused parameter.
23220 (proced-send-signal): Remove unused variable `err'.
23221
23222 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23223 Rename parameter PREFIX-ARG to ARG.
23224 (ps-basic-plot-string, ps-basic-plot-whitespace):
23225 Mark unused parameters.
23226
23227 * replace.el (replace-count): Define.
23228 (occur-revert-function): Mark unused parameters.
23229 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23230 (isearch-case-fold-search, isearch-string): Declare.
23231 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23232 bind `case-fold-search'. Remove unused variables `beg' and `end',
23233 and simplify.
23234 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23235 COUNT and bind `replace-count'.
23236 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23237 to COUNT.
23238
23239 * savehist.el (print-readably, print-string-length): Declare.
23240
23241 * shadowfile.el (shadow-expand-cluster-in-file-name):
23242 Remove unused variable `cluster'.
23243 (shadow-copy-file): Remove unused variable `i'.
23244 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23245 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23246 (shadow-define-literal-group, shadow-define-regexp-group)
23247 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23248
23249 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23250 (shell): Use `called-interactively-p'.
23251 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23252
23253 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23254 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23255 (delete-backward-char): Remove unused variable `ocol'.
23256 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23257 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23258 (event-apply-hyper-modifier, event-apply-shift-modifier)
23259 (event-apply-control-modifier, event-apply-meta-modifier):
23260 Mark unused parameters.
23261 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23262 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23263
23264 * speedbar.el (speedbar-ignored-directory-expressions)
23265 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23266 (speedbar-find-file, speedbar-dir-follow)
23267 (speedbar-directory-buttons-follow, speedbar-tag-find)
23268 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23269 (speedbar-buffers-line-directory, speedbar-buffer-click):
23270 Mark unused parameters.
23271 (speedbar-tag-file): Remove unused variable `mode'.
23272 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23273
23274 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23275
23276 * talk.el (talk): Remove unused variable `display'.
23277
23278 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23279 (tar-write-region-annotate): Mark unused parameter.
23280
23281 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23282 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23283 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23284 warning by another.
23285
23286 * time-stamp.el (time-stamp-string-preprocess):
23287 Remove unused variable `require-padding'.
23288
23289 * tree-widget.el (widget-glyph-enable): Declare.
23290 (tree-widget-action): Mark unused parameter.
23291
23292 * w32-fns.el (x-get-selection): Mark unused parameter.
23293 (autoload-make-program, generated-autoload-file): Declare.
23294
23295 * wdired.el (wdired-revert): Mark unused parameters.
23296 (wdired-xcase-word): Remove unused variable `err'.
23297
23298 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23299 (whitespace-help-scroll): Remove unused variable `data-help'.
23300
23301 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23302 (widget-image-insert, widget-after-change, default)
23303 (widget-default-format-handler, widget-default-notify)
23304 (widget-default-prompt-value, widget-info-link-action)
23305 (widget-url-link-action, widget-function-link-action)
23306 (widget-variable-link-action, widget-file-link-action)
23307 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23308 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23309 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23310 (widget-insert-button-action, widget-delete-button-action, visibility)
23311 (widget-documentation-link-action, widget-documentation-string-action)
23312 (widget-const-prompt-value, widget-regexp-match, symbol)
23313 (widget-coding-system-prompt-value)
23314 (widget-key-sequence-value-to-external, sexp)
23315 (widget-sexp-value-to-internal, character, vector, cons)
23316 (widget-choice-prompt-value, widget-boolean-prompt-value)
23317 (widget-color--choose-action): Mark unused parameters.
23318 (widget-item-match-inline, widget-choice-match-inline)
23319 (widget-checklist-match, widget-checklist-match-inline)
23320 (widget-group-match): Rename parameter VALUES to VALS.
23321 (widget-field-value-set): Remove unused variable `size'.
23322 (widget-color-action): Remove unused variables `value' and `start'.
23323
23324 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23325 variable `dir'. Doc fix.
23326 (windmove-find-other-window): Don't pass it.
23327
23328 * window.el (count-windows): Mark unused parameter.
23329 (bw-adjust-window): Remove unused variable `err'.
23330
23331 * woman.el (woman-file-name): Remove unused variable `default'.
23332 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23333 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23334 (global-font-lock-mode): Declare.
23335 (woman-decode-region): Mark unused parameter.
23336 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23337
23338 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23339 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23340 (x-dnd-handle-moz-url): Remove unused variable `title'.
23341 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23342
23343 * xml.el (xml-parse-tag, xml-parse-attlist):
23344 Remove unused variable `pos'.
23345
23346 2011-04-19 Glenn Morris <rgm@gnu.org>
23347
23348 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23349 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23350 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23351 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23352 * calendar/cal-html.el (cal-html-insert-minical):
23353 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23354 (calendar-mark-date-pattern):
23355 Prefix "unused" locals.
23356
23357 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23358 optional argument `style'.
23359
23360 * calendar/appt.el (appt-make-list):
23361 * calendar/cal-china.el (calendar-chinese-date-string):
23362 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23363 (diary-hebrew-yahrzeit):
23364 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23365 * calendar/calendar.el (calendar-generate-window):
23366 * calendar/time-date.el (time-to-days):
23367 Remove unused local variables.
23368
23369 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23370
23371 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23372 glyphless-char-display table.
23373 (tabulated-list-glyphless-char-display): New var.
23374
23375 2011-04-18 Sam Steingold <sds@gnu.org>
23376
23377 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23378 to acknowledgments.
23379
23380 2011-04-17 Glenn Morris <rgm@gnu.org>
23381
23382 * calendar/diary-lib.el (diary-sexp-entry):
23383 * calendar/holidays.el (holiday-sexp):
23384 Set debug-on-error rather than the removed stack-trace-on-error.
23385
23386 2011-04-16 Glenn Morris <rgm@gnu.org>
23387
23388 * progmodes/f90.el: Use lexical-binding.
23389 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23390
23391 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23392
23393 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23394 (mail-mode): Setup mailalias completion here instead.
23395 * mail/mailalias.el: Use lexical-binding.
23396 (pattern, mailalias-done): Declare dynamic.
23397 (mail-completion-at-point-function): New function, from mail-complete.
23398 (mail-complete): Use it.
23399 (mail-completion-expand): New function.
23400 (mail-get-names): Use it.
23401 (mail-directory, mail-directory-process, mail-directory-stream):
23402 Don't use `pattern' for lexically bound arg.
23403
23404 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23405
23406 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23407 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23408 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23409
23410 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23411 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23412 (byte-interactive-p): Define them again, for use when inlining
23413 old code.
23414
23415 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23416
23417 * loadup.el: Use `string-to-number', not `string-to-int'.
23418
23419 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23420
23421 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23422 gud-gdb-complete-command.
23423 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23424 (gud-gdb-completion-at-point): New function.
23425 (gud-gdb-completions): Remove.
23426
23427 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23428
23429 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23430 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23431 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23432 whether `executable-find' is bound.
23433
23434 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23435
23436 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23437
23438 * minibuffer.el (completion-in-region-mode-predicate)
23439 (completion-in-region-mode--predicate): New vars.
23440 (completion-in-region, completion-in-region--postch)
23441 (completion-in-region-mode): Use them.
23442 (completion--capf-wrapper): Also return the hook function.
23443 (completion-at-point, completion-help-at-point):
23444 Adjust and provide a predicate.
23445
23446 Preserve arg names for advice of subr and lexical functions (bug#8457).
23447 * help-fns.el (help-function-arglist): Consolidate the subr and
23448 new-byte-code cases. Add argument `preserve-names' to extract names
23449 from the docstring when needed.
23450 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23451 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23452 (ad-arglist): Use help-function-arglist's new arg.
23453 (ad-definition-type): Use cond.
23454
23455 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23456
23457 * autorevert.el (auto-revert-handler):
23458 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23459 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23460 Don't quote lambda.
23461
23462 * image-mode.el (image-transform-set-scale):
23463 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23464
23465 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23466
23467 * net/network-stream.el (network-stream-open-starttls): Only do
23468 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23469 Upgrades via gnutls-cli are too slow to be done opportunistically.
23470
23471 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23472
23473 * dframe.el (dframe-current-frame): Remove spurious quote.
23474
23475 2011-04-12 Glenn Morris <rgm@gnu.org>
23476
23477 * calendar/cal-tex.el (cal-tex-end-document):
23478 Try to automatically use latin1 input if needed.
23479
23480 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23481 Don't try to cons a mark onto an empty element.
23482
23483 2011-04-11 Leo Liu <sdl.web@gmail.com>
23484
23485 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23486 buffers.
23487 (ido-kill-buffer-at-head): Support killing virtual buffers.
23488
23489 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23490
23491 * minibuffer.el (completion-show-inline-help): New var.
23492 (completion--do-completion, minibuffer-complete)
23493 (minibuffer-force-complete, minibuffer-complete-word):
23494 Inhibit minibuffer messages if completion-show-inline-help is nil.
23495
23496 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23497 to avoid interference from inline help (Bug#5849).
23498
23499 2011-04-10 Leo Liu <sdl.web@gmail.com>
23500
23501 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23502 Fix typo.
23503
23504 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23505
23506 * image-mode.el (image-toggle-display-image): Signal an error if
23507 not in Image mode.
23508 (image-transform-mode, image-transform-resize)
23509 (image-transform-set-rotation): Doc fix.
23510 (image-transform-set-resize): Delete.
23511 (image-transform-set-scale, image-transform-fit-to-height)
23512 (image-transform-fit-to-width): Handle image-toggle-display-image
23513 and image-transform-resize directly.
23514
23515 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23516
23517 * doc-view.el (doc-view-fit-width-to-window)
23518 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23519 New functions for fitting the shown image to the Emacs window size.
23520 (doc-view-mode-map): Add bindings for the new functions.
23521
23522 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23523
23524 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23525 Fix typo in docstring.
23526
23527 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23528
23529 * files.el (file-size-human-readable): Produce one digit after
23530 decimal, like "ls -lh" does.
23531
23532 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23533 the file size representation.
23534
23535 * simple.el (list-processes): If async subprocesses are not
23536 available, error out with a clear error message.
23537
23538 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23539
23540 * help.el (help-form-show): New function, to be called from C.
23541 Put help-form output in a buffer named differently than *Help*.
23542
23543 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23544
23545 * files.el (file-size-human-readable): New function.
23546
23547 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23548 computing the representation inline. Don't require `cl'.
23549
23550 2011-04-08 Glenn Morris <rgm@gnu.org>
23551
23552 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23553
23554 * net/browse-url.el (browse-url-firefox):
23555 Test system-type, not system-configuration.
23556
23557 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23558 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23559 Use log-edit-empty-buffer-p. (Bug#7598)
23560
23561 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23562 (rlogin-mode-map): Initialize in the defvar.
23563 (rlogin): Use ignore-errors.
23564
23565 * replace.el (occur-mode-map): Some fixes for menu items.
23566
23567 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23568
23569 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23570
23571 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23572
23573 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23574 issuing unused warnings.
23575
23576 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23577 macro directly.
23578
23579 * simple.el: Lisp reimplement of list-processes. Based on an
23580 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23581 (process-menu-mode): New major mode.
23582 (list-processes--refresh, list-processes):
23583 (process-menu-visit-buffer): New functions.
23584
23585 * files.el (save-buffers-kill-emacs): Don't assume any return
23586 value of list-processes, which is undocumented anyway.
23587
23588 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23589
23590 * emacs-lisp/tabulated-list.el: New file.
23591
23592 * emacs-lisp/package.el: Use Tabulated List mode.
23593 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23594 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23595 table format using Tabulated List mode variables.
23596 (package--push): New macro, replacing package-list-maybe-add.
23597 (package-menu--generate): Use package--push. Renamed from
23598 package--generate-package-list.
23599 (package-menu-refresh, list-packages): Use it.
23600 (package-menu--print-info): Rename from package-print-package.
23601 Return insertion data instead of inserting it directly.
23602 (package-menu-describe-package, package-menu-execute):
23603 Use tabulated-list-get-id.
23604 (package-menu-mark-delete, package-menu-mark-install)
23605 (package-menu-mark-unmark, package-menu-backup-unmark)
23606 (package-menu-mark-obsolete-for-deletion):
23607 Use tabulated-list-put-tag.
23608 (package--list-packages, package-menu-revert)
23609 (package-menu-get-package, package-menu-get-version)
23610 (package-menu-sort-by-column): Functions deleted.
23611 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23612 (package-menu--status-predicate, package-menu--version-predicate)
23613 (package-menu--name-predicate)
23614 (package-menu--description-predicate): Handle arguments in the
23615 Tabulated List format.
23616 (package-list-packages-no-fetch): Call list-packages.
23617
23618 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23619
23620 * files.el (after-find-file-from-revert-buffer): Remove variable.
23621 (after-find-file): Don't bind it.
23622 (revert-buffer-in-progress-p): New variable.
23623 (revert-buffer): Bind it.
23624 Pass nil for `after-find-file-from-revert-buffer'.
23625
23626 * saveplace.el (save-place-find-file-hook): Use new variable
23627 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23628
23629 2011-04-06 Glenn Morris <rgm@gnu.org>
23630
23631 * Makefile.in (AUTOGEN_VCS): New variable.
23632 (autoloads): Use $AUTOGEN_VCS.
23633
23634 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23635 * calendar/calendar.el (calendar-mode-map):
23636 Check for toolkit scroll bars. (Bug#8305)
23637
23638 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23639
23640 * minibuffer.el (completion-in-region--postch)
23641 (completion-in-region-mode): Remove unnecessary messages.
23642
23643 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23644
23645 * font-lock.el (font-lock-refresh-defaults):
23646 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23647 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23648
23649 * info.el (Info-directory-list, Info-read-node-name-2)
23650 (Info-split-parameter-string): Doc fixes.
23651 (Info-virtual-nodes): Reflow docstring.
23652 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23653 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23654 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23655 Fix typos in docstrings.
23656 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23657 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23658 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23659 (Info-restore-desktop-buffer): Mark unused parameters.
23660 (Info-directory-find-file, Info-directory-find-node)
23661 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23662 (Info-virtual-index-find-node, Info-apropos-find-file)
23663 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23664 Mark unused parameters; fix typos in docstrings.
23665 (Info-virtual-index): Remove unused local variable `nodename'.
23666
23667 2011-04-05 Deniz Dogan <deniz@dogan.se>
23668
23669 * net/rcirc.el: Update my e-mail address.
23670 (rcirc-mode-map): Remove M-o binding.
23671
23672 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23673
23674 * startup.el (command-line): Save the cursor's theme-face
23675 directly, instead of using face-override-spec.
23676
23677 * custom.el (load-theme): Minor optimization in assigning faces.
23678
23679 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23680
23681 * help-fns.el (describe-variable): Complete all variables having
23682 documentation, including keywords.
23683 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23684
23685 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23686
23687 Convert to lexical-binding.
23688
23689 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23690 (bs--get-marked-string, bs--get-modified-string)
23691 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23692 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23693 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23694
23695 * ehelp.el (electric-help-execute-extended)
23696 (electric-help-ctrl-x-prefix):
23697 * hexl.el (hexl-revert-buffer-function):
23698 * linum.el (linum-after-change, linum-after-scroll):
23699 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23700
23701 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23702
23703 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23704
23705 * epa-dired.el:
23706 * epa-mail.el:
23707 * epa-hook.el:
23708 * epa-file.el:
23709 * epa.el:
23710 * epg.el: Use lexical binding.
23711
23712 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23713
23714 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23715
23716 * textmodes/flyspell.el (flyspell-word): Recognize default
23717 dictionary case for flyspell-mark-duplications-exceptions.
23718 Use regexp matching for languages.
23719 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23720 default dictionary (Bug#7926).
23721
23722 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23723
23724 * emacs-lisp/package.el (package--with-work-buffer):
23725 Recognize https URLs.
23726
23727 * net/network-stream.el: Move from gnus/proto-stream.el.
23728 Change prefix to network-stream throughout.
23729 (open-protocol-stream): Merge into open-network-stream, leaving
23730 open-protocol-stream as an alias. Handle nil BUFFER args.
23731
23732 * subr.el (open-network-stream): Move to net/network-stream.el.
23733
23734 2011-04-02 Glenn Morris <rgm@gnu.org>
23735
23736 * find-dired.el (find-exec-terminator): New option.
23737 (find-ls-option): Test for -ls support.
23738 (find-ls-subdir-switches): Test for -b in find-ls-option.
23739 (find-dired, find-grep-dired): Doc fixes.
23740 (find-dired): Use find-exec-terminator.
23741
23742 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23743 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23744 (find-name-arg): Remove purecopy.
23745
23746 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23747 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23748 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23749 accordingly. Don't add the null-device if not needed.
23750
23751 * files.el (save-some-buffers): Doc fix.
23752
23753 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23754
23755 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23756
23757 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23758
23759 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23760 Use `dolist' rather than `mapcar'.
23761
23762 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23763
23764 Add lexical binding.
23765
23766 * subr.el (apply-partially): Use new closures rather than CL.
23767 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23768 (dolist, dotimes): Use slightly different expansion for lexical code.
23769 (functionp): Move to C.
23770 (letrec): New macro.
23771 (with-wrapper-hook): Use it and apply-partially instead of CL.
23772 (eval-after-load): Preserve lexical-binding.
23773 (save-window-excursion, with-output-to-temp-buffer): Turn them
23774 into macros.
23775
23776 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23777
23778 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23779 than the arglist.
23780 (help-add-fundoc-usage): Don't add `Not documented'.
23781 (help-function-arglist): Handle closures, subroutines, and new
23782 byte-code-functions.
23783 (help-make-usage): Remove leading underscores.
23784 (describe-function-1): Handle closures.
23785 (describe-variable): Use special-variable-p for completion.
23786
23787 * files.el (lexical-binding): Declare safe.
23788
23789 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23790 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23791 (pcase): Add `let' pattern.
23792 Change memoization so it actually works.
23793 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23794 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23795 <let>: New case.
23796
23797 * emacs-lisp/macroexp.el: Use lexical binding.
23798 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23799 Don't convert ' to #' without checking that it's indeed quoting
23800 a lambda.
23801
23802 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23803 Use eval-sexp-add-defvars.
23804 (eval-sexp-add-defvars): New fun.
23805
23806 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23807
23808 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23809 Don't autoload.
23810 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23811 than the internal `byte-compile-lambda'.
23812 (defmethod): Don't hide code under quotes.
23813 (eieio-defmethod): New `code' argument.
23814
23815 * emacs-lisp/eieio-comp.el: Remove.
23816
23817 * emacs-lisp/edebug.el (edebug-eval-defun)
23818 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23819 (edebug-toggle): Avoid `eval'.
23820
23821 * emacs-lisp/disass.el (disassemble-internal): Handle new
23822 `closure' objects.
23823 (disassemble-1): Handle new byte codes.
23824
23825 * emacs-lisp/cl.el (pushnew): Silence warning.
23826
23827 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23828 (cl-byte-compile-throw): Remove.
23829 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23830
23831 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23832 closures.
23833
23834 * emacs-lisp/cconv.el: New file.
23835
23836 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23837 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23838 (byte-compile-initial-macro-environment):
23839 Handle declare-function here.
23840 (byte-compile--lexical-environment): New var.
23841 (byte-stack-ref, byte-stack-set, byte-discardN)
23842 (byte-discardN-preserve-tos): New lap codes.
23843 (byte-interactive-p): Don't use any more.
23844 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23845 New macros.
23846 (byte-compile-lapcode): Use them and handle new lap codes.
23847 (byte-compile-obsolete): Remove.
23848 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23849 (byte-compile-arglist-warn): Check late def of inlinable funs.
23850 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23851 since they should have been expanded by now.
23852 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23853 (byte-compile-from-buffer): Remove unused second arg.
23854 (byte-compile-preprocess): New function.
23855 (byte-compile-toplevel-file-form): New function to distinguish
23856 file-form calls from outside from file-form calls from hunk-handlers.
23857 (byte-compile-file-form): Simplify.
23858 (byte-compile-file-form-defsubst): Remove.
23859 (byte-compile-file-form-defmumble): Simplify now that
23860 byte-compile-lambda always returns a byte-code-function.
23861 (byte-compile): Preprocess.
23862 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23863 Remove, not used any more.
23864 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23865 (byte-compile-make-args-desc): New funs.
23866 (byte-compile-lambda): Handle lexical functions. Always return
23867 a byte-code-function.
23868 (byte-compile-reserved-constants): New var, to make up room for
23869 closed-over variables.
23870 (byte-compile-constants-vector): Obey it.
23871 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23872 (byte-compile-macroexpand-declare-function): New function.
23873 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23874 byte-code-functions.
23875 (byte-compile-form): Check obsolescence here.
23876 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23877 (byte-compile-variable-ref): Remove.
23878 (byte-compile-dynamic-variable-op): New fun.
23879 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23880 (byte-compile-variable-set): New funs.
23881 (byte-compile-discard): Add 2 args.
23882 (byte-compile-stack-ref, byte-compile-stack-set)
23883 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23884 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23885 macroexpand-all instead.
23886 (byte-compile-quote-form): Remove.
23887 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23888 (byte-compile-bind, byte-compile-unbind): New funs.
23889 (byte-compile-let): Handle let* and lexical binding.
23890 (byte-compile-let*): Remove.
23891 (byte-compile-catch, byte-compile-unwind-protect)
23892 (byte-compile-track-mouse, byte-compile-condition-case):
23893 Handle a new :fun-body form, used for lexical scoping.
23894 (byte-compile-save-window-excursion)
23895 (byte-compile-with-output-to-temp-buffer): Remove.
23896 (byte-compile-defun): Simplify.
23897 (byte-compile-stack-adjustment): New fun.
23898 (byte-compile-out): Use it.
23899 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23900
23901 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23902 handler any more.
23903
23904 * emacs-lisp/byte-opt.el: Use lexical binding.
23905 (byte-inline-lapcode): Remove (to bytecomp).
23906 (byte-compile-inline-expand): Pay attention to inlining to/from
23907 lexically bound code.
23908 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23909 any more.
23910 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23911 any more and don't call compiler-macros.
23912 (byte-compile-splice-in-already-compiled-code): Remove.
23913 (byte-code): Don't inline any more.
23914 (disassemble-offset): Receive `bytes' as argument rather than via
23915 dynamic scoping.
23916 (byte-compile-tag-number): Declare before first use.
23917 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23918 `return' even if make-spliceable.
23919 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23920 obsolete interactive-p.
23921 (byte-optimize-lapcode): Optimize new lap-codes.
23922 Don't trip up on new form of `byte-constant' lap code.
23923
23924 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23925
23926 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23927
23928 * custom.el (custom-initialize-default, custom-declare-variable):
23929 Use `defvar'.
23930
23931 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23932 New variables.
23933 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23934 (COMPILE_FIRST): Add macroexp and cconv.
23935 * makefile.w32-in: Mirror changes in Makefile.in.
23936
23937 * vc/cvs-status.el:
23938 * vc/diff-mode.el:
23939 * vc/log-edit.el:
23940 * vc/log-view.el:
23941 * vc/smerge-mode.el:
23942 * textmodes/bibtex-style.el:
23943 * textmodes/css-mode.el:
23944 * startup.el:
23945 * uniquify.el:
23946 * minibuffer.el:
23947 * newcomment.el:
23948 * reveal.el:
23949 * server.el:
23950 * mpc.el:
23951 * emacs-lisp/smie.el:
23952 * doc-view.el:
23953 * dired.el:
23954 * abbrev.el: Use lexical binding.
23955
23956 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23957
23958 * info.el (info-display-manual): New function.
23959
23960 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23961
23962 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23963
23964 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23965
23966 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23967 an entry for that server in rcirc-authinfo. (Bug#8385)
23968
23969 2011-03-31 Glenn Morris <rgm@gnu.org>
23970
23971 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23972
23973 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23974
23975 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23976
23977 * progmodes/python.el (python-default-interpreter)
23978 (python-python-command-args, python-jython-command-args)
23979 (python-which-shell, python-which-args, python-which-bufname)
23980 (python-file-queue, python-comint-output-filter-function)
23981 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23982 variables and functions.
23983
23984 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23985
23986 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23987 (completion-in-region-mode): New minor mode.
23988 (completion-in-region): Use it.
23989 (completion-in-region--data, completion-in-region-mode-map): New vars.
23990 (completion-in-region--postch): New function.
23991 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23992 New vars.
23993 (completion--capf-wrapper): New function.
23994 (completion-at-point): Use it to track well-behavedness of
23995 hook functions.
23996 (completion-help-at-point): New command.
23997
23998 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23999
24000 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24001 syntax class to search for whitespace on a single line
24002 (Message-ID: <4D938140.4030905@redhat.com>).
24003
24004 2011-03-30 Leo Liu <sdl.web@gmail.com>
24005
24006 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24007 New commands.
24008 (edit-abbrevs-map): Bind them here.
24009 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24010
24011 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24012
24013 * allout.el (allout-hide-by-annotation, allout-flag-region):
24014 Reduce possibility of overlay leakage by making them volatile.
24015
24016 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24017 hash is not shared between buffers. Mode initialization is
24018 responsible for giving it a useful starting value.
24019 (allout-item-span): Reduce possibility of overlay leakage by
24020 making them volatile.
24021 (allout-widgets-count-buttons-in-region): Add diagnostic function
24022 for tracking down button overlay leaks.
24023
24024 2011-03-29 Leo Liu <sdl.web@gmail.com>
24025
24026 * ido.el (ido-read-internal): Use the default history var
24027 minibuffer-history if no HISTORY is specified.
24028
24029 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24030
24031 * net/imap.el (imap-shell-open, imap-process-connection-type):
24032 Use imap-process-connection-type for 'shell' streams as well as
24033 Kerberos, SSL, other subprocesses.
24034
24035 2011-03-28 Leo Liu <sdl.web@gmail.com>
24036
24037 * abbrev.el (abbrev-table-empty-p): New function.
24038 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24039 nonempty ones. (Bug#5937)
24040
24041 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24042
24043 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24044
24045 2011-03-27 Leo Liu <sdl.web@gmail.com>
24046
24047 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24048 for foreground and background colors.
24049 (ansi-color-make-color-map): Adapt.
24050
24051 2011-03-25 Leo Liu <sdl.web@gmail.com>
24052
24053 * midnight.el (midnight-time-float): Remove. Note it calculates
24054 the microsecond component incorrectly and seconds-to-time does the
24055 same job.
24056 Remove redundant (require 'timer).
24057
24058 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24059 (ido-completions): Remove unused arguments. (Bug#8329)
24060
24061 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24062
24063 * minibuffer.el (completion--flush-all-sorted-completions):
24064 Remove itself from hook.
24065 (completion-at-point): Let the functions perform the completion
24066 immediately and return nil or t.
24067 * comint.el (comint-dynamic-complete-functions): Now identical to
24068 completion-at-point-functions.
24069 (comint-dynamic-list-input-ring): Remove unused var `index'.
24070 (comint--match-partial-filename, comint--unquote&expand-filename):
24071 New funs, split from comint-match-partial-filename.
24072 (comint-dynamic-complete): Use completion-at-point.
24073 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24074
24075 2011-03-24 Drew Adams <drew.adams@oracle.com>
24076
24077 * thingatpt.el: Support `defun'.
24078
24079 2011-03-23 Leo Liu <sdl.web@gmail.com>
24080
24081 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24082
24083 * help-mode.el (help-mode-finish): Tweak regexp.
24084
24085 2011-03-23 Glenn Morris <rgm@gnu.org>
24086
24087 * eshell/esh-opt.el (eshell-eval-using-options):
24088 Do not bind unused local variable `eshell-option-stub'.
24089
24090 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24091
24092 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24093
24094 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24095 keymap variable in `with-no-warnings' to avoid a warning when the
24096 keymap has been already `defconst'ed.
24097
24098 2011-03-22 Leo Liu <sdl.web@gmail.com>
24099
24100 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24101 encode all chars in abbrevs; otherwise use emacs-mule or
24102 utf-8-emacs. (Bug#8308)
24103
24104 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24105
24106 * simple.el (backward-delete-char-untabify):
24107 Avoid warning about using `delete-backward-char'.
24108
24109 * image.el (image-type-file-name-regexps): Make it variable.
24110 `imagemagick-register-types' modifies it, and the user may want
24111 to add new extensions for known image types.
24112 (imagemagick-register-types): Throw error if not using ImageMagick.
24113
24114 2011-03-22 Leo Liu <sdl.web@gmail.com>
24115
24116 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24117 located before rcirc-prompt-end-marker.
24118 (rcirc-complete): Error if point is not after rcirc prompt.
24119 Handle the case when table is nil.
24120 (rcirc-user-authenticated): Define to fix compiler warning.
24121
24122 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24123
24124 * custom.el (custom--inhibit-theme-enable): Make it affect only
24125 custom-theme-set-variables and custom-theme-set-faces.
24126 (provide-theme): Ignore custom--inhibit-theme-enable.
24127 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24128 (custom-enabling-themes): Delete variable.
24129 (enable-theme): Accept only loaded themes as arguments.
24130 Ignore the special custom-enabled-themes variable.
24131 (custom-enabled-themes): Forbid themes from setting this.
24132 Eliminate use of custom-enabling-themes.
24133 (custom-push-theme): Quote "changed" custom var entry.
24134
24135 2011-03-21 Leo Liu <sdl.web@gmail.com>
24136
24137 * ido.el (ido-read-internal): Add ido-selected to history instead
24138 of user input.
24139
24140 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24141
24142 * subr.el (deferred-action-list, deferred-action-function):
24143 Mark obsolete.
24144
24145 2011-03-21 Leo Liu <sdl.web@gmail.com>
24146
24147 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24148 change on 2011-02-13 (bug#8309).
24149
24150 * minibuffer.el (read-file-name-function): Change default value.
24151 (read-file-name--defaults): Rename from read-file-name-defaults.
24152 (read-file-name-default): Rename from read-file-name.
24153 (read-file-name): Call read-file-name-function.
24154
24155 2011-03-21 Glenn Morris <rgm@gnu.org>
24156
24157 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24158 Doc fixes.
24159
24160 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24161
24162 * cus-theme.el: Add missing provide statement.
24163 (customize-create-theme): Extract theme value correctly.
24164 (custom-theme-visit-theme): Autoload.
24165 (customize-create-theme): Prompt before inserting default faces.
24166
24167 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24168
24169 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24170 units and musical notes.
24171
24172 2011-03-20 Leo Liu <sdl.web@gmail.com>
24173
24174 * ido.el (ido-read-internal): Use completing-read-default.
24175 (ido-completing-read): Fix compatibility with completing-read.
24176
24177 2011-03-20 Christian Ohler <ohler@gnu.org>
24178
24179 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24180 (ert-delete-all-tests): Use `called-interactively-p' rather than
24181 `interactive-p'.
24182 (ert--make-xrefs-region): Respect END.
24183
24184 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24185
24186 * dired-aux.el (dired-create-directory): Signal an error if the
24187 directory already exists (Bug#8246).
24188
24189 * facemenu.el (list-colors-display): Call list-faces-display
24190 inside with-help-window.
24191 (list-colors-print): Use display property to align the final
24192 column, instead of checking window-width.
24193
24194 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24195
24196 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24197 windows-nt systems.
24198 (emerge-protect-metachars): Quote correctly for ms-dos and
24199 windows-nt systems.
24200
24201 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24202
24203 * info.el (info-initialize): Replace all uses of `:' with
24204 path-separator for compatibility with non-Unix systems.
24205 Cache quoting of path-separator. (Bug#8258)
24206
24207 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24208
24209 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24210 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24211 (mouse-avoidance-mode): Fix typos in docstrings.
24212
24213 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24214
24215 * startup.el (package-subdirectory-regexp): Move from package.el.
24216 Omit \\` and \\', and let callers add them.
24217
24218 * emacs-lisp/package.el (package-strip-version)
24219 (package-load-all-descriptors): Add \\` and \\' to
24220 package-subdirectory-regexp before using it.
24221 (package-untar-buffer): New arg DIR; ensure that file untars only
24222 into this expected directory. Remove superfluous delete-region.
24223 (package-unpack): Caller changed.
24224 (package-tar-file-info): Use package-subdirectory-regexp.
24225
24226 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24227
24228 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24229 diff-mode-shared-map (bug#8284).
24230 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24231
24232 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24233
24234 * calendar/time-date.el (format-seconds): Use assoc instead of
24235 assoc-string, since assoc-string doesn't exist in XEmacs.
24236
24237 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24238
24239 * custom.el (custom-known-themes): Reflow docstring.
24240 (custom-theme-load-path): Fix typo in docstring.
24241 (load-theme): Fix typo in error message.
24242 (custom-available-themes, custom-variable-theme-value):
24243 Use `let', not `let*'.
24244
24245 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24246
24247 * calc/README: Mention inclusion of musical notes.
24248
24249 * calc/calc-units.el (calc-lu-quant): Rename from
24250 `calc-logunits-quantity'.
24251 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24252 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24253 (calc-db): Rename from `calc-dblevel'.
24254 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24255 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24256 (calc-np): Rename from `calc-nplevel'.
24257 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24258 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24259 (calc-lu-plus): Rename from `calc-logunits-add'.
24260 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24261 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24262 (calc-lu-minus): Rename from `calc-logunits-sub'.
24263 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24264 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24265 (calc-lu-times): Rename from `calc-logunits-mul'.
24266 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24267 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24268 (calc-lu-divide): Rename from `calc-logunits-div'.
24269 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24270 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24271
24272 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24273 functions being autoloaded.
24274
24275 * calc/calc.el (calc-lu-power-reference): Rename from
24276 `calc-logunits-power-reference'.
24277 (calc-lu-field-reference): Rename from
24278 `calc-logunits-field-reference'.
24279
24280 * calc/calc-help.el (calc-l-prefix-help):
24281 Mention musical note functions.
24282
24283 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24284
24285 * minibuffer.el (completion-all-sorted-completions):
24286 Use :completion-cycle-penalty text property if present.
24287
24288 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24289
24290 * allout.el (allout-yank-processing): Adjust for new rebulleting
24291 regime so bullet being yanked is used without prompting the user
24292 for a choice.
24293
24294 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24295
24296 * startup.el (command-line): Warn the user that _emacs is deprecated.
24297
24298 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24299
24300 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24301 (delphi-verbose, delphi-comment-face, delphi-string-face)
24302 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24303 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24304 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24305 (delphi-new-comment-line, delphi-font-lock-defaults)
24306 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24307 Fix typos in docstrings.
24308
24309 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24310
24311 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24312 Invert the roles of character and string values for INSTEAD, so a
24313 string is used for the more common case of a defaulting prompt.
24314
24315 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24316
24317 * progmodes/ruby-mode.el (ruby-backward-sexp):
24318 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24319 * play/gamegrid.el (gamegrid-make-face):
24320 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24321 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24322 * notifications.el (notifications-notify):
24323 * net/xesam.el (xesam-search-engines):
24324 * net/quickurl.el (quickurl-list-insert):
24325 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24326
24327 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24328
24329 * startup.el (command-line): Update package subdirectory regexp.
24330
24331 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24332
24333 * allout.el (allout-abbreviate-flattened-numbering)
24334 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24335
24336 * subr.el (read-char-choice): Only show the cursor after the prompt,
24337 not after the answer.
24338
24339 2011-03-15 Kevin Ryde <user42@zip.com.au>
24340
24341 * help-fns.el (variable-at-point): Skip leading quotes, if any
24342 (bug#8253).
24343
24344 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24345
24346 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24347 warning message.
24348
24349 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24350
24351 * shell.el (shell): When called interactively, offer to change the
24352 shell file name on remote hosts.
24353
24354 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24355
24356 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24357 integration for LDAP parameters. The host, base, user or binddn,
24358 and secret tokens can be specified in a netrc file, for instance.
24359 This is optional because an `auth-source' parameter must be
24360 specified in the search attributes.
24361
24362 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24363
24364 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24365
24366 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24367
24368 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24369 into declaration. Remove redundant and harmful binding.
24370
24371 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24372
24373 * files.el (file-ownership-preserved-p): Pass `integer' as an
24374 explicit 2nd argument to `file-attributes'. If the file's owner
24375 is the Administrators group on Windows, and the current user is
24376 Administrator, consider that a match.
24377
24378 * server.el (server-ensure-safe-dir): Consider server directory
24379 safe on MS-Windows if its owner is the Administrators group while
24380 the current Emacs user is Administrator. Use `=' to compare
24381 numerical UIDs, since they could be integers or floats.
24382
24383 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24384
24385 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24386
24387 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24388
24389 Sync with Tramp 2.2.1.
24390
24391 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24392
24393 * net/trampver.el: Update release number.
24394
24395 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24396
24397 * progmodes/compile.el (compilation--previous-directory): Fix up
24398 various nil/dead-marker mismatches (bug#8014).
24399 (compilation-directory-properties, compilation-error-properties):
24400 Don't call it at a position past the one we're about to change.
24401
24402 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24403 Disable obsolescence warnings in the file that declares it.
24404
24405 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24406
24407 * allout-widgets.el (allout-widgets-tally):
24408 Initialize allout-widgets-tally as a hash table rather than nil to
24409 prevent mode-line redisplay warnings. Also, clarify the module
24410 description and fix a comment typo.
24411
24412 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24413
24414 * help-fns.el (describe-variable): Don't complete keywords.
24415 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24416
24417 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24418
24419 * emacs-lisp/package.el (package-version-join): Impose a standard
24420 string representation for pre/alpha/beta version lists.
24421 (package-unpack-single): Standardize the directory name by passing
24422 it through package-version-join.
24423 (package-strip-rcs-id): Accept any version string that does not
24424 signal an error in version-to-list.
24425
24426 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24427
24428 * simple.el (delete-trailing-whitespace): Return nil for the
24429 benefit of `write-file-functions'.
24430
24431 2011-03-10 Glenn Morris <rgm@gnu.org>
24432
24433 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24434
24435 * vc/vc-git.el (vc-git-program): New option.
24436 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24437 (vc-git--call): Use it.
24438
24439 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24440
24441 * cus-edit.el (Custom-newline): If no button at point, look
24442 for a subgroup button at start-of-line. (Bug#2298)
24443
24444 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24445
24446 2011-03-10 Julien Danjou <julien@danjou.info>
24447
24448 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24449 `cursor-type' is nil.
24450
24451 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24452
24453 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24454
24455 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24456
24457 * allout.el: Change so yank of distinctive-bullet items
24458 preserves the existing header prefix, rebulleting it if necessary,
24459 rather than replacing it. This is necessary for proper operation
24460 of cooperative addons like allout-widgets.
24461 (allout-make-topic-prefix, allout-rebullet-heading):
24462 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24463 value as alternate bullet to be used, instead of prompting the user
24464 for a bullet character.
24465
24466 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24467
24468 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24469 Do not use `tramp-file-name-port', because this returns also
24470 `tramp-default-port'.
24471
24472 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24473
24474 * net/rcirc.el (rcirc-handler-001): Remove useless
24475 with-rcirc-process-buffer.
24476 (rcirc-check-auth-status): Swap arguments to string-match.
24477
24478 2011-03-09 Glenn Morris <rgm@gnu.org>
24479
24480 * shell.el (shell-mode):
24481 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24482
24483 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24484 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24485
24486 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24487
24488 * emacs-lisp/package.el (package-refresh-contents)
24489 (package-menu-execute): Use condition-case-no-debug.
24490
24491 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24492
24493 * simple.el (shell-command-to-string): Use `process-file'.
24494
24495 * emacs-lisp/package.el (package-tar-file-info): Handle also
24496 remote files.
24497
24498 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24499 Use `equal' for upload base check.
24500
24501 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24502
24503 * textmodes/texinfo.el (texinfo-environments):
24504 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24505
24506 2011-03-08 Glenn Morris <rgm@gnu.org>
24507
24508 * cus-start.el (cursor-in-non-selected-windows):
24509 Fix :set quoting oddness. (Bug#8192)
24510
24511 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24512 in some setf expressions. (Bug#2159)
24513
24514 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24515
24516 * custom.el (custom-available-themes): Return themes in
24517 alphabetical order.
24518
24519 See ChangeLog.15 for earlier changes.
24520
24521 ;; Local Variables:
24522 ;; coding: utf-8
24523 ;; End:
24524
24525 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24526
24527 This file is part of GNU Emacs.
24528
24529 GNU Emacs is free software: you can redistribute it and/or modify
24530 it under the terms of the GNU General Public License as published by
24531 the Free Software Foundation, either version 3 of the License, or
24532 (at your option) any later version.
24533
24534 GNU Emacs is distributed in the hope that it will be useful,
24535 but WITHOUT ANY WARRANTY; without even the implied warranty of
24536 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24537 GNU General Public License for more details.
24538
24539 You should have received a copy of the GNU General Public License
24540 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.