]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* net/quickurl.el (quickurl-save-urls): Ensure quickurl-urls is not truncated
[gnu-emacs] / lisp / ChangeLog
1 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2
3 * net/quickurl.el (quickurl-save-urls):
4 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
5
6 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
7
8 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
9 depth for unfinished percent literal. Not using it in the caller.
10 (ruby-move-to-block): Jump over multiline literals of all types,
11 ignoring code-looking contents inside them.
12 (ruby-add-log-current-method): Improve performance at the expense
13 of accuracy. `ruby-block-contains-point' is relatively slow, so
14 only use it for method and singleton class blocks.
15
16 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
17
18 Use ControlMaster where applicable. (Bug#13677)
19
20 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
21 replacing `tramp-detect-ssh-controlmaster'.
22 (tramp-default-method): Use it.
23
24 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
25 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
26 arguments.
27 [scpc, rsyncc]: Remove methods.
28 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
29 and "ssh2_old".
30 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
31 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
32
33 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * emacs-lisp/package.el (package--initialized): Move before first use.
36
37 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
38
39 * icomplete.el (icomplete-hide-common-prefix): New user option.
40 (icomplete-first-match): New face.
41 (icomplete-completions): Correct handling of "complete but not
42 unique" (Bug#12638).
43
44 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
45
46 * descr-text.el (describe-char): Display the script (bug#13698).
47
48 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * tmm.el: Use lexical-binding and current-active-maps.
51 (tmm-menubar): Use map-keymap and pcase.
52 (tmm--completion-table): New function.
53 (tmm-prompt): Use it to fix the menu order.
54 (tmm-get-keybind): Use current-active-maps.
55
56 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
57
58 Add dired-hide-details-mode. (Bug#6799)
59
60 * locate.el (locate-mode): Set parent mode property to dired-mode.
61
62 * find-dired.el (find-dired): Call dired-insert-set-properties on
63 initial information line. Set process mark on end of buffer.
64 (find-dired-sentinel):
65 Call dired-insert-set-properties on summary.
66
67 * dired.el (dired-hide-details-hide-symlink-targets)
68 (dired-hide-details-hide-information-lines): New options.
69 (dired-insert-directory):
70 Set properties after final treatment of output.
71 (dired-insert-set-properties):
72 Set dired-hide-details-* properties.
73 (dired-mode-map): Bind dired-hide-details-mode.
74 (dired-mode): Set buffer-invisibility-spec to a list.
75 (dired-next-line): Skip hidden lines.
76 (dired-previous-line): Use dired-next-line.
77 (dired-hide-details-mode): New minor mode.
78 (dired-hide-details-update-invisibility-spec): New function.
79
80 2013-02-13 Glenn Morris <rgm@gnu.org>
81
82 * play/yow.el: Move to obsolete/. (Bug#9384)
83
84 2013-02-13 Juri Linkov <juri@jurta.org>
85
86 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
87 to select `ediff-control-frame' and set input focus correctly on Xfce.
88 (Bug#12218)
89
90 2013-02-13 Juri Linkov <juri@jurta.org>
91
92 * image-mode.el (image-mode-map):
93 * doc-view.el (doc-view-mode-map):
94 * vc/ediff-util.el (ediff-setup-keymap):
95 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
96
97 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
98
99 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
100 performance. Instead of recalculating indentation fully for each
101 line, sum up indentation depth based only on visited lines.
102 (ruby-parse-partial): Increase the depth after "do" even when END
103 is right after it.
104 (ruby-parse-partial): When END is in the middle of a percent
105 literal, increase the depth if the delimiter chars belong to the
106 paren syntax class.
107
108 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
109
110 * play/fortune.el (fortune-compile): Also make the compiled file
111 if it does not exist at all, not just if it is old. (Bug#5338)
112
113 2013-02-13 Glenn Morris <rgm@gnu.org>
114
115 * emacs-lisp/package.el (package-menu-execute): Doc fix.
116
117 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
118
119 * lisp/emacs-lisp/package.el (package-menu-execute):
120 Add optional noquery argument. (Bug#13625)
121
122 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
123
124 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
125 if DIR exists and PARENTS is non-nil.
126
127 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
128
129 * progmodes/js.el (js--multi-line-declaration-indentation):
130 Silence byte-compiler warning.
131
132 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
133
134 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
135
136 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
137 only if it doesn't exist.
138
139 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Set
140 process marker.
141
142 2013-02-12 Tassilo Horn <tsdh@gnu.org>
143
144 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
145 UserInstallation when calling soffice to work around LibreOffice
146 bug 37531.
147
148 2013-02-12 Glenn Morris <rgm@gnu.org>
149
150 * files.el (basic-save-buffer):
151 Offer to create a non-existing directory. (Bug#3016)
152
153 * calc/calc-graph.el (calc-graph-show-dumb):
154 * calendar/calendar.el (calendar-mode-map):
155 * cus-edit.el (custom-mode-map):
156 * ehelp.el (electric-help-map):
157 * emulation/vip.el (vip-mode-map):
158 * epa.el (epa-key-list-mode-map):
159 * info.el (Info-mode-map):
160 * mail/rmail.el (rmail-mode-map):
161 * mail/rmailsum.el (rmail-summary-mode-map):
162 * man.el (Man-mode-map):
163 * net/newst-plainview.el (newsticker-mode-map):
164 * progmodes/cpp.el (cpp-edit-mode-map):
165 * progmodes/grep.el (grep-mode-map):
166 * progmodes/idlw-help.el (idlwave-help-mode-map):
167 * simple.el (special-mode-map):
168 * startup.el (splash-screen-keymap):
169 * view.el (view-mode-map):
170 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
171
172 2013-02-11 Elias Pipping <pipping@lavabit.com>
173
174 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
175 (bug#13679).
176
177 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
180
181 2013-02-11 Glenn Morris <rgm@gnu.org>
182
183 * vc/diff.el (diff-use-labels): New variable.
184 (diff-no-select): Use --label rather than -L, and first
185 check that it is supported. (Bug#11067)
186
187 * files.el (enable-dir-local-variables): New variable.
188 (hack-dir-local-variables): Respect enable-dir-local-variables.
189 * tutorial.el (help-with-tutorial):
190 Ignore directory-local variables. (Bug#11127)
191
192 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
193 (vc-svn-global-switches): ... to here. (Bug#13513)
194
195 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
196
197 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
198 Handle "foo (bar, default: xxx): " prompts.
199
200 2013-02-10 Chong Yidong <cyd@gnu.org>
201
202 * files.el (basic-save-buffer-1): Do not set
203 buffer-file-coding-system-explicit (Bug#4533).
204
205 * mail/emacsbug.el (report-emacs-bug): Change binding of
206 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
207
208 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
209
210 * calc/calc.el (calc-allow-units-as-numbers): New variable.
211 * calc/calc-units.el (calc-convert-units): Use new variable.
212
213 2013-02-09 Eli Zaretskii <eliz@gnu.org>
214
215 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
216
217 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
218 buffer-file-type.
219
220 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
221 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
222 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
223 coding-system-for-write instead.
224
225 * jka-compr.el (jka-compr-write-region): Don't bind
226 buffer-file-type.
227
228 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
229 buffer-file-type.
230
231 * files.el (file-name-buffer-file-type-alist): Remove defvar.
232 (insert-file-contents-literally): Remove reference to
233 file-name-buffer-file-type-alist.
234
235 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
236 make-obsolete.
237 (find-buffer-file-type-match, find-buffer-file-type): Remove.
238 (find-buffer-file-type-coding-system): Remove references to
239 find-buffer-file-type-match, find-buffer-file-type, and
240 buffer-file-type.
241 Don't put find-buffer-file-type-coding-system into
242 file-coding-system-alist.
243 (find-file-binary, find-file-text): Bind coding-system-for-read
244 instead of file-name-buffer-file-type-alist.
245
246 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
247
248 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
249 converter (Bug#13622).
250 (doc-view-unoconv-program): Make obsolete alias.
251 (doc-view-odf->pdf-converter-program): New variable.
252 (doc-view-odf->pdf-converter-function): New variable.
253 (doc-view-mode-p): Use it.
254 (doc-view-odf->pdf-converter-unoconv):
255 Rename from `doc-view-odf->pdf-converter-unoconv'.
256 (doc-view-odf->pdf-converter-soffice): New function.
257 (doc-view-convert-current-doc):
258 Use `doc-view-odf->pdf-converter-function'.
259
260 2013-02-09 Chong Yidong <cyd@gnu.org>
261
262 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
263 view-echo-area-messages (Bug#13340).
264
265 * help.el (view-echo-area-messages): Use display-buffer.
266
267 * dired-x.el (dired-do-run-mail): Prompt for confirmation
268 (Bug#13561).
269
270 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
273 Eval body right away, now that we do eager macroexpansion (bug#13605).
274
275 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
276 (fundamental-mode): Use run-mode-hooks.
277
278 * eshell/esh-proc.el (eshell/kill): Fix last change.
279 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
280
281 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
282
283 * eshell/esh-proc.el (eshell/kill): Rewrite.
284
285 * eshell/em-ls.el (show-almost-all): Declare.
286 (eshell-do-ls): Add support for -A argument.
287
288 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
289
290 * icomplete.el (icomplete-forward-completions)
291 (icomplete-backward-completions): Handle corner case (bug#13602).
292
293 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
294
295 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
296 be nil. Handle this. (Bug#13636)
297
298 2013-02-07 Richard Stallman <rms@gnu.org>
299
300 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
301 `save-buffer-coding-system'.
302
303 2013-02-07 Alan Mackenzie <acm@muc.de>
304
305 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
306 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
307 (c-parse-state-get-strategy): Don't return 'BOD any more.
308 (c-append-lower-brace-pair-to-state-cache):
309 Extra parameter HERE instead of narrowing.
310 Widen to top of buffer before searching backwards for a brace pair.
311 (c-state-push-any-brace-pair): Add HERE parameter to function call.
312 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
313 Narrow to parameter HERE, in place of being called narrowed.
314 (c-remove-stale-state-cache): Extra parameter HERE in place of
315 narrowing. Check there's an open brace in the cache before
316 searching for its match.
317 (c-invalidate-state-cache-1): Add HERE parameter to function call.
318 (c-parse-state-1): Don't narrow here for 'forward strategy,
319 instead passing extra parameter HERE to several functions.
320 Remove 'BOD strategy.
321
322 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
323
324 * emacs-lisp/package.el (describe-package-1): Tell what archive is
325 used to install the package.
326
327 2013-02-06 Glenn Morris <rgm@gnu.org>
328
329 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
330 if we can't get user input. (Bug#6567)
331
332 * startup.el (command-line): If simple.el is missing,
333 test and warn about for some possible causes.
334
335 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
336
337 * cus-start.el (all): Add ns-use-native-fullscreen.
338
339 2013-02-05 Glenn Morris <rgm@gnu.org>
340
341 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
342
343 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
344 Fix directory creation in fallback case.
345
346 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
347
348 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
349 (vc-update-change-log): Use dolist.
350
351 2013-02-04 Chong Yidong <cyd@gnu.org>
352
353 * thingatpt.el: Rewrite the URL detection routines, absorbing some
354 code from ffap.el.
355 (thing-at-point-beginning-of-url-regexp): New var.
356 (thing-at-point-uri-schemes): Update list of URI schemes.
357 (thing-at-point-url-regexp): Variable deleted.
358 (thing-at-point-markedup-url-regexp): Disallow newlines.
359 (thing-at-point-newsgroup-regexp)
360 (thing-at-point-newsgroup-heads)
361 (thing-at-point-default-mail-uri-scheme): New variables.
362 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
363 method to find the possible bounds of the URI at point.
364 New optional argument to find ill-formed URIs.
365 (thing-at-point-url-at-point): Rewrite. New arguments for finding
366 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
367 the scheme-adding heuristics from ffap-url-at-point.
368 (thing-at-point--bounds-of-well-formed-url): New function.
369 Do parens matching to decide whether to include parens in the URI
370 (Bug#9153).
371
372 * ffap.el: Require thingatpt.
373 (ffap-url-at-point): Delegate URI detection to thing-at-point.
374 All URI-valid characters are now recognized (Bug#5673).
375 (ffap-string-at-point): Use use-region-p.
376 (ffap-url-regexp): Extra character is handled by thing-at-point.
377 (ffap-string-at-point-mode-alist): Allow parentheses.
378 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
379 Convert to aliases; code moved to thingatpt.el.
380 (ffap-gnus-hook): Use setq-local.
381
382 2013-02-04 Glenn Morris <rgm@gnu.org>
383
384 * emacs-lisp/ert.el (ert--explain-format-atom):
385 Don't try to print non-characters as characters. (Bug#13543)
386
387 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
388
389 * net/tramp.el (tramp-debug-message): Extend function exclude list.
390 (tramp-backtrace): New defun.
391 (tramp-handle-insert-file-contents): Use `visit' when inserting
392 the local copy.
393
394 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
395 Use `remote-file-name-inhibit-cache'.
396
397 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
400 (bug#13614).
401
402 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
403 current-load-list (bug#13366).
404
405 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
406
407 * progmodes/compile.el (compilation-error-regexp-alist-alist):
408 Identify g++ template instantiation trace. (Bug#12287)
409 (compilation-mode-hook, compilation-start-hook)
410 (compilation-window-height): Simplify docstrings. (Bug#13379)
411
412 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * mouse.el (mouse-drag-track): Always deactivate the mark before
415 running the final event's command since that command is in charge of
416 activating the mark if needed (bug#13523).
417
418 2013-02-02 Juri Linkov <juri@jurta.org>
419
420 * replace.el (perform-replace): Move let-bindings of isearch-*
421 variables deeper to the loop that searches for the next match.
422 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
423 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
424 (Bug#13579)
425
426 * isearch.el (isearch-search-fun-default): Check for null
427 first element of isearch-cmds as a precaution when it's used
428 with inactive isearch.
429
430 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
431
432 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
433 error when buffer in question is narrowed so position 1 is out of
434 visible part.
435
436 2013-02-02 Glenn Morris <rgm@gnu.org>
437
438 * textmodes/remember.el (remember-clipboard): Doc fix.
439
440 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
443 properties (bug#13179).
444
445 2013-02-02 Juri Linkov <juri@jurta.org>
446
447 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
448 instead of hard-coded default face `match'. (Bug#9438)
449
450 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
451
452 * vc/vc-arch.el (vc-arch-registered):
453 * vc/vc-bzr.el (vc-bzr-registered):
454 * vc/vc-cvs.el (vc-cvs-registered):
455 * vc/vc-git.el (vc-git-registered):
456 * vc/vc-hg.el (vc-hg-registered):
457 * vc/vc-mtn.el (vc-mtn-registered):
458 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
459 (Bug#13139)
460
461 * info.el (Info-next-reference, Info-prev-reference): Add numeric
462 prefix argument. (Bug#11656)
463
464 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
467
468 2013-02-01 Glenn Morris <rgm@gnu.org>
469
470 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
471 if the backend is known not to support it.
472
473 * imenu.el (imenu-default-create-index-function):
474 Tweak infinite loop test to check for forward motion as well as none.
475
476 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
477
478 * net/soap-client.el (soap-invoke): Encode the string for
479 `url-request-data' as UTF-8.
480 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
481
482 2013-02-01 Glenn Morris <rgm@gnu.org>
483
484 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
485
486 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
487
488 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
489
490 * net/tramp.el (tramp-tramp-file-p): Comment check for
491 `string-as-unibyte'. The function does not exist on XEmacs, and
492 likely we need another approach.
493
494 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
495 `tramp-gw-*' variables are bound.
496
497 2013-01-31 Glenn Morris <rgm@gnu.org>
498
499 * files.el (basic-save-buffer-2): Choose coding system for
500 writing the file before backing it up, to reduce delay between
501 backing up and writing the new version. (Bug#13522)
502
503 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
504
505 * simple.el (cycle-spacing): New command.
506 (just-one-space): Use it.
507
508 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
511 (opascal-newline-always-indents): Remove custom.
512 (opascal-tab, opascal-newline): Remove commands.
513 (opascal-new-comment-line): Insert "\n" instead of calling newline.
514 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
515 (opascal-save-match-data): Remove, use save-match-data instead.
516 (opascal-save-state): Use with-silent-modifications.
517
518 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
519 (bug#13585).
520
521 2013-01-30 Juri Linkov <juri@jurta.org>
522
523 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
524 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
525 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
526
527 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
530 column if we're just deleting the backslashes.
531 (makefile-fill-paragraph): Use eolp.
532
533 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
534
535 * autorevert.el (auto-revert-use-notify): Fix docstring.
536
537 2013-01-30 Leo Liu <sdl.web@gmail.com>
538
539 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
540
541 2013-01-30 Glenn Morris <rgm@gnu.org>
542
543 * mouse.el (mouse-drag-line): Avoid pushing same event onto
544 unread-command-events twice in some cases. This tries to implement
545 the 2012-07-26 changes in a different way. (Bug#13560)
546
547 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
548
549 * progmodes/python.el
550 (python-pdbtrack-comint-output-filter-function): Enhancements on
551 stacktrace detection. (thanks @gnovak)
552
553 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
556 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
557 Use defvar-local.
558 (jit-lock-register): Use setq-local.
559
560 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
561
562 * calc-units.el (math-default-units-table): Remove initial value.
563 (calc-convert-units): Treat expressions where all the units cancel as
564 if they didn't have units.
565
566 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
567
568 * net/tramp.el (tramp-process-connection-type): Fix docstring.
569 (tramp-completion-reread-directory-timeout): Fix type.
570 (tramp-connection-min-time-diff): New defcustom.
571
572 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
573
574 2013-01-30 Glenn Morris <rgm@gnu.org>
575
576 * imenu.el (imenu-default-create-index-function):
577 Put back a version of the infinite loop test removed 2013-01-23.
578
579 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
580
581 * progmodes/python.el (python-shell-parse-command):
582 Find python-shell-interpreter with modified environment.
583
584 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
587
588 2013-01-29 Alan Mackenzie <acm@muc.de>
589
590 Amend to fontify /regexp/s in actions correctly.
591 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
592 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
593 are no longer included.
594 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
595 What used to be these variables without "-line" in the name.
596 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
597 (c-awk-non-arith-op-bra-re): Now also matches {.
598 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
599 "return", and "case".
600 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
601 by /.
602 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
603 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
604
605 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
606
607 * autorevert.el (auto-revert-use-notify):
608 Use `custom-initialize-default' for initialization. (Bug#13583)
609
610 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
611
612 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
613 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
614 in `tramp-file-name-handler'.
615 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
616 compatibility.
617 (tramp-compute-multi-hops): Check, whether
618 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
619
620 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
623 (bug#13297).
624
625 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
626
627 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
628 checks made superfluous by the \_< operator.
629 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
630 temporarily) broken indentation.
631 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
632 Highlight nested constants, too. \_< broke that.
633
634 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
635
636 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
637 instead of "\\b".
638
639 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
640
641 * autorevert.el (auto-revert-handler): Notifications which result
642 from a saved file shall not be taken into account. (Bug#13557)
643
644 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
645
646 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
647 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
648 (lisp-mode): Pass t for it. (Bug#13556)
649
650 2013-01-25 Alan Mackenzie <acm@muc.de>
651
652 AWK Mode: Fix indentation bug at top level. Bug #12274.
653
654 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
655 just before CASE 5D.
656
657 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
658
659 * net/socks.el (socks-nslookup-host): Use string-to-number.
660
661 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
662
663 * autorevert.el (auto-revert-remote-files)
664 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
665 (auto-revert-notify-enabled, auto-revert-use-notify)
666 (auto-revert-notify-watch-descriptor-hash-list)
667 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
668 (auto-revert-notify-event-descriptor)
669 (auto-revert-notify-event-action)
670 (auto-revert-notify-event-file-name): Doc fix.
671 (global-auto-revert-mode): Reorder checks.
672 (auto-revert-notify-rm-watch): Respect changed values of
673 `auto-revert-notify-watch-descriptor-hash-list'.
674 (auto-revert-notify-add-watch): Check for
675 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
676 `inotify-add-watch'. Watch `default-directory' instead of
677 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
678 has a changed meaning now. (Bug#13540)
679 (auto-revert-notify-handler): Change implementation wrt events
680 returning from a directory.
681 (auto-revert-handler): Reorder implementation for checks of remote
682 files.
683 (auto-revert-buffers): Fix parentheses error.
684
685 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
686
687 * progmodes/python.el: Enhancements to header documentation about
688 skeletons. (Bug#5716)
689
690 * imenu.el (imenu-default-create-index-function): Remove useless
691 infinite loop check. (Bug#13438)
692
693 2013-01-25 Alan Mackenzie <acm@muc.de>
694
695 Fix a bug in the state cache mechanism. Refactor this a bit.
696
697 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
698 `cache-pos' element from the return value.
699 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
700 buffer to enable proper searching from beyond HERE. Amend the
701 test for detecting the sought brace pair. Amend the value written
702 to the "brace desert cache" when the brace isn't found.
703 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
704 and several other variables analogously.
705 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
706 parameter to a locally calculated variable.
707 (c-parse-state-1): Change the calling conventions to the two
708 defuns involving `cache-pos'.
709
710 2013-01-25 Chong Yidong <cyd@gnu.org>
711
712 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
713
714 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
715
716 * paren.el (show-paren-function): Make sure to set 'priority and
717 'face only if the overlay does exist.
718
719 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
720
721 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
722
723 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
724 basic attributes.
725 (tramp-sh-handle-set-file-acl): Improve error checking.
726
727 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
728
729 * doc-view.el (doc-view-display): Force mode line update until all
730 document is converted. Suggested by Stefan Monnier (Bug#13164).
731
732 2013-01-23 Bastien Guerry <bzg@gnu.org>
733
734 * paren.el (show-paren-function): Make sure an overlay exists
735 before trying to delete it. Also use `pos' as a position only
736 when it is an integer.
737
738 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
739
740 * play/gametree.el (gametree-break-line-here): Use point-marker.
741
742 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
743
744 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
745 Mark descriptive parts with `display' property.
746
747 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
748
749 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
750 New variable to map standard dict names to hunspell ones.
751 (ispell-set-spellchecker-params): Make sure specific dict names
752 are used for standard dicts with hunspell.
753
754 2013-01-21 Tassilo Horn <tsdh@gnu.org>
755
756 * textmodes/reftex-cite.el (reftex-format-citation): Add format
757 chars for note (%N) and url (%U).
758 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
759
760 2013-01-21 Juri Linkov <juri@jurta.org>
761
762 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
763 in addition to existing separate binding `meta f10' in `global-map'.
764 (Bug#13484)
765
766 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
767
768 Improve XEmacs compatibility.
769
770 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
771
772 * net/tramp-adb.el (top): Require `time-date'.
773 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
774 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
775 Use `tramp-file-name-handler'.
776 (tramp-adb-maybe-open-connection):
777 Use `tramp-compat-set-process-query-on-exit-flag'.
778
779 * net/tramp-sh.el (tramp-sh-handle-file-acl):
780 Use `tramp-compat-funcall'.
781
782 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
783 `tramp-compat-funcall'.
784
785 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
786
787 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
788 reimplementation using "adb shell command ..." instead of running
789 remote shell interactively.
790
791 2013-01-20 Glenn Morris <rgm@gnu.org>
792
793 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
794 Add native profiler menu entries.
795
796 * profiler.el (profiler-running-p): New function.
797 (profiler-cpu-profile): Use profiler-running-p.
798 (profiler-report-mode-map): Add some more menu entries.
799
800 2013-01-19 Glenn Morris <rgm@gnu.org>
801
802 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
803 fixes 2012-12-07 change. (Bug#13499)
804
805 2013-01-19 Leo Liu <sdl.web@gmail.com>
806
807 * dired.el (dired-get-marked-files): Prune erroneous values due to
808 last change. (Bug#13152)
809
810 2013-01-19 Glenn Morris <rgm@gnu.org>
811
812 * progmodes/etags.el (tags-table-check-computed-list):
813 Preserve point in tags buffer. (Bug#13412)
814
815 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
816
817 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
818 Chong Yidong <cyd@gnu.org>
819
820 * image-mode.el (image-next-file, image-previous-file):
821 New commands (Bug#8453).
822 (image-mode-map): Bind them to n and p.
823 (image-mode--images-in-directory): New helper function.
824
825 2013-01-19 Chong Yidong <cyd@gnu.org>
826
827 * image-mode.el (image-mode-fit-frame): Add a frame argument.
828 Suggested by Drew Adams (Bug#7730). Handle window decorations;
829 save and restore the old window configuration.
830
831 2013-01-18 Leo Liu <sdl.web@gmail.com>
832
833 * progmodes/js.el: Tweak autoload cookie for alias.
834
835 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
836
837 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
838 buffer local, again. This was lost with the fix on 2013-01-12.
839
840 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
841
842 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
843 order to support several eshell buffers in parallel.
844
845 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
846
847 * autorevert.el (auto-revert-use-notify): In the :set function, do
848 not modify `kill-buffer-hook'.
849 (auto-revert-notify-rm-watch):
850 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
851 (auto-revert-notify-add-watch): Do not call
852 `auto-revert-notify-rm-watch', but add it to a buffer local
853 `kill-buffer-hook'.
854
855 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
858 call to `eval' rather than a backquoted lambda.
859
860 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
863 to return an explicit nil.
864 (advice--remove-function): Change accordingly.
865
866 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
867 the use of nadvice.el.
868
869 * progmodes/which-func.el (which-function): Silence imenu errors
870 (bug#13433).
871
872 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
873
874 * progmodes/sql.el: (sql-imenu-generic-expression):
875 (sql-mode-font-lock-object-name): Match schema qualified names.
876 (sql-connect): Use string keys.
877 (sql-product-interactive): Wait for interpreter prompt.
878 (sql-comint-oracle): Set process coding based on NLS_LANG.
879
880 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
881
882 * progmodes/sql.el (sql-output-to-send): Remove, unused.
883 (sql-interactive-remove-continuation-prompt):
884 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
885
886 2013-01-14 Leo Liu <sdl.web@gmail.com>
887
888 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
889 (Bug#13420)
890
891 2013-01-14 Glenn Morris <rgm@gnu.org>
892
893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
894 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
895
896 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
897
898 * progmodes/python.el (python-nav-end-of-statement):
899 Fix cornercase when handling multiline strings.
900
901 2013-01-13 Richard Stallman <rms@gnu.org>
902
903 * mail/sendmail.el (mail-position-on-field): Add doc string.
904
905 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
906 Get current message boundaries and pass them to
907 message-forward-make-body-mime. Minor style changes.
908
909 2013-01-13 Eli Zaretskii <eliz@gnu.org>
910
911 * cus-start.el (all): Avoid warnings about
912 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
913
914 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
915
916 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
917
918 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
919
920 * jit-lock.el (jit-lock-debug-mode): New minor mode.
921 (jit-lock--debug-fontifying): New var.
922 (jit-lock--debug-fontify): New function.
923 * subr.el (condition-case-unless-debug): Don't prevent catching the
924 error, just let the debbugger run.
925 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
926 timer code and don't drop errors silently.
927
928 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
929
930 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
931 `permanent-local' property.
932 (auto-revert-notify-handler): Use `file-equal-p'.
933
934 2013-01-12 Eli Zaretskii <eliz@gnu.org>
935
936 * autorevert.el (auto-revert-notify-handler): Fix filtering of
937 file notification by ACTION. For filtering by file name, compare
938 only the non-directory part of the file name.
939
940 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * autorevert.el: Use cl-lib instead of cl.
943
944 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
945 (vc-bzr-checkin): Use it.
946 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
947 will preserve match-data.
948
949 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
950
951 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
952 (js--declaration-keyword-re): New var.
953 (js--multi-line-declaration-indentation): New function.
954 (js--proper-indentation): Use it.
955
956 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
957
958 * calc/calc.el (calc-highlight-selections-with-faces)
959 (calc-dispatch):
960 * comint.el (comint-history-isearch-message):
961 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
962 * ffap.el (ffap-string-at-point-region, ffap-next)
963 (ffap-string-at-point, ffap-string-around)
964 (ffap-copy-string-as-kill, ffap-highlight-overlay)
965 (ffap-literally):
966 * font-lock.el (font-lock-keywords-alist)
967 (font-lock-removed-keywords-alist):
968 * help-mode.el (help-xref-symbol-regexp):
969 * info.el (Info-find-emacs-command-nodes):
970 * international/mule.el (add-to-coding-system-list):
971 * isearch.el (isearch-message-function, isearch-fail-pos):
972 * misearch.el (multi-isearch-next-buffer-function):
973 * newcomment.el (comment-box):
974 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
975 (pr-setting-database):
976 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
977 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
978 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
979 (pike-font-lock-keywords-3):
980 * progmodes/compile.el (compile):
981 * progmodes/etags.el (tags-table-files)
982 (tags-table-files-function, tags-included-tables-function):
983 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
984 (gdb-restore-windows):
985 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
986 (ps-n-up-filling-database):
987 * server.el (server-buffer, server-log):
988 * simple.el (newline, delete-backward-char, delete-forward-char)
989 (minibuffer-history-isearch-message, kill-line, track-eol)
990 (temporary-goal-column):
991 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
992 (flyspell-default-deplacement-commands):
993 * textmodes/ispell.el (ispell-accept-output):
994 * textmodes/sgml-mode.el (html-tag-help):
995 * vc/compare-w.el (compare-ignore-whitespace)
996 (compare-ignore-case, compare-windows-dehighlight):
997 * vc/diff.el (diff):
998 * whitespace.el (whitespace-point)
999 (whitespace-font-lock-refontify, whitespace-bob-marker)
1000 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1001
1002 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1003
1004 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1005 (auto-revert-notify-rm-watch): Ignore errors.
1006 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1007 inotify, and '(size last-write-time) for w32notify.
1008 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1009 watch fails - this is a fallback to the file modification check.
1010 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1011 (auto-revert-notify-event-action)
1012 (auto-revert-notify-event-file-name): New defuns.
1013 (auto-revert-notify-handler): Use them. Implement first
1014 plausibility checks.
1015 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1016
1017 2013-01-11 Julien Danjou <julien@danjou.info>
1018
1019 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1020 max are almost equal. Also return the correct value for V which is
1021 already between 0 and 1.
1022
1023 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1024
1025 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1026
1027 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1028
1029 * autorevert.el (auto-revert-notify-rm-watch)
1030 (auto-revert-notify-add-watch): Fix typos in w32notify function
1031 names.
1032
1033 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1034
1035 * autorevert.el (auto-revert-notify-enabled): Move up.
1036 (auto-revert-use-notify): New defcustom.
1037 (auto-revert-mode, global-auto-revert-mode)
1038 (auto-revert-notify-add-watch, auto-revert-handler)
1039 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1040 `auto-revert-notify-enabled'.
1041
1042 2013-01-10 Elias Pipping <pipping@exherbo.org>
1043
1044 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1045 * doc-view.el (doc-view-document->bitmap):
1046 Use doc-view-single-page-converter-function instead of
1047 single-page-converter arg; adjust callers.
1048
1049 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1050
1051 * progmodes/which-func.el (which-function): Understand Semantic's use
1052 of overlays in imenu--index-alist.
1053
1054 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1055
1056 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1057 (Man-man-k-use-anchor): New var.
1058 (Man-parse-man-k): New function.
1059 (Man-completion-table): Use it.
1060 (man): Flush the completion cache between uses.
1061
1062 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * autorevert.el: Add file watch support.
1065 (auto-revert-notify-enabled): New defconst.
1066 (auto-revert-notify-watch-descriptor-hash-list)
1067 (auto-revert-notify-watch-descriptor)
1068 (auto-revert-notify-modified-p): New defvars.
1069 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1070 (auto-revert-notify-handler): New defuns.
1071 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1072 when mode is disabled.
1073 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1074 (auto-revert-buffers): Add file watches for active buffers.
1075
1076 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1077
1078 * cus-start.el (toplevel): Only allow float values for
1079 scroll-up-aggressively and scroll-down-aggressively.
1080 Allow any number for line-spacing.
1081
1082 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1085 (doc-view-pdf->png-converter-function): Use mupdf if available.
1086 (doc-view-djvu->png-converter-function)
1087 (doc-view-ps->png-converter-function): Remove.
1088 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1089 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1090 (doc-view-already-converted-p): Adjust accordingly.
1091 (doc-view-mode-p): Simplify.
1092 (doc-view-enlarge): Use setq-local.
1093 (doc-view-pdf->png-converter-ghostscript)
1094 (doc-view-djvu->png-converter-ddjvu)
1095 (doc-view-pdf->png-converter-mupdf): Rework to call
1096 doc-view-start-process directly.
1097 (doc-view-pdf/ps->png): Simplify accordingly.
1098 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1099 (doc-view-document->bitmap): Rename from doc-view-document->png.
1100 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1101 (doc-view-set-slice-from-bounding-box): Fix completion table.
1102 (doc-view-mode): Use add-hook for after-revert-hook.
1103
1104 2013-01-10 Glenn Morris <rgm@gnu.org>
1105
1106 * emacs-lisp/authors.el (authors-ignored-files)
1107 (authors-valid-file-names, authors-renamed-files-alist):
1108 Add some more entries.
1109
1110 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1113 `t' pseudo-window entry.
1114
1115 2013-01-10 Alan Mackenzie <acm@muc.de>
1116
1117 Fix bugs in the c-parse-state mechanism. Reuse some markers
1118 instead of continually generating new ones.
1119
1120 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1121 (c-state-old-cpp-end-marker): New variables.
1122 (c-append-lower-brace-pair-to-state-cache): Start a backward
1123 search for "}" definitively outside CPP constructs.
1124 (c-remove-stale-state-cache): Inform the caller of a need to
1125 search back for a brace pair in certain circumstances.
1126 (c-state-maybe-marker): New macro.
1127 (c-parse-state): Reuse markers when appropriate.
1128
1129 2013-01-10 Glenn Morris <rgm@gnu.org>
1130
1131 * simple.el (execute-extended-command): Doc fix.
1132 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1133
1134 2013-01-10 Chong Yidong <cyd@gnu.org>
1135
1136 * faces.el (read-face-name): Doc fix.
1137
1138 2013-01-10 Roland Winkler <winkler@gnu.org>
1139
1140 * emacs-lisp/crm.el: Allow any regexp for separators.
1141 (crm-default-separator): All spaces around the default comma separator.
1142 (crm--completion-command): New macro.
1143 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1144 (crm-complete-and-exit): Handle non-single-char separators.
1145
1146 2013-01-09 Elias Pipping <pipping@lavabit.com>
1147
1148 * doc-view.el: Add support for DjVu (bug#13164).
1149 (doc-view-djvu->png-converter-function): New config var.
1150 (doc-view-single-page-converter-function, doc-view--image-type)
1151 (doc-view--image-file-extension): New vars.
1152 (doc-view-mode): Initialize them.
1153 (doc-view-goto-page): Use them.
1154 (doc-view-mode-p): Add support for ddjvu.
1155 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1156 (doc-view-set-up-single-converter): New funs.
1157 (doc-view-pdf/ps->png): Extend for djvu.
1158 (doc-view-document->png): Rename from doc-view-pdf->png.
1159 (doc-view-convert-current-doc): Handle djvu.
1160 (doc-view-insert-image, doc-view-display)
1161 (doc-view-already-converted-p): Don't hardcode png.
1162 (doc-view-set-doc-type): Recognize djvu docs.
1163
1164 2013-01-09 Elias Pipping <pipping@lavabit.com>
1165
1166 * doc-view.el: Add support for mupdf converter (bug#13164).
1167 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1168 (doc-view-ps->png-converter-function): New config vars.
1169 (doc-view-pdf->png-converter-ghostscript)
1170 (doc-view-ps->png-converter-ghostscript)
1171 (doc-view-pdf->png-converter-mupdf): New functions.
1172 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1173
1174 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1175
1176 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1177 first in session cache: When `tramp-own-remote-path' is in
1178 `tramp-remote-path', the remote path is only set in the session
1179 cache.
1180
1181 2013-01-09 Glenn Morris <rgm@gnu.org>
1182
1183 * emacs-lisp/trace.el (trace-function-foreground)
1184 (trace-function-background): Doc fix.
1185
1186 2013-01-09 Juri Linkov <juri@jurta.org>
1187
1188 * international/mule-cmds.el (read-char-by-name): Move let-binding
1189 of completion-ignore-case around completing-read to fix regression
1190 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1191 `string-match-p' using the nil value of `case-fold-search' and
1192 `completion-ignore-case' in `completion-pcm--all-completions'.
1193 (Bug#12615).
1194
1195 2013-01-09 Glenn Morris <rgm@gnu.org>
1196
1197 * progmodes/compile.el (compilation-parse-errors):
1198 Fix typo. (Bug#13369)
1199
1200 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1201
1202 * comint.el (comint-send-input): Check size of buffer before
1203 waiting for process output, in case already accepted. (Bug#13290)
1204
1205 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1206
1207 Spelling fixes.
1208 * net/tramp-adb.el (tramp-adb-get-toolbox):
1209 Fix misspelling of 'unknown'.
1210
1211 2013-01-08 Juri Linkov <juri@jurta.org>
1212
1213 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1214 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1215 Use underline style wave on terminals that support it. (Bug#13000)
1216
1217 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1220 the predicate returns nil.
1221
1222 * simple.el: Use lexical-binding.
1223 (primitive-undo): Use pcase.
1224 (minibuffer-history-isearch-push-state): Use a closure.
1225
1226 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1227
1228 * simple.el (primitive-undo): Move from undo.c.
1229
1230 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1233 (cvs-mode-remove-handled): Use it (bug#13380).
1234
1235 * emacs-lisp/nadvice.el (advice--tweak): New function.
1236 (advice--remove-function, advice--subst-main): Use it.
1237
1238 * emacs-lisp/advice.el: Update commentary.
1239
1240 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1241
1242 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1243 Remove spurious entry.
1244
1245 2013-01-08 Glenn Morris <rgm@gnu.org>
1246
1247 * net/tramp.el (tramp-default-host-alist): Add :version.
1248
1249 2013-01-08 Juri Linkov <juri@jurta.org>
1250
1251 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1252 single completion. (Bug#12456)
1253 (info--manual-names): Expand node completions into an explicit list
1254 before appending it to another list. Filter out internal buffers
1255 with the leading space in the buffer name. (Bug#10771)
1256
1257 2013-01-08 Juri Linkov <juri@jurta.org>
1258
1259 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1260 that defaults to the Top node.
1261 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1262 the short format (FILENAME) goes to the Top node.
1263 (Info-build-node-completions): Rename arg `file' to `filename'.
1264 (Bug#13365)
1265
1266 2013-01-07 Bastien Guerry <bzg@gnu.org>
1267
1268 * menu-bar.el (menu-bar-search-documentation-menu):
1269 Use `apropos-user-option' and fix the help message.
1270
1271 2013-01-07 Bastien Guerry <bzg@gnu.org>
1272
1273 * apropos.el (apropos-do-all): Update docstring.
1274 (apropos-user-option-button): New face.
1275 (apropos-user-option): Rename from `apropos-variable' and update
1276 docstring.
1277 (apropos-variable): Rewrite, now show all variables by default.
1278 (apropos-print): Mention "User option" instead of "Variable" when
1279 printing doc for user options. (Bug#13276)
1280
1281 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1282
1283 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1284 Handle filename correctly, when parsing "source -> target" symlink
1285 output.
1286 (tramp-adb-handle-set-file-times): New defun.
1287
1288 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1291 advice list when the interactive-spec of ad-Advice-* changes.
1292
1293 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1294
1295 * wid-edit.el (widget-default-get): Work for inlined elements.
1296 (Bug#12670)
1297
1298 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1299
1300 * net/tramp.el (tramp-default-host-alist): New defcustom.
1301 (tramp-find-host): Use it.
1302 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1303 `eshell-directory-change-hook'.
1304
1305 * net/tramp-adb.el (top): Add adb specific entry in
1306 `tramp-default-host-alist'.
1307 (tramp-adb-file-name-host): Remove function.
1308 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1309 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1310
1311 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1312
1313 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1314
1315 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1316
1317 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1320 consist of more than one digit.
1321 (tramp-adb-file-name-handler-alist):
1322 Use `tramp-handle-file-exists-p' consistently.
1323 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1324 (tramp-adb-handle-file-exists-p): Remove function.
1325 (tramp-adb-file-name-host): New defun.
1326 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1327 Use it.
1328 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1329
1330 2013-01-06 Chong Yidong <cyd@gnu.org>
1331
1332 * vc/vc.el (vc-next-action): Detect buffer modifications
1333 conflicting with locking VCS operation (Bug#11490).
1334
1335 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1336
1337 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1338
1339 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1340 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1341
1342 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1343
1344 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1345 parsing of ls output using regular expression (handle filenames
1346 with spaces). Use virtual device number.
1347 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1348 cleanup).
1349
1350 2013-01-04 Daiki Ueno <ueno@gnu.org>
1351
1352 * epg.el: Silence byte-compiler warnings.
1353 (epg--start): Use delete-char instead of delete-backward-char.
1354 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1355
1356 2013-01-04 Daiki Ueno <ueno@gnu.org>
1357
1358 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1359 Suggested by Eli Zaretskii <eliz@gnu.org>.
1360
1361 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1362
1363 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1364 non-negative integers. Otherwise, the default values are used.
1365 (tramp-convert-file-attributes): Convert uid and gid to integers.
1366
1367 2013-01-04 Glenn Morris <rgm@gnu.org>
1368
1369 * term.el (term-handle-colors-array): Ensure face attributes
1370 are fully specified, not nil. (Bug#13337)
1371
1372 * term.el (term-default-fg-color, term-default-bg-color):
1373 Fix custom type.
1374
1375 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1376 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1377 rather than 'jka-compr being loaded. (Bug#13338)
1378
1379 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1380
1381 * icomplete.el (icomplete-completions):
1382 Honor icomplete-prospects-height once more following
1383 2012-11-29 changes. (Bug#13224)
1384
1385 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1386
1387 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1388 of called-interactively-p as well (bug#13237).
1389
1390 * view.el (view--enable, view--disable): Rename from view-mode-enable
1391 and view-mode-disable and assume it's called from view-mode.
1392 (view-mode-enable, view-mode-disable): Redefine as obsolete
1393 compatibility layer above view-mode.
1394 (view-mode-enter): Call `view-mode'.
1395
1396 * files.el (after-find-file): Call `view-mode'.
1397
1398 * doc-view.el (doc-view-scale-internally): New var.
1399 (doc-view-enlarge, doc-view-insert-image): Obey it.
1400
1401 2013-01-03 Daiki Ueno <ueno@gnu.org>
1402
1403 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1404 exist. (Bug#13344)
1405
1406 2013-01-03 Glenn Morris <rgm@gnu.org>
1407
1408 * mail/rmail.el (rmail-set-header-1): Ignore case.
1409 Handle multi-line headers. (Bug#13330)
1410
1411 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1412 Handle paragraph starting at beginning of buffer.
1413
1414 * subr.el (eval-after-load): Don't purecopy the form, so that it
1415 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1416
1417 * emacs-lisp/byte-run.el (defun): Place cl declarations
1418 after any interactive spec. (Bug#13265)
1419
1420 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1421
1422 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1423 defun. Don't check for DECL if DOCSTRING isn't a string.
1424 (defun): Likewise.
1425
1426 2013-01-02 Glenn Morris <rgm@gnu.org>
1427
1428 * eshell/em-cmpl.el (eshell-pcomplete):
1429 More thoroughly imitate pcomplete. (Bug#13293)
1430
1431 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1432 Return nil for empty path elements. (Bug#13296)
1433
1434 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1435
1436 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1437 order to improve efficiency (Based on Daniel Colascione's
1438 <dancol@dancol.org> patch). (Bug#13182)
1439
1440 2013-01-02 Glenn Morris <rgm@gnu.org>
1441
1442 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1443
1444 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1445
1446 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1447 neither DOCSTRING nor DECL was given. (Bug#13316)
1448
1449 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1452 `error' call.
1453 (tramp-do-copy-or-rename-file): Ignore errors when calling
1454 `set-file-extended-attributes'.
1455
1456 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1457 Add handler for `file-acl'.
1458 (tramp-smb-handle-file-acl): New defun.
1459
1460 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1461
1462 * calc/README: Mention ISO 8601 week-numbering dates.
1463
1464 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1465
1466 * view.el (view-mode-enable): New argument run-view-mode-hook.
1467 Run view-mode-hook only when it's non-nil (Bug#13315).
1468 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1469 argument t.
1470
1471 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1472
1473 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1474 (No device connected, invalid device name). (Bug #13299)
1475
1476 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1477
1478 * window.el (window-resizable--p): Rename to window-resizable-p.
1479 (window-resize-no-error): New function.
1480
1481 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1482 broken in fix from 2012-12-28.
1483
1484 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * subr.el (special-form-p): Don't signal errors on undef aliases.
1487
1488 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1489
1490 * calc/calc-forms.el (math-parse-date): Try using
1491 `math-parse-iso-date' when it looks like it might be needed.
1492 Allow times of 24:00.
1493 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1494 of 24:00.
1495
1496 2012-12-30 Glenn Morris <rgm@gnu.org>
1497
1498 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1499 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1500 (rmail-summary-displayed, rmail-summary): Declare.
1501 (mairix-rmail-display): Just require rmail.
1502
1503 2012-12-30 Chong Yidong <cyd@gnu.org>
1504
1505 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1506 check for the tarball contents.
1507
1508 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1509
1510 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1511 tarfile content listings (Bug#13136).
1512
1513 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1514
1515 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1516 Insert the undecoded text of the message being forwarded. (Bug#9521)
1517
1518 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1519
1520 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1521 integers, if they are real numbers. (Bug#13282)
1522
1523 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1524 Return `t' on success.
1525
1526 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1527 Add handler for `set-file-selinux-context'.
1528
1529 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1532 (tramp-sh-handle-set-file-acl): Return `t' on success.
1533
1534 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1535
1536 * files.el (backup-buffer-copy, basic-save-buffer-2):
1537 If set-file-extended-attributes fails, fall back on set-file-modes
1538 instead of signaling an error. (Bug#13298)
1539 (basic-save-buffer): Likewise.
1540
1541 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1542
1543 * progmodes/python.el: Support other commands triggering
1544 python-indent-line so indentation cycling continues to work.
1545 (python-indent-trigger-commands): New defcustom.
1546 (python-indent-line): Use it.
1547
1548 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1549
1550 * progmodes/python.el (python-shell-send-region): Add blank lines
1551 for non sent code so backtraces remain correct.
1552
1553 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1554
1555 * progmodes/python.el: Remove cl dependency.
1556 (python-syntax-count-quotes): Replace incf call.
1557 (python-fill-string): Replace setf call.
1558
1559 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1560
1561 * info.el (info-other-window): New arg, for consistency with info.
1562
1563 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1564
1565 * mail/rmail.el (rmail-maybe-display-summary):
1566 Rewrite (Bug#13066).
1567
1568 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1569
1570 * epg.el (epg--start): Modify process-environment locally.
1571
1572 2012-12-28 Daiki Ueno <ueno@gnu.org>
1573
1574 * epg.el: Support pinentry-curses.
1575 Suggested by Werner Koch in
1576 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1577 (epg-agent-file, epg-agent-mtime): New variable.
1578 (epg--start): Record the modified time of gpg-agent socket file,
1579 to restore Emacs frame after pinentry-curses termination.
1580 (epg-wait-for-completion): Restore Emacs frame here.
1581
1582 2012-12-27 Juri Linkov <juri@jurta.org>
1583
1584 * info.el (Info-file-completions): New variable.
1585 (Info-read-node-name-1): Complete node names in the Info file
1586 when a file name is given. Call `Info-build-node-completions'
1587 with a file name.
1588 (Info-build-node-completions): Add new arg `file'. When it is
1589 non-nil, visit it in a temporary buffer and cache its completions in
1590 `Info-current-file-completions'. Move most of the function body to
1591 `Info-build-node-completions-1'.
1592 (Info-build-node-completions-1): New function with the body from
1593 `Info-build-node-completions'. (Bug#12456)
1594
1595 2012-12-27 Juri Linkov <juri@jurta.org>
1596
1597 * frame.el (frame-maximization-style): Remove user option.
1598 (cycle-frame-maximized): Remove function.
1599 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1600 (toggle-frame-fullscreen): New command bound to <f11> instead of
1601 `toggle-frame-maximized'.
1602 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1603
1604 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1605
1606 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1607
1608 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1609 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1610 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1611 for `file-accessible-directory-p'. (Bug#13275)
1612
1613 2012-12-27 Sam Steingold <sds@gnu.org>
1614
1615 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1616 continuations, see <http://stackoverflow.com/questions/3582436>.
1617
1618 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1619
1620 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1621 "module" and "def" to have indentation before them.
1622 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1623
1624 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1625
1626 2012-12-27 Alan Mackenzie <acm@muc.de>
1627
1628 Speed up fontification where there's large brace blocks.
1629 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1630 to a call of c-beginning-of-decl-1.
1631
1632 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1633
1634 * comint.el (comint-adjust-window-point): New function.
1635 (comint-postoutput-scroll-to-bottom):
1636 Call comint-adjust-window-point (Bug#13248).
1637
1638 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1639
1640 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1641 Rakefile regexp.
1642 (auto-mode-alist): Associate .gemspec files with ruby-mode
1643 (https://bugs.ruby-lang.org/issues/5453).
1644
1645 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1646
1647 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1648 Suppress coloring, if possible (required for BusyBox based systems like
1649 CyanogenMod).
1650 (tramp-adb-handle-file-attributes)
1651 (tramp-adb-handle-insert-directory)
1652 (tramp-adb-handle-file-name-all-completions): Use it.
1653 (tramp-adb-get-toolbox): New defun. Check for remote shell
1654 implementation (BusyBox or Toolbox).
1655
1656 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1657
1658 * startup.el (initial-buffer-choice): Allow function as value
1659 (Bug#13251).
1660 (command-line-1): Handle case where initial-buffer-choice
1661 specifies a function.
1662 * server.el (server-execute): Handle case where
1663 initial-buffer-choice specifies a function.
1664
1665 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1666
1667 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1668 its own function.
1669 (smtpmail-try-auth-methods): Forget the user name/password if the
1670 login is unsuccessful (bug#12424).
1671
1672 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1673
1674 * notifications.el (notifications-notify): Protect body with
1675 `with-demoted-errors'.
1676
1677 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1678 Check properties of remote device. Restart connection, if there is a
1679 change.
1680
1681 2012-12-21 Chong Yidong <cyd@gnu.org>
1682
1683 * sort.el (sort-subr): Doc fix (Bug#13056).
1684
1685 2012-12-21 Bastien Guerry <bzg@gnu.org>
1686
1687 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1688
1689 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * simple.el (process-file): Overwrite stderr file, if exists.
1692
1693 2012-12-21 Daiki Ueno <ueno@gnu.org>
1694
1695 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1696 (epg-error): Set `error-message' property.
1697
1698 2012-12-21 Chong Yidong <cyd@gnu.org>
1699
1700 * international/mule-cmds.el (read-char-by-name): Signal an error
1701 if the user does not supply a valid character (Bug#13177).
1702
1703 * simple.el (transpose-subr-1): Preserve marker positions by
1704 changing the insertion sequence (Bug#13122).
1705
1706 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1707
1708 * simple.el (kill-region): Deactivate mark even for empty regions
1709 (Bug#13169).
1710
1711 2012-12-21 Chong Yidong <cyd@gnu.org>
1712
1713 * help-fns.el (describe-variable): Make sure we get the right
1714 buffer name (Bug#13105). Suggested by Kelly Dean.
1715
1716 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1717
1718 * comint.el (comint-redirect-previous-input-string): New variable.
1719 (comint-redirect-setup, comint-redirect-cleanup)
1720 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1721 (comint-redirect-preoutput-filter): Fix verbose message.
1722
1723 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1724
1725 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1726 is too long for Tramp. See discussion in
1727 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1728
1729 * progmodes/compile.el (compilation-start): Remove line escape
1730 template.
1731
1732 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1733
1734 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1735 Adjust comment.
1736
1737 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1738
1739 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1740 following non-comment text (bug#13207).
1741 (lm-header-multiline): Continuation lines need to be indented more than
1742 the first line.
1743 (lm-homepage): New function.
1744 (lm-with-file): Don't be confused if narrowing is in effect.
1745
1746 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1749 very beginning of a hunk (e.g. killing the first line).
1750
1751 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1752
1753 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1754 and text properties from returned ACL string.
1755 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1756 for "setfacl" command.
1757
1758 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1759
1760 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1761 `tramp-cleanup-this-connection', when the process has died.
1762 (Bug#13151)
1763
1764 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1767
1768 2012-12-17 Kevin Ryde <user42@zip.com.au>
1769
1770 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1771
1772 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1773
1774 Add support for preserving ACL entries of files.
1775
1776 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1777 `set-file-acl' handlers.
1778
1779 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1780 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1781
1782 * net/tramp-compat.el (tramp-compat-copy-file):
1783 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1784
1785 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1786 Add `file-acl' and `set-file-acl' handlers.
1787 (tramp-gvfs-handle-copy-file):
1788 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1789 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1790 New defuns.
1791
1792 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1793 Add `file-acl' and `set-file-acl' handlers.
1794 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1795 (tramp-sh-handle-set-file-acl): New defuns.
1796 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1797 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1798
1799 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1800 Add `file-acl' and `set-file-acl' handlers.
1801 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1802
1803 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1804
1805 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1806 use pop-to-buffer with NORECORD argument t. As buffer name, use
1807 *Metahelp* with a leading space (Bug#13190).
1808
1809 2012-12-16 Romain Francoise <romain@orebokech.com>
1810
1811 * files.el (file-extended-attributes)
1812 (set-file-extended-attributes): New functions.
1813 (backup-buffer): Use them to handle both SELinux context and ACL
1814 entries.
1815 (backup-buffer-copy): Work with an alist of extended attributes,
1816 rather than an SELinux context.
1817 (basic-save-buffer-2): Ditto.
1818
1819 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1820
1821 * battery.el (battery-bsd-apm): New function.
1822
1823 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1824
1825 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1826 standard date formats.
1827
1828 2012-12-15 Juri Linkov <juri@jurta.org>
1829
1830 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1831 `isearch-insert-char-by-name'.
1832 (with-isearch-suspended): New defmacro with body mostly from
1833 `isearch-edit-string' except the part that sets
1834 `isearch-new-string' and `isearch-new-message'.
1835 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1836 body that sets `isearch-new-string' and `isearch-new-message'.
1837 (isearch-insert-char-by-name): New command.
1838 * international/mule-cmds.el (read-char-by-name): Let-bind
1839 `enable-recursive-minibuffers' to t.
1840 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1841
1842 2012-12-15 Juri Linkov <juri@jurta.org>
1843
1844 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1845 (Bug#13175)
1846
1847 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1848
1849 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1850 the prompt. (Bug#13045)
1851
1852 2012-12-14 Glenn Morris <rgm@gnu.org>
1853
1854 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1855 Try to include filename in non-bytecomp warning. (Bug#13132)
1856
1857 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1858
1859 Fix permissions bugs with setgid directories etc. (Bug#13125)
1860 * files.el (backup-buffer): Don't rely on 9th output of
1861 file-attributes, as it's now a placeholder. Instead, use the new
1862 optional arg of file-ownership-preserved-p.
1863 (file-ownership-preserved-p): New optional arg GROUP.
1864 Fix mishandling of setuid directories that would cause this
1865 function to return t when it should have returned nil.
1866 Document what happens if the file does not exist, and when
1867 it's not known whether the ownership will be preserved.
1868 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1869 Likewise.
1870 (tramp-get-local-gid): Use group-gid for integer, as that's
1871 faster and more reliable.
1872
1873 2012-12-14 Julien Danjou <julien@danjou.info>
1874
1875 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1876 Update keywords list, data type and PL/pgSQL.
1877
1878 2012-12-14 Dave Abrahams <dave@boostpro.com>
1879
1880 * vc/ediff-util.el (ediff-buffer-type): New function.
1881 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1882 rather than taking it as as argument.
1883 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1884
1885 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1886
1887 * json.el: Add pretty-print option (bug#12634).
1888 (json-encoding-separator, json-encoding-default-indentation)
1889 (json--encoding-current-indentation, json-encoding-pretty-print)
1890 (json-encoding-lisp-style-closings): New vars.
1891 (json--with-indentation): New macro.
1892 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1893 (json-encode-array): Use it to obey json-encoding-pretty-print.
1894 (json-pretty-print-buffer, json-pretty-print): New commands.
1895
1896 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1897
1898 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1899 Extract `ruby-syntax-propertize-expansions'.
1900 (ruby-syntax-propertize-expansions): Only change syntax on
1901 certain string delimiters, to punctuation. This way the common
1902 functions like forward-word and thing-at-point still work.
1903 (ruby-match-expression-expansion): Improve readability.
1904 (ruby-block-contains-point): New function.
1905 (ruby-add-log-current-method): Handle several edge cases.
1906
1907 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1908
1909 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1910 unload-feature finishes even when aborting an ongoing edebug session.
1911 Also, do not worry about edebug-mode, unload-feature takes care of it.
1912
1913 2012-12-13 Andreas Schwab <schwab@suse.de>
1914
1915 * net/tls.el (tls-program): Update customize type.
1916
1917 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1918
1919 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1920 (edebug-setup-hook, cl-read-load-hooks): Use it.
1921 (edebug-unload-function): New function. (Bug#13163)
1922
1923 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1924
1925 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1926 Otherwise, there could be errors in autoloading. (Bug#13151)
1927
1928 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1929
1930 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1931 sequences.
1932
1933 2012-12-13 Alan Mackenzie <acm@muc.de>
1934
1935 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1936 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1937 around `forward-comment' not recognizing ^M as whitespace.
1938
1939 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1940
1941 * progmodes/python.el (python-skeleton-class)
1942 (python-skeleton-def): Do not add space after defun name.
1943
1944 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1947 (cl--symbol-function): Remove (now that funbound is like nil).
1948
1949 2012-12-12 Glenn Morris <rgm@gnu.org>
1950
1951 * button.el (button--area-button-p): Fix typo.
1952
1953 2012-12-12 Sam Steingold <sds@gnu.org>
1954
1955 * frame.el (frame-maximization-style): New user option.
1956 (toggle-frame-maximized): Toggle frame maximization according to
1957 `frame-maximization-style', bound to <f11>.
1958 (cycle-frame-maximized): Cycle between all maximization styles and
1959 non-maximized frame, bound to shift-<f11>.
1960
1961 2012-12-12 David Cadé <codename68@gmail.com>
1962
1963 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1964
1965 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1966
1967 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1968 (eieio-override-prin1): Don't quote kewords and booleans.
1969 (object-write) <eieio-default-superclass>: Don't put closing parens
1970 on new line, avoid needless empty lines, align values that are objects
1971 with the slot keyword (instead of beginning on the same line).
1972 (eieio-list-prin1): Align value with slot keyword; increase
1973 eieio-print-depth before printing members of the list.
1974
1975 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1978 a display text-property.
1979 (report-emacs-bug-hook): Don't bother deleting it any more.
1980
1981 * hilit-chg.el (highlight-save-buffer-state): Delete.
1982 Use with-silent-modifications instead.
1983 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1984
1985 * button.el: Handle buttons in display text-properties.
1986 (button--area-button-p, button--area-button-string):
1987 Use (STRING . STRING-POS) representation instead of just STRING.
1988
1989 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1990
1991 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1992 subdirectory be skipped.
1993
1994 2012-12-11 Glenn Morris <rgm@gnu.org>
1995
1996 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1997
1998 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1999 Treat preprocessor lines embedded in continuations like comments.
2000 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2001
2002 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2003
2004 * calc/calc.el (calc-standard-date-formats): Add more date
2005 formats.
2006 * calc/calc-forms.el (math-parse-iso-date): New function.
2007 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2008 (math-parse-iso-date-validate): Add extra error checking.
2009 (calc-date-notation): Add ability to access new date formats.
2010
2011 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2014 font-lock as well as when there's no text-property.
2015
2016 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2017
2018 * hi-lock.el: Refine the choice of default face.
2019 (hi-lock-keyword->face): New function. Use it wherever we used
2020 cadadadr instead.
2021 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2022 (hi-lock--last-face): Remove var.
2023 (hi-lock--unused-faces): New var to replace it.
2024 (hi-lock-read-face-name): Use/maintain it.
2025 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2026 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2027 if it has another face.
2028
2029 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2030
2031 * subr.el (w32notify-handle-event): New function.
2032 (inotify-handle-event): Doc fix.
2033
2034 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2035
2036 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2037
2038 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2039
2040 * simple.el (just-one-space): Doc fix.
2041
2042 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2043
2044 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2045
2046 2012-12-10 Le Wang <l26wang@gmail.com>
2047
2048 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2049 narrowed buffer (bug#12361).
2050
2051 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2052
2053 * vc/vc-hooks.el (vc-state): Doc fix.
2054
2055 2012-12-10 Glenn Morris <rgm@gnu.org>
2056
2057 * mail/rmail.el (rmail-maybe-display-summary):
2058 Preserve buffer, in case select-window changes it. (Bug#13066)
2059
2060 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2061
2062 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2063 cl-load-hook where they belong.
2064
2065 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2068
2069 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2070
2071 Parallelize byte compilation on MS-Windows.
2072 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2073 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2074 (WINS_BASIC): Define as concatenation of the above.
2075 (compile): Subdivide into 4 separate and independent jobs that can
2076 be run in parallel.
2077 (compile0-CMD, compile0-SH): New targets for compiling
2078 COMPILE_FIRST files, which are prerequisites for the rest of the
2079 byte-compilation.
2080 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2081 New targets for parallel compilation with cmd.exe.
2082 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2083 compiling under a Unixy shell.
2084
2085 2012-12-09 Chong Yidong <cyd@gnu.org>
2086
2087 * simple.el (set-mark-default-inactive): Delete this
2088 accidentally-introduced option.
2089 (set-mark-command, exchange-point-and-mark): Remove calls.
2090
2091 2012-12-09 Glenn Morris <rgm@gnu.org>
2092
2093 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2094 Respect a defcustom's :set function, if appropriate. (Bug#109)
2095 (eval-defun): Doc fix.
2096
2097 2012-12-08 Juri Linkov <juri@jurta.org>
2098
2099 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2100 (Info-fontify-node, Info-bookmark-make-record): Remove the
2101 file extension from Info-current-file (Bug#13016).
2102
2103 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2106 point, still provide some default.
2107 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2108 names, since we don't use it right now. Actually return the list.
2109 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2110
2111 2012-12-07 Chong Yidong <cyd@gnu.org>
2112
2113 * novice.el (disabled-command-function): Remove a spurious help
2114 xref (Bug#13043). Suggested by Kelly Dean.
2115
2116 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2117 syntax is specified (Bug#13025).
2118
2119 * info.el (Info-set-mode-line): Remove the file extension from
2120 Info-current-file if there is one (Bug#13016).
2121
2122 2012-12-07 Glenn Morris <rgm@gnu.org>
2123
2124 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2125 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2126 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2127 and rmail-mime-decoded. (Bug#9841)
2128
2129 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2130 (batch-unrmail, unrmail): Doc fixes.
2131 (unrmail): Respect unrmail-mbox-format.
2132 * mail/rmail.el (rmail-mbox-format): New option.
2133 (rmail-show-message-1): Respect rmail-mbox-format.
2134
2135 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2138
2139 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2142 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2143 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2144 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2145 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2146 (cl-progv): Don't rely on dynamic scoping to find the body.
2147 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2148 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2149 (cl-declaim): Use backquotes.
2150 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2151 Use "cl--" prefix for the object's tag.
2152
2153 * ses.el: Use advice-add/remove.
2154 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2155 (copy-region-as-kill, yank): Use advice-add.
2156 (ses-unload-function): Use advice-remove.
2157
2158 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2159
2160 * button.el: Make them work in header-lines (bug#12817).
2161 (button-map): Add bindings for header-line and mode-line use.
2162 (button-get, button-put, button-label): `button' may now be a string.
2163 (button-activate): Don't make it a defsubst.
2164 (button--area-button-p, button--area-button-string): New functions.
2165 (make-text-button): Fix the return value when `beg' was a string.
2166 (push-button): Handle the mode-line case.
2167
2168 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2171 (sql-signum): Remove. Use `cl-signum' instead.
2172 (sql-read-passwd): Remove; use read-passwd instread.
2173 (sql-get-login-ext): Use read-string.
2174 (sql-get-login): Use dolist and pcase.
2175 (sql--completion-table): Rename from sql-try-completion.
2176 Use complete-with-action.
2177 (sql-mode): Don't change abbrev-all-caps globally.
2178 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2179 (sql-postgres-completion-object): Initialize vars in their `let'.
2180 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2181 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2182 (sql-comint-interbase): Use a single append, without setq.
2183 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2184
2185 * hi-lock.el: Rework the default face and the serialize regexp code.
2186 (hi-lock--auto-select-face-defaults): Remove.
2187 (hi-lock-string-serialize-serial): Remove.
2188 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2189 make weak.
2190 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2191 equal string.
2192 (hi-lock-set-pattern): Adjust accordingly.
2193 (hi-lock--regexps-at-point): Simplify accordingly.
2194 (hi-lock--auto-select-face-defaults): Remove.
2195 (hi-lock--last-face): New var to replace it.
2196 (hi-lock-read-face-name): Rewrite (bug#11095).
2197 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2198
2199 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2200
2201 * net/tramp.el (tramp-replace-environment-variables):
2202 Hide compiler warning.
2203 (tramp-file-name-for-operation): Remove `executable-find',
2204 `start-process', `call-process' and `call-process-region'.
2205
2206 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2207
2208 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2209 compatibility.
2210
2211 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2212
2213 2012-12-06 Chong Yidong <cyd@gnu.org>
2214
2215 * ffap.el (ffap-replace-file-component): Fix typo.
2216
2217 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2220 fix open-paren-like token test (bug#12785).
2221
2222 2012-12-06 Glenn Morris <rgm@gnu.org>
2223
2224 * mail/rmailsum.el (rmail-new-summary): Tweak for
2225 rmail-maybe-display-summary changing buffer. (Bug#13066)
2226
2227 2012-12-06 Juri Linkov <juri@jurta.org>
2228
2229 * info.el (Info-fontify-node): Don't hide the last newline.
2230 (Bug#12272)
2231
2232 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2233
2234 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2235 so as to enable message-read-from-minibuffer to expand mail aliases.
2236
2237 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2240 the `intangible' property.
2241 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2242
2243 2012-12-05 Deniz Dogan <deniz@dogan.se>
2244
2245 * net/rcirc.el (rcirc-urls): Update documentation.
2246 (rcirc-condition-filter): New function.
2247 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2248 and exclude consecutive duplicate URLs (Bug#6082).
2249
2250 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2251
2252 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2253 Check return code of copy command.
2254
2255 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2256 Use group `tramp'. Add version.
2257
2258 2012-12-05 Chong Yidong <cyd@gnu.org>
2259
2260 * ffap.el (ffap-url-regexp): Don't require matching at front of
2261 string (Bug#4952).
2262 (ffap-url-p): If only a substring matches, return that.
2263 (ffap-url-at-point): Use the return value of ffap-url-p.
2264 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2265 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2266 (ffap-guess-file-name-at-point): Likewise.
2267 (ffap-replace-file-component): Fix typo.
2268
2269 * info.el (info-display-manual): Add existing Info buffers, whose
2270 files may not be in Info-directory-list, to the completion.
2271 (info--manual-names): New helper function.
2272
2273 2012-12-05 Glenn Morris <rgm@gnu.org>
2274
2275 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2276 New functions, for detecting and resolving conflicts. (Bug#10709)
2277
2278 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2279
2280 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2281 (hi-lock-auto-select-face-defaults): New buffer local variable.
2282 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2283 (hi-lock-unface-buffer): Prompt user with useful defaults.
2284 With prefix arg, unhighlight all hi-lock patterns in buffer.
2285
2286 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2289
2290 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * Makefile.in (TRAMP_SRC):
2293 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2294
2295 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2296
2297 * net/tramp-adb.el: New package.
2298
2299 2012-12-04 Chong Yidong <cyd@gnu.org>
2300
2301 * terminal.el: Move to obsolete/.
2302
2303 * longlines.el: Move to obsolete/.
2304
2305 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2306 Remove code referring to longlines mode.
2307
2308 2012-12-03 Juri Linkov <juri@jurta.org>
2309
2310 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2311
2312 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2313
2314 * textmodes/ispell.el (ispell-init-process)
2315 (ispell-start-process, ispell-internal-change-dictionary):
2316 Make sure personal dictionary name is expanded after initial
2317 `default-directory' value. Use expanded strings for
2318 keep/restart checks and for value (Bug#13019).
2319
2320 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2321
2322 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2323
2324 2012-12-03 Leo Liu <sdl.web@gmail.com>
2325
2326 * files.el (dir-locals-read-from-file): Check file non-empty
2327 before reading. (Bug#13038)
2328
2329 2012-12-03 Glenn Morris <rgm@gnu.org>
2330
2331 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2332 Remove any version extension before checking filename. (Bug#13006)
2333 (jka-compr-compression-info-list): Belated :version bump.
2334
2335 2012-12-03 Chong Yidong <cyd@gnu.org>
2336
2337 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2338
2339 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2340 (buffer-menu): Doc fix (Bug#12294).
2341
2342 2012-12-03 Roland Winkler <winkler@gnu.org>
2343
2344 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2345 of diary-show-all-entries in the diary buffer (Bug#12994).
2346
2347 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2350 "<STDIN>". This is binary safe.
2351
2352 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2353
2354 * calc/calc-forms.el (math-absolute-from-iso-dt)
2355 (math-date-to-iso-dt, math-parse-iso-date-validate)
2356 (math-iso-dt-to-date): New functions.
2357 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2358 (math-fd-isoweekday): New variables.
2359 (calc-date-notation, math-parse-standard-date, math-format-date)
2360 (math-format-date-part): Add support for more formatting codes.
2361
2362 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2363
2364 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2365 current buffer's file name when called interactively (Bug#12488).
2366
2367 2012-12-02 Juri Linkov <juri@jurta.org>
2368
2369 * info.el (info-display-manual): Don't clobber an existing Info
2370 buffer (Bug#10770). Add completion (Bug#10771).
2371
2372 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2373
2374 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2375 before using it for comparison (Bug#5297).
2376
2377 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2378
2379 * textmodes/css-mode.el (css-current-defun-name): New function.
2380 (css-mode): Use it.
2381
2382 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2383 (html-mode): Use it.
2384
2385 2012-12-01 Chong Yidong <cyd@gnu.org>
2386
2387 Modularize add-log-current-defun (Bug#2224).
2388 Suggested by Jari Aalto.
2389
2390 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2391 (add-log-current-defun): Move mode-specific code to other files.
2392 (add-log-lisp-like-modes, add-log-c-like-modes)
2393 (add-log-tex-like-modes): Variables deleted.
2394
2395 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2396 (lisp-mode-variables): Use it.
2397
2398 * progmodes/cc-mode.el (c-common-init):
2399 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2400 add-log-current-defun-function.
2401
2402 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2403 (m4-mode): Use it.
2404
2405 * progmodes/perl-mode.el (perl-current-defun-name): New.
2406 (perl-mode): Use it.
2407
2408 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2409 Use lisp-current-defun-name.
2410
2411 * textmodes/tex-mode.el (tex-current-defun-name): New.
2412 (tex-common-initialization): Use it.
2413
2414 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2415 (texinfo-mode): Use it.
2416
2417 2012-12-01 Chong Yidong <cyd@gnu.org>
2418
2419 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2420 * progmodes/autoconf.el (autoconf-mode):
2421 * progmodes/js.el (js-mode):
2422 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2423 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2424 * progmodes/perl-mode.el (perl-mode):
2425 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2426 * textmodes/css-mode.el (css-mode):
2427 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2428 (sgml-tags-invisible, sgml-guess-indent):
2429 * textmodes/tex-mode.el (tex-common-initialization)
2430 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2431 (doctex-mode, plain-tex-mode, latex-mode):
2432 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2433
2434 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2435
2436 * vc/vc-hg.el (vc-hg-next-revision):
2437 Ensure use of default "tip" output format. (Bug#6968)
2438
2439 2012-12-01 Kim F. Storm <storm@cua.dk>
2440
2441 * startup.el (fancy-startup-tail): Add a clickable link
2442 (Bug#2176).
2443
2444 2012-12-01 Chong Yidong <cyd@gnu.org>
2445
2446 * startup.el (fancy-startup-tail): Improve the message about
2447 auto-save files (Bug#2176).
2448
2449 * files.el (recover-session): Improve the descriptive message, and
2450 use substitute-command-keys.
2451
2452 2012-12-01 Glenn Morris <rgm@gnu.org>
2453
2454 * ido.el (ido-file-internal):
2455 Handle other-window, other-frame for dired. (Bug#13036)
2456
2457 2012-11-30 Glenn Morris <rgm@gnu.org>
2458
2459 * icomplete.el (icomplete-separator): Fix :version.
2460
2461 2012-11-30 Chong Yidong <cyd@gnu.org>
2462
2463 * shell.el (shell): For C-u M-x shell, use an inactive shell
2464 buffer as the default (Bug#1975).
2465 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2466 (shell-mode): Use them to reapply ansi colorization if Shell mode
2467 is re-enabled.
2468
2469 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2470
2471 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2472
2473 2012-11-30 Samuel Bronson <naesten@gmail.com>
2474
2475 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2476 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2477
2478 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2479
2480 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2481 by move-to-column (Bug#3234).
2482
2483 2012-11-30 Chong Yidong <cyd@gnu.org>
2484
2485 * longlines.el (longlines-wrap-line, longlines-encode-region):
2486 Preserve text properties (Bug#1425).
2487
2488 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2489
2490 * vc/vc.el (vc-register): Allow registering a file which is
2491 already registered with a different backend (Bug#10589).
2492
2493 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2494 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * icomplete.el: Change separator; add ido-style commands.
2497 (icomplete-show-key-bindings): Remove custom var.
2498 (icomplete-get-keys): Remove function.
2499 (icomplete-forward-completions, icomplete-backward-completions):
2500 New commands.
2501 (icomplete-minibuffer-map): New var.
2502 (icomplete-minibuffer-setup): Use it.
2503 (icomplete-exhibit): Don't delay if the list of completions is known.
2504 (icomplete-separator): New custom.
2505 (icomplete-completions): Use it.
2506 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2507 (minibuffer-force-complete-and-exit): New command.
2508 (minibuffer--complete-and-exit): New function extracted from
2509 minibuffer-complete-and-exit.
2510 (minibuffer-complete-and-exit): Use it.
2511
2512 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2513 error message when the file doesn't exist (bug#12974).
2514
2515 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2516
2517 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2518
2519 2012-11-29 Glenn Morris <rgm@gnu.org>
2520
2521 * files.el (hack-dir-local-variables): Warn if try to set
2522 coding via dir-locals, since it doesn't work. (Bug#7169)
2523
2524 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2525 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2526 Set buffer-local value of desktop-save-buffer.
2527 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2528 New functions.
2529 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2530 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2531
2532 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2533 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2534 Doc fix.
2535 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2536 Doc fixes.
2537
2538 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2539
2540 * calc/calc-forms.el (calc-date-notation): Fix regexp
2541 used to find time codes. Fix symbol for seconds.
2542
2543 2012-11-27 Glenn Morris <rgm@gnu.org>
2544
2545 * emacs-lisp/derived.el (derived-mode-make-docstring):
2546 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2547
2548 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2551 lexically scoped variables (bug#13005).
2552
2553 2012-11-27 Glenn Morris <rgm@gnu.org>
2554
2555 * vc/vc-hooks.el (vc-mistrust-permissions):
2556 Default to t, to avoid data-loss. (Bug#11490)
2557
2558 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2559
2560 * progmodes/python.el (python-indent-guess-indent-offset):
2561 If indentation is guessed make python-indent-offset buffer-local.
2562
2563 Fix Imenu regression.
2564 * progmodes/python.el (python-nav-beginning-of-defun):
2565 Fix forward movement when statement(s) separates point from defun.
2566 (python-imenu-prev-index-position): New function.
2567
2568 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2569
2570 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2571
2572 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2573 Don't set buffer-file-type. Return nil. (Bug#12989)
2574
2575 2012-11-27 Glenn Morris <rgm@gnu.org>
2576
2577 * hippie-exp.el (hippie-expand-try-functions-list):
2578 Re-autoload it. (Bug#12982)
2579
2580 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2581
2582 * descr-text.el (describe-char-padded-string):
2583 Call internal-char-font only on GUI frames. (Bug#11964)
2584
2585 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2586
2587 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2588 and obsoletion message.
2589
2590 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2593 the constructs to keep outside of the `cl-block' (bug#12977).
2594
2595 2012-11-27 Chong Yidong <cyd@gnu.org>
2596
2597 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2598 keep reading until we get the up-event anyway, in order to process
2599 the up-event for mouse-1-click-follows-link (Bug#12971).
2600
2601 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2604 base function is not yet defined (bug#12965).
2605 (ad-activate-advised-definition): Use ad-compile-function.
2606 (ad-activate): Use cond.
2607
2608 2012-11-25 Leo Liu <sdl.web@gmail.com>
2609
2610 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2611 (Bug#12979)
2612
2613 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2614
2615 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2616 reftex-section-info-function in order to be compatible with
2617 Texinfo integration.
2618
2619 * textmodes/reftex.el (reftex-section-pre-regexp)
2620 (reftex-section-post-regexp, reftex-section-info-function):
2621 New variable.
2622 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2623 reftex-section-post-regexp, and reftex-section-info-function in order
2624 to be compatible with Texinfo integration.
2625
2626 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2627 use reftex-section-pre-regexp variable in order to be compatible with
2628 Texinfo integration.
2629
2630 2012-11-25 Chong Yidong <cyd@gnu.org>
2631
2632 * faces.el: Make face-spec-set more analogous to setq.
2633 (face-spec-set): Change the third arg to specify whether this
2634 function is being called via defface, customize, or a third party.
2635 Set the appropriate symbol properties. Clear the override spec if
2636 setting via Custom. Initialize face if necessary. (Bug#4988)
2637 (face-spec-recalc): Allow theme faces to completely replace the
2638 defface spec, in the same way as custom faces (Bug#8454).
2639
2640 * cus-face.el (custom-declare-face): Move face initialization to
2641 face-spec-set.
2642 (custom-theme-set-faces): Don't initialize the face name here, as
2643 that is now done in face-spec-set.
2644
2645 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2646 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2647 Simplify by using the new arg to face-spec-set.
2648
2649 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2650 reset face-override-spec too, and use custom-declare-face.
2651
2652 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2653
2654 * term/ns-win.el (ns-initialize-window-system): Move creation of
2655 fontsets here (Bug#11964).
2656
2657 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2658
2659 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2660 cell renaming.
2661
2662 2012-11-24 Chong Yidong <cyd@gnu.org>
2663
2664 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2665 obsolete.
2666
2667 * custom.el (custom-theme-set-variables): Use a topological sort
2668 for ordering by custom dependencies (Bug#12952).
2669 (custom--sort-vars, custom--sort-vars-1): New functions.
2670
2671 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2674 lexical-binding (bug#12938).
2675
2676 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2677
2678 * image-mode.el (image-transform-check-size): Use assertions only
2679 for images of type imagemagick.
2680
2681 Otherwise no error, image-transform-fit-to-{width,height} is
2682 silently ignored, as before. Doc fix.
2683
2684 2012-11-24 Chong Yidong <cyd@gnu.org>
2685
2686 * faces.el (color-defined-p): Doc fix (Bug#12853).
2687
2688 2012-11-24 Juri Linkov <juri@jurta.org>
2689
2690 * dired.el (dired-mark): Add optional arg `interactive'.
2691 Check for `use-region-p' if `interactive' is non-nil.
2692 (dired-unmark, dired-flag-file-deletion): Add optional arg
2693 `interactive'. Call `dired-mark' with the arg `interactive'.
2694 (Bug#10624)
2695
2696 * wdired.el: Revert 2012-10-17 change partly and replace it with
2697 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2698 (wdired-finish-edit): Add marks for new file names to
2699 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2700 after `revert-buffer'.
2701 (wdired-do-renames): Remove calls to `dired-remove-file',
2702 `dired-add-file', `dired-add-entry'. (Bug#11795)
2703
2704 2012-11-24 Alan Mackenzie <acm@muc.de>
2705
2706 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2707
2708 Fix bugs in the state cache. Enhance a debugging mechanism.
2709 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2710 "brace at column zero" strategy for C++.
2711 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2712 (c-parse-state-point): New variable.
2713 (c-record-parse-state-state): Record old parse state with
2714 `copy-tree'. Record previous value of point.
2715 (c-debug-parse-state-double-cons): New debugging function.
2716 (c-debug-parse-state): Call the above new function.
2717 (c-toggle-parse-state-debug): Output a confirmatory message.
2718
2719 * progmodes/cc-mode.el (c-before-change, c-after-change):
2720 Call c-invalidate-state-cache from `c-before-change' instead of
2721 `c-after-change'.
2722
2723 2012-11-23 Chong Yidong <cyd@gnu.org>
2724
2725 * find-cmd.el (find-constituents): Add executable, ipath,
2726 readable, samefile, writable, daystart, regextype (Bug#12856).
2727
2728 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2731
2732 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2733
2734 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2735 definition. This fixes a bootstrap failure.
2736 (calc-gregorian-switch): In menu, put dates before regions.
2737 This is easier to follow, lines up better in the menu, and lets us
2738 coalesce regions that switch at the same time. Give country
2739 names, not "Vatican", as that's better for non-expert users.
2740 Use names that are stable between the date of switch and now, e.g.,
2741 Bohemia and Moravia (which existed then and now) and not
2742 Czechoslovakia (which didn't exist then and doesn't exist now).
2743 What is now the U.S. mostly did not switch at the same time as
2744 Britain, so omit the U.S. Correct spelling of "Britain".
2745 Catholic Switzerland was too much of a mess, so omit it.
2746
2747 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2748
2749 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2750 after the variable is changed.
2751
2752 2012-11-21 Daniel Colascione <dancol@dancol.org>
2753
2754 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2755 in SQL declarations for font-lock.
2756 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2757
2758 2012-11-21 Glenn Morris <rgm@gnu.org>
2759
2760 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2761 (face-italic-p): Add optional argument "inherit".
2762
2763 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2764 Remove -p suffix from names, for consistency with other set-face-*.
2765 (set-face-inverse-video): Fix interactive spec.
2766 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2767 * textmodes/table.el (table--update-cell-face):
2768 Use set-face-inverse-video rather than now obsolete alias.
2769
2770 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2771
2772 * simple.el (line-move): Don't call line-move-partial if
2773 scroll-conservatively is in effect. (Bug#12927)
2774
2775 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2778 Fallback on completion-at-point rather than
2779 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2780 (eshell-cmpl-initialize): Setup completion-at-point.
2781
2782 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2783
2784 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2785
2786 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2787
2788 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2789 are remote, check out-of-band property for both.
2790
2791 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2794 code rewrite.
2795
2796 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2797
2798 More minor time fixes.
2799 * calendar/time-date.el: Commentary fix.
2800 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2801 too much other code depends on (0 0) time stamps.
2802 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2803 Add a couple of FIXME comments.
2804
2805 Minor cleanup for times as lists of four integers.
2806 * files.el (dir-locals-directory-cache):
2807 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2808 Doc fixes.
2809 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2810 * ps-bdf.el (bdf-file-newer-than-time):
2811 Process four-integers time stamps, not two. Doc fixes.
2812
2813 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2814
2815 * uniquify.el (uniquify-managed): Use defvar-local.
2816 (rename-buffer, create-file-buffer): Advise with advice-add.
2817 (uniquify-unload-function): Unadvise accordingly.
2818
2819 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2820 (trace-buffer): Don't purecopy.
2821 (trace-entry-message, trace-exit-message): Add `context' arg.
2822 (trace--timer): New var.
2823 (trace-make-advice): Adjust for use in nadvice.
2824 Add `context' argument. Delay `display-buffer' via a timer.
2825 (trace-function-internal): Use advice-add.
2826 (trace--read-args): New function.
2827 (trace-function-foreground, trace-function-background): Use it.
2828 (trace-function): Rename to trace-function-foreground and redefine as
2829 an alias to that new name.
2830 (untrace-function, untrace-all): Adjust to the use of nadvice.
2831
2832 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2833
2834 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2835
2836 * subr.el (called-interactively-p-functions): New var.
2837 (internal--called-interactively-p--get-frame): New macro.
2838 (called-interactively-p, interactive-p): Rewrite in Lisp.
2839 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2840 (called-interactively-p-functions): Use it.
2841 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2842 (called-interactively-p-functions): Use it.
2843 * allout.el (allout-called-interactively-p): Don't assume
2844 called-interactively-p is a subr.
2845
2846 2012-11-20 Glenn Morris <rgm@gnu.org>
2847
2848 * profiler.el (profiler-report-mode-map): Add a menu.
2849 No need to bind `q' because we derive from special-mode.
2850 (profiler-report-find-entry): Handle calls from the menu-bar.
2851
2852 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2853
2854 * emacs-lisp/byte-run.el (defun-declarations-alist):
2855 Allow a compiler-macro to be a lambda expression.
2856
2857 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2858 eval-when-compile.
2859 (python-syntax-context): Add compiler-macro.
2860 (python-font-lock-keywords): Simplify with De Morgan.
2861
2862 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2863
2864 * files.el (load-file): Require match in minibuffer selection, as was
2865 the case in Emacs-20 before we changed the spec to allow .elc files
2866 (bug#12935).
2867
2868 * json.el: Don't require cl since we don't use it.
2869 * color.el: Don't require cl.
2870 (color-complement): `caddr' -> `nth 2'.
2871
2872 * calendar/time-date.el (time-to-seconds): De-obsolete.
2873
2874 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2875
2876 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2877 year numbers.
2878 (math-date-to-julian-dt): Adjust the initial approximation for the
2879 year to deal with the new definition of the DATE.
2880
2881 2012-11-19 Daniel Colascione <dancol@dancol.org>
2882
2883 * term/w32-win.el (cygwin-convert-path-from-windows):
2884 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2885
2886 2012-11-18 Chong Yidong <cyd@gnu.org>
2887
2888 * filecache.el (file-cache--read-list): New function.
2889 (file-cache-add-directory-list, file-cache-add-file-list)
2890 (file-cache-delete-file-list, file-cache-delete-directory-list):
2891 Use it to read a list of files or directories (Bug#12846).
2892 (file-cache-add-file, file-cache-add-directory)
2893 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2894 (file-cache-delete-directory): Print an message.
2895
2896 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2897
2898 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2899 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2900
2901 2012-11-18 Glenn Morris <rgm@gnu.org>
2902
2903 * image.el (insert-image, insert-sliced-image): Doc fix.
2904
2905 2012-11-18 Chong Yidong <cyd@gnu.org>
2906
2907 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2908 (Bug#12810).
2909
2910 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2911
2912 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2913 response when the target file is in a subdirectory (Bug#12757).
2914
2915 2012-11-18 Chong Yidong <cyd@gnu.org>
2916
2917 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2918
2919 2012-11-18 Glenn Morris <rgm@gnu.org>
2920
2921 * emacs-lisp/cl-lib.el (face-underline-p):
2922 Use set-face-underline rather than the alias set-face-underline-p.
2923
2924 * window.el (with-temp-buffer-window): Doc fix.
2925 * subr.el (with-output-to-temp-buffer):
2926 Add doc xref to with-temp-buffer-window.
2927
2928 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2929
2930 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2931 * calc/calc.el (math-format-date-cache): Declare.
2932
2933 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2934
2935 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2936 It also uses January 1, 1 AD as its day number 1.
2937 * calc/calc-forms.el (math-julian-date-beginning)
2938 (math-julian-date-beginning-int): Implement this.
2939
2940 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * descr-text.el (quail-find-key):
2943 * dired.el (desktop-file-name):
2944 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2945 * generic-x.el (comint-mode, comint-exec):
2946 * image-dired.el (widget-forward):
2947 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2948 (speedbar-change-expand-button-char)
2949 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2950 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2951 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2952 (widget-field-action, widget-value-set):
2953 * speedbar.el (imenu--make-index-alist):
2954 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2955 (ring-length, ring-insert):
2956 * vcursor.el (compare-windows-skip-whitespace):
2957 * woman.el (dired-get-filename):
2958 Declare functions.
2959
2960 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2961
2962 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2963
2964 * calc/calc.el (calc-gregorian-switch): New variable.
2965
2966 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2967 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2968 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2969 (math-leap-year-p): Add option to distinguish between Julian
2970 and Gregorian calendars.
2971 (math-day-number): Use `math-day-in-year' to do the computations.
2972 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2973 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2974 to do the computations.
2975 (math-date-to-dt): Use `math-date-to-julian-dt' and
2976 `math-date-to-gregorian-dt' to do the computations.
2977 (calcFunc-weekday, math-format-date-part): Use the new version of
2978 the DATE to determine the weekday.
2979 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2980 when necessary.
2981
2982 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2983
2984 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2985 Cygwin; otherwise use 'file:'. (Bug#12914)
2986 (cygwin-convert-path-from-windows): Declare, to avoid
2987 byte-compiler warnings.
2988
2989 2012-11-17 Andreas Politz <politza@fh-trier.de>
2990
2991 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2992 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2993 prefix and negative numeric prefix args (Bug#12795).
2994
2995 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2996
2997 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2998 Don't signal an error with a score that is too low to add to the
2999 list of top scores. (Bug#12779)
3000
3001 2012-11-17 Chong Yidong <cyd@gnu.org>
3002
3003 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3004
3005 * filecache.el (file-cache-add-file): Handle relative file name in
3006 the argument (Bug#12694).
3007
3008 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3009
3010 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3011
3012 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3015
3016 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3017
3018 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3019
3020 * window.el (enlarge-window, shrink-window): Don't mention return
3021 value in doc-string (Bug#12896).
3022 (window--display-buffer): Don't resize frames - it won't work
3023 with all window managers and defeat pop-up-frame-alist.
3024 (display-buffer-alist): In doc-string explain that CONDITION can
3025 be a function and which arguments are passed to it (Bug#12854).
3026 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3027 expressions (Bug#12854).
3028 (display-buffer): Pass ACTION argument to
3029 display-buffer-assq-regexp.
3030
3031 2012-11-16 Glenn Morris <rgm@gnu.org>
3032
3033 * window.el (fit-frame-to-buffer-bottom-margin)
3034 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3035
3036 * faces.el (face-underline-p): Use face-attribute-specified-or.
3037
3038 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3039
3040 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3041
3042 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3045
3046 2012-11-16 Glenn Morris <rgm@gnu.org>
3047
3048 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3049 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3050
3051 * faces.el (face-underline-p): Doc fix. Handle :underline being
3052 things other than `t' (a string, a list).
3053 (face-inverse-video-p): Doc fix.
3054 (set-face-underline): Rename it back from set-face-underline-p.
3055 Doc fix. Allow interactive input of values other than t.
3056 (read-face-attribute): Apply formatting to :underline,
3057 since like :box and :stipple it can take list values.
3058
3059 * term.el (ansi-term): Don't let C-x escape-char binding
3060 clobber the more standard C-c binding. (Bug#12842)
3061
3062 * subr.el (set-temporary-overlay-map): Doc fix.
3063
3064 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3065
3066 * window.el (record-window-buffer)
3067 (display-buffer-record-window): When copying the markers to
3068 window-point preserve window-point-insertion-type. (Bug#12588)
3069
3070 2012-11-16 Glenn Morris <rgm@gnu.org>
3071
3072 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3073 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3074 Use new names for hooks rather than obsolete aliases.
3075
3076 2012-11-15 Daniel Colascione <dancol@dancol.org>
3077
3078 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3079 prefix instead of "file:" so that when FILE-NAME begins with "//",
3080 as it does when the target file is on a network share, url-handler
3081 isn't confused.
3082
3083 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3086 a preactivated advice from an old advice.el; they're not compatible!
3087
3088 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3089
3090 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3091 Fix string-spec case.
3092
3093 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3094
3095 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3098 (advice--buffer-local-function-sample): New var.
3099 (advice--set-buffer-local, advice--buffer-local): New functions.
3100 (add-function, remove-function): Use them.
3101
3102 2012-11-15 Drew Adams <drew.adams@oracle.com>
3103
3104 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3105
3106 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3109 potential binding of print-gensym to t, and prettify (back)quotes in
3110 case they appear in args's default values (bug#12884).
3111
3112 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3115 (advice-eval-interactive-spec): New function.
3116 (advice--make-interactive-form): Support around advice (bug#12844).
3117
3118 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3119
3120 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3121 more strict. Add docstring.
3122 (ruby-expression-expansion-re): Extract from
3123 `ruby-match-expression-expansion'.
3124 (ruby-syntax-propertize-function): After everything else, search
3125 for expansions in string literals, mark their insides as
3126 whitespace syntax and save match data for font-lock.
3127 (ruby-font-lock-keywords): Use the 2nd group from expression
3128 expansion matches.
3129 (ruby-match-expression-expansion): Use the match data saved to the
3130 text property in ruby-syntax-propertize-function.
3131
3132 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3135 (bug#12879).
3136
3137 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3138
3139 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3140 start/end keyword a bit harder. Works with different values of N.
3141 Add more comments.
3142 (ruby-end-of-block): Update accordingly.
3143
3144 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * woman.el (woman-file-name): Don't mess with unread-command-events
3147 (bug#12861).
3148
3149 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3150 Remove out of date self-require hack.
3151 (ad-do-advised-functions): Use simple `dolist'.
3152 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3153 (ad-advice-definition): Redefine as functions.
3154 (ad-advice-classes): Move before first use.
3155 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3156 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3157 (ad--defalias-fset): Remove functions.
3158 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3159 (ad-get-orig-definition): Rewrite.
3160 (ad-make-advised-definition-docstring): Change base docstring.
3161 (ad-real-orig-definition): Rewrite.
3162 (ad-map-arglists): Change name of called function.
3163 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3164 (ad-make-advised-definition): Simplify.
3165 (ad-assemble-advised-definition): Tweak for new calling context.
3166 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3167 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3168 function and call ad-activate if needed.
3169 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3170 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3171 (ad-compile-function): Compile ad-Advice-*.
3172 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3173 (ad-start-advice, ad-stop-advice): Remove.
3174
3175 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3176
3177 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3178 period before class method names, not after. Remove handling of
3179 one impossible case. Add comments.
3180
3181 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * emacs-lisp/advice.el: Remove support for freezing.
3184 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3185 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3186 Remove support for `freeze'.
3187
3188 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3189 override the default.
3190 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3191 cl--dotimes/dolist.
3192 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3193 `cl' is loaded.
3194
3195 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3196 from add-advice.
3197 (advice--strip-macro): New function.
3198 (advice--defalias-fset): Use them to handle macros.
3199 (advice-add): Use them.
3200 (advice-member-p): Correctly handle macros.
3201
3202 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3203
3204 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3205 Never font-lock the beginning of singleton class as heredoc.
3206
3207 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3210
3211 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3212
3213 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3214 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3215 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3216
3217 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3218
3219 Fix end-of-defun misbehavior.
3220 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3221 python-beginning-of-defun-function. Handle nested defuns
3222 correctly.
3223 (python-nav-end-of-defun): Rename from
3224 python-end-of-defun-function. Ensure forward movement.
3225 (python-info-current-defun): Reimplement to work as intended
3226 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3227 parent defuns as soon as possible.
3228
3229 2012-11-13 Glenn Morris <rgm@gnu.org>
3230
3231 * progmodes/flymake.el (flymake-error-bitmap)
3232 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3233 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3234
3235 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3236
3237 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3238 backward, always stop at indentation. Reverts the change from
3239 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3240
3241 2012-11-13 Glenn Morris <rgm@gnu.org>
3242
3243 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3244 Add ibuffer-filter-by-derived-mode.
3245
3246 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3247 the same name shadowing each other.
3248
3249 * window.el (with-temp-buffer-window): Doc tweak.
3250
3251 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3252
3253 * help.el (temp-buffer-max-height):
3254 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3255 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3256
3257 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * emacs-lisp/nadvice.el: New package.
3260 * subr.el (special-form-p): New function.
3261 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3262 (elp-all-instrumented-list): Remove var.
3263 (elp-not-profilable): Remove elp-wrapper.
3264 (elp-profilable-p): Use autoloadp and special-form-p.
3265 (elp--advice-name): New const.
3266 (elp-instrument-function): Use advice-add.
3267 (elp--instrumented-p): New predicate.
3268 (elp-restore-function): Use advice-remove.
3269 (elp-restore-all, elp-reset-all): Use mapatoms.
3270 (elp-set-master): Use elp--instrumented-p.
3271 (elp--make-wrapper): Rename from elp-wrapper, return a function
3272 suitable for advice-add. Use cl-inf.
3273 (elp-results): Use mapatoms+elp--instrumented-p.
3274 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3275 (debug-function-list): Remove var.
3276 (debug): Rename arg, and then let-bind it explicitly inside.
3277 (debugger-setup-buffer): Rename arg.
3278 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3279 (debugger-frame-number): Adjust to new debug-on-entry setup.
3280 (debug--implement-debug-on-entry): Rename from
3281 implement-debug-on-entry, add argument.
3282 (debugger-special-form-p): Remove, use special-form-p instead.
3283 (debug-on-entry): Use advice-add.
3284 (debug--function-list): New function.
3285 (cancel-debug-on-entry): Use it, along with advice-remove.
3286 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3287 (debugger-list-functions): Use debug--function-list instead of
3288 debug-function-list.
3289 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3290 (ad-special-form-p): Remove, use special-form-p instead.
3291 (ad-set-advice-info): Use add-function and remove-function.
3292 (ad--defalias-fset): Adjust accordingly.
3293
3294 2012-11-10 Glenn Morris <rgm@gnu.org>
3295
3296 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3297 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3298 (report-emacs-bug-create-existing-bugs-buffer)
3299 (report-emacs-bug-parse-query-results)
3300 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3301
3302 * term.el (term-default-fg-color, term-default-bg-color):
3303 Make obsolete, rather than just saying "deprecated" in the doc.
3304
3305 * term.el (term): Rename from `term-face'.
3306 (term-current-face, ansi-term-color-vector)
3307 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3308 Update all users.
3309
3310 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3311
3312 * server.el (server-create-window-system-frame): Handle Nextstep
3313 specially (Bug#12780).
3314
3315 2012-11-10 Glenn Morris <rgm@gnu.org>
3316
3317 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3318 Unautoload, and make obsolete. (Bug#7449)
3319
3320 2012-11-10 Chong Yidong <cyd@gnu.org>
3321
3322 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3323 rename from diff-remove-trailing-whitespace (Bug#12831).
3324
3325 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3328 miscompilation of trace.el.
3329
3330 2012-11-10 Glenn Morris <rgm@gnu.org>
3331
3332 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3333
3334 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3337 (bug#12812).
3338
3339 2012-11-10 Chong Yidong <cyd@gnu.org>
3340
3341 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3342 a defcustom with an appropriate :set function.
3343 (minibuffer-default--in-prompt-regexps): New function.
3344
3345 2012-11-10 Glenn Morris <rgm@gnu.org>
3346
3347 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3348 (define-modify-macro): Doc fixes.
3349
3350 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3351 (gv-define-simple-setter): Update doc of `fix-return'.
3352
3353 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3356 twice when `fix-return' is set (bug#12813).
3357
3358 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3359 gv-define-simple-setter (bug#12812).
3360
3361 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3362 (bug#12756).
3363
3364 2012-11-10 Glenn Morris <rgm@gnu.org>
3365
3366 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3367
3368 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3369 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3370 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3371 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3372
3373 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3374
3375 2012-11-10 Leo Liu <sdl.web@gmail.com>
3376
3377 * ido.el (ido-set-matches-1): Improve flex matching performance by
3378 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3379
3380 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3383 (ad--defalias-fset): New function.
3384 (ad-safe-fset): Remove.
3385 (ad-make-freeze-definition): Use cl-letf*.
3386
3387 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * subr.el (dolist): Don't bind VAR in RESULT.
3390
3391 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3392 (fset, documentation): Don't save real def since we don't advise.
3393 (ad-do-advised-functions): Remove problematic `result-form'.
3394 (ad-safe-fset): `ad-real-fset' => `fset'.
3395 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3396 uses CL's dolist internally.
3397 (ad-arglist): Remove unused arg `name'.
3398 (ad-docstring, ad-make-advised-docstring):
3399 `ad-real-documentation' => `documentation'.
3400 (warning-suppress-types): Declare.
3401 (ad-set-arguments): Simple CSE.
3402 (ad-recover-normality): Sanity check.
3403
3404 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3405 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3406
3407 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3408
3409 * ses.el: symbol to coordinate mapping is made by symbol property
3410 `ses-cell'. This means that the same mapping is done for all SES
3411 sheets. That is good enough for cells with standard A1 names, but
3412 not for named cell. So a hash map is added for the latter.
3413 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3414 (ses-sym-rowcol): Use hashmap for named cell.
3415 (ses-is-cell-sym-p): New defun.
3416 (ses-decode-cell-symbol): New defun.
3417 (ses-create-cell-variable): Add cell to hashmap when name is not
3418 A1-like.
3419 (ses-rename-cell): Check that cell new name is not already in
3420 spreadsheet with the use of ses-is-cell-sym-p
3421 (ses-rename-cell): Use hash map for named cells, but accept also
3422 renaming back to A1-like.
3423
3424 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/advice.el: Use new dynamic docstrings.
3427 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3428 Use dynamic-docstring-function instead of ad-advice-info.
3429 (ad--make-advised-docstring): New function extracted from
3430 ad-make-advised-docstring.
3431 (ad-make-advised-docstring): Use it.
3432 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3433 from sql-help.
3434 (sql-help): Use it with dynamic-docstring-function.
3435
3436 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3437
3438 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * files.el (hack-one-local-variable--obsolete): New function.
3441 (hack-one-local-variable): Use it for obsolete settings.
3442
3443 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3444 the new name.
3445
3446 * progmodes/js.el (js--filling-paragraph): New var.
3447 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3448 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3449 less sneaky.
3450
3451 2012-11-08 Julien Danjou <julien@danjou.info>
3452
3453 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3454 `auto-mode-alist' (Bug#12835).
3455
3456 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3459 (perl--prettify-symbols-alist): New const.
3460 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3461 New functions.
3462 (perl-font-lock-keywords-2): Use them.
3463 (perl-electric-noindent-p): New function.
3464 (perl-mode): Use it to set up electric-indent-mode.
3465 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3466 (perl-mode-map): Remove bindings for them.
3467 (perl-imenu-generic-expression, perl-outline-level):
3468 Match functions&packages in column>0.
3469
3470 * env.el (env--substitute-vars-regexp): New const.
3471 (substitute-env-vars): Use it. Add `only-defined' arg.
3472 * net/tramp.el (tramp-replace-environment-variables): Use it.
3473
3474 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3475 Byte-compile *before* eval in eval-and-compile.
3476 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3477 (byte-compile-file-form-autoload): Don't hide actual definition.
3478 (byte-compile-maybe-guarded): Accept `functionp' as well.
3479
3480 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3481
3482 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3483
3484 * notifications.el (notifications-get-server-information-method):
3485 New defconst.
3486 (notifications-get-capabilities): Fix docstring.
3487 (notifications-get-server-information): New defun.
3488
3489 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3490
3491 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3492 readability.
3493
3494 * textmodes/ispell.el: Experimental support for support debugging.
3495 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3496 buffer for ispell.
3497 (ispell-print-if-debug): New function to print stuff to
3498 `ispell-debug-buffer' if debugging is enabled.
3499 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3500 show some debugging info.
3501 (ispell-buffer-with-debug): New function that creates a debugging
3502 buffer and calls `ispell-buffer' with debugging enabled.
3503
3504 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3505 comment in autoconf mode. (Bug#12768)
3506
3507 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3508
3509 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3510 frame-first-window, frame-root-window, frame-selected-window,
3511 minibuffer-selected-window, minibuffer-window,
3512 window-absolute-pixel-edges, window-at, window-body-height,
3513 window-body-width, window-display-table, window-combination-limit,
3514 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3515 window-inside-edges, window-inside-pixel-edges, window-left-child,
3516 window-left-column, window-margins, window-next-buffers,
3517 window-next-sibling, window-new-normal, window-new-total,
3518 window-normal-size, window-parameter, window-parameters, window-parent,
3519 window-pixel-edges, window-point, window-prev-buffers,
3520 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3521 window-start, window-text-height, window-top-child, window-top-line,
3522 window-total-height, window-total-width and window-use-time to the list
3523 of functions without side-effects.
3524 (toplevel): Add window-valid-p to the list of error-free functions
3525 without side-effects.
3526
3527 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3528
3529 * textmodes/ispell.el (ispell-program-name):
3530 Update spellchecker parameters when customized.
3531
3532 2012-11-04 Glenn Morris <rgm@gnu.org>
3533
3534 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3535
3536 2012-11-04 Chong Yidong <cyd@gnu.org>
3537
3538 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3539 same-window-* variables.
3540
3541 2012-11-04 Juri Linkov <juri@jurta.org>
3542
3543 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3544 (isearch-describe-key, isearch-describe-mode): Use a display
3545 action instead of binding same-window-* variables (Bug#10040).
3546
3547 2012-11-03 Glenn Morris <rgm@gnu.org>
3548
3549 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3550 Rename handler properties back from cl-- to cl-. (Bug#12788)
3551
3552 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3553
3554 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3555
3556 * term/pc-win.el: Don't load term/internal from here.
3557
3558 * loadup.el: Load term/internal from here.
3559
3560 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3561
3562 * progmodes/python.el (inferior-python-mode): Fix hang in
3563 jit-lock (Bug#12645).
3564
3565 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3566
3567 * window.el (switch-to-visible-buffer)
3568 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3569
3570 2012-11-03 Glenn Morris <rgm@gnu.org>
3571
3572 * emacs-lisp/cl-lib.el (cl--random-time):
3573 Rename from cl-random-time. (Bug#12773)
3574 (cl--gensym-counter, cl--random-state): Update callers.
3575 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3576
3577 2012-11-03 Chong Yidong <cyd@gnu.org>
3578
3579 * cus-start.el: Make cursor-type customizable (Bug#11633).
3580
3581 2012-11-02 Glenn Morris <rgm@gnu.org>
3582
3583 * filecache.el: No need to load find-lisp when compiling.
3584 (find-lisp-find-files): Autoload it.
3585 (file-cache-add-directory-recursively): Don't require find-lisp.
3586
3587 * image.el (image-type-from-file-name): Trivial simplification.
3588
3589 * emacs-lisp/bytecomp.el (byte-compile-eval):
3590 Decouple "noruntime" and "cl-functions" warnings.
3591
3592 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3593
3594 * play/gomoku.el (gomoku-display-statistics): Update mode line
3595 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3596
3597 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3598
3599 * window.el (quit-restore-window): If the window has been
3600 created on an existing frame and ended up as the sole window on
3601 that frame, do not delete it (Bug#12764).
3602
3603 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3606 Rename from sh--inside-arithmetic-expression, handle more cases
3607 (bug#11263).
3608
3609 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3610 (sh-font-lock-open-heredoc): Use it (bug#12770).
3611
3612 2012-10-30 Glenn Morris <rgm@gnu.org>
3613
3614 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3615
3616 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3617
3618 2012-10-29 Chong Yidong <cyd@gnu.org>
3619
3620 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3621 function key is stored in a keyboard macro (Bug#4894).
3622
3623 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3624
3625 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3628 header comments".
3629 (diff-unified->context, diff-context->unified)
3630 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3631
3632 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3633
3634 * files.el (find-alternate-file): Only ask one question (bug#12487).
3635
3636 2012-10-29 Chong Yidong <cyd@gnu.org>
3637
3638 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3639 Suggested by Dan Nicolaescu (Bug#6326).
3640
3641 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3642
3643 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3644
3645 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3646
3647 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3648
3649 * face-remap.el (face-remap-add-relative): Handle the case where a
3650 face-remapping-alist entry is a cons cell (Bug#12762).
3651
3652 2012-10-29 Kevin Ryde <user42@zip.com.au>
3653
3654 * woman.el (woman-parse-numeric-value): Handle picas correctly
3655 (Bug#12639).
3656
3657 2012-10-29 Glenn Morris <rgm@gnu.org>
3658
3659 * emacs-lisp/cl.el (defsetf): Doc fix.
3660
3661 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3664 syntax to the matching opener, if any (bug#12547).
3665 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3666 matching open as a "case-(".
3667 (sh-smie-rc-grammar): Add a corresponding rule for it.
3668
3669 2012-10-28 Daniel Hackney <dan@haxney.org>
3670
3671 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3672 "PKGNAME-autoloads.el" in case we created it.
3673
3674 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3677 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3678 (completion--twq-all): Disable too-strict assertions.
3679
3680 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3681
3682 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3683
3684 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3685 text to match the real keybindings.
3686
3687 2012-10-27 Juri Linkov <juri@jurta.org>
3688
3689 * wdired.el (wdired-keep-marker-rename): New defcustom.
3690 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3691 (Bug#11795)
3692
3693 * dired.el (dired-keep-marker-rename): Add reference to
3694 `wdired-keep-marker-rename' in the docstring.
3695 Add default character value ?R to display initially in
3696 Customization UI instead of ?@.
3697
3698 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3699
3700 * window.el (display-buffer): In doc-string describe
3701 window-height and window-width alist entries.
3702
3703 * time.el (display-time-world): Restore fit-window-to-buffer
3704 behavior.
3705
3706 2012-10-27 Chong Yidong <cyd@gnu.org>
3707
3708 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3709
3710 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3711
3712 * minibuffer.el (completion-category-overrides): New completion
3713 category `bookmark' (bug#11131).
3714
3715 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3718 Silence bogus compiler warnings for ad-do-it.
3719
3720 * bookmark.el (bookmark-completing-read): Set the completion category
3721 to `bookmark' (bug#11131).
3722
3723 2012-10-26 Bastien <bzg@altern.org>
3724 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * face-remap.el: Use lexical-binding.
3727 (text-scale-adjust): Improve docstring. Use itself for the temporary
3728 overlay-map bindings, so as to repeat the "Use..." message each time.
3729
3730 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * emacs-lisp/macroexp.el (macroexp--expand-all):
3733 Obey byte-compile-warning-enabled-p (bug#12486).
3734
3735 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3736 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3737
3738 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3739
3740 * mouse.el (mouse-drag-line): Move last form into preceding when
3741 clause (Bug#12731).
3742
3743 * help.el (resize-temp-buffer-window): Fix doc-string.
3744
3745 2012-10-25 David Engster <deng@randomsample.de>
3746
3747 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3748 Remove. This feature is already integrated in imenu.
3749
3750 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3751 always loaded. Require `speedbar' unconditionally.
3752
3753 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3756
3757 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3758
3759 * net/ldap.el (ldap-search-internal): The official ldif format starts
3760 with a "version: 1" header (bug#12724).
3761
3762 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3763 (bug#12721).
3764
3765 2012-10-25 Glenn Morris <rgm@gnu.org>
3766
3767 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3768
3769 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * minibuffer.el (minibuffer-force-complete): Use one more marker
3772 for the temporary-overlay-map command (bug#12619).
3773
3774 2012-10-24 Chong Yidong <cyd@gnu.org>
3775
3776 * time.el (display-time-world-mode): Derive from special-mode.
3777 (display-time-world): Use display-buffer (Bug#12708).
3778 (display-time-world-mode-map): Variable deleted.
3779 (display-time-world-display): Wrap the final delete-char inside
3780 inhibit-read-only.
3781
3782 2012-10-24 Chong Yidong <cyd@gnu.org>
3783
3784 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3785 Doc fix.
3786
3787 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3788
3789 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * minibuffer.el (completion--all-sorted-completions-location): New var.
3792 (completion--cache-all-sorted-completions)
3793 (completion--flush-all-sorted-completions): Use it.
3794 (completion-in-region, completion-in-region--postch)
3795 (completion-at-point, completion-help-at-point): Use markers in
3796 completion-in-region--data (bug#12619).
3797
3798 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3799
3800 * progmodes/compile.el (compilation-start): Try to handle common
3801 quoting of `cd' argument (bug#12640).
3802
3803 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3804 (bug#12671).
3805
3806 2012-10-23 Glenn Morris <rgm@gnu.org>
3807
3808 * progmodes/gud.el (gud-menu-map):
3809 Check gdb-active-process is bound. (Bug#12358)
3810
3811 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * repeat.el (repeat): Set real-this-command (bug#12232).
3814
3815 * htmlfontify.el (hfy-post-html-hook):
3816 * filesets.el (filesets-cache-fill-content-hook):
3817 * arc-mode.el (archive-extract-hook):
3818 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3819 * net/rcirc.el (rcirc-sentinel-functions)
3820 (rcirc-receive-message-functions, rcirc-activity-functions)
3821 (rcirc-print-functions):
3822 * net/dbus.el (dbus-event-error-functions):
3823 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3824 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3825 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3826 * term/sun.el (sun-raw-prefix-hooks):
3827 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3828
3829 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3832 Set `tramp-chunksize' to 1. This improves the performance.
3833 (tramp-smb-wait-for-output): Add timeout to
3834 `tramp-accept-process-output' calls.
3835
3836 2012-10-23 Chong Yidong <cyd@gnu.org>
3837
3838 * faces.el (font-list-limit): Define as an obsolete variable.
3839
3840 * startup.el (command-line):
3841 * cus-start.el: Don't refer to font-list-limit.
3842
3843 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3844
3845 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * subr.el (internal-temp-output-buffer-show): Rename from
3848 temp-output-buffer-show, since previously compiled files expect this name.
3849
3850 2012-10-23 Glenn Morris <rgm@gnu.org>
3851
3852 * image.el (image-type-from-file-name): If multiple types match,
3853 return the first one that is supported. (Bug#9045)
3854
3855 2012-10-22 Glenn Morris <rgm@gnu.org>
3856
3857 * image.el (imagemagick-enabled-types): Doc fix.
3858
3859 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3860
3861 * progmodes/which-func.el (which-func-current): The hash-table may have
3862 an explicit nil (bug#12338).
3863
3864 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * electric.el (electric-pair-delete-selection-self-insert-function):
3867 Rename to electric-pair-will-use-region, return a boolean.
3868 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3869
3870 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3871 (delete-selection-pre-hook): Use use-region-p.
3872 (delete-selection-self-insert-function): Remove.
3873 (self-insert-command): Obey self-insert-uses-region-functions.
3874 (self-insert-iso): Revert to previous setting, since we don't actually
3875 know what that command does.
3876 (delete-selection-self-insert-hooks): Remove.
3877
3878 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3879
3880 * delsel.el (delete-selection-helper): New function, extracted from
3881 delete-selection-pre-hook.
3882 (delete-selection-pre-hook): Use it.
3883 (delete-selection-self-insert-function): New function.
3884 (delete-selection-self-insert-hooks): New hook.
3885 (self-insert-command, self-insert-iso): Use it.
3886 * electric.el (electric-pair-syntax): New function, extracted from
3887 electric-pair-post-self-insert-function.
3888 (electric-pair-post-self-insert-function): Use it.
3889 (electric-pair-delete-selection-self-insert-function): New function.
3890 (electric-pair-mode): Require delsel and setup
3891 delete-selection-self-insert-hooks (bug#11520).
3892
3893 2012-10-20 Chong Yidong <cyd@gnu.org>
3894
3895 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3896 no changes to show (Bug#12586).
3897
3898 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3899 list explicitly (Bug#12571).
3900
3901 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3902
3903 * progmodes/flymake.el (flymake-create-temp-inplace):
3904 Use file-truename.
3905
3906 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3907
3908 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3909
3910 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3911
3912 * calc/calc-units.el (math-extract-units): Properly extract powers
3913 of units.
3914
3915 2012-10-20 Daniel Colascione <dancol@dancol.org>
3916
3917 * frame.el (make-frame): Set x-display-name as we used to in order
3918 to unbreak creating an X11 frame from an Emacs daemon started
3919 without a display.
3920
3921 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3924 the same completion-field (bug#12221).
3925
3926 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3927
3928 * emacs-lisp/debug.el (debug): Record height of debugger window
3929 also when debugger will be back (Bug#8789).
3930
3931 2012-10-18 Chong Yidong <cyd@gnu.org>
3932
3933 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3934 Convert to defcustom.
3935 (gdb-get-source-file): Don't bind pop-up-windows.
3936
3937 * progmodes/gud.el (gud-display-line): Don't specially re-use
3938 other frames for the gdb-mi case (Bug#12648).
3939
3940 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emacs-lisp/advice.el: Clean up commentary a bit.
3943 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3944 (byte-code-function-p): Never redefine.
3945
3946 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3947
3948 2012-10-18 Glenn Morris <rgm@gnu.org>
3949
3950 * dired.el (dired-sort-toggle): Some ls implementations only allow
3951 a single option string. (Bug#12666)
3952
3953 * minibuffer.el (completion-cycle-threshold): Doc fix.
3954
3955 2012-10-17 Kenichi Handa <handa@gnu.org>
3956
3957 * international/mule.el (set-keyboard-coding-system):
3958 Recover input meta mode when the new coding system doesn not use 8-bit.
3959 Supply TERMINAL arg to set-input-meta-mode.
3960
3961 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3962
3963 * wdired.el (wdired-old-marks): New variable.
3964 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3965 (wdired-do-renames): Move point with renamed file and don't lose
3966 mark status (Bug#11795).
3967
3968 2012-10-16 Juri Linkov <juri@jurta.org>
3969
3970 * replace.el (query-replace-help): Mention multi-buffer replacement
3971 keys in the Help message. (Bug#12655)
3972
3973 2012-10-15 Chong Yidong <cyd@gnu.org>
3974
3975 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3976
3977 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3978
3979 * window.el (display-buffer): Doc fix.
3980
3981 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3982 Adjust the msft regexp to the output of Studio 2010, and move msft
3983 before edg-1. See the discussion on emacs-devel,
3984 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3985 for the details.
3986
3987 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3990 (oset): Move uses of object-class-fast macro after its definition.
3991
3992 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3993
3994 2012-10-13 Chong Yidong <cyd@gnu.org>
3995
3996 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3997 enabled, re-enable it (Bug#11963).
3998
3999 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4000
4001 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4002 non-nil, restore window configuration (Bug#12623).
4003
4004 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * help-fns.el (describe-variable, describe-function-1):
4007 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4008
4009 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4010
4011 2012-10-12 Glenn Morris <rgm@gnu.org>
4012
4013 * mail/rmailsum.el (rmail-header-summary):
4014 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4015
4016 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4017
4018 * progmodes/python.el (python-mode-map):
4019 Replace subtitute-key-definition with proper command remapping.
4020 (python-nav--up-list): Fix behavior for blocks on the same level.
4021
4022 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4025
4026 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4027 changes to the format of load-history.
4028
4029 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4030 completion-ignore-case in case that var is buffer-local (bug#12615).
4031
4032 2012-10-11 Kenichi Handa <handa@gnu.org>
4033
4034 * international/eucjp-ms.el: Re-generated.
4035
4036 2012-10-10 Kenichi Handa <handa@gnu.org>
4037
4038 * select.el (xselect--encode-string): If a coding is specified for
4039 selection, and that is compatible with COMPOUND_TEXT, use it.
4040
4041 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4042
4043 * window.el (switch-to-buffer-preserve-window-point): New option.
4044 (switch-to-buffer):
4045 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4046
4047 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4050 Don't document nil as a useful value (bug#12583).
4051
4052 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4053
4054 * net/tramp.el (tramp-debug-message):
4055 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4056 (with-tramp-progress-reporter): Rename from
4057 `tramp-with-progress-reporter'.
4058 (with-tramp-file-property, with-tramp-connection-property):
4059 Move from tramp-cache.el, rename from `with-file-property' and
4060 `with-connection-property', respectively.
4061
4062 * net/tramp-cache.el: Remove `with-file-property' and
4063 `with-connection-property'.
4064
4065 * net/tramp.el:
4066 * net/tramp-gvfs.el:
4067 * net/tramp-sh.el:
4068 * net/tramp-smb.el: Adapt callees.
4069
4070 * net/trampver.el: Update release number.
4071
4072 2012-10-09 Glenn Morris <rgm@gnu.org>
4073
4074 * w32-fns.el (set-message-beep):
4075 * term/w32-win.el (set-message-beep): Update declarations.
4076
4077 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4080 (mode-line-widen, mode-line-input-method-map)
4081 (mode-line-coding-system-map, mode-line-remote)
4082 (mode-line-unbury-buffer, mode-line-bury-buffer)
4083 (mode-line-next-buffer, mode-line-previous-buffer):
4084 Replace save-selected-window+select-window => with-selected-window.
4085
4086 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4087 * progmodes/cc-vars.el (bq-process): Remove, unused.
4088
4089 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4090
4091 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4092
4093 Implemented `backward-up-list'-like navigation.
4094 * progmodes/python.el (python-nav-up-list)
4095 (python-nav-backward-up-list): New functions.
4096 (python-mode-map): Define substitute key for backward-up-list to
4097 python-nav-backward-up-list.
4098
4099 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4100
4101 * progmodes/python.el (python-fill-paragraph): Rename from
4102 python-fill-paragraph-function. Fixed fill-paragraph for
4103 decorators (Bug#12605).
4104
4105 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4106
4107 * progmodes/python.el (python-shell-output-filter): Handle extra
4108 carriage return in OSX (Bug#12409).
4109
4110 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4111
4112 Fix shell handling of unbalanced quotes and parens in output.
4113 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4114 (python-syntax-propertize-function): Use it.
4115 (python-shell-output-syntax-table): New var.
4116 (inferior-python-mode): Prevent unbalanced parens/quotes from
4117 previous output mess with current input context.
4118
4119 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4120
4121 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4122 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4123
4124 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4125
4126 * ffap.el (ffap-replace-file-component): Support Tramp file name
4127 syntax, not only ange-ftp's one.
4128
4129 2012-10-08 Glenn Morris <rgm@gnu.org>
4130
4131 * cus-start.el (message-log-max): Set :version.
4132
4133 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4134
4135 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4136
4137 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4138 the minibuffer window (Bug#10851).
4139
4140 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4141
4142 Enhancements on forward-sexp movement.
4143 * progmodes/python.el (python-nav-beginning-of-statement)
4144 (python-nav-end-of-statement): Return point-marker.
4145 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4146 (python-info-current-symbol)
4147 (python-info-statement-starts-block-p): Rename from
4148 python-info-beginning-of-block-p.
4149 (python-info-statement-ends-block-p): Rename from
4150 python-info-end-of-block-p.
4151 (python-info-beginning-of-statement-p)
4152 (python-info-end-of-statement-p)
4153 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4154 New functions.
4155
4156 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4159 frame-selected-windows.
4160
4161 2012-10-08 Daniel Colascione <dancol@dancol.org>
4162
4163 * battery.el (battery-status-function): Check for
4164 w32-battery-status itself, not system-time windows-nt.
4165
4166 * frame.el: Require cl-lib.
4167 (display-format-alist): New variable mapping frame types to
4168 functions that initialize them.
4169 (window-system-for-display): New function: interprets
4170 display-format-alist.
4171 (make-frame-on-display): Remove existing display-selection logic
4172 and just forward to make-frame, which will now DTRT.
4173 (make-frame): Restructure to use window-system-for-display to
4174 figure out how to create a frame on a given display.
4175 (display-mouse-p): Look for frame-type w32, not a particular
4176 system-type.
4177
4178 * loadup.el: Load w32 lisp code when we have the w32 feature.
4179
4180 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4181 system-type windows-nt.
4182
4183 * server.el (server-create-window-system-frame): Look for window
4184 type.
4185 (server-proces-filter): Only force a window system when windows-nt
4186 _and_ w32. Explain why.
4187
4188 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4189 of window systems we configure for the mode.
4190
4191 * startup.el (command-line): Mark window system is initialized
4192 after we've done it.
4193
4194 * common-win.el (x-select-text): Look for w32, not windows-nt.
4195
4196 * ns-win.el: Require cl-lib. Add ourselves to
4197 display-format-alist.
4198 (ns-initialize-window-system): Assert we're not initialized twice.
4199
4200 * w32-win.el: Enable lexical binding; require cl-lib; add
4201 ourselves to display-format-alist.
4202 (w32-handle-dropped-file): Convert incoming dropped files from
4203 Windows paths to Cygwin ones before passing them on to the rest of
4204 Emacs.
4205 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4206 (w32-initialize-window-system): Assert we're not initialized twice.
4207
4208 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4209 (x-initialize-window-system): Assert we're not initialized twice.
4210
4211 * w32-common-fns.el: New File.
4212 (w32-version, w32-using-nt, w32-get-clipboard-data)
4213 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4214 (w32-charset-info-alist, x-last-selected, text)
4215 (x-get-selection-value, x-selection-value): Move here.
4216
4217 * w32-fns.el: Require w32-common-fns.
4218 (w32-version, w32-using-nt, w32-get-clipboard-data)
4219 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4220 (w32-charset-info-alist, x-last-selected, text)
4221 (x-get-selection-value, x-selection-value): Move to
4222 w32-common-fns.
4223
4224 * w32-vars.el:
4225 (w32-allow-system-shell, w32-system-shells): Define only in
4226 non-cygwin case.
4227
4228 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4231 (read-passwd): Remove a few more potential sources of leaks.
4232
4233 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4234
4235 * progmodes/python.el (inferior-python-mode)
4236 (python-shell-make-comint): Fix initialization of local
4237 variables copied from parent buffer.
4238
4239 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4240
4241 * term/ns-win.el (ns-read-file-name): Update declaration to match
4242 nsfns.m.
4243 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4244 it is set when font is acted upon.
4245
4246 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4247
4248 Enhancements to indentation.
4249 * progmodes/python.el (python-indent-context): Give priority to
4250 inside-string context. Make comments indentation markers.
4251 (python-indent-region): Do not mess with strings, unless it's the
4252 enclosing set of quotes.
4253
4254 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * window.el (internal--before-save-selected-window)
4257 (internal--after-save-selected-window): New functions extracted from
4258 save-selected-window. Make sure we return the `alist' we construct.
4259 (save-selected-window): Use them.
4260
4261 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4262 Use with-selected-window.
4263
4264 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4265 forms that define macros (bug#12593).
4266
4267 2012-10-07 Kenichi Handa <handa@gnu.org>
4268
4269 * international/mule-conf.el (compound-text-with-extensions):
4270 Add :mime-charset property as x-ctext.
4271
4272 2012-10-07 Stefan Merten <smerten@oekonux.de>
4273
4274 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4275 (rst-indent-literal-normal, rst-indent-literal-minimized)
4276 (rst-indent-comment): Correct :version tag.
4277 (rst-official-cvs-rev): Correct version string.
4278
4279 2012-10-07 Glenn Morris <rgm@gnu.org>
4280
4281 * mail/rmailmm.el (rmail-mime-process-multipart):
4282 Do not confuse a multipart message with an epilogue
4283 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4284
4285 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4286
4287 Fix shell output retrieval and comint-prompt-regexp init.
4288 * progmodes/python.el (inferior-python-mode):
4289 (python-shell-make-comint): Fix initialization of
4290 comint-prompt-regexp from copied file local variables.
4291 (python-shell-fetched-lines): Remove var.
4292 (python-shell-output-filter-in-progress): Rename from
4293 python-shell-fetch-lines-in-progress.
4294 (python-shell-output-filter-buffer): Rename from
4295 python-shell-fetch-lines-string.
4296 (python-shell-fetch-lines-filter): Delete function.
4297 (python-shell-output-filter): New function.
4298 (python-shell-send-string-no-output): Use them.
4299
4300 2012-10-07 Glenn Morris <rgm@gnu.org>
4301
4302 * hi-lock.el (hi-lock-process-phrase):
4303 Try to make it less fragile. (Bug#7161)
4304
4305 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4306
4307 2012-10-06 Glenn Morris <rgm@gnu.org>
4308
4309 * ehelp.el (electric-help-mode): Use help-mode rather than
4310 non-existent mode `help'.
4311 (electric-help-map): Use button-buffer-map. (Bug#10917)
4312
4313 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4314 (reftex-create-bibtex-footer): Fix custom types.
4315
4316 * progmodes/sh-script.el (sh-indent-after-continuation):
4317 Add explicit :group.
4318
4319 * textmodes/rst.el (rst-preferred-decorations)
4320 (rst-shift-basic-offset): Clarify obsolescence versions.
4321
4322 * profiler.el (profiler): Add missing group :version tag.
4323 * avoid.el (mouse-avoidance-banish-position):
4324 * proced.el (proced-renice-command):
4325 * calc/calc.el (calc-ensure-consistent-units):
4326 * calendar/icalendar.el (icalendar-import-format-uid):
4327 * net/tramp.el (tramp-save-ad-hoc-proxies):
4328 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4329 * progmodes/flymake.el (flymake-error-bitmap)
4330 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4331 * progmodes/sh-script.el (sh-indent-after-continuation):
4332 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4333 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4334 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4335 (vhdl-array-index-record-field-in-sensitivity-list)
4336 (vhdl-indent-comment-like-next-code-line):
4337 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4338 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4339 (reftex-cite-key-separator, reftex-create-bibtex-header)
4340 (reftex-create-bibtex-footer):
4341 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4342 (rst-indent-literal-normal, rst-indent-literal-minimized)
4343 (rst-indent-comment): Add missing custom :version tags.
4344
4345 * calendar/timeclock.el (timeclock-modeline-display):
4346 Add missing obsolete alias for renamed user option.
4347
4348 * strokes.el (strokes-modeline-string):
4349 * emulation/crisp.el (crisp-mode-modeline-string):
4350 * eshell/esh-mode.el (eshell-status-in-modeline):
4351 Aliases to defcustoms must come before the defcustom.
4352
4353 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4354 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4355 (cal-tex-cursor-week-monday): Doc fixes.
4356 (cal-tex-cursor-week2-summary): Doc fix.
4357 Rename from cal-tex-cursor-week-at-a-glance.
4358
4359 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4360 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4361
4362 * calendar/calendar.el (calendar-mode-map):
4363 Add cal-tex-cursor-week2-summary.
4364
4365 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4368
4369 * subr.el (read-passwd-map): New var.
4370 (read-passwd): Use `read-string' again.
4371 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4372
4373 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4374
4375 * register.el (append-to-register, prepend-to-register):
4376 Deactivate mark, as does `copy-to-register' (bug#12389).
4377
4378 2012-10-06 Chong Yidong <cyd@gnu.org>
4379
4380 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4381
4382 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4383
4384 * international/characters.el: Fix simple mistake ((car chars) ->
4385 elt), delete duplicated code.
4386
4387 2012-10-06 Glenn Morris <rgm@gnu.org>
4388
4389 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4390
4391 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4392
4393 * color.el (color-hsl-to-rgb): Fix incorrect results for
4394 small and large hue values. (Bug#12559)
4395
4396 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4397
4398 Enhancements to docstring formatting when filling paragraphs.
4399 * progmodes/python.el (python-fill-docstring-style): Rename from
4400 python-fill-string-style. Added new style.
4401 (python-fill-string): Use new style. Better checks for
4402 docstrings.
4403
4404 2012-10-05 Glenn Morris <rgm@gnu.org>
4405
4406 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4407
4408 * color.el (color-name-to-rgb, color-rgb-to-hex)
4409 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4410 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4411 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4412 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4413
4414 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4415
4416 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4417
4418 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4419 to get the correct size across symlinks.
4420
4421 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4422
4423 2012-10-04 Juri Linkov <juri@jurta.org>
4424
4425 * replace.el (query-replace-interactive): Declare obsolete.
4426 (query-replace-read-from): Add the last incremental search string
4427 to the list of default values accessible via M-n.
4428 (map-query-replace-regexp): Use `read-regexp'.
4429 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4430 (map-query-replace-regexp, replace-string, replace-regexp):
4431 Fix docstrings to replace mentions of `query-replace-interactive'
4432 with alternatives. (Bug#12526)
4433
4434 2012-10-04 Juri Linkov <juri@jurta.org>
4435
4436 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4437 (dired-pop-to-buffer): Declare obsolete.
4438 (dired-mark-pop-up): Doc fix.
4439
4440 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4441
4442 Allow user to set docstring style for fill-paragraph.
4443 * progmodes/python.el
4444 (python-fill-comment-function, python-fill-string-function)
4445 (python-fill-decorator-function, python-fill-paren-function):
4446 Remove :safe for defcustoms.
4447 (python-fill-string-style): New defcustom
4448 (python-fill-paragraph-function): Enhance context detection.
4449 (python-fill-string): Honor python-fill-string-style settings.
4450
4451 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4452
4453 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4454 after setting its buffer (Bug#10805).
4455
4456 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4457
4458 Fix cornercase for string syntax.
4459 * progmodes/python.el (python-syntax-propertize-function):
4460 Simplify and enhance the regexp for unescaped quotes. Now it also
4461 matches quotes in weird situations like the single quote in
4462 "something\"'".
4463 (python-syntax-stringify): Simplify num-quotes detecting code.
4464
4465 2012-10-03 Glenn Morris <rgm@gnu.org>
4466
4467 * help-macro.el (three-step-help):
4468 Revert 2012-09-29 change. (Bug#12567)
4469
4470 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4471
4472 * menu-bar.el (kill-this-buffer): Don't do anything when
4473 `menu-frame' is not alive or visible (Bug#8184).
4474
4475 * emacs-lisp/debug.el (debug): When quitting the debugger window
4476 restore current buffer (Bug#12502).
4477
4478 2012-10-02 Chong Yidong <cyd@gnu.org>
4479
4480 * progmodes/hideif.el (hif-lookup, hif-defined):
4481 Handle semantic-c-takeover-hideif.
4482
4483 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4484
4485 Change sampling interval units from ms to ns.
4486 * profiler.el (profiler-sampling-interval): Change units
4487 from ms to ns, multiplying the default by 1000000 so that
4488 it remains 1 ms.
4489 (profiler-report-cpu-line-format): Give enough room for
4490 the maximum counters on 64-bit hosts.
4491 (profiler-report-render-calltree-1): Call them "CPU samples",
4492 not "Time (ms)", since they are not milliseconds now (and
4493 never really were).
4494
4495 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4496
4497 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4498 Fix querying BBDB for entries without a last name (Bug#11580).
4499
4500 2012-10-02 Chong Yidong <cyd@gnu.org>
4501
4502 * emacs-lisp/eieio.el: Restore Version header.
4503
4504 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * vc/diff-mode.el (diff--auto-refine-data): New var.
4507 (diff-hunk): Use it to delay refinement.
4508 (diff-mode): Remove overlays when we turn off font-lock.
4509
4510 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4511 (table-initialize-table-fixed-width-mode)
4512 (table-set-table-fixed-width-mode): Remove functions.
4513 (table-command-list): Move initialization into declaration.
4514 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4515 (table-with-cache-buffer): Use `declare'.
4516 (table-span-cell): Simplify via CSE.
4517 (table-fixed-width-mode): Use define-minor-mode.
4518 (table-call-interactively, table-funcall, table-apply): Remove.
4519 (table-function): New function, to replace them.
4520
4521 * bookmark.el (bookmark-search-pattern): Remove var.
4522 (bookmark-read-search-input): Remove function.
4523 (bookmark-bmenu-search): Reimplement using a minibuffer.
4524
4525 * faces.el (modeline): Remove obsolete face name.
4526
4527 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4528 and give a non-nil default value.
4529 (add-change-log-entry): Simplify accordingly.
4530
4531 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4532
4533 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4534 (vc-git-log-edit-toggle-amend): New function.
4535 (vc-git-log-edit-toggle-signoff): New function.
4536 (vc-git-log-edit-mode): New major mode.
4537 (vc-git-log-edit-mode-map): Keymap for it.
4538 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4539
4540 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4541 header names.
4542 (log-edit-toggle-header): New function.
4543 (log-edit-extract-headers): Accept function values in HEADERS alist.
4544
4545 2012-10-01 David Engster <deng@randomsample.de>
4546
4547 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4548 from symbol property and change message to be more consistent with
4549 Emacs proper.
4550 (eieio-describe-generic): Add filename for each implementation.
4551 Fix indices for generic and normal methods.
4552 (eieio-method-def, eieio-class-def): New buttons.
4553 (eieio-help-find-method-definition)
4554 (eieio-help-find-class-definition): New functions.
4555 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4556 class, constructor and method definitions.
4557
4558 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4559 information in symbol property.
4560 (scoped-class): Remove.
4561 (eieio-slot-name-index, call-next-method): Check if it is bound.
4562
4563 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4564
4565 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4566 (eieio-custom-mode): New major mode.
4567 (eieio-customize-object): Use it.
4568
4569 2012-10-01 Eric Ludlam <zappo@gnu.org>
4570
4571 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4572 specifying the expected class, and whether subclassing is allowed.
4573 (eieio-persistent-convert-list-to-object):
4574 (eieio-persistent-validate/fix-slot-value)
4575 (eieio-persistent-slot-type-is-class-p): New functions.
4576 (eieio-named::slot-missing): Doc fix.
4577
4578 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4579 Stop using unused publd variable.
4580
4581 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4582 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4583 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4584 (eieio-speedbar-handle-click): Do not specify a class for the
4585 method. Fixes method invocation order problems with EDE.
4586
4587 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4590 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4591
4592 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4593
4594 * bookmark.el (bookmark-version-control): Give tags in the
4595 :type choices (Bug#12309), and improve doc string.
4596 (bookmark-write-file): Bind `print-circle' to `t' to allow
4597 circular custom bookmark types. (Bug#12503)
4598
4599 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4600
4601 Revert the FOLLOW-SYMLINKS change for file-attributes.
4602 * files.el (remote-file-name-inhibit-cache, after-find-file):
4603 * time.el (display-time-file-nonempty-p): Undo last change.
4604
4605 * profiler.el (profiler-sampling-interval): Change default back to 1.
4606 See Stefan Monnier in
4607 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4608
4609 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4610
4611 Shell output catching a la gud-gdb.
4612 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4613 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4614 New Vars.
4615 (python-shell-fetch-lines-filter): New function.
4616 (python-shell-send-string-no-output): Use them.
4617
4618 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4619
4620 * profiler.el (profiler-sampling-interval): Rename from
4621 profiler-sample-interval.
4622 (profiler-sampling-interval): Default to 10.
4623 (profiler-find-profile): New command (was profiler-find-log).
4624 (profiler-find-profile-other-window): New command.
4625 (profiler-find-profile-other-frame): New command.
4626 (profiler-profile): Introduce API-level data structure.
4627
4628 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4629
4630 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4631 * files.el (remote-file-name-inhibit-cache):
4632 * time.el (display-time-file-nonempty-p): Use it.
4633 * files.el (after-find-file): Don't chase links before calling
4634 file-exists-p, as file-exists-p already does the right thing.
4635
4636 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4637
4638 Merge from standalone RefTeX repository.
4639
4640 The following ChangeLog entries are shortened versions of the
4641 original ones with file paths adapted. A not so strongly edited
4642 version of the original ChangeLog can be found in the commit log.
4643
4644 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4645 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4646 Correctly handle new value type returned by `reftex-citation'.
4647
4648 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4649 that entries with whitespace at various places are found.
4650 Doc fix. Include entries that are cross-referenced from cited entries.
4651 Include @String definitions in the resulting bib file. Add header
4652 and footer defined in `reftex-create-bibtex-header' and
4653 `reftex-create-bibtex-footer'.
4654 (reftex-do-citation): Make it possible again to insert
4655 non-existent entries. Save match data when asking for optional
4656 arguments. Return all keys, not just the first one.
4657 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4658 all citations in the same line.
4659 (reftex-parse-bibtex-entry): Accept additional optional argument
4660 `raw' and keep quotes or braces if it is non-nil. Match fields
4661 containing hyphens besides word constituents.
4662 (reftex-get-string-refs): New function.
4663 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4664 and ask if it should be reread in case it did.
4665 (reftex-pop-to-bibtex-entry)
4666 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4667 entries with spaces or tabs in front of arguments.
4668 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4669 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4670 Match entries containing numbers and symbol constituents.
4671 (reftex-do-citation, reftex-figure-out-cite-format):
4672 Use `reftex-cite-key-separator'.
4673
4674 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4675 (reftex-mouse-view-crossref): Explain why point is set.
4676
4677 * textmodes/reftex-global.el: Whitespace changes.
4678
4679 * textmodes/reftex-index.el: Move provide statement to end of
4680 file.
4681 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4682 (reftex-index-visit-phrases-buffer): Set marker when visiting
4683 buffer. This allows for returning from the phrases file to the
4684 file one was just editing instead of the file where the last
4685 phrases was added from.
4686 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4687 punctuation syntax as it usually is not used as string quote in
4688 TeX-related modes and may occur unmatched. The change also
4689 prevents fontification of quoted content.
4690 (reftex-index-phrases-mode): Use it.
4691
4692 * textmodes/reftex-parse.el (reftex-parse-from-file):
4693 Move backward one char if a `\' was matched after a section macro.
4694 (reftex-parse-from-file): Use beginning of match instead of end as
4695 bound.
4696
4697 * textmodes/reftex-ref.el: Adapt creation of
4698 `reftex-<package>-<macro>' functions to new structure of
4699 `reftex-ref-style-alist'.
4700 (reftex-reference): Use `reftex-ref-style-list' function.
4701 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4702 reference macro if `reftex-ref-macro-prompt' is non-nil.
4703 (reftex-reference): Pass refstyle to `reftex-format-special'.
4704 Determine reference macro by looking at
4705 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4706 Use only one special format function.
4707 (reftex-varioref-vref, reftex-fancyref-fref)
4708 (reftex-fancyref-Fref): Remove definitions. The functions are now
4709 generated from `reftex-ref-style-alist'.
4710 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4711 Remove.
4712 (reftex-format-special): New function.
4713
4714 * textmodes/reftex-sel.el
4715 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4716 of `reftex-ref-style-alist'. Remove code for testing macro type.
4717 (reftex-select-toggle-varioref)
4718 (reftex-select-toggle-fancyref): Remove.
4719 (reftex-select-cycle-ref-style-internal)
4720 (reftex-select-cycle-ref-style-forward)
4721 (reftex-select-cycle-ref-style-backward): New functions.
4722 (reftex-select-label-map): Use `v' and `V' for general cycling
4723 through reference styles. Add `p' for switching between number
4724 and page reference types.
4725
4726 * textmodes/reftex-toc.el (reftex-re-enlarge):
4727 Call `enlarge-window' only if there is something to do because in Emacs
4728 the horizontal version throws an error even if the parameter is 0.
4729
4730 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4731 (reftex-plug-into-AUCTeX): Doc fix.
4732 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4733 string. Adapt to new name.
4734 (reftex-ref-style-alist): Change structure so that it is not
4735 possible to use multiple different package names within a style.
4736 Remove the symbols for symbols for macro type distinction.
4737 Add characters for macro selection.
4738 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4739 (reftex-create-bibtex-footer): New variables.
4740 (reftex-format-ref-function): Mention third argument of special
4741 format function.
4742 (reftex-ref-style-alist, reftex-ref-style-default-list):
4743 New variables.
4744 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4745 to new implementation. Mark as obsolete. Add compatibility code
4746 for honoring the variable values in case they are set.
4747 (reftex-cite-format-builtin, reftex-bibliography-commands):
4748 Add support for ConTeXt.
4749 (reftex-format-ref-function, reftex-format-cite-function):
4750 Fix custom type.
4751 (reftex-cite-key-separator): New variable.
4752
4753 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4754 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4755 `reftex-syntax-table' because parens have to retain their paren
4756 syntax in order for parsing of BibTeX entries like @book(...) to
4757 work.
4758 (reftex-in-comment): Do not error out if `comment-start-skip' is
4759 not set. Deal correctly with escaped comment characters.
4760 (reftex-tie-multifile-symbols): Add doc string.
4761 Initialize `reftex-ref-style-list'.
4762 (reftex-untie-multifile-symbols): Add doc string.
4763 (reftex-add-index-macros): Doc fix.
4764 (reftex-ref-style-activate, reftex-ref-style-toggle)
4765 (reftex-ref-style-list): New functions.
4766 (reftex-mode-menu): Use them. Adapt to new structure of
4767 `reftex-ref-style-alist'.
4768 (reftex-select-with-char): Kill the RefTeX Select buffer when
4769 done.
4770 (reftex-remove-if): New function.
4771 (reftex-erase-all-selection-and-index-buffers)
4772 (reftex-mode-menu): Reference styles are now computed from
4773 `reftex-ref-style-alist'. Fix typo.
4774 (reftex-report-bug): New function.
4775 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4776 algorithms with O(n log n). Introduce optional argument SORT (not
4777 yet used).
4778
4779 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4780
4781 Enhancements for triple-quote string syntax.
4782 * progmodes/python.el (python-syntax-propertize-function):
4783 Match both quote cases in one regexp.
4784 (python-syntax-stringify): Handle matches properly.
4785
4786 2012-09-30 Juri Linkov <juri@jurta.org>
4787
4788 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4789 to nil around the call to `insert' to prevent
4790 directory time modification by lock_file. (Bug#2295)
4791 * tar-mode.el (tar-summarize-buffer): Idem.
4792
4793 2012-09-30 Juri Linkov <juri@jurta.org>
4794
4795 * facemenu.el (list-colors-sort): Add option "Luminance".
4796 (list-colors-sort-key): Implement it.
4797
4798 * vc/diff-mode.el (diff-refine-removed):
4799 * vc/ediff-init.el (ediff-fine-diff-A):
4800 * vc/smerge-mode.el (smerge-refined-removed):
4801 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4802
4803 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4804
4805 * term/ns-win.el (x-file-dialog): New function.
4806
4807 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4808
4809 * ido.el (ido-max-directory-size): Default to nil; the current
4810 default is small for POSIX systems, and impractical on Windows 7
4811 now that lstat returns directory sizes for NTFS.
4812
4813 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4814
4815 In buffer display functions handle window-height/window-width
4816 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4817 * window.el (window--display-buffer): New argument ALIST.
4818 Obey window-height and window-width alist entries.
4819 (window--try-to-split-window): New argument ALIST.
4820 Bind window-combination-limit to t when the window's size shall be
4821 changed and window-combination-limit equals `window-size'.
4822 (display-buffer-in-atom-window)
4823 (display-buffer-in-major-side-window)
4824 (display-buffer-in-side-window, display-buffer-same-window)
4825 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4826 (display-buffer-pop-up-window, display-buffer-below-selected)
4827 (display-buffer-at-bottom, display-buffer-in-previous-window)
4828 (display-buffer-use-some-window): Adjust all callers of
4829 window--display-buffer and window--try-to-split-window.
4830 (fit-frame-to-buffer): New option.
4831 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4832 is non-nil.
4833 (display-buffer-in-major-side-window): Evaluate window-height /
4834 window-width alist entries.
4835
4836 * help.el (temp-buffer-resize-frames)
4837 (temp-buffer-resize-regexps): Remove options.
4838 (temp-buffer-resize-mode): Adjust doc-string.
4839 (resize-temp-buffer-window): Don't consult
4840 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4841 temp-buffer-resize-frames.
4842
4843 * dired.el (dired-mark-pop-up):
4844 Call display-buffer-below-selected with a fit-window-to-buffer alist
4845 entry.
4846
4847 2012-09-30 Chong Yidong <cyd@gnu.org>
4848
4849 * server.el (server-host): Document the security implications.
4850 (server-auth-key): Doc fix.
4851
4852 * startup.el (initial-buffer-choice): Doc fix.
4853
4854 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4855
4856 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4857 restriction change.
4858
4859 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4860
4861 * help-fns.el (help-fns--obsolete): Fix last change.
4862
4863 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4866 (minor-mode-map-alist): Remove redundant code.
4867
4868 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4869 visited in a buffer.
4870 (cvs-insert-visited-file): New function.
4871 (find-file-hook): Use it.
4872
4873 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4874
4875 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4876 chose face.
4877 (log-edit-empty-buffer-p): Don't require a space after a header.
4878
4879 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4880
4881 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4882
4883 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4884 a proper minor-mode.
4885
4886 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4887
4888 2012-09-29 Glenn Morris <rgm@gnu.org>
4889
4890 * winner.el (winner-mode): Remove variable (let define-minor-mode
4891 handle it).
4892 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4893 Doc fixes.
4894 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4895 (winner-mode): Use define-minor-mode.
4896
4897 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4898 the full definition in loaddefs, rather than duplicating it.
4899
4900 * help-macro.el (three-step-help): No need to autoload defcustom.
4901
4902 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4903 (inferior-lisp-program, inferior-lisp-load-command)
4904 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4905 No need to autoload defcustoms.
4906
4907 * hippie-exp.el (hippie-expand-try-functions-list)
4908 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4909 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4910 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4911 (hippie-expand-only-buffers): No need to autoload defcustoms.
4912 * progmodes/vhdl-mode.el (vhdl-line-expand):
4913 Explicitly load hippie-exp, so it does not get autoloaded
4914 while hippie-expand-try-functions-list is let-bound.
4915
4916 2012-09-28 Glenn Morris <rgm@gnu.org>
4917
4918 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4919
4920 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4921 Only "cl.el" counts as cl these days.
4922
4923 2012-09-28 Juri Linkov <juri@jurta.org>
4924
4925 Display archive errors in the echo area instead of inserting
4926 to the file buffer.
4927
4928 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4929 to STDERR-TEST that can be a regexp matching a successful output.
4930 Create a temporary file and redirect stderr to it. Search for
4931 STDERR-TEST in the stderr output and display it in the echo area
4932 if no match is found.
4933 (archive-extract-by-file): New function like
4934 `archive-extract-by-stdout' but extracting archives to files
4935 and looking for successful matches in stdout. Function body is
4936 mostly copied from `archive-rar-extract'.
4937 (archive-rar-extract): Use `archive-extract-by-file'.
4938 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4939
4940 2012-09-28 Leo Liu <sdl.web@gmail.com>
4941
4942 * pcomplete.el (pcomplete-show-completions):
4943 Use minibuffer-message to make pcomplete usable in minibuffer.
4944
4945 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4946
4947 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * type-break.el: Use lexical-binding.
4950 (type-break-mode): Use define-minor-mode.
4951
4952 * emacs-lisp/pcase.el (pcase--mark-used): New.
4953 (pcase--u1): Use it (bug#12512).
4954
4955 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4956 in load-history with the right file name.
4957
4958 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4959
4960 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4961 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4962 (doc-view-get-bounding-box): Make bounding box slicing work for
4963 ODF and DVI documents.
4964
4965 2012-09-28 Glenn Morris <rgm@gnu.org>
4966
4967 * type-break.el (type-break-mode, type-break-interval)
4968 (type-break-good-rest-interval, type-break-keystroke-threshold):
4969 No need to autoload.
4970 (type-break-good-rest-interval, type-break-keystroke-threshold):
4971 Add :set-after.
4972
4973 2012-09-28 Chong Yidong <cyd@gnu.org>
4974
4975 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4976 Add :version tag.
4977
4978 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4981
4982 2012-09-27 Glenn Morris <rgm@gnu.org>
4983
4984 * faces.el (x-display-name): Declare (for without-x builds).
4985
4986 * linum.el (linum-format): Don't autoload it. Improve :type.
4987
4988 * progmodes/tcl.el: Don't require outline when compiling.
4989 (outline-regexp, outline-level): Declare.
4990 * textmodes/sgml-mode.el: Don't require outline when compiling.
4991 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4992
4993 * term.el (term-ansi-reset):
4994 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4995
4996 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4997 files for RCS and SCCS. (Bug#9781)
4998
4999 2012-09-27 Chong Yidong <cyd@gnu.org>
5000
5001 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5002 change; value should be t.
5003
5004 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * image-mode.el: Use lexical-binding.
5007 (image-mode-winprops): Use t to stand for the window of
5008 a buffer that's not displayed.
5009 * doc-view.el (doc-view-new-window-function): Handle the new
5010 t in winprops.
5011 (doc-view-enlarge): Make it a real nop if the size is not changed.
5012 (doc-view-display): Handle the case where the buffer is not (yet?)
5013 displayed in any window.
5014 (doc-view-saved-settings): New var.
5015 (doc-view-mode): Use it.
5016 (doc-view-fallback-mode): Set it.
5017
5018 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5019 Set lexical-binding.
5020 (minibuffer-eldef-shorten-default): New var.
5021 (minibuffer-default-in-prompt-regexps): Use it for new default.
5022 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5023
5024 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5025
5026 * international/uni-bidi.el:
5027 * international/uni-category.el:
5028 * international/uni-name.el:
5029 * international/uni-numeric.el: Regenerate.
5030
5031 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5032 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * profiler.el: New file.
5035
5036 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5039 (testcover-reinstrument): Simplify with CSE.
5040
5041 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5042
5043 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5044
5045 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5046
5047 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5048 (verilog-auto-input, verilog-auto-insert-lisp)
5049 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5050 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5051 (verilog-auto-unused, verilog-auto-wire)
5052 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5053 newline. Reported by Andrew Jones.
5054 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5055 Reported by Brad Dobbie.
5056 (verilog-batch-delete-trailing-whitespace):
5057 Create verilog-batch-delete-trailing-whitespace.
5058 Reported by Brad Dobbie.
5059 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5060 parameters from another module. Reported by Dan Katz.
5061 (verilog-auto, verilog-auto-assign-modport)
5062 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5063 AUTOINOUTMODPORT for UVM interface module shell generation.
5064 Reported by Brad Dobbie.
5065 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5066 standard behavior.
5067 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5068 Reported by Matt Martin.
5069
5070 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5071
5072 * window.el (window--resize-child-windows): When resizing child
5073 windows proportionally, process them in reverse order to
5074 preserve the "when splitting a window the new one gets the odd
5075 line" behavior.
5076 (window--resize-root-window-vertically): When resizing the
5077 minibuffer window try to affect only windows at the bottom of the
5078 frame. (Bug#12419)
5079
5080 2012-09-25 Chong Yidong <cyd@gnu.org>
5081
5082 * subr.el (declare): Doc fix.
5083
5084 * help-fns.el (help-fns--obsolete): Handle macros properly.
5085
5086 2012-09-25 Chong Yidong <cyd@gnu.org>
5087
5088 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5089 this function obsolete.
5090
5091 * calendar/cal-x.el (calendar-two-frame-setup)
5092 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5093 * calendar/calendar.el (american-calendar, european-calendar)
5094 (calendar-for-loop):
5095 * comint.el (comint-dynamic-simple-complete)
5096 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5097 * desktop.el (desktop-load-default):
5098 * dired-x.el (dired-omit-here-always)
5099 (dired-hack-local-variables, dired-default-directory):
5100 * emacs-lisp/derived.el (derived-mode-class):
5101 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5102 * emacs-lock.el (toggle-emacs-lock):
5103 * epa.el (epa-display-verify-result):
5104 * epg.el (epg-sign-keys, epg-start-sign-keys)
5105 (epg-passphrase-callback-function):
5106 * eshell/esh-util.el (eshell-for):
5107 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5108 (eshell-add-to-window-buffer-names):
5109 * files.el (locate-file-completion):
5110 * imenu.el (imenu-example--create-c-index)
5111 (imenu-example--create-lisp-index)
5112 (imenu-example--lisp-extract-index-name)
5113 (imenu-example--name-and-position):
5114 * international/mule-cmds.el (princ-list):
5115 * international/mule-diag.el (decode-codepage-char):
5116 * international/mule-util.el (detect-coding-with-priority):
5117 * iswitchb.el (iswitchb-read-buffer):
5118 * mail/mailalias.el (mail-complete):
5119 * mail/sendmail.el (mail-sent-via):
5120 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5121 (mouse-major-mode-menu):
5122 * password-cache.el (password-read-and-add):
5123 * pcomplete.el (pcomplete-parse-comint-arguments):
5124 * progmodes/sh-script.el (sh-maybe-here-document):
5125 * replace.el (query-replace-regexp-eval):
5126 * savehist.el (savehist-load):
5127 * simple.el (choose-completion-delete-max-match):
5128 * term.el (term-dynamic-simple-complete):
5129 * vc/ediff-init.el (ediff-check-version):
5130 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5131 * vc/vc.el (vc-diff-switches-list):
5132 * view.el (view-return-to-alist-update): Likewise.
5133
5134 * subr.el (eval-next-after-load, makehash, insert-string)
5135 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5136 mark obsolete.
5137 (mode-line-inverse-video): Variable deleted.
5138
5139 * international/mule-util.el (string-to-sequence): Remove.
5140
5141 * calendar/calendar.el (calendar-version):
5142 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5143 (icalendar-convert-diary-to-ical):
5144 * cus-edit.el (custom-mode):
5145 * ansi-color.el (ansi-color-unfontify-region):
5146 * international/latin1-disp.el (latin1-char-displayable-p):
5147 * progmodes/cwarn.el (turn-on-cwarn-mode):
5148 * progmodes/which-func.el (which-func-update-1):
5149 Use define-obsolete-function-alias.
5150
5151 * net/newst-backend.el (newsticker-cache-filename):
5152 * net/newst-treeview.el (newsticker-groups-filename):
5153 Fix incorrect obsolescence declaration.
5154
5155 * allout.el (allout-passphrase-hint-string): Likewise.
5156 (allout-init): Use a declare form to mark obsolete.
5157
5158 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5159 this applies to functions.
5160
5161 * iswitchb.el (iswitchb-read-buffer): Move code of
5162 iswitchb-define-mode-map here, and delete that obsolete function.
5163
5164 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5165 font-lock-reference-face.
5166
5167 2012-09-25 Glenn Morris <rgm@gnu.org>
5168
5169 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5170 Doc fixes.
5171
5172 * eshell/em-term.el (eshell-term-name):
5173 Default to term-term-name. (Bug#12485)
5174
5175 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5176
5177 * progmodes/python.el (python-shell-send-buffer): Better handling
5178 of "if __name__ == '__main__':" conditionals when sending the buffer.
5179
5180 2012-09-24 Glenn Morris <rgm@gnu.org>
5181
5182 * eshell/esh-cmd.el (eshell-find-alias-function):
5183 Tighten up file-name regexp. (Bug#12499)
5184
5185 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5186
5187 Enhancements for triple-quote string syntax.
5188 * progmodes/python.el (python-quote-syntax): Remove.
5189 (python-syntax-propertize-function): New value.
5190 (python-syntax-count-quotes, python-syntax-stringify):
5191 New functions.
5192
5193 2012-09-24 Chong Yidong <cyd@gnu.org>
5194
5195 * mail/supercite.el (sc-version): Remove obsolete function.
5196 (sc-describe): Don't mark as obsolete, since it is bound.
5197 (sc-submit-bug-report): Remove.
5198
5199 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5200 (cvs-commit-buffer-require-final-newline): Remove.
5201 (log-edit-require-final-newline)
5202 (log-edit-changelog-full-paragraphs): Default to t.
5203
5204 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5205 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5206 * vc/vc.el (vc-checkout-carefully): Likewise.
5207
5208 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5209 (emerge-version): Remove.
5210
5211 * progmodes/compile.el (compile-internal): Remove.
5212 (compilation-parse-errors-function): Fix typo.
5213
5214 * international/mule.el (set-char-table-default): Remove.
5215 (set-coding-priority, make-coding-system, generic-char-p)
5216 (charset-list, charset-bytes, charset-id): Use declare to mark
5217 functions as obsolete.
5218
5219 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5220 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5221 * vc/vc-hooks.el (vc-default-registered): Don't use
5222 vc-master-templates.
5223
5224 * font-lock.el (font-lock-reference-face):
5225 Use define-obsolete-variable-alias.
5226
5227 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5228 * calendar/calendar.el (calendar-font-lock-keywords):
5229 * calendar/diary-lib.el (diary-font-lock-keywords)
5230 (diary-fancy-font-lock-keywords):
5231 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5232 * textmodes/reftex-index.el (reftex-insert-index):
5233 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5234 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5235 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5236 * progmodes/prolog.el (prolog-font-lock-keywords):
5237 * progmodes/idlwave.el (idlwave-idl-keywords):
5238 * progmodes/ada-mode.el (ada-font-lock-keywords):
5239 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5240
5241 2012-09-24 Glenn Morris <rgm@gnu.org>
5242
5243 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5244
5245 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5246
5247 * progmodes/python.el (python-indent-line): More consistent cursor
5248 movement behavior.
5249
5250 2012-09-23 Stefan Merten <smerten@oekonux.de>
5251
5252 * textmodes/rst.el: Fix compiler warning.
5253
5254 2012-09-23 Roland Winkler <winkler@gnu.org>
5255
5256 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5257 Transcribe also LaTeX hyphenation.
5258 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5259 bibtex-reformat-previous-options.
5260
5261 2012-09-23 Roland Winkler <winkler@gnu.org>
5262
5263 * proced.el (proced-renice-command): New variable.
5264 (proced-marked-processes): New function.
5265 (proced-with-processes-buffer): New macro.
5266 (proced-send-signal): Use them.
5267 (proced-renice): New command bound to r.
5268
5269 2012-09-23 Roland Winkler <winkler@gnu.org>
5270
5271 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5272 ibuffer-saved-filter-groups has one element, shortcut the call of
5273 completing-read. (Bug#12331)
5274
5275 2012-09-23 Chong Yidong <cyd@gnu.org>
5276
5277 * bindings.el (mode-line-toggle-read-only):
5278 * bs.el (bs-toggle-readonly):
5279 * buff-menu.el (Buffer-menu-toggle-read-only):
5280 * dired.el (dired-toggle-read-only):
5281 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5282
5283 2012-09-23 Chong Yidong <cyd@gnu.org>
5284
5285 * image.el (image-type-available-p): Adapt to init-image-library
5286 argument changes.
5287
5288 2012-09-22 Juri Linkov <juri@jurta.org>
5289
5290 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5291 `dired-toggle-read-only'. (Bug#12462)
5292
5293 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5294
5295 * subr.el (temp-output-buffer-show): New function.
5296 (with-output-to-temp-buffer): Call temp-output-buffer-show
5297 instead of internal-temp-output-buffer-show.
5298
5299 2012-09-22 Chong Yidong <cyd@gnu.org>
5300
5301 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5302 (Bug#12462).
5303
5304 * repeat.el (repeat): Doc fix (Bug#12348).
5305
5306 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5307 (Bug#10909).
5308
5309 * simple.el (shell-command-on-region): Doc fix.
5310 (read-only-mode): Doc fix.
5311
5312 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5313
5314 * emacs-lisp/timer.el (run-with-idle-timer)
5315 (timer-activate-when-idle): Warn against reinvoking an idle timer
5316 from within its own timer action. (Bug#12447)
5317
5318 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5319
5320 * cus-start.el (window-combination-limit): Add new optional
5321 values.
5322 * window.el (temp-buffer-window-show)
5323 (window--try-to-split-window): Handle new values of
5324 window-combination-limit (Bug#1806).
5325 (split-window): Test window-combination-limit for t instead of
5326 non-nil.
5327 (display-buffer-at-bottom): New buffer display action function.
5328 * help.el (temp-buffer-resize-regexps): New option.
5329 (temp-buffer-resize-mode): Rewrite doc-string.
5330 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5331 Don't resize reused window. Suggested by Glenn Morris.
5332
5333 2012-09-22 Stefan Merten <smerten@oekonux.de>
5334
5335 * textmodes/rst.el: Revamp section title faces.
5336 (rst-official-version)
5337 (rst-package-emacs-version-alist): Sync with official version
5338 V1.4.0.
5339 (rst-faces-defaults, rst-set-level-default)
5340 (rst-level-face-max, rst-level-face-base-color)
5341 (rst-level-face-base-light, rst-level-face-format-light)
5342 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5343 (rst-adornment-faces-alist): Match new setup.
5344 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5345 (rst-level-5, rst-level-6): New faces.
5346
5347 2012-09-22 Chong Yidong <cyd@gnu.org>
5348
5349 * simple.el (undo): Handle indirect buffers (Bug#8207).
5350
5351 2012-09-21 Leo Liu <sdl.web@gmail.com>
5352
5353 IDO: Disable match re-ordering for buffer switching.
5354 * ido.el (ido-buffer-disable-smart-matches): New variable.
5355 (ido-set-matches-1): Use it. (Bug#2042)
5356
5357 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5358
5359 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5360 Fix 2011-05-17 change. (Bug#12418)
5361
5362 2012-09-21 Leo Liu <sdl.web@gmail.com>
5363
5364 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5365
5366 2012-09-21 Glenn Morris <rgm@gnu.org>
5367
5368 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5369 Be more robust about locating simple.el.
5370
5371 2012-09-21 Glenn Morris <rgm@gnu.org>
5372
5373 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5374
5375 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5376
5377 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5378
5379 2012-09-20 Juri Linkov <juri@jurta.org>
5380
5381 * replace.el (query-replace-read-from): Use `read-regexp' instead
5382 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5383 (occur-read-primary-args): Use `read-regexp' instead of
5384 `read-string'.
5385 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5386 `read-from-minibuffer'.
5387 * isearch.el (isearch-occur): Use `read-regexp' instead of
5388 `read-string'.
5389 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5390 `read-from-minibuffer'.
5391 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5392 of `read-string'. (Bug#7567)
5393
5394 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5395 and allow accepting a list of strings prepended to a list of
5396 standard default values. Doc fix. (Bug#12321)
5397
5398 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5399
5400 * replace.el (read-regexp): Don't add ": " when PROMPT already
5401 ends with a colon and space. (Bug#12321)
5402
5403 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5404
5405 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5406 error.
5407
5408 2012-09-20 Stefan Merten <smerten@oekonux.de>
5409
5410 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5411 Fixes feature request bug#11711.
5412 (rst-mode): Create `imenu-create-index-function'.
5413 (rst-get-stripped-line): Delete after refactoring.
5414 (rst-section-tree, rst-section-tree-rec)
5415 (rst-section-tree-point): Refactor and document properly.
5416 (rst-imenu-find-adornments-for-position)
5417 (rst-imenu-convert-cell, rst-imenu-create-index):
5418 New function.
5419
5420 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5423 (macroexp--expand-all): Use it.
5424 (macroexp--funcall-and-return): Remove by folding it into its sole
5425 caller (macroexp--warn-and-return).
5426 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5427 Use macroexp--obsolete-warning.
5428
5429 * calc/calc.el: Fix last change by removing the whole chunk, since it
5430 was only needed back when Calc was not bundled.
5431
5432 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5433
5434 * emacs-lisp/debug.el (debug): Restore assignment to
5435 debugger-old-buffer removed on 2012-09-08.
5436
5437 2012-09-20 Juri Linkov <juri@jurta.org>
5438
5439 * dired-aux.el (dired-diff): Remove (require 'diff) since
5440 `diff-latest-backup-file' is now autoloaded.
5441
5442 2012-09-20 Chong Yidong <cyd@gnu.org>
5443
5444 * vc/diff.el (diff-latest-backup-file): Autoload.
5445
5446 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * calc/calc.el: Remove redundant autoload shape check.
5449 (sel-mode): Don't defvar.
5450 (calc-get-stack-element): Add `sel-mode' arg instead.
5451 (calc-top, calc-top-list): Pass it this additional argument.
5452 * calc/calc-store.el (calc-store-map):
5453 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5454 (calc-map-equation, calc-outer-product, calc-inner-product):
5455 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5456
5457 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5458
5459 2012-09-19 Juri Linkov <juri@jurta.org>
5460
5461 * dired-aux.el (dired-diff): Add (require 'diff) because
5462 `diff-latest-backup-file' is not autoloaded.
5463 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5464 of `dired-get-filename' to t to not report error when there is
5465 no default file on the current line.
5466
5467 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5470 macroexp--eval-if-compile.
5471 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5472 (macroexp--expand-all): Use them (bug#12371).
5473
5474 * doc-view.el (doc-view-guess-paper-size)
5475 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5476
5477 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5478
5479 New feature: set optimal slice from BoundingBox information.
5480 * doc-view.el (doc-view-mode-map): Add keybinding.
5481 (doc-view-menu): Add menu entry.
5482 (doc-view-set-slice): Adapt docstring.
5483 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5484 (doc-view-scale-bounding-box)
5485 (doc-view-set-slice-from-bounding-box): New functions.
5486 (doc-view-paper-sizes): New defvar.
5487
5488 2012-09-19 Glenn Morris <rgm@gnu.org>
5489
5490 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5491 (byte-compile-log-warning): Autoload. (Bug#12371)
5492
5493 * calendar/calendar.el (calendar-american-month-header)
5494 (calendar-european-month-header, calendar-iso-month-header)
5495 (calendar-month-header): New options.
5496 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5497 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5498
5499 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5500
5501 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5502
5503 2012-09-18 Juri Linkov <juri@jurta.org>
5504
5505 * dired-aux.el (dired-diff): Restore original functionality of
5506 getting the default value, but keep new feature of using the
5507 latest existing backup file (`diff-latest-backup-file').
5508
5509 2012-09-18 Juri Linkov <juri@jurta.org>
5510
5511 * dired.el (dired-mark): If the region is active in Transient Mark
5512 mode, mark all files in the active region. Doc fix.
5513 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5514 Doc fix. (Bug#10624)
5515
5516 2012-09-18 Juri Linkov <juri@jurta.org>
5517
5518 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5519 attributes for M-n are pulled from the file at point.
5520 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5521 Suggested by Drew Adams. (Bug#10624)
5522
5523 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5524
5525 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5526 whitespace after "end".
5527 (ruby-do-end-to-brace): Collapse block to one line if it fits
5528 within fill-column.
5529
5530 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5531
5532 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5533 value.
5534 (debug): Don't remove debugger window when debugger is expected
5535 to be back.
5536
5537 2012-09-18 Chong Yidong <cyd@gnu.org>
5538
5539 * custom.el (defface): Doc fix.
5540
5541 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5542
5543 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5544
5545 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5546 to initialize query-on-exit; then test that instead (bug#12288).
5547
5548 2012-09-17 Stefan Merten <smerten@oekonux.de>
5549
5550 * textmodes/rst.el: Add support for `testcover'.
5551 (rst-defcustom-testcover, rst-testcover-add-compose)
5552 (rst-testcover-add-1value): New functions.
5553 (rst-portable-mark-active-p): Replace by `use-region-p'.
5554 (rst-update-section, rst-classify-adornment)
5555 (rst-find-title-line): Mark `1value' forms.
5556 (rst-classify-adornment): Remove superfluous form.
5557 (rst-update-section, rst-get-adornments-around)
5558 (rst-adornment-complete-p, rst-get-next-adornment)
5559 (rst-adjust, rst-promote-region)
5560 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5561 (rst-find-pfx-in-region, rst-section-tree-rec)
5562 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5563 (rst-toc-node, rst-toc, rst-forward-section)
5564 (rst-iterate-leftmost-paragraphs)
5565 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5566 (rst-bullet-list-region)
5567 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5568 (rst-compile-find-conf, rst-compile)
5569 (rst-repeat-last-character): Fix style.
5570
5571 2012-09-17 Chong Yidong <cyd@gnu.org>
5572
5573 * comint.el (comint--complete-file-name-data): Don't add a space
5574 if the status is `sole'; that adds a gratuitous space in the
5575 completion-cycling case (Bug#12092).
5576
5577 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5578
5579 2012-09-17 Richard Stallman <rms@gnu.org>
5580
5581 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5582 only in the mime-shown mode, not in raw mode.
5583 (rmail-mime): Toggle off mime by displaying the message without
5584 mime processing. (Bug#12305)
5585
5586 * mail/rmail.el (rmail-retry-failure):
5587 Turn off mime processing first. (Bug#12037)
5588
5589 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5590
5591 2012-09-17 Chong Yidong <cyd@gnu.org>
5592
5593 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5594 (shell-dynamic-complete-functions): Convert to defcustom.
5595 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5596
5597 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5598 * comint.el (comint-prompt-read-only):
5599 * custom.el (defcustom):
5600 * hi-lock.el (hi-lock-mode):
5601 * ibuffer.el (ibuffer-formats):
5602 * ielm.el (ielm-prompt-read-only):
5603 * novice.el (disable-command):
5604 * saveplace.el (toggle-save-place):
5605 * speedbar.el (speedbar-supported-extension-expressions):
5606 * startup.el (auto-save-list-file-prefix, init-file-user)
5607 (after-init-hook, inhibit-startup-echo-area-message):
5608 * strokes.el (strokes-help):
5609 * time-stamp.el (time-stamp):
5610 * calendar/calendar.el (calendar, diary-file):
5611 * calendar/diary-lib.el (diary-mail-entries, diary)
5612 (diary-list-entries-hook):
5613 * calendar/holidays.el (holidays, calendar-holidays):
5614 * calendar/lunar.el (lunar-phases):
5615 * calendar/solar.el (sunrise-sunset):
5616 * emulation/edt.el (edt-load-keys):
5617 * emulation/viper.el (viper-mode):
5618 * eshell/em-alias.el (eshell-command-aliases-list):
5619 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5620 * international/ogonek.el (ogonek-information):
5621 * net/tramp-cmds.el (tramp-bug):
5622 * net/quickurl.el (quickurl-reread-hook-postfix):
5623 * play/decipher.el (decipher-font-lock-keywords):
5624 * progmodes/cc-styles.el (c-set-style):
5625 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5626 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5627 * progmodes/octave-mod.el (octave-mode):
5628 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5629 * progmodes/verilog-mode.el (verilog-read-defines):
5630 * textmodes/two-column.el (2C-mode): Likewise.
5631
5632 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5633
5634 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5635 that holds many addresses.
5636
5637 2012-09-16 Chong Yidong <cyd@gnu.org>
5638
5639 * align.el (align-areas): Call the indication function with
5640 positions instead of markers for arguments (Bug#12343).
5641
5642 * files.el (parse-colon-path): Use split-string (Bug#12351).
5643
5644 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5645 (display-buffer-function): Mark as obsolete.
5646
5647 * progmodes/compile.el (compilation-parse-errors): Accept list
5648 values similar to font-lock-keywords (Bug#12136).
5649 Suggested by Oleksandr Manzyuk.
5650 (compilation-error-regexp-alist): Doc fix.
5651
5652 2012-09-15 Glenn Morris <rgm@gnu.org>
5653
5654 * version.el (emacs-bzr-version-bzr): New function.
5655 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5656
5657 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5658 checkouts, check the parent dirstate matches the branch.
5659 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5660 empty string.
5661
5662 * version.el (emacs-bzr-version): Doc fix.
5663 (emacs-bzr-version-dirstate): New function.
5664 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5665 is local try and check that it matches the branch. If not, just
5666 use dirstate information. (Bug#12441)
5667
5668 2012-09-14 Juri Linkov <juri@jurta.org>
5669
5670 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5671 (Bug#12399)
5672
5673 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5676
5677 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5678 Remove obsolete byte-compiler hack that tried to silence some warnings.
5679 (edebug-submit-bug-report): Remove.
5680 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5681 Remove aliases, use the un-prefixed name instead.
5682 (edebug-pop-to-buffer): Consider other frames.
5683 (edebug-original-read):: Make it more obvious that it's always defined.
5684 (edebug--make-form-data-entry, edebug--form-data-name)
5685 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5686 single-dashed name, and implement with cl-defstruct.
5687 (edebug-set-form-data-entry): Use the standard accessors.
5688 (edebug-make-top-form-data-entry): Use push.
5689 (edebug-no-match): Drop useless `funcall'.
5690 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5691 to functions.
5692 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5693 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5694 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5695 (easy-menu-define, with-custom-print): Remove redundant specs.
5696 (edebug-outside-overriding-local-map)
5697 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5698 (edebug--display): Bind unread-command-events directly to nil rather
5699 than binding it to unread-command-events and later setting it to nil.
5700 (edebug--display): Kill edebug-eval-buffer here...
5701 (edebug--recursive-edit): ...rather than here.
5702 Bind standard-output and standard-input.
5703 (edebug-eval): Check cl-macroexpand-all is fboundp.
5704 (edebug-temp-display-freq-count): Fix last change.
5705
5706 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5707 * subr.el (noreturn, 1value): Add `debug' spec.
5708 * emacs-lisp/advice.el: Require cl-lib.
5709 (ad-copy-tree): Remove, use copy-tree instead.
5710 (ad-dolist): Remove use dolist or cl-dolist instead.
5711 (ad-do-return): Remove, use cl-return instead.
5712 (defadvice): Add `debug' spec.
5713
5714 2012-09-13 Juri Linkov <juri@jurta.org>
5715
5716 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5717 (Bug#12399)
5718
5719 2012-09-13 Glenn Morris <rgm@gnu.org>
5720
5721 * calc/calc.el (math-compose-expr):
5722 * calc/calc-ext.el (math-compose-expr):
5723 * progmodes/cc-defs.el (cl-macroexpand-all):
5724 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5725 (cl-macroexpand-all): Update declarations.
5726
5727 * vc/vc.el: No need to require ediff.
5728 (ediff-load-version-control): Declare.
5729 (ediff-vc-internal): Fix declaration.
5730 (vc-version-ediff): Require ediff.
5731
5732 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5733
5734 Use a more backwards-compatible timer format (Bug#12430).
5735 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5736 being right after USECS, as that better supports old code that
5737 inadvisedly looked directly at the timer vector.
5738
5739 2012-09-13 Kenichi Handa <handa@gnu.org>
5740
5741 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5742 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5743 `coding-priority' property of these language environment.
5744
5745 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5746
5747 Fix glitches caused by addition of psec to timers (Bug#12430).
5748 * image.el (image-animate-timer):
5749 * time.el (display-time-world-timer):
5750 Use timer--function and timer--args rather than raw access to
5751 timer vector.
5752
5753 2012-09-13 Glenn Morris <rgm@gnu.org>
5754
5755 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5756 If not compiling a file, try using load-file-name.
5757
5758 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5761 Fix last change.
5762 (edebug-update-eval-list): Use `push'.
5763
5764 * emacs-lisp/edebug.el: Use lexical-binding.
5765 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5766 Mark unused args with underscore.
5767 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5768 (edebug-form-data): Use defvar-local.
5769 (edebug-make-before-and-after-form, edebug-make-after-form):
5770 Use backquote.
5771 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5772 Not dynamically scoped any more.
5773 (edebug--enter-trace): Add arguments `function' and `args'.
5774 Rename from edebug-enter-trace.
5775 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5776 (edebug--update-coverage): Add `after-index' and `value' args.
5777 Rename from edebug-update-coverage.
5778 (edebug-slow-after): Call it accordingly.
5779 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5780 edebug-recursive-edit.
5781 (edebug--display): Call it accordingly. Add args `value',
5782 `offset-index', and `arg-mode'. Rename from edebug-display.
5783 (edebug-debugger, edebug): Call it accordingly.
5784 (edebug-eval-display-list): Use dolist.
5785
5786 2012-09-12 Juri Linkov <juri@jurta.org>
5787
5788 * info.el (Info-search): Don't check for isearch-mode and
5789 isearch-regexp before let-binding search-spaces-regexp to
5790 Info-search-whitespace-regexp.
5791 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5792 search-whitespace-regexp if isearch-lax-whitespace or
5793 isearch-regexp-lax-whitespace is non-nil.
5794 (Info-mode): Don't set local variable search-whitespace-regexp.
5795 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5796
5797 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5800 (debugger-env-macro): Remove support for unread-command-char.
5801
5802 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5803 the temporary map re-appearing on emulation-mode-map-alists.
5804
5805 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5806 since 22.1.
5807
5808 * ehelp.el (with-electric-help): Accept functions in
5809 electric-help-form-to-execute.
5810 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5811 And replace unread-command-char -> unread-command-events.
5812
5813 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5814
5815 Sync with Tramp 2.2.6.
5816
5817 * net/tramp.el (tramp-accept-process-output): Don't use
5818 JUST-THIS-ONE in the XEmacs case.
5819
5820 * net/trampver.el: Update release number.
5821
5822 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5823
5824 * emacs-lisp/debug.el (debugger-previous-window-height):
5825 New variable.
5826 (debug): When debugger-jumping-flag is non-nil try to restore
5827 height of debugger window. (Bug#8789)
5828
5829 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5832 overriding-local-map and pre/post-command-hook here.
5833 (edebug-recursive-edit): Do it here instead (bug#12345).
5834 (edebug-outside-unread-command-char): Remove all uses of
5835 unread-command-char.
5836
5837 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5838 inhibit-debugger is bound instead.
5839
5840 2012-09-11 Bastien Guerry <bzg@gnu.org>
5841
5842 * subr.el (set-temporary-overlay-map): Add a docstring.
5843 (Bug#12346)
5844
5845 2012-09-11 Bastien Guerry <bzg@gnu.org>
5846
5847 * minibuffer.el (completion-table-subvert): Fix docstring.
5848 (Bug#12347)
5849
5850 2012-09-11 Bastien Guerry <bzg@gnu.org>
5851
5852 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5853
5854 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5855
5856 * progmodes/sql.el: Version 3.1
5857 (sql-db2-escape-newlines): New variable.
5858 (sql-escape-newlines-filter): Use it.
5859
5860 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5861
5862 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5863
5864 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5865
5866 * vc/diff-mode.el (diff-mode-menu):
5867 Bind diff-remove-trailing-whitespace.
5868
5869 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5872 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5873 (emacs-lisp-byte-code-mode): New functions.
5874 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5875 (eval-defun-2): Remove bogus interactive spec.
5876 (lisp-indent-line): Remove redundant whole-exp code, now done in
5877 indent-according-to-mode.
5878 (save-match-data): Remove redundant indent data.
5879
5880 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5881 Use `declare'.
5882
5883 2012-09-09 Juri Linkov <juri@jurta.org>
5884
5885 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5886 (replace-lax-whitespace, query-replace-regexp)
5887 (query-replace-regexp-eval, replace-regexp): Doc fix.
5888 (perform-replace, replace-highlight): Let-bind
5889 isearch-lax-whitespace to replace-lax-whitespace and
5890 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5891
5892 * isearch.el (isearch-query-replace): Let-bind
5893 replace-lax-whitespace to isearch-lax-whitespace and
5894 replace-regexp-lax-whitespace to
5895 isearch-regexp-lax-whitespace. (Bug#10885)
5896
5897 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5900
5901 2012-09-09 Alan Mackenzie <acm@muc.de>
5902
5903 * progmodes/cc-engine.el (c-state-cache-init):
5904 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5905 (c-record-parse-state-state):
5906 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5907
5908 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5909
5910 * register.el (register-separator): Rename from
5911 separator-register. All uses changed. Doc fix.
5912 (register): Fix version.
5913
5914 2012-09-09 Chong Yidong <cyd@gnu.org>
5915
5916 * replace.el (query-replace-map): Bind four new symbols for
5917 requesting window scrolling.
5918
5919 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5920 query-replace-map (Bug#8948).
5921
5922 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5923
5924 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5925 since they are now in query-replace-map.
5926
5927 * window.el (scroll-other-window-down): Make the arg optional.
5928
5929 2012-09-09 Chong Yidong <cyd@gnu.org>
5930
5931 * files.el (hack-local-variables-confirm): Use quit-window to kill
5932 the *Local Variables* buffer.
5933
5934 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5935
5936 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5937 not just expect to be at its beginning. Adjust callees.
5938 Succeed when do-end block has no space before the pipe character.
5939 (ruby-brace-to-do-end): When the original block is one-liner,
5940 convert to multiline. Reindent the result.
5941
5942 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5943
5944 * register.el (register): New group.
5945 (separator-register): New user option.
5946 (increment-register): Route it to `append-to-register', if
5947 register contains text. Implication is that `C-x r +' can now be
5948 used for appending to a text register (bug#12217).
5949 (append-to-register, prepend-to-register): Add separator based on
5950 `separator-register'.
5951
5952 2012-09-08 Alan Mackenzie <acm@muc.de>
5953
5954 AWK Mode: make auto-newline work when there's "==" in the pattern.
5955 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5956 correctly.
5957 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5958 Test more rigorously for "=" token.
5959
5960 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5961
5962 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5963 Only fail when reached LIMIT.
5964
5965 2012-09-08 Chong Yidong <cyd@gnu.org>
5966
5967 * dired.el (dired-mode-map): Don't bind M-=.
5968
5969 * dired-aux.el (dired-diff): Use backup file as default.
5970
5971 2012-09-08 Drew Adams <drew.adams@oracle.com>
5972
5973 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5974
5975 2012-09-08 Chong Yidong <cyd@gnu.org>
5976
5977 * subr.el (syntax-after, syntax-class): Doc fix.
5978
5979 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5980
5981 * window.el (display-buffer-in-previous-window): New buffer
5982 display action function.
5983
5984 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5985 (debugger-previous-window): New variable.
5986 (debug): Rewrite using display-buffer-in-previous-window,
5987 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5988
5989 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5992
5993 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5994
5995 * progmodes/python.el (python-shell-send-string):
5996 When default-directory is remote, create temp file on remote
5997 filesystem.
5998 (python-shell-send-file): When file is remote, pass local view of
5999 file paths to remote Python interpreter. (Bug#12340)
6000
6001 2012-09-07 Chong Yidong <cyd@gnu.org>
6002
6003 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6004
6005 * files.el (after-find-file): Don't fail on a read-only buffer if
6006 require-final-newline is `visit' or `visit-save' (Bug#11156).
6007
6008 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6009
6010 * userlock.el (ask-user-about-supersession-threat):
6011 Use read-char-choice (Bug#12093).
6012
6013 2012-09-07 Chong Yidong <cyd@gnu.org>
6014
6015 * subr.el (buffer-narrowed-p): New function.
6016
6017 * ses.el (ses-widen):
6018 * simple.el (count-words--buffer-message):
6019 * net/browse-url.el (browse-url-of-buffer): Use it.
6020
6021 * simple.el (count-words-region): Don't signal an error if there
6022 is a non-nil prefix arg and the mark is not set.
6023
6024 * help.el (describe-key-briefly): Allow the message to be seen
6025 when invoked from the minibuffer (Bug#7014).
6026
6027 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6028
6029 * progmodes/ruby-mode.el (ruby-end-of-defun)
6030 (ruby-beginning-of-defun): Simplify, allow indentation before
6031 block beginning and end keywords.
6032 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6033 (ruby-end-of-defun): Expect that the point is at the beginning of
6034 the defun.
6035
6036 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6039 (bug#12367).
6040 (cl--make-usage-args): Strip _ from argument names.
6041
6042 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6043
6044 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6045 obsolete alias speedbar-key-map.
6046 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6047 (vhdl-index-menu-init): Don't use obsolete variable
6048 font-lock-maximum-size.
6049
6050 2012-09-06 Chong Yidong <cyd@gnu.org>
6051
6052 * frame.el (window-system-version): Mark as obsolete.
6053
6054 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6055 of obsolete variable speedbar-key-map.
6056
6057 2012-09-06 Juri Linkov <juri@jurta.org>
6058
6059 * replace.el (replace-lax-whitespace): New defcustom.
6060 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6061 (replace-string, replace-regexp): Mention it in docstrings.
6062 (perform-replace, replace-highlight): Let-bind
6063 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6064 to the values of replace-lax-whitespace and regexp-flag.
6065 Don't let-bind search-whitespace-regexp. (Bug#10885)
6066
6067 * isearch.el (isearch-query-replace): Let-bind
6068 replace-lax-whitespace instead of let-binding
6069 replace-search-function and replace-re-search-function.
6070 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6071 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6072 (isearch-toggle-symbol): Set isearch-regexp to nil
6073 in isearch-word mode (like in isearch-toggle-word).
6074
6075 2012-09-06 Juri Linkov <juri@jurta.org>
6076
6077 * replace.el (replace-search-function)
6078 (replace-re-search-function): Set default values to nil.
6079 (perform-replace): Let-bind isearch-related variables based on
6080 replace-related values, call `isearch-search-fun' and let-bind
6081 the result to `search-function'. Remove code that sets
6082 `search-function' and `search-string' separately for
6083 `delimited-flag'.
6084 (replace-highlight): Add new argument `delimited-flag' and
6085 rename other arguments to the names used in `perform-replace'.
6086 Let-bind `isearch-word' to the argument `delimited-flag'.
6087 (Bug#10885, bug#10887)
6088
6089 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6090
6091 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6092 ruby-beginning-of-indent, simplify, allow all keywords to have
6093 indentation before them.
6094 (ruby-beginning-of-indent): Adjust for above. Search until the
6095 found point is not inside a string or comment.
6096 (ruby-font-lock-keywords): Allow symbols to start with "@"
6097 character, give them higher priority than variables.
6098 (ruby-syntax-propertize-function)
6099 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6100 matchers. Expression expansions are not comments when inside a
6101 string, and there comment syntax status is irrelevant.
6102 (ruby-match-expression-expansion): New function. Check that
6103 expression expansion is inside a string, and it's not escaped.
6104 (ruby-font-lock-keywords): Use it.
6105
6106 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6107
6108 * help.el (temp-buffer-max-height): New default value.
6109 (temp-buffer-resize-frames): New option.
6110 (resize-temp-buffer-window): Optionally resize frame.
6111
6112 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6113 (fit-frame-to-buffer): New function.
6114
6115 2012-09-05 Glenn Morris <rgm@gnu.org>
6116
6117 * emulation/cua-rect.el (cua--init-rectangles):
6118 * textmodes/picture.el (picture-mode-map):
6119 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6120 like forward-char and backward-char. (Bug#12317)
6121
6122 2012-09-05 Leo Liu <sdl.web@gmail.com>
6123
6124 * progmodes/flymake.el (flymake-warning-re): New variable.
6125 (flymake-parse-line): Use it.
6126
6127 2012-09-05 Glenn Morris <rgm@gnu.org>
6128
6129 * calendar/holidays.el (holiday-christian-holidays):
6130 Rename an entry. (Bug#12289)
6131
6132 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6135 (bug#12222).
6136
6137 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * loadup.el: Load macroexp. Remove hack.
6140 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6141 (macroexp--expand-all): Use it to get better warnings.
6142 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6143 (internal-macroexpand-for-load): New functions.
6144 (macroexp--pending-eager-loads): New var.
6145 (emacs-startup-hook): New hack to replace one in loadup.el.
6146 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6147 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6148 (cl-psetf): Simplify.
6149 (cl-defstruct): Add indent rule.
6150
6151 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6152
6153 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6154 over `user-mail-address' for the SMTP MAIL FROM envelope.
6155 (smtpmail-via-smtp): Ditto.
6156
6157 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6158
6159 * progmodes/ruby-mode.el: Clean up keybindings.
6160 (ruby-mode-map): Don't bind ruby-electric-brace,
6161 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6162 backward-kill-word, reindent-then-newline-and-indent.
6163 (ruby-mark-defun): Remove.
6164 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6165 (ruby-mode): Set local beginning-of-defun-function and
6166 end-of-defun-function values.
6167
6168 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6169
6170 * window.el (temp-buffer-window-setup-hook)
6171 (temp-buffer-window-show-hook): New hooks.
6172 (temp-buffer-window-setup, temp-buffer-window-show)
6173 (with-temp-buffer-window): New functions.
6174 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6175 (special-display-popup-frame): Make sure the window used shows BUFFER.
6176
6177 * help.el (temp-buffer-resize-mode): Fix doc-string.
6178 (resize-temp-buffer-window): New optional argument WINDOW.
6179
6180 * files.el (recover-file, save-buffers-kill-emacs):
6181 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6182
6183 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6184
6185 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6186 remote definition of `default-directory', ensure we can connect.
6187
6188 2012-09-02 Juri Linkov <juri@jurta.org>
6189
6190 Toggle whitespace matching mode with M-s SPC.
6191 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6192
6193 * isearch.el (search-whitespace-regexp): Doc fix.
6194 Remove cons cell customization.
6195 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6196 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6197 New variables.
6198 (isearch-forward, isearch-forward-regexp): Doc fix.
6199 (isearch-toggle-lax-whitespace): New command.
6200 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6201 (re-search-forward-lax-whitespace)
6202 (re-search-backward-lax-whitespace): New functions.
6203 (isearch-whitespace-regexp): Remove function.
6204 (isearch-query-replace): Let-bind replace-search-function and
6205 replace-re-search-function.
6206 (isearch-occur): Let-bind search-spaces-regexp according to the
6207 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6208 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6209 condition for C-q SPC.
6210 (isearch-search-fun-default): Use new functions mentioned above.
6211 (isearch-search-forward, isearch-search-backward): Remove functions.
6212 (isearch-search): Don't let-bind search-spaces-regexp.
6213 (isearch-lazy-highlight-space-regexp): Remove variable.
6214 (isearch-lazy-highlight-lax-whitespace)
6215 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6216 (isearch-lazy-highlight-new-loop): Use them.
6217 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6218
6219 2012-09-02 Chong Yidong <cyd@gnu.org>
6220
6221 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6222
6223 2012-09-02 Glenn Morris <rgm@gnu.org>
6224
6225 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6226
6227 2012-09-01 Glenn Morris <rgm@gnu.org>
6228
6229 * term.el: Tidy up menu definitions.
6230 (term-mode-map): Use easymenu for In/Out, Complete menus.
6231 (term-pager-break-map): Initialize in the defvar.
6232 (term-terminal-menu, term-signals-menu): Define with easymenu.
6233 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6234 (term-pager-menu): New, extracted from term-process-pager.
6235 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6236 (term-update-mode-line): Propertize line/char and page items.
6237 (term-process-pager): Move keymap initialization elsewhere.
6238
6239 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6240
6241 * window.el (switch-to-prev-buffer): Handle additional values of
6242 BURY-OR-KILL argument. Don't switch in minibuffer window.
6243 (switch-to-next-buffer): Don't switch in minibuffer window.
6244 (quit-restore-window): New function based on quit-window.
6245 Handle additional values of former KILL argument.
6246 (quit-window): Call quit-restore-window with appropriate
6247 interpretation of KILL argument.
6248 (display-buffer-below-selected): New buffer display action
6249 function.
6250
6251 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * minibuffer.el (completion-at-point-functions): Complete docstring
6254 (bug#12254).
6255
6256 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6257
6258 Better seed support for (random).
6259 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6260 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6261 * play/mpuz.el, play/tetris.el, play/zone.el:
6262 * calc/calc-comb.el (math-init-random-base):
6263 * play/blackbox.el (bb-init-board):
6264 * play/life.el (life):
6265 * server.el (server-use-tcp):
6266 * type-break.el (type-break):
6267 Remove unnecessary call to (random t).
6268 * net/sasl.el (sasl-unique-id-function):
6269 Change (random t) to (random), now that the latter is more random.
6270 * play/life.el (life-initialized): Remove no-longer-needed var.
6271
6272 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6273
6274 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6275 Consider frame's buffer predicate when choosing the buffer.
6276 (Bug#12081)
6277
6278 2012-08-30 Richard Stallman <rms@gnu.org>
6279
6280 * simple.el (special-mode-map): Delete binding for `z'.
6281
6282 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6283
6284 * progmodes/compile.el (compilation-always-kill): Doc fix.
6285
6286 2012-08-30 Chong Yidong <cyd@gnu.org>
6287
6288 * window.el (display-buffer-reuse-frames): Make the obsolescence
6289 message more informative.
6290
6291 2012-08-30 Glenn Morris <rgm@gnu.org>
6292
6293 * paren.el (show-paren-delay):
6294 Add a :set function. Doc fix. (Bug#12297)
6295
6296 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6297
6298 * progmodes/compile.el (compilation-always-kill): New var.
6299 (compilation-start): Use it.
6300
6301 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6304 * files.el (read-only-mode): Move to simple.el.
6305
6306 * files.el (read-only-mode): New minor mode.
6307 (toggle-read-only): Use it and mark obsolete.
6308 (find-file--read-only):
6309 * vc/vc.el (vc-next-action, vc-checkout):
6310 * vc/vc-cvs.el (vc-cvs-checkout):
6311 * obsolete/vc-mcvs.el (vc-mcvs-update):
6312 * ffap.el (ffap--toggle-read-only): Update callers.
6313
6314 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6315
6316 * eshell/esh-ext.el (eshell-external-command): Do not examine
6317 remote shell scripts.
6318 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6319
6320 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6321 "/usr/local/sbin".
6322
6323 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6326
6327 2012-08-28 Leo Liu <sdl.web@gmail.com>
6328
6329 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6330 completion-at-point. (Bug#12220)
6331
6332 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6333
6334 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6335
6336 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6339 be buffer-local; add delete-trailing-whitespace (bug#12259).
6340
6341 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6342
6343 * progmodes/hideif.el (hif-compress-define-list):
6344 Fix typo. (Bug#11951)
6345
6346 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6347
6348 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6349 buffer local setting.
6350
6351 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6352 rcirc-encode-coding-system.
6353
6354 2012-08-28 Leo Liu <sdl.web@gmail.com>
6355
6356 * net/rcirc.el (rcirc-split-message): New function.
6357 (rcirc-send-message): Use it. (Bug#12051)
6358
6359 2012-08-28 Juri Linkov <juri@jurta.org>
6360
6361 * info.el (Info-fontify-node): Hide empty lines at the end of
6362 the node. (Bug#12272)
6363
6364 2012-08-27 Drew Adams <drew.adams@oracle.com>
6365
6366 * dired.el (dired-pop-to-buffer): Make window start at beginning
6367 of buffer (Bug#12281).
6368
6369 2012-08-26 Chong Yidong <cyd@gnu.org>
6370
6371 * window.el (special-display-regexps, special-display-frame-alist)
6372 (special-display-buffer-names, special-display-function)
6373 (display-buffer-reuse-frames): Mark as obsolete.
6374
6375 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6376
6377 * help.el (help-print-return-message): Don't treat
6378 display-buffer-reuse-frames specially.
6379
6380 2012-08-26 Chong Yidong <cyd@gnu.org>
6381
6382 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6383 New variable, replacing gdb-frame-parameters.
6384 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6385 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6386 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6387 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6388 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6389 the functions directly with gdb-display-buffer-other-frame-action.
6390 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6391 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6392 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6393 (gdb-display-registers-buffer): Define directly.
6394 (def-gdb-display-buffer): Macro deleted.
6395 (gdb-display-buffer): Remove second and third args, callers don't
6396 use them. Defer to the default display-buffer behavior, apart
6397 from making windows dedicated.
6398 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6399
6400 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6401
6402 * window.el (display-buffer-pop-up-frame): Handle a
6403 pop-up-frame-parameters alist entry.
6404 (display-buffer): Document it.
6405
6406 2012-08-26 Chong Yidong <cyd@gnu.org>
6407
6408 * isearch.el (search-whitespace-regexp): Make string and nil
6409 values apply to both ordinary and regexp search. Allow a cons
6410 cell value to distinguish between the two.
6411 (isearch-whitespace-regexp, isearch-search-forward)
6412 (isearch-search-backward): New functions.
6413 (isearch-occur, isearch-search-fun-default, isearch-search)
6414 (isearch-lazy-highlight-new-loop): Use them.
6415 (isearch-forward, isearch-forward-regexp): Doc fix.
6416
6417 2012-08-26 Chong Yidong <cyd@gnu.org>
6418
6419 * faces.el (help-argument-name): Always inherit from italic
6420 (Bug#12213).
6421
6422 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6423
6424 * window.el (window--even-window-heights): Even heights when
6425 WINDOW and the selected window form a vertical combination.
6426 (display-buffer-use-some-window): Provide that window used gets
6427 sized back by quit-window. (Bug#11880) and (Bug#12091)
6428
6429 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6430
6431 Fix file time stamp problem with bzr and CVS (Bug#12001).
6432 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6433 in the file's time stamp, since the version control system loses
6434 that information.
6435
6436 2012-08-22 Juri Linkov <juri@jurta.org>
6437
6438 * info.el (Info-fontify-node): Hide the suffix of the
6439 Info file name in the header line. (Bug#12187)
6440
6441 2012-08-22 Glenn Morris <rgm@gnu.org>
6442
6443 * calendar/cal-tex.el (cal-tex-weekly-common):
6444 Restore leading blank page.
6445
6446 2012-08-22 Le Wang <l26wang@gmail.com>
6447
6448 * misc.el (forward-to-word, backward-to-word): Activate or extend
6449 the region under `shift-select-mode'. (Bug#12231)
6450
6451 2012-08-22 Bastien Guerry <bzg@gnu.org>
6452
6453 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6454 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6455 gives details on why the space is never needed.
6456
6457 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6458
6459 * window.el (walk-window-tree, window-with-parameter):
6460 New optional argument MINIBUF to control whether these functions
6461 should run on the minibuffer window.
6462 (window-at-side-list): Don't operate on minibuffer window.
6463 (window-in-direction): Simplify and rewrite doc-string.
6464 (window--size-ignore): Rename to window--size-ignore-p.
6465 Update callers.
6466 (display-buffer-in-atom-window, window--major-non-side-window)
6467 (window--major-side-window, display-buffer-in-major-side-window)
6468 (delete-side-window, display-buffer-in-side-window):
6469 New functions.
6470 (window--side-check, window-deletable-p, delete-window)
6471 (delete-other-windows, split-window): Handle side windows and
6472 atomic windows appropriately.
6473 (window--display-buffer): Call display-buffer-record-window also
6474 when the window buffer did not change.
6475
6476 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6477
6478 * help-fns.el (help-fns--key-bindings):
6479 Abbreviate non-symbol remap targets. (Bug#12174)
6480
6481 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6482
6483 * dired.el (dired-mark-remembered): Don't clobber point.
6484 (Bug#11795)
6485
6486 2012-08-22 Glenn Morris <rgm@gnu.org>
6487
6488 * progmodes/bug-reference.el (bug-reference): New custom group.
6489 (bug-reference-bug-regexp): Make it a defcustom.
6490
6491 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6492
6493 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6494 (js-paren-indent-offset, js-square-indent-offset)
6495 (js-curly-indent-offset): Add :safe (Bug#12257).
6496
6497 2012-08-22 Edward O'Connor <hober0@gmail.com>
6498
6499 * json.el (json-key-format): Add error properties.
6500 (json-encode-key): New function.
6501 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6502 Use json-encode-key.
6503
6504 2012-08-22 Glenn Morris <rgm@gnu.org>
6505
6506 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6507 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6508 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6509 Update for above change.
6510
6511 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6512
6513 * cus-face.el (custom-face-attributes): Fix customize type for the
6514 :underline attribute. (Bug#11805)
6515
6516 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6517
6518 * window.el (window-point-1, set-window-point-1): Remove.
6519 (window-in-direction, record-window-buffer)
6520 (set-window-buffer-start-and-point, split-window-below)
6521 (window--state-get-1, display-buffer-record-window):
6522 Replace calls to window-point-1 and set-window-point-1 by calls to
6523 window-point and set-window-point respectively.
6524
6525 2012-08-21 Glenn Morris <rgm@gnu.org>
6526
6527 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6528 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6529 Use it.
6530
6531 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6532 (cal-tex-shortday): New function.
6533 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6534 (cal-tex-cursor-filofax-daily): Use the above.
6535
6536 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6537 New functions.
6538 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6539 (cal-tex-cursor-filofax-week): Use them.
6540
6541 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6542 New constants.
6543 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6544 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6545
6546 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6547 (cal-tex-end-document): Don't rely on buffer name.
6548
6549 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6550 Use cal-tex-vspace.
6551 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6552 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6553 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6554 Use cal-tex-arg.
6555
6556 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6557 (cal-tex-cursor-week, cal-tex-cursor-week2)
6558 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6559 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6560 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6561 (cal-tex-insert-preamble, cal-tex-b-document)
6562 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6563 Improve cal-tex-cmd usage.
6564
6565 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6566 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6567 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6568 (cal-tex-weekly-paper): New function.
6569 (cal-tex-cursor-week, cal-tex-cursor-week2)
6570 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6571 (cal-tex-cursor-day): Use it.
6572
6573 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6574 (cal-tex-cursor-filofax-week): Remove leading blank page.
6575
6576 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6577 Add autoload cookie. For now at least, don't use color, since
6578 no other cal-tex function does.
6579
6580 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6581 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6582 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6583
6584 2012-08-21 Juri Linkov <juri@jurta.org>
6585
6586 * info.el (Info-file-attributes): New variable.
6587 (info-insert-file-contents): Add file attributes to
6588 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6589 `Info-toc-nodes' when previous modtime of the Info file is less
6590 than new modtime.
6591 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6592 of info.el. (Bug#12230)
6593
6594 2012-08-20 Glenn Morris <rgm@gnu.org>
6595
6596 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6597 * calendar/holidays.el (calendar-holiday-list):
6598 Report errors with display-warning rather than beep'n'sleep.
6599
6600 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6601
6602 * net/tramp.el (tramp-accept-process-output): Accept only output
6603 from PROC. Otherwise, process filters and sentinels might be
6604 confused. (Bug#12145)
6605
6606 2012-08-20 Chong Yidong <cyd@gnu.org>
6607
6608 * descr-text.el (describe-text-properties-1): Use overlays-in to
6609 report on empty overlays (Bug#3322).
6610
6611 2012-08-20 Glenn Morris <rgm@gnu.org>
6612
6613 * mail/rmailout.el (rmail-output-read-file-name):
6614 Trap and report errors in rmail-output-file-alist elements.
6615
6616 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6617 since most non-font-lock faces are not also variables).
6618
6619 2012-08-20 Edward Reingold <reingold@iit.edu>
6620
6621 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6622 New function. (Bug12160)
6623
6624 2012-08-19 Glenn Morris <rgm@gnu.org>
6625
6626 * mail/rmailout.el (rmail-output-read-file-name):
6627 Fix previous change (when the alist is nil or does not match).
6628
6629 2012-08-19 Chong Yidong <cyd@gnu.org>
6630
6631 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6632 (Bug#12228).
6633
6634 2012-08-18 Chong Yidong <cyd@gnu.org>
6635
6636 * simple.el (yank-handled-properties): New defcustom.
6637 (yank-excluded-properties): Add font-lock-face and category.
6638 (yank): Doc fix.
6639
6640 * subr.el (remove-yank-excluded-properties):
6641 Obey yank-handled-properties. The special handling of font-lock-face
6642 and category is now done this way, instead of being hard-coded.
6643 (insert-for-yank-1): Remove font-lock-face handling.
6644 (yank-handle-font-lock-face-property)
6645 (yank-handle-category-property): New function.
6646
6647 2012-08-17 Glenn Morris <rgm@gnu.org>
6648
6649 * mail/rmailout.el (rmail-output-read-file-name):
6650 Check rmail-output-file-alist against the full message body
6651 in the correct rmail buffer. (Bug#12214)
6652
6653 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6654
6655 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6656 Eliminate superfluous prompt. (Bug#12203)
6657
6658 2012-08-17 Chong Yidong <cyd@gnu.org>
6659
6660 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6661 font spec, set the font directly (Bug#3228).
6662
6663 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6664
6665 * window.el (delete-window): Fix last fix.
6666
6667 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6668
6669 * window.el (window-valid-p): Move to window.c.
6670 (window-child, window-child-count, window-last-child)
6671 (window-normalize-window, window-combined-p)
6672 (window-combinations, window-atom-root, window-min-size)
6673 (window-sizable, window-sizable-p, window-size-fixed-p)
6674 (window-min-delta, window-max-delta, window--resizable)
6675 (window--resizable-p, window-resizable, window-total-size)
6676 (window-full-height-p, window-full-width-p, window-body-size)
6677 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6678 (minimize-window, window-deletable-p, delete-window)
6679 (delete-other-windows, set-window-buffer-start-and-point)
6680 (next-buffer, previous-buffer, split-window, balance-windows-2)
6681 (set-window-text-height, window-buffer-height)
6682 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6683 (truncated-partial-width-window-p): Minor code adjustments.
6684 In doc-strings state whether the argument window has to denote a
6685 live, valid or any window.
6686
6687 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6688
6689 * progmodes/subword.el (subword-forward-function)
6690 (subword-backward-function, subword-forward-regexp)
6691 (subword-backward-regexp): New variables.
6692 (subword-forward, subword-forward-internal, subword-backward-internal):
6693 Use new variables, eg so that different "word" definitions
6694 can be easily used. (Bug#11411)
6695
6696 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6699 for composite selectors.
6700 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6701 operation just because we can't find a previous revision.
6702
6703 2012-08-15 Chong Yidong <cyd@gnu.org>
6704
6705 * frame.el (set-frame-font): Accept font objects.
6706
6707 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6710
6711 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6712
6713 * man.el (Man-overstrike-face, Man-underline-face)
6714 (Man-reverse-face): Remove variables.
6715 (Man-overstrike, Man-underline, Man-reverse): New faces.
6716 (Man-fontify-manpage): Use them instead of the variables.
6717 (Man-cleanup-manpage): Comment change.
6718 (Man-ansi-color-map): New variable.
6719 (Man-fontify-manpage): Use it.
6720 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6721
6722 Implement ANSI SGR parameters 22-27 (bug#12146).
6723 * ansi-color.el (ansi-colors): Doc fix.
6724 (ansi-color-context, ansi-color-context-region): Doc fix.
6725 (ansi-color--find-face): New function.
6726 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6727 Rename the local variable `face' to `codes' since it is now a list of
6728 ansi codes. Doc fix.
6729 (ansi-color-get-face): Remove.
6730 (ansi-color-parse-sequence): New function, derived from
6731 ansi-color-get-face.
6732 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6733 codes 22-27.
6734
6735 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6736
6737 * subr.el (read-passwd): Allow use from a minibuffer.
6738
6739 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6740
6741 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6742 inside comments and strings as identifiers.
6743
6744 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6745 expression to evaluate. This allows to evaluate expressions with
6746 embedded whitespace.
6747 (gud-tooltip-tips): Add a blank before the newline in the
6748 message-box text, for the benefit of message-box emulation on
6749 MS-Windows.
6750
6751 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6752 messages from GDB, pop them up in a tooltip to give feedback to
6753 user.
6754 (gdb-tooltip-print-1): Quote the expression to evaluate.
6755 This allows to evaluate expressions with embedded whitespace.
6756 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6757 if the TTY name is nil or empty (which happens when communicating
6758 with the inferior via pipes, e.g. on MS-Windows).
6759 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6760 don't send that to the GUD buffer.
6761
6762 2012-08-14 Glenn Morris <rgm@gnu.org>
6763
6764 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6765 Optimize away setq-default with no args, as for setq. (Bug#12195)
6766
6767 2012-08-14 Chong Yidong <cyd@gnu.org>
6768
6769 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6770
6771 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6772 (Bug#12085).
6773
6774 2012-08-14 Glenn Morris <rgm@gnu.org>
6775
6776 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6777
6778 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6779
6780 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6781 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6782 Use cached shell name.
6783
6784 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6785
6786 * progmodes/python.el (python-shell-send-string):
6787 (python-shell-send-setup-code): Do not use `format' with `message'.
6788
6789 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6790
6791 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6792 (ruby-percent-literal-beg-re): New constant.
6793 (ruby-syntax-general-delimiters-goto-beg): Rename to
6794 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6795 (ruby-syntax-propertize-general-delimiters): Rename to
6796 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6797 popular term. Adjust comments everywhere.
6798 (ruby-syntax-propertize-percent-literal): Only propertize when not
6799 inside a simple string or comment. When the literal is unclosed,
6800 leave the text after it unpropertized.
6801 (ruby-syntax-methods-before-regexp): New constant.
6802 (ruby-syntax-propertize-function): Use it to recognize regexps.
6803 Don't look at the text after regexp, just use the whitelist.
6804
6805 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6806
6807 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6808 non-nil always load the compiled file if it exists. (Bug#12197)
6809
6810 2012-08-14 Chong Yidong <cyd@gnu.org>
6811
6812 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6813 (hi-lock-set-pattern): When deciding whether to use font lock or
6814 overlays, look at font-lock-mode instead of font-lock-fontified
6815 (Bug#12168).
6816 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6817 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6818
6819 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6820
6821 * subr.el (internal--after-with-selected-window): Fix typo
6822 (Bug#12193).
6823
6824 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6825
6826 Use `completion-table-dynamic' for completion functions.
6827 * progmodes/python.el
6828 (python-shell-completion--do-completion-at-point)
6829 (python-shell-completion--get-completions):
6830 Remove functions.
6831 (python-shell-completion-complete-at-point): New function.
6832 (python-completion-complete-at-point): Use it.
6833
6834 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6835
6836 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6837 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6838
6839 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * subr.el (function-get): Refine `autoload' arg so it can also
6842 autoload functions for gv.el (bug#12191).
6843 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6844 autoloads macros.
6845
6846 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6847 Prefer pcase-let over destructuring-bind.
6848 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6849 Also, remove whitespace as we go, rather than after accumulating the
6850 various places.
6851
6852 * subr.el (internal--before-with-selected-window)
6853 (internal--after-with-selected-window): Fix typo seleted->selected.
6854 (with-selected-window): Adjust callers.
6855 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6856
6857 2012-08-13 Bastien Guerry <bzg@gnu.org>
6858
6859 * window.el (special-display-popup-frame): Minor docstring
6860 enhancement. (Bug#12172)
6861
6862 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6863
6864 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6865 type 1-6.
6866 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6867 extended headers.
6868
6869 * files.el (hack-local-variables-filter): Remove useless eval.
6870
6871 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6872
6873 * subr.el (with-selected-window): Fix last change.
6874
6875 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * subr.el (internal--before-with-seleted-window)
6878 (internal--after-with-seleted-window): New functions.
6879 (with-selected-window): Use them, to replace dependency on
6880 tty-top-frame.
6881
6882 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6883
6884 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6885 binding for `newline'.
6886 (ruby-move-to-block): When moving backward, stop at block opening,
6887 not indentation.
6888 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6889 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6890 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6891 `ruby-toggle-block'.
6892
6893 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * ibuffer.el (ibuffer-do-toggle-read-only):
6896 * dired.el (dired-toggle-read-only):
6897 * buff-menu.el (Buffer-menu-toggle-read-only):
6898 * bindings.el (mode-line-toggle-read-only):
6899 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6900
6901 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6902
6903 * descr-text.el (describe-char): Put the overlays over the
6904 "displayed as" character.
6905
6906 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6907
6908 * calc/calc-units.el (math-default-units-table): Give an
6909 initial value.
6910 (math-put-default-units): Add options to put composite units and
6911 unit systems in the default units table.
6912 (calc-convert-units): Send composite units to
6913 `math-put-default-units' when appropriate.
6914
6915 2012-08-11 Glenn Morris <rgm@gnu.org>
6916
6917 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6918
6919 * tutorial.el (help-with-tutorial):
6920 * emacs-lisp/copyright.el (copyright-update-directory):
6921 * emacs-lisp/autoload.el (autoload-find-generated-file)
6922 (autoload-find-file): Disable local eval: (for insurance).
6923
6924 * files.el (hack-local-variables-filter): If an eval: form is not
6925 known to be safe, and enable-local-variables is :safe, then ignore
6926 the form totally, as is done for non-eval forms. (Bug#12155)
6927 This is CVE-2012-3479.
6928
6929 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6932 (rx-form): Simplify.
6933
6934 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6935
6936 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6937 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6938 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6939 (ruby-syntax-propertize-function): Adjust for changes in
6940 `ruby-syntax-propertize-heredoc'.
6941
6942 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6943
6944 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6945 binding (use `M-;' instead).
6946 (ruby-singleton-class-p): New function.
6947 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6948
6949 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6952
6953 2012-08-10 Chong Yidong <cyd@gnu.org>
6954
6955 * progmodes/python.el (python-shell-get-process-name): Don't mess
6956 with same-window-buffer-names.
6957
6958 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6959 (eshell-remove-from-window-buffer-names): Make obsolete.
6960 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6961 (eshell): Just use pop-to-buffer-same-window instead.
6962
6963 2012-08-10 Chong Yidong <cyd@gnu.org>
6964
6965 * bindings.el: Bind M-= back to count-words-region.
6966
6967 * simple.el (count-words-region): Accept a prefix arg for acting
6968 on the entire buffer.
6969 (count-words--buffer-message): New helper function.
6970
6971 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6974 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6975 (event-start, event-end): Use posn-at-point to return a more
6976 informative posn.
6977 (posnp): New function.
6978 * mouse.el (popup-menu-normalize-position): Use it.
6979
6980 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6981
6982 * mouse.el (popup-menu-normalize-position): New function.
6983 (popup-menu): Use `popup-menu-normalize-position' to normalize
6984 the form for POSITION argument.
6985
6986 * term/x-win.el (x-menu-bar-open):
6987 Use the value returend from (posn-at-point) as position
6988 passed to `popup-menu'.
6989
6990 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6991
6992 * calc/calccomp.el (math-compose-expr): Add extra argument
6993 indicating that parentheses should be put around products in
6994 denominators. Give multiplication precedence over division during
6995 composition.
6996
6997 2012-08-09 Chong Yidong <cyd@gnu.org>
6998
6999 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7000 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7001 (Man-untabify-command, manual-program): Convert to defcustom
7002 (Bug#10429).
7003
7004 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7005
7006 * descr-text.el (describe-char): Don't insert extra newlines
7007 (Bug#10127).
7008
7009 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7010 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7011
7012 * align.el (align-region): Delete temporary markers (Bug#10047).
7013 Plus some code cleanups.
7014
7015 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7016
7017 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7018 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7019 (python-shell-internal-last-output): Use make-local-variable
7020 instead of make-variable-buffer-local.
7021
7022 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7023
7024 * progmodes/python.el: Enhancements to forward-sexp.
7025 (python-nav-forward-sexp): Rename from
7026 python-nav-forward-sexp-function.
7027 (python-nav--forward-sexp, python-nav--backward-sexp):
7028 New functions.
7029
7030 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7031
7032 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7033 modes and simplification modes.
7034
7035 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7036
7037 * delsel.el (delete-selection-pre-hook): Don't propagate the
7038 file-supersession signals (bug#12161).
7039
7040 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7043 (cl-map-extents): Add compatibility aliases (bug#12135).
7044
7045 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7046
7047 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7048 tests by `ignore-error'.
7049 (tramp-find-shell): Open also a new shell, when cache is already
7050 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7051
7052 2012-08-08 Juri Linkov <juri@jurta.org>
7053
7054 * bookmark.el: Add `defaults' property to the bookmark record.
7055 (bookmark-current-buffer): Doc fix.
7056 (bookmark-make-record): Add `defaults' property with default values
7057 to the bookmark record.
7058 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7059 with `bookmark-insert-current-bookmark'.
7060 (bookmark-set): Get `defaults' property from the bookmark record
7061 and use it in `read-from-minibuffer'.
7062 (bookmark-insert-current-bookmark): Remove function.
7063
7064 * info.el (Info-bookmark-make-record): Add `defaults' property
7065 with values of canonical Info node name, the current Info file
7066 name and the current Info node name. (Bug#12107)
7067
7068 2012-08-08 Juri Linkov <juri@jurta.org>
7069
7070 * files.el (basic-save-buffer): Use `buffer-name' as the default
7071 of `read-file-name' when buffer is not visiting a file (bug#12128).
7072
7073 2012-08-08 Juri Linkov <juri@jurta.org>
7074
7075 * info.el (Info-isearch-search): Doc fix.
7076 (Info-search): Change search-failed message from "initial node" to
7077 "end of node" (bug#12078).
7078 (Info-isearch-search): Change `isearch-string-state' to
7079 `isearch--state-string'.
7080
7081 2012-08-08 Glenn Morris <rgm@gnu.org>
7082
7083 * language/persian.el: Remove file.
7084 * language/misc-lang.el: Move unique part of persian.el here.
7085 * loadup.el: Remove language/persian.
7086
7087 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7088
7089 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7090
7091 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7092
7093 * progmodes/python.el: Fix defsubst warning.
7094 (python-syntax-context) Rename from python-info-ppss-context.
7095 (python-syntax-context-type): Rename from
7096 python-info-ppss-context-type.
7097 (python-syntax-comment-or-string-p): Rename from
7098 python-info-ppss-comment-or-string-p.
7099
7100 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7101
7102 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7103
7104 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7105
7106 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7107 a defcustom that is quoted with backquote.
7108
7109 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7110 Fix handling of interactive spec when the body uses return.
7111 (math-do-arg-check, math-define-function-body): Use backquote forms.
7112 * calc/calc-ext.el (math-defcache): Likewise.
7113 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7114 * allout.el (allout-new-exposure): Likewise.
7115 * calc/calcalg2.el (math-tracing-integral): Likewise.
7116 * info.el (Info-last-menu-item): Likewise.
7117 * emulation/vip.el (vip-loop): Likewise.
7118 * textmodes/artist.el (artist-funcall): Likewise.
7119 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7120 Construct menu-item directly.
7121
7122 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7123 Don't declare.
7124
7125 2012-08-07 Chong Yidong <cyd@gnu.org>
7126
7127 * simple.el (deactivate-mark): Preserve text properties when
7128 saving the primary selection (Bug#8384).
7129
7130 2012-08-07 Kevin Ryde <user42@zip.com.au>
7131
7132 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7133 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7134 and continue processing (Bug#12110).
7135
7136 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7139 syntax-propertize-function (bug#10095).
7140
7141 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7144 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7145 describe-function-1.
7146 (describe-function-1): Use them. Move compiler macro after sig.
7147 (help-fns--compiler-macro): Use function-get. Assume we're already in
7148 standard-output. Adjust layout to new call order.
7149
7150 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7151 re-binding a symbol that has a symbol-macro (bug#12119).
7152
7153 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7154
7155 * language/persian.el: New file. (Bug#11812)
7156 * loadup.el: Add language/persian.el.
7157
7158 2012-08-06 Chong Yidong <cyd@gnu.org>
7159
7160 * window.el (window--maybe-raise-frame): New function.
7161 (window--display-buffer): Split off from here.
7162 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7163 (display-buffer-pop-up-window, display-buffer-use-some-window):
7164 Obey an inhibit-switch-frame action alist entry.
7165 (display-buffer): Update doc.
7166
7167 * replace.el (occur-after-change-function): Avoid losing focus by
7168 using the inhibit-switch-frame display parameter (Bug#12139).
7169
7170 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7171
7172 Make internal shell process buffer names start with space.
7173 * progmodes/python.el (python-shell-make-comint): Add optional
7174 argument INTERNAL.
7175 (run-python-internal): Use it.
7176 (python-shell-internal-get-or-create-process): Check for new
7177 internal buffer names.
7178
7179 2012-08-06 Glenn Morris <rgm@gnu.org>
7180
7181 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7182 Do less getting and setting of environment variables.
7183
7184 2012-08-05 Chong Yidong <cyd@gnu.org>
7185
7186 * proced.el (proced): Add substitution string to docstring to
7187 trigger autoloading of the proced library on C-h f (Bug#1768).
7188
7189 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7190 Don't show defvars which have no second argument (Bug#8638).
7191
7192 * imenu.el (imenu-generic-expression): Move documentation here
7193 from imenu--generic-function.
7194 (imenu--generic-function): Refer to imenu-generic-expression.
7195
7196 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7197
7198 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7199 indentation declaration.
7200 (viper-loop): Add indentation declaration (Bug#7025).
7201
7202 2012-08-05 Chong Yidong <cyd@gnu.org>
7203
7204 * help-fns.el (describe-variable): Add hyperlink for
7205 directory-local variables files. Improve buffer-local and
7206 permanent-local reporting; suggested by MON KEY (Bug#6644).
7207
7208 * help-mode.el (help-dir-local-var-def): New button type.
7209
7210 * files.el (kill-buffer-hook): Provide a defvar.
7211
7212 2012-08-05 Glenn Morris <rgm@gnu.org>
7213
7214 * eshell/esh-ext.el (eshell/addpath):
7215 Also update eshell-path-env. (Bug#12013)
7216
7217 2012-08-05 Chong Yidong <cyd@gnu.org>
7218
7219 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7220
7221 * fringe.el (fringe-styles): Add docstring.
7222 (fringe--check-mode): New function.
7223 (set-fringe-mode, set-fringe-style): Use it.
7224 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7225
7226 * files.el (set-auto-mode): Fix invalid setq call.
7227
7228 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * isearch.el: Misc simplification; use defstruct.
7231 (isearch-mode-map): Dense maps now work like sparse ones.
7232 (isearch--state): New defstruct.
7233 (isearch-string-state, isearch-message-state, isearch-point-state)
7234 (isearch-success-state, isearch-forward-state)
7235 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7236 (isearch-wrapped-state, isearch-barrier-state)
7237 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7238 replaced by defstruct's accessors.
7239 (isearch--set-state): Rename from isearch-top-state and change
7240 calling convention.
7241 (isearch-push-state): Use new isearch--get-state.
7242 (isearch-toggle-word): Disable regexp when enabling word.
7243 (isearch-message-prefix): Remove unused arg _c-q-hack.
7244 (isearch-message-suffix): Remove unused arg _ellipsis.
7245
7246 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7247
7248 * simple.el (list-processes--refresh): For a server use :host or
7249 :local as the address.
7250 (list-processes): Doc fix.
7251
7252 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7253
7254 * lisp/mpc.el: Support password in host argument.
7255 (mpc--proc-connect): Parse and use new password element.
7256 Set mpc-proc variable instead of returning process.
7257 (mpc-proc): Adjust accordingly.
7258
7259 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7260
7261 * whitespace.el (whitespace-display-mappings): Use Unicode
7262 codepoints, instead of emacs-mule codepoints. See
7263 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7264 for the details.
7265
7266 * files.el (file-truename): Don't skip symlink-chasing part on
7267 windows-nt. Incorporate the resolution of 8+3 short aliases on
7268 Windows into the loop that recursively chases symlinks.
7269 Compare directory and its parent case-insensitively on MS-Windows and
7270 MS-DOS.
7271
7272 2012-08-03 Chong Yidong <cyd@gnu.org>
7273
7274 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7275
7276 * sort.el (sort-regexp-fields): Doc fix.
7277
7278 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7279
7280 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7281 labels regex position point at the expected place.
7282
7283 2012-08-03 MON KEY <monkey@sandpframing.com>
7284
7285 * net/imap.el (imap-interactive-login, imap-authenticate)
7286 (imap-mailbox-lsub, imap-mailbox-list)
7287 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7288 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7289 (imap-parse-response): Doc fix.
7290
7291 2012-08-03 João Távora <joaotavora@gmail.com>
7292
7293 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7294 if sexp scanning does not move point (Bug#5734).
7295
7296 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7297
7298 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7299 Add listings, minted, and ctable packages.
7300 (reftex-label-alist-builtin): Move listings, minted, and ctable
7301 entries before LaTeX.
7302 (reftex-label-alist): Docfix.
7303
7304 2012-08-02 Bastien Guerry <bzg@gnu.org>
7305
7306 * replace.el (occur): Fix docstring (bug#12122).
7307
7308 2012-08-02 Glenn Morris <rgm@gnu.org>
7309
7310 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7311
7312 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7313
7314 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7315 * international/mule-cmds.el: Create
7316 inactivate-current-input-method-function as an obsolete alias for
7317 deactivate-current-input-method-function. See Katsumi Yamaoka in
7318 <http://bugs.gnu.org/10150#46>.
7319
7320 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7321
7322 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7323 of nested `if's.
7324
7325 2012-08-01 Glenn Morris <rgm@gnu.org>
7326
7327 * progmodes/autoconf.el (autoconf-definition-regexp):
7328 Add AH_TEMPLATE, adjust submatch numbering.
7329 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7330 (autoconf-current-defun-function): Update for above change.
7331 (autoconf-current-defun-function): First skip to end of current word.
7332
7333 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7334
7335 * calendar/cal-html.el (cal-html-insert-agenda-days):
7336 Fix typo. (Bug#12018)
7337
7338 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7339
7340 Shell processes: enhancements to startup and CEDET compatibility.
7341 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7342 (python-shell-make-comint): accept-process-output at startup.
7343 (run-python-internal): Set inferior-python-mode-hook to nil.
7344 (python-shell-internal-get-or-create-process): call sit-for.
7345 (python-preoutput-result): Add obsolete alias.
7346 (python-shell-internal-send-string): Use it.
7347 (python-shell-send-setup-code): Remove call to
7348 accept-process-output.
7349
7350 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7351
7352 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7353 (Bug#12108)
7354
7355 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7356
7357 * calc-mode.el (calc-basic-simplification-mode): Rename from
7358 `calc-limited-simplification-mode'.
7359 (calc-alg-simplification-mode): New function.
7360 (calc-set-simplify-mode): Adjust message.
7361
7362 * calc.el (calc-set-mode-line): Adjust mode line display for
7363 basic simplification mode.
7364
7365 * calc-help.el (calc-m-prefix-help): Update help message.
7366
7367 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7368 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7369
7370 2012-07-31 Bastien Guerry <bzg@gnu.org>
7371
7372 * man.el (man): Fix comment. (bug#12101)
7373
7374 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7375
7376 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7377 Don't return a non-nil value when no suitable buffer was found.
7378
7379 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7380
7381 * progmodes/python.el (run-python-internal): Disable font lock for
7382 internal shells.
7383
7384 2012-07-30 Stefan Merten <smerten@oekonux.de>
7385
7386 * textmodes/rst.el: Silence `checkdoc-ispell'.
7387 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7388 (rst-official-version, rst-official-cvs-rev)
7389 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7390 (rst-mode-map): New key binding.
7391
7392 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7393
7394 Update .PHONY listings in makefiles.
7395 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7396 autoloads, update-subdirs, updates, bzr-update, update-authors,
7397 compile-onefile, compile-calc, backup-compiled-files,
7398 compile-after-backup, compile-one-process, mh-autoloads,
7399 bootstrap-clean, distclean, maintainer-clean.
7400
7401 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7402
7403 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7404 (calc-set-mode-line): Don't display "AlgSimp ".
7405
7406 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7407 (calc-lim-simplify-mode): New function.
7408 (calc-set-simplify-mode): Default to 'alg.
7409 (calc-default-simplify-mode): Make algebraic simplifications
7410 the default.
7411
7412 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7413 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7414
7415 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7416 indicate new simplification modes.
7417
7418 * calc/README: Mention new default simplification mode.
7419
7420 * calc/calc.el (math-normalize-error): New variable.
7421 (math-normalize): Set `math-normalize-error' to t
7422 when there's an error.
7423
7424 * calc/calc-alg.el (math-simplify): Don't simplify when
7425 `math-normalize' returns an error.
7426
7427 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7428
7429 * international/mule-cmds.el (set-locale-environment): Revert last
7430 change, since display-graphic-p returns nil when this function is
7431 called during startup. Instead...
7432
7433 * term/w32console.el (terminal-init-w32console): ...setup the
7434 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7435
7436 2012-07-29 Juri Linkov <juri@jurta.org>
7437
7438 * simple.el (goto-line): Don't display default line number in the
7439 prompt because it should be displayed by `read-number' (bug#9952).
7440 Add the current line number to the defaults of `goto-line' to
7441 allow its easier modification by users with `M-n' (bug#9201).
7442
7443 * subr.el (read-number): Support multiple default values like in
7444 other minibuffer reading functions. Replace `read' with
7445 `string-to-number' for consistency with `number-to-string'.
7446
7447 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7448
7449 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7450 * emulation/viper-init.el (viper-deactivate-input-method-action):
7451 Rename from viper-inactivate-input-method-action.
7452 (viper-deactivate-input-method):
7453 Rename from viper-inactivate-input-method.
7454 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7455 * international/mule-cmds.el (deactivate-input-method):
7456 Rename from inactivate-input-method.
7457 Also run input-method-deactivate-hook.
7458 (deactivate-current-input-method-function):
7459 Rename from inactivate-current-input-method-function.
7460 (input-method-deactivate-hook): New hook.
7461 (input-method-inactivate-hook): Mark obsolete.
7462 (inactivate-input-method): Mark obsolete.
7463
7464 * international/quail.el (quail-activate):
7465 Also run quail-deactivate-hook.
7466 (quail-deactivate): Rename from quail-inactivate.
7467 * international/robin.el (robin-activate):
7468 Also run robin-deactivate-hook.
7469 (robin-deactivate): Rename from robin-inactivate.
7470
7471 2012-07-29 Chong Yidong <cyd@gnu.org>
7472
7473 * simple.el (indicate-copied-region): New function.
7474 (kill-ring-save): Split off from here.
7475
7476 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7477 (kill-rectangle): Set deactivate-mark to t on read-only error.
7478
7479 * register.el (copy-to-register, copy-rectangle-to-register):
7480 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7481 (append-to-register, prepend-to-register): Call indicate-copied-region.
7482
7483 2012-07-29 Juri Linkov <juri@jurta.org>
7484
7485 * simple.el (async-shell-command-buffer): New defcustom.
7486 (shell-command): Use it. (Bug#4719)
7487
7488 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7489
7490 * international/mule-cmds.el (set-locale-environment): In a
7491 console session on MS-Windows, set up keyboard and terminal
7492 encoding from the OEM codepage, not the ANSI codepage.
7493 (Bug#12055)
7494
7495 2012-07-28 Chong Yidong <cyd@gnu.org>
7496
7497 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7498 gdb-get-location.
7499
7500 2012-07-28 Leo Liu <sdl.web@gmail.com>
7501
7502 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7503 the alist (bug#12029).
7504
7505 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7506
7507 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7508 (compile-always, compile-first)
7509 ($(lisp)/calendar/cal-loaddefs.el)
7510 ($(lisp)/calendar/diary-loaddefs.el)
7511 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7512 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7513 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7514 instead of on update-subdirs.
7515 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7516
7517 2012-07-28 Chong Yidong <cyd@gnu.org>
7518
7519 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7520 directory if vc-deduce-backend returns nil (Bug#7350).
7521
7522 * simple.el (delete-trailing-lines): New option.
7523 (delete-trailing-whitespace): Obey it (Bug#11879).
7524
7525 2012-07-28 David Engster <deng@randomsample.de>
7526
7527 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7528 Explanation of new 'symbol-qnames feature in doc-strings.
7529 (xml-maybe-do-ns): Return expanded names as plain symbols if
7530 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7531 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7532
7533 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7534
7535 Consistent completion in inferior python with emacs -nw.
7536 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7537 binding in inferior-python-mode-map with "\t".
7538 (python-shell-completion-complete-at-point)
7539 (python-completion-complete-at-point): Remove interactive spec.
7540
7541 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7542
7543 * calc/calccomp.el (math-compose-expr): Undo previous change.
7544
7545 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7546
7547 * progmodes/python.el (python-mode-map): Add keybinding for
7548 run-python.
7549 (python-shell-make-comint): Fix pop-to-buffer call.
7550 (run-python): Autoload. New arg SHOW.
7551 (python-shell-get-or-create-process): Do not pop python process
7552 buffer.
7553
7554 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7555
7556 * notifications.el (notifications-on-action-signal)
7557 (notifications-on-closed-signal): Use also the bus address for the map.
7558 (notifications-notify, notifications-close-notification)
7559 (notifications-get-capabilities): Add optional argument BUS.
7560
7561 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7562
7563 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7564 Add support for the lstlisting and minted environments, and for the
7565 ctable macro.
7566 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7567 labels written in keyvals syntax.
7568
7569 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7570
7571 * calc/calccomp.el (math-compose-expr): Use parentheses when
7572 there is a product in the denominator of a fraction.
7573
7574 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7575
7576 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7577 ($(lisp)/calendar/diary-loaddefs.el)
7578 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7579 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7580 Fixes failures in parallel bootstrap because subdirs.el is being
7581 rewritten while the autoload files are built at the same time,
7582 which needs to load subdirs.el.
7583
7584 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7585
7586 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7587 (mouse-drag-line): Don't exit tracking when a switch-frame or
7588 switch-window event occurs (Bug#12006).
7589
7590 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * mouse.el (popup-menu): Fix last change.
7593
7594 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 Autoload from Lisp with more care. Follow aliases when looking for
7597 function properties.
7598 * subr.el (autoloadp): New function.
7599 (symbol-file): Use it.
7600 (function-get): New function.
7601 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7602 autoload-do-load.
7603 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7604 (lisp-indent-function):
7605 * emacs-lisp/gv.el (gv-get):
7606 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7607 * emacs-lisp/byte-opt.el (byte-optimize-form):
7608 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7609 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7610 Use function-get.
7611 * emacs-lisp/cl.el: Don't propagate function properties any more.
7612
7613 * speedbar.el (speedbar-add-localized-speedbar-support):
7614 * emacs-lisp/disass.el (disassemble-internal):
7615 * desktop.el (desktop-load-file):
7616 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7617 (describe-function-1):
7618 * emacs-lisp/find-func.el (find-function-noselect):
7619 * emacs-lisp/elp.el (elp-instrument-function):
7620 * emacs-lisp/advice.el (ad-has-proper-definition):
7621 * apropos.el (apropos-safe-documentation, apropos-macrop):
7622 * emacs-lisp/debug.el (debug-on-entry):
7623 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7624 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7625 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7626
7627 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7628
7629 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7630 function, not an obsolete variable (Bug#12046).
7631
7632 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7635
7636 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7637
7638 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7639 window only if it is still live (Bug#12034).
7640
7641 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7642
7643 * subr.el (redirect-frame-focus): Add advertised calling
7644 convention (Bug#12030).
7645
7646 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7647
7648 Prefer typical American spelling for "acknowledgment".
7649 * vc/add-log.el (change-log-acknowledgment): Rename from
7650 change-log-acknowledgement, with an alias for the old name.
7651
7652 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7653
7654 * calc-alg.el (math-simplify-divide): Don't cross multiply
7655 in an equation when the lhs is a variable.
7656
7657 2012-07-24 Julien Danjou <julien@danjou.info>
7658
7659 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7660 Remove, unused.
7661
7662 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7663
7664 * startup.el (command-line): Don't display an empty user name in
7665 the error message about non-existent home directory, when
7666 init-file-user was set to an empty string. See
7667 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7668 for the details and context.
7669
7670 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7671
7672 * ses.el (ses-cell-formula-aset): New macro.
7673 (ses-cell-references-aset): New macro.
7674 (ses-cell-p): New function.
7675 (ses-rename-cell): Do no longer rely on complex operations like
7676 ses-cell-set-formula or ses-set-cell to change the cell and handle
7677 the undo at the same time, but rather use lower level new macros
7678 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7679 the undo directly. Refresh the mode line.
7680
7681 2012-07-21 Leo Liu <sdl.web@gmail.com>
7682
7683 * progmodes/cc-cmds.el (c-defun-name):
7684 Use match-string-no-properties instead for consistency.
7685
7686 2012-07-20 Leo Liu <sdl.web@gmail.com>
7687
7688 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7689 (Bug#7879)
7690
7691 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7692
7693 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7696 * progmodes/bug-reference.el, misearch.el: Provide themselves
7697 (bug#11915).
7698
7699 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7700 of narrowed buffer (bug#11966).
7701
7702 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7703
7704 * ses.el (ses-rename-cell): Set new name also in reference list of
7705 cells of which the renamed cell depends.
7706
7707 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7708
7709 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7710 to check whether menu-bar is shown or not. If not shown,
7711 show the menu-bar as a popup menu instead of using tmm.
7712 * mouse.el (popup-menu): Accept `point' as `position' argument.
7713
7714 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7715
7716 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7717 up inside string symbol literal (bug#11923).
7718
7719 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7720
7721 * startup.el (fancy-startup-text): Read the whole tutorial, not
7722 just its first 256 bytes. Prevents gibberish in display of the
7723 tutorial title.
7724
7725 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7726
7727 Drop idle buffer compaction due to an absence of the
7728 proved efficiency.
7729 * compact.el: Remove.
7730
7731 2012-07-19 Sam Steingold <sds@gnu.org>
7732
7733 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7734 vc-bzr-pull & vc-bzr-merge-branch.
7735 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7736 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7737 for consistency with compilation-error-regexp-alist.
7738 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7739 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7740 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7741 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7742
7743 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * emacs-lisp/chart.el: Use lexical-binding.
7746 (chart-emacs-storage): Don't hardcode the list of entries.
7747
7748 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7749
7750 Next round of tweaks caused by Fgarbage_collect changes.
7751 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7752
7753 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7754
7755 Compact buffers when idle.
7756 * compact.el: New file.
7757
7758 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * subr.el (eventp): Presume that if it looks vaguely like an event,
7761 it's an event (bug#10190).
7762
7763 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7764
7765 Enhancements to ppss related code (thanks Stefan).
7766 * progmodes/python.el (python-indent-context)
7767 (python-indent-calculate-indentation, python-indent-dedent-line)
7768 (python-indent-electric-colon, python-nav-forward-block)
7769 (python-mode-abbrev-table)
7770 (python-info-assignment-continuation-line-p): Simplify checks
7771 for ppss context.
7772 (python-info-continuation-line-p): Cleanup.
7773 (python-info-ppss-context): Do not catch 'quote.
7774 (python-info-ppss-context-type)
7775 (python-info-ppss-comment-or-string-p): Simplify.
7776
7777 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7778
7779 * progmodes/python.el: Enhancements to eldoc support.
7780 (python-info-current-symbol): New function.
7781 (python-eldoc-at-point): Use python-info-current-symbol.
7782 (python-info-current-defun): Fix cornercase on first defun scan.
7783 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7784 and signal error when no inferior python process is available.
7785
7786 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7787
7788 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7789 assume it's always t.
7790 (vc-git-registered): Remove caching, the function is only called
7791 once.
7792 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7793
7794 2012-07-18 Chong Yidong <cyd@gnu.org>
7795
7796 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7797
7798 * simple.el (count-words): Report on narrowing (Bug#9959).
7799
7800 * bindings.el: Bind M-= to count-words.
7801
7802 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7803
7804 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7805
7806 * progmodes/sh-script.el (sh-imenu-generic-expression):
7807 Capture a function with `function' keyword and without parentheses
7808 like "function FOO" (bug#11856).
7809
7810 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7811
7812 * window.el (split-window-sensibly): Make WINDOW argument
7813 optional.
7814
7815 2012-07-18 Chong Yidong <cyd@gnu.org>
7816
7817 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7818
7819 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7820 and make C-x 8 RET exit isearch (Bug#11439).
7821
7822 * international/iso-transl.el: Move isearch-mode-map key
7823 definitions to isearch.el.
7824
7825 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7828 (eieio-defclass): Use gv-define-setter when possible.
7829
7830 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7831
7832 Reflect recent changes in Fgarbage_collect.
7833 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7834 reflect new format of data returned by Fgarbage_collect.
7835
7836 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7837
7838 New utility functions + python-info-ppss-context fix (Bug#11910).
7839 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7840 (python-info-ppss-comment-or-string-p): New functions.
7841 (python-info-ppss-context): Small fix for string check.
7842
7843 2012-07-17 Juri Linkov <juri@jurta.org>
7844
7845 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7846 (dired-do-async-shell-command): Don't add `*' at the end of the
7847 command (Bug#11815).
7848 (dired-do-shell-command): Doc fix.
7849 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7850 Join the individual commands using either "&" or ";" as the
7851 separator depending on the values of these trailing characters.
7852 At the end re-add the trailing "&". (Bug#10598)
7853
7854 * simple.el (async-shell-command): Sync the interactive spec with
7855 `shell-command'. Doc fix.
7856 (shell-command): Doc fix.
7857
7858 2012-07-17 Juri Linkov <juri@jurta.org>
7859
7860 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7861
7862 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7863
7864 Final renames and doc fixes for movement commands (bug#11899).
7865 * progmodes/python.el (python-nav-beginning-of-statement):
7866 Rename from python-nav-statement-start.
7867 (python-nav-end-of-statement): Rename from
7868 python-nav-statement-end.
7869 (python-nav-beginning-of-block): Rename from
7870 python-nav-block-start.
7871 (python-nav-end-of-block): Rename from python-nav-block-end.
7872
7873 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7874
7875 * progmodes/python.el (python-shell-send-string-no-output):
7876 Allow accept-process-output to quit, keeping shell process ready for
7877 future interactions (Bug#11868).
7878
7879 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7882
7883 * emacs-lisp/elint.el (elint-find-args-in-code):
7884 Use help-function-arglist, so as to handle lexical byte-code.
7885
7886 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7887 change (bug#11826).
7888
7889 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7892 Avoid spuriously marking the buffer as modified because of c-is-sws.
7893
7894 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7895 as not-a-comment (bug#11946).
7896
7897 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7898 for uninterned vars.
7899
7900 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7901 Use read-event since we don't really want to read chars but bytes.
7902
7903 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7904 $$..$$ but also $..$ using regexps (bug#11953).
7905 Use tex-verbatim for \url and \path.
7906 (tex-font-lock-keywords): Define as defconst like the others.
7907 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7908
7909 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7910
7911 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7912 alias for insert-char.
7913
7914 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7915
7916 * progmodes/python.el: Simplified imenu implementation.
7917 (python-nav-jump-to-defun): Remove command.
7918 (python-mode-map): Use `imenu' instead.
7919 (python-nav-list-defun-positions-cache)
7920 (python-imenu-include-defun-type, python-imenu-make-tree)
7921 (python-imenu-subtree-root-label, python-imenu-index-alist):
7922 Remove vars.
7923 (python-nav-list-defun-positions, python-nav-read-defun)
7924 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7925 (python-imenu-make-tree, python-imenu-create-index):
7926 Remove functions.
7927 (python-mode): Update to interact with imenu by setting
7928 `imenu-extract-index-name-function' only.
7929
7930 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7931
7932 * progmodes/python.el: Enhancements to navigation commands.
7933 (python-nav-backward-sentence)
7934 (python-nav-forward-sentence): Remove.
7935 (python-nav-backward-statement, python-nav-forward-statement)
7936 (python-nav-statement-start, python-nav-statement-end)
7937 (python-nav-backward-block, python-nav-forward-block)
7938 (python-nav-block-start, python-nav-block-end)
7939 (python-nav-forward-sexp-function)
7940 (python-info-current-line-comment-p)
7941 (python-info-current-line-empty-p): New functions.
7942 (python-indent-context): Use `python-nav-statement-start'.
7943
7944 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7945
7946 * eshell/em-ls.el (eshell/ls): Use `apply'.
7947
7948 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7949 multi-hops, instead of Tramp internals.
7950
7951 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7952
7953 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7954 when F1 and F2 are located on different hosts.
7955
7956 2012-07-14 Chong Yidong <cyd@gnu.org>
7957
7958 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7959 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7960 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7961 (xterm-mouse--read-event-sequence-1000)
7962 (xterm-mouse--read-event-sequence-1006): New functions. For old
7963 mouse protocol, handle M-mouse-X events correctly.
7964 (xterm-mouse-event): New arg specifying mouse protocol.
7965 (turn-on-xterm-mouse-tracking-on-terminal)
7966 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7967 sequence to toggle extended coordinates on newer XTerms.
7968 This appears to be harmless on terminals which do not support this.
7969
7970 2012-07-14 Leo Liu <sdl.web@gmail.com>
7971
7972 Add fringe bitmap indicators for flymake. (Bug#11253)
7973 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7974 (flymake-make-overlay): New arg BITMAP.
7975 (flymake-error-bitmap, flymake-warning-bitmap)
7976 (flymake-fringe-indicator-position): New user variables.
7977
7978 * fringe.el: New bitmap exclamation-mark.
7979
7980 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7981
7982 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7983 also (Bug#7879).
7984
7985 2012-07-14 Chong Yidong <cyd@gnu.org>
7986
7987 * electric.el (electric-pair-post-self-insert-function): Fix pair
7988 insertion in empty-region case (Bug#11520).
7989
7990 2012-07-14 Chong Yidong <cyd@gnu.org>
7991
7992 * bindings.el: Consolidate ctl-x-r-map bindings.
7993 Bind copy-rectangle-as-kill to C-x r w.
7994
7995 * rect.el, register.el: Move bindings to bindings.el.
7996
7997 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7998
7999 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8000
8001 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8002
8003 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8004
8005 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * bindings.el (top): Use `mapc' instead of `mapcar'.
8008
8009 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8010
8011 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8012
8013 * progmodes/sql.el (sql-comint): Suppress the check for program on
8014 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8015 (Bug#11908)
8016
8017 2012-07-13 Chong Yidong <cyd@gnu.org>
8018
8019 * bindings.el: Assign a non-nil permanent-local property to
8020 per-buffer variables which lack a default value (Bug#11930).
8021
8022 * help-fns.el (describe-variable): In the "automatically becomes
8023 local" notice, take note of permanent-local variables.
8024
8025 2012-07-13 Chong Yidong <cyd@gnu.org>
8026
8027 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8028 to allow printing the message when called from Lisp.
8029
8030 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8031 Remove toggle-read-only.
8032
8033 * bs.el (bs-toggle-readonly):
8034 * buff-menu.el (Buffer-menu-toggle-read-only):
8035 Remove with-no-warnings around toggle-read-only.
8036
8037 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8038 Remove with-no-warnings around toggle-read-only.
8039 (ffap-read-only, ffap-read-only-other-window)
8040 (ffap-read-only-other-frame): Callers changed.
8041
8042 * help-mode.el: Don't require view package.
8043 (help-mode-finish): Set buffer-read-only instead of calling
8044 toggle-read-only.
8045
8046 * bindings.el (mode-line-toggle-read-only):
8047 * dired.el (dired-toggle-read-only):
8048 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8049 with non-nil second arg.
8050
8051 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8052 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8053 directly.
8054
8055 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8056
8057 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8058 not incf.
8059
8060 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 More CL cleanups and reduction of use of cl.el.
8063 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8064 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8065 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8066 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8067 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8068 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8069 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8070 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8071 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8072 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8073 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8074 * eshell/em-cmpl.el, eshell/em-banner.el:
8075 * calendar/parse-time.el: Use cl-lib.
8076 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8077 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8078 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8079 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8080 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8081 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8082 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8083 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8084 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8085 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8086 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8087 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8088 `lambda' rather than with `quote'.
8089 (eshell-do-opt): Adjust accordingly.
8090 (eshell-process-option): Simplify.
8091 * eshell/esh-var.el:
8092 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8093 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8094 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8095 to `pcase--dontcare'.
8096 * emacs-lisp/cl.el (labels): Mark obsolete.
8097 (cl--letf, letf): Move to cl-lib.
8098 (cl--letf*, letf*): Remove.
8099 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8100 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8101 (cl-progv): Rewrite.
8102 (cl--letf, cl-letf): Move from cl.el.
8103 (cl-letf*): New macro.
8104 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8105
8106 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8107
8108 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8109
8110 2012-07-11 Chong Yidong <cyd@gnu.org>
8111
8112 * vc/log-edit.el (log-edit-vc-backend): New variable.
8113 (log-edit): Doc fix.
8114
8115 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8116 argument of log-edit to set up all local variables.
8117 (vc-start-logentry): New optional arg specifying VC backend.
8118
8119 * vc/vc.el (vc-checkin): Use it.
8120 (vc-deduce-fileset): Handle Log Edit buffers.
8121 (vc-diff): Make first argument optional too.
8122
8123 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8124
8125 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8126
8127 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8128 command, just in case. The function is not needed anymore.
8129 (eshell-external-command): Do not call `eshell-remote-command'.
8130
8131 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 Reduce use of (require 'cl).
8134 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8135 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8136 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8137 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8138 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8139 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8140 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8141 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8142 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8143 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8144 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8145 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8146 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8147 (byte-compile-unfold-bcf, byte-compile-check-variable):
8148 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8149 (byte-compile-nilconstp):
8150 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8151 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8152
8153 * emacs-lisp/gv.el (cond): Make it a valid place.
8154 (if): Simplify slightly.
8155
8156 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8157 (pcase--self-quoting-p): New function.
8158 (pcase--u1): Use it.
8159
8160 2012-07-10 Glenn Morris <rgm@gnu.org>
8161
8162 * emacs-lisp/authors.el (authors-fixed-entries):
8163 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8164
8165 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8166
8167 Rename configure.in to configure.ac (Bug#11603).
8168 * emacs-lisp/authors.el (authors-canonical-file-name):
8169 * progmodes/autoconf.el (autoconf-mode):
8170 Prefer configure.ac to configure.in.
8171
8172 2012-07-08 Chong Yidong <cyd@gnu.org>
8173
8174 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8175 Implement the mouse-1-click-follows-link handling properly.
8176
8177 * info.el (Info-link-keymap): Use follow-link mechanism for
8178 header-line links (Bug#374).
8179
8180 * simple.el (deactivate-mark): Do not set the primary selection
8181 if another program has acquired it (Bug#11772).
8182
8183 2012-07-07 Kevin Ryde <user42@zip.com.au>
8184
8185 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8186 (woman-decode-region): Replace escaped-escapes without destroying
8187 bold or underline (Bug#11552).
8188 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8189
8190 2012-07-07 Chong Yidong <cyd@gnu.org>
8191
8192 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8193 (interprogram-cut-function, interprogram-paste-function):
8194 Mention that we typically mean the clipboard.
8195
8196 2012-07-06 Glenn Morris <rgm@gnu.org>
8197
8198 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8199
8200 * files.el (toggle-read-only): Restrict message to interactive use.
8201
8202 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8203
8204 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8205
8206 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8207
8208 2012-07-06 Glenn Morris <rgm@gnu.org>
8209
8210 * Makefile.in (compile-one-process): Rename from "recompile".
8211
8212 * Makefile.in (bzr-update): "compile" is the same as "recompile
8213 autoloads", but parallelizable, so use that instead.
8214
8215 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8216
8217 * window.el (quit-window): Always restore window height when
8218 it's saved in quit-restore parameter (Bug#11810).
8219
8220 2012-07-06 Glenn Morris <rgm@gnu.org>
8221
8222 * simple.el (kill-whole-line): Doc tweak.
8223
8224 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8225
8226 * files.el (file-relative-name): Compare file names
8227 case-insensitively if on MS-Windows or MS-DOS, or if
8228 read-file-name-completion-ignore-case is non-nil. Don't use
8229 case-fold-search for this purpose. (Bug#11827)
8230
8231 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8232
8233 * calendar/cal-dst.el (calendar-current-time-zone):
8234 Return calendar-current-time-zone-cache if non-nil.
8235
8236 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8237 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8238
8239 * calendar/cal-dst.el (calendar-current-time-zone):
8240 Return calendar-current-time-zone-cache if non-nil.
8241
8242 2012-07-06 Glenn Morris <rgm@gnu.org>
8243
8244 * Makefile.in (cvs-update): Remove old alias.
8245
8246 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8247
8248 Sync with Tramp 2.2.6-pre.
8249
8250 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8251 compatible declaration.
8252
8253 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8254 Protect `list-load-path-shadows' call.
8255
8256 * net/tramp-compat.el (top): Require packages, which aren't
8257 autoloaded anymore for XEmacs. Protect call of
8258 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8259 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8260 it hurts at least for SXEmacs.
8261 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8262 standard-value for `temporary-file-directory'.
8263
8264 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8265 Redirect stderr to /dev/null.
8266 (tramp-sh-handle-write-region): uid and gid can be floats.
8267 Reported by Russell Sim <russell.sim@gmail.com>.
8268 (tramp-sh-handle-vc-registered): Hide errors.
8269 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8270 and `start-file-process'.
8271 (tramp-maybe-open-connection): Check also whether `non-essential'
8272 is bound.
8273
8274 2012-07-04 Chong Yidong <cyd@gnu.org>
8275
8276 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8277 (xml-parse-tag): Likewise, and avoid changing entity tables.
8278 (xml-syntax-table): Define from scratch, making sure not to give
8279 x2000 and other Unicode spaces whitespace syntax, since those are
8280 not spaces in XML.
8281 (xml-parse-fragment): Delete unused function.
8282 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8283 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8284 (xml-entity-ref, xml-pe-reference-re)
8285 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8286 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8287 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8288 (xml-entity-value-re): Use syntax references in regexps where
8289 possible; no need to define inside a let-binding.
8290 (xml-parse-dtd): Use xml-pe-reference-re.
8291 (xml-entity-or-char-ref-re): New defconst.
8292 (xml-parse-string, xml-substitute-special): Use it.
8293
8294 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8297 (find-file--read-only): New function.
8298 (find-file-read-only, find-file-read-only-other-window)
8299 (find-file-read-only-other-frame): Use it.
8300 (insert-file-contents-literally): Don't `fset'.
8301 (get-free-disk-space): Use locate-dominating-file.
8302
8303 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8304 function is already compiled.
8305
8306 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8307
8308 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8309
8310 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8311 files on the same host.
8312
8313 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8314
8315 * help-fns.el (describe-function-1): Only call
8316 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8317
8318 2012-07-03 Chong Yidong <cyd@gnu.org>
8319
8320 * xml.el: Protect parser against XML bombs.
8321 (xml-entity-expansion-limit): New variable.
8322 (xml-parse-string, xml-substitute-special): Use it.
8323 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8324
8325 2012-07-03 Glenn Morris <rgm@gnu.org>
8326
8327 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8328 Allow linking to specific messages in debbugs reports (eg 123#5).
8329
8330 2012-07-02 Chong Yidong <cyd@gnu.org>
8331
8332 * xml.el: Fix entity and character reference expansion, allowing
8333 them to expand into markup as per XML spec.
8334 (xml-default-ns): New variable.
8335 (xml-entity-alist): Use XML spec definitions for lt and amp.
8336 (xml-parse-region): Make first two arguments optional.
8337 Discard text properties.
8338 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8339 All callers changed.
8340 (xml-parse-tag): Call xml-parse-tag-1. For backward
8341 compatibility, this function should not modify buffer contents.
8342 (xml-parse-tag-1): Fix opening-tag regexp.
8343 (xml-parse-string): Rewrite, handling entity and character
8344 references properly.
8345 (xml--entity-replacement-text): Signal an error if a parameter
8346 entity is undefined.
8347
8348 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * comint.el (comint-output-filter): Filter out repeated prompts.
8351
8352 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8353 and file-name-absolute-p.
8354 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8355 internal calls.
8356
8357 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8358
8359 Spelling fixes.
8360 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8361 Rename from byte-compile--refiy-function. All uses changed.
8362
8363 2012-07-01 Chong Yidong <cyd@gnu.org>
8364
8365 * xml.el (xml--parse-buffer): New function. Move most of
8366 xml-parse-region here.
8367 (xml-parse-region): Copy region into a temporary buffer, since
8368 parameter entity substitution requires changing buffer contents.
8369 Use xml--parse-buffer.
8370 (xml-parse-file): Use xml--parse-buffer.
8371 (xml-parse-dtd): Make parameter entity substitution work right.
8372 Use proper regexps for ELEMENT declarations (Bug#7172).
8373
8374 2012-06-30 Glenn Morris <rgm@gnu.org>
8375
8376 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8377
8378 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8379 Remove outdated and unnecessary dbus declarations.
8380
8381 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8382
8383 * emacs-lisp/timer.el (timer-until): Subtract results of
8384 float-time, instead of taking float-time of the result of
8385 time-subtract, since float-time signals an error for negative time
8386 arguments.
8387
8388 2012-06-30 Chong Yidong <cyd@gnu.org>
8389
8390 * xml.el (xml-*-re): Convert defvars into defconsts, and
8391 eval-and-compile them so eval-and-compile works on derivatives.
8392 (xml--entity-replacement-text): Use eval-and-comple.
8393
8394 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8395
8396 * vc/vc-git.el (vc-git-registered): Use cache property
8397 `git-registered'.
8398 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8399 `vc-git-working-revision' in order to benefit from the cache.
8400 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8401
8402 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8403
8404 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8405 removed (likely outside Emacs). (Bug#11757)
8406
8407 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * emacs-lisp/cl-lib.el: Require macroexp.
8410
8411 2012-06-30 Chong Yidong <cyd@gnu.org>
8412
8413 * xml.el: Implement XML parameter entities.
8414 (xml-parameter-entity-alist): New variable.
8415 (xml-parse-region, xml-parse-fragment): Preserve previous values
8416 of xml-entity-alist and xml-parameter-entity-alist, so that
8417 repeated calls on different documents do not change them.
8418 (xml-parse-tag): Fix doctype regexp.
8419 (xml--entity-replacement-text): New function.
8420 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8421 properly requires url retrieval which is unimplemented.
8422 (xml-escape-string): Doc fix.
8423
8424 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8427
8428 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8429
8430 * fringe.el (fringe-mode): Doc fix.
8431
8432 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8433
8434 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8435 is non-nil.
8436 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8437 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8438
8439 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8440
8441 * calendar/cal-dst.el (calendar-current-time-zone):
8442 Return calendar-current-time-zone-cache if non-nil.
8443
8444 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8445
8446 * progmodes/which-func.el (which-func-format):
8447 Add mouse-face. (Bug#11698)
8448
8449 2012-06-29 Leo Liu <sdl.web@gmail.com>
8450
8451 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8452
8453 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * minibuffer.el (minibuffer-confirm-exit-commands):
8456 Add completion-at-point (bug#11725).
8457
8458 2012-06-29 Glenn Morris <rgm@gnu.org>
8459
8460 * progmodes/f90.el (f90-font-lock-keywords-2):
8461 Add some preprocessor elements. (Bug#10499)
8462
8463 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8466 Use syntax-propertize (bug#11739).
8467
8468 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8469
8470 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8471
8472 2012-06-28 Julien Danjou <julien@danjou.info>
8473
8474 * term.el (term-handle-colors-array): Use a set of new faces to
8475 color the terminal. Also uses :inverse-video property.
8476 (term-default-fg-color): Set to nil by default, deprecate in favor
8477 of `term-face'.
8478 (term-default-bg-color): Set to nil by default, deprecate in favor
8479 of `term-face'.
8480 (term-current-face): Use `term-face' by default.
8481 (term-bold-attribute): Variable deleted.
8482
8483 2012-06-28 Glenn Morris <rgm@gnu.org>
8484
8485 * simple.el (completion-list-mode-finish):
8486 Don't use toggle-read-only. (Since completion-list-mode has
8487 a special mode-class, it wasn't doing anything extra anyway.)
8488
8489 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 Make inlining of other-mode interpreted functions work (bug#11799).
8492 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8493 (byte-compile): Use it to fix compilation of lexical-binding closures.
8494 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8495 function, if needed.
8496
8497 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * help-mode.el (help-make-xrefs): Don't just withstand
8500 cyclic-variable-indirection but any error in documentation-property.
8501
8502 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8503 memory use.
8504 * bindings.el (bindings--define-key): New function.
8505 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8506 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8507 * bindings.el: Use it to purecopy define-key bindings.
8508
8509 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8510
8511 * emacs-lisp/cl.el (flet): Mark obsolete.
8512 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8513 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8514 * progmodes/js.el (js-c-fill-paragraph):
8515 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8516 (ebrowse-switch-member-buffer-to-derived-class):
8517 * play/5x5.el (5x5-solver): Use cl-flet.
8518
8519 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8520 (cl--symbol-function): New macro.
8521 (cl--letf, cl--letf*): Use it.
8522
8523 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8524 Strip "toggle-" if any.
8525
8526 2012-06-27 Glenn Morris <rgm@gnu.org>
8527
8528 * info.el (Info-default-directory-list): Move here from paths.el.
8529 * paths.el: Remove file, which is now empty.
8530 * loadup.el: No longer load "paths".
8531
8532 * custom.el (custom-initialize-delay): Doc fix.
8533
8534 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8535 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8536 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8537 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8538 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8539 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8540 * eshell/eshell.el (eshell-defgroup): Remove alias.
8541
8542 2012-06-27 Chong Yidong <cyd@gnu.org>
8543
8544 * help.el (help-enable-auto-load): New variable.
8545
8546 * help-fns.el (help-fns--autoloaded-p): New function.
8547 (describe-function-1): Refer to a function as "autoloaded" if it
8548 was autoloaded at any time in the past. Perform autoloading if
8549 help-enable-auto-load is non-nil.
8550
8551 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8552
8553 * makefile.w32-in (compile, compile-always): Depend on
8554 update-subdirs, not on subdirs.el. Otherwise, several different
8555 sub-targets of 'bootstrap' running in parallel could
8556 simultaneously write to subdirs.el, producing a garbled file.
8557
8558 2012-06-26 Sam Steingold <sds@gnu.org>
8559
8560 * files.el (file-name-base): New convenience function.
8561 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8562 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8563 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8564 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8565 * textmodes/ispell.el, textmodes/reftex-ref.el:
8566 * textmodes/tex-mode.el: Use it.
8567 Did not touch cedet and org because they are maintained elsewhere.
8568
8569 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8570
8571 * calendar/calendar.el (calendar-exit): Don't try to delete or
8572 iconify last frame. See:
8573 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8574
8575 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8576
8577 * server.el (server-process-filter): Remember dir in the
8578 process's `server-client-directory' properties.
8579
8580 2012-06-24 Chong Yidong <cyd@gnu.org>
8581
8582 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8583 non-tag text.
8584
8585 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8586
8587 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8588
8589 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * help-fns.el (describe-variable): Don't croak when doc is not found.
8592 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8593 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8594 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8595 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8596 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8597 ((lambda ..) ..).
8598 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8599
8600 2012-06-23 Chong Yidong <cyd@gnu.org>
8601
8602 * info.el (Info-mouse-follow-link): Accept symbol values of
8603 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8604 (Info-fontify-node): Use Info-link-keymap for all navigation
8605 buttons, with link-args property to perform the desired action.
8606 (Info-link-keymap): Doc fix.
8607 (Info-next-link-keymap, Info-prev-link-keymap)
8608 (Info-up-link-keymap): Delete now-unused keymaps.
8609
8610 2012-06-23 Chong Yidong <cyd@gnu.org>
8611
8612 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8613
8614 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8615 system abbrevs.
8616
8617 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8618
8619 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8622 (bug#11719).
8623
8624 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8625 the requote function doesn't work properly (bug#11714).
8626
8627 2012-06-23 Glenn Morris <rgm@gnu.org>
8628
8629 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8630
8631 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 Further GV/CL cleanups.
8634 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8635 gv-expander.
8636 (gv--defun-declaration): New function.
8637 (defun-declarations-alist): Use it.
8638 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8639 (gv-place): Autoload.
8640 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8641 original definition of dotimes and dolist.
8642 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8643 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8644 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8645 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8646 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8647 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8648 to the function's definition.
8649 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8650 * window.el:
8651 * files.el:
8652 * faces.el:
8653 * env.el: Don't use CL.
8654
8655 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8656
8657 Support higher-resolution time stamps (Bug#9000).
8658
8659 * calendar/time-date.el (with-decoded-time-value): New arg
8660 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8661 (encode-time-value): New optional arg PICO. New type 3.
8662 (time-to-seconds) [!float-time]: Support the new picoseconds
8663 component if it's used.
8664 (seconds-to-time, time-subtract, time-add):
8665 Support ps-resolution time stamps as well.
8666
8667 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8668 (timerp): Timer vectors now have length 9, not 8.
8669 (timer--time): Support new-style (4-part) time stamps.
8670 (timer-next-integral-multiple-of-time): Time stamps now have
8671 picosecond resolution, so take a bit more care about rounding.
8672 (timer-relative-time, timer-inc-time): New optional arg psecs.
8673 (timer-set-time-with-usecs): Set psecs to 0.
8674 (timer--activate): Check psecs component, too.
8675
8676 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8677
8678 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8681 Move the non-essential binding to the post/pre-command-hook where it is
8682 more obviously correct.
8683
8684 * subr.el (read-passwd): Don't use a history at all.
8685 * savehist.el (savehist-save): Remove password saved accidentally
8686 because of the above bug.
8687
8688 2012-06-22 Bastien Guerry <bzg@gnu.org>
8689
8690 * files.el (toggle-read-only): Display a message telling whether
8691 the buffer is read-only or not (bug#11726).
8692
8693 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * emacs-lisp/gv.el: New file.
8696 * subr.el (push, pop): Extend to generalized variables.
8697 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8698 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8699 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8700 gv-define-simple-setter, and gv-define-expander.
8701 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8702 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8703 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8704 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8705 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8706 gv-letplace.
8707 (cl-defstruct): Don't define setf-method any more.
8708 * emacs-lisp/cl.el (flet): Don't autoload.
8709 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8710 (define-setf-expander, defsetf, define-modify-macro)
8711 (cl-struct-setf-expander): Move from cl-lib.el.
8712 * emacs-lisp/syntax.el:
8713 * emacs-lisp/ewoc.el:
8714 * emacs-lisp/smie.el:
8715 * emacs-lisp/cconv.el:
8716 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8717 (timer--time): Use gv-define-simple-setter.
8718 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8719 to avoid coding-system problems in subr.el. Adjust all users.
8720 (macroexp--maxsize, macroexp-small-p): New functions.
8721 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8722 * scroll-bar.el (scroll-bar-mode):
8723 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8724 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8725 * winner.el (winner-configuration, winner-make-point-alist)
8726 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8727 * files.el (locate-file-completion-table): Avoid list*.
8728
8729 2012-06-22 Chong Yidong <cyd@gnu.org>
8730
8731 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8732 (dired-create-files): Doc fix (Bug#11329).
8733 (dired-do-copy): Doc fix (Bug#11334).
8734 (dired-mark-read-string): Doc fix (Bug#11553).
8735
8736 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8737 Doc fix (Bug#11326).
8738 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8739 (dired-dwim-target): Doc fix.
8740
8741 * wdired.el (wdired-mode): Doc fix.
8742
8743 2012-06-22 Glenn Morris <rgm@gnu.org>
8744
8745 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8746 (pcmpl-rpm-cache-stamp-file): New constant.
8747 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8748 (pcmpl-rpm-packages): Optionally cache list of packages.
8749
8750 * pcmpl-rpm.el (pcmpl-rpm): New group.
8751 (pcmpl-rpm-query-options): New option.
8752 (pcmpl-rpm-packages): No need to inline it.
8753 Use pcmpl-rpm-query-options.
8754
8755 * calendar/calendar.el (calendar-in-read-only-buffer):
8756 Avoid some needless mode changes.
8757
8758 2012-06-21 Chong Yidong <cyd@gnu.org>
8759
8760 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8761 (desktop-path): Remove . from the default value (Bug#10977).
8762 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8763
8764 2012-06-20 Chong Yidong <cyd@gnu.org>
8765
8766 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8767
8768 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8769
8770 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8771 (bug#11201).
8772
8773 2012-06-20 Chong Yidong <cyd@gnu.org>
8774
8775 * term.el (term-window-width): Handle the case of a missing right
8776 fringe (Bug#8837).
8777 (term-check-size): Use window-text-height (Bug#5445).
8778 (term-mode): Use define-derived-mode. Minor cleanups.
8779 Set font-lock-defaults (Bug#7692).
8780 (term-move-columns, term-insert-char, term-emulate-terminal)
8781 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8782
8783 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8784
8785 * net/ange-ftp.el (ange-ftp-get-passwd):
8786 Bind `enable-recursive-minibuffers'.
8787 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8788
8789 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8790
8791 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8792
8793 2012-06-19 Glenn Morris <rgm@gnu.org>
8794
8795 * progmodes/python.el (python-mode): Derive from prog-mode.
8796
8797 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8798
8799 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8800 (edt-user-menu-bar-update-buffers): New functions.
8801 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8802
8803 2012-06-19 Chong Yidong <cyd@gnu.org>
8804
8805 * subr.el (with-selected-window): Preserve the selected window's
8806 terminal's top-frame (Bug#4702).
8807
8808 * window.el (save-selected-window): Likewise.
8809
8810 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * progmodes/python.el (python-rx-constituents): Move backquote.
8813 (python-skeleton-define, python-define-auxiliary-skeleton):
8814 Use `declare'.
8815
8816 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8817
8818 * minibuffer.el (read-file-name-default): Revert the patch from
8819 2012-06-17.
8820
8821 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8824 (pcase--u1, pcase--q1): Don't use apply-partially.
8825
8826 2012-06-18 Glenn Morris <rgm@gnu.org>
8827
8828 * progmodes/python.el (python-proc, python-buffer)
8829 (python-send-receive, python-send-string): Fix obsolete versions.
8830
8831 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8832
8833 * window.el (special-display-p): Completely remove stringp
8834 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8835
8836 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8837
8838 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8839
8840 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8841
8842 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8843 * net/tramp-sh.el (tramp-maybe-open-connection):
8844 Throw if `non-essential' is non-nil.
8845
8846 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8847
8848 * window.el (special-display-p): Signal an error if BUFFER-NAME
8849 is not a string (Bug#11713).
8850
8851 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8852
8853 * progmodes/python.el (python-info-beginning-of-backslash):
8854 Rename from python-info-beginning-of-backlash, as a spelling fix.
8855
8856 2012-06-17 Chong Yidong <cyd@gnu.org>
8857
8858 * term.el (term-emulate-terminal): If term-check-size is called,
8859 move point to the process mark without resetting point (Bug#4635).
8860
8861 2012-06-17 Glenn Morris <rgm@gnu.org>
8862
8863 * international/mule-cmds.el (mule-menu-keymap)
8864 (set-language-environment, set-locale-environment): Doc tweaks.
8865
8866 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8867
8868 * cus-face.el (custom-face-attributes): Add wave-style underline
8869 attribute.
8870 * faces.el (set-face-attribute): Update docstring to describe
8871 wave-style underline attribute.
8872
8873 2012-06-16 Chong Yidong <cyd@gnu.org>
8874
8875 * term/xterm.el (terminal-init-xterm): Discard input before
8876 querying background mode (Bug#10959).
8877
8878 2012-06-16 Stefan Merten <smerten@oekonux.de>
8879
8880 * textmodes/rst.el: Added and corrected some comments.
8881 (rst-re-alist-def): Improve symbol syntax.
8882 (rst-mode-syntax-table): Correct syntax entries.
8883 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8884 (rst-official-version, rst-official-cvs-rev): Update version
8885 information.
8886
8887 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8888
8889 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8890 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8891
8892 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8893
8894 * progmodes/python.el: New python.el merge.
8895 (python-guess-indent): Obsolete var.
8896 (python-indent-guess-indent-offset): New defcustom.
8897 (python-indent): Obsolete var.
8898 (python-indent-offset): New defcustom.
8899 (python-python-command, python-jython-command): Delete var.
8900 (python-shell-interpreter): New defcustom.
8901 (python-pdbtrack-do-tracking-p): Delete var.
8902 (python-pdbtrack-activate): New defcustom.
8903 (python-use-skeletons): Obsolete var.
8904 (python-skeleton-autoinsert): New defcustom.
8905 (inferior-python-filter-regexp, python-continuation-offset)
8906 (python-honour-comment-indentation, python-indent-string-contents)
8907 (python-jython-packages, python-mode-hook)
8908 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8909 (python-shell-prompt-alist)
8910 (python-source-modes): Delete defcustoms.
8911 (python-check-buffer-name, python-eldoc-setup-code)
8912 (python-eldoc-string-code, python-ffap-setup-code)
8913 (python-ffap-string-code, python-fill-comment-function)
8914 (python-fill-decorator-function, python-fill-paren-function)
8915 (python-fill-string-function, python-imenu-include-defun-type)
8916 (python-imenu-make-tree, python-imenu-subtree-root-label)
8917 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8918 (python-shell-compilation-regexp-alist)
8919 (python-shell-completion-module-string-code)
8920 (python-shell-completion-pdb-string-code)
8921 (python-shell-completion-setup-code)
8922 (python-shell-completion-string-code)
8923 (python-shell-enable-font-lock, python-shell-exec-path)
8924 (python-shell-extra-pythonpaths)
8925 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8926 (python-shell-process-environment)
8927 (python-shell-prompt-block-regexp)
8928 (python-shell-prompt-output-regexp)
8929 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8930 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8931 (python-shell-virtualenv-path): New defcustoms.
8932 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8933 (inferior-python-mode-syntax-table, python--prompt-regexp)
8934 (python-buffer, python-command python-python-command)
8935 (python-default-template, python-imports, python-indent-index)
8936 (python-indent-list, python-indent-list-length)
8937 (python-mode-running, python-pdbtrack-is-tracking-p)
8938 (python-preoutput-continuation, python-preoutput-leftover)
8939 (python-preoutput-result, python-preoutput-skip-next-prompt)
8940 (python-prev-dir/file, python-recursing)
8941 (python-saved-check-command, python-version-checked)
8942 (python-which-func-length-limit)
8943 (view-return-to-alist): Delete vars.
8944 (python-check-custom-command, python-dotty-syntax-table)
8945 (python-imenu-index-alist, python-indent-current-level)
8946 (python-indent-dedenters, python-indent-levels)
8947 (python-nav-beginning-of-defun-regexp)
8948 (python-nav-list-defun-positions-cache)
8949 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8950 (python-shell-internal-buffer)
8951 (python-skeleton-available): New vars.
8952 (def-python-skeleton): Delete macro.
8953 (python-skeleton-define): New macro.
8954 (python-define-auxiliary-skeleton, python-rx): New macros.
8955 (python-insert-class): Delete command.
8956 (python-skeleton-class): New command.
8957 (python-insert-def): Delete command.
8958 (python-skeleton-def): New command.
8959 (python-insert-for): Delete command.
8960 (python-skeleton-for): New command.
8961 (python-insert-if): Delete command.
8962 (python-skeleton-if): New command.
8963 (python-insert-try/except, python-insert-try/finally): Delete commands.
8964 (python-skeleton-try): New command.
8965 (python-insert-while): Delete command.
8966 (python-skeleton-while): New command.
8967 (python-backspace): Delete command.
8968 (python-indent-dedent-line-backspace): New command.
8969 (python-electric-colon): Delete command.
8970 (python-indent-electric-colon): New command.
8971 (python-guess-indent): Delete command.
8972 (python-indent-guess-indent-offset): New command.
8973 (python-shift-left): Delete command.
8974 (python-indent-shift-left): New command.
8975 (python-shift-right): Delete command.
8976 (python-indent-shift-right): New command.
8977 (python-find-function): Delete command.
8978 (python-nav-jump-to-defun): New command.
8979 (python-next-statement): Delete command.
8980 (python-nav-forward-sentence): New command.
8981 (python-previous-statement): Delete command.
8982 (python-nav-backward-sentence): New command.
8983 (python-fill-paragraph): Delete command.
8984 (python-fill-paragraph-function): New command.
8985 (python-send-buffer): Delete command.
8986 (python-shell-send-buffer): New command.
8987 (python-send-defun): Delete command.
8988 (python-shell-send-defun): New command.
8989 (python-send-region, python-send-region-and-go): Delete commands.
8990 (python-shell-send-region)
8991 (python-shell-switch-to-shell): New commands.
8992 (python-send-string): Delete command.
8993 (python-shell-send-string): New command.
8994 (python-switch-to-python): Delete command.
8995 (python-shell-switch-to-shell): New command.
8996 (python-describe-symbol): Delete command.
8997 (python-eldoc-at-point): New command.
8998 (python--set-prompt-regexp, python-args-to-list)
8999 (python-after-info-look, python-check-version)
9000 (python-check-comint-prompt, python-find-imports)
9001 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9002 (python-unload-function, python-expand-template)
9003 (python-maybe-jython, python-preoutput-filter)
9004 (python-pdbtrack-get-source-buffer)
9005 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9006 (python-pdbtrack-toggle-stack-tracking)
9007 (python-pdbtrack-track-stack-file, python-initial-text)
9008 (python-first-word, python-comment-line-p, python-send-command)
9009 (python-setup-brm, python-sentinel, python-set-proc)
9010 (python-skip-out, python-input-filter, python-outdent-p)
9011 (python-outline-level, python-backslash-continuation-line-p)
9012 (python-end-of-block, python-end-of-statement, python-mark-block)
9013 (python-beginning-of-block, python-beginning-of-statement)
9014 (python-blank-line-p, python-beginning-of-string)
9015 (python-open-block-statement-p): Delete functions.
9016 (python-indent-line, python-indent-line-1): Delete functions.
9017 (python-indent-line): New function.
9018 (python-indentation-levels): Delete function.
9019 (python-indent-calculate-levels): New function.
9020 (python-proc): Delete function.
9021 (python-shell-get-process): New function.
9022 (python-send-receive): Delete function.
9023 (python-shell-send-string-no-output): New function.
9024 (python-module-path): Delete function.
9025 (python-ffap-module-path): New function.
9026 (python-completion-at-point)
9027 (python-symbol-completions): Delete functions.
9028 (python-completion-complete-at-point): New function.
9029 (python-load-file): Delete function.
9030 (python-shell-send-file): New function.
9031 (python-calculate-indentation): Delete function.
9032 (python-indent-calculate-indentation): New function.
9033 (python-skip-comments/blanks): Delete function.
9034 (python-util-forward-comment): New function.
9035 (python-continuation-line-p): Delete function.
9036 (python-info-continuation-line-p): New function.
9037 (python-which-func, python-current-defun): Delete function.
9038 (python-info-current-defun): New function.
9039 (python-beginning-of-defun): Delete function.
9040 (python-nav-beginning-of-defun): New function.
9041 (python-close-block-statement-p)
9042 (python-block-end-p): Delete function.
9043 (python-info-closing-block): New function.
9044 (python-comint-output-filter-function)
9045 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9046 (python-fill-comment, python-fill-decorator, python-fill-paren)
9047 (python-fill-string, python-imenu-make-element-tree)
9048 (python-imenu-make-tree, python-imenu-tree-assoc)
9049 (python-indent-context, python-indent-dedent-line)
9050 (python-indent-line-function)
9051 (python-indent-post-self-insert-function)
9052 (python-indent-toggle-levels)
9053 (python-info-assignment-continuation-line-p)
9054 (python-info-beginning-of-backlash)
9055 (python-info-block-continuation-line-p)
9056 (python-info-closing-block-message)
9057 (python-info-line-ends-backslash-p)
9058 (python-info-looking-at-beginning-of-defun)
9059 (python-info-ppss-context, python-info-ppss-context-type)
9060 (python-nav-list-defun-positions, python-nav-read-defun)
9061 (python-nav-sentence-end, python-nav-sentence-start)
9062 (python-pdbtrack-comint-output-filter-function)
9063 (python-pdbtrack-set-tracked-buffer)
9064 (python-shell-calculate-exec-path)
9065 (python-shell-calculate-process-environment)
9066 (python-shell-completion--do-completion-at-point)
9067 (python-shell-completion--get-completions)
9068 (python-shell-completion-complete-at-point)
9069 (python-shell-completion-complete-or-indent)
9070 (python-shell-get-or-create-process)
9071 (python-shell-get-process-name)
9072 (python-shell-internal-get-or-create-process)
9073 (python-shell-internal-get-process-name)
9074 (python-shell-internal-send-string, python-shell-make-comint)
9075 (python-shell-parse-command, python-shell-send-setup-code)
9076 (python-skeleton-add-menu-items)
9077 (python-util-clone-local-variables, python-util-position)
9078 (run-python-internal, python-indentation-levels)
9079 (python-nav-beginning-of-defun)
9080 (python-completion-complete-at-point): New functions.
9081 (run-python): Change arguments. New API requirements.
9082
9083 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9086 (bug#11649).
9087
9088 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9089 (macroexp--expand-all): Use it.
9090
9091 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9092 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9093 Use `cl-function' instead.
9094
9095 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9096
9097 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9098 Suggested by Stefan Monnier while discussing bug#11657.
9099
9100 2012-06-14 Sam Steingold <sds@gnu.org>
9101
9102 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9103
9104 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9105
9106 * play/doctor.el (doctor-doc): Remove parameter and use
9107 doctor-sent instead of sent.
9108 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9109
9110 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * files.el: Require cl-lib.
9113 (file-name-non-special): Replace case -> cl-case.
9114
9115 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9116
9117 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9118 mapping from #' to function*.
9119
9120 2012-06-13 Chong Yidong <cyd@gnu.org>
9121
9122 * mouse.el (mouse-drag-track): Do not set the mark if the user
9123 releases the mouse without selecting anything (Bug#11588).
9124
9125 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9128 as well (bug#11646).
9129
9130 * loadup.el: Count byte-code functions as well.
9131
9132 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9133 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9134
9135 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9136 (bug#11649). Add cl-defun and cl-defmacro.
9137
9138 2012-06-13 Drew Adams <drew.adams@oracle.com>
9139
9140 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9141 Fix last change.
9142
9143 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9144
9145 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9146 Otherwise, it blocks in batch mode.
9147
9148 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9149
9150 * help-mode.el (bookmark-make-record-default): Declare.
9151
9152 2012-06-13 Chong Yidong <cyd@gnu.org>
9153
9154 * emacs-lisp/package.el (list-packages): Compute a list of
9155 packages that are newly-available since the last list-packages
9156 invocation.
9157 (package-menu--new-package-list): New var.
9158 (package-menu--generate, package-menu--print-info)
9159 (package-menu--status-predicate, package-menu-mark-install):
9160 Handle new status label "new".
9161
9162 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9165 conversion to backquotes.
9166
9167 2012-06-12 Chong Yidong <cyd@gnu.org>
9168
9169 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9170 Rename from gud-inhibit-global-bindings.
9171
9172 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9173
9174 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9175 hook from nxml-glyph-set-hook.
9176
9177 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9178 declaration.
9179
9180 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9181
9182 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9183 Convert to defcustom.
9184
9185 2012-06-12 Drew Adams <drew.adams@oracle.com>
9186
9187 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9188 New functions.
9189 (help-mode): Use them.
9190
9191 2012-06-11 Glenn Morris <rgm@gnu.org>
9192
9193 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9194 Use preprocessor face for directives.
9195 (fortran-directive-re): Doc fix.
9196
9197 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9200 conversion to backquotes (bug#11652).
9201
9202 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9203 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9204 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9205 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9206 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9207 (cl-ninth, cl-tenth): Mark them as inlinable.
9208 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9209 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9210 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9211 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9212 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9213 (cl-list*, cl-adjoin): Don't put an autoload manually.
9214 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9215 (cl--compiler-macro-list*): Add autoload cookie.
9216 (cl--compiler-macro-cXXr): New function.
9217
9218 * help-fns.el (help-fns--compiler-macro): New function extracted from
9219 describe-function-1; follow aliases and use `compiler-macro' property.
9220 (describe-function-1): Use it.
9221
9222 2012-06-11 Chong Yidong <cyd@gnu.org>
9223
9224 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9225 is uninstalled, if imagemagick is installed.
9226
9227 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * emacs-lisp/cl-lib.el: Use lexical-binding.
9230 (cl-map-extents, cl-maclisp-member): Remove.
9231 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9232 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9233 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9234 * emacs-lisp/cl-extra.el: Use lexical-binding.
9235 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9236 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9237 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9238 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9239 * emacs-lisp/cl-seq.el: Use lexical-binding.
9240 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9241 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9242 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9243 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9244 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9245 CL's internals.
9246
9247 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9248
9249 Sync with Tramp 2.2.6-pre.
9250
9251 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9252 `print-length' and `print-level' to nil, in order to avoid
9253 truncation. Reported by Christopher Schmidt
9254 <christopher@ristopher.com>.
9255
9256 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9257
9258 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9259 New defmacro.
9260 (tramp-compat-copy-directory): Add optional argument
9261 COPY-CONTENTS. It is not handled yet.
9262
9263 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9264 (tramp-ftp-file-name-p): Simplify.
9265
9266 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9267 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9268 connection vector.
9269
9270 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9271 (tramp-methods): Do not use `tramp-password-end-of-line'.
9272 (tramp-completion-function-alist-putty): Handle UNIX case.
9273 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9274 (tramp-do-file-attributes-with-stat)
9275 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9276 gid as real numbers. They could run out of integer range on cygwin.
9277 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9278 (tramp-sh-handle-expand-file-name): Handle hops.
9279 (tramp-open-connection-setup-interactive-shell):
9280 Use `tramp-cleanup'. Move check for busyboxes ...
9281 (tramp-find-shell): ... here. Simplify implementation.
9282 Set "remote-shell" property also for alternative shells.
9283 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9284 If failing, a regular file would be written otherwise.
9285 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9286 (tramp-find-inline-encoding): Cache the coding commands in the
9287 process cache. Apply test command on the remote side, if defined.
9288 (tramp-find-inline-compress): Cache the compress commands in the
9289 process cache.
9290 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9291 when requested. Handle hops.
9292 (tramp-current-connection): New defvar.
9293 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9294 Throw `suppress', if there was a failed connection shortly before.
9295 Handle user interrupt. (Bug#10187)
9296 (tramp-get-inline-compress, tramp-get-inline-coding):
9297 Read connection properties from the process cache.
9298
9299 * net/tramp-smb.el (tramp-smb-server-version)
9300 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9301 New defconsts.
9302 (tramp-smb-prompt): Extend for powershell prompt.
9303 (tramp-smb-file-name-handler-alist): Add handlers for
9304 `process-file', `shell-command' and `start-file-process'.
9305 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9306 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9307 (tramp-smb-file-name-p): Simplify.
9308 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9309 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9310 (tramp-smb-shell-quote-argument): New defuns.
9311 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9312 Implement using "tar". By this, time-stamps are preserved.
9313 (tramp-smb-handle-copy-file): Handle also the case of directories.
9314 (tramp-smb-do-file-attributes-with-stat)
9315 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9316 Use `tramp-get-connection-buffer').
9317 (tramp-smb-handle-rename-file): Use "rename", when source and
9318 target are on the same share.
9319 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9320 Use `tramp-smb-server-version'.
9321 (tramp-smb-wait-for-output): Remove prompt.
9322
9323 * net/tramp.el (top): Require 'cl.
9324 (tramp-methods, tramp-rsh-end-of-line):
9325 Remove `tramp-password-end-of-line' from docstring.
9326 (tramp-save-ad-hoc-proxies): New defcustom.
9327 (tramp-completion-function-alist): Adapt docstring.
9328 (tramp-default-password-end-of-line): Remove defcustom.
9329 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9330 (tramp-user-regexp, tramp-file-name-regexp-unified)
9331 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9332 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9333 (tramp-remote-file-name-spec-regexp): New defconst.
9334 (tramp-file-name-structure): Extend structure for hops.
9335 (tramp-get-method-parameter): Move up.
9336 (tramp-file-name-p, tramp-dissect-file-name)
9337 (with-parsed-tramp-file-name): Handle hops.
9338 (tramp-file-name-hop): New defun.
9339 (tramp-make-tramp-file-name): New optional arg HOP.
9340 (tramp-message-show-progress-reporter-message): New defvar.
9341 (tramp-with-progress-reporter): Use it. We cannot use
9342 `tramp-message-show-message' here, because this suppresses also
9343 error buffers.
9344 (tramp-error-with-buffer): Suppress buffer view, if
9345 `tramp-message-show-message' is nil.
9346 Use `tramp-get-connection-buffer'.
9347 (tramp-cleanup): New defun.
9348 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9349 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9350 an error unchanged.
9351 (tramp-completion-handle-file-name-all-completions): Handle hops.
9352 Fix an error when called from ido.
9353 (tramp-completion-dissect-file-name): Use better local variable
9354 name. Add hop to the vector.
9355 (tramp-handle-insert-file-contents): Use progress-reporter for the
9356 whole scenario.
9357 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9358 to `t'.
9359 (tramp-check-for-regexp): Simplify search.
9360 (tramp-enter-password): Remove it. Move implementation ...
9361 (tramp-action-password): ... here.
9362 (tramp-mode-string-to-int, tramp-local-host-p)
9363 (tramp-make-tramp-temp-file, tramp-read-passwd)
9364 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9365 Set tramp-autoload cookie.
9366
9367 * net/trampver.el: Update release number.
9368
9369 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9370 Michael Albinus <michael.albinus@gmx.de>
9371
9372 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9373 (tramp-parse-group, tramp-parse-file)
9374 (tramp-parse-shostkeys-sknownhosts): New defuns.
9375 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9376 (tramp-parse-shosts-group, tramp-parse-sconfig)
9377 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9378 (tramp-parse-sknownhosts, tramp-parse-hosts)
9379 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9380 Use them.
9381 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9382 (tramp-parse-putty-group): Don't narrow.
9383 (tramp-parse-putty): Make a loop.
9384 (tramp-file-name-handler): Catch the `suppress' signal.
9385
9386 2012-06-11 Chong Yidong <cyd@gnu.org>
9387
9388 * image.el (imagemagick-register-types): Put the ImageMagick entry
9389 at the end of image-type-file-name-regexps.
9390
9391 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9392
9393 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9394 (pcase, pcase-let*, pcase-dolist): Use them.
9395
9396 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * emacs-lisp/pcase.el (pcase--let*): New function.
9399 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9400 (pcase--expand): Use macroexp-let².
9401
9402 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9405 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9406 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9407 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9408 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9409 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9410
9411 2012-06-10 Glenn Morris <rgm@gnu.org>
9412
9413 * mail/rmail.el (rmail-yank-current-message): Leave point at
9414 correct position. (Bug#11660)
9415
9416 2012-06-10 Chong Yidong <cyd@gnu.org>
9417
9418 * allout-widgets.el: Fix code header.
9419
9420 2012-06-10 Chong Yidong <cyd@gnu.org>
9421
9422 * cus-edit.el (customize-changed-options-previous-release):
9423 Bump to 24.1.
9424
9425 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9426
9427 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9428
9429 2012-06-09 Chong Yidong <cyd@gnu.org>
9430
9431 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9432
9433 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9434
9435 * window.el (special-display-popup-frame): Don't use
9436 window--display-buffer (Bug#11651).
9437
9438 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9439
9440 Fix parallel builds: make sure loaddefs.el is not being written
9441 while Lisp files are compiled.
9442 (compile): Don't depend on 'mh-autoloads'.
9443 (compile-CMD, compile-SH): Depend on 'autoloads'.
9444 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9445
9446 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9447
9448 2012-06-09 Chong Yidong <cyd@gnu.org>
9449
9450 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9451 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9452 Doc fixes (Bug#11225).
9453
9454 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9457 a function if there's a clear indication that it has a compiler-macro.
9458 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9459 (macro-declarations-alist): Add arglist to declaration functions.
9460 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9461 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9462 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9463 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9464 Also add autoload to find the compiler macro.
9465 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9466 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9467 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9468 (cl--compiler-macro-get): New functions, replacing calls to
9469 cl-define-compiler-macro.
9470 (cl-typep) [compiler-macro]: Use macroexp-let².
9471
9472 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9473
9474 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9475 string properly, fixes Bug#11473.
9476
9477 2012-06-08 Chong Yidong <cyd@gnu.org>
9478
9479 * faces.el (set-face-attribute): Doc fix.
9480 (modify-face): Don't use :bold and :italic.
9481 (error, warning, success): Tweak definitions.
9482
9483 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9484 (custom-modified, custom-set, custom-changed, custom-themed)
9485 (custom-saved, custom-button, custom-button-mouse)
9486 (custom-button-pressed, custom-state, custom-comment-tag)
9487 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9488 (custom-group-subtitle): Use new-style face specs.
9489 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9490 (custom-set-face, custom-changed-face, custom-saved-face)
9491 (custom-button-face, custom-button-pressed-face)
9492 (custom-documentation-face, custom-state-face)
9493 (custom-comment-face, custom-comment-tag-face)
9494 (custom-variable-tag-face, custom-variable-button-face)
9495 (custom-face-tag-face, custom-group-tag-face-1)
9496 (custom-group-tag-face): Remove obsolete face alias.
9497
9498 * epa.el (epa-validity-high, epa-validity-medium)
9499 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9500 (epa-field-name, epa-field-body):
9501 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9502 (font-lock-keyword-face, font-lock-builtin-face)
9503 (font-lock-function-name-face, font-lock-variable-name-face)
9504 (font-lock-type-face, font-lock-constant-face):
9505 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9506 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9507 * speedbar.el (speedbar-button-face, speedbar-file-face)
9508 (speedbar-directory-face, speedbar-tag-face)
9509 (speedbar-selected-face, speedbar-highlight-face)
9510 (speedbar-separator-face):
9511 * whitespace.el (whitespace-newline, whitespace-space)
9512 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9513 (whitespace-line, whitespace-space-before-tab)
9514 (whitespace-space-after-tab, whitespace-indentation)
9515 (whitespace-empty):
9516 * emulation/cua-base.el (cua-global-mark):
9517 * eshell/em-prompt.el (eshell-prompt):
9518 * net/newst-plainview.el (newsticker-new-item-face)
9519 (newsticker-old-item-face, newsticker-immortal-item-face)
9520 (newsticker-obsolete-item-face, newsticker-date-face)
9521 (newsticker-statistics-face, newsticker-default-face):
9522 * net/newst-reader.el (newsticker-feed-face)
9523 (newsticker-extra-face, newsticker-enclosure-face):
9524 * net/newst-treeview.el (newsticker-treeview-face)
9525 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9526 (newsticker-treeview-immortal-face)
9527 (newsticker-treeview-obsolete-face)
9528 (newsticker-treeview-selection-face):
9529 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9530 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9531 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9532 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9533 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9534 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9535 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9536 (mpuz-text):
9537 * progmodes/vera-mode.el (vera-font-lock-number)
9538 (vera-font-lock-function, vera-font-lock-interface):
9539 * textmodes/table.el (table-cell): Use new-style face specs, and
9540 don't use the old :bold and :italic attributes.
9541
9542 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9543 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9544 (ebrowse-member-class, ebrowse-progress): Likewise.
9545 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9546 (ebrowse-file-name-face, ebrowse-default-face)
9547 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9548 (ebrowse-progress-face): Remove obsolete faces.
9549
9550 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9551 Inherit from error and warning faces respectively.
9552
9553 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9554 Likewise.
9555 (flyspell-incorrect-face, flyspell-duplicate-face):
9556 Remove obsolete aliases.
9557
9558 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9559
9560 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9561 Avoid infloop.
9562
9563 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * startup.el (argv, argi): Make lexically scoped.
9566 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9567 * emacs-lisp/cl-macs.el: Use lexical-binding.
9568 Rename cl-bind-* to cl--bind-*.
9569 * files.el: Don't require `cl' since it doesn't use it.
9570 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9571
9572 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9573
9574 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9575 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9576 instead of calling external sort utility.
9577 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9578
9579 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9580
9581 * descr-text.el (describe-char): Mention how to insert the
9582 character, if the current input method doesn't support it.
9583 See the discussion in this thread for the details:
9584 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9585
9586 2012-06-08 Sam Steingold <sds@gnu.org>
9587
9588 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9589 XF86Back to previous-buffer.
9590 (minibuffer-local-map): Bind them to next-history-element and
9591 previous-history-element respectively.
9592 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9593 help-go-back respectively.
9594 * info.el (Info-mode-map): Bind them to Info-history-forward and
9595 Info-history-back respectively.
9596 These are the keys next to Up on the ThinkPad keyboard.
9597
9598 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9599
9600 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9601 * emacs-lisp/cl-macs.el: Provide itself.
9602 (cl--labels-convert-cache): New var.
9603 (cl--labels-convert): New function.
9604 (cl-flet, cl-labels): New implementation with new semantics, relying on
9605 lexical-binding.
9606 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9607 (cl-closure-vars, cl--function-convert-cache)
9608 (cl--function-convert): Move from cl-macs.el.
9609 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9610 rename by removing the "cl-" prefix.
9611 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9612
9613 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9614
9615 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9616 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9617 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9618 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9619 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9620 (cl-hash-table-count): Add old compatibility aliases.
9621
9622 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9623 Use macroexpand-all-environment instead.
9624 (cl--old-macroexpand): New var.
9625 (cl--sm-macroexpand): New function.
9626 (cl-symbol-macrolet): Use it during macro expansion.
9627 (cl--function-convert-cache): New var.
9628 (cl--function-convert): New function, extracted from
9629 cl-macroexpand-all.
9630 (cl-lexical-let): Use it.
9631
9632 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9633 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9634 (cl-member): Remove old alias.
9635
9636 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9637 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9638 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9639 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9640 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9641 (cl-macroexpand-cmacs): Remove var.
9642 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9643 Use macroexpand-all instead.
9644
9645 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9648 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9649 (macroexp-copyable-p): New functions and macros.
9650 * emacs-lisp/edebug.el (edebug-unwrap):
9651 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9652 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9653 (pcase--let*): Remove.
9654 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9655 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9656 macroexp-const-p instead.
9657 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9658
9659 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9660 instead of "cl-" for internal definitions. Use macroexp-const-p.
9661 (cl-old-bc-file-form): Remove var.
9662 (cl-const-exprs-p): Remove fun.
9663 (cl-labels, cl-macrolet): Use backquote.
9664 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9665 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9666 (cl-define-setf-expander): Rename from cl-define-setf-method.
9667 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9668
9669 * international/mule-cmds.el: Don't require CL.
9670 (view-hello-file): Don't use `letf'.
9671
9672 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * tmm.el (tmm-prompt): Use string-prefix-p.
9675 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9676 (tmm-add-prompt): Use minibuffer-completion-help.
9677 (tmm-delete-map): Remove.
9678
9679 * subr.el (kbd): Make it its own function.
9680
9681 2012-06-07 Stefan Merten <smerten@oekonux.de>
9682
9683 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9684 Silence compiler warnings. Fix versions.
9685 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9686 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9687 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9688 (rst-package-emacs-version-alist): Correct Emacs version to
9689 represent major merge with upstream.
9690 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9691
9692 2012-06-06 Glenn Morris <rgm@gnu.org>
9693
9694 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9695 Only print environment variables if set.
9696
9697 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9700 (macroexp--cons): Rename from maybe-cons.
9701 (macroexp--accumulate): Rename from macroexp-accumulate.
9702 (macroexp--all-forms): Rename from macroexpand-all-forms.
9703 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9704 (macroexp--expand-all): Rename from macroexpand-all-1.
9705
9706 2012-06-06 Sam Steingold <sds@gnu.org>
9707
9708 * calendar/calendar.el (calendar-in-read-only-buffer):
9709 Call `special-mode' to enable the standard read-only keybindings.
9710
9711 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9714 with "loading" messages (bug#11635).
9715
9716 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9717
9718 * files.el (enable-remote-dir-locals): New option.
9719 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9720
9721 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9722 Ensure, that the temp directory is local.
9723
9724 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9725 `temporary-file-directory'.
9726
9727 * progmodes/python.el (python-send-region): Ensure, that the
9728 temporary file is created also in the remote case.
9729
9730 2012-06-06 Glenn Morris <rgm@gnu.org>
9731
9732 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9733 (vc-rcs-update-changelog): Use it.
9734
9735 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9736
9737 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9738 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9739 (vc-sccs-diff): Replace use of the external vcdiff script.
9740
9741 2012-06-05 Glenn Morris <rgm@gnu.org>
9742
9743 * ledit.el: Move to obsolete/.
9744
9745 2012-06-05 Sam Steingold <sds@gnu.org>
9746
9747 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9748 patch (Bug#11140).
9749
9750 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * emacs-lisp/cust-print.el: Move to obsolete.
9753
9754 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9755 compiler-macro expansion.
9756
9757 Add native compiler-macro support.
9758 * emacs-lisp/macroexp.el (macroexpand-all-1):
9759 Support compiler-macros directly. Properly follow aliases and apply
9760 the compiler macros more thoroughly.
9761 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9762 macroexpand now properly follows aliases.
9763 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9764 (cl-compiler-macroexpand): Use new prop.
9765 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9766
9767 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9768
9769 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9770
9771 * window.el (get-lru-window, get-mru-window, get-largest-window):
9772 New argument NOT-SELECTED to avoid picking the selected window.
9773 (window--display-buffer-1, window--display-buffer-2): Replace by
9774 new function window--display-buffer
9775 (display-buffer-same-window, display-buffer-reuse-window)
9776 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9777 Use window--display-buffer.
9778 (display-buffer-use-some-window): Remove temporary dedication
9779 hack by calling get-lru-window and get-largest-window with
9780 NOT-SELECTED argument non-nil. Call window--display-buffer.
9781
9782 2012-06-05 Glenn Morris <rgm@gnu.org>
9783
9784 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9785 Replace external vcdiff script.
9786
9787 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9788
9789 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9790
9791 2012-06-04 Chong Yidong <cyd@gnu.org>
9792
9793 * image.el (imagemagick-types-inhibit): Revert last change.
9794 Add INFO and M.
9795 (imagemagick-enabled-types): Remove CIN and EPS*.
9796
9797 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 * emacs-lisp/cl-lib.el: Rename from cl.el.
9800 * emacs-lisp/cl.el: New compatibility file.
9801 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9802 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9803 to obey the "cl-" prefix.
9804 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9805
9806 2012-06-03 Glenn Morris <rgm@gnu.org>
9807
9808 * emacs-lisp/authors.el (authors-aliases): Addition.
9809
9810 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9811 Fix :version.
9812
9813 2012-06-03 Stefan Merten <smerten@oekonux.de>
9814
9815 * textmodes/rst.el: Add comments.
9816 (rst-transition, rst-adornment): New faces.
9817 (rst-adornment-faces-alist): Make default safe to reevaluate.
9818 Fixes
9819 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9820 Improve customization tags.
9821 (rst-define-level-faces): Clarify meaning.
9822
9823 2012-06-03 Chong Yidong <cyd@gnu.org>
9824
9825 * progmodes/compile.el (compilation-mode-line-fail)
9826 (compilation-mode-line-run, compilation-mode-line-exit):
9827 New faces.
9828 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9829
9830 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9831
9832 * progmodes/which-func.el (which-func-update-ediff-windows):
9833 New function. Use it in ediff-select-hook (Bug#11478).
9834
9835 2012-06-03 Chong Yidong <cyd@gnu.org>
9836
9837 * bindings.el: Remove explicit help text from format-mode-line.
9838 It is now supplied by mode-line-default-help-echo.
9839 (mode-line-front-space, mode-line-end-spaces)
9840 (mode-line-misc-info): New variables.
9841 (mode-line-modes, mode-line-position): Move the default value to
9842 the variable definition.
9843 (mode-line-default-help-echo): New defcustom.
9844 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9845 (mode-line-modified-help-echo): New functions.
9846 (mode-line-mule-info, mode-line-modified): Use them.
9847 (mode-line-eol-desc, propertized-buffer-identification):
9848 Consistency fixes for help text.
9849 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9850 set-buffer-file-coding-system (Bug#289).
9851 (mode-line-mule-info-help-echo): Update help text.
9852
9853 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9854
9855 * simple.el (execute-extended-command): Set real-this-command
9856 (bug#11506).
9857
9858 2012-06-02 Chong Yidong <cyd@gnu.org>
9859
9860 Remove incorrect uses of "modeline" in comments, docstrings, and
9861 function/variable names (Bug#10329).
9862
9863 * cus-edit.el (mode-line):
9864 * dframe.el (dframe-mouse-hscroll):
9865 * emacs-lisp/re-builder.el:
9866 * emacs-lisp/easy-mmode.el (define-minor-mode):
9867 * frame.el (set-frame-name):
9868 * help.el (lookup-minor-mode-from-indicator):
9869 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9870 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9871 (c-toggle-hungry-state):
9872 * progmodes/antlr-mode.el (antlr-language-alist):
9873 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9874 * progmodes/vhdl-mode.el (vhdl-mode):
9875 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9876 * term/ns-win.el (ns-face-at-pos):
9877 * term/sup-mouse.el (sup-mouse-report):
9878 * textmodes/flyspell.el (flyspell-mode-line-string):
9879 * textmodes/ispell.el (ispell-highlight-face):
9880 * textmodes/reftex-global.el:
9881 * vc/vc-arch.el (vc-arch-mode-line-string):
9882 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9883 * vc/vc-git.el (vc-git-mode-line-string):
9884 * vc/vc-hooks.el (vc-display-status)
9885 (vc-default-mode-line-string):
9886 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9887
9888 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9889
9890 * dired.el (dired-sort-set-mode-line): Rename from
9891 dired-sort-set-modeline. All callers changed.
9892
9893 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9894 eshell-status-in-modeline.
9895
9896 * foldout.el (foldout-mode-line-string): Rename from
9897 foldout-modeline-string. All callers changed.
9898 (foldout-update-mode-line): Rename from foldout-update-modeline.
9899
9900 * subr.el (redraw-modeline): Make into obsolete alias.
9901
9902 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9903 timeclock-modeline-display. Make old name an alias.
9904 (timeclock-update-mode-line): Likewise. All callers changed.
9905 (timeclock-mode-line-display): No need to check before using
9906 add-hook.
9907 (timeclock-relative, timeclock-day-over-hook)
9908 (timeclock-use-elapsed, timeclock-mode-string)
9909 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9910
9911 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9912 crisp-mode-modeline-string.
9913
9914 * play/solitaire.el (solitaire-build-mode-line): Rename from
9915 solitaire-build-modeline. All callers changed.
9916
9917 * play/zone.el (zone-hiding-mode-line): Rename from
9918 zone-hiding-modeline. All callers changed.
9919 (zone): Remove unusued `modeline-hidden-level' property.
9920
9921 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9922 xscheme-modeline-initialize. All callers changed.
9923
9924 * strokes.el (strokes-lighter): Rename from
9925 strokes-modeline-string.
9926
9927 * textmodes/sgml-mode.el (html-face-tag-alist)
9928 (html-tag-face-alist): Use mode-line face instead of obsolete
9929 alias modeline.
9930
9931 2012-06-02 Stefan Merten <smerten@oekonux.de>
9932
9933 * textmodes/rst.el: Always require `cl'.
9934 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9935
9936 2012-06-02 Chong Yidong <cyd@gnu.org>
9937
9938 * image.el (imagemagick-enabled-types): Rename from
9939 imagemagick-types-enable. Add many more types.
9940 (imagemagick-types-inhibit): Change default to nil.
9941 (imagemagick-filter-types): Caller changed.
9942
9943 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * emacs-lisp/cl-macs.el: Use backquotes.
9946 (cl-transform-function-property): Use eval-and-compile rather than
9947 abusing `require'.
9948 (defstruct): Use declare-function instead of with-no-warnings.
9949
9950 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9951 (byte-compile-output-docform): Re-add the print-circle bindings.
9952 (byte-compile-fix-header): Use #$ just because it's shorter.
9953 (byte-compile-output-file-form): Remove defun/defmacro.
9954
9955 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9956
9957 * simple.el (choose-completion): Remove now obsolete binding for
9958 owindow.
9959
9960 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9963 in order to avoid "Stack overflow in regexp matcher".
9964
9965 2012-05-31 Glenn Morris <rgm@gnu.org>
9966
9967 * image.el: For clarity, call imagemagick-register-types at
9968 top-level, rather than relying on a custom :initialize.
9969 (imagemagick-types-enable): New option. (Bug#11557)
9970 (imagemagick-filter-types): New function. (Bug#7406)
9971 (imagemagick-register-types): Use imagemagick-filter-types.
9972 If disabling support, remove elements altogether rather
9973 than using an impossible regexp.
9974 (imagemagick-types-inhibit): Give it the default init function.
9975
9976 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9979 Handle arbitrary file name lengths (Bug#11585).
9980
9981 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9982
9983 * desktop.el (desktop-read): Clear previous and next buffers for
9984 all windows and bury *Messages* buffer (bug#11556).
9985
9986 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 Add `declare' for `defun'. Align `defmacro's with it.
9989 * emacs-lisp/easy-mmode.el (define-minor-mode)
9990 (define-globalized-minor-mode): Don't autoload the var definitions.
9991 * emacs-lisp/byte-run.el: Use lexical-binding.
9992 (defun-declarations-alist, macro-declarations-alist): New vars.
9993 (defmacro, defun): Use them.
9994 (make-obsolete, define-obsolete-function-alias)
9995 (make-obsolete-variable, define-obsolete-variable-alias):
9996 Use `declare'.
9997 (macro-declaration-function): Mark obsolete.
9998 * emacs-lisp/autoload.el: Use lexical-binding.
9999 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10000
10001 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10002
10003 * textmodes/ispell.el (ispell-with-no-warnings):
10004 Define as a macro.
10005 (ispell-kill-ispell, ispell-change-dictionary):
10006 Use `called-interactively-p' for Emacs instead of obsolete
10007 `interactive-p'.
10008
10009 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10012 (macro-declaration-function): Move var from C code.
10013 (macro-declaration-function): Define function with defalias.
10014 * emacs-lisp/macroexp.el (macroexpand-all-1):
10015 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10016 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10017 defun/defmacro any more.
10018 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10019 Provide fallback for unknown arglist.
10020 (byte-compile-arglist-warn): Change calling convention.
10021 (byte-compile-output-file-form): Move print-vars binding.
10022 (byte-compile-output-docform): Simplify accordingly.
10023 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10024 (byte-compile-defmacro-declaration): Remove.
10025 (byte-compile-file-form-defmumble): Generalize to defalias.
10026 (byte-compile-output-as-comment): Return byte-positions.
10027 Simplify callers accordingly.
10028 (byte-compile-lambda): Use `assert'.
10029 (byte-compile-defun, byte-compile-defmacro): Remove.
10030 (byte-compile-file-form-defalias):
10031 Use byte-compile-file-form-defmumble.
10032 (byte-compile-defalias-warn): Remove.
10033
10034 2012-05-29 Stefan Merten <smerten@oekonux.de>
10035
10036 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10037 possible. Fix authors. Improve comments. Improve loading of `cl'.
10038
10039 (rst-mode-abbrev-table): Merge definition.
10040 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10041 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10042
10043 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10044
10045 * calendar/icalendar.el
10046 (icalendar-export-region): Export UID properly.
10047
10048 2012-05-29 Leo Liu <sdl.web@gmail.com>
10049 * calendar/icalendar.el (icalendar-import-format):
10050 Add `icalendar-import-format-uid' (Bug#11525).
10051 (icalendar-import-format-uid): New.
10052 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10053 Export UID.
10054
10055 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10058 different alternative patterns.
10059 (pcase-codegen): Be more careful to preserve identity.
10060 (pcase--u1): Don't forget to mark vars as used.
10061
10062 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10063 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10064 (byte-compile-from-buffer): ...rather than here.
10065
10066 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10067 functions from byte-compile-function-environment.
10068
10069 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10070
10071 * window.el (window-deletable-p): Avoid deleting the root window
10072 of a frame with an active minibuffer.
10073
10074 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10075
10076 * simple.el (choose-completion): Use quit-window (Bug#11567).
10077
10078 2012-05-29 Chong Yidong <cyd@gnu.org>
10079
10080 * whitespace.el (whitespace-cleanup): Fix usage of
10081 whitespace-empty-at-bob-regexp (Bug#11492).
10082
10083 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10084
10085 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10086 revert (Bug#11488).
10087
10088 2012-05-29 Juri Linkov <juri@jurta.org>
10089
10090 * isearch.el (isearch-mode-map): Bind `M-s _' to
10091 `isearch-toggle-symbol'. Bind `M-s c' to
10092 `isearch-toggle-case-fold'.
10093 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10094 (isearch-forward): Add `M-s _' to the docstring.
10095 (isearch-forward-symbol, isearch-toggle-case-fold)
10096 (isearch-symbol-regexp): New functions. (Bug#11381)
10097
10098 2012-05-29 Juri Linkov <juri@jurta.org>
10099
10100 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10101 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10102 a function, call it to get the regexp.
10103 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10104 property `isearch-message-prefix' instead of the string "word ".
10105 (isearch-search-fun-default): For the case of `isearch-word',
10106 return a lambda that calls re-search-forward/re-search-backward
10107 with a regexp returned by `word-search-regexp' or by the function
10108 in `isearch-word'.
10109
10110 2012-05-29 Juri Linkov <juri@jurta.org>
10111
10112 * isearch.el (isearch-search-fun-default): New function.
10113 (isearch-search-fun): Move default part to the new function
10114 `isearch-search-fun-default'.
10115 (isearch-search-fun-function): Set the default value to
10116 `isearch-search-fun-default'. (Bug#11381)
10117
10118 * comint.el (comint-history-isearch-end):
10119 Use `isearch-search-fun-default'.
10120 (comint-history-isearch-search): Use `isearch-search-fun-default'
10121 and remove spacial case for `isearch-word'.
10122 (comint-history-isearch-wrap): Remove spacial case for
10123 `isearch-word'.
10124
10125 * hexl.el (hexl-isearch-search-function):
10126 Use `isearch-search-fun-default'.
10127
10128 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10129 Use `word-search-regexp' for `isearch-word'.
10130
10131 * misearch.el (multi-isearch-search-fun):
10132 Use `isearch-search-fun-default'.
10133
10134 * simple.el (minibuffer-history-isearch-search):
10135 Use `isearch-search-fun-default' and remove spacial case for
10136 `isearch-word'.
10137 (minibuffer-history-isearch-wrap): Remove spacial case for
10138 `isearch-word'.
10139
10140 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10141 Remove spacial case for `isearch-word'.
10142 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10143
10144 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10145
10146 Decrease XEmacs incompatibilities.
10147 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10148 Use `string-match'.
10149 (flyspell-delete-region-overlays): Use alternative definition for
10150 XEmacs.
10151 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10152 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10153 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10154 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10155 `define-obsolete-face-alias' under XEmacs, but old method.
10156
10157 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10158 `with-no-warnings' definition or Emacs alias.
10159 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10160 (ispell-word): Do not use `region-p' if XEmacs.
10161
10162 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10163
10164 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10165 Check for `ispell-dictionary-base-alist' instead of full
10166 `ispell-dictionary-alist'.
10167 (ispell-init-process): Show spellchecker when starting new Ispell
10168 process.
10169
10170 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10171
10172 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10173 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10174
10175 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10176
10177 * version.el (motif-version-string, gtk-version-string)
10178 (ns-version-string): Declare.
10179
10180 2012-05-27 Juri Linkov <juri@jurta.org>
10181
10182 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10183 after the `eval-defun-1' specialcaseing
10184 like in `edebug-eval-defun' (bug#10181).
10185
10186 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10187 like in `eval-defun-1'.
10188
10189 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10190
10191 * mail/sendmail.el (mail-yank-region):
10192 Recognize rmail-yank-current-message in addition to insert-buffer.
10193 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10194 a *mail* buffer created through rmail-start-mail with sendmail as
10195 mail-user-agent.
10196
10197 2012-05-27 Chong Yidong <cyd@gnu.org>
10198
10199 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10200 Default to 256 (Bug#11267).
10201
10202 * help.el (describe-mode): Doc fix.
10203
10204 2012-05-26 Glenn Morris <rgm@gnu.org>
10205
10206 * w32-fns.el (w32-init-info): Remove.
10207 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10208
10209 * info.el (info-initialize): For self-contained NS builds, put the
10210 included info/ directory at the front. (Bug#2791)
10211
10212 * paths.el (Info-default-directory-list): Make it a defcustom,
10213 mainly so that we can use custom-initialize-delay.
10214
10215 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10216
10217 * subr.el (buffer-has-markers-at): Mark obsolete.
10218
10219 * subr.el (lambda): Use declare.
10220
10221 * emacs-lisp/lisp-mode.el (lambda):
10222 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10223
10224 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10225
10226 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10227
10228 2012-05-26 Glenn Morris <rgm@gnu.org>
10229
10230 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10231
10232 2012-05-25 Glenn Morris <rgm@gnu.org>
10233
10234 * paths.el: Remove no-byte-compile.
10235 * loadup.el: No need to load paths.el uncompiled.
10236
10237 * image.el (imagemagick-types-inhibit): Doc fix.
10238
10239 * version.el: Remove no-byte-compile and associated formatting.
10240 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10241 is ancient code from when there was an "inc-vers.el".
10242
10243 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * progmodes/gdb-mi.el: Minor style changes.
10246 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10247 Turn into minor modes.
10248 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10249 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10250 (gdb-shell): Remove unneeded let-binding.
10251 (gdb-get-many-fields): Eliminate O(n²) behavior.
10252
10253 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10254
10255 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10256 platforms that don't link in fontset.c.
10257
10258 2012-05-25 Juri Linkov <juri@jurta.org>
10259
10260 Use the same diff color scheme as in modern VCSes (bug#10181).
10261
10262 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10263 to avoid confusion with `diff-added' that now uses green colors.
10264 (diff-removed): Use shades of red.
10265 (diff-added): Use shades of green.
10266 (diff-changed): Leave just the yellow color.
10267 (diff-use-changed-face): New variable.
10268 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10269 how to highlight context diff changes.
10270 (diff-refine-change): Use shades of yellow.
10271 (diff-refine-removed): New face that uses shades of red.
10272 (diff-refine-added): New face that uses shades of green.
10273 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10274 `diff-refine-removed' in the call to `smerge-refine-subst'
10275 depending on the value of `diff-use-changed-face'.
10276
10277 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10278 (smerge-other): Use shades of green.
10279 (smerge-base): Use shades of yellow.
10280 (smerge-refined-change): Empty face.
10281 (smerge-refined-removed): New face that uses shades of red.
10282 (smerge-refined-added): New face that uses shades of green.
10283 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10284 args `props-r' and `props-a', and use them. Doc fix.
10285 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10286 on its value use different faces `smerge-refined-change',
10287 `smerge-refined-removed', `smerge-refined-added' in the call to
10288 `smerge-refine-subst'.
10289
10290 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10291 Add face condition `min-colors 88' with shades of red.
10292 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10293 `min-colors 88' with shades of green.
10294 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10295 `min-colors 88' with shades of yellow.
10296
10297 2012-05-24 Glenn Morris <rgm@gnu.org>
10298
10299 * paths.el (prune-directory-list, remote-shell-program): Move to...
10300 * files.el (prune-directory-list, remote-shell-program): ...here.
10301 For the latter, delay initialization, prefer ssh, just search PATH.
10302
10303 * paths.el (term-file-prefix): Move to faces.el (the only user).
10304 * faces.el (term-file-prefix): Move here, make it a defcustom.
10305
10306 * paths.el (news-directory, news-path, news-inews-program):
10307 Move to gnus/nnspool.el.
10308
10309 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10310
10311 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10312 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10313 Make the latter a defcustom, with a delayed initialization.
10314
10315 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10316 These were deleted from Gnus itself late 2010.
10317
10318 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10319
10320 * progmodes/which-func.el (which-func-ff-hook):
10321 Check against user-error, not error.
10322
10323 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10324 cl-specs.el, which no longer exists.
10325
10326 2012-05-22 Glenn Morris <rgm@gnu.org>
10327
10328 * info.el (info-emacs-bug): New command.
10329 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10330 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10331
10332 2012-05-21 Glenn Morris <rgm@gnu.org>
10333
10334 * makefile.w32-in (update-subdirs-SH):
10335 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10336
10337 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10340
10341 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10342 Simplify Maven regexp, and make sure the file can't start with a space
10343 (bug#11517).
10344
10345 2012-05-21 Glenn Morris <rgm@gnu.org>
10346
10347 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10348 Scrap superfluous subshells.
10349
10350 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10353 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10354
10355 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10356
10357 * calc/calc.el (calc-ensure-consistent-units): New variable.
10358
10359 * calc/calc-units.el (math-consistent-units-p)
10360 (math-check-unit-consistency): New functions.
10361 (calc-quick-units, calc-convert-units):
10362 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10363 is non-nil.
10364 (calc-extract-units): Fix typo.
10365
10366 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10369
10370 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10371 (flyspell-default-deplacement-commands): Don't spell check after
10372 repeated window/frame switches (e.g. triggered by mouse-movement).
10373 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10374 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10375 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10376 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10377 Remove unused vars.
10378 (flyspell-get-casechars, flyspell-get-not-casechars):
10379 Simplify; Don't bother removing a ] just to add it back.
10380 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10381
10382 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10383
10384 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10385 New functions.
10386 (math-function-table): Add support for more C functions.
10387
10388 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10389
10390 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10391 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10392 Protect delay handling for otherchars against empty otherchars.
10393
10394 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10397 their respective macro declarations.
10398 * skeleton.el (define-skeleton):
10399 * progmodes/compile.el (define-compilation-mode):
10400 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10401 (define-ibuffer-filter):
10402 * emacs-lisp/generic.el (define-generic-mode):
10403 * emacs-lisp/easy-mmode.el (define-minor-mode)
10404 (define-globalized-minor-mode):
10405 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10406 * emacs-lisp/byte-run.el (defsubst):
10407 * custom.el (deftheme): Add doc-string metadata.
10408
10409 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10410
10411 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10412
10413 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10416
10417 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10418 * emacs-lisp/cl-macs.el: Idem.
10419 * emacs-lisp/cl-specs.el: Remove.
10420
10421 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 Minor renaming of internal CL functions and variables.
10424 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10425 (cl--position): Rename from cl-position.
10426 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10427 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10428 (cl--random-state): Rename from *random-state*.
10429
10430 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10433 parens around the arg list (bug#11499).
10434
10435 2012-05-17 Juri Linkov <juri@jurta.org>
10436
10437 * isearch.el (word-search-regexp, word-search-backward)
10438 (word-search-forward, word-search-backward-lax)
10439 (word-search-forward-lax): Move functions from search.c
10440 (bug#10145, bug#11381).
10441
10442 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10443
10444 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10445 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10446 Delay for otherchars as for normal word components.
10447
10448 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * minibuffer.el (completion--sifn-requote): Fix last change.
10451 (minibuffer-local-must-match-filename-map):
10452 Move define-obsolete-variable-alias before its var.
10453
10454 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10457
10458 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10459 behavior.
10460 (completion--string-equal-p): New function.
10461 (completion--twq-all): Use it to get better assertion failure data.
10462
10463 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10464 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10465 (shell--requote-argument): New functions.
10466 (shell-completion-vars): Use them.
10467 (shell--parse-pcomplete-arguments): Rename from
10468 shell-parse-pcomplete-arguments.
10469 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10470 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10471 Obey comint-file-name-quote-list.
10472
10473 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10474 (smie-indent-keyword): Use it.
10475
10476 2012-05-14 Stefan Merten <smerten@oekonux.de>
10477
10478 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10479
10480 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * net/rlogin.el (rlogin-mode-map): Fix last change.
10483
10484 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10485
10486 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10487 the following \r\n using a single `process-send-string', since the
10488 Lotus SMTP server refuses to accept any commands if they are sent
10489 with two `process-send-string's (Bug#11444).
10490
10491 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * shell.el (shell-parse-pcomplete-arguments):
10494 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10495
10496 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10497
10498 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10499 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10500 (image-transform-width, image-transform-fit-width): New functions.
10501 (image-transform-properties): Use them.
10502 (image-transform-check-size): New function.
10503 (image-toggle-display-image): Use it (for testing).
10504 (image-transform-set-rotation): Reduce angle mod 360.
10505 Delete obsolete comment.
10506
10507 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10508
10509 * image-mode.el: Fix scaling (bug#11399).
10510 (image-transform-resize): Doc fix.
10511 (image-transform-properties): Default scale is 1 and height should
10512 be an integer.
10513
10514 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10515
10516 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10517 than hard-coding `car', to fix misbehavior when moving forward.
10518
10519 2012-05-13 Chong Yidong <cyd@gnu.org>
10520
10521 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10522 (tabulated-list-entries, tabulated-list-padding)
10523 (tabulated-list-sort-key): Make permanent-local.
10524
10525 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10526 (electric-buffer-list): Put electric buffer menu
10527 command descriptions in this docstring, instead of the docstring
10528 of electric-buffer-menu-mode. Code cleanups.
10529 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10530 Electric-buffer-menu-mode.
10531 (electric-buffer-update-highlight): Minor code cleanup.
10532
10533 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10534
10535 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10536 (Bug#11447)
10537
10538 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 Move define-obsolete-variable-alias before the var's definition.
10541 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10542 * tooltip.el (tooltip-hook):
10543 * textmodes/reftex-toc.el (reftex-toc-map):
10544 * textmodes/reftex-sel.el (reftex-select-label-map)
10545 (reftex-select-bib-map):
10546 * textmodes/reftex-index.el (reftex-index-map)
10547 (reftex-index-phrases-map):
10548 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10549 * progmodes/meta-mode.el (meta-mode-map):
10550 * novice.el (disabled-command-hook):
10551 * loadhist.el (unload-hook-features-list):
10552 * frame.el (blink-cursor):
10553 * files.el (find-file-not-found-hooks, write-file-hooks)
10554 (write-contents-hooks):
10555 * emulation/tpu-edt.el (GOLD-map):
10556 * emacs-lock.el (emacs-lock-from-exiting):
10557 * emacs-lisp/generic.el (generic-font-lock-defaults):
10558 * emacs-lisp/chart.el (chart-map):
10559 * dos-fns.el (register-name-alist):
10560 * dired-x.el (dired-omit-files-p):
10561 * desktop.el (desktop-enable):
10562 * cus-edit.el (custom-mode-hook):
10563 * buff-menu.el (buffer-menu-mode-hook):
10564 * bookmark.el (bookmark-read-annotation-text-func)
10565 (bookmark-exit-hooks):
10566 * allout.el (allout-mode-deactivate-hook)
10567 (allout-exposure-change-hook, allout-structure-added-hook)
10568 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10569 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10570 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10571 comes before the corresponding variable's definition.
10572
10573 2012-05-12 Chong Yidong <cyd@gnu.org>
10574
10575 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10576 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10577 (Buffer-menu-mode-map): Bind it.
10578 (Buffer-menu--pretty-name): Add a mouse-face property.
10579
10580 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10583 (prolog-upper-case-string, prolog-lower-case-string)
10584 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10585 (prolog-use-smie, prolog-smie-grammar): New vars.
10586 (prolog-smie-forward-token, prolog-smie-backward-token)
10587 (prolog-smie-rules): New funs.
10588 (prolog-comment-indent): Remove.
10589 (prolog-mode-variables): Use default comment indentation instead.
10590 Setup SMIE.
10591 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10592 (prolog-mode): Don't call them any more.
10593 (prolog-electric-colon, prolog-electric-dash)
10594 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10595
10596 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10597
10598 * minibuffer.el (completion--twq-all): Again, allow case differences.
10599
10600 * term.el: Move keymap initialization code to be more idiomatic.
10601 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10602 (term-terminal-menu): Move initialization into declaration.
10603 (term-escape-char): Let the user set it in her .emacs.
10604
10605 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10606 Provide SMIE-based indentation (not enabled by default yet).
10607 (sh-mode-map): Don't bind electric keys.
10608 Use electric-pair-mode instead of skeleton-pair.
10609 (sh-assignment-regexp): Fit within 80 columns.
10610 (sh-indent-supported): Specify actual shell name instead of boolean.
10611 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10612 (sh-maybe-here-document): Use it. Make obsolete.
10613 (sh-electric-here-document-mode) New minor mode.
10614 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10615 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10616 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10617 (sh-smie-rc-grammar, sh-use-smie): New vars.
10618 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10619 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10620 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10621 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10622 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10623 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10624 (sh-set-shell): Use smie-setup if requested.
10625
10626 * term.el (term-set-escape-char): Properly set term-escape-char.
10627 See http://stackoverflow.com/questions/10524656.
10628
10629 2012-05-10 Chong Yidong <cyd@gnu.org>
10630
10631 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10632 Use url-generic-parse-url, and handle host names and Windows
10633 filenames properly.
10634 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10635 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10636 URL schemes to work on.
10637 (ffap--toggle-read-only): New function.
10638 (ffap-read-only, ffap-read-only-other-window)
10639 (ffap-read-only-other-frame): Use it.
10640 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10641 necessary for ffap-url-unwrap-remote.
10642
10643 2012-05-10 Dave Abrahams <dave@boostpro.com>
10644
10645 * cus-start.el (create-lockfiles): Add it.
10646
10647 2012-05-09 Chong Yidong <cyd@gnu.org>
10648
10649 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10650 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10651
10652 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10655
10656 2012-05-09 Chong Yidong <cyd@gnu.org>
10657
10658 * ansi-color.el (ansi-color-process-output): Check for validity of
10659 comint-last-output-start before using it. This avoids a bad
10660 interaction with gdb-mi's input/output buffer.
10661
10662 2012-05-09 Glenn Morris <rgm@gnu.org>
10663
10664 * files.el (dir-locals-read-from-file):
10665 Mention dir-locals in any error message.
10666
10667 2012-05-09 Chong Yidong <cyd@gnu.org>
10668
10669 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10670 package (Bug#11410).
10671
10672 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10673 variables into description.
10674
10675 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10678 shell-delimiter-argument-list (bug#11348).
10679 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10680
10681 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10682
10683 * textmodes/rst.el: Silence byte-compiler warnings.
10684 (rst-re-alist, rst-reset-section-caches): Move around.
10685 (rst-re): Use `characterp', not `char-valid-p'.
10686 (font-lock-beg, font-lock-end): Declare.
10687
10688 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10689 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10690
10691 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10692
10693 2012-05-08 Glenn Morris <rgm@gnu.org>
10694
10695 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10696
10697 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * vc/log-edit.el: Add GNU coding standards highlighting.
10700 (log-edit-font-lock-gnu-style)
10701 (log-edit-font-lock-gnu-keywords): New vars.
10702 (log-edit-font-lock-keywords): New fun.
10703 (log-edit-mode): Don't fold case in font-lock.
10704 (log-edit-font-lock-keywords): Do not assume case-folding.
10705
10706 * imenu.el: Misc cleanup. Make docstrings out of comments.
10707 Use lexical-binding.
10708 (imenu--index-alist, imenu--last-menubar-index-alist)
10709 (imenu-menubar-modified-tick): Use defvar-local.
10710 (imenu--split-menu): Remove unused var.
10711 (imenu--cleanup-seen): Declare as global.
10712 (imenu--cleanup): Use dolist.
10713
10714 * subr.el (defvar-local): Add debug spec and doc-string position.
10715
10716 2012-05-08 Glenn Morris <rgm@gnu.org>
10717
10718 * language/burmese.el, language/cham.el, language/czech.el:
10719 * language/english.el, language/georgian.el, language/greek.el:
10720 * language/japanese.el, language/khmer.el, language/korean.el:
10721 * language/lao.el, language/misc-lang.el, language/romanian.el:
10722 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10723 * language/thai.el, language/utf-8-lang.el:
10724 Remove no-byte-compile setting.
10725
10726 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10727
10728 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10729
10730 * progmodes/make-mode.el (makefile-browse):
10731 Remove unnecessary interactive. (Bug#11324)
10732
10733 2012-05-07 Glenn Morris <rgm@gnu.org>
10734
10735 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10736
10737 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10738
10739 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10740
10741 * loadup.el: Preload newcomment.el.
10742 * newcomment.el: Move autoload-only code to toplevel.
10743
10744 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10745 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10746 Handle new :right-align column property.
10747 (tabulated-list-print-col): Idem, plus use `display' text-property to
10748 try and preserve alignment for variable pitch fonts.
10749
10750 2012-05-07 Chong Yidong <cyd@gnu.org>
10751
10752 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10753 (tabulated-list-use-header-line): New var.
10754 (tabulated-list-init-header): Use it.
10755 (tabulated-list-print-fake-header): New function.
10756 (tabulated-list-print): Use it.
10757 (tabulated-list-sort-button-map): Add non-header-line commands.
10758 (tabulated-list-init-header): Add column name property to basic
10759 labels as well.
10760 (tabulated-list-col-sort): Handle non-header-line button case.
10761 (tabulated-list--sort-by-column-name): Fix a corner case.
10762
10763 * buff-menu.el (list-buffers--refresh):
10764 Handle Buffer-menu-use-header-line.
10765
10766 2012-05-06 Chong Yidong <cyd@gnu.org>
10767
10768 * buff-menu.el: Convert to Tabulated List mode.
10769 (Buffer-menu-buffer+size-width): Make obsolete.
10770 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10771 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10772 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10773 documentation into docstring of buffer-menu.
10774 (Buffer-menu-toggle-files-only): Add an informative message.
10775 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10776 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10777 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10778 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10779 (Buffer-menu-execute, Buffer-menu-select)
10780 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10781 (Buffer-menu-bury): Use Tabulated List machinery.
10782 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10783 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10784 Delete.
10785 (list-buffers--refresh): New function.
10786 (list-buffers-noselect): Use it.
10787 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10788 (Buffer-menu--pretty-file-name): New helper functions.
10789
10790 * loadup.el: Preload tabulated-list.
10791
10792 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10793 tabulated-list-sort-column.
10794 (tabulated-list-init-header): Add the initial aligning space even
10795 if tabulated-list-padding is zero.
10796
10797 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10798
10799 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10800 whose cdr is not a cons cell correctly (bug#11038).
10801
10802 2012-05-06 Chong Yidong <cyd@gnu.org>
10803
10804 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10805 Accept additional plist in column descriptors.
10806 (tabulated-list-init-header): Obey it.
10807 (tabulated-list-get-entry): New function.
10808 (tabulated-list-put-tag): Use it. Use string-width instead of
10809 length.
10810 (tabulated-list--column-number): New function.
10811 (tabulated-list-print): Use it.
10812 (tabulated-list-print-col): New function.
10813 Set `tabulated-list-column-name' property on each column's text.
10814 (tabulated-list-print-entry): Use it.
10815 (tabulated-list-delete-entry, tabulated-list-set-col):
10816 New functions.
10817 (tabulated-list-sort-column): New command (Bug#11337).
10818
10819 * buff-menu.el (list-buffers): Move C-x C-b binding from
10820 buff-menu.el to bindings.el.
10821
10822 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10823 :advertised-binding feature.
10824
10825 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10826
10827 * progmodes/compile.el (compilation-internal-error-properties):
10828 Calculate start position correctly when end-col is set but
10829 end-line is not (Bug#11382).
10830
10831 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10832
10833 * man.el (Man-unindent): Use text-property-default-nonsticky to
10834 prevent untabify from inheriting face properties (Bug#11408).
10835
10836 2012-05-05 Stefan Merten <smerten@oekonux.de>
10837
10838 * textmodes/rst.el: Major merge with upstream development up to
10839 Docutils SVN r7399 / rst.el V1.2.1.
10840
10841 Clarify maintainership and authors.
10842
10843 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10844 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10845 (rst-official-version, rst-official-cvs-rev, rst-version)
10846 (rst-package-emacs-version-alist): New functions and variables
10847 for version information.
10848
10849 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10850 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10851 (rst-mode-syntax-table, rst-mode): New and corrected functions
10852 and variables representing reStructuredText features.
10853
10854 (rst-re): New function for reStructuredText regexes. Use in
10855 many places.
10856
10857 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10858 (rst-mode-map): Rebind keys.
10859
10860 (rst-mode-lazy, rst-font-lock-keywords)
10861 (rst-font-lock-extend-region)
10862 (rst-font-lock-extend-region-internal)
10863 (rst-font-lock-extend-region-extend)
10864 (rst-font-lock-find-unindented-line-limit)
10865 (rst-font-lock-find-unindented-line-match)
10866 (rst-adornment-level, rst-font-lock-adornment-level)
10867 (rst-font-lock-adornment-match)
10868 (rst-font-lock-handle-adornment-pre-match-form)
10869 (rst-font-lock-handle-adornment-matcher): Major revision of
10870 font-locking. Integrate with other code. Use `jit-lock-mode'.
10871
10872 (rst-preferred-adornments, rst-adjust-hook)
10873 (rst-new-adornment-down, rst-preferred-bullets)
10874 (rst-preferred-bullets, rst-indent, rst-indent-width)
10875 (rst-indent-field, rst-indent-literal-normal)
10876 (rst-indent-literal-minimized, rst-indent-comment): Change,
10877 extend and improve customization.
10878
10879 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10880 (rst-normalize-cursor-position, rst-get-decoration)
10881 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10882 (rst-rstrip, rst-toc-insert-find-delete-contents)
10883 (rst-shift-fill-region, rst-compute-bullet-tabs)
10884 (rst-debug-print-tabs, rst-debug-mark-found)
10885 (rst-shift-region-guts, rst-shift-region-right)
10886 (rst-shift-region-left, rst-use-char-classes)
10887 (rst-font-lock-keywords-function)
10888 (rst-font-lock-indentation-point)
10889 (rst-font-lock-find-unindented-line-begin)
10890 (rst-font-lock-find-unindented-line-end)
10891 (rst-font-lock-find-unindented-line)
10892 (rst-font-lock-adornment-point, rst-font-lock-level)
10893 (rst-adornment-level-alist): Remove functions and variables.
10894
10895 (rst-compare-adornments, rst-get-adornment-match)
10896 (rst-suggest-new-adornment, rst-get-adornments-around)
10897 (rst-adornment-complete-p, rst-get-next-adornment)
10898 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10899 (rst-straighten-adornments): Standardize function names to
10900 use "adornment" instead of "decoration". Correct callers.
10901 Similar standardizing in many places.
10902
10903 (rst-update-section, rst-adjust, rst-promote-region)
10904 (rst-enumerate-region, rst-bullet-list-region)
10905 (rst-repeat-last-character): Correct use of `interactive'.
10906
10907 (rst-classify-adornment, rst-find-all-adornments)
10908 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10909 (rst-find-leftmost-column, rst-repeat-last-character):
10910 Refactor functions.
10911
10912 (rst-find-title-line, rst-reset-section-caches)
10913 (rst-get-adornments-around, rst-adjust-adornment-work)
10914 (rst-arabic-to-roman, rst-roman-to-arabic)
10915 (rst-insert-list-pos, rst-insert-list-new-item)
10916 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10917 New functions.
10918
10919 (rst-all-sections, rst-section-hierarchy)
10920 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10921 New variables.
10922
10923 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10924 configuration instead of only buffer. Change where necessary.
10925
10926 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10927 (rst-shift-region, rst-adaptive-fill): New functions for
10928 indentation and filling.
10929
10930 (rst-comment-line-break, rst-comment-indent)
10931 (rst-comment-insert-comment, rst-comment-region)
10932 (rst-uncomment-region): New functions for handling comments.
10933
10934 (rst-compile): Quote shell arguments.
10935
10936 (rst-compile-pdf-preview, rst-compile-slides-preview):
10937 Delete temporary files after use.
10938
10939 2012-05-05 Glenn Morris <rgm@gnu.org>
10940
10941 * calendar/cal-html.el: Optionally include holidays in the output.
10942 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10943 (cal-html-holidays): New option.
10944 (cal-html-css-default): Add holiday entry.
10945 (holiday-in-range): Autoload it.
10946 (cal-html-htmlify-entry): Add optional class argument.
10947 (cal-html-htmlify-list): Add optional holidays argument.
10948 (cal-html-insert-agenda-days): Include holidays in the output.
10949 (cal-html-one-month): Maybe include holidays.
10950
10951 * calendar/holidays.el (holiday-in-range):
10952 Move here from cal-tex-list-holidays.
10953 * calendar/cal-tex.el (cal-tex-list-holidays):
10954 Make it an obsolete alias for holiday-in-range. Update all callers.
10955
10956 2012-05-05 Chong Yidong <cyd@gnu.org>
10957
10958 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10959 Nextstep.
10960
10961 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10962
10963 * files.el (file-auto-mode-skip): New var.
10964 (set-auto-mode-1): Use it.
10965
10966 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10967
10968 * repeat.el: Use lexical-binding.
10969 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10970 (repeat-undo-count): Remove.
10971 (repeat):
10972 * progmodes/octave-mod.el (octave-abbrev-start):
10973 * progmodes/f90.el (f90-abbrev-start):
10974 * face-remap.el (text-scale-adjust):
10975 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10976
10977 * emacs-lisp/pcase.el (pcase--let*): New function.
10978 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10979 a bit more.
10980 (pcase--split-pred): Be more clever about ruling out overlap between
10981 a predicate and some constant pattern.
10982 (pcase--q1): Use `null' instead of (eq foo nil).
10983
10984 * subr.el (setq-local, defvar-local): New macros.
10985 (kbd): Redefine as an alias.
10986 (with-selected-window): Leave unrelated frames alone.
10987 (set-temporary-overlay-map): New function.
10988
10989 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10990
10991 * subr.el (user-error): New function.
10992 * window.el (switch-to-buffer):
10993 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10994 (smerge-match-conflict):
10995 * simple.el (previous-matching-history-element)
10996 (next-matching-history-element, goto-history-element, undo-more)
10997 (undo-start):
10998 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10999 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11000 (next-file, tags-loop-scan, list-tags, complete-tag):
11001 * progmodes/compile.el (compilation-loop):
11002 * mouse.el (mouse-minibuffer-check):
11003 * man.el (Man-bgproc-sentinel, Man-goto-page):
11004 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11005 (Info-history-forward, Info-follow-reference, Info-menu)
11006 (Info-extract-menu-item, Info-extract-menu-counting)
11007 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11008 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11009 (Info-next-reference, Info-prev-reference, Info-index)
11010 (Info-index-next, Info-follow-nearest-node)
11011 (Info-copy-current-node-name):
11012 * imenu.el (imenu--make-index-alist)
11013 (imenu-default-create-index-function, imenu-add-to-menubar):
11014 * files.el (basic-save-buffer, recover-file):
11015 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11016 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11017 (checkdoc-message-text, checkdoc-defun):
11018 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11019 * cus-edit.el (customize-changed-options, customize-rogue)
11020 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11021 (custom-variable-mark-to-reset-standard)
11022 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11023 (custom-file):
11024 * completion.el (check-completion-length):
11025 * comint.el (comint-search-arg)
11026 (comint-previous-matching-input-string-position)
11027 (comint-previous-matching-input)
11028 (comint-replace-by-expanded-history-before-point, comint-send-input)
11029 (comint-copy-old-input, comint-backward-matching-input)
11030 (comint-goto-process-mark, comint-set-process-mark):
11031 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11032 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11033
11034 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * dabbrev.el (dabbrev--ignore-case-p): New function.
11037 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11038 Use it.
11039
11040 * files.el (automount-dir-prefix): Mark as obsolete.
11041
11042 2012-05-04 Glenn Morris <rgm@gnu.org>
11043
11044 * patcomp.el, play/bruce.el: Move to obsolete/.
11045
11046 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11047
11048 Fix minor Y10k bugs.
11049 * arc-mode.el (archive-unixdate):
11050 * autoinsert.el (auto-insert-alist):
11051 * calc/calc-forms.el (math-this-year):
11052 * emacs-lisp/copyright.el (copyright-current-year)
11053 (copyright-update-year, copyright):
11054 * tar-mode.el (tar-clip-time-string):
11055 * time.el (display-time-update):
11056 Don't assume years have 4 digits.
11057
11058 2012-05-04 Chong Yidong <cyd@gnu.org>
11059
11060 * dos-w32.el (file-name-buffer-file-type-alist)
11061 (direct-print-region-use-command-dot-com):
11062 * ffap.el (ffap-menu-regexp):
11063 * find-file.el (ff-special-constructs):
11064 * follow.el (follow-debug):
11065 * forms.el (forms--debug):
11066 * iswitchb.el (iswitchb-all-frames):
11067 * ido.el (ido-all-frames):
11068 * emacs-lisp/timer.el (timer-max-repeats):
11069 * mail/feedmail.el (feedmail-mail-send-hook)
11070 (feedmail-mail-send-hook-queued):
11071 * mail/footnote.el (footnote-signature-separator):
11072 * mail/mailabbrev.el (mail-alias-separator-string)
11073 (mail-abbrev-mode-regexp):
11074 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11075 * progmodes/idlwave.el (idlwave-libinfo-file)
11076 (idlwave-default-completion-case-is-down)
11077 (idlwave-library-routines): Convert defvars to defcustoms.
11078
11079 * mail/rmail.el (rmail-decode-mime-charset):
11080 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11081 (idlwave-shell-fix-inserted-breaks)
11082 (idlwave-shell-activate-alt-keybindings)
11083 (idlwave-shell-use-breakpoint-glyph):
11084 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11085
11086 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11087
11088 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11089
11090 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11091
11092 * progmodes/verilog-mode.el (font-lock-keywords):
11093 Fix mis-highligting auto. Reported by Craig Barner.
11094 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11095 defines from global name space. Reported by Dan Dever.
11096 (verilog-auto-reset, verilog-auto-reset-widths)
11097 (verilog-auto-tieoff): Support using unbased numbers for
11098 AUTORESET and AUTOTIEOFF.
11099 (verilog-submit-bug-report): Update variable list.
11100 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11101 parenthesis from not matching. Reported by Michael Rytting.
11102 (verilog-auto-template-lint): Fix hash error when linting modules
11103 with no used templates.
11104 (verilog-warn, verilog-warn-error)
11105 (verilog-warn-fatal): When non-interactive report multiple
11106 warnings before exiting. Suggested by Brad Dobbie.
11107 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11108 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11109 to report unused template errors. Reported by Brad Dobbie.
11110 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11111 nets, bug438. Reported by Vns Blore.
11112 (verilog-auto-inout-module, verilog-auto-reg)
11113 (verilog-read-decls, verilog-read-sub-decls-sig)
11114 (verilog-signals-edit-wire-reg, verilog-signals-with):
11115 Fix passing of Verilog data types in ANSI input/output ports
11116 such as "output logic" into the AUTOs. Special case "wire" and
11117 "reg" for backwards compatibility presuming Verilog 2001.
11118 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11119 (verilog-preprocess): Fix replication of preprocess output.
11120 Reported by Brad Dobbie.
11121 (verilog-auto-inst-interfaced-ports):
11122 Create verilog-auto-inst-interfaced-ports, bug429.
11123 Reported by Julian Gorfajn.
11124 (verilog-after-save-font-hook)
11125 (verilog-before-save-font-hook): New variable.
11126 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11127 (verilog-save-font-mods): Wrap disabling fontification, reported
11128 by David Rogoff.
11129 (verilog-do-indent, verilog-pretty-declarations-auto)
11130 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11131 Reported by Pierre-David Pfister.
11132 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11133 of class declarations, bug292. Reported by Kevin Heilman.
11134 (verilog-read-decls): Fix 'parameter type' not appearing in
11135 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11136 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11137 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11138 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11139 Reported by David Kravitz.
11140
11141 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11142
11143 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11144 assignment with tests in ifs and for loops.
11145 (verilog-extended-complete-re, verilog-complete-reg): Change so
11146 that DPI inport functions don't look like fuction declarations.
11147 (verilog-pretty-expr): Don't line up assignment
11148 operations to the test and increment in if and for loops
11149 (verilog-extended-complete-re, verilog-complete-reg): Change so
11150 that DPI inport functions don't look like fuction declarations.
11151
11152 2012-05-03 Kenichi Handa <handa@m17n.org>
11153
11154 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11155 decoding, and show a warning message without signaling an error
11156 (Bug#11282).
11157
11158 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * emacs-lisp/bytecomp.el
11161 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11162 since cconv.el might have introduced :fun-body, internal-make-closure,
11163 and friends for bytecomp to handle (bug#11391).
11164 * custom.el (defcustom): Avoid ((λ ..) ..).
11165
11166 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11169
11170 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11171
11172 * notifications.el (dbus-debug):
11173 * term/linux.el (gpm-mouse-enable):
11174 * term/screen.el (xterm-register-default-colors): Declare.
11175
11176 2012-05-02 Chong Yidong <cyd@gnu.org>
11177
11178 * cus-start.el (gc-cons-percentage, exec-suffixes)
11179 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11180 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11181 (make-cursor-line-fully-visible, void-text-area-pointer)
11182 (font-list-limit): Add customization data.
11183
11184 * allout.el (allout-exposure-change-functions)
11185 (allout-structure-added-functions)
11186 (allout-structure-deleted-functions)
11187 (allout-structure-shifted-functions): Rename abnormal hooks from
11188 *-hook, and convert to defcustoms.
11189 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11190 Convert to defcustoms.
11191 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11192
11193 * allout-widgets.el: Hook callers changed.
11194
11195 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11196
11197 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11198 the yanked message in preference to the default value of
11199 buffer-file-coding-system.
11200
11201 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11202
11203 * window.el (display-buffer--action-function-custom-type):
11204 Fix entry.
11205
11206 2012-05-02 Alan Mackenzie <acm@muc.de>
11207
11208 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11209
11210 2012-05-01 Glenn Morris <rgm@gnu.org>
11211
11212 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11213
11214 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11215
11216 * cus-edit.el (custom-variable-documentation): Simplify with format.
11217
11218 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11219 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * simple.el (suggest-key-bindings, execute-extended-command):
11222 Move from keyboard.c.
11223
11224 2012-05-01 Chong Yidong <cyd@gnu.org>
11225
11226 * follow.el: Eliminate advice.
11227 (set-process-filter, process-filter, sit-for): Advice deleted.
11228 (follow-mode-off-hook): Obsolete hook removed.
11229 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11230 Vars deleted.
11231 (follow-auto): Use a :set function.
11232 (follow-mode): Rewritten. Don't advise process filters.
11233 (follow-switch-to-current-buffer-all, follow-scroll-up)
11234 (follow-scroll-down): Assume follow-mode is bound.
11235 (follow-comint-scroll-to-bottom)
11236 (follow-align-compilation-windows): New functions.
11237 (follow--window-sorter): New function.
11238 (follow-all-followers): Use it to explicitly sort windows by their
11239 positions; don't make assumptions about next-window order.
11240 (follow-windows-start-end, follow-delete-other-windows-and-split)
11241 (follow-calc-win-start): Doc fix.
11242 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11243 vertical-motion unnecessarily.
11244 (follow-adjust-window): New function.
11245 (follow-post-command-hook): Use it.
11246 (follow-call-set-process-filter, follow-call-process-filter)
11247 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11248 (follow-stop-intercept-process-output, follow-generic-filter):
11249 Functions deleted.
11250 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11251 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11252 New functions, replacing advice on scroll-bar-* commands.
11253 (follow-mwheel-scroll): New function (Bug#4112).
11254
11255 * comint.el (comint-adjust-point): New function.
11256 (comint-postoutput-scroll-to-bottom): Use it.
11257 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11258
11259 2012-05-01 Glenn Morris <rgm@gnu.org>
11260
11261 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11262 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11263 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11264 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11265 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11266 Remove no-byte-compile setting.
11267
11268 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11271 all-completions code to not return a number in the last cdr.
11272
11273 2012-04-30 Leo Liu <sdl.web@gmail.com>
11274
11275 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11276 read-only error.
11277
11278 2012-04-29 Chong Yidong <cyd@gnu.org>
11279
11280 * follow.el (follow-calc-win-end): Rewrite to handle partial
11281 screen lines correctly (Bug#8390).
11282 (follow-avoid-tail-recenter): Minor cleanup.
11283
11284 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 Avoid the obsolete `assoc' package.
11287 * speedbar.el (speedbar-refresh): Avoid adelete.
11288 (speedbar-file-lists): Simplify and avoid aput.
11289 * man.el (Man--sections, Man--refpages): New vars, replacing
11290 Man-sections-alist and Man-refpages-alist.
11291 (Man-build-section-alist, Man-build-references-alist):
11292 Use them; avoid aput.
11293 (Man--last-section, Man--last-refpage): New vars.
11294 (Man-follow-manual-reference): Use them.
11295 Use the `default' arg of completing-read.
11296 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11297
11298 2012-04-27 Chong Yidong <cyd@gnu.org>
11299
11300 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11301
11302 * startup.el (x-apply-session-resources): New function.
11303
11304 * term/ns-win.el (ns-initialize-window-system):
11305 * term/w32-win.el (w32-initialize-window-system):
11306 * term/x-win.el (x-initialize-window-system): Use it to properly
11307 set menu-bar-mode and other vars from X resources, even if the
11308 initial frame is not a window-system frame (Bug#2299).
11309
11310 * subr.el (read-key): Avoid running filter function when setting
11311 up temporary tool bar entries (Bug#9922).
11312
11313 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11314
11315 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11316 (Bug#11344)
11317
11318 2012-04-27 Chong Yidong <cyd@gnu.org>
11319
11320 * select.el (xselect--encode-string): New function, split from
11321 xselect-convert-to-string.
11322 (xselect-convert-to-string): Use it.
11323 (xselect-convert-to-filename, xselect-convert-to-os)
11324 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11325 returned strings are properly encoded (Bug#11315).
11326
11327 2012-04-27 Chong Yidong <cyd@gnu.org>
11328
11329 * simple.el (delete-active-region): Move to killing custom group.
11330
11331 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11332
11333 * progmodes/which-func.el (which-func-current): Quote %
11334 characters for mode-line processing.
11335
11336 2012-04-27 Chong Yidong <cyd@gnu.org>
11337
11338 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11339 reaching eob (Bug#11286).
11340
11341 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11342
11343 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11344 (gdb): Make it buffer-local and init to zero.
11345 (gdb-control-commands-regexp): New variable.
11346 (gdb-send): Don't wrap in "-interpreter-exec console" if
11347 gdb-control-level is positive. Increment gdb-control-level
11348 whenever the command matches gdb-control-commands-regexp, and
11349 decrement it each time the command is "end". (Bug#11279)
11350
11351 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11352
11353 * window.el (adjust-window-trailing-edge, enlarge-window)
11354 (shrink-window, window-resize):
11355 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11356 windows (Bug#11276).
11357
11358 2012-04-27 Chong Yidong <cyd@gnu.org>
11359
11360 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11361 fix "missing prefix" warning. All callers changed.
11362
11363 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * emacs-lisp/assoc.el: Move to obsolete/.
11366
11367 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11370
11371 * term/ns-win.el (ns-define-service):
11372 * progmodes/pascal.el (pascal-goto-defun):
11373 * progmodes/js.el (js--read-tab):
11374 * progmodes/etags.el (tags-lazy-completion-table):
11375 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11376 * emacs-lisp/ewoc.el (ewoc--wrap):
11377 * emacs-lisp/assoc.el (aput, adelete, amake):
11378 * doc-view.el (doc-view-convert-current-doc):
11379 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11380
11381 2012-04-26 Chong Yidong <cyd@gnu.org>
11382
11383 * image.el (image-type-from-buffer): Only return supported image
11384 type (Bug#9045).
11385
11386 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11387 value, for symmetry with diff-end-of-hunk.
11388 (diff-split-hunk, diff-find-source-location)
11389 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11390 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11391 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11392 compute the relevant hunk or file properly (Bug#6005).
11393 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11394
11395 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * vc/vc-mtn.el:
11398 * vc/vc-hg.el:
11399 * vc/vc-git.el:
11400 * vc/vc-dir.el:
11401 * vc/vc-cvs.el:
11402 * vc/vc-bzr.el:
11403 * vc/vc-arch.el:
11404 * vc/vc.el: Replace lexical-let by lexical-binding.
11405 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11406 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11407 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11408
11409 2012-04-26 Chong Yidong <cyd@gnu.org>
11410
11411 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11412 (diff-mode-shared-map): Bind it to / and [remap undo].
11413
11414 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11415 (ediff-window-setup-function): Use it as the default, to set up
11416 windows based on whether the current frame is graphical (Bug#2138).
11417 (ediff-choose-window-setup-function-automatically): Make obsolete.
11418
11419 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11420
11421 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11422
11423 * ffap.el: Remove old code for obsolete package.
11424 (ffap-complete-as-file-p): Remove.
11425
11426 Use completion-table-with-quoting for comint and pcomplete.
11427 * comint.el (comint--unquote&requote-argument)
11428 (comint--unquote-argument, comint--requote-argument): New functions.
11429 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11430 (comint-quote-filename): Use regexp-opt-charset.
11431 (comint--common-suffix, comint--common-quoted-suffix)
11432 (comint--table-subvert): Remove.
11433 (comint-unquote-function, comint-requote-function): New vars.
11434 (comint--complete-file-name-data): Use them with
11435 completion-table-with-quoting.
11436 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11437 * pcomplete.el (pcomplete-arg-quote-list)
11438 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11439 (pcomplete-unquote-argument-function): Default to non-nil.
11440 (pcomplete-unquote-argument): Simplify.
11441 (pcomplete--common-quoted-suffix): Remove.
11442 (pcomplete-requote-argument-function): New var.
11443 (pcomplete--common-suffix): New function.
11444 (pcomplete-completions-at-point): Use completion-table-with-quoting
11445 and completion-table-subvert.
11446
11447 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11448 (minibuffer--double-dollars): Preserve properties.
11449 (completion--sifn-requote): New function.
11450 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11451
11452 * minibuffer.el: Add support for completion of quoted/escaped data.
11453 (completion-table-with-quoting, completion-table-subvert): New funs.
11454 (completion--twq-try, completion--twq-all): New functions.
11455 (completion--nth-completion): New function.
11456 (completion-try-completion, completion-all-completions): Use it.
11457
11458 2012-04-25 Leo Liu <sdl.web@gmail.com>
11459
11460 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11461 Use compilation-message if available to find real filename.
11462
11463 2012-04-25 Chong Yidong <cyd@gnu.org>
11464
11465 * vc/diff-mode.el (diff-setup-whitespace): New function.
11466 (diff-mode): Use it.
11467
11468 * vc/diff.el (diff-sentinel):
11469 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11470 Whitespace mode variables based on diff style (Bug#8612).
11471
11472 2012-04-25 Leo Liu <sdl.web@gmail.com>
11473
11474 * progmodes/python.el (python-send-region): Add suffix .py to the
11475 temp file.
11476
11477 * files.el (auto-mode-alist): Use javascript-mode instead.
11478
11479 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11480
11481 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11482
11483 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11484 (soap-resolve-references-for-array-type): Hack to prevent self
11485 references, see Bug#9.
11486 (soap-parse-envelope): Report the contents of the 'detail' node
11487 when receiving a fault reply.
11488 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11489
11490 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11491 (soap-inspect-simple-type): New function.
11492
11493 * net/soap-client.el (soap-simple-type): New struct.
11494 (soap-default-xsd-types, soap-default-soapenc-types)
11495 (soap-decode-basic-type, soap-encode-basic-type):
11496 support unsignedInt and double basic types.
11497 (soap-resolve-references-for-simple-type)
11498 (soap-parse-simple-type, soap-encode-simple-type): New function.
11499 (soap-parse-schema): Parse xsd:simpleType declarations.
11500
11501 * net/soap-client.el (soap-default-xsd-types)
11502 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11503 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11504 the local name of "soapenc:Array".
11505 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11506 decoding integer, byte and anyURI xsd types.
11507
11508 2012-04-25 Chong Yidong <cyd@gnu.org>
11509
11510 * cus-edit.el (custom-buffer-create-internal): Update header text.
11511
11512 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11513
11514 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11515 settings on 'system-type', not on 'window-system'. On MS-Windows,
11516 set interactive-mode on in GDB.
11517
11518 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11521 (ruby-syntax-propertize-regexp): Remove.
11522 (ruby-syntax-propertize-function): Split regexp into chunks.
11523 Match following code directly.
11524
11525 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11526
11527 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11528 (ruby-syntax-propertize-regexp): New function.
11529 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11530 by a special keyword.
11531
11532 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11533 (ruby-syntax-general-delimiters-goto-beg)
11534 (ruby-syntax-propertize-general-delimiters): New functions.
11535 (ruby-syntax-propertize-function): Use them to handle GDL.
11536 (ruby-font-lock-keywords): Move old handling of GDL...
11537 (ruby-font-lock-syntactic-keywords): .. to here.
11538 (ruby-calculate-indent): Adjust indentation for GDL.
11539
11540 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11541
11542 * notifications.el (top): Remove unneeded declarations.
11543 (notifications-specification-version): Change to "1.2".
11544 (notifications-interface, notifications-notify-method)
11545 (notifications-close-notification-method): Fix docstring.
11546 (notifications-get-capabilities-method): New defconst.
11547 (notifications-notify): Add :action-items, :resident and
11548 :transient hints. Change "image_data" to "image-data" and
11549 "image_path" to "image-path".
11550 (notifications-get-capabilities): New defun.
11551
11552 2012-04-24 Leo Liu <sdl.web@gmail.com>
11553
11554 * progmodes/python.el: Move hideshow setup to the end.
11555
11556 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11557
11558 * window.el (handle-select-window): Clear echo area since this is
11559 no more done by read_char (Bug#11304).
11560
11561 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11562
11563 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11564 and `/ M' to filter-derived-mode.
11565 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11566 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11567 (ibuffer-mark-by-mode): Use default rather than initial-input.
11568 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11569
11570 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11571
11572 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11573 (ibuffer-filter-by-derived-mode): New filter.
11574 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11575
11576 2012-04-23 Andreas Politz <politza@fh-trier.de>
11577
11578 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11579
11580 2012-04-23 Chong Yidong <cyd@gnu.org>
11581
11582 * cus-edit.el (customize-apropos, customize-apropos-options):
11583 Disable matching of non-option variables (Bug#11176).
11584 (customize-option, customize-option-other-window)
11585 (customize-changed-options): Doc fix.
11586 (customize-apropos-options, customize-apropos-faces)
11587 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11588
11589 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11590 Fix word list splitting (Bug#11132).
11591 (apropos-symbol, apropos-keybinding, apropos-label)
11592 (apropos-property, apropos-function-button)
11593 (apropos-variable-button, apropos-misc-button): New faces.
11594 (apropos-symbol-face, apropos-keybinding-face)
11595 (apropos-label-face, apropos-property-face, apropos-match-face):
11596 Variables removed (Bug#8396).
11597 (apropos-library-button, apropos-format-plist, apropos-print)
11598 (apropos-print-doc, apropos-describe-plist): Callers changed.
11599
11600 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11601
11602 * net/xesam.el (xesam-mode-map): Use let-bound map in
11603 initialization. (Bug#11292)
11604
11605 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11606
11607 Preserve ispell session localwords when switching back to
11608 original buffer.
11609
11610 * textmodes/ispell.el (ispell-buffer-session-localwords):
11611 New buffer-local variable to hold buffer session localwords.
11612 (ispell-kill-ispell): Add option 'clear to delete session
11613 localwords.
11614 (ispell-command-loop, ispell-change-dictionary)
11615 (ispell-buffer-local-words): Preserve session localwords when
11616 needed.
11617
11618 * textmodes/flyspell.el (flyspell-process-localwords)
11619 (flyspell-do-correct): Preserve session localwords when needed.
11620
11621 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11622
11623 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11624 using obsolete `translation-table-for-input'.
11625 (ispell-word, ispell-process-line, ispell-complete-word):
11626 Use plain `insert' instead of removed `ispell-insert-word'.
11627
11628 2012-04-22 Chong Yidong <cyd@gnu.org>
11629
11630 * cus-edit.el (custom-variable-menu)
11631 (custom-variable-reset-saved, custom-face-menu)
11632 (custom-face-reset-saved): If there is no saved value, make the
11633 "reset-saved" operation bring back the default (Bug#9509).
11634 (custom-face-state): Properly detect themed faces.
11635
11636 * faces.el (face-spec-set): Stop supporting deprecated form of
11637 third arg.
11638
11639 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11640
11641 Move functions from C to Lisp. Make non-blocking method calls
11642 the default. Implement further D-Bus standard interfaces.
11643
11644 * net/dbus.el (dbus-message-internal): Declare function.
11645 Remove unneeded function declarations.
11646 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11647 (dbus-message-type-method-return, dbus-message-type-error)
11648 (dbus-message-type-signal): Declare variables. Remove local
11649 definitions.
11650 (dbus-interface-dbus, dbus-interface-peer)
11651 (dbus-interface-introspectable, dbus-interface-properties)
11652 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11653 Adapt docstring.
11654 (dbus-interface-objectmanager): New defconst.
11655 (dbus-call-method, dbus-call-method-asynchronously)
11656 (dbus-send-signal, dbus-method-return-internal)
11657 (dbus-method-error-internal, dbus-register-service)
11658 (dbus-register-signal, dbus-register-method): New defuns, moved
11659 from dbusbind.c
11660 (dbus-call-method-handler, dbus-setenv)
11661 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11662 New defuns.
11663 (dbus-call-method-non-blocking): Make it an obsolete function.
11664 (dbus-unregister-object, dbus-unregister-service)
11665 (dbus-handle-event, dbus-register-property)
11666 (dbus-property-handler): Obey the new structure of
11667 `bus-registered-objects'.
11668 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11669 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11670 Use `dbus-call-method'.
11671
11672 2012-04-22 Chong Yidong <cyd@gnu.org>
11673
11674 * cus-edit.el (custom-commands, custom-reset-menu)
11675 (Custom-reset-standard): Tweak labels.
11676 (custom-reset-button-menu): Change default to t.
11677 (custom-buffer-create-internal): For the custom-reset-button-menu
11678 case, put the revert button first.
11679 (custom-group-subtitle): New face.
11680 (custom-group-value-create): Align docstring to a specific column.
11681
11682 * wid-edit.el (widget-documentation-link-add): Don't handle
11683 indentation in this function.
11684 (widget-documentation-string-indent-to): New function.
11685 (widget-documentation-string-value-create): Use it.
11686
11687 * autorevert.el (auto-revert):
11688 * epg-config.el (epg):
11689 * ibuffer.el (ibuffer):
11690 * mpc.el (mpc):
11691 * ses.el (ses):
11692 * eshell/eshell.el (eshell):
11693 * net/ange-ftp.el (ange-ftp):
11694 * progmodes/ebnf2ps.el (postscript):
11695 * progmodes/flymake.el (flymake):
11696 * progmodes/prolog.el (prolog):
11697 * progmodes/verilog-mode.el (verilog-mode):
11698 * progmodes/which-func.el (which-func):
11699 * term/xterm.el (xterm):
11700 * textmodes/picture.el (picture):
11701 * textmodes/tildify.el (tildify):
11702 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11703 customization buffers.
11704
11705 2012-04-22 Alan Mackenzie <acm@muc.de>
11706
11707 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11708 Adding a ) can hide the resulting (..) from searches. Fix it.
11709 Bound the backward search to the position of the existing (.
11710
11711 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11712
11713 * progmodes/verilog-mode.el (verilog-mode): Check whether
11714 which-func-modes is t before adding verilog-mode.
11715 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11716
11717 2012-04-21 Leo Liu <sdl.web@gmail.com>
11718
11719 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11720
11721 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11722
11723 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11724 filling of the last column of a table (Bug#5635).
11725 (woman-find-next-control-line): New arg, specifying an additional
11726 regexp component for the control line.
11727 (woman2-roff-buffer): Use it.
11728 (woman-break-table): New function.
11729 (woman2-TS): Use it.
11730
11731 2012-04-21 Chong Yidong <cyd@gnu.org>
11732
11733 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11734 (woman-horizontal-escapes, woman-negative-vertical-space)
11735 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11736 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11737
11738 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11739
11740 * minibuffer.el (completion-file-name-table): Complete user names.
11741
11742 2012-04-20 Leo Liu <sdl.web@gmail.com>
11743
11744 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11745 and pcase-let*.
11746
11747 2012-04-20 Chong Yidong <cyd@gnu.org>
11748
11749 * server.el (server-execute): Respect initial-buffer-choice if it
11750 is a string and there are no files to open (Bug#2825).
11751 (server-create-window-system-frame, server-create-tty-frame):
11752 Don't switch buffers here.
11753 (server-process-filter): Only try to open a window system frame if
11754 compiled with graphical support (Bug#8314).
11755
11756 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11757
11758 * battery.el (battery-echo-area-format): Display remaining time
11759 for sysfs backend too (Bug#11269).
11760 (battery-linux-sysfs): Fix conditional for the charge.
11761
11762 2012-04-20 Chong Yidong <cyd@gnu.org>
11763
11764 * progmodes/gdb-mi.el (gdb): Revert previous change.
11765 (gdb-inferior-io--init-proc): New function.
11766 (gdb-init-1): Use it.
11767 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11768 responsible for allocating a new pty and hooking it to gdb when
11769 the old pty gets an EIO due to process exit.
11770 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11771 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11772 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11773
11774 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11775
11776 * window.el (window-min-size, window-sizable, window-min-delta)
11777 (window-max-delta, window--resizable, window-resizable)
11778 (window-total-size, window-full-height-p, window-full-width-p)
11779 (window-in-direction, window--resize-mini-window, window-resize)
11780 (window--resize-child-windows-normal)
11781 (window--resize-child-windows, window--resize-siblings)
11782 (window--resize-this-window, adjust-window-trailing-edge)
11783 (enlarge-window, shrink-window): Doc fixes.
11784
11785 2012-04-20 Chong Yidong <cyd@gnu.org>
11786
11787 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11788 New function to call delete-process on the gdb-inferior buffer's pty.
11789 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11790 pty process (Bug#11273).
11791 (gdb-update): New arg to suppress talking to the gdb process.
11792 (gdb-done-or-error): Use it.
11793 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11794 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11795 sentinel not being called.
11796
11797 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11798
11799 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11800
11801 2012-04-20 Glenn Morris <rgm@gnu.org>
11802
11803 * net/network-stream.el (open-network-stream): Doc fix.
11804
11805 2012-04-20 Chong Yidong <cyd@gnu.org>
11806
11807 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11808
11809 2012-04-20 Alan Mackenzie <acm@muc.de>
11810
11811 Ensure searching for keywords is case sensitive.
11812
11813 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11814 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11815 (c-defun-name, c-mark-function, c-cpp-define-name)
11816 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11817 (c-context-line-break): Bind case-fold-search to nil.
11818
11819 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11820 Bind case-fold-search to nil.
11821
11822 2012-04-20 Chong Yidong <cyd@gnu.org>
11823
11824 * mail/sendmail.el (mail-bury): Call return action with the right
11825 Rmail buffer (Bug#11242).
11826
11827 * server.el (server-process-filter): Handle corner case where both
11828 tty and nowait options are present (Bug#11102).
11829
11830 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11831
11832 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11833 (top level): Put into the executable the ident-style '$Id:' tag on
11834 windows-nt as well.
11835
11836 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * electric.el (electric-indent-post-self-insert-function): Check that
11839 electric-indent-mode is enabled in current buffer.
11840
11841 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11842
11843 * imenu.el (imenu-progress-message): Restore; it is "used" in
11844 erc/erc-imenu.el and net/snmp-mode.el.
11845
11846 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11847
11848 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11849 (mouse-avoidance-nudge-mouse): Remove unused binding.
11850
11851 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11852
11853 * descr-text.el (describe-char):
11854 * progmodes/python.el (python-describe-symbol):
11855 Don't call `toggle-read-only', set `buffer-read-only'.
11856
11857 * imenu.el (imenu-default-goto-function): Mark unused args.
11858 (imenu-progress-message): Remove obsolete macro; all callers changed.
11859
11860 * subr.el (keymap-canonicalize): Remove unused binding.
11861 (read-passwd): Mark unused arg.
11862
11863 * tutorial.el (tutorial--display-changes): Remove unused binding.
11864 (tutorial--save-tutorial-to): Remove unused variable.
11865
11866 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11867 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11868 (package-generate-autoloads, package-menu--generate)
11869 (package-menu--find-upgrades): Remove unused bindings.
11870
11871 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11872 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11873 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11874 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11875 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11876 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11877 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11878 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11879 (cua-delete-char-rectangle): Mark unused args.
11880 (cua-align-rectangle): Remove unused binding.
11881
11882 * mail/rmail.el (compilation--message->loc)
11883 (epa--find-coding-system-for-mime-charset): Declare.
11884
11885 * net/dbus.el (dbus-register-service): Declare.
11886 (dbus-name-owner-changed-handler): Remove unused binding.
11887
11888 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11889 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11890 (nxml-scan-backward-within): Mark unused arg.
11891 (nxml-dynamic-markup-word): Remove unused binding.
11892
11893 * mouse.el (mouse-menu-major-mode-map):
11894 * emacs-lisp/authors.el (authors-scan-change-log)
11895 (authors-add-to-author-list):
11896 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11897 * emacs-lisp/smie.el (smie-auto-fill):
11898 * mail/sendmail.el (mail-bury):
11899 * mail/unrmail.el (unrmail):
11900 * net/tls.el (open-tls-stream):
11901 * textmodes/picture.el (picture-mouse-set-point):
11902 Remove unused bindings.
11903
11904 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11905
11906 * net/tramp.el (tramp-action-password): Let-bind
11907 `enable-recursive-minibuffers' to t.
11908
11909 2012-04-18 Sam Steingold <sds@gnu.org>
11910
11911 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11912 instead of 'string to accommodate values like [f11].
11913 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11914 * progmodes/gdb-mi.el: Likewise.
11915
11916 2012-04-18 Leo Liu <sdl.web@gmail.com>
11917
11918 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11919 current buffer.
11920 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11921 LOCAL is nil.
11922
11923 2012-04-18 Chong Yidong <cyd@gnu.org>
11924
11925 * simple.el (line-move): Use forward-line if in batch mode
11926 (Bug#11053).
11927
11928 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11929
11930 * files.el (after-find-file): Do not try to add a final newline if
11931 the buffer is read-only (Bug#11156).
11932
11933 2012-04-17 Richard Stallman <rms@gnu.org>
11934
11935 * mail/rmail.el (rmail-start-mail):
11936 Pass (rmail-mail-return...) for the return-action.
11937 Pass (rmail-yank-current-message...) for the yank-action.
11938 (rmail-yank-current-message): New function.
11939 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11940 (rmail-reply): Likewise.
11941 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11942
11943 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11944 buffer, not the last. Reject temp buffers. Use the rmail-mode
11945 buffer, not newbuf.
11946
11947 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11948
11949 * server.el (server-ensure-safe-dir): Simplify.
11950
11951 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11952
11953 * emacs-lisp/smie.el: Provide smarter auto-filling.
11954 (smie-auto-fill): New function.
11955 (smie-setup): Use it.
11956
11957 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11958
11959 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11960
11961 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11962 (comment-indent): Use it.
11963
11964 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11965
11966 * ses.el: The overall change is to add cell renaming, that is
11967 setting fancy names for cell symbols other than name matching
11968 "\\`[A-Z]+[0-9]+\\'" regexp .
11969 (ses-localvars): Add ses--renamed-cell-symb-list.
11970 (ses-create-cell-variable): New defun.
11971 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11972 (ses-relocate-formula): Relocate formulas only for cells the
11973 symbols of which are not renamed, i.e. symbols whose names do not
11974 match regexp "\\`[A-Z]+[0-9]+\\'".
11975 (ses-relocate-all): Relocate values only for cells the symbols of
11976 which are not renamed.
11977 (ses-load): Create cells variables as the (ses-cell ...) are read,
11978 in order to check row col consistency with cell symbol name only
11979 for cells that are not renamed.
11980 (ses-replace-name-in-formula): New defun.
11981 (ses-rename-cell): New defun.
11982
11983 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11984
11985 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11986 New option (bug#11118).
11987 (perl-calculate-indent): Respect it.
11988
11989 2012-04-17 Glenn Morris <rgm@gnu.org>
11990
11991 * dired-aux.el (dired-mark-read-string): Doc fix.
11992
11993 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11994
11995 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11996 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11997
11998 2012-04-17 Glenn Morris <rgm@gnu.org>
11999
12000 * mouse.el (mouse-drag-track):
12001 * speedbar.el (speedbar-frame-mode):
12002 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12003
12004 2012-04-16 Leo Liu <sdl.web@gmail.com>
12005
12006 * progmodes/python.el: Trivial cleanup.
12007
12008 2012-04-16 Glenn Morris <rgm@gnu.org>
12009
12010 * vc/vc.el (vc-string-prefix-p):
12011 * vc/pcvs-util.el (cvs-string-prefix-p):
12012 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12013 * mpc.el (mpc-string-prefix-p):
12014 Make all of these into obsolete aliases for string-prefix-p.
12015 Update callers.
12016 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12017
12018 * textmodes/two-column.el: Move custom options to the start.
12019 (frame-width): Remove compat definition.
12020 (2C-associate-buffer, 2C-dissociate):
12021 Use with-current-buffer rather than save-excursion.
12022 (2C-dissociate): Force a mode-line update.
12023 (2C-autoscroll): Use ignore-errors.
12024
12025 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12026 Autoload trivia.
12027
12028 * emacs-lisp/cl-extra.el (*random-state*):
12029 Remove unnecessary declaration.
12030
12031 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12032
12033 * play/cookie1.el (cookie-snarf):
12034 Give an explicit error if input file cannot be read.
12035
12036 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12037
12038 * progmodes/perl-mode.el (c-macro-expand):
12039 Remove unnecessary autoload (it is in loaddefs.el).
12040
12041 * textmodes/picture.el (picture-desired-column)
12042 (picture-update-desired-column): Convert comments to doc-strings.
12043 (picture-substitute): Remove function.
12044 (picture-mode-map): Initialize in the defvar.
12045
12046 * woman.el: Remove eval-after-load for tar-mode.
12047 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12048 (woman-tar-extract-file): Autoload it.
12049
12050 * frame.el (automatic-hscrolling): Make this alias obsolete.
12051
12052 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12053
12054 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12055 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12056 (ispell-dictionary-base-alist): Revert to original XEmacs
12057 friendly version for default. [:alpha:] will be added in
12058 `ispell-set-spellchecker-params' if needed.
12059
12060 2012-04-16 Chong Yidong <cyd@gnu.org>
12061
12062 * image.el (imagemagick--file-regexp): New variable.
12063 (imagemagick-register-types): Use it.
12064 (imagemagick-types-inhibit): Add :set function. Allow new value
12065 of t to inhibit all types.
12066
12067 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12068 so we can preload it.
12069
12070 * loadup.el (fboundp): Preload regexp-opt, needed by
12071 imagemagick-register-types.
12072
12073 2012-04-15 Chong Yidong <cyd@gnu.org>
12074
12075 * frame.el (scrolling): Remove nearly unused customization group.
12076
12077 * scroll-all.el (scroll-all-mode): Move to windows group.
12078
12079 2012-04-15 Chong Yidong <cyd@gnu.org>
12080
12081 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12082
12083 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12086 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12087
12088 2012-04-15 Glenn Morris <rgm@gnu.org>
12089
12090 * simple.el (process-file-side-effects): Doc fix.
12091
12092 2012-04-15 Glenn Morris <rgm@gnu.org>
12093
12094 * international/mule-cmds.el (set-language-environment): Doc fix.
12095
12096 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12097
12098 * server.el (server-auth-key, server-generate-key): Doc fixes.
12099 (server-get-auth-key): Doc fix. Use `string-match-p'.
12100 (server-start): Reflow docstring.
12101
12102 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12103
12104 * server.el (server-generate-key): `called-interactively-p'
12105 requires a parameter.
12106
12107 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12108
12109 * server.el (server-auth-key): New variable.
12110 (server-generate-key, server-get-auth-key): New function.
12111 (server-start): Use the new variable and functions to allow
12112 setting a permanent server key (bug#9423).
12113
12114 2012-04-14 Leo Liu <sdl.web@gmail.com>
12115
12116 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12117
12118 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12119
12120 Spelling fixes.
12121 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12122 Emacs uses American spelling.
12123
12124 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12125
12126 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12127 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12128 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12129 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12130
12131 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12132
12133 * progmodes/which-func.el (which-func-modes): Change default.
12134
12135 2012-04-14 Kim F. Storm <storm@cua.dk>
12136
12137 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12138 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12139
12140 2012-04-14 Chong Yidong <cyd@gnu.org>
12141
12142 * custom.el (custom-theme-set-variables): Doc fix.
12143
12144 2012-04-14 Glenn Morris <rgm@gnu.org>
12145
12146 * international/mule.el (set-auto-coding-for-load): Doc fix.
12147
12148 2012-04-14 Alan Mackenzie <acm@muc.de>
12149
12150 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12151 imenu work again for Objective C Mode. Correct the *-index values,
12152 these having been disturbed by a previous change in 2011-08.
12153
12154 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12155 Correct two search limits.
12156
12157 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12158
12159 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12160
12161 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12162
12163 * international/characters.el: Fix sorting.
12164
12165 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12166
12167 * international/characters.el: Add more missing Latin case pairs.
12168
12169 2012-04-14 Glenn Morris <rgm@gnu.org>
12170
12171 * files.el (dir-locals-set-class-variables): Doc fix.
12172
12173 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12174
12175 * international/characters.el: Add set-case-syntax-pair call for
12176 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12177 counterpart. (Bug#11209)
12178
12179 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12180
12181 2012-04-14 Glenn Morris <rgm@gnu.org>
12182
12183 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12184
12185 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12186
12187 * textmodes/ispell.el (ispell-dictionary-base-alist):
12188 Add data for Hebrew.
12189
12190 2012-04-14 Chong Yidong <cyd@gnu.org>
12191
12192 * net/rcirc.el (rcirc-cmd-quit):
12193 Revert 2012-03-18 change (Bug#11192).
12194
12195 2012-04-14 Glenn Morris <rgm@gnu.org>
12196
12197 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12198
12199 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12200
12201 * minibuffer.el (completion-in-region-mode-map):
12202 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12203
12204 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12205
12206 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12207
12208 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12209
12210 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12211 to allow `C-M-f' and `C-M-b' to move to the nearest path
12212 separator (bug#9511).
12213
12214 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12215
12216 * avoid.el: Require cl when compiling. And also move the
12217 `provide' to the end.
12218
12219 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12220
12221 * avoid.el (mouse-avoidance-banish-position): New variable.
12222 (mouse-avoidance-banish-destination): Use it (bug#10165).
12223
12224 2012-04-13 Leo Liu <sdl.web@gmail.com>
12225
12226 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12227
12228 2012-04-13 Ken Brown <kbrown@cornell.edu>
12229
12230 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12231 this is no longer needed now that cygstart understands file:// URLs.
12232 (browse-url-filename-alist): For the same reason, don't modify
12233 file:// URLs on Cygwin.
12234
12235 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12238 the region on shift if the binding is already shifted (bug#11221).
12239
12240 2012-04-12 Glenn Morris <rgm@gnu.org>
12241
12242 * mail/mailpost.el: Move to obsolete/.
12243
12244 2012-04-12 Drew Adams <drew.adams@oracle.com>
12245
12246 * imenu.el (imenu--generic-function): Ignore invisible definitions
12247 (bug#10123).
12248
12249 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12250
12251 * hexl.el (hexl-bits): New variable.
12252 (hexl-options): Mention the variable in the doc string.
12253 (hexl-rulerise, hexl-line-displen): New functions.
12254 (hexl-mode): Mention the new variable.
12255 (hexl-mode, hexl-current-address, hexl-current-address):
12256 Use the displen.
12257 (hexl-ascii-start-column): New function.
12258 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12259 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12260
12261 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12262
12263 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12264 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12265 the encoding, as expected by hunspell.
12266
12267 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12268
12269 * battery.el (battery--linux-sysfs-regexp): New const.
12270 (battery-status-function): Use it. Remove yeeloong special case.
12271 (battery-yeeloong-sysfs): Remove.
12272 (battery-echo-area-format): Remove yeeloong special case.
12273
12274 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12277 Reported by Noah Friedman.
12278
12279 * subr.el (read-passwd): Use read-string.
12280
12281 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12282
12283 * vcursor.el (vcursor-move): Increase the priority of the overlay
12284 (bug#9663).
12285
12286 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12287
12288 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12289 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12290
12291 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12292
12293 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12294 define-minor-mode (bug#10760).
12295
12296 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12297
12298 * progmodes/grep.el (rgrep): Tweak the find command line so
12299 that directories matching `grep-find-ignored-files' won't be
12300 pruned (bug#10351).
12301
12302 2012-04-11 Chong Yidong <cyd@gnu.org>
12303
12304 * startup.el (command-line): Remove support for long-obsolete
12305 variable font-lock-face-attributes.
12306
12307 2012-04-11 Glenn Morris <rgm@gnu.org>
12308
12309 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12310
12311 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * window.el (window--state-get-1): Obey window-point-insertion-type.
12314
12315 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12316
12317 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12318 to previous function when point is on the first character of a
12319 function. Take care of that in `narrow-to-defun' (bug#6157).
12320
12321 2012-04-11 Glenn Morris <rgm@gnu.org>
12322
12323 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12324 not just file-errors.
12325
12326 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12327 (vc-bzr-sha1): Use internal sha1.
12328
12329 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12330
12331 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12332
12333 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12334
12335 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12336 that start in the middle of the line (bug#10496).
12337
12338 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12339
12340 * battery.el (battery-linux-proc-acpi): Only one battery is
12341 discharged at a time, but that seems to confuse battery.el when
12342 computing `rate-type' for the battery not being discharged
12343 (bug#10332).
12344
12345 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12348
12349 * international/quail.el: Use dolist and simplify.
12350 (quail-define-package, quail-update-keyboard-layout)
12351 (quail-define-rules): Use dolist.
12352 (quail-insert-kbd-layout, quail-get-translation): CSE.
12353
12354 * tmm.el: Use dolist, remove left over hook.
12355 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12356 Use dolist.
12357 (calendar-load-hook): Don't mess with it.
12358
12359 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12360 Use derived-mode-p. Run the diff asynchronously.
12361
12362 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12363
12364 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12365
12366 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12367
12368 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12369 (list-dynamic-libraries--loaded): New function.
12370 (list-dynamic-libraries--refresh): Use it.
12371
12372 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12373
12374 * progmodes/python.el (python-fill-paragraph):
12375 Make python-fill-region in a multiline string work when font-lock is
12376 disabled (bug#7018).
12377
12378 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12379
12380 * language/european.el (cp775): Add oem/legacy (en)coding on
12381 DOS/MS Windows for the Baltic languages. There are still plenty
12382 of texts written in this encoding/codepage (bug#6519).
12383
12384 2012-04-10 Glenn Morris <rgm@gnu.org>
12385
12386 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12387 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12388
12389 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12390
12391 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12392 next-line "n" and previous-line "p" in order to make recentf more
12393 consistent with ibuffer, dired or org-mode (bug#9387).
12394
12395 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12396
12397 * image.el (put-image): Return the overlay created instead of the
12398 optional input string (bug#7834). Note that this may break code
12399 that is (for some reason or other) depending on `put-image'
12400 returning the string.
12401
12402 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12403
12404 * simple.el (zap-to-char): Allow zapping using input methods
12405 (bug#1580).
12406
12407 * textmodes/fill.el (fill-region): Leave point and mark where they
12408 were before filling (bug#5399).
12409
12410 2012-04-09 Glenn Morris <rgm@gnu.org>
12411
12412 * version.el (emacs-bzr-get-version):
12413 Handle lightweight checkouts of local branches.
12414
12415 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12416
12417 * international/characters.el: Recover lost case pairs. (Bug#11209)
12418
12419 2012-04-09 Chong Yidong <cyd@gnu.org>
12420
12421 * custom.el (custom-variable-p): Return nil for non-symbol
12422 arguments instead of signaling an error.
12423 (user-variable-p): Obsolete alias for custom-variable-p.
12424
12425 * apropos.el (apropos-variable):
12426 * files-x.el (read-file-local-variable):
12427 * simple.el (set-variable):
12428 * woman.el (woman-mini-help):
12429 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12430
12431 2012-04-09 Glenn Morris <rgm@gnu.org>
12432
12433 * startup.el (normal-top-level): Don't look for leim-list.el
12434 in places where it will not be found. (Bug#910)
12435
12436 * international/mule-cmds.el (set-default-coding-systems):
12437 * files.el (normal-mode):
12438 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12439 This function was removed with ucs-tables.el in 2008.
12440
12441 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12442
12443 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12444 ispell-encoding8-command to "-i", without a trailing space.
12445 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12446 separate command-line arguments, to specify the encoding, since
12447 that's how hunspell expects it.
12448
12449 2012-04-08 Glenn Morris <rgm@gnu.org>
12450
12451 * loadup.el: Load bindings before cus-start.
12452 This reduces somewhat the number of "rogue" settings in emacs -Q.
12453
12454 2012-04-07 Glenn Morris <rgm@gnu.org>
12455
12456 * version.el (emacs-bzr-get-version): New function.
12457 (emacs-bzr-version): New variable.
12458 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12459 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12460
12461 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12462
12463 * international/uni-bidi.el, international/uni-category.el:
12464 * international/uni-combining.el, international/uni-decimal.el:
12465 * international/uni-decomposition.el, international/uni-digit.el:
12466 * international/uni-lowercase.el, international/uni-mirrored.el:
12467 * international/uni-name.el, international/uni-numeric.el:
12468 * international/uni-titlecase.el, international/uni-uppercase.el:
12469 Update for Unicode 6.1.
12470
12471 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12472
12473 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12474
12475 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12476
12477 * window.el (shrink-window): Mention the `window-min-height'
12478 variable in the doc string.
12479
12480 2012-04-05 Bastien Guerry <bzg@altern.org>
12481
12482 * color.el (color-lighten-name): Fix typo.
12483
12484 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * server.el (server--on-display-p): New function.
12487 (server--on-display-p): Use it.
12488
12489 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12490
12491 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12492 (bug#11145).
12493
12494 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * comint.el (comint--common-quoted-suffix): Check string boundary
12497 before comparing (bug#11158).
12498 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12499
12500 2012-04-04 Chong Yidong <cyd@gnu.org>
12501
12502 * minibuffer.el (completion-extra-properties): Doc fix.
12503
12504 * subr.el (delayed-warnings-hook): Doc fix.
12505
12506 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12507
12508 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12509 selection (Bug#11159).
12510 (epa-insert-keys): Inform that the default public key will be
12511 exported if no key is selected.
12512
12513 2012-04-04 Richard Stallman <rms@gnu.org>
12514
12515 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12516
12517 2012-04-03 Chong Yidong <cyd@gnu.org>
12518
12519 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12520 mail-insert-file, not its obsolete alias mail-attach-file.
12521
12522 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12523
12524 * notifications.el (notifications-notify): Fix docstring.
12525
12526 2012-04-02 Glenn Morris <rgm@gnu.org>
12527
12528 * emacs-lisp/authors.el (authors-aliases): Another addition.
12529
12530 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12531
12532 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12533 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12534 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12535
12536 2012-04-01 Chong Yidong <cyd@gnu.org>
12537
12538 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12539 Handle root directory properly.
12540 (copy-directory): Caller changed.
12541
12542 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12543 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12544
12545 2012-03-31 Glenn Morris <rgm@gnu.org>
12546
12547 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12548
12549 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12550
12551 * calendar/calendar.el (calendar-window-list)
12552 (calendar-hide-window): Restore. (Bug#11140)
12553 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12554
12555 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12556
12557 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12558
12559 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12560 Check if file is a symlink (Bug#10489).
12561
12562 * files.el (copy-directory): Likewise.
12563
12564 2012-03-30 Chong Yidong <cyd@gnu.org>
12565
12566 * image.el (imagemagick-types-inhibit)
12567 (imagemagick-register-types): Doc fix.
12568
12569 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12570
12571 * textmodes/ispell.el (ispell-get-extended-character-mode):
12572 Disable extended-char-mode for hunspell. hunspell does not support it
12573 and treats ~word as ordinary words in pipe mode.
12574
12575 2012-03-30 Glenn Morris <rgm@gnu.org>
12576
12577 * tutorial.el (help-with-tutorial): Ensure local variables don't
12578 happen to make the buffer read-only. (Bug#11127)
12579
12580 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12581
12582 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12583 (perl-calculate-indent): Return `noindent' in strings.
12584
12585 2012-03-28 Sam Steingold <sds@gnu.org>
12586
12587 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12588 instead of the broken adhockery which does not prevent calendar
12589 buffers from being displayed at random after exit.
12590 (calendar-window-list, calendar-hide-window): Remove the broken
12591 adhockery.
12592
12593 2012-03-28 Glenn Morris <rgm@gnu.org>
12594
12595 * replace.el (query-replace-map): Doc fix.
12596
12597 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12598
12599 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12600 contents. (Bug#11109)
12601
12602 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12605 (bug#11077).
12606 (avl-tree--check, avl-tree--check-node): New funs.
12607
12608 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12609
12610 * window.el (switch-to-visible-buffer): New option.
12611 (switch-to-prev-buffer, switch-to-next-buffer):
12612 Observe switch-to-visible-buffer. Make sure that checking for a window
12613 showing a buffer already is done on the same frame.
12614
12615 2012-03-27 Glenn Morris <rgm@gnu.org>
12616
12617 * startup.el (mail-host-address): Doc fix.
12618
12619 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12622 than 197 variables.
12623
12624 2012-03-26 Ami Fischman <ami@fischman.org>
12625
12626 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12627
12628 2012-03-26 Glenn Morris <rgm@gnu.org>
12629
12630 * files.el (save-buffers-kill-emacs): Doc fix.
12631
12632 * startup.el (normal-top-level, command-line, command-line-1):
12633 Give them doc strings.
12634
12635 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12636
12637 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12638 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12639
12640 2012-03-25 Chong Yidong <cyd@gnu.org>
12641
12642 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12643 theme if it was previously enabled before (Bug#11031).
12644
12645 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12646 spec with custom-face-get-current-spec if its :shown-value is not
12647 determined yet (Bug#9337).
12648 (customize-create-theme, custom-theme-revert): Doc fixes.
12649
12650 * button.el (button-at): Minor addition to docstring.
12651
12652 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12653
12654 * vc/vc.el (vc-merge): Fix a prompt.
12655
12656 2012-03-24 Chong Yidong <cyd@gnu.org>
12657
12658 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12659 point (Bug#9623).
12660
12661 * button.el (button-at): Minor addition to docstring.
12662
12663 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * newcomment.el (comment-choose-indent): No space after BOL.
12666
12667 2012-03-22 Sam Steingold <sds@gnu.org>
12668
12669 * window.el (switch-to-prev-buffer): Revert last patch because the
12670 bug turned out to be an advertised feature (Elisp manual 28.14).
12671
12672 2012-03-22 Glenn Morris <rgm@gnu.org>
12673
12674 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12675 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12676
12677 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12678
12679 * net/network-stream.el (network-stream-open-starttls): Make error
12680 message under Windows be less misleading.
12681
12682 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12683
12684 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12685 understands (bug#9942).
12686
12687 2012-03-22 Chong Yidong <cyd@gnu.org>
12688
12689 * simple.el (end-of-visible-line): Handle return value of
12690 next-single-property-change properly (Bug#9371).
12691
12692 2012-03-22 Kenichi Handa <handa@m17n.org>
12693
12694 * international/quail.el (quail-insert-kbd-layout): Fix previous
12695 change. To avoid unwanted bidi reordering, use
12696 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12697
12698 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12699
12700 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12701 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12702 (ruby-beginning-of-indent): Be more careful with the difference
12703 between word-boundary and symbol boundary.
12704 (ruby-mode-syntax-table): Make : a symbol constituent.
12705
12706 2012-03-21 Andreas Politz <politza@fh-trier.de>
12707
12708 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12709
12710 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * progmodes/etags.el (tags-completion-at-point-function):
12713 Improve last fix.
12714
12715 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12716
12717 2012-03-21 Sam Steingold <sds@gnu.org>
12718
12719 * progmodes/etags.el (tags-completion-at-point-function):
12720 Avoid the error when point is inside the pattern.
12721
12722 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12723
12724 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12725 line (Bug#10855).
12726
12727 2012-03-21 Drew Adams <drew.adams@oracle.com>
12728
12729 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12730
12731 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12732
12733 * ido.el (ido-set-current-directory, ido-read-internal)
12734 (ido-choose-completion-string, ido-completion-help): Handle nil
12735 value of ido-completion-buffer (Bug#11008).
12736
12737 2012-03-21 Sam Steingold <sds@gnu.org>
12738
12739 * window.el (switch-to-prev-buffer): Do not switch to a visible
12740 window previous buffer, just like with the frame previous buffers.
12741
12742 2012-03-21 Chong Yidong <cyd@gnu.org>
12743
12744 * faces.el (make-face, make-empty-face, copy-face):
12745 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12746 Doc fixes.
12747
12748 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12751 (widget-complete): Remove broken use of it.
12752
12753 2012-03-20 Chong Yidong <cyd@gnu.org>
12754
12755 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12756 Use string-width and truncate-string-width to handle arbitrary
12757 characters.
12758
12759 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12760
12761 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12762 to draw rectangles, not squares. (Regression introduced by revno
12763 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12764
12765 2012-03-18 Chong Yidong <cyd@gnu.org>
12766
12767 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12768 it is not yet defined (for temacs).
12769
12770 2012-03-18 Leo Liu <sdl.web@gmail.com>
12771
12772 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12773 prefix.
12774
12775 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12776
12777 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12778 (ispell-choices-win-default-height, ispell-silently-savep)
12779 (ispell-dictionary-alist, ispell-encoding8-command)
12780 (ispell-check-version, ispell-aspell-find-dictionary)
12781 (ispell-valid-dictionary-list, ispell-words-keyword)
12782 (ispell-get-word, ispell-internal-change-dictionary)
12783 (ispell-region, ispell-skip-region-list)
12784 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12785 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12786 (ispell-message-text-end, ispell-message)
12787 (ispell-buffer-local-parsing): Doc fix.
12788
12789 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12790
12791 * htmlfontify.el: Add support for code block fontification for ODT
12792 export (Bug #9914).
12793 (hfy-optimisations): Define new option
12794 `body-text-only'
12795 (hfy-fontify-buffer): Honor above setting.
12796 (hfy-begin-span, hfy-end-span): New routines factored out form
12797 `hfy-fontify-buffer'.
12798 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12799 that permit insertion of custom tags.
12800 (hfy-fontify-buffer): Use above handlers.
12801 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12802 (hfy-face-to-css): Re-defined to be a variable.
12803 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12804 over multiple runs. This is made possible by having the caller let
12805 bind a special variable `hfy-user-sheet-assoc'.
12806 (htmlfontify-string): New defun.
12807 (hfy-compile-face-map): Make sure that the last char in the
12808 buffer is correctly fontified.
12809 (hfy-face-resolve-face): Whitespace only change.
12810
12811 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12812
12813 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12814 message more clear.
12815
12816 2012-03-16 Leo Liu <sdl.web@gmail.com>
12817
12818 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12819
12820 2012-03-16 Alan Mackenzie <acm@muc.de>
12821
12822 Further optimize the handling of large macros.
12823
12824 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12825 limit to a call of `c-literal-limits'.
12826 (c-determine-+ve-limit): New function.
12827 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12828 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12829 In CASE 5B, restrict a search limit to 500.
12830 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12831
12832 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12833 Restrict macro bounds to +-500 from after-change's BEG END.
12834
12835 2012-03-16 Leo Liu <sdl.web@gmail.com>
12836
12837 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12838
12839 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12840
12841 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12842 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12843
12844 2012-03-16 Glenn Morris <rgm@gnu.org>
12845
12846 * view.el (view-buffer, view-buffer-other-window)
12847 (view-buffer-other-frame): Doc fixes re special mode-class.
12848
12849 * subr.el (eval-after-load): If named feature is provided not from
12850 a file, run after-load forms. (Bug#10946)
12851
12852 * calendar/calendar.el (calendar-insert-at-column):
12853 Handle non-unit-width characters a bit better. (Bug#10978)
12854
12855 2012-03-15 Chong Yidong <cyd@gnu.org>
12856
12857 * emacs-lisp/ring.el (ring-extend): New function.
12858 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12859
12860 * comint.el (comint-read-input-ring)
12861 (comint-add-to-input-history): Grow comint-input-ring lazily.
12862
12863 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12864
12865 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12866 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12867
12868 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12869 (imenu-add-to-menubar): Don't add a redundant index.
12870 (imenu-update-menubar): Handle a dynamically composed keymap.
12871
12872 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12873
12874 * mail/sendmail.el (mail-encode-header):
12875 Bind rfc2047-encode-encoded-words to nil.
12876
12877 2012-03-13 Glenn Morris <rgm@gnu.org>
12878
12879 * calendar/calendar.el (calendar-string-spread):
12880 Handle non-unit-width characters a bit better. (Bug#10978)
12881
12882 2012-03-13 Leo Liu <sdl.web@gmail.com>
12883
12884 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12885 directory and file as argument (Bug#10822).
12886
12887 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12888
12889 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12890 For dynamically generated code, follow $PC.
12891 (gdb-disassembly-handler-custom): Handle no function name case.
12892
12893 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12894
12895 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12896 * emulation/ws-mode.el (ws-query-replace):
12897 * sort.el (sort-regexp-fields):
12898 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12899
12900 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * dabbrev.el: Fix cycle completion order (bug#10963).
12903 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12904 (dabbrev-completion): Don't use an obarray; provide
12905 a cycle-sort-function.
12906
12907 2012-03-12 Leo Liu <sdl.web@gmail.com>
12908
12909 * simple.el (kill-new): Use equal-including-properties for comparison.
12910 (kill-do-not-save-duplicates): Doc fix.
12911
12912 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * dabbrev.el: Fix cycle completion (bug#10963).
12915 Use lexical binding and wrap to 80 columns.
12916 (dabbrev-completion): Delay computing the list of completions.
12917
12918 2012-03-12 Kenichi Handa <handa@m17n.org>
12919
12920 * international/quail.el (quail-insert-kbd-layout): Surround each
12921 row by LRO and PDF instead of inserting many LRMs. Pad the left
12922 and right of each non-spacing marks. Insert invisible space
12923 between lower and upper characters to prevent composition.
12924
12925 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * minibuffer.el (minibuffer-complete): Don't get confused when the
12928 function is run twice via different commands (bug#10958).
12929 (complete-with-action): Fix docstring.
12930
12931 2012-03-12 Chong Yidong <cyd@gnu.org>
12932
12933 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12934 (nxml-completion-at-point-function): New function.
12935 (nxml-mode): Use it.
12936 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12937
12938 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12939 Load generated autoloads file before byte compiling (Bug#10970).
12940 (package--make-autoloads-and-compile): New helper fun.
12941
12942 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12943
12944 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12945
12946 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12947
12948 * autorevert.el (auto-revert-handler): Ensure, that
12949 file-readable-p is applied only for local files or in
12950 auto-revert-tail-mode.
12951
12952 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12953
12954 * server.el (server-eval-at): Handle non-tcp connections.
12955 Decode result string.
12956
12957 * server.el (server-msg-size): New constant.
12958 (server-reply-print): New function.
12959 (server-eval-and-print): Use it.
12960 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12961 Handle -print-nonl.
12962
12963 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12964
12965 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12966 (Bug#10987).
12967
12968 2012-03-11 Chong Yidong <cyd@gnu.org>
12969
12970 * simple.el (goto-line): Doc fix (Bug#9938).
12971
12972 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12973
12974 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12975 when finished (Bug#10963).
12976
12977 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12978
12979 * window.el (split-window-below): Fix bug in case where
12980 split-window-keep-point is nil (Bug#10971).
12981
12982 2012-03-11 Juri Linkov <juri@jurta.org>
12983
12984 * replace.el (replace-highlight): Set isearch-word to nil
12985 unconditionally. (Bug#10887)
12986
12987 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12988
12989 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12990 mairix-replace-illegal-chars; all callers changed. Don't remove
12991 ^, ~, and = characters: they are meaningful in mairix search specs.
12992 (mairix-widget-create-query): Add usage information about mairix
12993 search forms: negating words, searching for substrings, etc.
12994
12995 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12996
12997 * international/fontset.el (font-encoding-alist): Add an entry for
12998 ksx1001 (Bug#5667).
12999
13000 2012-03-10 Richard Stallman <rms@gnu.org>
13001
13002 * mail/sendmail.el (mail-encode-header):
13003 Set rfc2047-encode-encoded-words.
13004
13005 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13006
13007 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13008 view buffer means not swapped.
13009 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13010 (rmail-write-region-annotate): Error if real text has disappeared.
13011
13012 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13013
13014 2012-03-10 Chong Yidong <cyd@gnu.org>
13015
13016 * emulation/cua-rect.el (cua--init-rectangles):
13017 * emulation/cua-base.el (cua--init-keymaps):
13018 Add delete-forward-char to remappings (Bug#9666).
13019
13020 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13021
13022 * speedbar.el (speedbar-unhighlight-one-tag-line):
13023 Avoid unhighlighting due to frame switching (Bug#10275).
13024
13025 2012-03-10 Chong Yidong <cyd@gnu.org>
13026
13027 * minibuffer.el (completion-in-region, completion-help-at-point):
13028 Give the completion field overlay a high priority (Bug#6830).
13029
13030 * dired.el (dired-goto-file): Recognize absolute file name
13031 listings (Bug#7126).
13032 (dired-goto-file-1): New helper function.
13033 (dired-toggle-read-only): Inhibit warnings.
13034
13035 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13036
13037 * net/dbus.el (dbus-property-handler): Return empty array if
13038 there are no properties.
13039
13040 2012-03-09 Leo Liu <sdl.web@gmail.com>
13041
13042 * savehist.el (savehist-printable): Stricter check for string
13043 value (Bug#10937).
13044
13045 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13046
13047 * mail/smtpmail.el (smtpmail-send-it):
13048 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13049 valid mbox format.
13050
13051 2012-03-09 Glenn Morris <rgm@gnu.org>
13052
13053 * files.el (dir-locals-find-file):
13054 Don't check result is regular, readable.
13055 (dir-locals-read-from-file): Demote errors.
13056
13057 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13058
13059 * international/quail.el (quail-insert-kbd-layout):
13060 Insert invisible LRM characters before each character in a keyboard
13061 layout cell, to prevent their reordering by bidi display engine.
13062 For details, see the discussion in
13063 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13064
13065 2012-03-08 Alan Mackenzie <acm@muc.de>
13066
13067 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13068 the starting position; make it extend the marked region when
13069 invoked repeatedly - all under appropriate circumstances.
13070 Fixes bugs #5525, #10906.
13071
13072 2012-03-08 Glenn Morris <rgm@gnu.org>
13073
13074 * files.el (locate-dominating-file, dir-locals-find-file):
13075 Undo 2012-03-06 change.
13076
13077 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13078
13079 * international/quail.el (quail-help):
13080 Force bidi-paragraph-direction be left-to-right. See discussion in
13081 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13082 for the reason.
13083
13084 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13085
13086 Avoid superfluous registering of signals. (Bug#10807)
13087
13088 * notifications.el (notifications-on-action-object)
13089 (notifications-on-close-object): New defvars.
13090 (notifications-on-action-signal, notifications-on-closed-signal):
13091 Unregister the signal if not needed any longer.
13092 (notifications-notify): Register `notifications-action-signal' or
13093 `notifications-closed-signal', if :on-action or :on-close has been
13094 passed as argument.
13095
13096 2012-03-07 Chong Yidong <cyd@gnu.org>
13097
13098 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13099 non-X platforms.
13100
13101 2012-03-06 Glenn Morris <rgm@gnu.org>
13102
13103 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13104 (x-disown-selection-internal, x-get-selection-internal):
13105 Doc fix (add arglist signatures). (Bug#10783)
13106
13107 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13108
13109 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13110 Handle breakpoints with no "type".
13111
13112 2012-03-06 Glenn Morris <rgm@gnu.org>
13113
13114 * files.el (locate-dominating-file): Add optional predicate argument.
13115 (dir-locals-find-file): Make use of above change.
13116
13117 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13118
13119 * info.el (Info-insert-dir): Also try "dir.gz".
13120
13121 2012-03-06 Glenn Morris <rgm@gnu.org>
13122
13123 * files.el (dir-locals-find-file):
13124 Ignore non-readable or non-regular files. (Bug#10928)
13125
13126 * files.el (locate-dominating-file): Doc fix.
13127
13128 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13129
13130 * calendar/calendar.el (calendar-set-mode-line):
13131 `getenv' returns a string. (Bug#10951)
13132
13133 2012-03-05 Leo Liu <sdl.web@gmail.com>
13134
13135 * simple.el (backward-delete-char-untabify): Constrain point to
13136 field (Bug#10939).
13137
13138 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13139
13140 2012-03-05 Chong Yidong <cyd@gnu.org>
13141
13142 * simple.el (count-words): If called from Lisp, return the word
13143 count, for symmetry with `count-lines'. Arglist changed.
13144 (count-words--message): Args changed. Consolidate counting code
13145 from count-words and count-words-region.
13146 (count-words-region): Caller changed.
13147 (count-lines-region): Make it an obsolete alias.
13148
13149 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13150
13151 * saveplace.el (save-place-to-alist)
13152 (save-place-ignore-files-regexp): Allow value nil to disable this
13153 feature.
13154
13155 2012-03-04 Chong Yidong <cyd@gnu.org>
13156
13157 * faces.el (face-spec-reset-face): For the default face, reset the
13158 attributes to default values (Bug#10748).
13159
13160 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13161
13162 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13163 previous patch: Check `message-send-mail-function', and not the
13164 default function (bug#10897).
13165
13166 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13167
13168 * notifications.el (notifications-on-action-signal)
13169 (notifications-on-closed-signal): Check for unique service name of
13170 incoming event. Fix error in removing entry.
13171 (top): Register for signals with wildcard service name.
13172 (notifications-notify): Use daemon unique service name for map entries.
13173
13174 2012-03-04 Chong Yidong <cyd@gnu.org>
13175
13176 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13177
13178 2012-03-04 Glenn Morris <rgm@gnu.org>
13179
13180 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13181 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13182 (expand-abbrev, define-abbrev-table): Doc fixes.
13183
13184 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13185
13186 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13187 `message-default-send-mail-function' and not `send-mail-function'
13188 when doing the prompting for `sendmail-query-once' before sending
13189 in Message buffers (bug#10897).
13190
13191 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13192 This is inconsistent with all the other stream functions, which leave
13193 the setting up to the higher levels (if so wanted) (bug#10931).
13194
13195 2012-03-02 Alan Mackenzie <acm@muc.de>
13196
13197 Depessimize the handling of very large macros.
13198
13199 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13200 (c-macro-cache-syntactic): New variables to implement a one
13201 element macro cache.
13202 (c-invalidate-macro-cache): New function.
13203 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13204 Adapt to use the new cache.
13205 (c-state-safe-place): Use better the cache of safe positions.
13206 (c-state-semi-nonlit-pos-cache)
13207 (c-state-semi-nonlit-pos-cache-limit):
13208 New variables for...
13209 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13210 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13211 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13212 Use c-state-semi-safe-place.
13213
13214 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13215 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13216
13217 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13218
13219 * jka-compr.el (jka-compr-call-process):
13220 Apply `file-accessible-directory-p' only when the default directory is
13221 not remote.
13222
13223 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13224
13225 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13226 access of FILE2, if FILE1 does not exist.
13227
13228 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13229 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13230
13231 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13232 Add "PAGER=" to `process-environment'.
13233
13234 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13235
13236 * progmodes/sql.el: Bug fix
13237 (sql-get-login-ext): Save login values in globals.
13238 (sql-get-login): Use new version of `sql-get-login-ext'.
13239 (sql-interactive-mode): Set global `sql-connection' to nil.
13240 (sql-connect): Set global values for connection.
13241 (sql-product-interactive): Save global values as buffer local.
13242
13243 2012-02-29 Leo Liu <sdl.web@gmail.com>
13244
13245 * abbrev.el (define-abbrevs): Reset sys to nil.
13246
13247 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13248
13249 * files.el (file-equal-p): Rename from `files-equal-p'.
13250 Return nil when one or both files don't exist.
13251 (file-subdir-of-p): Now only top directory must exists,
13252 return nil if it doesn't.
13253 (copy-directory): No need to test with `file-subdir-of-p' after
13254 creating dir.
13255 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13256 to `file-equal-p'.
13257
13258 2012-02-28 Glenn Morris <rgm@gnu.org>
13259
13260 * shell.el (shell-mode):
13261 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13262 * play/landmark.el (landmark-font-lock-face-O):
13263 * play/handwrite.el (handwrite):
13264 * play/gomoku.el (gomoku-O):
13265 * net/browse-url.el (browse-url-browser-display):
13266 * international/mule.el (define-charset):
13267 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13268 * filesets.el (filesets-find-file-delay):
13269 * eshell/em-xtra.el (eshell-xtra):
13270 * eshell/em-unix.el (eshell-grep):
13271 * emulation/viper.el (viper-mode):
13272 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13273 * emacs-lisp/easymenu.el (easy-menu-define):
13274 * calendar/timeclock.el (timeclock-use-display-time):
13275 * bs.el (bs-mode):
13276 * bookmark.el (bookmark-save-flag):
13277 Doc fix (standardize possessive apostrophe usage).
13278
13279 2012-02-27 Chong Yidong <cyd@gnu.org>
13280
13281 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13282 Fix key-binding lookup for ESC key (Bug#9146).
13283
13284 * font-lock.el (font-lock-specified-p): Rename from
13285 font-lock-spec-present. Callers changed.
13286
13287 2012-02-27 Daniel Hackney <dan@haxney.org>
13288
13289 * emacs-lisp/package.el (package-compute-transaction):
13290 Handle holding a package version to t in package-load-list.
13291
13292 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13293
13294 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13295 (tramp-get-inode, tramp-get-device): Use cached values.
13296
13297 2012-02-26 Alan Mackenzie <acm@muc.de>
13298
13299 Check there is a font-lock specification before doing initial
13300 fontification.
13301
13302 * font-core.el (font-lock-mode): Move the conditional from
13303 :after-hook to font-lock-initial-fontify.
13304 (font-lock-default-function): Move the check for a specification
13305 to font-lock-spec-present.
13306
13307 * font-lock.el (font-lock-initial-fontify): Call ...
13308 (font-lock-spec-present): New function.
13309
13310 2012-02-26 Jim Blandy <jimb@red-bean.com>
13311
13312 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13313 (gdb-send): Apply it to the operand of the '-interpreter-exec
13314 console' command, so that we can pass arguments with (say) quotes
13315 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13316
13317 2012-02-26 Chong Yidong <cyd@gnu.org>
13318
13319 * help-fns.el (describe-function-1): Clarify description of
13320 remapping (Bug#10844).
13321
13322 * files.el (files-equal-p): Doc fix.
13323 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13324 and quit the loop once a mismatch is found.
13325
13326 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13327
13328 * bs.el (bs--show-with-configuration): Don't throw an error
13329 if the window cannot be split; otherwise, subsequent calls to
13330 bs-show fail, restoring a stale window config. (Bug#10882)
13331
13332 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13333
13334 * term/ns-win.el (global-map): Bind ns-drag-file to
13335 ns-find-file (Bug#5855, Bug#10050).
13336
13337 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13338
13339 * calendar/parse-time.el (parse-time-string): Allow extractor to
13340 return nil.
13341
13342 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13343
13344 * net/tramp.el (tramp-file-name-for-operation):
13345 Add `files-equal-p' and `file-subdir-of-p'.
13346
13347 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13348 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13349 Add COPY-CONTENTS argument.
13350
13351 2012-02-25 Chong Yidong <cyd@gnu.org>
13352
13353 Add custom groups for VC backends, for consistency with vc-bzr.
13354
13355 * vc/vc-arch.el (vc-arch):
13356 * vc/vc-cvs.el (vc-cvs):
13357 * vc/vc-git.el (vc-git):
13358 * vc/vc-hg.el (vc-hg):
13359 * vc/vc-mtn.el (vc-mtn):
13360 * vc/vc-rcs.el (vc-rcs):
13361 * vc/vc-sccs.el (vc-sccs):
13362 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13363 All relevant defcustoms reassigned.
13364
13365 2012-02-25 Chong Yidong <cyd@gnu.org>
13366
13367 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13368
13369 * term/x-win.el (x-initialize-window-system): Reduce default for
13370 x-selection-timeout to 5 seconds (Bug#8869).
13371
13372 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13373
13374 * files.el (files-equal-p, file-subdir-of-p): New functions.
13375 (copy-directory): Error when trying to copy a directory on itself.
13376 Add missing copy-contents arg to tramp handler.
13377 * dired-aux.el (dired-copy-file-recursive): Same.
13378 (dired-create-files): Modify destination when source is equal to
13379 dest when copying files.
13380 Return also when dest is a subdir of source. (Bug#10489)
13381
13382 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13383
13384 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13385 (Bug#10874)
13386
13387 2012-02-23 Alan Mackenzie <acm@muc.de>
13388
13389 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13390 parameter "after-hook:" to allow the expansion to run code after
13391 the execution of the mode hooks.
13392
13393 * font-lock.el (font-lock-initial-fontify): New function extracted
13394 from font-lock-mode-internal.
13395
13396 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13397 :after-hook.
13398
13399 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13402 (completion--cache-all-sorted-completions): New function.
13403 (completion-all-sorted-completions): Use it.
13404 (completion--do-completion, minibuffer-force-complete):
13405 Use it to re-instate the flush hook.
13406
13407 * icomplete.el (icomplete-completions): Replace last fix with a better
13408 one (bug#10850).
13409
13410 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13411
13412 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13413 when it might call us back infinitely (bug#10797).
13414
13415 2012-02-23 Glenn Morris <rgm@gnu.org>
13416
13417 * minibuffer.el (completion-category-overrides): Doc fix.
13418
13419 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13420
13421 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13422 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13423
13424 2012-02-23 Glenn Morris <rgm@gnu.org>
13425
13426 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13427 (authors-obsolete-files-regexps, authors-ignored-files)
13428 (authors-ambiguous-files, authors-renamed-files-alist):
13429 Add more entries.
13430
13431 2012-02-23 Juri Linkov <juri@jurta.org>
13432
13433 * isearch.el (isearch-occur): Sync interactive spec with occur's
13434 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13435
13436 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13437
13438 2012-02-22 Juri Linkov <juri@jurta.org>
13439
13440 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13441 (ucs-insert): Doc fix. Check for hex digits in the string.
13442 Don't display `nil' in the error message. (Bug#10857)
13443
13444 2012-02-22 Alan Mackenzie <acm@muc.de>
13445
13446 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13447
13448 2012-02-22 Glenn Morris <rgm@gnu.org>
13449
13450 * ffap.el (ffap-c-path):
13451 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13452
13453 2012-02-22 Chong Yidong <cyd@gnu.org>
13454
13455 * custom.el (load-theme): Doc fix.
13456
13457 2012-02-22 Glenn Morris <rgm@gnu.org>
13458
13459 * dired-x.el (dired-guess-shell-alist-default):
13460 Remove escape sequences from nroff output. (Bug#172)
13461
13462 2012-02-21 Glenn Morris <rgm@gnu.org>
13463
13464 * vc/emerge.el (emerge-defvar-local):
13465 Set `permanent-local' property rather than unused `preserved'.
13466
13467 * textmodes/picture.el (picture-delete-char): New alias.
13468 (picture-mode-map): Use it. (Bug#10860)
13469 (picture-mode): Doc fix.
13470
13471 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13472
13473 * newcomment.el (uncomment-region-default): Remove unused binding.
13474
13475 2012-02-21 Glenn Morris <rgm@gnu.org>
13476
13477 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13478 (picture-self-insert, picture-tab-chars): Doc fix.
13479 (picture-mode-map): Fix C-a, C-e.
13480
13481 2012-02-20 Glenn Morris <rgm@gnu.org>
13482
13483 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13484
13485 2012-02-20 Leo Liu <sdl.web@gmail.com>
13486
13487 * icomplete.el (icomplete-completions): Check FROM arg before
13488 passing to substring (Bug#10850).
13489
13490 2012-02-19 Chong Yidong <cyd@gnu.org>
13491
13492 * comint.el: Require ansi-color.
13493 (comint-output-filter-functions): Add ansi-color-process-output.
13494
13495 * ansi-color.el: Don't set comint-output-filter-functions; it is
13496 now in the initial value defined in comint.el.
13497 (ansi-color-apply-face-function): New variable.
13498 (ansi-color-apply-on-region): Use it.
13499 (ansi-color-apply-overlay-face): New function.
13500
13501 * shell.el (shell): No need to require ansi-color.
13502 (shell-mode): Use ansi-color-apply-face-function to highlight
13503 color escapes using font-lock-face property (Bug#10835).
13504
13505 2012-02-19 Chong Yidong <cyd@gnu.org>
13506
13507 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13508 mode-line formats (Bug#10839).
13509
13510 2012-02-18 Glenn Morris <rgm@gnu.org>
13511
13512 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13513
13514 * mail/undigest.el (unforward-rmail-message): Doc fix.
13515
13516 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13517
13518 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13519
13520 * international/characters.el (script-list): Sync with the latest
13521 Unicode Character Database.
13522
13523 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13524
13525 * international/titdic-cnv.el: Remove duplicate coding tag.
13526 * language/cham.el: Likewise.
13527 * language/tai-viet.el: Likewise.
13528
13529 2012-02-18 Glenn Morris <rgm@gnu.org>
13530
13531 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13532 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13533 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13534 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13535 * calendar/holidays.el (holiday-bahai-holidays)
13536 (calendar-holidays, list-holidays):
13537 Use utf-8 Bahá'í in doc-strings, menus, etc.
13538
13539 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13540
13541 * saveplace.el (save-place-ignore-files-regexp): New variable
13542 allowing for excluding files from saving their location of point.
13543 The default value matches the temporary commit message editing
13544 files from Git, SVN, Bazaar, and Mercurial.
13545 (save-place-to-alist): Use it.
13546
13547 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13548 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * newcomment.el (uncomment-region-default): Don't leave extra space
13551 when an arg is provided (bug#8150).
13552
13553 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13554
13555 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13556
13557 2012-02-17 Glenn Morris <rgm@gnu.org>
13558
13559 * net/socks.el: Require network-stream. (Bug#10599)
13560
13561 2012-02-17 Kenichi Handa <handa@m17n.org>
13562
13563 * international/charprop.el:
13564 * international/uni-name.el:
13565 * international/uni-old-name.el:
13566 * international/uni-comment.el: Regenerate.
13567
13568 2012-02-16 Glenn Morris <rgm@gnu.org>
13569
13570 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13571 Interactively in calendar buffer, give an error if not on a date.
13572
13573 2012-02-15 Glenn Morris <rgm@gnu.org>
13574
13575 * shell.el (shell-delimiter-argument-list):
13576 Revert 2011-02-17 change. (Bug#8027)
13577
13578 2012-02-15 Chong Yidong <cyd@gnu.org>
13579
13580 * minibuffer.el (completion-at-point-functions): Doc fix.
13581
13582 * custom.el (defcustom): Doc fix; note use of defvar.
13583
13584 2012-02-15 Glenn Morris <rgm@gnu.org>
13585
13586 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13587 Doc fixes.
13588
13589 2012-02-14 Glenn Morris <rgm@gnu.org>
13590
13591 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13592
13593 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13594
13595 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13596 way the ports list is computed.
13597 (smtpmail-query-smtp-server): Prompt the user for a port number if
13598 we can't connect to any of the standard ports (bug#10810).
13599
13600 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13601
13602 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13603
13604 2012-02-13 Glenn Morris <rgm@gnu.org>
13605
13606 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13607
13608 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13609
13610 * net/gnutls.el (gnutls-trustfiles): New variable.
13611 (gnutls-negotiate): Use it.
13612
13613 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13614
13615 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13616 does its stuff if Gnus is running.
13617
13618 2012-02-13 Alan Mackenzie <acm@muc.de>
13619
13620 Fix a loop in c-set-fl-decl-start.
13621
13622 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13623 c-backward-syntactic-ws actually moves backwards.
13624
13625 2012-02-13 Leo Liu <sdl.web@gmail.com>
13626
13627 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13628 beginning so that all \C-o chars are removed.
13629
13630 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13631
13632 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13633
13634 2012-02-12 Alan Mackenzie <acm@muc.de>
13635
13636 Fix infinite loop with long macros.
13637 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13638
13639 2012-02-12 Chong Yidong <cyd@gnu.org>
13640
13641 * window.el (display-buffer): Doc fix (Bug#10785).
13642
13643 2012-02-12 Glenn Morris <rgm@gnu.org>
13644
13645 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13646 (x-disown-selection-internal, x-get-selection-internal):
13647 Sync docs with the xselect.c versions.
13648
13649 * allout-widgets.el: Add missing license notice.
13650
13651 2012-02-11 Glenn Morris <rgm@gnu.org>
13652
13653 * select.el (x-get-selection-internal, x-own-selection-internal)
13654 (x-disown-selection-internal):
13655 * x-dnd.el (x-get-selection-internal): Update declarations.
13656
13657 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13658
13659 * window.el (window-sides-slots):
13660 * tool-bar.el (tool-bar-position):
13661 * term/xterm.el (xterm-extra-capabilities):
13662 * ses.el (ses-self-reference-early-detection):
13663 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13664 (verilog-auto-wire-type)
13665 (verilog-auto-delete-trailing-whitespace)
13666 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13667 (verilog-auto-tieoff-declaration):
13668 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13669 (sql-oracle-statement-starters, sql-oracle-scan-on):
13670 * progmodes/prolog.el (prolog-align-comments-flag)
13671 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13672 (prolog-left-indent-regexp, prolog-paren-indent-p)
13673 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13674 (prolog-types, prolog-mode-specificators)
13675 (prolog-determinism-specificators, prolog-directives)
13676 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13677 (prolog-electric-dot-flag)
13678 (prolog-electric-dot-full-predicate-template)
13679 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13680 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13681 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13682 (prolog-program-switches, prolog-prompt-regexp)
13683 (prolog-debug-on-string, prolog-debug-off-string)
13684 (prolog-trace-on-string, prolog-trace-off-string)
13685 (prolog-zip-on-string, prolog-zip-off-string)
13686 (prolog-use-standard-consult-compile-method-flag)
13687 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13688 (prolog-imenu-max-lines, prolog-info-predicate-index)
13689 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13690 (prolog-char-quote-workaround):
13691 * progmodes/cc-vars.el (c-defun-tactic):
13692 * net/tramp.el (tramp-encoding-command-interactive)
13693 (tramp-local-end-of-line):
13694 * net/soap-client.el (soap-client):
13695 * net/netrc.el (netrc-file):
13696 * net/gnutls.el (gnutls):
13697 * minibuffer.el (completion-category-overrides)
13698 (completion-cycle-threshold)
13699 (completion-pcm-complete-word-inserts-delimiters):
13700 * man.el (Man-name-local-regexp):
13701 * mail/feedmail.el (feedmail-display-full-frame):
13702 * international/characters.el (glyphless-char-display-control):
13703 * eshell/em-ls.el (eshell-ls-date-format):
13704 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13705 (lisp-lambda-list-keyword-parameter-indentation)
13706 (lisp-lambda-list-keyword-parameter-alignment):
13707 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13708 * dired-x.el (dired-omit-verbose):
13709 * cus-theme.el (custom-theme-allow-multiple-selections):
13710 * calc/calc.el (calc-highlight-selections-with-faces)
13711 (calc-lu-field-reference, calc-lu-power-reference)
13712 (calc-note-threshold):
13713 * battery.el (battery-mode-line-limit):
13714 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13715 (archive-7z-update):
13716 * allout.el (allout-prefixed-keybindings)
13717 (allout-unprefixed-keybindings)
13718 (allout-inhibit-auto-fill-on-headline)
13719 (allout-flattened-numbering-abbreviation):
13720 * allout-widgets.el (allout-widgets-auto-activation)
13721 (allout-widgets-icons-dark-subdir)
13722 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13723 (allout-widgets-theme-dark-background)
13724 (allout-widgets-theme-light-background)
13725 (allout-widgets-item-image-properties-emacs)
13726 (allout-widgets-item-image-properties-xemacs)
13727 (allout-widgets-run-unit-tests-on-load)
13728 (allout-widgets-time-decoration-activity)
13729 (allout-widgets-hook-error-post-time)
13730 (allout-widgets-track-decoration):
13731 Add missing :version tags to new defcustoms and defgroups.
13732
13733 * progmodes/sql.el (sql-ansi-statement-starters)
13734 (sql-oracle-statement-starters): Add custom type.
13735
13736 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13737 (prolog-system-version): Give it a type.
13738
13739 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13740
13741 * term/pc-win.el (x-select-text, x-selection-owner-p)
13742 (x-own-selection-internal, x-disown-selection-internal)
13743 (x-get-selection-internal): Sync doc strings and argument lists
13744 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13745
13746 2012-02-11 Leo Liu <sdl.web@gmail.com>
13747
13748 * progmodes/python.el (python-end-of-statement): Fix infinite
13749 loop. (Bug#10788)
13750
13751 2012-02-10 Glenn Morris <rgm@gnu.org>
13752
13753 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13754 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13755
13756 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13757
13758 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13759 about SMTP before checking the From header.
13760
13761 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13762 into own function for reuse by emacsbug.el.
13763
13764 2012-02-10 Leo Liu <sdl.web@gmail.com>
13765
13766 * subr.el (condition-case-unless-debug): Rename from
13767 condition-case-no-debug. All callers changed.
13768 (with-demoted-errors): Fix caller.
13769
13770 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13771 * nxml/rng-valid.el (rng-do-some-validation):
13772 * emacs-lisp/package.el (package-refresh-contents)
13773 (package-menu-execute):
13774 * desktop.el (desktop-create-buffer):
13775 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13776
13777 2012-02-10 Glenn Morris <rgm@gnu.org>
13778
13779 * textmodes/bibtex.el:
13780 Add missing :version tags for new/changed defcustoms.
13781
13782 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13783
13784 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13785
13786 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13787 (smtpmail-via-smtp): Use it, or fall back on the From address.
13788 (smtpmail-send-it): Ditto.
13789
13790 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13791
13792 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13793 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13794 (byte-compile-tmp-var): New const.
13795 (byte-compile-defvar): Use it to minimize .elc size.
13796 Just use `defvar' rather than simulate it (bug#10761).
13797
13798 2012-02-09 Glenn Morris <rgm@gnu.org>
13799
13800 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13801
13802 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13803 Add :version tags.
13804
13805 * progmodes/compile.el (compilation-error-screen-columns)
13806 (compilation-first-column, compilation-filter-start): Doc fixes.
13807
13808 * vc/log-view.el (log-view-toggle-entry-display):
13809 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13810
13811 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13812 (report-emacs-bug-can-use-xdg-email):
13813 (report-emacs-bug-insert-to-mailer): Doc fixes.
13814 (report-emacs-bug): Message fix.
13815
13816 * net/browse-url.el (browse-url-can-use-xdg-open)
13817 (browse-url-xdg-open): Doc fixes.
13818
13819 * electric.el (electric-indent-mode, electric-pair-mode)
13820 (electric-layout-rules, electric-layout-mode): Doc fixes.
13821 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13822
13823 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13824
13825 * server.el (server-unselect-display): Don't inadvertently kill
13826 the current buffer. (Bug#10729)
13827
13828 2012-02-08 Glenn Morris <rgm@gnu.org>
13829
13830 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13831 (sql-list-table): Doc fixes.
13832
13833 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13834 Comment out (does nothing).
13835
13836 * completion.el (dynamic-completion-mode):
13837 * dirtrack.el (dirtrack-debug-mode):
13838 * electric.el (electric-layout-mode):
13839 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13840 * face-remap.el (text-scale-mode, buffer-face-mode):
13841 * iimage.el (iimage-mode):
13842 * image-mode.el (image-transform-mode):
13843 * minibuffer.el (completion-in-region-mode):
13844 * scroll-lock.el (scroll-lock-mode):
13845 * simple.el (next-error-follow-minor-mode):
13846 * tar-mode.el (tar-subfile-mode):
13847 * tooltip.el (tooltip-mode):
13848 * vcursor.el (vcursor-use-vcursor-map):
13849 * wid-browse.el (widget-minor-mode):
13850 * emulation/tpu-edt.el (tpu-edt-mode):
13851 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13852 * international/iso-ascii.el (iso-ascii-mode):
13853 * language/thai-util.el (thai-word-mode):
13854 * mail/supercite.el (sc-minor-mode):
13855 * net/goto-addr.el (goto-address-mode):
13856 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13857 * progmodes/cwarn.el (cwarn-mode):
13858 * progmodes/flymake.el (flymake-mode):
13859 * progmodes/glasses.el (glasses-mode):
13860 * progmodes/hideshow.el (hs-minor-mode):
13861 * progmodes/pascal.el (pascal-outline-mode):
13862 * textmodes/enriched.el (enriched-mode):
13863 * vc/smerge-mode.el (smerge-mode):
13864 Doc fixes (minor mode argument).
13865
13866 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13867
13868 * ls-lisp.el (ls-lisp-sanitize): New function.
13869 (ls-lisp-insert-directory): Use it to fix or remove any elements
13870 in file-alist with missing attributes. (Bug#4673)
13871
13872 2012-02-07 Alan Mackenzie <acm@muc.de>
13873
13874 Fix spurious recognition of c-in-knr-argdecl.
13875
13876 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13877 putative K&R region.
13878
13879 2012-02-07 Alan Mackenzie <acm@muc.de>
13880
13881 * progmodes/cc-engine.el (c-forward-objc-directive):
13882 Prevent looping in "#pragma mark @implementation".
13883
13884 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13885
13886 * notifications.el (notifications-on-closed-signal): Make `reason'
13887 optional. (Bug#10744)
13888
13889 2012-02-07 Glenn Morris <rgm@gnu.org>
13890
13891 * emacs-lisp/easy-mmode.el (define-minor-mode):
13892 Doc fixes for the macro and the mode it defines.
13893
13894 * image.el (imagemagick-types-inhibit): Doc fix.
13895
13896 * cus-start.el (imagemagick-render-type): Add it.
13897
13898 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13899
13900 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13901 Set the default at load time, too, so that `font-lock-fontify-buffer'
13902 can be called without setting up the entire mode first. This fixes
13903 a bug in `mm-inline-text' with C MIME parts.
13904
13905 2012-02-06 Chong Yidong <cyd@gnu.org>
13906
13907 * simple.el (list-processes--refresh): Delete exited processes
13908 (Bug#8094).
13909
13910 * comint.el (comint-next-prompt): next-single-char-property-change
13911 and prev-single-char-property-change never return nil (Bug#8657).
13912
13913 * custom.el (defcustom): Doc fix (Bug#9711).
13914
13915 2012-02-05 Chong Yidong <cyd@gnu.org>
13916
13917 * cus-edit.el (custom-variable-reset-backup): Quote the value
13918 before storing it in the customized-value property (Bug#6712).
13919 (custom-display): Add a customization type tag.
13920 (custom-buffer-create-internal): Improve tooltip message.
13921
13922 * wid-edit.el (widget-field-value-get): New optional arg to
13923 suppress trailing whitespace truncation.
13924 (character): Use it (Bug#2689).
13925
13926 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13927
13928 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13929 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13930
13931 2012-02-05 Chong Yidong <cyd@gnu.org>
13932
13933 * cus-edit.el (custom-variable-value-create): For mismatched
13934 types, show the current value (Bug#7600).
13935
13936 * custom.el (defcustom): Doc fix.
13937
13938 2012-02-05 Glenn Morris <rgm@gnu.org>
13939
13940 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13941
13942 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13943
13944 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13945 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13946 (pp-last-sexp): Use `looking-at-p'.
13947
13948 2012-02-04 Glenn Morris <rgm@gnu.org>
13949
13950 * files.el (revert-buffer):
13951 Doc fix (mention revert-buffer-in-progress-p).
13952
13953 * emacs-lisp/ert-x.el (ert-simulate-command):
13954 Check deferred-action-list (which is obsolete) is bound.
13955
13956 * subr.el (with-wrapper-hook): Doc fixes.
13957
13958 * simple.el (filter-buffer-substring-functions)
13959 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13960
13961 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13962
13963 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13964 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13965
13966 2012-02-04 Leo Liu <sdl.web@gmail.com>
13967
13968 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13969
13970 2012-02-04 Glenn Morris <rgm@gnu.org>
13971
13972 * image.el (image-extension-data): Add obsolete alias.
13973
13974 * isearch.el (isearch-update): Doc fix.
13975
13976 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13977
13978 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13979
13980 2012-02-03 Glenn Morris <rgm@gnu.org>
13981
13982 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13983 (image-animate-timeout): Doc fix.
13984
13985 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13986
13987 2012-02-02 Glenn Morris <rgm@gnu.org>
13988
13989 * server.el (server-auth-dir): Doc fix.
13990 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13991
13992 * subr.el (run-mode-hooks): Doc fix.
13993
13994 2012-02-02 Juri Linkov <juri@jurta.org>
13995
13996 * image-mode.el (image-toggle-display-image): Remove tautological
13997 `major-mode' from the `derived-mode-p' test.
13998
13999 2012-02-02 Kenichi Handa <handa@m17n.org>
14000
14001 * composite.el (compose-region): Cancel previous change.
14002
14003 2012-02-02 Kenichi Handa <handa@m17n.org>
14004
14005 * composite.el (compose-region, compose-string): Signal error for
14006 a null string component (Bug#6988).
14007
14008 2012-02-01 Chong Yidong <cyd@gnu.org>
14009
14010 * view.el (view-buffer-other-window, view-buffer-other-frame):
14011 Handle special modes like view-buffer (Bug#10650).
14012 (view-buffer): Simplify.
14013
14014 * frame.el (set-frame-font): Tweak meaning of third argument.
14015
14016 * dynamic-setting.el (font-setting-change-default-font):
14017 Use set-frame-font (Bug#9982).
14018
14019 2012-02-01 Glenn Morris <rgm@gnu.org>
14020
14021 * progmodes/compile.el (compilation-internal-error-properties):
14022 Respect compilation-first-column in the "*compilation*" buffer.
14023
14024 * emacs-lisp/easy-mmode.el (define-minor-mode):
14025 Relax :variable's test for a named function.
14026
14027 2012-01-31 Alan Mackenzie <acm@muc.de>
14028
14029 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14030 off by one error.
14031
14032 2012-01-31 Chong Yidong <cyd@gnu.org>
14033
14034 * frame.el (set-frame-font): New arg ALL-FRAMES.
14035
14036 * menu-bar.el (menu-set-font): Use set-frame-font.
14037
14038 * faces.el (face-spec-reset-face): Don't apply unspecified
14039 attribute values to the default face.
14040
14041 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14042
14043 * progmodes/cwarn.el (cwarn): Remove dead link.
14044 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14045 Remove * from defcustom docstrings.
14046 (turn-on-cwarn-mode): Make obsolete.
14047 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14048 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14049
14050 2012-01-31 Glenn Morris <rgm@gnu.org>
14051
14052 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14053 Fix :variable handling of mode a symbol not equal to modefun.
14054 Allow named functions to be used as the cdr of :variable.
14055
14056 2012-01-30 Glenn Morris <rgm@gnu.org>
14057
14058 * emacs-lisp/authors.el (authors-fixed-entries):
14059 Remove reference to deleted file rnewspost.el.
14060
14061 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14062
14063 * window.el (window-with-parameter): Remove unused variable `windows'.
14064 (window--side-check): Remove unused variable `code'.
14065 (window--resize-siblings): Remove unused variable `first'.
14066 (adjust-window-trailing-edge): Remove unused variable `failed'.
14067 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14068 Use `let', not `let*'.
14069 (balance-windows-2): Remove unused variable `found'.
14070 (window--state-put-2): Remove unused variable `splits'.
14071 (window-state-put): Remove unused variable `selected'.
14072 (same-window-p): Use `string-match-p'.
14073 (display-buffer-assq-regexp): Remove unused variable `value'.
14074 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14075 Mark argument ALIST as ignored.
14076 (pop-to-buffer): Remove unused variable `old-window'.
14077
14078 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14079
14080 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14081 and .lzma compressed files.
14082
14083 2012-01-29 Chong Yidong <cyd@gnu.org>
14084
14085 * frame.el (window-system-default-frame-alist): Doc fix.
14086
14087 * dynamic-setting.el (font-setting-change-default-font): Don't
14088 change the default face if SET-FONT argument is non-nil (Bug#9982).
14089
14090 2012-01-29 Samuel Bronson <naesten@gmail.com>
14091
14092 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14093
14094 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14095
14096 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14097 breakpoints in files outside current directory (Bug#6098).
14098
14099 2012-01-29 Chong Yidong <cyd@gnu.org>
14100
14101 * progmodes/python.el: Require ansi-color at top-level.
14102
14103 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14104 Define and use in Emacs Lisp mode (Bug#9360).
14105 (lisp-mode-abbrev-table): Add doc.
14106 (lisp-mode-variables): Don't set local-abbrev-table.
14107 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14108
14109 2012-01-28 Roland Winkler <winkler@gnu.org>
14110
14111 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14112
14113 2012-01-28 Roland Winkler <winkler@gnu.org>
14114
14115 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14116 (bibtex-set-dialect): Use it. Either set global values of
14117 dialect-dependent variables or bind these variables buffer-locally
14118 (Bug#10254).
14119 (bibtex-mode): Call bibtex-set-dialect via
14120 hack-local-variables-hook.
14121 (bibtex-dialect): Update docstring.
14122 Add safe-local-variable predicate.
14123 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14124 bibtex-set-dialect.
14125 (bibtex-mode-map): Define menu for each dialect.
14126 (bibtex-entry): Fix docstring.
14127
14128 2012-01-28 Chong Yidong <cyd@gnu.org>
14129
14130 * eshell/esh-arg.el (eshell-quote-argument): New function.
14131
14132 * eshell/esh-ext.el (eshell-invoke-batch-file):
14133 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14134 first arg to eshell-parse-command (Bug#10523).
14135
14136 2012-01-28 Drew Adams <drew.adams@oracle.com>
14137
14138 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14139 `default-directory' is non-nil.
14140
14141 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14142
14143 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14144 line that displays system-configuration-options. (Bug#9924)
14145
14146 2012-01-28 Drew Adams <drew.adams@oracle.com>
14147
14148 * descr-text.el (describe-char): Show information about POS, in
14149 addition to information about the character at POS. Improve and
14150 update the doc string. Change "code point" to "code point in
14151 charset", to avoid confusion with the character's Unicode code
14152 point shown above that. (Bug#10129)
14153
14154 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14155
14156 * descr-text.el (describe-char): Show the raw character, not only
14157 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14158 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14159 for the reasons.
14160
14161 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14162
14163 * emacs-lisp/package.el (package-install):
14164 Run package-refresh-contents if there is no archive yet (Bug#9798).
14165
14166 2012-01-28 Chong Yidong <cyd@gnu.org>
14167
14168 * emacs-lisp/package.el (package-maybe-load-descriptor):
14169 New function, split from package-maybe-load-descriptor.
14170 (package-maybe-load-descriptor): Use it.
14171 (package-download-transaction): Fully load required packages
14172 inside the loop, so that `require' calls work (Bug#10593).
14173 (package-install): No need to call package-initialize now.
14174
14175 2012-01-28 Chong Yidong <cyd@gnu.org>
14176
14177 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14178
14179 * tooltip.el (tooltip-mode): Doc fix.
14180 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14181
14182 * frame.el (set-cursor-color): Doc fix (Bug#352).
14183
14184 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14185 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14186
14187 * cus-edit.el (custom-buffer-create-internal): Fix search button
14188 action (Bug#10542).
14189 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14190
14191 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14192
14193 * dired.el (dired-mark-files-regexp):
14194 Include any subdirectory components. (Bug#10445)
14195
14196 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14197
14198 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14199 Handle [host]:port syntax. (Bug#10533)
14200
14201 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14202
14203 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14204
14205 2012-01-26 Glenn Morris <rgm@gnu.org>
14206
14207 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14208 * term.el (term-raw-escape-map): Use Control-X-prefix.
14209 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14210
14211 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14212
14213 * window.el (window-state-get, window--state-get-1): Don't deal
14214 with fixed-sizeness of windows. Simplify code.
14215
14216 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14217
14218 * window.el (window--state-get-1, window--state-put-2):
14219 Don't save and restore the mark.
14220
14221 2012-01-25 Chong Yidong <cyd@gnu.org>
14222
14223 * custom.el (custom-variable-p): Doc fix.
14224
14225 2012-01-25 Glenn Morris <rgm@gnu.org>
14226
14227 * dired.el (dired-goto-file): Handle some of the more common
14228 characters that `ls -b' escapes. (Bug#10596)
14229
14230 * progmodes/compile.el (compilation-next-error-function):
14231 Respect compilation-first-column in the "*compilation*" buffer.
14232 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14233
14234 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14235
14236 2012-01-24 Glenn Morris <rgm@gnu.org>
14237
14238 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14239
14240 2012-01-24 Julien Danjou <julien@danjou.info>
14241
14242 * color.el (color-rgb-to-hsl): Fix value computing.
14243 (color-hue-to-rgb): New function.
14244 (color-hsl-to-rgb): New function.
14245 (color-clamp, color-saturate-hsl, color-saturate-name)
14246 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14247 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14248
14249 2012-01-24 Glenn Morris <rgm@gnu.org>
14250
14251 * vc/vc-rcs.el (vc-rcs-create-tag):
14252 * vc/vc-sccs.el (vc-sccs-create-tag):
14253 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14254
14255 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14256
14257 * eshell/esh-util.el (eshell-read-hosts-file):
14258 Skip comment lines. (Bug#10549)
14259
14260 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14261
14262 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14263
14264 * subr.el (display-delayed-warnings): Doc fix.
14265 (collapse-delayed-warnings): New function to collapse identical
14266 adjacent warnings.
14267 (delayed-warnings-hook): Add it.
14268
14269 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14270
14271 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14272
14273 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14274 (tramp-default-user-alist): Don't add "pscp".
14275 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14276 property "login-as", if set. (Bug#10530)
14277
14278 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14279
14280 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14281 "plink1" and "psftp". (Bug#10530)
14282
14283 2012-01-21 Kenichi Handa <handa@m17n.org>
14284
14285 * international/mule-cmds.el (prefer-coding-system): Show a
14286 warning message if the default value of file-name-coding-system
14287 was not changed.
14288
14289 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14290
14291 * windmove.el (windmove-reference-loc):
14292 Fix windmove-reference-loc miscalculation.
14293
14294 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14295
14296 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14297 default unit.
14298
14299 2012-01-21 Glenn Morris <rgm@gnu.org>
14300
14301 * international/mule.el (auto-coding-alist): Add .tbz.
14302
14303 * files.el (local-enable-local-variables): Doc fix.
14304 (inhibit-local-variables-regexps): Rename from
14305 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14306 Doc fix. Add some extensions from auto-coding-alist.
14307 (inhibit-local-variables-suffixes):
14308 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14309 (inhibit-local-variables-p):
14310 New function, extracted from set-auto-mode-1.
14311 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14312 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14313 (hack-local-variables): Doc fix. Make the mode-only case
14314 respect enable-local-variables and friends.
14315 Respect inhibit-local-variables-regexps for file-locals, but
14316 not for directory-locals.
14317 (set-visited-file-name):
14318 Take account of inhibit-local-variables-regexps.
14319 Whether it applies may change as the file name is changed.
14320 * jka-cmpr-hook.el (jka-compr-install):
14321 * jka-compr.el (jka-compr-uninstall):
14322 Update for inhibit-first-line-modes-suffixes name change.
14323
14324 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14325
14326 * help-macro.el (make-help-screen): Temporarily restore original
14327 binding for minor-mode-map-alist (Bug#10454).
14328
14329 2012-01-19 Julien Danjou <julien@danjou.info>
14330
14331 * color.el (color-name-to-rgb): Use the white color to find the max
14332 color component value and return correctly computed values.
14333 (color-name-to-rgb): Add missing float conversion for max value.
14334
14335 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14336
14337 * window.el (window--state-get-1, window-state-get): Do not use
14338 special state value for window-persistent-parameters.
14339 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14340 (window--state-put-2): Reset all window parameters to nil before
14341 assigning values of persistent parameters.
14342
14343 2012-01-18 Alan Mackenzie <acm@muc.de>
14344
14345 Eliminate sluggishness and hangs in fontification of "semicolon
14346 deserts".
14347
14348 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14349 Change value 10000 -> 3000.
14350 (c-state-safe-place): Reformulate so it doesn't stack up an
14351 infinite number of wrong entries in c-state-nonlit-pos-cache.
14352 (c-determine-limit-get-base, c-determine-limit): New functions to
14353 determine backward search limits disregarding literals.
14354 (c-find-decl-spots): Amend commenting.
14355 (c-cheap-inside-bracelist-p): New function which detects "={".
14356
14357 * progmodes/cc-fonts.el
14358 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14359 backward search.
14360 (c-font-lock-declarations): Fix an occurrence of point being
14361 undefined. Check additionally for point being in a bracelist or
14362 near a macro invocation without a semicolon so as to avoid a
14363 fruitless time consuming search for a declarator. Give a more
14364 precise search limit for declarators using the new
14365 c-determine-limit.
14366
14367 2012-01-18 Glenn Morris <rgm@gnu.org>
14368
14369 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14370 (set-auto-mode): Doc fixes.
14371
14372 2012-01-17 Glenn Morris <rgm@gnu.org>
14373
14374 * isearch.el (search-nonincremental-instead): Fix doc typo.
14375
14376 * dired.el (dired-insert-directory): Handle newlines in directory name.
14377 (dired-build-subdir-alist): Unescape newlines in directory name.
14378
14379 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14380
14381 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14382 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14383 (tramp-action-terminal): Use it. (Bug#10530)
14384
14385 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14388
14389 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14390
14391 * window.el (window-state-ignored-parameters): Remove variable.
14392 (window--state-get-1): Rename argument MARKERS to IGNORE.
14393 Handle persistent window parameters. Make copy of clone-of
14394 parameter only if requested. (Bug#10348)
14395 (window--state-put-2): Install a window parameter only if it has
14396 a non-nil value or an existing parameter shall be overwritten.
14397
14398 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14399
14400 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14401
14402 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14403
14404 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14405 don't pass the (nil) value of `upnode' to string-match.
14406
14407 2012-01-14 Chong Yidong <cyd@gnu.org>
14408
14409 * startup.el (command-line): Fix X resource class for cursorColor.
14410 Fix values recognized by the cursorBlink resource.
14411
14412 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14413
14414 * epg.el (epg--make-temp-file): Avoid permission race condition
14415 when running on old Emacs versions (bug#10403).
14416
14417 2012-01-14 Glenn Morris <rgm@gnu.org>
14418
14419 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14420
14421 2012-01-13 Alan Mackenzie <acm@muc.de>
14422
14423 Fix filling for when filladapt mode is enabled.
14424
14425 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14426 c-mask-paragraph, pass in `fill-paragraph' rather than
14427 `fill-region-as-paragraph'. (This is a reversion of a previous
14428 change.)
14429 * progmodes/cc-mode.el (c-basic-common-init):
14430 Make fill-paragraph-handle-comment buffer local and set it to nil.
14431
14432 2012-01-13 Glenn Morris <rgm@gnu.org>
14433
14434 * dired.el (dired-switches-escape-p): New function.
14435 (dired-insert-directory): Use dired-switches-escape-p.
14436 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14437
14438 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14439
14440 2012-01-12 Glenn Morris <rgm@gnu.org>
14441
14442 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14443 changes in adaptive-fill-regexp. (Bug#10276)
14444
14445 2012-01-11 Alan Mackenzie <acm@muc.de>
14446
14447 Fix Emacs bug #10463 - put `widen's around the critical spots.
14448
14449 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14450 widen around each invocation of c-state-pp-to-literal. Remove an
14451 unused let variable.
14452
14453 2012-01-11 Glenn Morris <rgm@gnu.org>
14454
14455 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14456 Doc fix.
14457
14458 2012-01-10 Chong Yidong <cyd@gnu.org>
14459
14460 * net/network-stream.el (network-stream-open-starttls):
14461 Avoid emitting a confusing error message when the server gives a bad
14462 response to the capability command.
14463
14464 2012-01-10 Glenn Morris <rgm@gnu.org>
14465
14466 * mail/unrmail.el (unrmail): Tweak previous change.
14467
14468 2012-01-09 Chong Yidong <cyd@gnu.org>
14469
14470 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14471
14472 2012-01-08 Alan Mackenzie <acm@muc.de>
14473
14474 Optimize font locking in long enum definitions.
14475
14476 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14477 arm to a cond form to handle enums.
14478 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14479 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14480
14481 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14482
14483 * files.el (move-file-to-trash): Preserve default file modes on error.
14484 (Bug#10401)
14485
14486 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14487
14488 * faces.el (set-face-attribute): Clarify the meaning of the nil
14489 frame (bug#10294).
14490
14491 * subr.el (with-selected-frame): Mention that the selected frame
14492 is restored (bug#9980).
14493
14494 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14495 (bug#9759).
14496
14497 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14498 (password-read): Don't autoload unused function.
14499
14500 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14501
14502 * progmodes/which-func.el (which-func-mode): Turn into a
14503 non-interactive function and mark as obsolete (bug#10428).
14504
14505 2012-01-06 Chong Yidong <cyd@gnu.org>
14506
14507 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14508 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14509 functions, along with 1 and -1.
14510
14511 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14512
14513 * time.el (display-time-load-average)
14514 (display-time-default-load-average): Doc fixes. See the thread
14515 starting at
14516 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14517 for the details.
14518
14519 2012-01-06 Glenn Morris <rgm@gnu.org>
14520
14521 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14522 has no messages. (Bug#10377)
14523
14524 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14525 than Info-edit. (Bug#10385)
14526
14527 * time.el (display-time-load-average, display-time-next-load-average):
14528 Doc fixes.
14529
14530 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14531 local setting of buffer-read-only to the input buffer. (Bug#10419)
14532
14533 * calendar/calendar.el (calendar-mode):
14534 Locally set scroll-margin to 0. (Bug#10379)
14535
14536 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14537
14538 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14539
14540 2012-01-05 Glenn Morris <rgm@gnu.org>
14541
14542 * eshell/em-unix.el (diff-no-select): Autoload it.
14543 (eshell/diff): Use diff-no-select. (Bug#10420)
14544
14545 2012-01-05 Chong Yidong <cyd@gnu.org>
14546
14547 * shell.el (shell-dynamic-complete-functions): Revert last change.
14548 (shell-command-completion-function): New function.
14549 (shell-completion-vars): Use it to implement
14550 shell-completion-execonly (Bug#10417).
14551
14552 * custom.el (enable-theme): Don't set custom-safe-themes.
14553
14554 * cus-theme.el (custom-theme-merge-theme):
14555 Ignore custom-enabled-themes and custom-safe-themes.
14556
14557 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14558
14559 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14560 first prompt in `sql-interacive-mode'.
14561 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14562 keywords.
14563 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14564 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14565 context of original buffer. Invoke `sql-login-hook'.
14566
14567 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14568
14569 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14570 letters in cite-prefix.
14571
14572 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14573
14574 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14575
14576 2012-01-03 Chong Yidong <cyd@gnu.org>
14577
14578 * shell.el (shell-dynamic-complete-functions):
14579 Put pcomplete-completions-at-point, so as to try
14580 comint-filename-completion first (Bug#10417).
14581
14582 2012-01-02 Richard Stallman <rms@gnu.org>
14583
14584 * battery.el (battery-status-function):
14585 Detect when to use battery-yeeloong-sysfs.
14586 (battery-echo-area-format): Add string for Yeeloong.
14587 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14588 (battery-yeeloong-sysfs): New function.
14589
14590 2012-01-02 Chong Yidong <cyd@gnu.org>
14591
14592 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14593 (dirtrack): Merge code for handling relative filenames in prompt
14594 from shell-dir-cookie-watcher.
14595 (dirtrack-debug-message): New arg to avoid excess format calls.
14596
14597 * shell.el (shell-dir-cookie-re): Variable deleted.
14598 (shell-dir-cookie-watcher): Function deleted.
14599 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14600 with dirtrack-mode.
14601
14602 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14603
14604 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14605 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14606 libgnutls-26.dll.
14607
14608 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14609
14610 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14611
14612 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14613
14614 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14615 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14616
14617 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14618
14619 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14620 also for alternative shells.
14621 (tramp-open-connection-setup-interactive-shell): Check, whether
14622 the shell is a busybox.
14623 (tramp-send-command): Don't suppress multiple prompts for
14624 busyboxes, it hurts.
14625
14626 2011-12-28 Chong Yidong <cyd@gnu.org>
14627
14628 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14629 (gdb-get-source-file): Move mode line update to
14630 gdb-get-source-file (Bug#10087).
14631
14632 2011-12-25 Chong Yidong <cyd@gnu.org>
14633
14634 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14635 gud-gdb-marker-filter without taking it as an argument.
14636 (gud-gdb-run-command-fetch-lines): Caller changed.
14637 (gud-gdb-completion-function): New variable.
14638 (gud-gdb-completion-at-point): Use it.
14639 (gud-gdb-completions-1): Split from gud-gdb-completions.
14640
14641 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14642 function as separate arguments.
14643 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14644 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14645 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14646 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14647 (gdb-stopped, def-gdb-auto-update-trigger)
14648 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14649 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14650 Callers changed.
14651 (gud-gdbmi-completions): New function.
14652 (gdb): Use it for generating the completion table.
14653
14654 2011-12-24 Alan Mackenzie <acm@muc.de>
14655
14656 Introduce a mechanism to widen the region used in context font
14657 locking. Use this to protect declarations from losing their contexts.
14658
14659 * progmodes/cc-langs.el (c-before-font-lock-functions):
14660 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14661 (c-before-context-fontification-functions): New defvar, a list of
14662 functions to be run just before context (etc.) font locking.
14663
14664 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14665 New, functionality extracted from
14666 c-neutralize-syntax-in-and-mark-CPP.
14667 (c-in-after-change-fontification): New variable.
14668 (c-after-change): Set c-in-after-change-fontification.
14669 (c-set-fl-decl-start): Rejig its interface, so it can be called
14670 from both after-change and context fontifying.
14671 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14672 New functions.
14673 (c-standard-font-lock-fontify-region-function): New variable.
14674 (c-font-lock-fontify-region): New function.
14675
14676 2011-12-24 Juri Linkov <juri@jurta.org>
14677
14678 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14679 (Bug#10348)
14680
14681 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14682
14683 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14684 existence of source file. (Bug#10325)
14685
14686 2011-12-23 Alan Mackenzie <acm@muc.de>
14687
14688 Fix unstable fontification inside templates.
14689
14690 * progmodes/cc-langs.el (c-before-font-lock-functions):
14691 Newly created from the singular version. The (c c++ objc) entry now
14692 additionally has c-set-fl-decl-start. The other languages (apart
14693 from AWK) have that as a single entry.
14694
14695 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14696 The functionality for "local" declarations has been extracted to
14697 c-set-fl-decl-start.
14698
14699 * progmodes/cc-mode.el (c-common-init, c-after-change):
14700 Changes due to pluralisation of c-before-font-lock-functions.
14701 (c-set-fl-decl-start): New function, extracted from
14702 c-font-lock-enclosing-decls and enhanced.
14703
14704 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14705
14706 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14707
14708 2011-12-22 Juri Linkov <juri@jurta.org>
14709
14710 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14711
14712 2011-12-22 Chong Yidong <cyd@gnu.org>
14713
14714 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14715
14716 2011-12-21 Drew Adams <drew.adams@oracle.com>
14717
14718 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14719
14720 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14721
14722 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14723
14724 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14725
14726 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14727 highlighting and support. Fix up comments for capitalization.
14728 (cfengine-mode-debug): New var.
14729 (cfengine3-mode): Change the modeline indicator to "CFE3".
14730 (cfengine3-font-lock-keywords): Improve defun highlighting.
14731 (cfengine2-actions): Rename from `cfengine-actions'.
14732 (cfengine2-font-lock-keywords): Rename from
14733 `cfengine-font-lock-keywords'.
14734 (cfengine2-imenu-expression): Rename from
14735 `cfengine-imenu-expression'.
14736 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14737 (cfengine2-beginning-of-defun): Rename from
14738 `cfengine-beginning-of-defun'.
14739 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14740 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14741 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14742 modeline indicator to "CFE2".
14743 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14744 (cfengine-mode-abbrevs): Mark obsolete.
14745
14746 2011-12-21 Chong Yidong <cyd@gnu.org>
14747
14748 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14749 filename argument.
14750
14751 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14752
14753 * window.el (window-normalize-buffer-to-display): Remove.
14754 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14755
14756 2011-12-19 Chong Yidong <cyd@gnu.org>
14757
14758 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14759 Don't signal an error in a predicate function; return non-nil.
14760 (vc-dir-mark-file): Move the error here.
14761 (vc-dir-mark-unmark): If acting on the region, keep going if one
14762 of the entries cannot be marked/unmarked.
14763 (vc-dir-mark-all-files): If current entry is a directory, mark
14764 only child files, as documented.
14765
14766 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14767
14768 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14769 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14770 addition.
14771
14772 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14773
14774 * term/ns-win.el (ns-get-selection-internal)
14775 (ns-store-selection-internal): Declare.
14776 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14777 Declare as obsolete.
14778 (ns-get-pasteboard, ns-paste-secondary):
14779 Use ns-get-selection-internal.
14780 (ns-set-pasteboard, ns-copy-including-secondary):
14781 Use ns-store-selection-internal.
14782
14783 2011-12-17 Chong Yidong <cyd@gnu.org>
14784
14785 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14786 (vc-deduce-fileset): Doc fix.
14787
14788 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14789
14790 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14791
14792 2011-12-13 Sam Steingold <sds@gnu.org>
14793
14794 * man.el (Man-getpage-in-background): When running under a
14795 window-system, ignore $MANWIDTH and $COLUMNS.
14796
14797 2011-12-15 Kenichi Handa <handa@m17n.org>
14798
14799 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14800 (setup-ethiopic-environment-internal): Comment out key-binding for
14801 ethio-toggle-punctuation.
14802
14803 2011-12-13 Alan Mackenzie <acm@muc.de>
14804
14805 Add the switch statement to AWK Mode.
14806
14807 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14808 "default" to the keywords regexp.
14809
14810 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14811 expression as the rest.
14812 (c-nonlabel-token-key): Allow string literals for AWK.
14813 Refactor for the other modes.
14814
14815 Large brace-block initialisation makes CC Mode slow: Fix.
14816 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14817 routines. Limit backward searching in c-font-lock-enclosing.decl.
14818
14819 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14820 pp-state and literal type in addition to the limits.
14821 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14822 (c-state-literal-at): Use the above new defun.
14823 (c-slow-in-literal, c-fast-in-literal): Remove.
14824 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14825
14826 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14827 being in a literal. Add a limit for backward searching.
14828
14829 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14830 c-slow-in-literal.
14831
14832 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14833
14834 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14835
14836 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14837
14838 * window.el (delete-other-windows): Use correct frame in call to
14839 window-with-parameter.
14840
14841 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14842
14843 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14844 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14845 (makefile-gmake-statements, makefile-makepp-statements):
14846 Use it and add new makepp keywords.
14847 (makefile-makepp-font-lock-keywords): Add new patterns.
14848 (makefile-match-function-end): Match new [...] and [[...]].
14849
14850 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14851
14852 * ses.el (ses-call-printer-return, ses-cell-property-get)
14853 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14854 (ses-create-cell-variable, ses-reset-header-string)
14855 (ses-cell-set-formula, ses-repair-cell-reference-all)
14856 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14857 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14858 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14859 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14860 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14861 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14862 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14863 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14864 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14865 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14866 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14867 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14868
14869 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14870
14871 * ses.el: The overall change is to add cell renaming, that is
14872 setting fancy names for cell symbols other than name matching
14873 "\\`[A-Z]+[0-9]+\\'" regexp .
14874 (ses-create-cell-variable): New defun.
14875 (ses-relocate-formula): Relocate formulas only for cells the
14876 symbols of which are not renamed, i.e. symbols whose names do not
14877 match regexp "\\`[A-Z]+[0-9]+\\'".
14878 (ses-relocate-all): Relocate values only for cells the symbols of
14879 which are not renamed.
14880 (ses-load): Create cells variables as the (ses-cell ...) are read,
14881 in order to check row col consistency with cell symbol name only
14882 for cells that are not renamed.
14883 (ses-replace-name-in-formula): New defun.
14884 (ses-rename-cell): New defun.
14885
14886 2011-12-11 Chong Yidong <cyd@gnu.org>
14887
14888 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14889 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14890
14891 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14892
14893 * window.el (other-window): Fix docstring.
14894
14895 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14896
14897 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14898 `from' or `to' address before taking its substring.
14899 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14900 encoded name is chopped in the middle of the encoded string, and
14901 thus displayed encoded.
14902
14903 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14904
14905 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14906
14907 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14908
14909 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14910 to use texinfo-update-node and commands that call it if the
14911 Texinfo file uses @node lines without next/prev/up pointers.
14912 Correct outdated description about texinfo-master-menu.
14913 (texinfo-all-menus-update, texinfo-master-menu)
14914 (texinfo-update-node, texinfo-every-node-update)
14915 (texinfo-multiple-files-update): Doc fix. Warn against updating
14916 all the @node lines.
14917 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14918 argument is numeric. Explain better in the doc string what the
14919 function really does.
14920 (texinfo-insert-master-menu-list): Improve the error message
14921 displayed if there's no menu in the Top node.
14922 (Bug#2975) See also this thread:
14923 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14924
14925 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14926
14927 * speedbar.el (speedbar-supported-extension-expressions):
14928 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14929
14930 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14931
14932 * printing.el (pr-mode-alist):
14933 * simple.el (filter-buffer-substring-functions)
14934 (completion-list-insert-choice-function):
14935 * window.el (window-with-parameter, window-atom-root)
14936 (window-sides-slots, window-size-fixed, window-min-delta)
14937 (window-max-delta, window--resize-mini-window)
14938 (window--resize-child-windows-normal, window-tree)
14939 (delete-other-windows, quit-window, split-window)
14940 (display-buffer-record-window, special-display-buffer-names)
14941 (special-display-regexps, special-display-popup-frame)
14942 (same-window-p, split-window-sensibly)
14943 (display-buffer-overriding-action, display-buffer-alist)
14944 (display-buffer-base-action, display-buffer, switch-to-buffer)
14945 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14946 (fit-window-to-buffer, recenter-positions)
14947 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14948 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14949 and remove unneeded backslashes in docstrings.
14950
14951 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14952
14953 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14954
14955 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14956 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14957 end in ".mk".
14958 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14959 when reading the makefile (bug#10116).
14960
14961 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14962
14963 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14964 (bug#10116).
14965
14966 2011-12-06 Glenn Morris <rgm@gnu.org>
14967
14968 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14969
14970 2011-12-06 Chong Yidong <cyd@gnu.org>
14971
14972 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14973
14974 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14975
14976 * textmodes/table.el (table-shorten-cell): Fix typo.
14977
14978 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14979
14980 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14981
14982 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14983
14984 * descr-text.el (describe-char): Fix display of strong
14985 right-to-left characters and directional embeddings and overrides.
14986
14987 * simple.el (what-cursor-position): Fix display of codepoints of
14988 strong right-to-left characters.
14989
14990 2011-12-05 Chong Yidong <cyd@gnu.org>
14991
14992 * faces.el (read-color): Doc fix.
14993
14994 2011-12-05 Glenn Morris <rgm@gnu.org>
14995
14996 * align.el (align--set-marker): Add doc-string.
14997 Don't try to move something that is not a marker. (Bug#10216)
14998
14999 2011-12-04 Glenn Morris <rgm@gnu.org>
15000
15001 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15002 overly zealous deletion of trailing whitespace.
15003
15004 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15005
15006 * server.el (server-delete-client): On Windows, do not try to delete
15007 the only terminal.
15008 (server-process-filter): On Windows, treat requests for a tty frame as
15009 if they were for a GUI frame if the running server is in GUI mode.
15010
15011 2011-12-03 Glenn Morris <rgm@gnu.org>
15012
15013 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15014
15015 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * electric.el: Streamline electric-indent's hook.
15018 (electric-indent-chars): Revert to simple list.
15019 (electric-indent-functions): New var.
15020 (electric-indent-post-self-insert-function): Use it.
15021
15022 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15023 there's no inferior buffer (bug#10196).
15024 (prolog-consult-compile): Don't use toggle-read-only.
15025
15026 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15027
15028 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15029 interrupt. (Bug#10187)
15030
15031 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15032
15033 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15034 (bug#9160).
15035
15036 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15037 (bug#10191).
15038
15039 2011-12-02 Juri Linkov <juri@jurta.org>
15040
15041 * info.el (Info-search): Display "end of manual" when Isearch
15042 reaches the end of single-file Info manual. (Bug#9918)
15043
15044 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15045
15046 * isearch.el (isearch-message-prefix): Run the input method part
15047 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15048
15049 2011-12-02 Juri Linkov <juri@jurta.org>
15050
15051 * isearch.el (isearch-occur): Use `word-search-regexp' for
15052 `isearch-word'.
15053 (isearch-search-and-update): Add condition for `isearch-word' and
15054 call `word-search-regexp'. (Bug#10145)
15055
15056 2011-12-01 Glenn Morris <rgm@gnu.org>
15057
15058 * eshell/em-hist.el (eshell-hist-initialize):
15059 Handle eshell-history-size nil and HISTSIZE set or unset.
15060 (eshell-history-file-name, eshell-history-size): Fix custom type.
15061
15062 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15063
15064 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15065
15066 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15067
15068 * progmodes/verilog-mode.el (verilog-pretty-expr):
15069 Rework verilog-pretty-expr to handle new assignment operators in system
15070 verilog, such as += *= and the like.
15071 (verilog-assignment-operator-re): Regular expression to find the
15072 assigment operator in a verilog assignment.
15073 (verilog-assignment-operation-re): Regular expression to find an
15074 assignment statement for pretty-expr.
15075 (verilog-in-attribute-p): Query returns true if point is in an
15076 attribute context; used to skip these for expression line up from
15077 pretty-expr.
15078 (verilog-in-parameter-p): Query returns true if point is in an
15079 parameter definition context; used to skip these for expression
15080 line up from pretty-expr.
15081 (verilog-in-parenthesis-p): Query returns true if point is in a
15082 parenthetical expression, specifically ( ) but not [ ] or { };
15083 used by pretty-expr.
15084 (verilog-just-one-space): If there is no space, don't add one.
15085 (verilog-get-lineup-indent-2): Specifically skip just attribute
15086 contexts for expression lineup, rather than skipping all
15087 parenthetical expressions.
15088 (verilog-calculate-indent): Fix comment, and fix indent.
15089 (verilog-do-indent): Indent declarations in lists (suggested by
15090 Joachim Lechner).
15091 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15092 skeleton items.
15093 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15094 by Alain Mellan).
15095
15096 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15097
15098 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15099 parameters with embedded comments. Reported by Ray Stevens.
15100 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15101 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15102 Reported by Tim Holt.
15103 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15104 instantiated by upper module causing wrong expansion until AUTOed a
15105 second time. Reported by K C Buckenmaier.
15106 (verilog-diff-auto): Fix showing .* as a difference when
15107 `verilog-auto-star-save' off. Reported by Dan Dever.
15108 (verilog-auto-reset, verilog-read-always-signals)
15109 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15110 temporary signals in reset list if
15111 verilog-auto-reset-blocking-in-non is nil, and match assignment
15112 style to each signal's assignment type, bug381.
15113 Reported by Thomas Esposito.
15114 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15115 (verilog-uvm-statement-re): Support UVM indentation and
15116 highlighting, with old OVM keywords only.
15117 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15118 Support AUTOTIEOFF creating non-wire data types.
15119 Suggested by Jonathan Greenlaw.
15120 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15121 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15122 (verilog-inject-sense, verilog-read-inst-pins)
15123 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15124 Fix mismatching parenthesis inside commented out code when deleting
15125 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15126 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15127 non-numeric vector width. Reported by Alex Reed.
15128 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15129 detecting signals with parameter widths. Reported by Alex Reed.
15130 (verilog-auto-delete-trailing-whitespace):
15131 With `verilog-auto-delete-trailing-whitespace' remove trailing
15132 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15133 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15134 Fix verilog-scan-cache corruption when running user AUTO expansion
15135 hooks that call indentation routines.
15136 (verilog-simplify-range-expression): Fix typo ignoring lower case
15137 identifiers.
15138 (verilog-delete-auto): Fix delete-autos to also remove user created
15139 automatics, as long as they start with AUTO.
15140 (verilog-batch-diff-auto, verilog-diff-auto)
15141 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15142 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15143 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15144 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15145 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15146 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15147 is disabled and its cache will get corrupt, causing AUTOS not to
15148 expand. Instead use only -quick functions.
15149 (verilog-scan-region): Fix scanning over escaped quotes.
15150 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15151 (verilog-re-search-backward-quick)
15152 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15153 related functions now ignore strings, to fix misparsing of strings
15154 with magic comments embedded in them.
15155 (verilog-read-auto-template):
15156 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15157 Reported by Brad Dobbie.
15158 (verilog-read-auto-template):
15159 Fix 'verilog-auto-inst-template-numbers' with comments.
15160 Reported by Brad Dobbie.
15161 (verilog-auto-inst, verilog-auto-inst-param)
15162 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15163 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15164 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15165 debugging templates without merge conflicts, bug357.
15166 Reported by Brad Dobbie.
15167 (verilog-read-auto-template):
15168 Fix verilog-auto-inst-template-numbers with multiple templates.
15169 Reported by Brad Dobbie.
15170 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15171 abbrevs so user won't be asked to save.
15172 (verilog-read-auto-lisp-present): Fix to start at beginning of
15173 buffer in case called outside of verilog-auto.
15174 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15175 to "X-2". Reported by Matthew Myers.
15176 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15177 all inputs from module templates. Reported by Leith Johnson.
15178 (verilog-module-inside-filename-p): Fix locating programs as with
15179 modules.
15180 (verilog-auto-inst-port): Fix vl-width expressions when using
15181 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15182 (verilog-decls-get-regs, verilog-decls-get-signals,
15183 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15184 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15185 verilog-read-decls): Combine reg and wire structures into one var
15186 structure to represent SystemVerilog concepts.
15187 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15188 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15189 (verilog-auto-wire-type, verilog-insert-definition):
15190 Add verilog-auto-wire-type and AUTOLOGIC to support using
15191 SystemVerilog "logic" keyword instead of "wire"/"reg".
15192 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15193 to declares outputs that also have assignments (presumably in an
15194 ifdef or generate if so there's not a driver conflict).
15195 Reported by Matthew Myers.
15196 (verilog-auto-declare-nettype, verilog-insert-definition):
15197 Add verilog-auto-declare-nettype to fix declarations using
15198 `default_nettype none. Reported by Julian Gorfajn.
15199 (verilog-read-always-signals-recurse, verilog-read-decls)
15200 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15201 malformed end statement, bug325. Reported by Joshua Wise and
15202 Andrew Drake.
15203 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15204 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15205 when expanding .* in interfaces, bug320.
15206 Reported by Pierre-David Pfister.
15207 (verilog-read-module-name): Fix import statements between module
15208 name and open parenthesis, bug317.
15209 Reported by Pierre-David Pfister.
15210 (verilog-simplify-range-expression): Fix simplification of
15211 multiplications inside AUTOWIRE connections, bug303.
15212 (verilog-auto-inst-port): Support parameter expansion in
15213 multidimensional arrays.
15214 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15215 after "assert property". Reported by Julian Gorfajn.
15216 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15217 with multiplication, bug303.
15218 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15219 Reported by Jan Frode Lonnum.
15220
15221 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15222
15223 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15224 (hfy-shell-file-name, hfy-shell):
15225 * international/fontset.el (x-decompose-font-name): Fix typos.
15226
15227 2011-11-29 Ken Brown <kbrown@cornell.edu>
15228
15229 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15230 (gdb-version): Remove defvar.
15231 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15232 (gdb-gud-context-command, gdb-non-stop-handler)
15233 (gdb-current-context-command, gdb-stopped): Use it.
15234 (gdb-init-1): Enable pretty printing here.
15235 (gdb-non-stop-handler): Don't enable pretty-printing here.
15236 Check to see if the target supports non-stop mode; if not, turn off
15237 non-stop mode. Use the following.
15238 (gdb-check-target-async): New defun.
15239 (gud-watch, gdb-stopped): Fix whitespace.
15240 (gdb-get-source-file): Don't try to display the source file if
15241 `gdb-main-file' is nil.
15242
15243 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15244
15245 * align.el: Try to generate fewer markers (bug#10047).
15246 (align--set-marker): New macro.
15247 (align-region): Use it.
15248
15249 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15250
15251 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15252
15253 2011-11-29 Chong Yidong <cyd@gnu.org>
15254
15255 * indent.el (indent-for-tab-command, indent-according-to-mode):
15256 Doc fix.
15257 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15258
15259 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15260
15261 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15262 aware of remote file names. (Bug#10124)
15263
15264 2011-11-29 Chong Yidong <cyd@gnu.org>
15265
15266 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15267
15268 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15269
15270 * files.el (find-file): Don't use force-same-window (bug#10144).
15271 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15272 use pop-to-buffer if the selected window can't be used.
15273 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15274
15275 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15276
15277 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15278 special-mode-map.
15279
15280 2011-11-28 Chong Yidong <cyd@gnu.org>
15281
15282 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15283
15284 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15285
15286 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15287 gdb-get-source-file-list on gdb-create-source-file-list.
15288
15289 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15290
15291 * whitespace.el (whitespace-newline): Use a different foreground
15292 color for 16-color light-background displays.
15293
15294 2011-11-24 Chong Yidong <cyd@gnu.org>
15295
15296 * window.el (display-buffer--special-action): Doc fix.
15297
15298 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15299
15300 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15301 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15302 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15303 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15304 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15305 (avl-tree-stack-first):
15306 * emacs-lisp/cconv.el (cconv--analyse-use):
15307 * net/gnutls.el (gnutls-negotiate): Fix typos.
15308
15309 2011-11-24 Glenn Morris <rgm@gnu.org>
15310
15311 * lpr.el (lpr-windows-system, lpr-lp-system):
15312 * mail/binhex.el (binhex-begin-line):
15313 * progmodes/grep.el (grep-history, grep-find-history):
15314 * textmodes/flyspell.el:
15315 * vc/pcvs-defs.el (cvs-global-menu):
15316 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15317 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15318 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15319
15320 * net/tls.el: Fix case of "GnuTLS".
15321
15322 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15323
15324 * version.el (emacs-build-system): Give it a doc-string.
15325
15326 2011-11-24 Juri Linkov <juri@jurta.org>
15327
15328 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15329
15330 2011-11-24 Glenn Morris <rgm@gnu.org>
15331
15332 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15333 if called on a non-mime message just toggle the headers. (Bug#8006)
15334
15335 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15336
15337 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15338 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15339 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15340 (allout-rebullet-heading, allout-open-sibtopic)
15341 (allout-toggle-current-subtree-encryption)
15342 (allout-toggle-subtree-encryption, allout-encrypt-string)
15343 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15344 (allout-distinctive-bullets-string, allout-auto-activation):
15345 * window.el (window-normalize-buffer-to-display):
15346 * progmodes/verilog-mode.el (verilog-batch-indent):
15347 * textmodes/bibtex.el (bibtex-field-braces-opt)
15348 (bibtex-field-strings-opt):
15349 * vc/cvs-status.el (cvs-tree-merge):
15350 Fix typos.
15351
15352 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15353
15354 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15355 `non-essential' to t, in order to avoid remote connections.
15356
15357 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15358
15359 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15360 On MS-DOS and MS-Windows, compare with loaddefs.el
15361 case-insensitively.
15362
15363 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15364
15365 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15366
15367 2011-11-23 Glenn Morris <rgm@gnu.org>
15368
15369 * paths.el (rmail-file-name): Reformat the doc-string so that it
15370 is picked up.
15371
15372 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15373 (rmail-auto-file): Ignore case in the "special" field names,
15374 as mail-fetch-field does for all others.
15375
15376 * mail/rmail.el (rmail-forward):
15377 * mail/rmailkwd.el (rmail-set-label):
15378 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15379 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15380
15381 * mail/rmail.el (rmail-current-message): Doc fix.
15382
15383 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15384
15385 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15386
15387 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15388
15389 2011-11-22 Glenn Morris <rgm@gnu.org>
15390
15391 * mail/rmailmm.el (test-rmail-mime-handler)
15392 (test-rmail-mime-bulk-handler)
15393 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15394
15395 2011-11-21 Juri Linkov <juri@jurta.org>
15396
15397 * calc/calc.el (calc-read-key-sequence):
15398 Let-bind `input-method-function' to nil. (Bug#10018)
15399
15400 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15401
15402 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15403 Tell the caller that the next line needs recomputation, even
15404 though it doesn't start a sexp (bug#10094).
15405
15406 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15407
15408 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15409
15410 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15411
15412 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15413 Use force-same-window.
15414
15415 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15416
15417 * descr-text.el (describe-char-unicode-data):
15418 * json.el (json-string-escape):
15419 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15420 (Footnote-unicode, Footnote-style-p):
15421 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15422
15423 2011-11-20 Chong Yidong <cyd@gnu.org>
15424
15425 * window.el (replace-buffer-in-windows): Restore interactive spec.
15426
15427 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15428
15429 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15430
15431 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15432 (byte-compile-global-not-obsolete-vars): New var.
15433 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15434 Use it.
15435 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15436
15437 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15438
15439 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15440 * progmodes/pascal.el (electric-pascal-equal):
15441 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15442 * xml.el (xml-substitute-special): Fix typos.
15443
15444 2011-11-20 Glenn Morris <rgm@gnu.org>
15445
15446 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15447 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15448 Doc fixes.
15449 (rmail-decode-mime-charset): Mark as obsolete.
15450
15451 * mail/rmailsum.el (rmail-message-regexp-p-1):
15452 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15453 Before using mime functions, check they are set. (Bug#10077)
15454
15455 2011-11-19 Juri Linkov <juri@jurta.org>
15456
15457 * info.el (Info-finder-find-node): Use `package--builtins' instead
15458 of `package-alist'. Use node names formed by the pattern "Keyword "
15459 and the keyword name.
15460
15461 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15462
15463 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15464
15465 2011-11-19 Juri Linkov <juri@jurta.org>
15466
15467 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15468 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15469 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15470 `old-history', `old-history-forward'. Add let-binding
15471 `window-selected'. Remove calls to `kill-buffer',
15472 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15473 before calling `Info-find-node', so `Info-find-node-2' will reread
15474 the Info file. Restore window positions only when `window-selected'
15475 is non-nil.
15476
15477 2011-11-19 Juri Linkov <juri@jurta.org>
15478
15479 * isearch.el (isearch-lazy-highlight-new-loop):
15480 Remove condition `(not isearch-error)'. (Bug#9918)
15481
15482 * misearch.el (multi-isearch-search-fun): Add condition
15483 `(not bound)' to ignore lazy-highlighting search.
15484 Add the search-failed message "end of multi" when the end of
15485 multi-sequence is reached. Uncapitalize the search-failed
15486 message "Repeat for next buffer".
15487
15488 * info.el (Info-search): Add the search-failed message
15489 "end of the manual" when the end of the manual is reached
15490 in Isearch mode.
15491
15492 2011-11-19 Juri Linkov <juri@jurta.org>
15493
15494 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15495 Use non-destructive `remove' instead of `delete' because
15496 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15497 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15498
15499 2011-11-19 Juri Linkov <juri@jurta.org>
15500
15501 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15502 to nil instead of binding `search-ring' and `regexp-search-ring'.
15503 (Bug#9185)
15504
15505 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15506
15507 * simple.el (line-move): Force movement by logical lines for any
15508 hscrolled window, not only when auto-hscroll-mode is on.
15509 (line-move-visual): Update doc string to that effect. (Bug#10076)
15510
15511 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15512
15513 * language/european.el (macintosh): Define as alias for mac-roman.
15514
15515 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15516
15517 * mail/rmailmm.el (rmail-mime-display-header)
15518 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15519 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15520 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15521 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15522 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15523 of a raw aref.
15524 (rmail-mime-entity-segment): To get past the tagline, move forward
15525 2 more lines, to account for the 2 empty lines that precede and
15526 follow the line with the buttons.
15527 (rmail-mime-update-tagline): Move one more line, to get past the
15528 empty line that follows the buttons in the tagline. (Bug#9520)
15529
15530 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15531
15532 * window.el (window-max-delta-1, window-min-delta-1)
15533 (window-min-size-1, window-state-get-1, window-state-put-1)
15534 (window-state-put-2): Use "window--" prefix.
15535
15536 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15539 (smie-warning-count): New var.
15540 (smie-set-prec2tab): Use it.
15541 (smie-bnf->prec2): Improve warnings. Add docstring.
15542 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15543 (smie-bnf--set-class): New function.
15544 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15545 corner case.
15546
15547 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15548 (compilation-error-properties, compilation-move-to-column):
15549 Handle compilation-first-column while in the target buffer.
15550
15551 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15552 Don't hardcode point-min==1.
15553
15554 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15555 (eshell-rewrite-for-command): Remove workaround.
15556 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15557 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15558 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15559
15560 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15561
15562 2011-11-17 Glenn Morris <rgm@gnu.org>
15563
15564 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15565 Ignore buffer-local generated-autoload-file if it is the same
15566 as the global value. (Bug#10049)
15567
15568 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15569
15570 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15571 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15572 (reftex-toc-previous-heading, reftex-toc-max-level)
15573 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15574 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15575 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15576 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15577 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15578 (reftex-toc-rename-label, reftex-toc-visit-location)
15579 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15580 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15581 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15582 leaving "*toc*" only for references to the buffer.
15583
15584 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15585
15586 * window.el (window-resize, delete-window, split-window):
15587 Replace window-splits by window-combination-resize.
15588 * cus-start.el (window-splits): Replace by window-combination-resize.
15589
15590 2011-11-17 Glenn Morris <rgm@gnu.org>
15591
15592 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15593 Make bash entry derive from sh entry, not shell entry.
15594
15595 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15596
15597 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15598 local file name.
15599
15600 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15601
15602 * menu-bar.el (menu-bar-file-menu):
15603 * printing.el (pr-ps-utility):
15604 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15605 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15606 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15607 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15608 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15609 (icalendar--convert-cyclic-to-ical)
15610 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15611 (icalendar--convert-ical-to-diary)
15612 (icalendar--convert-recurring-to-diary)
15613 (icalendar--convert-non-recurring-all-day-to-diary)
15614 (icalendar-import-format-sample):
15615 * progmodes/idlw-shell.el (idlwave-shell-mode):
15616 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15617 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15618 (vhdl-ps-print-init): Fix typos.
15619
15620 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15621
15622 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15623 FSF and collapse date sequence, obscure author/maintainer email address
15624 better, remove extra version line, track relocation of author's webpage.
15625
15626 * progmodes/python.el (python-pdbtrack-input-prompt)
15627 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15628 regular python pdb prompts. Adjustments shamelessly taken exactly as
15629 suggested in EmacsWiki page (tiny change):
15630 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15631
15632 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15633
15634 * expand.el (expand-pos, expand-index, expand-point):
15635 Remove redundant info from docstring.
15636 (expand-add-abbrevs): Doc fix.
15637 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15638 (expand-sample-perl-mode-expand-list): Fix typos.
15639
15640 * net/dbus.el (dbus-event-member-name):
15641 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15642 * term/pc-win.el (msdos-create-frame-with-faces):
15643 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15644
15645 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15646
15647 * window.el (split-window, window-state-get-1)
15648 (window-state-put-1, window-state-put-2): Rename occurrences of
15649 window-nest to window-combination-limit.
15650 * cus-start.el (window-nest): Rename to window-combination-limit.
15651
15652 2011-11-16 Chong Yidong <cyd@gnu.org>
15653
15654 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15655 regexp (Bug#10033).
15656
15657 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15658
15659 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15660 `completing-read' will remove *Completions* and will preserve
15661 current-buffer for us.
15662 (tmm-add-prompt): Users of *Completions* will always (re)set its
15663 major mode.
15664 (tmm-old-comp-map): Remove.
15665
15666 2011-11-16 Glenn Morris <rgm@gnu.org>
15667
15668 * mail/rmailedit.el: Require rmailmm when compiling.
15669 (rmail-old-mime-state): New declaration.
15670 (rmail-edit-current-message): If editing a mime message,
15671 edit the "raw" message from the mbox buffer.
15672 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15673
15674 2011-11-15 Glenn Morris <rgm@gnu.org>
15675
15676 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15677 which wasn't being used. Add optional arg to force given state.
15678 (rmail-mime): Add optional arg to force given state.
15679
15680 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15681
15682 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15683 * frame.el (display-mm-dimensions-alist):
15684 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15685 (outline-move-subtree-down):
15686 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15687 (newsticker--treeview-do-get-node):
15688 * net/quickurl.el (quickurl-list-buffer-name):
15689 * progmodes/dcl-mode.el (dcl-mode):
15690 * progmodes/gdb-mi.el (gdb-mapcar*):
15691 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15692
15693 2011-11-15 Glenn Morris <rgm@gnu.org>
15694
15695 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15696 in a boolean sense, so just make it a boolean, and fix the doc.
15697 (rmail-show-mime-function, rmail-mime-feature)
15698 (rmail-require-mime-maybe): Doc fixes.
15699 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15700
15701 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15702
15703 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15704
15705 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15706 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15707 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15708 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15709
15710 2011-11-15 Glenn Morris <rgm@gnu.org>
15711
15712 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15713 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15714 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15715 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15716 (rmail-mime, rmail-show-mime): Doc fixes.
15717
15718 * term/ns-win.el (mode-line-frame-identification):
15719 Leave it alone. (Bug#10051)
15720
15721 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15722
15723 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15724 Handle empty buffers. (Bug#9978)
15725
15726 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15727
15728 * international/mule.el (define-charset):
15729 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15730 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15731 * progmodes/verilog-mode.el (verilog-backward-token):
15732 * textmodes/ispell.el (lookup-words):
15733 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15734
15735 2011-11-14 Glenn Morris <rgm@gnu.org>
15736
15737 * progmodes/executable.el
15738 (executable-make-buffer-file-executable-if-script-p):
15739 Handle file-modes returning nil.
15740
15741 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15742 message - not necessary, and causes problems. (Bug#9831)
15743
15744 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15745
15746 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15747
15748 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15749 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15750 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15751
15752 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15753
15754 * window.el (window-resize, delete-window): Use window-splits
15755 variable instead of function.
15756 (window-state-get-1, window-state-put-2, window-state-put):
15757 Don't deal with windows' splits status.
15758
15759 2011-11-12 Glenn Morris <rgm@gnu.org>
15760
15761 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15762 (apropos-documentation): Doc fixes.
15763
15764 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15765
15766 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15767 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15768
15769 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * electric.el (electric-indent-post-self-insert-function): Make it
15772 possible for a char to only indent in some circumstances.
15773 (electric-indent-mode): Simplify.
15774
15775 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15776
15777 * window.el (windows-with-parameter): Remove unused function.
15778 (windows-at-side): Rename to window-at-side-list.
15779 (window-check, window-atom-check, window-atom-check-1)
15780 (window-side-check, window-size-ignore, window-size-fixed-1)
15781 (window-in-direction-2): Prefix with "window--".
15782 (window-tree-1): Rename to window--subtree, fix doc-string.
15783
15784 2011-11-11 Glenn Morris <rgm@gnu.org>
15785
15786 * subr.el (eval-after-load): If FILE is already loaded,
15787 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15788
15789 2011-11-10 Glenn Morris <rgm@gnu.org>
15790
15791 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15792 Call svn via vc-svn-command rather than vc-do-command.
15793 (vc-svn-command): Add --non-interactive. (Bug#9993)
15794 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15795
15796 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15797 Add toggle-read-only. (Bug#7292)
15798 * files.el (toggle-read-only): Mention that it should only
15799 be used interactively. (Bug#10006)
15800
15801 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15802
15803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15804 Adjust regexp for OCaml warnings.
15805
15806 * electric.el (electric-pair-post-self-insert-function): Let user
15807 turn it off buffer-locally (bug#9932).
15808
15809 * progmodes/python.el (python-beginning-of-statement):
15810 Rewrite (bug#2703).
15811
15812 * progmodes/compile.el: Better handle TABs (bug#9749).
15813 (compilation-internal-error-properties)
15814 (compilation-next-error-function): Obey the target buffer's
15815 compilation-error-screen-columns.
15816
15817 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15818
15819 * progmodes/meta-mode.el: Remove obsolete comments.
15820 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15821 Fix typos in docstrings.
15822
15823 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15824
15825 * window.el (window-size-fixed-p): Rewrite doc-string.
15826 (window-resizable-p): Rename to window--resizable-p. Update callers.
15827 (window--resizable): New function. Make all callers of
15828 window-resizable call window--resizable instead.
15829 (window-resizable): Rewrite in terms of window--resizable.
15830
15831 2011-11-08 Glenn Morris <rgm@gnu.org>
15832
15833 * progmodes/delphi.el (delphi-mode-syntax-table):
15834 Let define-derived-mode define a proper syntax table. (Bug#9994)
15835
15836 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15837
15838 * window.el: Stay away from defsubst.
15839 (window-list-no-nils): Remove.
15840 (window-state-get-1, window-state-get): Use backquote instead.
15841
15842 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15843
15844 * emacs-lisp/find-func.el (find-function-read):
15845 Fix incorrect use of default argument in `completing-read'.
15846
15847 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15848
15849 * window.el (display-buffer-function, special-display-function):
15850 Mention display-buffer-record-window but do not mention
15851 help-setup parameter in doc-strings.
15852 (window-min-delta): Fix doc-string typo.
15853
15854 2011-11-08 Chong Yidong <cyd@gnu.org>
15855
15856 * window.el (window-total-height, window-total-width): Doc fix.
15857 (window-body-size): Move from C.
15858 (window-body-height, window-body-width): Move to C.
15859
15860 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * window.el: Make special-display like display-buffer-alist (bug#9532).
15863 (display-buffer--special-action): New function, morphed
15864 from display-buffer--special.
15865 (display-buffer): Use it to handle special-display-buffers at higher
15866 priority (just after display-buffer-alist).
15867 (display-buffer-fallback-action, display-buffer--other-frame-action)
15868 (pop-to-buffer-same-window): Remove display-buffer--special.
15869
15870 2011-11-07 Glenn Morris <rgm@gnu.org>
15871
15872 * calendar/cal-menu.el (cal-menu-set-date-title):
15873 Do nothing if not in a calendar. (Bug#9976)
15874
15875 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15876
15877 * files.el (find-file): Always use selected-window.
15878
15879 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15880
15881 * window.el (window-combinations): Make WINDOW argument
15882 mandatory. Rewrite doc-string.
15883 (walk-window-subtree, window-atom-check, window-min-delta)
15884 (window-max-delta, window--resize-this-window)
15885 (window--resize-root-window-vertically, window-tree)
15886 (balance-windows, window-state-put): Rewrite doc-strings as to
15887 not mention the term "subwindow".
15888 (window--resize-subwindows-skip-p): Rename to
15889 window--resize-child-windows-skip-p.
15890 (window--resize-subwindows-normal): Rename to
15891 window--resize-child-windows-normal.
15892 (window--resize-subwindows): Rename to
15893 window--resize-child-windows.
15894 (window-or-subwindow-p): Rename to window--in-subtree-p.
15895
15896 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15897
15898 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15899 Ensure that mbox format messages end in two newlines (Bug#9974).
15900
15901 2011-11-06 Chong Yidong <cyd@gnu.org>
15902
15903 * window.el (window-combination-p): Function deleted; its
15904 side-effect is not used in any existing code.
15905 (window-combinations, window-combined-p): Call window-*-child
15906 directly.
15907
15908 2011-11-05 Chong Yidong <cyd@gnu.org>
15909
15910 * window.el (window-valid-p): Rename from window-any-p.
15911 (window-size-ignore, window-state-get): Callers changed.
15912 (window-normalize-window): Rename from window-normalize-any-window.
15913 New arg LIVE-ONLY, replacing window-normalize-live-window.
15914 (window-normalize-live-window): Delete.
15915 (window-combination-p, window-combined-p, window-combinations)
15916 (walk-window-subtree, window-atom-root, window-min-size)
15917 (window-sizable, window-sizable-p, window-size-fixed-p)
15918 (window-min-delta, window-max-delta, window-resizable)
15919 (window-resizable-p, window-full-height-p, window-full-width-p)
15920 (window-current-scroll-bars, window-point-1, set-window-point-1)
15921 (window-at-side-p, window-in-direction, window-resize)
15922 (adjust-window-trailing-edge, maximize-window, minimize-window)
15923 (window-deletable-p, delete-window, delete-other-windows)
15924 (record-window-buffer, unrecord-window-buffer)
15925 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15926 (quit-window, split-window, window-state-put)
15927 (set-window-text-height, fit-window-to-buffer)
15928 (shrink-window-if-larger-than-buffer): Callers changed.
15929
15930 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15931
15932 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15933 rfc2047-decode-string.
15934 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15935 warnings.
15936
15937 * window.el (window-body-height, window-body-width): Mention in
15938 the doc string that the return values are in frame's canonical
15939 units. (Bug#9949)
15940
15941 2011-11-03 Alan Mackenzie <acm@muc.de>
15942
15943 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15944 change in cc-engine.el.
15945
15946 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15947
15948 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15949
15950 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15951
15952 * window.el (quit-window): Call unrecord-window-buffer after
15953 showing another buffer in the window. (Bug#9937)
15954 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15955
15956 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15957
15958 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15959 Accept status with more than 9 shelves. (Bug#9935)
15960 Reported by Colin D Bennett <colin@gibibit.com>.
15961
15962 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15963
15964 * help.el (with-help-window): Don't reference
15965 temp-buffer-show-specifiers in doc-string.
15966
15967 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15968
15969 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15970 menu-item.
15971
15972 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15973
15974 * whitespace.el: New version 13.2.2.
15975 (whitespace-newline-mode): Disable properly. Reported by Sarah
15976 <EmacsWiki>.
15977
15978 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15979
15980 * net/newst-treeview.el: Remove "Time-stamp".
15981 (newsticker--group-manage-orphan-feeds): Do not call
15982 newsticker--treeview-tree-update.
15983 (newsticker-treeview-update, newsticker-treeview):
15984 Call newsticker--treeview-tree-update if necessary.
15985
15986 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15987
15988 * window.el (window-iso-combination-p, window-iso-combined-p)
15989 (window-iso-combinations): Remove "iso-" infix.
15990 Suggested by Chong Yidong.
15991 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15992 (window-max-delta-1, window-resize, window--resize-siblings)
15993 (window--resize-this-window, adjust-window-trailing-edge)
15994 (split-window, balance-windows-1)
15995 (shrink-window-if-larger-than-buffer):
15996 * calendar/calendar.el (calendar-generate-window):
15997 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15998
15999 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16000
16001 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16002 in place (bug#9907).
16003 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16004 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16005 (eshell-structure-basic-command, eshell-rewrite-while-command)
16006 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16007 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16008 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16009 (eshell-do-pipelines-synchronously, eshell-eval-command):
16010 Use backquotes and prefer setq to set.
16011 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16012 (eshell-macrop): Use functionp.
16013 (eshell-do-eval): Handle multiple expressions in `while' body.
16014
16015 2011-10-30 Chong Yidong <cyd@gnu.org>
16016
16017 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16018 instead of set-mark (Bug#9810).
16019
16020 2011-10-30 Chong Yidong <cyd@gnu.org>
16021
16022 * window.el (split-window-below, split-window-right): Rename from
16023 split-window-above-each-other and split-window-side-by-side
16024 respectively. All callers changed.
16025 (split-window-sensibly, split-window-sensibly): Use them.
16026 (split-window-keep-point): Doc fix.
16027
16028 * isearch.el: Add isearch-scroll property to split-window-below
16029 and split-window-right.
16030
16031 * follow.el (follow-mode):
16032 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16033 * progmodes/ada-xref.el (ada-gdb-application):
16034 * emulation/vip.el (vip-buffer-in-two-windows):
16035 * image-dired.el (image-dired-dired-with-window-configuration):
16036 * dired-x.el (dired-do-find-marked-files):
16037 * dired.el (dired-pop-to-buffer):
16038 * bs.el (bs--show-with-configuration):
16039 * vc/emerge.el (emerge-setup-windows):
16040 * textmodes/two-column.el (2C-two-columns):
16041 * textmodes/reftex-toc.el (reftex-toc):
16042 * progmodes/gdb-mi.el (gdb-setup-windows):
16043 * progmodes/fortran.el (fortran-window-create):
16044 * net/newst-treeview.el (newsticker--treeview-window-init):
16045 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16046 * emulation/tpu-edt.el (tpu-gold-map):
16047 * emulation/crisp.el (crisp-mode-map):
16048 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16049
16050 2011-10-29 Chong Yidong <cyd@gnu.org>
16051
16052 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16053
16054 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16055
16056 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16057 forged Ispell output (Bug#7904).
16058
16059 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16060
16061 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16062
16063 * doc-view.el: Avoid ugly errors about not finding nil.
16064 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16065 (doc-view-dvipdf-program, doc-view-unoconv-program)
16066 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16067 Avoid nil or absolute file name as default value.
16068 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16069
16070 2011-10-28 Alan Mackenzie <acm@muc.de>
16071
16072 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16073
16074 2011-10-28 Alan Mackenzie <acm@muc.de>
16075
16076 Amend the handling of c-beginning/end-of-defun in nested declaration
16077 scopes.
16078
16079 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16080 cc-langs.el. Change it to a defcustom.
16081
16082 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16083 cc-vars.el.
16084
16085 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16086 Prevent "class foo : bar" being spuriously recognized as a label.
16087
16088 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16089 Add parameter `inclusive' (to include enclosing braces in the region).
16090 (c-widen-to-enclosing-decl-scope): New function.
16091 (c-while-widening-to-decl-block): New macro.
16092 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16093 outward for defun boundaries, and correspondingly change symbol
16094 `respect-enclosure' to `go-outward'.
16095 (c-declaration-limits): Change algorithm to report only the "innermost"
16096 defun's boundaries.
16097
16098 2011-10-28 Deniz Dogan <deniz@dogan.se>
16099
16100 * net/rcirc.el (rcirc-mode): Use hard newlines.
16101
16102 2011-10-28 Alan Mackenzie <acm@muc.de>
16103
16104 Amend to indent and fontify macros "which include their own semicolon"
16105 correctly, using the "virtual semicolon" mechanism.
16106
16107 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16108
16109 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16110 Recode to scan one line at a time rather than having \n and \r
16111 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16112 (c-forward-label): Amend for virtual semicolons.
16113 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16114
16115 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16116 of the new C macros.
16117
16118 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16119 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16120 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16121 (c-opt-cpp-macro-define): Make into a full language variable.
16122 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16123 AWK Mode (including \n, \r) removed, no longer needed.
16124
16125 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16126 Invoke c-make-macro-with-semi-re.
16127
16128 * progmodes/cc-vars.el (c-macro-with-semi-re):
16129 (c-macro-names-with-semicolon): New variables.
16130 (c-make-macro-with-semi-re): New function.
16131
16132 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16133
16134 * vc/log-edit.el: Fill empty field rather than adding new one.
16135 (log-edit-add-field): New function.
16136 (log-edit-insert-changelog): Use it.
16137
16138 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16139
16140 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16141
16142 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16143
16144 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16145 (gdb--check-interpreter): New function.
16146 (gdb): Use it.
16147
16148 2011-10-27 Glenn Morris <rgm@gnu.org>
16149
16150 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16151 (least-positive-float, least-negative-float)
16152 (least-positive-normalized-float, least-negative-normalized-float)
16153 (float-epsilon, float-negative-epsilon):
16154 Remove unnecessary declarations.
16155
16156 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16157 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16158 (least-positive-float, least-negative-float)
16159 (least-positive-normalized-float, least-negative-normalized-float)
16160 (float-epsilon, float-negative-epsilon): Add doc-strings,
16161 based on those in cl.texi.
16162
16163 * files.el (set-visited-file-name): If the major-mode changed,
16164 reload the local variables. (Bug#9796)
16165
16166 2011-10-27 Chong Yidong <cyd@gnu.org>
16167
16168 * subr.el (change-major-mode-after-body-hook): New hook.
16169 (run-mode-hooks): Run it.
16170
16171 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16172 Use change-major-mode-before-body-hook.
16173
16174 * simple.el (fundamental-mode):
16175 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16176 change introducing fundamental-mode-hook.
16177
16178 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16179
16180 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16181
16182 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16183
16184 * ido.el (ido-file-name-all-completions-1): Do not require
16185 tramp.el explicitly. (Bug#7583)
16186
16187 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * progmodes/octave-mod.el:
16190 * progmodes/octave-inf.el: Update maintainer.
16191
16192 2011-10-26 Chong Yidong <cyd@gnu.org>
16193
16194 * subr.el (with-wrapper-hook): Rewrite doc.
16195
16196 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16197
16198 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16199 filenames "/method:foo:". (Bug#9793)
16200
16201 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16202
16203 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16204 (bug#9865).
16205
16206 2011-10-24 Glenn Morris <rgm@gnu.org>
16207
16208 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16209
16210 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16211
16212 * notifications.el: Add the requirement of a running D-Bus session
16213 bus to the Commentary.
16214
16215 2011-10-24 Juri Linkov <juri@jurta.org>
16216
16217 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16218 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16219 (Bug#9364)
16220
16221 2011-10-24 Juri Linkov <juri@jurta.org>
16222
16223 * info.el (Info-following-node-name-re): Add newline to the list
16224 of allowed characters for leading space. (Bug#9824)
16225
16226 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16227
16228 * progmodes/octave-inf.el (inferior-octave-mode-map):
16229 Fix C-c C-h binding.
16230 * progmodes/octave-mod.el (octave-help): Remove.
16231
16232 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16233
16234 Sync with Tramp 2.2.3.
16235
16236 * net/tramp-cache.el (top): Pacify byte-compiler using
16237 `init-file-user' and `site-run-file'.
16238
16239 * net/trampver.el: Update release number.
16240
16241 2011-10-23 Chong Yidong <cyd@gnu.org>
16242
16243 * files.el (toggle-read-only): Remove obsolete comment about
16244 version control.
16245
16246 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16247 for toggle-read-only. Note that this hasn't called vc-next-action
16248 since 2008-05-02, though it wasn't documented at the time.
16249
16250 * vc/ediff-init.el (ediff-toggle-read-only-function):
16251 Use toggle-read-only.
16252
16253 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16254
16255 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16256 of c-parse-state.
16257
16258 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16259 correct faulty logical expression.
16260 (c-parse-state-state, c-record-parse-state-state):
16261 (c-replay-parse-state-state): New defvar/defuns.
16262 (c-debug-parse-state): Use new functions.
16263
16264 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16265
16266 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16267 last fix. Use window-in-direction correctly.
16268
16269 2011-10-21 Chong Yidong <cyd@gnu.org>
16270
16271 * progmodes/idlwave.el (idlwave-mode):
16272 * progmodes/vera-mode.el (vera-mode): No need to set
16273 require-final-newline; that's done in prog-mode.
16274 Suggested by Stefan Monnier.
16275
16276 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16277
16278 * mouse.el (mouse-drag-window-above)
16279 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16280 (mouse-drag-mode-line-1, mouse-drag-header-line)
16281 (mouse-drag-vertical-line-rightward-window): Remove.
16282 (mouse-drag-line): New function.
16283 (mouse-drag-mode-line, mouse-drag-header-line)
16284 (mouse-drag-vertical-line): Call mouse-drag-line.
16285 * window.el (window-at-side-p, windows-at-side): New functions.
16286
16287 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16288
16289 * tar-mode.el (tar-grind-file-mode):
16290 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16291
16292 2011-10-21 Chong Yidong <cyd@gnu.org>
16293
16294 * progmodes/idlwave.el (idlwave-mode):
16295 * progmodes/vera-mode.el (vera-mode):
16296 Use mode-require-final-newline.
16297
16298 2011-10-20 Glenn Morris <rgm@gnu.org>
16299
16300 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16301
16302 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16303
16304 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16305
16306 2011-10-20 Chong Yidong <cyd@gnu.org>
16307
16308 * emulation/cua-base.el (cua-mode):
16309 * mail/footnote.el (footnote-mode):
16310 * mail/mailabbrev.el (mail-abbrevs-mode):
16311 * net/xesam.el (xesam-minor-mode):
16312 * progmodes/bug-reference.el (bug-reference-mode):
16313 * progmodes/cap-words.el (capitalized-words-mode):
16314 * progmodes/compile.el (compilation-minor-mode)
16315 (compilation-shell-minor-mode):
16316 * progmodes/gud.el (gud-tooltip-mode):
16317 * progmodes/hideif.el (hide-ifdef-mode):
16318 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16319 * progmodes/subword.el (subword-mode):
16320 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16321 * progmodes/which-func.el (which-function-mode):
16322 * term/tvi970.el (tvi970-set-keypad-mode):
16323 * term/vt100.el (vt100-wide-mode):
16324 * textmodes/flyspell.el (flyspell-mode):
16325 * textmodes/ispell.el (ispell-minor-mode):
16326 * textmodes/nroff-mode.el (nroff-electric-mode):
16327 * textmodes/paragraphs.el (use-hard-newlines):
16328 * textmodes/refill.el (refill-mode):
16329 * textmodes/reftex.el (reftex-mode):
16330 * textmodes/rst.el (rst-minor-mode):
16331 * textmodes/sgml-mode.el (html-autoview-mode)
16332 (sgml-electric-tag-pair-mode):
16333 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16334 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16335 * emulation/crisp.el (crisp-mode):
16336 * emacs-lisp/eldoc.el (eldoc-mode):
16337 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16338 minor mode behavior.
16339
16340 2011-10-19 Juri Linkov <juri@jurta.org>
16341
16342 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16343 the list of hard-coded chars with escape-glyph face.
16344
16345 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16346
16347 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16348
16349 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16350
16351 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16352 running process.
16353
16354 2011-10-19 Glenn Morris <rgm@gnu.org>
16355
16356 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16357 Ignore ignored files. (Bug#9726)
16358
16359 2011-10-19 Chong Yidong <cyd@gnu.org>
16360
16361 Doc fix for minor modes, stating that an omitted argument enables
16362 the mode unconditionally when called from Lisp.
16363
16364 * abbrev.el (abbrev-mode):
16365 * allout.el (allout-mode):
16366 * autoinsert.el (auto-insert-mode):
16367 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16368 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16369 (global-auto-revert-mode):
16370 * battery.el (display-battery-mode):
16371 * composite.el (global-auto-composition-mode)
16372 (auto-composition-mode):
16373 * delsel.el (delete-selection-mode):
16374 * desktop.el (desktop-save-mode):
16375 * dired-x.el (dired-omit-mode):
16376 * dirtrack.el (dirtrack-mode):
16377 * doc-view.el (doc-view-minor-mode):
16378 * double.el (double-mode):
16379 * electric.el (electric-indent-mode, electric-pair-mode):
16380 * emacs-lock.el (emacs-lock-mode):
16381 * epa-hook.el (auto-encryption-mode):
16382 * follow.el (follow-mode):
16383 * font-core.el (font-lock-mode):
16384 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16385 * help.el (temp-buffer-resize-mode):
16386 * hilit-chg.el (highlight-changes-mode)
16387 (highlight-changes-visible-mode):
16388 * hi-lock.el (hi-lock-mode):
16389 * hl-line.el (hl-line-mode, global-hl-line-mode):
16390 * icomplete.el (icomplete-mode):
16391 * ido.el (ido-everywhere):
16392 * image-file.el (auto-image-file-mode):
16393 * image-mode.el (image-minor-mode):
16394 * iswitchb.el (iswitchb-mode):
16395 * jka-cmpr-hook.el (auto-compression-mode):
16396 * linum.el (linum-mode):
16397 * longlines.el (longlines-mode):
16398 * master.el (master-mode):
16399 * mb-depth.el (minibuffer-depth-indicate-mode):
16400 * menu-bar.el (menu-bar-mode):
16401 * minibuf-eldef.el (minibuffer-electric-default-mode):
16402 * mouse-sel.el (mouse-sel-mode):
16403 * msb.el (msb-mode):
16404 * mwheel.el (mouse-wheel-mode):
16405 * outline.el (outline-minor-mode):
16406 * paren.el (show-paren-mode):
16407 * recentf.el (recentf-mode):
16408 * reveal.el (reveal-mode, global-reveal-mode):
16409 * rfn-eshadow.el (file-name-shadow-mode):
16410 * ruler-mode.el (ruler-mode):
16411 * savehist.el (savehist-mode):
16412 * scroll-all.el (scroll-all-mode):
16413 * scroll-bar.el (scroll-bar-mode):
16414 * server.el (server-mode):
16415 * shell.el (shell-dirtrack-mode):
16416 * simple.el (auto-fill-mode, transient-mark-mode)
16417 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16418 (line-number-mode, column-number-mode, size-indication-mode)
16419 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16420 * strokes.el (strokes-mode):
16421 * time.el (display-time-mode):
16422 * t-mouse.el (gpm-mouse-mode):
16423 * tool-bar.el (tool-bar-mode):
16424 * tooltip.el (tooltip-mode):
16425 * type-break.el (type-break-mode-line-message-mode)
16426 (type-break-query-mode):
16427 * view.el (view-mode):
16428 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16429 (global-whitespace-mode, global-whitespace-newline-mode):
16430 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16431
16432 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16433 Fix autogenerated docstring.
16434
16435 2011-10-19 Juri Linkov <juri@jurta.org>
16436
16437 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16438 by checking environment variables "DESKTOP_SESSION" and
16439 "XDG_CURRENT_DESKTOP". (Bug#9779)
16440
16441 2011-10-19 Juri Linkov <juri@jurta.org>
16442
16443 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16444 (browse-url-chromium-program, browse-url-chromium-arguments):
16445 New defcustoms.
16446 (browse-url-default-browser): Check for `browse-url-chromium' and
16447 call `browse-url-chromium-program'.
16448 (browse-url-chromium): New command. (Bug#9779)
16449
16450 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16451
16452 * facemenu.el (list-colors-duplicates): On Windows, detect more
16453 duplicates by assuming that only colors matching "^System" are
16454 special "system colors". (Bug#9722)
16455
16456 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16457
16458 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16459 to distinguish the author from the committer.
16460
16461 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16462
16463 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16464
16465 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16466
16467 * international/mule.el (sgml-html-meta-auto-coding-function):
16468 Add support for detecting encoding in HTML5 specified only as
16469 <meta charset="UTF-8">. Implementation just makes http-equiv and
16470 content-type parts from HTML4 encoding string optional. (Bug#9716)
16471
16472 2011-10-18 Glenn Morris <rgm@gnu.org>
16473
16474 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16475
16476 2011-10-18 Chong Yidong <cyd@gnu.org>
16477
16478 * faces.el (cursor): Doc fix.
16479
16480 2011-10-17 Chong Yidong <cyd@gnu.org>
16481
16482 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16483
16484 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16485
16486 * dirtrack.el (dirtrack): Support shell buffers with path
16487 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16488
16489 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16490
16491 * json.el: Bump version to 1.3 and note change in History.
16492 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16493
16494 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16495
16496 * comint.el (comint-insert-input, comint-send-input)
16497 (comint-get-old-input-default, comint-backward-matching-input)
16498 (comint-next-prompt): Use nil instead of `input' for field property of
16499 past user input (bug#114).
16500
16501 * minibuffer.el (completion--replace): Inherit surrounding properties
16502 (bug#114).
16503 (minibuffer-complete-and-exit): Use it.
16504
16505 * comint.el (comint--table-subvert): Quote the all-completions output
16506 (bug#9160).
16507
16508 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16509
16510 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16511
16512 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16513 window on right of selected. (Bug#9350) Reword other window
16514 entries and separate them from frame entries.
16515
16516 2011-10-15 Glenn Morris <rgm@gnu.org>
16517
16518 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16519 Doc fixes.
16520
16521 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16522
16523 * net/network-stream.el (network-stream-open-starttls):
16524 Improve detection of failure due to lack of TLS support.
16525
16526 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16527 putting the input text in front and in bold.
16528
16529 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16530
16531 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16532
16533 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16534 empty buffer.
16535
16536 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16537 unread-command-events rather than pushing yet-another event.
16538
16539 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16540
16541 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16542 the explanation of the possible choices. Make the options passed
16543 to completing-read shorter.
16544
16545 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16546
16547 * textmodes/flyspell.el (flyspell-large-region): Make sure
16548 extended character mode is used if defined (Bug#1339).
16549
16550 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16551
16552 * simple.el (what-cursor-position): Fix the display of the
16553 character info for LRE, LRO, RLE, and RLO characters by appending
16554 an invisible PDF.
16555
16556 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16559 even in case of error; add debug spec; simplify data flow.
16560 (with-timeout-handler): Remove.
16561
16562 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16563
16564 Fix Bug#6019, Bug#9315.
16565
16566 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16567 complete `buffer-file-name', the local file name part could look
16568 remotely (for example on VMS).
16569
16570 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16571 `tramp-run-real-handler'.
16572 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16573 already quoted by '"'.
16574
16575 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16576 Let `file-name-handler-alist' be nil, the local file name part
16577 could look remotely (for example on VMS).
16578
16579 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16582 from here...
16583 (flyspell-post-command-hook): ...to here.
16584
16585 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16586
16587 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16588 if not needed.
16589 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16590 using completion. Protect against "slow" callers.
16591 Remove the "message hack".
16592
16593 2011-10-11 Juri Linkov <juri@jurta.org>
16594
16595 * isearch.el (isearch-lazy-highlight-word): New variable.
16596 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16597 Use it. (Bug#9727)
16598
16599 2011-10-11 Glenn Morris <rgm@gnu.org>
16600
16601 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16602 like f90-previous-statement does.
16603
16604 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16605
16606 * eshell/eshell.el (eshell-command): History should be saved
16607 only in interactive use, to avoid error.
16608
16609 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16610
16611 * minibuffer.el (completion-file-name-table): Fix last change,
16612 i.e. ignore normal errors but not the other ones.
16613
16614 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16615
16616 * window.el (special-display-buffer-names)
16617 (special-display-regexps): Remove some remnants of earlier
16618 changes from doc-strings.
16619 (quit-windows-on): New function.
16620
16621 * vc/vc.el (vc-revert, vc-rollback):
16622 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16623 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16624 (Bug#6183) (Bug#7074) (Bug#7447)
16625
16626 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16627
16628 * window.el (frame-auto-hide-function): Add version tag.
16629 (Bug#9699)
16630
16631 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16632
16633 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16634 condition.
16635
16636 2011-10-09 Leo Liu <sdl.web@gmail.com>
16637
16638 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16639 (Bug#9701)
16640
16641 2011-10-08 Glenn Morris <rgm@gnu.org>
16642
16643 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16644 before the first code statement zero indent. (Bug#9690)
16645
16646 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16647
16648 * simple.el (count-words-region): Always count in the region.
16649 Report the number of lines and characters too.
16650 (count-words): New command, which counts in the buffer if the
16651 region is inactive, as count-words-region used to.
16652 (count-words--message): New function. Handle plurals.
16653 (count-lines-region): Make it an alias for count-words-region.
16654
16655 * bindings.el (esc-map): Replace count-lines-region with
16656 count-words-region.
16657
16658 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16659
16660 * window.el (window--delete): Delete dedicated frame
16661 unconditionally when argument KILL is non-nil. (Bug#9699)
16662 (switch-to-buffer): Fix doc-string typo.
16663
16664 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16665
16666 * eshell/eshell.el (eshell-command): Avoid using hooks.
16667
16668 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16669
16670 * bindings.el ([M-left],[M-right]): Bind to left-word and
16671 right-word respectively.
16672
16673 2011-10-07 Glenn Morris <rgm@gnu.org>
16674
16675 * cus-start.el (debug-on-quit): Fix custom type.
16676
16677 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16678
16679 * subr.el (define-key-after): Clarify that the function is not
16680 useful for non-menu keymaps.
16681
16682 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16683
16684 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16685
16686 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16687 in current minibuffer (Fix bug with recursive minibuffers).
16688
16689 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16690
16691 * progmodes/gdb-mi.el (gdb): Doc fix.
16692
16693 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16694
16695 * window.el (frame-auto-hide-function): New option replacing
16696 frame-auto-delete. Suggested by Stefan Monnier.
16697 (window--delete): Call frame-auto-hide-function instead of
16698 investigating frame-auto-delete.
16699 (window-point-1, set-window-point-1): New functions.
16700 (window-in-direction, record-window-buffer, window-state-get-1)
16701 (display-buffer-record-window): Use window-point-1 instead of
16702 window-point.
16703 (set-window-buffer-start-and-point): Use set-window-point-1.
16704
16705 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16706
16707 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16708
16709 2011-10-05 Glenn Morris <rgm@gnu.org>
16710
16711 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16712 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16713
16714 2011-10-05 Leo Liu <sdl.web@gmail.com>
16715
16716 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16717 works with buffer object.
16718
16719 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16720
16721 * mpc.el (mpc-tool-bar-map): Add labels.
16722
16723 2011-10-04 Glenn Morris <rgm@gnu.org>
16724
16725 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16726
16727 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16728
16729 * window.el (window--delete): New function.
16730 (frame-auto-delete): Resuscitate option.
16731 (bury-buffer, replace-buffer-in-windows)
16732 (quit-window): Rewrite using window--delete.
16733 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16734 Pass display-buffer-mark-dedicated to window--display-buffer-2
16735 (Bug#9639).
16736
16737 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16738
16739 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16740 returns a list (bug#9554). Add remote file name completion.
16741 * comint.el (comint--table-subvert): Curry and get quote&unquote
16742 functions as arguments.
16743 (comint--complete-file-name-data): Adjust call accordingly.
16744 * pcomplete.el (pcomplete--table-subvert): Remove.
16745 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16746
16747 * minibuffer.el (completion-table-case-fold): Use currying.
16748 (completion--styles-type, completion--cycling-threshold-type):
16749 New constants.
16750 (completion-styles, completion-category-overrides)
16751 (completion-cycle-threshold): Use them.
16752 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16753 completion-table-case-fold.
16754
16755 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16756
16757 * minibuffer.el (completion-category-overrides): Fix type of styles
16758 and add more user friendly tags (bug#9660).
16759
16760 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16761
16762 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16763 (mule-input-method-string): New widget.
16764 (default-input-method, language-info-custom-alist): Use it.
16765
16766 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16767
16768 * pcomplete.el: Require comint.
16769 (pcomplete--common-suffix): Remove.
16770 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16771 (pcomplete--table-subvert): Sync with comint--table-subvert.
16772 (pcomplete--entries): Use comint-completion-file-name-table.
16773 * comint.el (comint-unquote-filename): Simplify.
16774 (comint-completion-file-name-table): New function (bug#9616).
16775 (comint--complete-file-name-data): Use it.
16776
16777 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16778 (pcmpl-gnu-tar-buffer): Remove.
16779 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16780 around. Make sure pcomplete-suffix-list is only changed temporarily.
16781 Don't look inside the tar's file if it's too large.
16782
16783 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16784
16785 * cus-edit.el (custom-mode-map):
16786 * epa.el (epa-key-list-mode-map):
16787 * man.el (Man-mode-map):
16788 * startup.el (splash-screen-keymap):
16789 * simple.el (special-mode-map): Use scroll-up-command and
16790 scroll-down-command.
16791
16792 * progmodes/idlw-help.el (idlwave-help-mode-map):
16793 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16794 * net/newst-plainview.el (newsticker-mode-map):
16795 * emulation/ws-mode.el (wordstar-mode-map):
16796 * emulation/vi.el (vi-com-map):
16797 * calc/calc-graph.el (calc-graph-show-dumb):
16798 * term/sun.el (terminal-init-sun):
16799 * term/ns-win.el (global-map):
16800 * progmodes/grep.el (grep-mode-map):
16801 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16802 * mail/rmail.el (rmail-mode-map):
16803 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16804
16805 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16806 custom-safe-themes as special.
16807
16808 2011-10-01 Julien Danjou <julien@danjou.info>
16809
16810 * notifications.el (notifications-notify): Fix docstring.
16811
16812 2011-10-01 Per Starbäck <per@starback.se>
16813
16814 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16815
16816 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16817
16818 * startup.el (command-line-1): Fix last fix by inserting
16819 initial-scratch-message into *scratch* before displaying it.
16820 (Bug#9605) and (Bug#9636)
16821
16822 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16823
16824 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16825 window is hscrolled, move by logical lines. (Bug#9607)
16826 (line-move-visual): Update the doc string to the above effect.
16827
16828 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16829
16830 * window.el (display-buffer-record-window): When WINDOW is the
16831 selected window use `point' instead of `window-point'. (Bug#9626)
16832
16833 * startup.el (command-line-1): Use insert-before-markers when
16834 inserting initial-scratch-message. (Bug#9605)
16835
16836 * help.el (help-window): Remove variable.
16837
16838 2011-09-29 Glenn Morris <rgm@gnu.org>
16839
16840 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16841
16842 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16843
16844 * descr-text.el (describe-char-categories): Accept category
16845 descriptions more than one line long.
16846
16847 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16848
16849 * simple.el (delete-trailing-whitespace): Fix last change.
16850
16851 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16852 Don't confuse "y => 3" as the beginning of a `y' operation.
16853
16854 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16855 object has more than 4 slots (bug#9613).
16856
16857 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16858
16859 * subr.el (with-output-to-temp-buffer):
16860 * net/quickurl.el (quickurl, quickurl-browse-url):
16861 Fix typos in docstrings.
16862
16863 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16864
16865 * minibuffer.el (completion-styles)
16866 (completion-category-overrides): Cross reference each other in doc
16867 strings.
16868
16869 2011-09-27 Glenn Morris <rgm@gnu.org>
16870
16871 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16872 to split-string. (Bug#9606)
16873
16874 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16875
16876 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16877 (bug#9615).
16878
16879 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16880
16881 * emacs-lisp/package.el (list-packages): Fix echo area message.
16882
16883 2011-09-27 Leo Liu <sdl.web@gmail.com>
16884
16885 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16886
16887 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16888
16889 * net/dbus.el (dbus-unregister-object): Don't release services for
16890 registered signals. (Bug#9581)
16891
16892 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16893
16894 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16895 function that picks between cfengine 2 and 3 support
16896 automatically. Update docs accordingly.
16897
16898 2011-09-22 Kenichi Handa <handa@m17n.org>
16899
16900 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16901 ZERO.
16902 (indian-itrans-v5-table-for-tamil): New variable.
16903 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16904
16905 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16906
16907 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16908 that's true if the current command involved collapsing of text.
16909 It's reset to false at the beginning of the next command.
16910 (allout-post-command-business): Move the cursor to the beginning
16911 of entry if the cursor is hidden and collapsing activity just
16912 happened.
16913
16914 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16915
16916 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16917 tracking (Bug#9541).
16918
16919 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16920
16921 * net/newst-reader.el (newsticker-html-renderer)
16922 (newsticker-show-news): Automatically load html rendering package
16923 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16924 because w3m-fill-column is let-bound" and the error "Symbol's value
16925 as variable is void: w3m-fill-column".
16926
16927 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16928
16929 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16930 Release services only if they are defined. (Bug#9581)
16931
16932 2011-09-23 Richard Stallman <rms@gnu.org>
16933
16934 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16935 distinguish start of paragraph from start of its text.
16936
16937 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16938
16939 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16940 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16941 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16942
16943 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16944
16945 * international/mule-diag.el (mule-diag): Insert a newline after
16946 each fontset description.
16947
16948 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16949
16950 * simple.el (delete-trailing-whitespace):
16951 Document last change; simplify.
16952
16953 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16954
16955 * simple.el (delete-trailing-whitespace): Also delete
16956 extra newlines at the end of the buffer.
16957
16958 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16959 (picture-newline): Use forward-line so as to ignore fields.
16960
16961 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16962
16963 * subr.el (with-wrapper-hook): Fix edebug spec.
16964
16965 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16966
16967 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16968 (bug#4538).
16969
16970 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16971
16972 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16973 Fix nasty bug using wrong cached values.
16974
16975 2011-09-23 Alan Mackenzie <acm@muc.de>
16976
16977 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16978
16979 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16980
16981 * window.el (pop-to-buffer): Ensure right window is selected if we
16982 chose another frame.
16983
16984 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16985
16986 * simple.el (what-cursor-position): Use get-char-property-change
16987 and next-single-char-property-change, to be able to show display
16988 properties that come from overlays as well as text properties.
16989
16990 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16991
16992 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16993
16994 * cmuscheme.el (run-scheme, switch-to-scheme):
16995 * cus-edit.el (customize-group, custom-buffer-create)
16996 (customize-browse):
16997 * info.el (info):
16998 * shell.el (shell):
16999 * mail/sendmail.el (mail):
17000 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17001
17002 2011-09-22 Richard Stallman <rms@gnu.org>
17003
17004 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17005 move back only to line beg, don't move back over blank lines.
17006
17007 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17008
17009 * files.el (copy-directory): Set directory attributes only in case
17010 they could be retrieved from the source directory. (Bug#9565)
17011
17012 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17013
17014 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17015 (hs-find-block-beginning, hs-hide-level-recursive):
17016 Ignore strings as well as comments. (Bug#9502)
17017
17018 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17019
17020 * progmodes/sql.el (sql-comint-postgres):
17021 Convert port number to a string. (Bug#9566)
17022
17023 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17024
17025 * window.el (quit-window): Undedicate window when switching to
17026 previous buffer. Reported by Thierry Volpiatto
17027 <thierry.volpiatto@gmail.com>.
17028 (special-display-popup-frame): When popping up a new frame reset
17029 its previous buffers to nil. Simplify code.
17030
17031 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17032
17033 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17034 and process filter, as done also in `shell-command'.
17035
17036 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17037
17038 * window.el (set-window-buffer-start-and-point):
17039 Call set-window-start with NOFORCE argument t.
17040 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17041 (quit-window): Reword doc-string. Handle new format of
17042 quit-restore parameter. Don't delete window if it has a
17043 previous buffer we can show instead of the present one.
17044 (display-buffer-record-window): Rewrite using a new format for
17045 the quit-restore window parameter
17046 (special-display-popup-frame, display-buffer-same-window)
17047 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17048 (display-buffer-pop-up-window, display-buffer-use-some-window):
17049 Adapt symbol passed to display-buffer-record-window.
17050 * help.el (help-window-setup): Handle new format of quit-restore
17051 parameter.
17052
17053 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17054
17055 * faces.el (face-list): Fix docstring (bug#9564).
17056
17057 * window.el (display-buffer--action-function-custom-type):
17058 Don't include internal functions in the Custom interface.
17059
17060 2011-09-20 Juri Linkov <juri@jurta.org>
17061
17062 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17063 (Info-forward-node, Info-backward-node, Info-next-preorder)
17064 (Info-last-preorder): Use it. (Bug#9528)
17065
17066 2011-09-20 Juri Linkov <juri@jurta.org>
17067
17068 * info.el (Info-last-preorder): Visit last menu item only when
17069 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17070
17071 2011-09-20 Julien Danjou <julien@danjou.info>
17072
17073 * password-cache.el (password-cache-remove): Remove entries even if the
17074 value is nil, so that password with a nil value (negative caching) is
17075 possible to invalidate.
17076
17077 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17078
17079 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17080 all whitespace around breakpoint. (Bug#9553)
17081 (f90-find-breakpoint): Only break at whitespace inside a comment.
17082
17083 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17084
17085 * minibuffer.el (completion-file-name-table): Keep track of errors.
17086 (completion-table-with-predicate): Handle the case where pred1 is nil.
17087 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17088
17089 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17090
17091 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17092 (debugger-return-value): Signal an error if the debugging context does
17093 not await any return value.
17094
17095 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17096 * image-mode.el (image-toggle-display-text)
17097 (image-toggle-display-image): Stay away from evil `intangible'.
17098
17099 2011-09-19 Leo Liu <sdl.web@gmail.com>
17100
17101 * replace.el (occur-revert-arguments): Make it permanent-local.
17102 (occur-mode): Don't call font-lock-defontify.
17103
17104 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17105
17106 * net/ldap.el (ldap-search-internal): Don't push empty search
17107 result (Bug#9508).
17108
17109 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17110
17111 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17112
17113 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17114
17115 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17116 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17117
17118 2011-09-18 Juri Linkov <juri@jurta.org>
17119
17120 * buff-menu.el (Buffer-menu-mode-map):
17121 * dired.el (dired-mode-map):
17122 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17123 (lisp-interaction-mode-map):
17124 * emacs-lisp/package.el (package-menu-mode-map):
17125 * epa.el (epa-key-list-mode-map):
17126 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17127 (menu-bar-options-menu):
17128 * outline.el (outline-mode-menu-bar-map):
17129 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17130 * vc/vc-dir.el (vc-dir-menu-map):
17131 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17132 Capitalize non-function content words in menu item strings.
17133
17134 * dired.el (dired-mode-map): Add menu item for
17135 `image-dired-dired-toggle-marked-thumbs'.
17136
17137 2011-09-18 Juri Linkov <juri@jurta.org>
17138
17139 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17140 to `isearch-case-fold-search' and restore its original value
17141 after the `isearch-mode' call.
17142
17143 2011-09-18 Juri Linkov <juri@jurta.org>
17144
17145 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17146 because `zgrep' returns 1 for successful matches (bug#9226).
17147
17148 2011-09-18 Juri Linkov <juri@jurta.org>
17149
17150 * info.el (Info-extract-menu-node-name): Check the second match
17151 for empty string (second test-case of bug#9528).
17152 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17153 intermediate nodes to the history (first test-case of bug#9528).
17154
17155 2011-09-18 Juri Linkov <juri@jurta.org>
17156
17157 * info.el (Info-mode-syntax-table): New variable.
17158 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17159
17160 2011-09-18 Juri Linkov <juri@jurta.org>
17161
17162 * info.el (Info-file-supports-index-cookies):
17163 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17164 outputs one more line for long file names (bug#4142).
17165
17166 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17167
17168 * newcomment.el (comment-normalize-vars): If prompting for
17169 comment-start, set comment-start-skip too (Bug#8424).
17170
17171 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17172
17173 * icomplete.el: Fix previous fix of Bug#5849.
17174 (icomplete-mode): Don't set completion-show-inline-help.
17175 (icomplete-minibuffer-setup): Set completion-show-inline-help
17176 locally during icompletion.
17177
17178 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17179
17180 * woman.el (woman2-process-escapes): Don't delete unrecognized
17181 escapes (Bug#7843).
17182
17183 * files.el (inhibit-first-line-modes-regexps): Add image files.
17184 (hack-local-variables-prop-line): Return nil for malformed
17185 prop-lines (Bug#9044).
17186
17187 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17188
17189 * net/tramp.el (top): Don't require 'shell.
17190 (tramp-methods): Fix docstring.
17191 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17192 Return complete remote file name. Handle "smb" case.
17193 Use `tramp-tmpdir', if defined for the respective method.
17194 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17195
17196 * net/tramp-compat.el (top): Require 'shell.
17197
17198 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17199 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17200 `tramp-current-host'.
17201 (tramp-get-remote-tmpdir): Remove.
17202
17203 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17204 `tramp-tmpdir' entries.
17205 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17206 (tramp-smb-handle-file-attributes): Ignore errors.
17207 (tramp-smb-wait-for-output): Check also for process end.
17208
17209 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17210
17211 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17212 when sending QUIT (bug#9312).
17213
17214 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17215
17216 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17217 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17218 occur-mode-display-occurrence.
17219 (occur-edit-mode): Add usage message.
17220 (occur-cease-edit): New command.
17221 (occur-after-change-function): Use text properties to find the
17222 position of the prefix text.
17223 (occur-engine): Set stickiness of prefix text properties.
17224
17225 2011-09-17 Glenn Morris <rgm@gnu.org>
17226
17227 * progmodes/etags.el (complete-tag):
17228 Fix call to completion-in-region. (Bug#9526)
17229
17230 2011-09-17 Juri Linkov <juri@jurta.org>
17231
17232 * textmodes/ispell.el (ispell-word): Add to the error message
17233 the word, ispell program name and current dictionary (bug#9121).
17234 (ispell-tex-arg-end): Capitalize "error" in the error message.
17235
17236 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17237
17238 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17239 check. (Bug#4251)
17240
17241 2011-09-17 Juri Linkov <juri@jurta.org>
17242
17243 * window.el (window-safe-min-height, window-safe-min-width):
17244 Fix typos (followup to bug#9522).
17245
17246 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17247
17248 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17249
17250 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17251
17252 * simple.el (line-move): If goal-column is set, move by logical
17253 lines, not by display lines. (Bug#971)
17254 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17255 to reflect the above change.
17256
17257 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17258
17259 * image.el (imagemagick-register-types): Use regexp-opt.
17260
17261 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17262
17263 * window.el (display-buffer-base-action): Rename from
17264 display-buffer-default-action. Make default value empty.
17265 (display-buffer-overriding-action): Convert to defvar.
17266 (display-buffer-fallback-action): New var.
17267
17268 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17269
17270 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17271 declaration.
17272 (package--add-to-archive-contents): If there is a duplicate entry
17273 with an older version, remove it.
17274 (package-menu-mark-delete, package-menu-mark-install)
17275 (package-menu-mark-unmark): Make unused args optional.
17276 (package-menu-mark-obsolete-for-deletion):
17277 Use package-menu-get-status instead of a regexp search.
17278 (package-menu-get-status): Use tabulated-list-entry.
17279 (package-menu-mark-upgrades): New command.
17280 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17281 (package-menu-execute): Do installation before deletion.
17282 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17283 instead of checking major-mode.
17284 (package-menu--find-upgrades): New function.
17285
17286 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17287
17288 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17289 passwords in the log buffer.
17290 (smtpmail-process-filter): Update the process marker so that the
17291 "broken by peer" status message is inserted in the right place.
17292
17293 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17294
17295 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17296 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17297 bibtex-completion-at-point-function.
17298 (bibtex-completion-at-point-function): Use them.
17299
17300 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17301
17302 * mpc.el (mpc-constraints-tag-lookup): New function.
17303 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17304 also to browser "album|playlist".
17305
17306 2011-09-14 Juri Linkov <juri@jurta.org>
17307
17308 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17309 (isearch-edit-string): Use length of `isearch-string' when
17310 `isearch-fail-pos' returns nil.
17311 (isearch-message): Remove duplicate code and call
17312 `isearch-fail-pos' with arg `t'.
17313
17314 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17315
17316 * replace.el (occur-mode-goto-occurrence): Don't force using other
17317 window (Bug#9499).
17318
17319 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17320
17321 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17322
17323 * window.el (display-buffer-window): Remove.
17324 (display-buffer-record-window): Use help-setup window parameter
17325 instead of variable display-buffer-window.
17326 (display-buffer-function, special-display-buffer-names)
17327 (special-display-function): Mention help-setup parameter instead
17328 of display-buffer-window in doc-string.
17329 * help.el (help-window-setup): New argument help-window.
17330 Use help-window-setup parameter instead of display-buffer-window.
17331 Reword some messages.
17332 (with-help-window): Pass window used for displaying the buffer
17333 to help-window-setup. Don't set display-buffer-window.
17334
17335 2011-09-13 Glenn Morris <rgm@gnu.org>
17336
17337 * emacs-lisp/debug.el (debugger-make-xrefs):
17338 Preserve point. (Bug#9462)
17339
17340 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17341
17342 * window.el (window-deletable-p): Use next-frame.
17343
17344 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17345
17346 * window.el (window-auto-delete): Remove.
17347 (window-deletable-p): Remove argument FORCE. Don't deal with
17348 dedication and previous buffers.
17349 (switch-to-prev-buffer): Don't delete window.
17350 (delete-windows-on): Delete a window's frame if and only if the
17351 window is dedicated.
17352 (replace-buffer-in-windows): Delete buffer's window or frame if
17353 and only if window is dedicated.
17354 (quit-window): Handle quit-restore as before last change.
17355 (bury-buffer): Delete window only if window-deletable-p returns t.
17356
17357 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17358
17359 * window.el (window-deletable-p): Never delete the last frame on a
17360 given terminal.
17361
17362 2011-09-13 Glenn Morris <rgm@gnu.org>
17363
17364 * help.el (describe-key-briefly): Copy previous standard-output change.
17365
17366 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17367
17368 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17369
17370 2011-09-13 Glenn Morris <rgm@gnu.org>
17371
17372 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17373 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17374
17375 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17376
17377 * dired-aux.el (dired-mark-read-string): Don't return default
17378 value on empty input (Bug#9361).
17379 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17380 Omit initial minibuffer contents.
17381 (dired-do-chmod): Signal an error on empty input.
17382 (dired-mark-read-string): Don't return default on empty input.
17383
17384 * files.el (file-modes-symbolic-to-number): Doc fix.
17385
17386 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17387
17388 * international/mule-cmds.el (ucs-completions): Remove.
17389 (read-char-by-name): Use complete-with-action instead; add metadata.
17390
17391 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17392
17393 * window.el (display-buffer--action-function-custom-type)
17394 (display-buffer--action-custom-type): New vars.
17395 (display-buffer-alist, display-buffer-default-action)
17396 (display-buffer-overriding-action): Add defcustom types.
17397
17398 * frame.el (delete-other-frames): Doc fix (Bug#276).
17399
17400 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17401
17402 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17403
17404 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17405
17406 Change modes that used same-window-* vars to use switch-to-buffer.
17407
17408 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17409 Use switch-to-buffer.
17410
17411 * cus-edit.el (customize-group, custom-buffer-create)
17412 (customize-browse, custom-buffer-create-other-window):
17413 Use switch-to-buffer or switch-to-buffer-other-window.
17414
17415 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17416 (Info-prev, Info-up, Info-speedbar-goto-node)
17417 (info-display-manual): Use switch-to-buffer.
17418 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17419
17420 * mail/sendmail.el (mail): Use switch-to-buffer.
17421 (mail-recover): Use switch-to-buffer-other-window.
17422
17423 * cmuscheme.el (run-scheme, switch-to-scheme):
17424 * ielm.el (ielm):
17425 * shell.el (shell):
17426 * net/rlogin.el (rlogin):
17427 * net/telnet.el (telnet, rsh):
17428 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17429
17430 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17431
17432 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17433
17434 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17435
17436 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17437 so don't mention it (bug#9301).
17438 (dired-sort-toggle-or-edit): Clarify string further.
17439
17440 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17441 match `x', `w32' and `ns', like the manual says (bug#9029).
17442
17443 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17444 (process-kill-buffer-query-function): Mention the buffer name in
17445 the query.
17446
17447 * image-mode.el (image-next-line): The line parameter is mandatory
17448 (bug#9258).
17449
17450 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17451 which can be useful (bug#9301).
17452
17453 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17454
17455 * subr.el (match-string): Mention that the current buffer should
17456 be the same as the search was done in (bug#9282).
17457
17458 * facemenu.el: Disable the remove-* commands if the mark isn't
17459 active (bug#9162).
17460
17461 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17462
17463 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17464 of display-buffer.
17465 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17466
17467 * replace.el (occur-mode-goto-occurrence)
17468 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17469 and display-buffer.
17470
17471 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17472 display-buffer.
17473
17474 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17475 special-display and same-window variables.
17476 (mail-other-window): Use switch-to-buffer-other-window.
17477 (mail-other-frame): USe switch-to-buffer-other-frame.
17478
17479 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17480 Use display-buffer-other-frame.
17481 (gdb-display-gdb-buffer): Use pop-to-buffer.
17482
17483 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17484
17485 * progmodes/python.el: Don't set same-window-buffer-names.
17486
17487 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17488
17489 * window.el (display-buffer-alist): Add *Python*.
17490
17491 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17492
17493 * window.el (display-buffer-alist): Add entry for buffers
17494 previously handled same-window-*.
17495 (display-buffer-alist, display-buffer-default-action)
17496 (display-buffer-overriding-action): Mark as risky.
17497 (display-buffer-alist): Document action function changes.
17498 (display-buffer--same-window-action)
17499 (display-buffer--other-frame-action): New variables.
17500 (switch-to-buffer, display-buffer-other-frame): Use them.
17501 (display-buffer): Rename reuse-frame entry to reusable-frames.
17502 (display-buffer-reuse-selected-window): Function deleted.
17503 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17504 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17505 (display-buffer-special): New function.
17506 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17507 display-buffer-reuse-or-pop-window. Split off special-display
17508 part into display-buffer-special.
17509 (display-buffer-use-some-window): Don't perform any special
17510 pop-up-frames handling.
17511 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17512 (display-buffer--maybe-same-window): Rename from
17513 display-buffer-maybe-same-window.
17514
17515 * info.el: Don't set same-window-regexps.
17516 (info-setup): New function.
17517 (info-other-window, info): Call it.
17518
17519 * cus-edit.el: Don't set same-window-regexps.
17520 (customize-group): New argument.
17521 (customize-group-other-window): Use it.
17522 (customize-face, customize-face-other-window): Likewise.
17523 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17524
17525 * net/rlogin.el:
17526 * net/telnet.el:
17527 * progmodes/gud.el: Don't set same-window-regexps.
17528
17529 * cmuscheme.el:
17530 * ielm.el:
17531 * shell.el:
17532 * mail/sendmail.el:
17533 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17534
17535 2011-09-10 Juri Linkov <juri@jurta.org>
17536
17537 * isearch.el (isearch-edit-string): Remove obsolete mention of
17538 `C-w' (`isearch-yank-word-or-char') from docstring.
17539 (isearch-query-replace): Fix typo in docstring (bug#9466).
17540
17541 2011-09-10 Juri Linkov <juri@jurta.org>
17542
17543 * paren.el (show-paren-function): Don't show escaped parens.
17544 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17545
17546 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17547
17548 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17549 (mm-default-file-encoding): Remove autoload forms, they are
17550 replaced with autoload cookies in mml.el and mm-encode.el.
17551 (mail-add-attachment): New command.
17552 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17553 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17554 the doc string.
17555 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17556
17557 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17558
17559 * simple.el (count-words-region): Use buffer if there's no region
17560 (bug#9429).
17561
17562 2011-09-09 Juri Linkov <juri@jurta.org>
17563
17564 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17565 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17566 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17567
17568 2011-09-09 Alan Mackenzie <acm@muc.de>
17569
17570 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17571 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17572
17573 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17574
17575 Fix for Savannah bug#9392.
17576 * simple.el (mail-encode-mml): New defvar.
17577
17578 * mail/rmail.el (mail-encode-mml): Add a defvar.
17579 (rmail-enable-mime-composing): Default to t.
17580 (rmail-forward): Use MIME method of forwarding only if both
17581 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17582 Set mail-encode-mml non-nil if the MIME method was used.
17583
17584 * mail/sendmail.el (mml-to-mime): Add autoload form.
17585 (mail-encode-mml): Add a defvar.
17586 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17587 to nil.
17588 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17589 message through mml-to-mime, and reset mail-encode-mml to nil.
17590
17591 2011-09-09 Glenn Morris <rgm@gnu.org>
17592
17593 * woman.el (woman-if-body): When processing an .el block,
17594 do not delete the next .el block as well. (Bug#9447)
17595 (woman-special-characters): Add oq, cq, and hy characters.
17596
17597 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17598
17599 * window.el (window-deletable-p): Make sure window is live before
17600 invoking window-prev-buffers.
17601
17602 2011-09-08 Leo Liu <sdl.web@gmail.com>
17603
17604 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17605
17606 2011-09-08 Juri Linkov <juri@jurta.org>
17607
17608 * progmodes/compile.el (compilation-environment): Make it
17609 a defcustom (bug#8340).
17610
17611 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17612
17613 * window.el (frame-auto-delete): Rename to window-auto-delete.
17614 Make it control auto-deletion of windows and/or frames.
17615 (window-deletable-p): New argument FORCE. Rewrite conditions
17616 for deleting window/frame. (Bug#9419)
17617 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17618 Rewrite handling of case when window/frame can be deleted.
17619 (delete-windows-on): Call window-deletable-p with new FORCE
17620 argument t. (Bug#9456)
17621
17622 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17623
17624 * help-mode.el (help-mode): Restore autoload.
17625
17626 2011-09-07 Juri Linkov <juri@jurta.org>
17627
17628 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17629 `compilation-environment'. Set buffer-local
17630 `compilation-environment' to `thisenv' later after (funcall mode).
17631 (Bug#8340)
17632
17633 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17634 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17635 instead of replacing its value. (Bug#8340)
17636
17637 2011-09-07 Juri Linkov <juri@jurta.org>
17638
17639 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17640 based on text properties put by `grep-filter' instead of matching
17641 escape sequences.
17642 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17643 to the value of `grep-error-screen-columns' (bug#9438).
17644
17645 2011-09-07 Juri Linkov <juri@jurta.org>
17646
17647 * simple.el (next-error-highlight, next-error-highlight-no-select):
17648 Doc fix (bug#9432).
17649
17650 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17651
17652 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17653 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17654
17655 2011-09-07 Leo Liu <sdl.web@gmail.com>
17656
17657 * net/rcirc.el (rcirc-mode): Conditionally initialize
17658 rcirc-input-ring.
17659
17660 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17661
17662 * emacs-lisp/find-func.el (find-function-C-source): Only set
17663 find-function-C-source-directory after checking that we found a source
17664 file there (bug#9440).
17665
17666 2011-09-06 Alan Mackenzie <acm@muc.de>
17667
17668 * isearch.el (isearch-other-meta-char): Wherever a key list is
17669 unread, "unread" the prefix arg, too. This fixes bug #8901.
17670
17671 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17672
17673 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17674
17675 2011-09-05 Juri Linkov <juri@jurta.org>
17676
17677 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17678
17679 2011-09-05 Juri Linkov <juri@jurta.org>
17680
17681 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17682 keeping point where processing of grep matches begins, and
17683 continue to delete remaining escape sequences from the same point.
17684 (grep-filter): Make leading zero optional in "0?1;31m" because
17685 git-grep emits "\033[1;31m" escape sequences unlike expected
17686 "\033[01;31m" as GNU Grep does (bug#9408).
17687 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17688
17689 2011-09-05 Juri Linkov <juri@jurta.org>
17690
17691 * subr.el (y-or-n-p): Capitalize "yes".
17692
17693 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17694
17695 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17696 `tramp-cache-unload-hook' where appropriate.
17697 (tramp-methods): Rename `tramp-remote-sh' to
17698 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17699 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17700
17701 * net/tramp-sh.el (top): Don't require 'shell.
17702 (tramp-methods): Add `tramp-remote-shell' and
17703 `tramp-remote-shell-args' entries.
17704 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17705 (tramp-sh-handle-shell-command): Remove.
17706 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17707 Use `tramp-remote-shell'.
17708
17709 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17710
17711 * mail/sendmail.el (sendmail-query-once-function): Delete.
17712 (sendmail-query-once): Save directly to send-mail-function.
17713 Update message-send-mail-function too.
17714
17715 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17716
17717 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17718
17719 * progmodes/python.el (python-mode-map): Use correct function to
17720 start python interpreter from menu-bar (as reported by Geert
17721 Kloosterman).
17722 (inferior-python-mode-map): Fix typo.
17723 (python-shell-map): Remove.
17724
17725 2011-09-03 Deniz Dogan <deniz@dogan.se>
17726
17727 * net/rcirc.el (rcirc-print): Simplify code for
17728 rcirc-scroll-show-maximum-output. There is no need to walk
17729 through all windows to find the right one.
17730
17731 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17732
17733 * help.el (help-return-method): Doc fix.
17734
17735 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17736
17737 * window.el (window-deletable-p): Don't return a non-nil value
17738 when there's a buffer that was shown in the window before.
17739 (Bug#9419)
17740 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17741 Set window's previous buffers to nil.
17742
17743 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17744
17745 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17746 newline before and after the tag line, so it doesn't interfere
17747 with determining the paragraph direction of bidirectional text.
17748
17749 2011-09-03 Leo Liu <sdl.web@gmail.com>
17750
17751 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17752
17753 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17754
17755 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17756 (pop-to-buffer): Change interactive spec. Pass second argument
17757 directly to display-buffer.
17758 (display-buffer): Fix interactive spec. Use functionp to
17759 distinguish between a function and a list of functions.
17760
17761 * abbrev.el (edit-abbrevs):
17762 * arc-mode.el (archive-extract):
17763 * autoinsert.el (auto-insert):
17764 * bookmark.el (bookmark-bmenu-list):
17765 * files.el (find-file):
17766 * view.el (view-buffer):
17767 * progmodes/compile.el (compilation-goto-locus):
17768 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17769
17770 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17771
17772 * window.el (display-buffer-alist): Doc fix.
17773 (display-buffer): Add docstring. Don't treat
17774 display-buffer-default specially.
17775 (display-buffer-reuse-selected-window)
17776 (display-buffer-same-window, display-buffer-maybe-same-window)
17777 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17778 (display-buffer-pop-up-window)
17779 (display-buffer-reuse-or-pop-window)
17780 (display-buffer-use-some-window): New functions.
17781 (display-buffer-default-action): Use them.
17782 (display-buffer-default): Delete.
17783 (pop-to-buffer-1): Fix choice of actions.
17784
17785 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17786
17787 * minibuffer.el (completion--insert-strings): Don't get confused by
17788 completion entries that end with an LF char.
17789
17790 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17791
17792 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17793
17794 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17795
17796 * window.el (display-buffer): Restore interactive spec.
17797 (display-buffer-same-window, display-buffer-other-window):
17798 New functions.
17799 (pop-to-buffer-1): New function. Use the above.
17800 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17801 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17802
17803 * view.el (view-buffer-other-window, view-buffer-other-frame):
17804 Just use pop-to-buffer.
17805
17806 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17807
17808 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17809
17810 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17811
17812 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17813
17814 2011-08-31 Richard Stallman <rms@gnu.org>
17815
17816 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17817 of the separation of rmail-view-buffer from rmail-buffer.
17818 If you say no to "replace original", the decrypt is in the
17819 view buffer. If you say yes, the decrypt goes into the
17820 rmail buffer also.
17821
17822 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17823
17824 * window.el (display-buffer-window): Rewrite doc-string.
17825 (display-buffer-record-window): New function.
17826 (display-buffer-macro-specifiers)
17827 (display-buffer-even-window-sizes, display-buffer-set-height)
17828 (display-buffer-set-width, display-buffer-in-window)
17829 (display-buffer-reuse-window, display-buffer-split-specifiers)
17830 (display-buffer-side-specifiers, display-buffer-split-window-1)
17831 (display-buffer-split-window, display-buffer-split-atom-window)
17832 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17833 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17834 (display-buffer-other-window-means-other-frame)
17835 (display-buffer-normalize-special)
17836 (display-buffer-normalize-default)
17837 (display-buffer-normalize-argument)
17838 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17839 (display-buffer-normalize-specifiers, display-buffer-frame)
17840 (display-buffer-same-window, display-buffer-same-frame)
17841 (display-buffer-other-window)
17842 (display-buffer-same-frame-other-window)
17843 (display-buffer-other-frame, pop-to-buffer-same-window)
17844 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17845 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17846 (switch-to-buffer-same-frame)
17847 (switch-to-buffer-other-window-same-frame)
17848 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17849 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17850 (display-buffer-alist-set): Remove.
17851 (display-buffer-function, special-display-buffer-names)
17852 (special-display-regexps, special-display-function):
17853 In doc-string refer to display-buffer-window and quit-restore
17854 parameter.
17855 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17856 (special-display-frame-alist, special-display-popup-frame)
17857 (same-window-buffer-names, same-window-regexps, same-window-p)
17858 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17859 (split-window-preferred-function, split-height-threshold)
17860 (split-width-threshold, window-splittable-p)
17861 (split-window-sensibly, window--try-to-split-window)
17862 (window--frame-usable-p, even-window-heights)
17863 (window--even-window-heights, window--display-buffer-1)
17864 (window--display-buffer-2, display-buffer-other-frame):
17865 Restore old Emacs 23 code, order and doc-strings where applicable.
17866 (display-buffer-default, display-buffer-assq-regexp): New functions.
17867 (display-buffer-alist): Rewrite doc-string.
17868 (display-buffer-default-action)
17869 (display-buffer-overriding-action): New variables.
17870 (display-buffer, switch-to-buffer): Rewrite.
17871 (pop-to-buffer): Restore Emacs 23 behavior but use
17872 window-normalize-buffer-to-display.
17873 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17874 Restore Emacs 23 behavior but use
17875 window-normalize-buffer-to-switch-to.
17876 (pop-to-buffer-same-window): Rewrite.
17877 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17878 Rewrite using Emacs 23 options.
17879
17880 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17881
17882 * net/tramp.el (tramp-root-regexp): Remove.
17883 (tramp-completion-file-name-regexp-unified)
17884 (tramp-completion-file-name-regexp-separate)
17885 (tramp-completion-file-name-regexp-url): Don't use leading volume
17886 letter on w32 systems. (Bug#5303, Bug#9311)
17887 (tramp-drop-volume-letter): Simplify definition.
17888 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17889
17890 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17891
17892 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17893 (bug#9356).
17894
17895 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17896
17897 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17898
17899 2011-08-29 Juri Linkov <juri@jurta.org>
17900
17901 * isearch.el (isearch-done): Don't display message "Mark saved"
17902 when arg `edit' is non-nil to prevent its flicker in the echo area.
17903
17904 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17905
17906 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17907 obsolete packages for deletion.
17908
17909 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17910
17911 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17912 (help-mode): Derive help-mode from special-mode. Don't invoke
17913 view-mode from help-mode.
17914 (help-xref-override-view-map): Remove.
17915 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17916 view-mode is not used anymore.
17917
17918 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17919
17920 * server.el (server-port): Doc fix.
17921
17922 * cus-theme.el (custom-theme-choose-mode): Inherit from
17923 special-mode (Bug#9124).
17924 (custom-theme-choose-mode-map): Add special-mode to parent.
17925
17926 2011-08-28 Alan Mackenzie <acm@muc.de>
17927
17928 * progmodes/cc-fonts.el
17929 (c-make-font-lock-BO-decl-search-function): New function.
17930 (c-basic-matchers-after - "Fontify the clauses after various
17931 keywords"): Extract the three keyword lists for the 3 erroneous
17932 constructs from the list of four, and use the new function above
17933 in place of an old one.
17934
17935 2011-08-28 Deniz Dogan <deniz@dogan.se>
17936
17937 * net/rcirc.el (rcirc-insert-prev-input)
17938 (rcirc-insert-next-input): Remove unused argument.
17939
17940 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17941
17942 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17943
17944 2011-08-27 Alan Mackenzie <acm@muc.de>
17945
17946 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17947 handle function pointer parameters properly.
17948
17949 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17950
17951 * window.el (display-buffer-reuse-window): Fix case where
17952 selected window was reused with non-nil OTHER-WINDOW argument.
17953 (Bug#9381)
17954
17955 2011-08-27 Deniz Dogan <deniz@dogan.se>
17956
17957 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17958 oftc's NickServ messages.
17959
17960 2011-08-27 Glenn Morris <rgm@gnu.org>
17961
17962 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17963
17964 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17965
17966 * emacs-lisp/package.el (package-install): Call package-initialize
17967 if called interactively.
17968
17969 2011-08-26 Leo Liu <sdl.web@gmail.com>
17970
17971 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17972
17973 2011-08-25 Juri Linkov <juri@jurta.org>
17974
17975 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17976 `search-whitespace-regexp' (bug#9364).
17977
17978 2011-08-25 Juri Linkov <juri@jurta.org>
17979
17980 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17981 `regexp-search-ring' to their global values to protect from
17982 updating by `read-from-minibuffer' (bug#9185).
17983
17984 2011-08-25 Juri Linkov <juri@jurta.org>
17985
17986 * textmodes/ispell.el (ispell-command-loop): Add newline
17987 at the end of the "Use option `i'..." line.
17988
17989 2011-08-25 Juri Linkov <juri@jurta.org>
17990
17991 * battery.el (display-battery-mode): If `battery-status-function'
17992 or `battery-mode-line-format' is nil, display the message and set
17993 `display-battery-mode' to nil (bug#9363).
17994
17995 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17996
17997 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17998 bidi-string-mark-left-to-right; they are unnecessary now.
17999
18000 2011-08-25 Deniz Dogan <deniz@dogan.se>
18001
18002 * net/quickurl.el: Documentation typo fixes.
18003
18004 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18005
18006 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18007
18008 2011-08-25 Glenn Morris <rgm@gnu.org>
18009
18010 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18011
18012 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18013 (smtpmail-via-smtp): Handle nil response from smtp.
18014
18015 2011-08-24 Juri Linkov <juri@jurta.org>
18016
18017 * proced.el (proced-marked): Inherit from `error' instead of
18018 `font-lock-warning-face'.
18019
18020 * ibuffer.el (ibuffer-marked-face): Change default face from
18021 `font-lock-warning-face' to `warning'.
18022 (ibuffer-deletion-face): Change default face from
18023 `font-lock-type-face' to `error'.
18024
18025 * battery.el (battery-update): Use the face `error' instead of
18026 `font-lock-warning-face' (bug#6117).
18027
18028 2011-08-24 Juri Linkov <juri@jurta.org>
18029
18030 * faces.el (success): Change face color from "Green3" to
18031 "ForestGreen" on light background (bug#9353).
18032
18033 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18034
18035 * window.el (quit-window): Rename from quit-restore-window.
18036 Use same arglist as old quit-window.
18037 (frame-auto-delete): Doc fix.
18038
18039 * view.el (view-mode-exit): Use quit-window.
18040
18041 2011-08-24 Juri Linkov <juri@jurta.org>
18042
18043 * isearch.el (isearch-ring-adjust1): Start visiting previous
18044 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18045 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18046 for empty search string (when the last search string is reused
18047 automatically) to adjust the isearch ring to the last element and
18048 prepare the correct index for further M-p commands (bug#9185).
18049
18050 2011-08-24 Kenichi Handa <handa@m17n.org>
18051
18052 * international/ucs-normalize.el: If decomposition property of
18053 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18054 nil.
18055 (nfd, nfkd): Likewise.
18056
18057 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18058
18059 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18060 from process filters aren't reliably transmitted to the surrounding
18061 accept-process-output.
18062 (mpc-proc-check): New function.
18063 (mpc-proc-sync): Use it (bug#8293)
18064
18065 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18066
18067 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18068 Add compatibility functions (bug#9313).
18069
18070 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18071
18072 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18073
18074 * international/uni-bidi.el: Regenerate.
18075
18076 2011-08-23 Kenichi Handa <handa@m17n.org>
18077
18078 * international/charprop.el:
18079 * international/uni-bidi.el:
18080 * international/uni-category.el:
18081 * international/uni-combining.el:
18082 * international/uni-comment.el:
18083 * international/uni-decimal.el:
18084 * international/uni-decomposition.el:
18085 * international/uni-digit.el:
18086 * international/uni-lowercase.el:
18087 * international/uni-mirrored.el:
18088 * international/uni-name.el:
18089 * international/uni-numeric.el:
18090 * international/uni-old-name.el:
18091 * international/uni-titlecase.el:
18092 * international/uni-uppercase.el: Regenerate.
18093
18094 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18095
18096 * help.el (help-window-setup): Fix message displayed when other
18097 window is reused. (Bug#9341)
18098
18099 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18100
18101 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18102 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18103
18104 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18105 Mark obsolete.
18106 * shell.el (shell-parse-pcomplete-arguments): New function.
18107 (shell-completion-vars): Use it instead (bug#9160).
18108
18109 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18110
18111 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18112 strings and comments (bug#9333).
18113
18114 * emacs-lisp/debug.el (debug-arglist): New function.
18115 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18116 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18117
18118 2011-08-22 Juri Linkov <juri@jurta.org>
18119
18120 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18121 Revert regexp that highlights output switches to its old
18122 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18123
18124 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18125 to check for empty output (bug#9226).
18126
18127 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18128
18129 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18130 symbol-constituent as the default, as that stops font-lock from
18131 working properly (Bug#8843).
18132
18133 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18134
18135 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18136 `coding-system-for-*' around the process open call to avoid
18137 auth-source side effects.
18138 (smtpmail-try-auth-methods): Expand the secret password.
18139 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18140 probe hangs.
18141
18142 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18143
18144 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18145
18146 * emacs-lisp/find-func.el (find-function-noselect): New arg
18147 lisp-only.
18148
18149 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18150 signal an error for built-in functions (Bug#6664).
18151
18152 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18153
18154 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18155 (smtpmail-try-auth-methods): Use it.
18156
18157 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18158
18159 * font-lock.el (font-lock-fontify-region)
18160 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18161 (font-lock-default-unfontify-buffer)
18162 (font-lock-default-fontify-region)
18163 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18164
18165 * progmodes/compile.el (compilation-error-properties):
18166 Fix confusion between file struct and message struct (Bug#9319).
18167 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18168 `ant' regexp.
18169
18170 * net/browse-url.el (browse-url-firefox): Don't call
18171 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18172
18173 2011-08-20 Glenn Morris <rgm@gnu.org>
18174
18175 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18176
18177 * tutorial.el (tutorial--default-keys): Update some default bindings.
18178
18179 * files.el (hack-local-variables): Fully ignore case for "mode:".
18180
18181 2011-08-20 Alan Mackenzie <acm@muc.de>
18182
18183 Resolve invalid use of a regexp in regexp-opt.
18184
18185 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18186 detection for a java annotation.
18187
18188 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18189 detection for a java annotation.
18190
18191 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18192 handling for java.
18193 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18194
18195 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18196
18197 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18198 (Bug#9274).
18199
18200 2011-08-20 Alan Mackenzie <acm@muc.de>
18201
18202 Fontify CPP expressions correctly when starting in the middle of
18203 such a construct. Mainly for when jit-lock etc. starts a chunk
18204 here.
18205
18206 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18207 variable.
18208 (c-make-font-lock-search-form): New function, extracted from
18209 c-make-font-lock-search-function.
18210 (c-make-font-lock-search-function): Use the above function.
18211 (c-make-font-lock-context-search-function): New function.
18212 (c-cpp-matchers): Enhance the preprocessor expression case with
18213 the above function
18214 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18215 which takes an expression.
18216
18217 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18218
18219 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18220
18221 * window.el (display-buffer-reuse-window)
18222 (display-buffer-pop-up-window): Don't reuse or split a side
18223 window.
18224
18225 2011-08-19 Glenn Morris <rgm@gnu.org>
18226
18227 * files.el (hack-local-variables-prop-line, hack-local-variables):
18228 Downcase "Mode:". (Bug#9331)
18229
18230 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18231
18232 * international/characters.el: Add L and R categories.
18233
18234 * subr.el (bidi-string-mark-left-to-right): Rename from
18235 string-mark-left-to-right. Use category search.
18236
18237 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18238
18239 2011-08-18 Juri Linkov <juri@jurta.org>
18240
18241 * faces.el (error, warning, success): New faces with definitions
18242 copied from old default values of `font-lock-warning-face',
18243 `compilation-warning', `compilation-info' (bug#6117).
18244
18245 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18246
18247 * progmodes/compile.el (compilation-error): Inherit from `error'.
18248 (compilation-warning): Inherit from `warning'.
18249 (compilation-info): Inherit from `success'.
18250
18251 * dired.el (dired-marked): Inherit from `warning'.
18252 (dired-flagged): Inherit from `error'.
18253
18254 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18255
18256 * mail/smtpmail.el (auth-source): Require to avoid problems with
18257 binding variables (bug#9298). Also clean up some unused
18258 autoloads.
18259
18260 * net/network-stream.el (network-stream-open-starttls):
18261 Support using starttls.el without using gnutls-cli.
18262
18263 2011-08-17 Juri Linkov <juri@jurta.org>
18264
18265 * progmodes/grep.el (rgrep): Handle the case when
18266 `grep-find-command' is a cons cell (bug#9278).
18267
18268 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18269
18270 * window.el (display-buffer-pop-up-frame): Run frame creation
18271 function with BUFFER current (as special-display-popup-frame
18272 does). Reported by Drew Adams.
18273
18274 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18275
18276 * epa-mail.el: Simplify GnuPG group expansion using
18277 epg-expand-group.
18278 (epa-mail-group-alist, epa-mail-group-modtime)
18279 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18280 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18281 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18282 Remove.
18283
18284 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18285
18286 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18287
18288 2011-08-16 Alan Mackenzie <acm@muc.de>
18289
18290 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18291 Correct, to avoid the inside of macros.
18292
18293 2011-08-16 Richard Stallman <rms@gnu.org>
18294
18295 * epa-mail.el: Handle GnuPG group definitions.
18296 (epa-mail-group-alist, epa-mail-group-modtime)
18297 (epa-mail-gnupg-conf-file): New variables.
18298 (epa-mail-parse-groups, epa-mail-sync-groups)
18299 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18300 (epa-mail-expand-recipients): New functions.
18301 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18302
18303 * mail/rmail.el (rmail-epa-decrypt): New command.
18304
18305 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18306 Don't bind buffer-read-only, just inhibit-read-only.
18307 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18308 (epa-decrypt-armor-in-region): Make error message clearer.
18309
18310 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18311
18312 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18313 and "a2b" to "ab" for `prefix'.
18314
18315 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18316
18317 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18318 filter groups.
18319 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18320 Fourquet (Bug#8804).
18321
18322 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18323
18324 * startup.el (argi): Declare as global variable (bug#9275).
18325
18326 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18327
18328 * subr.el (string-mark-left-to-right): Search the entire string
18329 for RTL script, not just the terminating character. Doc fix.
18330
18331 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18332
18333 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18334 New function.
18335 (js--regexp-literal, js-syntax-propertize-function): Remove.
18336 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18337 (js-mode-map): Don't rebind electric keys.
18338 (js-insert-and-indent): Remove.
18339 (js-mode): Setup electric-layout and electric-indent instead.
18340
18341 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18342
18343 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18344
18345 * epa.el (epa-progress-callback-function): Fix the logic of
18346 displaying progress.
18347 * epa-file.el (epa-file-insert-file-contents): Make progress
18348 display more user-friendly.
18349 (epa-file-write-region): Ditto.
18350
18351 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18352
18353 * subr.el (string-mark-left-to-right): New function.
18354
18355 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18356 Use string-mark-left-to-right.
18357 (list-buffers-noselect): Caller changed.
18358
18359 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18360 Use string-mark-left-to-right.
18361 (tabulated-list-print): Recenter after moving point.
18362
18363 2011-08-10 Juri Linkov <juri@jurta.org>
18364
18365 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18366 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18367 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18368
18369 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18370
18371 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18372 (Bug#7554).
18373
18374 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18375
18376 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18377 character. (Bug#6594)
18378
18379 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18380
18381 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18382 (image-dired--with-db-file): New macro.
18383 (image-dired-write-tags, image-dired-remove-tag)
18384 (image-dired-create-gallery-lists, image-dired-write-comments)
18385 (image-dired-get-comment, image-dired-mark-tagged-files)
18386 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18387 (image-dired-gallery-generate): Use insert-file-contents.
18388
18389 * time.el (display-time-world-list, display-time-world-display):
18390 * time-stamp.el (time-stamp-string):
18391 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18392 set-time-zone-rule (Bug#7337).
18393
18394 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18395
18396 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18397 (epg-error-to-string, epg-errors-to-string): New function.
18398 (epg-wait-for-completion): Reverse errors list.
18399 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18400 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18401 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18402 (epg-sign-keys, epg-generate-key-from-file)
18403 (epg-generate-key-from-string): Format errors by using
18404 epg-errors-to-string (bug#9255).
18405 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18406
18407 2011-08-07 Juri Linkov <juri@jurta.org>
18408
18409 * faces.el (list-faces-display): Remove extra angle bracket
18410 from `help-mode-map'.
18411
18412 * info.el (Info-history-toc-nodes): Doc fix.
18413
18414 * longlines.el (longlines-mode): Doc fix.
18415
18416 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18417
18418 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18419 of statements and in a few more cases (bug#9183).
18420
18421 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18422 New functions.
18423 (cl-transform-lambda): Use them (bug#9239).
18424
18425 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18426
18427 * window.el (display-buffer-same-window)
18428 (display-buffer-same-frame, display-buffer-other-window)
18429 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18430 (pop-to-buffer-other-window)
18431 (pop-to-buffer-same-frame-other-window)
18432 (pop-to-buffer-other-frame): Make them defuns.
18433 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18434
18435 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18436
18437 * subr.el (make-composed-keymap): Move from C. Change calling
18438 convention, and improve docstring to bring attention to a subtle point.
18439 * minibuffer.el (completing-read-default): Adjust accordingly.
18440
18441 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18442
18443 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18444 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18445
18446 * net/trampver.el: Update release number.
18447
18448 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18449
18450 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18451 "in" (bug#9190).
18452
18453 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18454
18455 * mail/sendmail.el (sendmail-query-once): Restore the current
18456 buffer after querying (bug#9074).
18457
18458 * dired.el (dired-flagged): Use different faces for marked and
18459 flagged files (bug#6117).
18460
18461 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18462 (bug#4433).
18463
18464 * ido.el (ido-mode): Switch off the message if called
18465 non-interactively.
18466
18467 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18468 before 587, since it appears that that's more likely to work for
18469 more people.
18470
18471 * cus-edit.el (custom-file): When running under emacs -q, always
18472 refuse to save the customizations, even if the .emacs file doesn't
18473 exist.
18474
18475 * info.el: Remove the `Info-beginning-of-buffer' function
18476 (bug#8325).
18477
18478 * net/network-stream.el (network-stream-open-starttls):
18479 Use `starttls-available-p' to see whether starttls.el can be used.
18480
18481 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18482
18483 * window.el (display-buffer-in-window): Don't set dedicated status
18484 of window here (Bug#9215).
18485 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18486 (display-buffer-pop-up-side-window)
18487 (display-buffer-in-side-window): Set dedicated status of window here.
18488
18489 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18490
18491 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18492 before binding generated-autoload-file.
18493
18494 2011-08-01 Deniz Dogan <deniz@dogan.se>
18495
18496 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18497
18498 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18499
18500 Sync with Tramp 2.2.2.
18501
18502 * net/trampver.el: Update release number.
18503
18504 2011-07-30 Juri Linkov <juri@jurta.org>
18505
18506 * dired-aux.el (dired-touch-initial): Remove function.
18507 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18508 current time, and `default' to the last modification time of the
18509 current marked file (bug#6887).
18510
18511 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18512
18513 * simple.el (goto-line): Use string-to-number to provide a
18514 numeric argument to read-number (bug#9163).
18515
18516 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18517
18518 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18519 connection process, it could be nil.
18520
18521 2011-07-27 Leo Liu <sdl.web@gmail.com>
18522
18523 Simplify url handling in rcirc-mode.
18524
18525 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18526 (rcirc-browse-url-at-mouse): Remove.
18527 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18528
18529 2011-07-26 Alan Mackenzie <acm@muc.de>
18530
18531 Fontify bitfield declarations properly.
18532
18533 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18534 (c-symbol-chars): Now exported as a lang variable.
18535 (c-not-primitive-type-keywords): New lang variable.
18536
18537 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18538 QT keyword "more" to prevent "more slots: ...." being spuriously
18539 parsed as a bitfield declaration.
18540
18541 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18542 Refactor and enhance to handle bitfield declarations.
18543 (c-punctuation-in): New function.
18544 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18545 declarations properly.
18546
18547 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18548
18549 * calendar/icalendar.el (icalendar--all-events): Take care of
18550 multiple vcalendars in a single file.
18551 (icalendar--convert-float-to-ical): Checkdoc fixes.
18552
18553 2011-07-25 Deniz Dogan <deniz@dogan.se>
18554
18555 * image.el (insert-image): Clarifying docstring.
18556
18557 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18558
18559 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18560 `tramp-send-command-and-check' if there is no error.
18561 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18562
18563 2011-07-22 Alan Mackenzie <acm@muc.de>
18564
18565 Prevent cc-langs.elc being loaded at run time.
18566
18567 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18568 cc-langs.
18569
18570 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18571 "(require 'cc-langs)". Quote a form so it will evaluate at
18572 (cc-mode's) compilation time.
18573
18574 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18575
18576 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18577 loading. (Bug#9114)
18578
18579 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18580
18581 * window.el (display-buffer-pop-up-window)
18582 (display-buffer-pop-up-side-window)
18583 (display-buffer-in-side-window): Call display-buffer-set-height
18584 and display-buffer-set-width after setting the new window's
18585 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18586
18587 2011-07-20 Sam Steingold <sds@gnu.org>
18588
18589 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18590 (etags-tags-included-tables): Call `convert-standard-filename' on
18591 the file names contained in TAGS so that windows Emacs can handle
18592 TAGS files created by cygwin ctags.
18593
18594 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18595
18596 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18597 which apparently didn't work.
18598
18599 2011-07-19 Roland Winkler <winkler@gnu.org>
18600
18601 * proced.el (proced-send-signal): For *Marked Processes* buffer
18602 put point at beginning of buffer.
18603
18604 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18605
18606 * proced.el (proced-format): Make header lines align with the text
18607 (bug#1779).
18608
18609 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18610
18611 * view.el (view-buffer): Allow running in `special' modes if we're
18612 visiting a file (bug#8615).
18613
18614 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18615
18616 * window.el (display-buffer-alist-of-strings-p)
18617 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18618 New functions.
18619 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18620 more accurately.
18621
18622 2011-07-18 Alan Mackenzie <acm@muc.de>
18623
18624 Fontify declarators properly when, e.g., a jit-lock chunk begins
18625 inside a declaration.
18626
18627 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18628
18629 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18630 New function.
18631 (c-complex-decl-matchers): Insert reference to
18632 c-font-lock-enclosing-decls.
18633
18634 * progmodes/cc-engine.el (c-backward-single-comment):
18635 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18636 to nil around calls to (forward-comment -1).
18637
18638 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18639
18640 * image.el (put-image): Doc typo fix.
18641
18642 * progmodes/etags.el (tags-search): Doc typo fix.
18643
18644 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18645 password if we get errors 550 to 554.
18646
18647 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18648
18649 * net/gnutls.el (gnutls-log-level): Remove.
18650
18651 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18652 indentation character (bug#6380).
18653
18654 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18655
18656 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18657 to clarify what the problem is (bug#4291).
18658
18659 * simple.el (current-kill): Clarify what
18660 `interprogram-paste-function' does (bug#7500).
18661 (auto-fill-mode): Document `auto-fill-function' in relation to
18662 `auto-fill-mode' (bug#2470).
18663
18664 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18665
18666 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18667 method if slot is read-only (bug#9035).
18668
18669 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18670
18671 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18672 * window.el (pop-to-buffer): Select window used even if it was
18673 selected before, see discussion of (Bug#8615), (Bug#6954).
18674 Pass argument NORECORD on to select-frame-set-input-focus.
18675
18676 2011-07-15 Glenn Morris <rgm@gnu.org>
18677
18678 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18679 Respect help-form.
18680
18681 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18682
18683 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18684 (gnutls-negotiate): Use it.
18685
18686 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18687
18688 * net/gnutls.el (gnutls-negotiate):
18689 Upcase `gnutls-algorithm-priority'.
18690
18691 2011-07-15 Glenn Morris <rgm@gnu.org>
18692
18693 * jka-compr.el (jka-compr-verbose): Move from here...
18694 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18695 Add missing :version tag.
18696 * info.el: No need to require jka-compr when compiling.
18697
18698 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18699
18700 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18701 (gnutls-negotiate): Use it.
18702
18703 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18704
18705 * info.el (Info-beginning-of-buffer): New command.
18706 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18707 announcing `b' as the key (bug#8325).
18708 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18709
18710 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18711
18712 * international/mule-cmds.el
18713 (describe-specified-language-support): Make the error message
18714 clearer (bug#8905).
18715
18716 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18717
18718 * isearch.el (isearch-barrier): Add a doc string, since it's
18719 mentioned in a function doc string (bug#8678).
18720
18721 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18722
18723 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18724 buffer argument (Bug#9083) and self-identifying label argument.
18725
18726 2011-07-15 Glenn Morris <rgm@gnu.org>
18727
18728 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18729
18730 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18731
18732 * man.el (Man-fontify-manpage): Fix message when formatting the
18733 man page (bug#7929).
18734
18735 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18736
18737 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18738 argument LRM; if non-nil, append an invisible LRM character to the
18739 buffer name.
18740 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18741 last argument non-nil, when formatting buffer names.
18742 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18743 paragraph direction.
18744
18745 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18746
18747 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18748 the man page name (bug#7929).
18749
18750 * image.el (put-image): Mention the `put-image' overlay property
18751 (bug#7834).
18752
18753 * scroll-bar.el (set-scroll-bar-mode): Mention that
18754 `scroll-bar-mode' lists the values (bug#7772).
18755
18756 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18757 command (bug#7729).
18758
18759 * rect.el (apply-on-rectangle): Return the point after the last
18760 operation.
18761 (string-rectangle): Go to the point after the last operation
18762 (bug#7522).
18763
18764 * printing.el (pr-toggle-region): Clarify the documentation
18765 slightly (bug#7493).
18766
18767 * time.el (display-time-update):
18768 Allow `display-time-mail-function' to return nil (bug#7158).
18769 Fix suggested by Detlev Zundel.
18770
18771 * vc/diff.el (diff): Clarify the order the file names are read
18772 (bug#7111).
18773
18774 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18775 the doc string (bug#7015).
18776
18777 * font-lock.el (font-lock-maximum-decoration): Mention what
18778 numeric levels mean (bug#6935).
18779
18780 * startup.el (initial-buffer-choice): Don't mention the `none'
18781 selection, which is against policy.
18782
18783 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18784
18785 * window.el (display-buffer-normalize-special):
18786 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18787
18788 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18789
18790 * subr.el (version<, version<=, version=): Mention "-CVS" and
18791 "-12345" alpha version numbers.
18792
18793 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18794
18795 * bindings.el: Add advertised binding for set-mark-command
18796 (Bug#5772).
18797
18798 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18799
18800 * bindings.el (mode-line-other-buffer):
18801 * bookmark.el (bookmark-bmenu-2-window):
18802 * bs.el (bs-cycle-next, bs-cycle-previous):
18803 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18804 switch-to-buffer.
18805
18806 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18807 Delete.
18808
18809 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18810
18811 * follow.el (follow-debug-message, follow-redisplay):
18812 * jka-cmpr-hook.el (with-auto-compression-mode):
18813 Fix typos in docstrings.
18814
18815 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18816
18817 * subr.el (with-silent-modifications): Clarify somewhat what the
18818 macro inhibits (bug#6525).
18819
18820 * simple.el (eval-expression): Note what it does if called
18821 interactively (bug#6495).
18822
18823 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18824
18825 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18826 Use pop-to-buffer buffer-or-name if it is nil.
18827
18828 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18829 Remove switch-to-buffer.
18830
18831 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18832
18833 * files.el (make-directory): Clarify that an error will be raised
18834 if there's an error (bug#6397).
18835
18836 * startup.el (initial-buffer-choice): Add `none' as a choice
18837 (bug#6234).
18838
18839 * subr.el (add-hook): Clarify section about buffer-local hooks
18840 (bug#6218).
18841
18842 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18843
18844 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18845
18846 * tabify.el (untabify): Preserve the current column so that point
18847 doesn't move (bug#6032).
18848
18849 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18850
18851 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18852 Rewrite to avoid awkward possessive "s" (bug#5986).
18853
18854 2011-07-13 Glenn Morris <rgm@gnu.org>
18855
18856 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18857 (dired-insert-directory): Give a message the first time
18858 if ls is found not to support --dired.
18859
18860 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18861
18862 * simple.el (toggle-truncate-lines): Clarify what is toggled
18863 (bug#5580). Text by Drew Adams.
18864
18865 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18866
18867 * simple.el (blink-matching-open): Make the error message from the
18868 last change less verbose.
18869
18870 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18871
18872 * font-lock.el (font-lock-comment-face): Use the high contrast
18873 "yellow" color for font-lock-comment-face on low color terminals
18874 using a dark background color (bug#4221).
18875
18876 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18877
18878 * dired.el (dired-insert-set-properties): Make the doc string
18879 reflect what it does now (bug#5325).
18880
18881 * simple.el (blink-matching-open): Say that we were unable to find
18882 the match within the limit, if we're limited (bug#5122).
18883
18884 * international/mule-cmds.el (prefer-coding-system): Add an
18885 example (bug#4869).
18886
18887 * progmodes/etags.el (tags-search): Document `file-list-form'
18888 (bug#4731).
18889
18890 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18891
18892 * net/browse-url.el (browse-url-default-browser)
18893 (browse-url-browser-function): Make the default browser choice a
18894 bit more logical (bug#4300). Also clean up the doc string.
18895
18896 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18897
18898 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18899 binary endings (bug#4440).
18900
18901 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18902
18903 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18904 which can be pretty annoying (bug#8971).
18905
18906 * jka-compr.el (jka-compr-verbose): New variable, and use
18907 throughout (bug#8971).
18908
18909 * info.el (Info-find-file): Fall back on the installation
18910 directory if we can't find the info node anywhere else.
18911
18912 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18913
18914 * vc/vc.el (vc-revert-file):
18915 Don't set file time-stamp in the past. (Bug#5181)
18916
18917 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18918
18919 * files.el (after-find-file): Give a better error message when
18920 trying to find a symlink that points to a file that doesn't exist
18921 (bug#4398).
18922
18923 * progmodes/cc-vars.el: Remove (probably) misleading comment
18924 (bug#4396).
18925
18926 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18927
18928 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18929
18930 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18931
18932 * mouse-sel.el: Hack restoring functionality, while keeping
18933 compatibility with 2010-07-03 changes to mouse selection.
18934 (mouse-sel-primary-overlay): New var.
18935 (mouse-sel-selection-alist): Use it.
18936 (mouse-sel-mode): Doc fix; remove points that are default features
18937 of mouse.el.
18938
18939 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18940
18941 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18942 Fix previous fix (bug#2490).
18943
18944 2011-07-12 Roland Winkler <winkler@gnu.org>
18945
18946 * textmodes/bibtex.el (bibtex-initialize):
18947 Use pop-to-buffer-same-window.
18948 (bibtex-search-entries): Fix interactive call.
18949
18950 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18951
18952 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18953 Fontise bytecomp Error lines more correctly (bug#2490).
18954 Fix suggested by Johan Bockgård.
18955
18956 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18957
18958 * dired-x.el (dired-guess-default): Use `delete-dups'.
18959
18960 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18961
18962 * dired.el (dired-mark-prompt):
18963 * dired-aux.el (dired-read-shell-command): Doc fix.
18964
18965 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18966
18967 * mail/sendmail.el (sendmail-query-once):
18968 Use `customize-save-variable' unconditionally, now that it works under
18969 emacs -Q.
18970
18971 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18972
18973 * cus-edit.el (custom-file): Take an optional no-error variable.
18974 (customize-save-variable): Set the variable, and give a warning if
18975 running under "emacs -q".
18976
18977 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18978
18979 * loadhist.el (unload-feature-special-hooks):
18980 Add `auto-coding-functions', `fill-nobreak-predicate' and
18981 `find-directory-functions' (bug#5327).
18982
18983 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18984
18985 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18986
18987 * cus-edit.el (custom-guess-name-alist): -alist variables should
18988 use the `alist' type (bug#3120). Suggested by Drew Adams.
18989
18990 * printing.el: Add documentation to all the `pr-toggle-' commands.
18991
18992 2011-07-11 Leo Liu <sdl.web@gmail.com>
18993
18994 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18995 backends where it makes sense (bug#2623).
18996
18997 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18998
18999 * dired-x.el (dired-guess-default): Remove duplicate shell command
19000 entries (bug#2028).
19001 (dired-guess-default): Fix grammar in doc string (bug#2028).
19002 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19003
19004 * subr.el (remove-duplicates): New conveniency function.
19005
19006 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19007
19008 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19009 (bug#1526).
19010
19011 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19012
19013 * window.el (display-buffer-normalize-default): Don't invert
19014 meaning of even-window-heights. Reported by Eli Zaretskii
19015 <eliz@gnu.org>.
19016
19017 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19018
19019 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19020
19021 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19022
19023 * window.el (display-buffer): Fix arguments to
19024 display-buffer-reuse-window in last change.
19025
19026 * faces.el (link): Use a less saturated blue on light backgrounds.
19027
19028 * startup.el (fancy-startup-text, fancy-about-text)
19029 (fancy-startup-tail): Use font-lock faces, for background safety.
19030
19031 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19032
19033 * emulation/viper-cmd.el (viper-change-state-to-vi):
19034 Limit triggering of abbrev expansion (Bug#9038).
19035
19036 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19037
19038 * window.el (display-buffer-default-specifiers): Remove.
19039 (display-buffer-macro-specifiers): Remove default specifiers.
19040 (display-buffer-alist): Default to nil.
19041 (display-buffer-reuse-window): New optional argument other-window.
19042 (display-buffer-pop-up-window): Allow splitting internal
19043 windows. Check whether a live window was created.
19044 (display-buffer-other-window-means-other-frame)
19045 (display-buffer-normalize-arguments): Rename to
19046 display-buffer-normalize-argument and rewrite. Set the
19047 other-window specifier.
19048 (display-buffer-normalize-special): New function.
19049 (display-buffer-normalize-options): Rename to
19050 display-buffer-normalize-default and rewrite.
19051 (display-buffer-normalize-options-inhibit): Remove.
19052 (display-buffer-normalize-specifiers): Rewrite.
19053 (display-buffer): Process other-window specifier and call
19054 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19055 more faithfully.
19056 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19057 (display-buffer-alist-set): Don't handle 'unset default values.
19058 (display-buffer-in-window, display-buffer-alist-set):
19059 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19060 <tassilo@member.fsf.org>.
19061
19062 2011-07-09 Leo Liu <sdl.web@gmail.com>
19063
19064 * register.el (insert-register): Restore accidental change on
19065 2011-06-26. (Bug#9028)
19066
19067 2011-07-09 Glenn Morris <rgm@gnu.org>
19068
19069 * subr.el (remq): Handle the empty list. (Bug#9024)
19070
19071 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19072
19073 * mail/sendmail.el (send-mail-function): No longer delay custom
19074 initialization.
19075 * custom.el (custom-initialize-delay): Doc fix.
19076
19077 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19078
19079 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19080
19081 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19082
19083 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19084 human-friendly prompt.
19085
19086 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19087
19088 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19089 provided by a particular plugin.
19090
19091 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19092
19093 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19094 save customizations (with "emacs -Q"), just set the variable
19095 instead of erroring out.
19096
19097 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19098
19099 2011-07-08 Juri Linkov <juri@jurta.org>
19100
19101 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19102 (archive-zip-update-case): Use 7z if found by `executable-find'.
19103 The order of searching the available programs is the same as in
19104 `archive-zip-extract' (bug#8968).
19105
19106 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19107
19108 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19109 (menu-bar-options-menu): Tweak descriptions.
19110
19111 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19112
19113 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19114 menu items into verb phrases (bug#1421). Also refill to fit under
19115 80 columns.
19116
19117 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19118
19119 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19120 (Info-read-node-name): Doc fix (Bug#1084).
19121
19122 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19123 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19124 (end-of-sexp, beginning-of-sexp)
19125 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19126 (forward-symbol, forward-same-syntax, word-at-point)
19127 (sentence-at-point): Doc fix (Bug#1144).
19128
19129 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19130
19131 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19132 should cover it (bug#1281).
19133
19134 * cus-edit.el (custom-show): Mark as obsolete.
19135
19136 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19137 negotiation fails, then possibly try again with a non-encrypted
19138 connection (bug#9017).
19139
19140 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19141 be used.
19142
19143 2011-07-07 Richard Stallman <rms@gnu.org>
19144
19145 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19146 property, and handle its changed format.
19147 Look for the correct line number.
19148 Use file's line contents (but not past first =) to find
19149 correct line in message.
19150
19151 2011-07-07 Kenichi Handa <handa@m17n.org>
19152
19153 * international/characters.el (build-unicode-category-table):
19154 Delete it.
19155 (unicode-category-table): Set it by unicode-property-table-internal.
19156
19157 * international/mule-cmds.el (char-code-property-alist): Move to
19158 to src/chartab.c.
19159 (get-char-code-property): Call unicode-property-table-internal to
19160 load a file. Call get-unicode-property-internal where necessary.
19161 (put-char-code-property): Call unicode-property-table-internal to
19162 load a file. Call put-unicode-property-internal where necessary.
19163 put-unicode-property-internal where necessary.
19164 (char-code-property-description):
19165 Call unicode-property-table-internal to load a file.
19166
19167 * international/charprop.el:
19168 * international/uni-bidi.el:
19169 * international/uni-category.el:
19170 * international/uni-combining.el:
19171 * international/uni-comment.el:
19172 * international/uni-decimal.el:
19173 * international/uni-decomposition.el:
19174 * international/uni-digit.el:
19175 * international/uni-lowercase.el:
19176 * international/uni-mirrored.el:
19177 * international/uni-name.el:
19178 * international/uni-numeric.el:
19179 * international/uni-old-name.el:
19180 * international/uni-titlecase.el:
19181 * international/uni-uppercase.el: Regenerate.
19182
19183 * loadup.el: Load international/charprop.el before
19184 international/characters.
19185
19186 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19187
19188 * window.el (next-buffer, previous-buffer): Signal an error if
19189 called from a minibuffer window.
19190
19191 * bindings.el: Revert 2011-07-04 change.
19192
19193 2011-07-06 Richard Stallman <rms@gnu.org>
19194
19195 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19196 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19197 Treat markers like ints.
19198 (rmail-mime-entity): Doc fix.
19199
19200 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19201
19202 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19203 defcustom again for backwards compatibility.
19204
19205 * simple.el (shell-command-on-region): Fill.
19206
19207 * dired-aux.el (dired-kill-line): Add a doc string.
19208
19209 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19210 to "\\sw\\|\\s_" (bug#358).
19211
19212 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19213 (dired-unmark-backward): Ditto.
19214 (dired-flag-backup-files): Ditto.
19215
19216 * dired-x.el (dired-mark-sexp): Ditto.
19217
19218 2011-07-06 Richard Stallman <rms@gnu.org>
19219
19220 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19221 (rmail-mime-entity): New arg TRUNCATED.
19222 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19223 New functions.
19224 (rmail-mime-save): Warn if entity is truncated.
19225 (rmail-mime-toggle-hidden): Likewise, for showing.
19226 (rmail-mime-process-multipart): Record when an entity is truncated.
19227
19228 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19229 if ENTITY is a string.
19230
19231 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19232
19233 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19234 of faces when `M-C-x'-ing their definitions (bug#8378).
19235 Also clean up the code slightly.
19236
19237 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19238 because that makes the colors go away.
19239
19240 * mail/sendmail.el (send-mail-function): Change the default to
19241 `sendmail-query-once'.
19242 (sendmail-query-once): Add an autoload cookie.
19243
19244 * net/network-stream.el (network-stream-open-starttls): Try using
19245 a plain connection even if the server offered STARTTLS, and we
19246 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19247 capability. This should make smtpmail.el work in slightly more
19248 configurations.
19249
19250 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19251
19252 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19253 New defun.
19254 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19255
19256 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19257
19258 * progmodes/sql.el: Version 3.0
19259 (sql-product-alist): Add product :completion-object,
19260 :completion-column, and :statement attributes.
19261 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19262 (sql-mode-syntax-table): Mark all punctuation.
19263 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19264 ansi keywords.
19265 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19266 (sql-mode-oracle-font-lock-keywords): Improve.
19267 (sql-oracle-show-reserved-words): New function for development.
19268 (sql-product-font-lock): Simplify for source code buffers.
19269 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19270 New functions.
19271 (sql-highlight-product): Set product specific syntax table.
19272 (sql-mode-map): Add statement movement functions.
19273 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19274 New variable.
19275 (sql-statement-regexp, sql-beginning-of-statement)
19276 (sql-end-of-statement, sql-signum): New functions.
19277 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19278 (sql-show-sqli-buffer): Bug fix.
19279 (sql-interactive-mode): Store connection data as buffer local.
19280 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19281 with sql-interactive-mode.
19282 (sql-save-connection): Save buffer local settings.
19283 (sql-connection-menu-filter): Change menu entry name.
19284 (sql-product-interactive): Bug fix.
19285 (sql-preoutput-hold): New variable.
19286 (sql-interactive-remove-continuation-prompt): Bug fixes.
19287 (sql-debug-redirect): New variable.
19288 (sql-str-literal): New function.
19289 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19290 Redesign.
19291 (sql-oracle-save-settings, sql-oracle-restore-settings)
19292 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19293 (sql-completion-object, sql-completion-column)
19294 (sql-completion-sqlbuf): New variables.
19295 (sql-build-completions-1, sql-build-completions)
19296 (sql-try-completion): New functions.
19297 (sql-read-table-name): Use them.
19298 (sql-contains-names): New buffer local variable.
19299 (sql-list-all, sql-list-table): Use it.
19300 (sql-oracle-completion-types): New variable.
19301 (sql-oracle-completion-object, sql-sqlite-completion-object)
19302 (sql-postgres-completion-object): New functions.
19303
19304 2011-07-06 Glenn Morris <rgm@gnu.org>
19305
19306 * window.el (pop-to-buffer): Doc fix.
19307
19308 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19309
19310 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19311
19312 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19313
19314 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19315
19316 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19317
19318 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19319
19320 * button.el (button): Inherit from link face. Suggested by Dan
19321 Nicolaescu.
19322
19323 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19324
19325 * progmodes/gdb-mi.el: Fit in 80 columns.
19326 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19327 switch-to-buffer.
19328
19329 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19330 if imenu is simply not configured (bug#8941).
19331
19332 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19333
19334 * allout.el (allout-post-undo-hook): New allout outline-change
19335 event hook to signal undo activity.
19336 (allout-post-command-business): Run allout-post-undo-hook if an
19337 undo just occurred.
19338 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19339 * allout-widgets.el (allout-widgets-after-undo-function):
19340 Ensure the integrity of the current item's decoration after it has been
19341 in the vicinity of an undo.
19342 (allout-widgets-mode): Include allout-widgets-after-undo-function
19343 on the new allout-post-undo-hook.
19344
19345 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19346
19347 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19348 Let define-derived-mode define it.
19349 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19350 cycles of abbrev-table inheritance (bug#8998).
19351
19352 2011-07-05 Roland Winkler <winkler@gnu.org>
19353
19354 * textmodes/bibtex.el: Add support for biblatex.
19355 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19356 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19357 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19358 (bibtex-entry-alist, bibtex-field-alist): New variables.
19359 (bibtex-entry-field-alist): Obsolete alias for
19360 bibtex-BibTeX-entry-alist.
19361 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19362 (bibtex-set-dialect): New command.
19363 (bibtex-entry-type, bibtex-entry-head)
19364 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19365 Bind via bibtex-set-dialect.
19366 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19367 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19368 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19369 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19370 Define via bibtex-set-dialect.
19371 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19372 Obey bibtex-no-opt-remove-re.
19373 (bibtex-vec-push, bibtex-vec-incr): New functions.
19374 (bibtex-format-entry, bibtex-field-list)
19375 (bibtex-print-help-message, bibtex-validate)
19376 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19377
19378 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19379
19380 * progmodes/compile.el (compilation-goto-locus):
19381 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19382 * bs.el (bs-cycle-next, bs-cycle-previous):
19383 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19384 * bindings.el (mode-line-other-buffer):
19385 * autoinsert.el (auto-insert):
19386 * arc-mode.el (archive-extract):
19387 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19388
19389 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19390
19391 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19392 Fix check of `emacs-lock-unlockable-modes'.
19393 Coerce true values of `emacs-lock--try-unlocking' to t.
19394
19395 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19396
19397 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19398 * emacs-lock.el: New file.
19399
19400 2011-07-05 Julien Danjou <julien@danjou.info>
19401
19402 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19403 than `boundp' to check if face is set.
19404
19405 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19406
19407 * register.el (registerv-make):
19408 * window.el (window-min-height): Fix typos in docstrings.
19409
19410 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19411
19412 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19413 Update doc string.
19414
19415 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19416
19417 * server.el (server-execute): Catch quit and call
19418 `server-return-error' to pass the error back to emacsclient and
19419 close the connection (bug#8942).
19420
19421 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19422
19423 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19424 insecure exception for current topic. Also note that auto-saves
19425 are handled differently.
19426
19427 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19428 State variables for tracking auto-save inhibition situation.
19429
19430 (allout-write-contents-hook-handler): Rename from
19431 'allout-write-file-hook-handler', and describe how it depends on
19432 write-contents-functions sensitivity to non-nil value to prevent
19433 file write.
19434
19435 (allout-auto-save-hook-handler): Remove. auto-save does not check
19436 this in individual buffers, only in the starting buffer, so this
19437 is not the right way for us to inhibit auto-save in a buffer
19438 according to its condition.
19439
19440 (allout-mode): Use new allout-write-contents-hook-handler, and
19441 only with write-contents-functions. Remove auto-save provisions -
19442 they're implemented elsewhere.
19443
19444 (allout-before-change-handler): If undo is in progress, note that
19445 for attention of allout-post-command-business.
19446
19447 (allout-post-command-business): If the command we're following was
19448 an undo, check for change in the status of encrypted items and
19449 adjust auto-save inhibitions accordingly.
19450
19451 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19452 according to whether there are or aren't any plain-text topics
19453 pending encryption.
19454
19455 (allout-inhibit-auto-save-info-for-decryption):
19456 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19457 if there are plain-text topics pending encryption.
19458
19459 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19460 buffer-saved-size and some allout state to not inhibit auto-saves
19461 if there are no longer any plain-text topics pending encryption.
19462
19463 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19464 No longer provide for exemption of the current topic.
19465
19466 2011-07-04 Juri Linkov <juri@jurta.org>
19467
19468 Add 7z operations to delete and save changed members (bug#8968).
19469 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19470 New defcustoms.
19471 (archive-7z-write-file-member): New function.
19472 (archive-7z-summarize): Fix the number of dashes in the
19473 listing output.
19474
19475 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19476
19477 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19478 (bug#8958).
19479
19480 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19481
19482 * bindings.el: Ignore next-buffer and previous-buffer in
19483 minibuffer-local-map.
19484
19485 * font-lock.el (font-lock-builtin-face): Change light background
19486 color to dark slate blue (Bug#6693).
19487
19488 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19489
19490 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19491
19492 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19493
19494 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19495 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19496 Add switch-to-buffer.
19497
19498 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19499
19500 * isearch.el (isearch-search-fun-function): Clarify further the
19501 meaning of the function returned.
19502
19503 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19504
19505 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19506
19507 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19508 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19509 Use it.
19510 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19511 `tramp-default-remote-path' does not exist.
19512 (tramp-send-command-and-read): New optional argument NOERROR.
19513 (tramp-open-connection-setup-interactive-shell)
19514 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19515 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19516 (tramp-process-sentinel): Flush also process' connection property.
19517 (tramp-sh-handle-start-file-process): Do not set process
19518 sentinel. It is done now ...
19519 (tramp-maybe-open-connection): ... here. (Bug#8929)
19520
19521 2011-07-04 MON KEY <monkey@sandpframing.com>
19522
19523 * play/animate.el (animate-string): Doc fixes and allow changing
19524 the buffer name (bug#5417).
19525
19526 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19527
19528 * play/animate.el (animation-buffer-name): Rename from *animate*.
19529
19530 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19531
19532 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19533 This is simpler and helps future-proof the code.
19534 (timer-until): Use time-subtract and float-time.
19535 (timer--time-less-p): Use time-less-p.
19536
19537 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19538
19539 * type-break.el (timep): Use the value of `float-time' to avoid a
19540 byte-compiler warning.
19541
19542 * server.el (server-eval-and-print): Return any result, even nil.
19543
19544 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19545
19546 * type-break.el: Accept time formats that the builtins accept.
19547 (timep, type-break-time-difference): Accept any format that
19548 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19549 This is simpler and helps future-proof the code.
19550 (type-break-time-difference): Round rather than ignoring
19551 subseconds components.
19552
19553 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19554
19555 * info.el (Info-apropos-matches): Make non-interactive, since it
19556 doesn't seem to do anything useful as a command (bug#8829).
19557
19558 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19559
19560 * frame.el (frame-background-mode, frame-set-background-mode):
19561 Move from faces.el.
19562 (frame-default-terminal-background): New function.
19563
19564 * custom.el (custom-push-theme): Don't record faces in `changed'
19565 theme; this doesn't work correctly for per-frame face settings.
19566 (disable-theme): Use face-set-after-frame-default to reset faces.
19567 (custom--frame-color-default): New function.
19568
19569 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19570
19571 * dired.el (dired-flagging-regexp): Remove unused variable
19572 (bug#8769).
19573
19574 2011-03-29 Kevin Ryde <user42@zip.com.au>
19575
19576 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19577 `perl-Test2' extend to match possible "fail #N" rep count
19578 (bug#8377).
19579
19580 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19581
19582 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19583 `smtpmail-via-smtp' now returns the error instead of nil.
19584
19585 * isearch.el (isearch-search-fun-function): Clarify the doc string
19586 (bug#8101).
19587
19588 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19589
19590 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19591 unnecessary spaces (bug#8987).
19592
19593 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19594
19595 * net/network-stream.el (open-network-stream): Use the
19596 :end-of-capability command thoughout.
19597
19598 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19599
19600 * net/network-stream.el (open-network-stream): Add the
19601 :end-of-capability command parameter, used by pop3.el.
19602
19603 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19604
19605 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19606
19607 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19608 for list)" (bug#6475).
19609
19610 * files.el (file-expand-wildcards): Ignore non-readable
19611 sub-directories while trying to find matches instead of signaling
19612 an error (bug#6297).
19613
19614 * man.el (Man-reference-regexp): Allow matching possible
19615 word-wrapped references (bug#6289).
19616
19617 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19618 for consistency with the other vc buffers (bug#6197).
19619 (vc-checkin): Ditto.
19620
19621 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19622
19623 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19624
19625 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19626
19627 * custom.el (defcustom): Clarify that :set is only used in the
19628 Customize user interface (bug#6089).
19629
19630 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19631 associated with a file, refuse to run instead of erroring out
19632 (bug#6084).
19633
19634 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19635 the doc string, since it appears that using `fill-column' always
19636 controls the width (bug#7845).
19637
19638 * simple.el (shell-command-on-region): Say where the error output
19639 went if `shell-command-default-error-buffer' is set (bug#6857).
19640
19641 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19642
19643 * allout.el (allout-yank-processing): Adjust cursor position for
19644 backwards-deleted space.
19645
19646 (allout-rebullet-heading): Register changes with
19647 allout-exposure-changed-hook, so the modified topic is properly
19648 decorated.
19649
19650 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19651
19652 * minibuffer.el (completion-in-region): Document PREDICATE
19653 (bug#7136).
19654
19655 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19656 of keyword/argument pairs (bug#6904).
19657
19658 * replace.el (multi-occur):
19659 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19660
19661 2011-07-02 Drew Adams <drew.adams@oracle.com>
19662
19663 * dired.el (dired-mark-if): Make the message about whether it's
19664 marking or unmarking clearer (bug#8523).
19665
19666 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19667
19668 * disp-table.el (display-table-print-array): New function.
19669 (describe-display-table): Use it to print the vectors more pretty
19670 (Bug#8859).
19671
19672 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19673
19674 * window.el (window-state-get-1): Don't assign clone numbers.
19675 Add clone-of item to list of window parameters.
19676 (window-state-put-2): Don't process clone numbers.
19677 (display-buffer-alist): Fix doc-string.
19678
19679 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19680
19681 * subr.el (remq): Don't allocate if it's not needed.
19682 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19683 (keymap--merge-bindings): New functions.
19684 (keymap-canonicalize): Use them to refine the canonicalization.
19685 * minibuffer.el (minibuffer-local-completion-map)
19686 (minibuffer-local-must-match-map): Move initialization from C.
19687 (minibuffer-local-filename-completion-map): Move initialization from C;
19688 don't inherit from anything here.
19689 (minibuffer-local-filename-must-match-map): Make obsolete.
19690 (completing-read-default): Use make-composed-keymap to combine
19691 minibuffer-local-filename-completion-map with either
19692 minibuffer-local-must-match-map or
19693 minibuffer-local-filename-completion-map.
19694
19695 2011-07-01 Glenn Morris <rgm@gnu.org>
19696
19697 * type-break.el (type-break-time-sum): Use dolist.
19698
19699 * textmodes/flyspell.el (flyspell-word-search-backward):
19700 Replace CL function.
19701
19702 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19703
19704 * mouse.el (mouse--strip-first-event): New function.
19705 (function-key-map): Use it to map fringe clicks to normal clicks
19706 by default.
19707
19708 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19709 (vc-bzr-revision-completion-table): Add support for annotate and date.
19710
19711 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19712 inherit from parent.
19713
19714 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19715
19716 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19717 (dired-show-file-type): Doc fixup (bug#8818).
19718
19719 * dired.el (dired-mode): Fix up the doc string as suggested by
19720 Drew Adams (bug#8817).
19721
19722 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19723 cookie, since the manual says that it should be possible to add
19724 this function to `find-file-hook' (bug#8709).
19725
19726 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19727
19728 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19729 here. Noted Ted Zlatanov as the maintainer.
19730 (cfengine-common-settings, cfengine-common-syntax): New functions
19731 to set up common things between `cfengine-mode' and
19732 `cfengine3-mode'.
19733 (cfengine3-mode): New mode.
19734 (cfengine3-defuns cfengine3-defuns-regex
19735 (cfengine3-class-selector-regex cfengine3-category-regex)
19736 (cfengine3-vartypes cfengine3-font-lock-keywords)
19737 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19738 (cfengine3-indent-line): Add from cfengine3.el.
19739
19740 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19741
19742 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19743
19744 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19745
19746 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19747
19748 * window.el (same-window-buffer-names, same-window-regexps)
19749 (same-window-p, special-display-frame-alist)
19750 (special-display-popup-frame, special-display-function)
19751 (special-display-buffer-names, special-display-regexps)
19752 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19753 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19754 (split-window-preferred-function, split-height-threshold)
19755 (split-width-threshold, even-window-heights)
19756 (display-buffer-mark-dedicated, window-splittable-p)
19757 (split-window-sensibly, window-safely-shrinkable-p):
19758 Un-obsolete.
19759 (display-buffer): Don't spread args with function specifier
19760 because special-display-popup-frame won't like it.
19761
19762 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19763
19764 Time-stamp simplifications and fixes.
19765 These improve accuracy slightly, and future-proof the code
19766 against some potential changes to current-time format.
19767
19768 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19769 by using time-since and float-time.
19770
19771 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19772 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19773 + NNN microseconds".
19774
19775 * type-break.el (type-break-time-sum): Rewrite using time-add.
19776
19777 * play/hanoi.el (hanoi-current-time-float): Remove.
19778 All uses replaced by float-time.
19779
19780 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19781 This yields a more-accurate answer.
19782 (rng-time-to-float): Remove; no longer needed.
19783
19784 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19785
19786 * calendar/timeclock.el (timeclock-seconds-to-time):
19787 Defalias to seconds-to-time, since they're the same thing.
19788
19789 * emacs-lisp/elp.el (elp-elapsed-time):
19790 * emacs-lisp/benchmark.el (benchmark-elapse):
19791 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19792
19793 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19794
19795 * window.el (bury-buffer): Don't iconify the only frame.
19796 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19797 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19798
19799 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19800
19801 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19802 Add mouse-yank-primary.
19803
19804 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19805
19806 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19807
19808 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19809
19810 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19811 (find-library-name): Use it to find relative load names when provided
19812 absolute file name (bug#8803).
19813
19814 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19815
19816 * textmodes/flyspell.el (flyspell-word): Consider words that
19817 differ only in case as potential doublons (bug#5687).
19818
19819 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19820 Remove two rather uninteresting debugging-like messages to make
19821 debbugs.el more silent.
19822
19823 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19824 a password-like phrase.
19825
19826 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19827
19828 * progmodes/cc-guess.el: New file.
19829
19830 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19831
19832 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19833 derived from `c-basic-common-init'.
19834
19835 * progmodes/cc-mode.el (top-level): Require cc-guess.
19836 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19837
19838 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19839
19840 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19841
19842 2011-06-30 Alan Mackenzie <acm@muc.de>
19843
19844 * progmodes/cc-engine.el (c-guess-continued-construct):
19845 Correct the handling of template-args-cont, particularly for when font
19846 lock is disabled. Name this case as "CASE G".
19847
19848 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19849
19850 * allout.el (allout-yank-processing): Fix injection of extra space
19851 between bullet and non-whitespace character in first topic when
19852 pasting, ensuring that the actual spacing in the pasted topic
19853 following the bullet char is preserved. This extra space was
19854 causing pasted encrypted topics to get a decrypted status even
19855 when the content was actually still encrypted. Now the decryption
19856 status from before the paste is preserved.
19857
19858 (allout-flag-region): Set all allout overlays so they evaporate
19859 when reduced to zero length (evanescent), to prevent overlay
19860 leakage.
19861
19862 2011-06-30 Glenn Morris <rgm@gnu.org>
19863
19864 * w32-fns.el (w32-charset-info-alist): Declare.
19865
19866 * find-dired.el (find-grep-options): Simplify.
19867
19868 * term/ns-win.el (ns-set-resource): Declare.
19869
19870 * ses.el (row, col): Declare dynamic variables honestly.
19871
19872 * textmodes/reftex-parse.el (index-tags): Declare.
19873
19874 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19875
19876 * cus-edit.el (customize-push-and-save): New function.
19877
19878 * files.el (hack-local-variables-confirm): Use it.
19879
19880 * custom.el (load-theme): New arg NO-CONFIRM.
19881 Use customize-push-and-save (Bug#8720).
19882 (custom-enabled-themes): Doc fix.
19883
19884 * cus-theme.el (customize-create-theme)
19885 (custom-theme-merge-theme): Callers to load-theme changed.
19886
19887 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19888
19889 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19890 short URLs have at least one dot in them (bug #7614).
19891
19892 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19893 nil, because using a pty is apparently too slow (bug #895).
19894
19895 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19896
19897 * mail/sendmail.el (sendmail-query-once): New function.
19898 (sendmail-query-once-function): New variable.
19899
19900 2011-06-29 Glenn Morris <rgm@gnu.org>
19901
19902 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19903
19904 * ses.el (top-level): Require cl when compiling.
19905 (ses-set-localvars): Fix error statement.
19906 Call it at compile time to silence a storm of warnings.
19907
19908 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19909
19910 * window.el (normalize-live-buffer): Rename to
19911 window-normalize-buffer.
19912 (normalize-live-frame): Rename to window-normalize-frame.
19913 (normalize-any-window): Rename to window-normalize-any-window.
19914 (normalize-live-window): Rename to window-normalize-live-window.
19915 (make-window-atom): Rename to window-make-atom.
19916 (window-resize-reset): Rename to window--resize-reset.
19917 (window-resize-reset-1): Rename to window--resize-reset-1.
19918 (resize-mini-window): Rename to window--resize-mini-window.
19919 (resize-subwindows-skip-p): Rename to
19920 window--resize-subwindows-skip-p.
19921 (resize-subwindows-normal): Rename to
19922 window--resize-subwindows-normal.
19923 (resize-subwindows): Rename to window--resize-subwindows.
19924 (resize-other-windows): Rename to window--resize-siblings.
19925 (resize-this-window): Rename to window--resize-this-window.
19926 (resize-root-window): Rename to window--resize-root-window.
19927 (resize-root-window-vertically): Rename to
19928 window--resize-root-window-vertically.
19929 (normalize-buffer-to-display): Rename to
19930 window-normalize-buffer-to-display.
19931 (normalize-buffer-to-switch-to): Rename to
19932 window-normalize-buffer-to-switch-to.
19933 Correspondingly update all callers of the functions listed
19934 above.
19935 (display-buffer-alist, display-buffer-normalize-arguments)
19936 (display-buffer-normalize-options, display-buffer)
19937 (display-buffer-alist-set): Use "function" instead of
19938 "fun-with-args".
19939
19940 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19941
19942 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19943 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19944 debbugs.gnu.org. Mention acknowledgment email.
19945
19946 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19947
19948 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19949 buffer multibyteness, since it shouldn't matter.
19950
19951 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19952
19953 * window.el (display-buffer-in-side-window): Handle dedicated
19954 windows as in display-buffer-reuse-window.
19955 (display-buffer-normalize-alist): Use value of override
19956 specifier.
19957 (display-buffer-normalize-specifiers): Use value of
19958 other-window-means-other-frame specifier.
19959 (display-buffer-alist): Rewrite some texts in widgets.
19960 (display-buffer): Spread arguments when calling function
19961 specified by fun-with-args.
19962
19963 2011-06-28 Deniz Dogan <deniz@dogan.se>
19964
19965 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19966 Unnest `let'.
19967
19968 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19969 selectors (Bug#5732).
19970 (css-proprietary-nmstart-re): Use `regexp-opt'.
19971
19972 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19973
19974 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19975 (eshell-ls-date-format): New defcustom.
19976 (eshell-ls-file): Use it.
19977
19978 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19979
19980 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19981
19982 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19983
19984 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19985 (ange-ftp-make-tmp-name): New arg.
19986 (ange-ftp-file-local-copy): Use it.
19987
19988 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19989
19990 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19991 no-conversion (Bug#8870).
19992
19993 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19994
19995 * window.el (window-right, window-left, window-child)
19996 (window-child-count, window-last-child)
19997 (window-iso-combination-p, walk-window-tree-1)
19998 (window-atom-check-1, window-tree-1, delete-window)
19999 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20000 new naming conventions - window-vchild, window-hchild,
20001 window-next and window-prev are now called window-top-child,
20002 window-left-child, window-next-sibling and window-prev-sibling
20003 respectively.
20004 (resize-window-reset): Rename to window-resize-reset.
20005 (resize-window-reset-1): Rename to window-resize-reset-1.
20006 (resize-window): Rename to window-resize.
20007 (window-min-height, window-min-width)
20008 (resize-mini-window, resize-this-window, resize-root-window)
20009 (resize-root-window-vertically, adjust-window-trailing-edge)
20010 (enlarge-window, shrink-window, maximize-window)
20011 (minimize-window, delete-window, quit-restore-window)
20012 (split-window, balance-windows, balance-windows-area-adjust)
20013 (balance-windows-area, window-state-put-2)
20014 (display-buffer-even-window-sizes, display-buffer-set-height)
20015 (display-buffer-set-width, set-window-text-height)
20016 (fit-window-to-buffer): Rename all "resize-window" prefixed
20017 calls to use the "window-resize" prefix convention.
20018 (display-buffer-alist): Fix symbol for label specifier.
20019 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20020 corresponding specifier.
20021 Reported by Juanma Barranquero <lekktu@gmail.com>.
20022
20023 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20024
20025 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20026 convention.
20027 (ses-call-printer): Does not pass an empty string to formatter when the
20028 cell is empty to keep from barking printer Calc math-format-value.
20029
20030 2011-06-27 Richard Stallman <rms@gnu.org>
20031
20032 * battery.el (battery-mode-line-limit): New variable.
20033 (battery-update): Handle it.
20034
20035 * mail/rmailmm.el (rmail-mime-process-multipart):
20036 Handle truncated messages.
20037
20038 2011-06-27 Glenn Morris <rgm@gnu.org>
20039
20040 * progmodes/flymake.el (flymake-err-line-patterns):
20041 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20042
20043 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20044
20045 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20046 (ses--clean-!, ses--clean-_): New functions.
20047 (ses-range): Add configurability of readout order, and conversion
20048 to Calc vector.
20049
20050 * ses.el (ses-repair-cell-reference-all): New function.
20051 (ses-cell-symbol): Set macro as safe, so that it can be used in
20052 formulas.
20053
20054 * ses.el: Update cycle detection algorithm.
20055 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20056 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20057 (ses-set-localvars): New function.
20058 (ses-make-cell): Add property-list as a cell element.
20059 (ses-cell-property-get-fun, ses-cell-property-get)
20060 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20061 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20062 New functions.
20063 (ses-cell-property-set, ses-cell-property-pop)
20064 (ses-cell-property-get-handle): New macro.
20065 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20066 New aliases, used for code readability.
20067 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20068 cycle detection.
20069 (ses-self-reference-early-detection): New defcustom.
20070 (ses-formula-references): Robustify against self-referring cells.
20071 (ses-mode): Use ses-set-localvars.
20072 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20073 before lauching the update processing.
20074 (ses-initialize-Dijkstra-attempt): New function.
20075 (ses-recalculate-cell): Update for cycle detection based on
20076 Dijkstra algorithm.
20077
20078 * ses.el: Fix commenting and indenting convention.
20079
20080 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20081
20082 * bs.el (bs-cycle-next): Complete last change.
20083
20084 2011-06-27 Drew Adams <drew.adams@oracle.com>
20085
20086 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20087
20088 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20089
20090 * net/network-stream.el (network-stream-open-starttls):
20091 Don't re-get capabilities unless we've reestablished connection.
20092 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20093
20094 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20095 to binary to possibly avoid line encoding issues on Windows (among
20096 other things).
20097
20098 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20099
20100 * net/network-stream.el (open-network-stream): Return an :error
20101 saying what the problem was, if possible.
20102
20103 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20104 server.
20105
20106 * net/network-stream.el (network-stream-open-starttls): If we
20107 wanted to use STARTTLS, and the server offered it, but we weren't
20108 able to because we had no STARTTLS support, then close the connection.
20109 (open-network-stream): Return an :error element, if present.
20110
20111 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20112
20113 * hl-line.el (hl-line-sticky-flag): Doc fix.
20114 (global-hl-line-sticky-flag): New option (Bug#8323).
20115 (global-hl-line-highlight): Obey it.
20116
20117 * vc/vc.el (vc-revert-show-diff): Default to t.
20118
20119 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20120
20121 * allout-widgets.el (allout-widgets-post-command-business):
20122 Stop decorating intermediate isearch matches. They're not being
20123 undecorated when an isearch is continued past, and isearch
20124 automatically collapses them. This leads to "widget leaks", where
20125 decorated items accumulate in collapsed areas. Lines with lots of
20126 hidden widgets can slow down cursor travel, substantially.
20127 Too much complicated machinery would be needed to ensure undecoration,
20128 so we're doing without this nicety.
20129
20130 (allout-widgets-tally-string): Don't try to do a hash-table-count
20131 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20132 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20133 *Messages* when allout-widgets-maintain-tally is t.
20134
20135 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20136
20137 * window.el (display-buffer-normalize-argument): Rename to
20138 display-buffer-normalize-arguments. Handle special meaning of
20139 LABEL argument. Respect special-display-function when popping up
20140 a new frame. Fix code searching for a window showing the buffer
20141 on another frame.
20142 (display-buffer-normalize-specifiers):
20143 Call display-buffer-normalize-arguments.
20144 (display-buffer-in-window): Don't undedicate the window if its
20145 buffer remains the same.
20146 Reported by Drew Adams <drew.adams@oracle.com>.
20147 (display-buffer-alist): Add choice for same-window macro
20148 specfier.
20149 (display-buffer): Mention special meaning of LABEL argument in
20150 doc-string. Fix quoting. Don't pop up a new frame even as
20151 fallback.
20152
20153 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20154
20155 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20156 avoid deleting the current window in some cases (bug#8911).
20157
20158 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20159
20160 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20161 (Bug#8934)
20162
20163 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20164
20165 * net/network-stream.el (network-stream-open-starttls):
20166 Use built-in TLS support if `gnutls-available-p' is true.
20167 (network-stream-open-tls): Ditto.
20168
20169 2011-06-26 Leo Liu <sdl.web@gmail.com>
20170
20171 * register.el (registerv): New struct.
20172 (registerv-make): New function.
20173 (jump-to-register, describe-register-1, insert-register):
20174 Support the jump-func, print-func and insert-func slot of a registerv
20175 struct. (Bug#8415)
20176
20177 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20178
20179 * vc/vc.el (vc-revert-show-diff): New defcustom.
20180 (vc-diff-internal): New arg specifying diff buffer.
20181 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20182 reuse an existing *vc-diff* buffer (Bug#8927).
20183
20184 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20185
20186 2011-06-26 Glenn Morris <rgm@gnu.org>
20187
20188 * progmodes/f90.el (f90-critical-indent): New option.
20189 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20190 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20191 (f90-mode): Doc fix.
20192 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20193 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20194 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20195 (f90-match-end): Handle block, critical.
20196
20197 2011-06-25 Glenn Morris <rgm@gnu.org>
20198
20199 * calendar/diary-lib.el (diary-included-files): Doc fix.
20200 (diary-include-files): New function, extracted from
20201 diary-include-other-diary-files and diary-mark-included-diary-files.
20202 (diary-include-other-diary-files, diary-mark-included-diary-files):
20203 Just call diary-include-files.
20204 (diary-mark-entries): Reset diary-included-files on first call.
20205
20206 * calendar/diary-lib.el (diary-mark-entries)
20207 (diary-mark-included-diary-files):
20208 Visit included diary-files in temp buffers.
20209
20210 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20211 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20212 (f90-start-block-re, f90-imenu-generic-expression)
20213 (f90-looking-at-program-block-start, f90-no-block-limit):
20214 Add support for submodules.
20215
20216 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20217 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20218
20219 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20220
20221 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20222 buffer-file-type before setting its value, to avoid disastrous
20223 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20224
20225 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20226
20227 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20228
20229 * ses.el (ses-unload-function):
20230 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20231
20232 * proced.el (proced-unload-function):
20233 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20234
20235 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20236
20237 * server.el (server-create-window-system-frame): Add parameters arg.
20238 (server-process-filter): Doc fix. Handle frame-parameters.
20239
20240 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20241
20242 Fix bug#8730, bug#8781.
20243
20244 * loadhist.el (unload--set-major-mode): New function.
20245 (unload-feature): Use it.
20246
20247 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20248 (python-unload-function): New function.
20249
20250 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20251
20252 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20253
20254 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20255
20256 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20257 the candidates list.
20258
20259 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20260
20261 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20262
20263 2011-06-23 Richard Stallman <rms@gnu.org>
20264
20265 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20266 (rmail-variables): Set next-error-move-function.
20267 (rmail-what-message): Take argument POS.
20268 (rmail-next-error-move): New function.
20269
20270 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20271
20272 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20273 messages for adjacent non-terminals.
20274
20275 2011-06-23 Richard Stallman <rms@gnu.org>
20276
20277 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20278 (rmail-show-message-1): Preserve buffer modified flag.
20279 (rmail-start-mail): Don't specify use of rmail-mail-return;
20280 that's done by mail-bury now.
20281 (rmail-mail-return): Handle arg NEWBUF.
20282
20283 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20284
20285 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20286 SIZE is a number.
20287
20288 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20289
20290 * window.el (get-lru-window, get-mru-window)
20291 (get-largest-window): Never return a minibuffer window.
20292 (display-buffer-pop-up-window): Fix a bug that could lead to
20293 reusing the minibuffer window.
20294 (display-buffer): Pass original specifier argument to
20295 display-buffer-function instead of the normalized one.
20296 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20297
20298 2011-06-22 Leo Liu <sdl.web@gmail.com>
20299
20300 * minibuffer.el (completing-read-function)
20301 (completing-read-default): Move from minibuf.c.
20302
20303 2011-06-22 Richard Stallman <rms@gnu.org>
20304
20305 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20306 to Rmail even if not started by a special Rmail command.
20307
20308 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20309 Copy the buffer currently showing just one message.
20310
20311 2011-06-22 Roland Winkler <winkler@gnu.org>
20312
20313 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20314 (bibtex-clean-entry): First delete the old key so that a
20315 customized algorithm for generating the new key does not get
20316 confused by the old key.
20317 (bibtex-url): Obey regexp of first step.
20318 (bibtex-search-entries): Do not use add-to-list with local
20319 list-var.
20320
20321 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20322
20323 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20324 stored a user name, then query for the password first, instead of
20325 waiting for SMTP to give an error message and the trying again.
20326
20327 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20328
20329 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20330 BUFFER in call-process.
20331
20332 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20333
20334 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20335 QUIT twice.
20336 (smtpmail-try-auth-methods): Require user name and password from
20337 auth-source.
20338
20339 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20340
20341 * window.el (display-buffer-default-specifiers)
20342 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20343 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20344 (split-window): Normalize SIDE argument (Bug#8916).
20345
20346 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20347 (special-display-frame-alist, special-display-popup-frame):
20348 Remove duplicate declarations. These are now in window.el.
20349
20350 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20351
20352 * mail/smtpmail.el (smtpmail-via-smtp):
20353 Set :use-starttls-if-possible so that we always use STARTTLS if the
20354 server supports it. SMTP servers that support STARTTLS commonly
20355 require it.
20356
20357 * net/network-stream.el (network-stream-open-starttls): Support
20358 upgrading to STARTTLS always, even if we don't have built-in support.
20359 (open-network-stream): Add the :always-query-capabilities keyword.
20360
20361 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20362 upgrades with `open-network-stream', and rely solely on
20363 auth-source for all credentials. Big changes throughout the file,
20364 but in particular:
20365 (smtpmail-auth-credentials): Remove.
20366 (smtpmail-starttls-credentials): Remove.
20367 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20368 MAIL FROM, too.
20369
20370 * net/network-stream.el (network-stream-open-starttls):
20371 Provide support for client certificates both for external and built-in
20372 STARTTLS.
20373 (auth-source): Require.
20374 (open-network-stream): Document the :client-certificate keyword.
20375 (network-stream-certificate): Change cert-cert to cert and
20376 cert-key to key.
20377
20378 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20379
20380 * net/tramp-cache.el (top): Don't load the persistency file when
20381 "emacs -Q" has been called.
20382
20383 2011-06-21 Tim Harper <timcharper@gmail.com>
20384
20385 * term/ns-win.el (ns-initialize-window-system):
20386 Set application-specific `ApplePressAndHoldEnabled' system
20387 resource to NO as it is not yet supported by the NS port.
20388
20389 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20390
20391 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20392 (list-dynamic-libraries): ...not here.
20393
20394 2011-06-21 Leo Liu <sdl.web@gmail.com>
20395
20396 * subr.el (sha1): Implement sha1 using secure-hash.
20397
20398 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20399
20400 * window.el (display-buffer-alist): In default value do not
20401 enforce searching a window on any but the selected frame.
20402 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20403 (display-buffer-select-window): Remove function.
20404 (display-buffer-in-window): When a window on another frame gets
20405 reused, do not select it any more but just raise its frame if
20406 necessary (Bug#8851) and (Bug#8856).
20407 (display-buffer-normalize-options): Handle pop-up-frames related
20408 options more faithfully.
20409 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20410 window if it is on another frame.
20411 (display-buffer-alist, display-buffer-default-specifiers):
20412 Don't make new frame unsplittable by default.
20413 (display-buffer-normalize-argument): Fix doc-string typo and use
20414 'same-frame-other-window instead of 'other-window when associating
20415 with display-buffer-macro-specifiers.
20416
20417 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20418
20419 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20420 New functions.
20421 (5x5-mode-map, 5x5-mode-menu): Bind them.
20422 (5x5-draw-grid): Tweak the solver's rendering.
20423
20424 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20425
20426 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20427 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20428
20429 2011-06-21 Drew Adams <drew.adams@oracle.com>
20430
20431 * menu-bar.el: Use function variable instead of switch-to-buffer.
20432 (menu-bar-select-buffer-function): New variable.
20433 (menu-bar-update-buffers): Use it (bug#8876).
20434
20435 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20436
20437 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20438 variable's status.
20439
20440 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20441
20442 * x-dnd.el (x-dnd-version-from-flags)
20443 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20444 and long as number (Bug#8899).
20445 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20446
20447 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20448
20449 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20450 (completion-try-completion, completion-all-completions): Compute the
20451 metadata argument if it's missing; make it optional (bug#8795).
20452
20453 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20454 (widget-complete): Use new :completion-function property.
20455 (widget-completions-at-point): New function.
20456 (default): Use :completion-function instead of :complete.
20457 (widget-default-completions): Rename from widget-default-complete;
20458 Rewrite.
20459 (widget-string-complete, widget-file-complete, widget-color-complete):
20460 Remove functions.
20461 (file, symbol, function, variable, coding-system, color):
20462 * international/mule-cmds.el (default-input-method, charset)
20463 (language-info-custom-alist):
20464 * cus-edit.el (face): Use new property :completions.
20465
20466 * progmodes/pascal.el (pascal-completions-at-point): New function.
20467 (pascal-mode): Use it.
20468 (pascal-mode-map): Use completion-at-point.
20469 (pascal-toggle-completions): Make obsolete.
20470 (pascal-complete-word, pascal-show-completions):
20471 * progmodes/octave-mod.el (octave-complete-symbol):
20472 Redefine as obsolete alias.
20473 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20474 Signal absence of completion info for old Octave,
20475 (inferior-octave-complete): Redefine as obsolete alias.
20476 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20477 (meta-completions-at-point): Rename from meta-complete-symbol and
20478 adapt it for use on completion-at-point-functions.
20479 (meta-common-mode): Use it.
20480 (meta-looking-at-backward, meta-match-buffer): Remove.
20481 (meta-complete-symbol): Redefine as obsolete alias.
20482 (meta-common-mode-map): Use completion-at-point.
20483 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20484 (makefile-mode-map): Use completion-at-point.
20485 (makefile-completions-at-point): Rename from makefile-complete and
20486 adapt it for use on completion-at-point-functions.
20487 (makefile-mode): Use it.
20488 (makefile-complete): Redefine as obsolete alias.
20489
20490 2011-06-20 Deniz Dogan <deniz@dogan.se>
20491
20492 * net/rcirc.el: Delete trailing whitespaces once and for all.
20493
20494 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20495
20496 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20497
20498 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20499
20500 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20501
20502 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20503
20504 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20505
20506 * window.el (display-buffer-other-window-means-other-frame):
20507 Call display-buffer-normalize-alist.
20508 (display-buffer-normalize-specifiers-1): Rename to
20509 display-buffer-normalize-argument. New argument other-frame.
20510 Rewrite.
20511 (display-buffer-normalize-specifiers-2): Rename to
20512 display-buffer-normalize-options.
20513 (display-buffer-normalize-alist-1): New function.
20514 (display-buffer-normalize-specifiers-3): Rename to
20515 display-buffer-normalize-alist.
20516 Call display-buffer-normalize-alist-1.
20517 (display-buffer-normalize-options-inhibit): New variable.
20518 (display-buffer-normalize-specifiers): Rewrite calling
20519 display-buffer-normalize-alist,
20520 display-buffer-normalize-argument, and
20521 display-buffer-normalize-options. Don't call the latter if
20522 display-buffer-normalize-options-inhibit is non-nil.
20523 (frame-auto-delete): New option.
20524 (window-deletable-p): Use frame-auto-delete.
20525 (window-list-no-nils, window-state-ignored-parameters)
20526 (window-state-get-1, window-state-get, window-state-put-list)
20527 (window-state-put-1, window-state-put-2, window-state-put):
20528 New functions.
20529 (display-buffer-normalize-options): Move special-display-p group
20530 after pop-up-frame group (Bug#8851) and (Bug#8856).
20531
20532 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20533
20534 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20535 groups (Bug#8776).
20536 (rx-submatch-n): New function.
20537 (rx): Document it.
20538
20539 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20540 (Bug#8768).
20541
20542 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20543
20544 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20545
20546 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20547 anytime existing face settings are present (Bug#8889).
20548
20549 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20550 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20551 Remove unused argument.
20552
20553 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20554
20555 * window.el (display-buffer-default-specifiers):
20556 Remove pop-up-frame. Add pop-up-window-min-height,
20557 pop-up-window-min-width, and another reuse-window specifier
20558 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20559 (display-buffer-normalize-specifiers-2):
20560 Handle split-height-threshold and split-width-threshold also when
20561 pop-up-windows is unset. Add a reuse-window specifier for the
20562 case popping up a new window fails.
20563 (special-display-popup-frame): Remove double quoting.
20564 (display-buffer-normalize-specifiers-1): Fix thinko.
20565
20566 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20567
20568 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20569 according to comint-completion-addsuffix.
20570
20571 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20572 (pcomplete-suffix-list): Mark as obsolete.
20573 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20574 pcomplete-seen in the closure.
20575 (pcomplete-comint-setup): Setup completion-at-point as well.
20576 (pcomplete--entries): New function.
20577 (pcomplete--env-regexp): New var.
20578 (pcomplete-entries): Rewrite to work with partial-completion and
20579 without relying on pcomplete-suffix-list.
20580 (pcomplete-pare-list): Remove, unused.
20581
20582 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20583
20584 * window.el (display-buffer-alist): Set pop-up-window-min-height
20585 and pop-up-window-min-width in default value. Reported by
20586 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20587 other-window-means-other-frame.
20588 (display-buffer-macro-specifiers): Comment out entry for
20589 other-window specifier.
20590 (display-buffer-other-window-means-other-frame): New function.
20591 (display-buffer-normalize-specifiers-1): New arguments
20592 buffer-name and label. Treat other-window case specially.
20593 (display-buffer-normalize-specifiers-2): Treat other-window case
20594 specially.
20595 (display-buffer-normalize-specifiers-3): New function.
20596 (display-buffer-normalize-specifiers):
20597 Call display-buffer-normalize-specifiers-3.
20598
20599 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20600
20601 * window.el (same-window-p): Fix two typos introduced when
20602 adding with-no-warnings.
20603 (display-buffer-normalize-specifiers-1): Don't check
20604 pop-up-frames for 'unset initialization.
20605 (display-buffer-normalize-specifiers-2): Major rewrite using
20606 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20607 (pop-up-frames, display-buffer-reuse-frames)
20608 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20609 Suggested by David Engster <deng@randomsample.de>.
20610 (even-window-heights): Initialize to 'unset.
20611 (display-buffer-alist-set): Handle new 'unset initializations.
20612 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20613 other window case.
20614
20615 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20616
20617 * window.el (display-buffer-normalize-specifiers-1):
20618 Respect current value of pop-up-frames for most reasonable values of
20619 second argument of display-buffer (Bug#8865).
20620 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20621 (switch-to-buffer-other-window-same-frame)
20622 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20623 Adams (Bug#8875).
20624 (display-buffer): Don't check noninteractive when calling
20625 display-buffer-pop-up-frame.
20626 (display-buffer-pop-up-frame): Never pop up a frame in
20627 noninteractive mode (Bug#8857).
20628 (enlarge-window, shrink-window): Don't report an error when the
20629 window can't be resized as requested (Bug#8862).
20630
20631 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20632
20633 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20634
20635 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20636
20637 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20638
20639 2011-06-15 Alan Mackenzie <acm@muc.de>
20640
20641 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20642 for declarators, disable knr checking to speed up for normal files.
20643 2: Refactor, replacing a sequence of nested if forms by a cond form.
20644
20645 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20646
20647 * net/network-stream.el (open-network-stream): Add the keyword
20648 :always-query-capabilities for the case where you want to force a
20649 `plain' network connection, but the protocol still requires the
20650 capabilitiy command (i.e., SMTP and EHLO).
20651
20652 * subr.el (process-live-p): Rename from `process-alive-p' for
20653 consistency with other `-live-p' functions.
20654
20655 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20656
20657 * window.el (same-window-buffer-names, same-window-regexps)
20658 (special-display-frame-alist, special-display-popup-frame)
20659 (special-display-function, special-display-buffer-names)
20660 (special-display-regexps, pop-up-frame-alist)
20661 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20662 (pop-up-windows, split-window-preferred-function)
20663 (split-height-threshold, split-width-threshold, even-window-heights)
20664 (display-buffer-mark-dedicated): Don't encourage the use of
20665 display-buffer-alist from Elisp code.
20666
20667 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20668
20669 * progmodes/python.el (python-mode): Derive from prog-mode.
20670 * progmodes/ps-mode.el (ps-mode):
20671 * progmodes/mixal-mode.el (mixal-mode):
20672 * progmodes/cfengine.el (cfengine-mode):
20673 * progmodes/ld-script.el (ld-script-mode): Likewise.
20674
20675 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20676
20677 * window.el (display-buffer-alist): Trim default value to avoid
20678 popping up a new frame (Bug#8857) or reusing an arbitrary window
20679 on another frame.
20680 (display-buffer): Do not fall back on popping up a new frame in
20681 batch mode (Bug#8857).
20682
20683 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20684
20685 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20686 (custom-theme-summary): New function.
20687 (customize-themes): Use it.
20688
20689 2011-06-13 Glenn Morris <rgm@gnu.org>
20690
20691 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20692
20693 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20694
20695 * help.el (help-window): Remove variable.
20696 (help-window-point-marker, temp-buffer-max-height)
20697 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20698 (help-print-return-message): Don't set help-window.
20699 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20700 (help-window-setup-finish): Remove.
20701 (help-window-display-message, help-window-setup)
20702 (with-help-window): Major rewrite based on new
20703 display-buffer-window variable.
20704
20705 * help-mode.el (help-mode-finish): Remove help-window related
20706 code.
20707
20708 * view.el (view-exits-all-viewing-windows): Remove reference to
20709 view-return-to-alist in doc-string.
20710 (view-return-to-alist): Make obsolete.
20711 (view-buffer): Call pop-to-buffer-same-window and remove
20712 undo-window code.
20713 (view-buffer-other-window): Call pop-to-buffer-other-window and
20714 simplify code. Ignore second argument.
20715 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20716 simplify code. Ignore second argument.
20717 (view-return-to-alist-update): Make obsolete.
20718 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20719 Rewrite using quit-restore window parameters.
20720 (view-mode-exit): Rename second argument to EXIT-ONLY.
20721 Rewrite using quit-restore-window.
20722 (View-exit, View-exit-and-edit, View-leave, View-quit)
20723 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20724 appropriate arguments.
20725 (view-end-message): Use quit-restore window parameter.
20726
20727 * window.el (display-buffer-function): Rewrite doc-string.
20728 (display-buffer-window, display-buffer-alist): New variables.
20729 (display-buffer-split-specifiers)
20730 (display-buffer-side-specifiers)
20731 (display-buffer-macro-specifiers): New constants.
20732 (display-buffer-even-window-sizes, display-buffer-set-height)
20733 (display-buffer-set-width, display-buffer-select-window)
20734 (display-buffer-in-window, display-buffer-reuse-window)
20735 (display-buffer-split-window-1, display-buffer-split-window)
20736 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20737 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20738 (display-buffer-in-side-window, normalize-buffer-to-display)
20739 (display-buffer-normalize-specifiers-1)
20740 (display-buffer-normalize-specifiers-2)
20741 (display-buffer-normalize-specifiers, display-buffer-frame):
20742 New functions.
20743 (display-buffer): Major rewrite.
20744 (display-buffer-other-window, display-buffer-other-frame)
20745 (pop-to-buffer, switch-to-buffer-other-window)
20746 (switch-to-buffer-other-frame): Rewrite.
20747 (display-buffer-same-window, display-buffer-same-frame)
20748 (display-buffer-same-frame-other-window)
20749 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20750 (pop-to-buffer-other-window)
20751 (pop-to-buffer-same-frame-other-window)
20752 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20753 (switch-to-buffer-other-window-same-frame): New functions.
20754 (same-window-p, special-display-p): Rewrite disabling warnings.
20755 Make obsolete.
20756 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20757 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20758 Make obsolete
20759 (same-window-buffer-names, same-window-regexps)
20760 (special-display-frame-alist, special-display-popup-frame)
20761 (special-display-function, special-display-buffer-names)
20762 (special-display-regexps, pop-up-frame-alist)
20763 (pop-up-frame-function, split-window-preferred-function)
20764 (split-height-threshold, split-width-threshold)
20765 (even-window-heights): Make obsolete.
20766
20767 2011-06-12 Glenn Morris <rgm@gnu.org>
20768
20769 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20770 Misc simplifications.
20771
20772 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20773
20774 * window.el (window-safely-shrinkable-p): Restore function which
20775 was inadvertently removed in change from 2011-06-11. Declare as
20776 obsolete.
20777
20778 * calendar/calendar.el (calendar-generate-window):
20779 Use window-iso-combined-p instead of combination of one-window-p and
20780 window-safely-shrinkable-p.
20781
20782 2011-06-12 Glenn Morris <rgm@gnu.org>
20783
20784 * progmodes/fortran.el (fortran-mode-syntax-table):
20785 * progmodes/f90.el (f90-mode-syntax-table):
20786 Set % to punctuation. (Bug#8820)
20787 (f90-find-tag-default): Remove, no longer needed.
20788
20789 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20790
20791 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20792
20793 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20794
20795 * image.el (image-animated-p): Return animation delay in seconds.
20796 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20797 (image-animate-timeout): Remove DELAY argument. Don't assume
20798 every subimage has the same delay; get it from image-animated-p.
20799 (image-animate): Caller changed.
20800
20801 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20802
20803 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20804 to ignored backtrace functions.
20805
20806 2011-06-11 Glenn Morris <rgm@gnu.org>
20807
20808 * calendar/appt.el (appt-disp-window-function): Doc fix.
20809 (appt-check): Handle overlapping appointments. (Bug#8337)
20810
20811 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20812
20813 * window.el (window-tree-1, window-tree): New functions, moving
20814 the latter to window.el.
20815 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20816 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20817 (bw-refresh-edges): Remove.
20818 (balance-windows-1, balance-windows-2): New functions.
20819 (balance-windows): Rewrite in terms of window tree functions,
20820 balance-windows-1 and balance-windows-2.
20821 (bw-adjust-window): Remove.
20822 (balance-windows-area-adjust): New function with functionality of
20823 bw-adjust-window but using resize-window.
20824 (set-window-text-height): Rewrite doc-string.
20825 Use normalize-live-window and resize-window.
20826 (enlarge-window-horizontally, shrink-window-horizontally):
20827 Rename argument to DELTA.
20828 (window-buffer-height): New function.
20829 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20830 Rewrite using new window resize routines.
20831 (kill-buffer-and-window, mouse-autoselect-window-select):
20832 Use ignore-errors instead of condition-case.
20833 (quit-window): Call delete-frame instead of delete-windows-on
20834 for the only buffer on frame.
20835
20836 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20837
20838 * loadup.el (top-level): Load window before files for the sake
20839 of replace-buffer-in-windows.
20840
20841 * files.el (read-buffer-to-switch)
20842 (switch-to-buffer-other-window)
20843 (switch-to-buffer-other-frame, display-buffer-other-frame):
20844 Move to window.el.
20845
20846 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20847 (previous-buffer): Move to window.el.
20848
20849 * bindings.el (unbury-buffer): Move to window.el.
20850
20851 * window.el (delete-other-windows-vertically): Move after
20852 definition of delete-other-windows.
20853 (other-window, delete-windows-on, replace-buffer-in-windows):
20854 Move here from window.c.
20855 (record-window-buffer, unrecord-window-buffer)
20856 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20857 (switch-to-next-buffer): New functions.
20858 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20859 from simple.el. Call switch-to-next-buffer.
20860 (previous-buffer): Move here from simple.el.
20861 Call switch-to-prev-buffer.
20862 (bury-buffer): Move here from buffer.c. Switch to previous
20863 buffer when window cannot be deleted.
20864 (unbury-buffer): Move here from bindings.el.
20865 (ctl-x-map): Move binding for other-window from window.c to
20866 here.
20867 (read-buffer-to-switch, switch-to-buffer-other-window)
20868 (switch-to-buffer-other-frame): Move here from files.el.
20869 (normalize-buffer-to-switch-to): New functions.
20870 (switch-to-buffer): Move here from buffer.c.
20871 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20872
20873 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20874
20875 * window.el (window-min-height, window-min-width): Move here
20876 from window.c. Add defcustoms and rewrite doc-strings.
20877 (resize-mini-window, resize-window): New functions.
20878 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20879 Move here from window.c.
20880 (maximize-window, minimize-window): New functions.
20881 (delete-window, delete-other-windows, split-window): Move here
20882 from window.c.
20883 (window-split-min-size): New function.
20884 (split-window-keep-point): Mention split-window-above-each-other
20885 instead of split-window-vertically.
20886 (split-window-above-each-other, split-window-vertically):
20887 Rename split-window-vertically to split-window-above-each-other
20888 and provide defalias for old definition.
20889 (split-window-side-by-side, split-window-horizontally):
20890 Rename split-window-horizontally to split-window-side-by-side
20891 and provide defalias for the old definition.
20892 (ctl-x-map): Move bindings for delete-window,
20893 delete-other-windows and enlarge-window here from window.c.
20894 Replace bindings for split-window-vertically and
20895 split-window-horizontally by bindings for
20896 split-window-above-each-other and split-window-side-by-side.
20897
20898 * cus-start.el (all): Remove entries for window-min-height and
20899 window-min-width. Add entries for window-splits and
20900 window-nest.
20901
20902 2011-06-09 Glenn Morris <rgm@gnu.org>
20903
20904 * calendar/appt.el (appt-mode-line): New function.
20905 (appt-check, appt-disp-window): Use it.
20906
20907 * files.el (hack-one-local-variable-eval-safep):
20908 Allow minor-modes with explicit +/-1 arguments.
20909
20910 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20911
20912 * term/xterm.el (xterm): Add defgroup.
20913 (xterm-extra-capabilities): Add defcustom to supply known xterm
20914 capabilities, skip querying them, or query them (default).
20915 (terminal-init-xterm): Use it.
20916 (terminal-init-xterm-modify-other-keys): New function to set up
20917 modifyOtherKeys support to simplify `terminal-init-xterm'.
20918
20919 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20920
20921 * window.el (resize-window-reset, resize-window-reset-1)
20922 (resize-subwindows-skip-p, resize-subwindows-normal)
20923 (resize-subwindows, resize-other-windows, resize-this-window)
20924 (resize-root-window, resize-root-window-vertically)
20925 (window-deletable-p, window-or-subwindow-p)
20926 (frame-root-window-p): New functions.
20927
20928 2011-06-09 Glenn Morris <rgm@gnu.org>
20929
20930 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20931 (ange-ftp-get-files): Use it.
20932
20933 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20934
20935 * mail/sendmail.el (mail-recover-1, mail-recover):
20936 * files.el (recover-file, recover-session):
20937 Handle dired-listing-switches not being just a single short option.
20938
20939 2011-06-09 Glenn Morris <rgm@gnu.org>
20940
20941 * calendar/appt.el (appt-display-message, appt-disp-window):
20942 Handle lists of appointments.
20943
20944 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20945
20946 * window.el (one-window-p): Move down in code.
20947 Rewrite doc-string.
20948 (window-current-scroll-bars): Rewrite doc-string.
20949 Normalize live window argument.
20950 (walk-windows, get-window-with-predicate, count-windows):
20951 Rewrite doc-string. Use window-list-1.
20952 (window-in-direction-2, window-in-direction, get-mru-window):
20953 New functions.
20954
20955 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20956
20957 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20958 Doc fix (Bug#8713).
20959
20960 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20961
20962 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20963
20964 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20965
20966 * loadhist.el (unload-feature-special-hooks):
20967 Add `comint-output-filter-functions'.
20968
20969 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20970
20971 * calendar/appt.el (appt-check): Move some initializations into the let.
20972
20973 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20974
20975 * window.el (window-height): Defalias to window-total-height.
20976 (window-width): Defalias to window-body-width.
20977
20978 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20979
20980 * image-mode.el (image-toggle-animation): New command.
20981 (image-mode-map): Bind it to RET.
20982 (image-mode): Update message.
20983 (image-toggle-display-image): Avoid a spurious cache flush.
20984 (image-transform-rotation): Doc fix.
20985 (image-transform-properties): Return quickly in the normal case.
20986 (image-animate-loop): Rename from image-animate-max-time.
20987
20988 * image.el (image-animate-max-time): Move to image-mode.el.
20989 (create-animated-image): Remove unnecessary function.
20990 (image-animate): Rename from image-animate-start. New arg.
20991 (image-animate-stop): Remove; just use image-animate-timer.
20992 (image-animate-timer): Use car-safe.
20993 (image-animate-timeout): Rename argument.
20994
20995 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20996
20997 * window.el (get-lru-window, get-largest-window): Move here from
20998 window.c. Rename first argument to ALL-FRAMES.
20999 Rephrase doc-strings.
21000 (get-buffer-window-list): Rewrite using window-list-1.
21001 Rephrase doc-string.
21002 (window-safe-min-height, window-safe-min-width): New constants.
21003 (window-size-ignore, window-min-size, window-min-size-1)
21004 (window-sizable, window-sizable-p, window-size-fixed-1)
21005 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21006 (window-max-delta-1, window-max-delta, window-resizable)
21007 (window-resizable-p, window-total-height, window-total-width)
21008 (window-body-width): New functions.
21009 (window-full-height-p, window-full-width-p): Rewrite using
21010 window-total-size.
21011 (window-body-height): Rewrite using window-body-size.
21012
21013 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21014
21015 * window.el (window-right, window-left, window-child)
21016 (window-child-count, window-last-child, window-any-p)
21017 (normalize-live-buffer, normalize-live-frame)
21018 (normalize-any-window, normalize-live-window)
21019 (window-iso-combination-p, window-iso-combined-p)
21020 (window-iso-combinations)
21021 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21022 (windows-with-parameter, window-with-parameter)
21023 (window-atom-root, make-window-atom, window-atom-check-1)
21024 (window-atom-check, window-side-check, window-check):
21025 New functions.
21026 (ignore-window-parameters, window-sides, window-sides-vertical)
21027 (window-sides-slots): New variables.
21028 (window-size-fixed): Move down in code. Minor doc-string fix.
21029
21030 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21031
21032 * comint.el (comint-dynamic-complete-as-filename)
21033 (comint-dynamic-complete-filename): Correctly call
21034 completion-in-region.
21035
21036 2011-06-05 Deniz Dogan <deniz@dogan.se>
21037
21038 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21039 in last change.
21040
21041 2011-06-05 Deniz Dogan <deniz@dogan.se>
21042
21043 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21044 (rcirc): Use it to prompt for encryption.
21045
21046 2011-06-05 Roland Winkler <winkler@gnu.org>
21047
21048 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21049 (bibtex-search-entries): New command bound to C-c C-a.
21050 (bibtex-display-entries): New function.
21051
21052 2011-06-05 Roland Winkler <winkler@gnu.org>
21053
21054 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21055 (bibtex-insert-kill): After yanking insert newline if necessary.
21056 (bibtex-initialize): Call bibtex-string-files-init only once.
21057 (bibtex-mode): Do not call easy-menu-add.
21058 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21059 (bibtex-yank): Set arg properly if nil.
21060
21061 2011-06-05 Roland Winkler <winkler@gnu.org>
21062
21063 * textmodes/bibtex.el (bibtex-search-entry-globally):
21064 New variable.
21065 (bibtex-search-entry): Use it.
21066
21067 2011-06-05 Roland Winkler <winkler@gnu.org>
21068
21069 * textmodes/bibtex.el (bibtex-entry-format): New option
21070 sort-fields.
21071 (bibtex-format-entry, bibtex-reformat): Honor this option.
21072 (bibtex-parse-entry): Return fields in proper order.
21073
21074 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21075
21076 * doc-view.el (doc-view-remove-if): Move computation of result out
21077 of `dolist' to silence misleading lexical-binding warning.
21078
21079 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21080
21081 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21082 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21083
21084 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21085
21086 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21087 "SunOS 5.10".
21088
21089 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21090
21091 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21092 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21093 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21094 (tramp-parse-putty):
21095 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21096 (tramp-completion-function-alist-ssh)
21097 (tramp-completion-function-alist-telnet)
21098 (tramp-completion-function-alist-su)
21099 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21100 cookie.
21101
21102 * net/tramp-ftp.el:
21103 * net/tramp-sh.el:
21104 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21105 load "tramp.el" `tramp-set-completion-function'.
21106
21107 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21108
21109 * shell.el: Require and use pcomplete.
21110 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21111 (shell-completion-vars): Set pcomplete-default-completion-function.
21112
21113 2011-06-04 Deniz Dogan <deniz@dogan.se>
21114
21115 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21116 `memq' (Bug#8799).
21117
21118 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21119
21120 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21121
21122 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21123
21124 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21125 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21126 * vc/log-view.el (log-view-beginning-of-defun):
21127 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21128 (smerge-refine-forward, smerge-refine-chopup-region):
21129 Silence warning for unused `dotimes' counter variables.
21130
21131 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21132
21133 * net/tramp.el (tramp-with-progress-reporter): Rename from
21134 with-progress-reporter. Use `declare'.
21135 * net/tramp-smb.el:
21136 * net/tramp-sh.el:
21137 * net/tramp-gvfs.el: Update all uses.
21138
21139 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21140
21141 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21142 buffer isn't killed before making it current.
21143
21144 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21145
21146 Silence various byte-compiler warnings.
21147 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21148 `access-type' and new obsolescence format.
21149 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21150 new format.
21151 (byte-compile-check-variable): New `access-type' argument.
21152 Only warn if the access-type is obsolete.
21153 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21154 (byte-compile-variable-set): Adjust callers.
21155 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21156 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21157 setting it as obsolete.
21158 * simple.el (minibuffer-completing-symbol):
21159 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21160 access as obsolete.
21161 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21162 obsolete yet.
21163 * international/quail.el (quail-mouse-choose-completion): Remove unused
21164 code referring to obsolete var.
21165 (quail-choose-completion-string): Remove.
21166 * server.el (server-clients-with, server-kill-buffer-query-function)
21167 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21168 * proced.el (proced-send-signal):
21169 * emacs-lisp/lisp.el (lisp-complete-symbol):
21170 Replace completion-annotate-function with completion-extra-properties.
21171
21172 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21173
21174 * simple.el (goto-line): Use read-number.
21175 (overriding-map-is-bound): Remove.
21176 (saved-overriding-map): Change default.
21177 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21178 Take the map as argument.
21179 (universal-argument, negative-argument, digit-argument): Use it.
21180 (restore-overriding-map): Adjust.
21181 (do-auto-fill): Use fill-forward-paragraph.
21182 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21183
21184 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21185 (minibuffer-inactive-mode): New major mode.
21186 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21187 the *Messages* buffer" hack.
21188 (mouse-popup-menubar): Don't burp if the event is a normal key.
21189
21190 Miscellaneous tweaks.
21191 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21192 lexical scoping as in subr.el's dolist and dotimes.
21193 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21194 Silence compiler warning.
21195 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21196 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21197 * international/ccl.el (ccl-compile): Trivial simplification.
21198 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21199 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21200 `printflag' argument.
21201 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21202 Purecopy the whole obsolescence data.
21203
21204 2011-06-01 Leo Liu <sdl.web@gmail.com>
21205
21206 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21207 improve doc-string as suggested by Marco Pessotto
21208 <melmothx@gmail.com>.
21209 (rcirc-print): Fix last change.
21210
21211 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21212
21213 * minibuffer.el (complete-with-action): Return nil for the metadata and
21214 boundaries of non-functional tables.
21215 (completion-table-dynamic): Return nil for the metadata.
21216 (completion-table-with-terminator): Add default case, using
21217 complete-with-action.
21218 (completion--metadata): New function.
21219 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21220 to try and avoid pathological performance problems.
21221 (completion--embedded-envvar-table): Return `category' metadata.
21222
21223 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21224
21225 * subr.el (process-alive-p): New tiny convenience function.
21226
21227 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21228
21229 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21230 content but also its previous major mode.
21231
21232 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21233
21234 * emacs-lisp/debug.el (debug): Restore the previous content of the
21235 *Backtrace* buffer when we exit with C-M-c.
21236
21237 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21238
21239 * minibuffer.el: Add metadata method to completion tables.
21240 (completion-category-overrides): New defcustom.
21241 (completion-metadata, completion--field-metadata)
21242 (completion-metadata-get, completion--styles)
21243 (completion--cycle-threshold): New functions.
21244 (completion-try-completion, completion-all-completions):
21245 Add `metadata' argument to choose completion-styles.
21246 (completion--do-completion): Use metadata to choose cycling.
21247 (completion-all-sorted-completions): Use metadata for sorting.
21248 Remove :completion-cycle-penalty which is not needed any more.
21249 (completion--try-word-completion): Add `metadata' argument.
21250 (minibuffer-completion-help): Check metadata for annotation function
21251 and sorting.
21252 (completion-file-name-table): Return `category' metadata.
21253 (minibuffer-completing-file-name): Make obsolete.
21254 * simple.el (minibuffer-completing-symbol): Make obsolete.
21255 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21256 completion-try-completion.
21257
21258 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21259
21260 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21261
21262 2011-05-30 Leo Liu <sdl.web@gmail.com>
21263
21264 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21265 (rcirc-print): Decode all incoming messages (bug#8744).
21266 (rcirc-decode-coding-system): Allow value nil for automatic coding
21267 system detection.
21268
21269 2011-06-01 Glenn Morris <rgm@gnu.org>
21270
21271 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21272
21273 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21274
21275 * image.el (image-animate-max-time): Allow nil and t values.
21276 Default to nil.
21277 (create-animated-image): Doc fix.
21278 (image-animate-start): Remove second arg; just use
21279 image-animate-max-time.
21280 (image-animate-timeout): Doc fix. Args changed.
21281
21282 * image-mode.el (image-toggle-display-image): Ensure that the
21283 image spec passed to the animate timer is the same object as in
21284 the buffer's display property (Bug#6981).
21285 (image-transform-properties): Doc fix.
21286
21287 * image.el (image-animate-max-time): Default to nil.
21288
21289 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21290
21291 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21292 entire buffer list (Bug#8184).
21293
21294 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21295
21296 * image.el (imagemagick-types-inhibit)
21297 (imagemagick-register-types): Doc fix.
21298
21299 2011-05-29 Deniz Dogan <deniz@dogan.se>
21300
21301 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21302 default.
21303
21304 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21305
21306 * select.el: Don't perform clipboard-manager saving in hooks;
21307 leave the hooks empty.
21308
21309 2011-05-28 Leo Liu <sdl.web@gmail.com>
21310
21311 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21312 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21313 (occur-edit-mode): New major mode (Bug#8463).
21314 (occur-after-change-function): New function.
21315 (occur-engine): Give Occur tags a read-only property.
21316
21317 2011-05-28 Kevin Ryde <user42@zip.com.au>
21318
21319 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21320
21321 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21322
21323 * bindings.el (help-echo): Make the initial non-indicator dash
21324 empty on graphical terminals (Bug#7295).
21325
21326 * files.el (auto-mode-alist): Move config rule after the
21327 in-stripping one (Bug#8547).
21328
21329 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21330
21331 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21332 setting (Bug#8740).
21333
21334 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21335
21336 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21337 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21338 (Bug#8539).
21339
21340 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21341
21342 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21343
21344 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21345
21346 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21347 (hs-hide-block-at-point, hs-find-block-beginning)
21348 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21349 (Bug#8279).
21350
21351 2011-05-28 Glenn Morris <rgm@gnu.org>
21352
21353 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21354
21355 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21356
21357 * help-fns.el (describe-function-1): If the function is a derived
21358 major mode, print the parent mode.
21359
21360 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21361 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21362
21363 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21364
21365 * minibuffer.el (completion--capf-wrapper): Check applicability before
21366 returning non-nil for non-exclusive completion data.
21367 * progmodes/etags.el (tags-completion-at-point-function):
21368 * info-look.el (info-lookup-completions-at-point): Mark as
21369 non-exclusive.
21370 (info-complete): Adjust accordingly.
21371
21372 * info-look.el: Convert to lexical-binding and completion-at-point.
21373 (info-lookup-completions-at-point): New function.
21374 (info-complete): Use it and completion-in-region.
21375
21376 2011-05-28 Drew Adams <drew.adams@oracle.com>
21377
21378 * isearch.el: Let M-e start with point at the first mismatched char.
21379 (isearch-fail-pos): New function.
21380 (isearch-edit-string): Use it.
21381
21382 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21383
21384 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21385
21386 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21387
21388 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21389 traversal functions for avl-trees.
21390 (avl-tree--stack): New struct.
21391 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21392 (avl-tree-enter): Add optional `updatefun' arg.
21393 (avl-tree--do-enter): Add optional `updatefun' arg.
21394 Change return value.
21395 (avl-tree-delete): Add optional `test' and `nilflag' args.
21396 (avl-tree--do-delete): Add `test' and `nilflag' args.
21397 Change return value.
21398 (avl-tree-member): Add optional `nilflag'
21399 (avl-tree-member-p): New function.
21400 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21401 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21402 (avl-tree-stack-empty-p): New functions.
21403
21404 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21405 avl-tree--del-balance1 and make it work both ways.
21406 (avl-tree--del-balance2): Remove.
21407 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21408 make it work both ways.
21409 (avl-tree--enter-balance2): Remove.
21410 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21411 New macros.
21412 (avl-tree--mapc, avl-tree-map): Add direction argument.
21413
21414 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21415
21416 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21417
21418 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21419
21420 * select.el: Support clipboard managers with built-in function
21421 x-clipboard-manager-save, via delete-frame-functions and
21422 kill-emacs-hook.
21423 (xselect-convert-to-targets): Add MULTIPLE target to list.
21424 (xselect-convert-to-save-targets): New function.
21425
21426 2011-05-27 Kenichi Handa <handa@m17n.org>
21427
21428 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21429 let-binding rfc2047-encode-encoded-words to nil.
21430
21431 2011-05-27 Glenn Morris <rgm@gnu.org>
21432
21433 * mail/emacsbug.el: Don't require url-util.
21434
21435 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21436
21437 * files.el (set-auto-mode):
21438 Also respect mode: entries at the end of the file. (Bug#8586)
21439
21440 2011-05-26 Glenn Morris <rgm@gnu.org>
21441
21442 * files.el (hack-local-variables-prop-line, hack-local-variables):
21443 Downcase mode names, as seems to be traditional.
21444 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21445
21446 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21447 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21448
21449 2011-05-25 Julien Danjou <julien@danjou.info>
21450
21451 * textmodes/rst.el (rst-define-level-faces): Do not define face
21452 symbol if it is already defined.
21453
21454 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21455
21456 * play/5x5.el (5x5-new-game, 5x5-randomize):
21457 Reset 5x5-solver-output to nil when a new grid is cast.
21458 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21459 these debugging traces, as defmacro breaks the compiled code.
21460
21461 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21462
21463 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21464
21465 2011-05-24 Leo Liu <sdl.web@gmail.com>
21466
21467 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21468 (vc-bzr-sha1): Adapt.
21469
21470 * sha1.el: Remove. Function `sha1' is now builtin.
21471
21472 * bindings.el: Provide sha1 feature.
21473
21474 2011-05-24 Kenichi Handa <handa@m17n.org>
21475
21476 * mail/sendmail.el: Require `rfc2047'.
21477 (mail-insert-from-field): Do not perform RFC2047 encoding.
21478 (mail-encode-header): New function.
21479 (sendmail-send-it): Set buffer-file-coding-system of the work
21480 buffer to the return value of select-message-coding-system.
21481 Call mail-encode-header.
21482
21483 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21484
21485 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21486
21487 * mail/supercite.el (sc-default-cite-frame):
21488 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21489
21490 2011-05-24 Glenn Morris <rgm@gnu.org>
21491
21492 * progmodes/python.el (brm-menu): Declare.
21493
21494 * emulation/viper.el (viper-set-hooks): Declare.
21495
21496 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21497 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21498 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21499 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21500 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21501 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21502
21503 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21504
21505 Add an :exit-function for completion-at-point.
21506
21507 * minibuffer.el (completion--done): New fun.
21508 (completion--do-completion): Use it. New arg `expect-exact'.
21509 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21510 since completion--do-completion does it for us now.
21511 (minibuffer-force-complete): Use completion--done and
21512 completion--replace. Handle sole-completion case with more care.
21513 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21514 (completion-extra-properties): New var.
21515 (completion-annotate-function): Make obsolete.
21516 (minibuffer-completion-help): Adjust accordingly.
21517 Use completion-list-insert-choice-function.
21518 (completion-at-point, completion-help-at-point):
21519 Bind completion-extra-properties.
21520 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21521 * simple.el (completion-list-insert-choice-function): New var.
21522 (completion-setup-function): Preserve it.
21523 (choose-completion): Pay attention to it, shuffle the code a bit.
21524 (choose-completion-string): New arg `insert-function'.
21525
21526 * textmodes/bibtex.el: Convert to lexical binding.
21527 (bibtex-mode-map): Use completion-at-point.
21528 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21529 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21530 (bibtex-complete): Define as obsolete alias.
21531 (bibtex-complete-internal): Remove.
21532 (bibtex-format-entry): Remove unused sub-group in regexp.
21533 * shell.el (shell--command-completion-data)
21534 (shell-environment-variable-completion):
21535 * pcomplete.el (pcomplete-completions-at-point):
21536 * comint.el (comint--complete-file-name-data): Use :exit-function
21537 instead of completion-table-with-terminator so it also works for
21538 choose-completion.
21539
21540 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21541
21542 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21543
21544 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21545 (bug#8710).
21546
21547 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21548
21549 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21550
21551 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21552 customization variable and implement: If non-nil, auto-fill will
21553 be inhibited while on topic's header line.
21554
21555 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21556
21557 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21558 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21559 always have a solution in grid size = 5 cases.
21560 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21561 (5x5-solver-output, 5x5-log-buffer): New vars.
21562 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21563 Make these variables buffer local to achieve 5x5 multi-session-ness.
21564 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21565 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21566 (5x5-solve-suggest): New funs.
21567 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21568 randomize a grid so that we ensure that there is always a solution.
21569 (5x5-make-random-grid): Allow other movement than flipping.
21570
21571 2011-05-23 Kevin Ryde <user42@zip.com.au>
21572
21573 * emacs-lisp/advice.el (ad-read-advised-function):
21574 Use `function-called-at-point' as the default, if it has
21575 advice and passes PREDICATE.
21576
21577 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21578
21579 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21580 byte-compile-lambda if it's actually a lambda.
21581
21582 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21583 Fix function quoting. Use backquote better.
21584
21585 2011-05-22 Yuanle Song <sylecn@gmail.com>
21586
21587 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21588 matching (Bug#8516).
21589
21590 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21591
21592 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21593 different face (Bug#8178).
21594
21595 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21596
21597 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21598 defface (Bug#8144).
21599
21600 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21601
21602 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21603 funcall as well (bug#8712). Warn when performing those conversions.
21604 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21605
21606 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21607
21608 2011-05-22 Glenn Morris <rgm@gnu.org>
21609
21610 * files.el (hack-local-variables-prop-line): Small simplifications.
21611 (hack-local-variables, hack-local-variables-prop-line):
21612 If MODE-ONLY, return the mode, rather than just `t'.
21613
21614 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21615
21616 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21617
21618 2011-05-21 Glenn Morris <rgm@gnu.org>
21619
21620 * files.el (hack-local-variables-prop-line, hack-local-variables):
21621 If only interested in the mode, don't bother doing the other stuff.
21622
21623 * image-mode.el (image-after-revert-hook):
21624 Redraw all frames on which the image is visible. (Bug#8567)
21625
21626 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21627
21628 * wid-edit.el (widget-checklist-match-inline):
21629 Fix 2011-04-19 change. (Bug#8649)
21630
21631 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21632
21633 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21634 Also allow singlespace after single-letter capitals followed by a dot.
21635
21636 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21637 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21638
21639 2011-05-20 Nix <nix@esperi.org.uk>
21640
21641 * files.el (basic-save-buffer-2):
21642 Fix handling of break-hardlink-on-save with non-existent files.
21643
21644 2011-05-19 Deniz Dogan <deniz@dogan.se>
21645
21646 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21647 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21648
21649 2011-05-19 Glenn Morris <rgm@gnu.org>
21650
21651 * progmodes/f90.el (f90-type-def-re):
21652 Handle "type, bind(c)". (Bug#8691)
21653
21654 * emacs-lisp/autoload.el (batch-update-autoloads):
21655 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21656
21657 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21658
21659 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21660 property for the correct connection in case of multihops.
21661
21662 2011-05-18 Glenn Morris <rgm@gnu.org>
21663
21664 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21665 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21666
21667 Rationalize calendar handling of day and month abbrev-arrays.
21668 * calendar/calendar.el (calendar-customized-p): New function.
21669 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21670 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21671 Add :set function.
21672 (calendar-abbrev-length, calendar-day-abbrev-array)
21673 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21674 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21675 Elements may no longer be nil.
21676 (calendar-day-name, calendar-month-name):
21677 Update for changed nature of abbrev arrays.
21678 * calendar/diary-lib.el (diary-name-pattern):
21679 Update for changed nature of abbrev arrays.
21680 (diary-mark-entries-1): Update calendar-make-alist calls.
21681 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21682 * calendar/cal-html.el (cal-html-day-abbrev-array):
21683 Simply inherit from calendar-day-abbrev-array.
21684
21685 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21686
21687 * progmodes/grep.el (grep-mode): Disable default
21688 compilation-directory-matcher setting (bug#8684).
21689
21690 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21691
21692 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21693 instead of "head" and "tail". There were problems with SunOS 5.9,
21694 and it performs better.
21695
21696 2011-05-17 Glenn Morris <rgm@gnu.org>
21697
21698 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21699
21700 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21701 Replace obsolete function.
21702
21703 * shell.el (pcomplete-parse-arguments-function): Declare.
21704
21705 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21706 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21707 (appt-check): Doc fixes.
21708 (appt-disp-window-function, appt-delete-window-function):
21709 Remove needless special case in custom :type.
21710 (appt-display-count): Default to 0, not nil.
21711 (appt-check): Reset appt-display-count to 0, not nil.
21712
21713 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21714
21715 * progmodes/python.el (python-font-lock-keywords):
21716 Add the Python 3.X keyword "nonlocal" (bug#8639).
21717
21718 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21719
21720 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21721
21722 2011-05-16 Kevin Ryde <user42@zip.com.au>
21723
21724 * info-look.el (makefile-automake-mode): New setups, looking in
21725 automake manual, then makefile-mode.
21726 (makefile-mode): Remove automake manual, have it just in
21727 makefile-automake-mode since there's various things different or
21728 not relevant to plain make.
21729 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21730 believe a hypothetical automake-mode would go to makefile-mode,
21731 not the other way around.
21732
21733 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21734
21735 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21736 hunk-end tags (Bug#8672).
21737
21738 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21739 vc-annotate-show-diff-revision-at-line (Bug#8671).
21740
21741 2011-05-14 Glenn Morris <rgm@gnu.org>
21742
21743 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21744 in the middle of an existing one with multiple authors. (Bug#8645)
21745 (change-log-font-lock-keywords): Also handle multiple author lines
21746 with leading tabs. (Bug#8644)
21747
21748 * calendar/appt.el (appt-check): Rename some local variables.
21749 Some simplification/reordering.
21750
21751 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21752 (feedmail-sendmail-f-doesnt-sell-me-out)
21753 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21754 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21755 (feedmail-queue-runner-message-sender): Set :version.
21756 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21757 (bbdb-dwim-net-address, vm-mail): Declare.
21758 (feedmail-binmail-gnulinuxish-template):
21759 Rename from feedmail-binmail-linuxish-template.
21760 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21761 Use insert-buffer-substring.
21762
21763 2011-05-14 Bill Carpenter <bill@carpenter.org>
21764
21765 * mail/feedmail.el (feedmail-patch-level): Increase.
21766 (feedmail-debug): New custom group.
21767 (feedmail-confirm-outgoing-timeout)
21768 (feedmail-sendmail-f-doesnt-sell-me-out)
21769 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21770 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21771 (feedmail-sender-line, feedmail-from-line)
21772 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21773 (feedmail-spray-this-address)
21774 (feedmail-spray-address-fiddle-plex-list)
21775 (feedmail-queue-use-send-time-for-date)
21776 (feedmail-queue-use-send-time-for-message-id)
21777 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21778 (feedmail-buffer-eating-function):
21779 Doc fixes.
21780 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21781 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21782 (feedmail-message-action-scroll-down): New functions.
21783 (feedmail-queue-directory, feedmail-queue-draft-directory):
21784 Use expand-file-name.
21785 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21786 Remove C-v help entry.
21787 (feedmail-queue-buffer-file-name): New variable.
21788 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21789 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21790 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21791 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21792 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21793 (feedmail-message-action-toggle-spray)
21794 (feedmail-run-the-queue-no-prompts)
21795 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21796 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21797 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21798 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21799 (feedmail-envelope-deducer, feedmail-fiddle-from)
21800 (feedmail-fiddle-sender, feedmail-default-date-generator)
21801 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21802 (feedmail-fiddle-spray-address)
21803 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21804 (feedmail-fiddle-list-of-fiddle-plexes)
21805 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21806 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21807 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21808 Change default. Doc fix.
21809 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21810 (feedmail-binmail-linuxish-template): New constant.
21811 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21812 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21813 (feedmail-send-it): Add debug call.
21814 Use feedmail-queue-buffer-file-name, and
21815 feedmail-send-it-immediately-wrapper.
21816 (feedmail-message-action-send): Add debug call.
21817 Use feedmail-send-it-immediately-wrapper.
21818 (feedmail-queue-express-to-queue): Add debug call.
21819 Run feedmail-queue-express-hook.
21820 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21821 (feedmail-message-action-help-blat):
21822 Rename from feedmail-queue-send-edit-prompt-help-first.
21823 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21824 Check line-endings. Handle errors better.
21825 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21826 Doc fix. Add debug call.
21827 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21828 Use feedmail-queue-send-edit-prompt-inner.
21829 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21830 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21831 from feedmail-queue-send-edit-prompt.
21832 (feedmail-queue-send-edit-prompt-help)
21833 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21834 (feedmail-tidy-up-slug): Add debug call.
21835 Respect feedmail-queue-slug-suspect-regexp.
21836 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21837 (feedmail-dump-message-to-queue): Add debug call.
21838 Expand queue-directory.
21839 (feedmail-dump-message-to-queue): Change message slightly.
21840 Use feedmail-say-chatter.
21841 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21842 (feedmail-send-it-immediately-wrapper): New function.
21843 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21844 Insert empty string rather than newline. Handle full-frame case.
21845 Use catch/throw. Use feedmail-say-chatter.
21846 (feedmail-fiddle-from): Try mail-host-address.
21847 (feedmail-default-message-id-generator): Doc fix.
21848 Bind system-time-locale. Handle missing end.
21849 (feedmail-fiddle-x-mailer): Add debug call.
21850 Handle feedmail-x-mailer-line being nil.
21851 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21852 Add debug call. Use buffer-substring-no-properties.
21853 (feedmail-say-debug, feedmail-say-chatter): New functions.
21854 (feedmail-find-eoh): Give an explicit error.
21855
21856 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21857
21858 * net/newst-treeview.el (newsticker-treeview-face): Change default
21859 family from helvetica to sans.
21860 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21861 etc/images/newsticker.
21862
21863 * net/newst-reader.el (newsticker-feed-face): Change default
21864 family from helvetica to sans.
21865
21866 * net/newst-plainview.el (newsticker-new-item-face)
21867 (newsticker-old-item-face, newsticker-immortal-item-face)
21868 (newsticker-obsolete-item-face, newsticker-date-face)
21869 (newsticker-statistics-face): Change default family from
21870 helvetica to sans.
21871 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21872 etc/images/newsticker.
21873
21874 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21875 (newsticker--process-auto-mark-filter-match): Tell user about
21876 auto-marking.
21877
21878 2011-05-13 Didier Verna <didier@xemacs.org>
21879
21880 Common Lisp indentation improvements on defmethod and lambda-lists.
21881 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21882 TODO entries.
21883 (lisp-lambda-list-keyword-parameter-indentation)
21884 (lisp-lambda-list-keyword-parameter-alignment)
21885 (lisp-lambda-list-keyword-alignment): New customizable user options.
21886 (lisp-indent-defun-method): Improve docstring.
21887 (extended-loop-p): Fix comment.
21888 (lisp-indent-lambda-list-keywords-regexp): New variable.
21889 (lisp-indent-lambda-list): New function.
21890 (lisp-indent-259): Use it.
21891 (lisp-indent-defmethod): Support for more than one
21892 method qualifier and properly indent methods lambda-lists.
21893 (defgeneric): Provide a missing common-lisp-indent-function property.
21894
21895 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21896
21897 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21898 bounds for the empty string (bug#8667).
21899
21900 2011-05-13 Glenn Morris <rgm@gnu.org>
21901
21902 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21903
21904 * mail/sendmail.el (sendmail-program): Try executable-find first.
21905 (sendmail-send-it): `sendmail-program' cannot be unbound.
21906
21907 * calendar/appt.el (appt-make-list): Simplify.
21908 (appt-time-msg-list): Doc fix.
21909 (appt-check): Change mode-line message at the time of the appointment.
21910
21911 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21912
21913 * progmodes/ld-script.el (ld-script-keywords)
21914 (ld-script-builtins): Update keywords list.
21915
21916 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21917
21918 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21919
21920 * shell.el (shell-completion-vars): New function.
21921 (shell-mode):
21922 * simple.el (read-shell-command): Use it.
21923 (blink-matching-open): No need for " [...]" in minibuffer-message.
21924
21925 2011-05-12 Glenn Morris <rgm@gnu.org>
21926
21927 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21928 (appt-check): Simplify.
21929
21930 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21931
21932 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21933 literal "/dev/null".
21934
21935 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21936
21937 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21938 Fix typo.
21939
21940 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21941
21942 * progmodes/which-func.el (which-function):
21943 Use add-log-current-defun instead of add-log-current-defun-function,
21944 which might not be defined (Bug#8260).
21945
21946 2011-05-12 Glenn Morris <rgm@gnu.org>
21947
21948 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21949 Let byte-compile-initial-macro-environment always take precedence.
21950
21951 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21952
21953 * net/rcirc.el: Add support for SSL/TLS connections.
21954 (rcirc-server-alist): New field `encryption'.
21955 (rcirc): Check `encryption' settings.
21956 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21957 Merge make-local-variable into `set'.
21958 (rcirc--connection-open-p): New function.
21959 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21960 the process is not a network process (e.g. running gnutls-cli).
21961 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21962 Make rcirc-(en|de)code-coding-system local here.
21963 (rcirc-mode): Merge make-local-variable into `set'.
21964 (rcirc-parent-buffer): Make permanent buffer-local.
21965 (rcirc-multiline-minor-mode): Don't do it here.
21966 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21967 there's no server buffer.
21968
21969 2011-05-11 Glenn Morris <rgm@gnu.org>
21970
21971 * newcomment.el (comment-kill): Prefix "unused" local.
21972
21973 * term/w32console.el (get-screen-color): Declare.
21974
21975 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21976 Handle symbol elements of byte-compile-initial-macro-environment.
21977
21978 2011-05-10 Leo Liu <sdl.web@gmail.com>
21979
21980 * bookmark.el (bookmark-bmenu-mode-map):
21981 Bind bookmark-bmenu-search to `/'.
21982
21983 * mail/footnote.el: Convert to utf-8 encoding.
21984 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21985 (Footnote-unicode): New function.
21986 (footnote-style-alist): Add unicode style to the list.
21987 (footnote-style): Doc fix.
21988
21989 2011-05-10 Jim Meyering <meyering@redhat.com>
21990
21991 Fix doubled-word typos.
21992 * international/quail.el (quail-insert-kbd-layout): and and -> and
21993 * kermit.el: and and -> and
21994 * net/ldap.el (ldap-search-internal): to to -> to
21995 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21996 * progmodes/js.el (js-mode): and and -> and
21997 * textmodes/artist.el (artist-move-to-xy): at at -> at
21998 (artist-draw-region-trim-line-endings): if if -> if
21999 And Safetyc -> Safety.
22000 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22001
22002 2011-05-10 Glenn Morris <rgm@gnu.org>
22003 Stefan Monnier <monnier@iro.umontreal.ca>
22004
22005 * files.el (hack-one-local-variable-eval-safep):
22006 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22007
22008 2011-05-10 Glenn Morris <rgm@gnu.org>
22009
22010 * calendar/diary-lib.el (diary-list-entries-hook)
22011 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22012 (diary-nongregorian-marking-hook, diary-list-entries)
22013 (diary-include-other-diary-files, diary-mark-entries)
22014 (diary-mark-included-diary-files): Doc fixes.
22015
22016 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22017
22018 * misc.el: Require tabulated-list.el during compilation.
22019
22020 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22021
22022 * progmodes/compile.el (compilation-start):
22023 Run compilation-filter-hook for the async case too.
22024 (compilation-filter-hook): Doc fix.
22025
22026 2011-05-09 Deniz Dogan <deniz@dogan.se>
22027
22028 * wdired.el: Remove outdated installation comment. Fix usage
22029 comment.
22030
22031 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22032
22033 * misc.el: Implement new command `list-dynamic-libraries'.
22034 (list-dynamic-libraries--loaded-only-p): New variable.
22035 (list-dynamic-libraries--refresh): New function.
22036 (list-dynamic-libraries): New command.
22037
22038 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22039
22040 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22041 Fix the ant regexp to handle end-line and end-column info from jikes.
22042 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22043 higher priority to avoid clobbering by gnu.
22044
22045 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22046
22047 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22048 if the face has existing theme settings (Bug#8454).
22049
22050 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22051
22052 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22053 Only match variables declared via `my' or `our' (Bug#8261).
22054
22055 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22056 special file names `.' and `..' (Bug#8259).
22057
22058 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22059
22060 * progmodes/grep.el (grep-mode-font-lock-keywords):
22061 Remove buffer-changing entries.
22062 (grep-filter): New function.
22063 (grep-mode): Add it to compilation-filter-hook.
22064
22065 * progmodes/compile.el (compilation-filter-hook)
22066 (compilation-filter-start): New defvars.
22067 (compilation-filter): Call compilation-filter-hook prior to
22068 updating the process mark.
22069
22070 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22071
22072 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22073
22074 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22075
22076 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22077 mailclient-send-it even if window-system is nil. (Bug#8595)
22078
22079 * term/w32console.el (terminal-init-w32console):
22080 Call get-screen-color and use its output to set the frame
22081 background-mode. (Bug#8597)
22082
22083 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22084
22085 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22086 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22087 New functions.
22088 (defgeneric, eieio--defmethod): Use them.
22089 (eieio-defgeneric): Remove.
22090 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22091
22092 2011-05-07 Glenn Morris <rgm@gnu.org>
22093
22094 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22095 Use let rather than let*.
22096 (timeclock-find-discrep): Remove unused local.
22097
22098 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22099
22100 * calendar/appt.el (appt-time-msg-list): Doc fix.
22101
22102 2011-05-06 Noah Friedman <friedman@splode.com>
22103
22104 * apropos.el (apropos-print-doc): Only use
22105 emacs-lisp-docstring-fill-column when it is bound to an integer,
22106 per that variable's documentation.
22107
22108 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22109
22110 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22111 and warnings are not silently discarded (e.g. use -d instead of -P).
22112
22113 2011-05-06 Glenn Morris <rgm@gnu.org>
22114
22115 * calendar/appt.el (appt-message-warning-time): Doc fix.
22116 (appt-warning-time-regexp): New option.
22117 (appt-make-list): Respect appt-message-warning-time.
22118
22119 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22120 New options.
22121 (diary-add-to-list): Strip comments from the displayed string.
22122 (diary-mode): Set comment-start and comment-end.
22123
22124 * vc/diff-mode.el (smerge-refine-subst): Declare.
22125 (diff-refine-hunk): Don't require smerge-mode when compiling.
22126
22127 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22128
22129 * simple.el (list-processes): Return nil as the docstring says.
22130
22131 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22132
22133 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22134 to "".
22135 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22136 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22137 determining of binary transfer. (Bug#7383)
22138
22139 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22140
22141 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22142 Fix port computation bug. (Bug#8618)
22143
22144 2011-05-05 Glenn Morris <rgm@gnu.org>
22145
22146 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22147
22148 * simple.el (shell-dynamic-complete-functions)
22149 (comint-dynamic-complete-functions): Declare.
22150
22151 * net/network-stream.el (gnutls-negotiate):
22152 * simple.el (tabulated-list-print): Fix declarations.
22153
22154 * progmodes/gud.el (syntax-symbol, syntax-point):
22155 Remove unnecessary and incorrect declarations.
22156
22157 * emacs-lisp/check-declare.el (check-declare-scan):
22158 Handle byte-compile-initial-macro-environment in bytecomp.el.
22159
22160 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22161
22162 Fix earlier half-done eieio-defmethod change (bug#8338).
22163 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22164 Streamline and change calling convention.
22165 (defmethod): Adjust accordingly and simplify.
22166 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22167 new eieio--defmethod.
22168 (slot-boundp): Minor CSE simplification.
22169
22170 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22171
22172 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22173 (glasses-make-readable): Use glasses-separate-capital-groups.
22174
22175 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22176
22177 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22178 (warning-series): Doc fix.
22179 (display-warning): Don't try to create the buffer if we just found it.
22180
22181 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22182
22183 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22184 (autoload-find-generated-file): New function.
22185 (generate-file-autoloads): Bind generated-autoload-file to
22186 buffer-file-name.
22187 (update-file-autoloads, update-directory-autoloads):
22188 Use autoload-find-generated-file. If called interactively, prompt for
22189 output file (Bug#7989).
22190 (batch-update-autoloads): Doc fix.
22191
22192 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22193
22194 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22195
22196 2011-05-04 Glenn Morris <rgm@gnu.org>
22197
22198 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22199 function, so it follows changes in calendar-date-style.
22200 (diary-fancy-date-matcher): New function.
22201 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22202 (diary-fancy-font-lock-fontify-region-function):
22203 Use diary-fancy-date-pattern as a function.
22204
22205 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22206 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22207
22208 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22209
22210 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22211 instead of positional arguments. Allow :keylist and :crlfiles
22212 arguments.
22213 (open-gnutls-stream): Call it.
22214
22215 * net/network-stream.el (network-stream-open-starttls): Adjust to
22216 call `gnutls-negotiate' with :process and :hostname arguments.
22217
22218 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22219
22220 * minibuffer.el (completion--message): New function.
22221 (completion--do-completion, minibuffer-complete)
22222 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22223 (completion--do-completion): Don't ignore completion-auto-help when in
22224 icomplete-mode.
22225
22226 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22227 internal encoding (e.g. tibetan zero is not whitespace).
22228 (global-whitespace-mode): Prefer save-current-buffer.
22229 (whitespace-trailing-regexp): Remove useless save-match-data.
22230 (whitespace-empty-at-bob-regexp): Minor simplification.
22231
22232 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22233
22234 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22235
22236 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22237
22238 * textmodes/ispell.el (ispell-add-per-file-word-list):
22239 Use `concat' to create string for insertion.
22240
22241 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22242
22243 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22244 Avoid open-line which runs post-self-insert-hook.
22245 (bibtex-fill-entry): Remove unused `end' var.
22246
22247 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22248
22249 * textmodes/ispell.el (ispell-add-per-file-word-list):
22250 Protect against `nil' value of `comment-start' (Bug#8579).
22251
22252 2011-05-03 Leo Liu <sdl.web@gmail.com>
22253
22254 * isearch.el (isearch-yank-pop): New command.
22255 (isearch-mode-map): Bind it to `M-y'.
22256 (isearch-forward): Mention it.
22257
22258 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22259
22260 * simple.el (minibuffer-complete-shell-command): Remove.
22261 (minibuffer-local-shell-command-map): Use completion-at-point.
22262 (read-shell-command): Setup completion vars here instead.
22263 (read-expression-map): Bind TAB to symbol completion.
22264
22265 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22266 error directly rather via storing it into `results'.
22267
22268 2011-05-02 Leo Liu <sdl.web@gmail.com>
22269
22270 * vc/diff.el: Fix description.
22271
22272 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22273
22274 * server.el (server-eval-at): New function.
22275
22276 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22277
22278 * net/network-stream.el (open-network-stream): Take a :nowait
22279 parameter and pass it on to `make-network-process'.
22280 (network-stream-open-plain): Ditto.
22281
22282 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22283
22284 * faces.el (face-spec-set-match-display): Don't match toolkit
22285 options on terminal frames.
22286
22287 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22288
22289 * progmodes/pascal.el: Use lexical binding.
22290 (pascal-mode-map): Remove author preferences.
22291
22292 * pcomplete.el (pcomplete-std-complete): Don't abuse
22293 completion-at-point.
22294
22295 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22296
22297 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22298 removing code that has been dead since 1991 or so.
22299
22300 * startup.el (command-line): When warning about "_emacs", use a
22301 delayed warning to allow the user to filter it out.
22302
22303 2011-04-28 Deniz Dogan <deniz@dogan.se>
22304
22305 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22306 user has not joined.
22307
22308 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22309
22310 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22311 aren't any completions at point.
22312
22313 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22314
22315 * subr.el (display-delayed-warnings): New function.
22316 (delayed-warnings-hook): New variable.
22317
22318 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22319
22320 * minibuffer.el (completion-at-point, completion-help-at-point):
22321 Don't presume that a given completion-at-point-function will always
22322 use the same calling convention.
22323
22324 * pcomplete.el (pcomplete-completions-at-point):
22325 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22326 pcomplete-seen is non-nil.
22327 (pcomplete-comint-setup): Also recognize the new comint/shell
22328 completion functions.
22329 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22330 pcomplete-seen is non-nil.
22331
22332 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22333
22334 * calendar/icalendar.el (diary-lib): Add require statement.
22335 (icalendar--create-uid): Read out a uid from a text-property on
22336 the first character in the entry. This allows for code to add its
22337 own uid to the entry.
22338 (icalendar--convert-float-to-ical): Add export of
22339 `diary-float'-entries save for those with the optional DAY
22340 argument.
22341
22342 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22343
22344 * subr.el (shell-quote-argument): Use alternate escaping strategy
22345 when we spot a variable reference in a string.
22346
22347 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22348
22349 * cus-start.el (all): Define customization for debug-on-event.
22350
22351 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22352
22353 * subr.el (shell-quote-argument): Escape correctly under Windows.
22354
22355 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22356
22357 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22358
22359 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22360
22361 * net/tramp.el (tramp-process-actions): Add POS argument.
22362 Delete region between POS and (pos).
22363
22364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22365 Use `nil' position in `tramp-process-actions' call.
22366 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22367
22368 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22369 position in `tramp-process-actions' call.
22370
22371 * net/trampver.el: Update release number.
22372
22373 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22374
22375 * custom.el (defcustom): Obey lexical-binding.
22376
22377 Fix octave-inf completion problems reported by Alexander Klimov.
22378 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22379 Inherit from octave-mode-syntax-table.
22380 (inferior-octave-mode): Set info-lookup-mode.
22381 (inferior-octave-completion-at-point): New function.
22382 (inferior-octave-complete): Use it and completion-in-region.
22383 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22384 comint-filename-completion.
22385 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22386 symbol elements which shouldn't be word elements.
22387 (octave-font-lock-keywords, octave-beginning-of-defun)
22388 (octave-function-header-regexp): Adjust regexps accordingly.
22389 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22390
22391 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22392
22393 * net/gnutls.el (gnutls-errorp): Declare before first use.
22394
22395 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22396
22397 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22398 verify-error, and verify-hostname-error parameters. Check whether
22399 default trustfile exists before going to use it. Add missing
22400 argument to gnutls-message-maybe call. Return value.
22401 Reported by Claudio Bley <claudio.bley@gmail.com>.
22402 (open-gnutls-stream): Add usage example.
22403
22404 * net/network-stream.el (network-stream-open-starttls): Give host
22405 parameter to `gnutls-negotiate'.
22406 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22407 * subr.el (shell-quote-argument): Escape correctly under Windows.
22408
22409 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22410
22411 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22412 Use correct match group (bug#8438).
22413
22414 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22415
22416 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22417 (package-menu--generate): New arg specifying packages to show.
22418 (package-menu-refresh, package-menu-execute, list-packages):
22419 Callers changed.
22420 (package-show-package-list): New function, replacing deleted
22421 package--list-packages (renamed because it is non-internal).
22422
22423 * finder.el (finder-list-matches): Use package-show-package-list
22424 instead of deleted package--list-packages.
22425
22426 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22427 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22428 (vc-annotate-mode-map): Bind it to RET.
22429
22430 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22431
22432 * progmodes/etags.el (next-file): Don't use set-buffer to change
22433 buffers (Bug#8478).
22434
22435 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22436
22437 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22438
22439 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22440 (apropos-accumulator): Doc fix.
22441 (apropos-function, apropos-macro, apropos-command)
22442 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22443 (apropos-plist): Add face property.
22444 (apropos-symbols-internal): Fix indentation.
22445 (apropos-print): Simplify help, and recognize apropos-multi-type.
22446 (apropos-print-doc): Use button-type-get to extract the button's
22447 face property. Fill docstring (Bug#8352).
22448
22449 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22450
22451 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22452
22453 * play/mpuz.el (mpuz-silent): Doc fix.
22454 (mpuz-mode-map): Use mapc.
22455 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22456 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22457 Fix typos in docstrings.
22458
22459 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22460 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22461
22462 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22463
22464 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22465
22466 * minibuffer.el (completion--do-completion): Avoid the "Next char
22467 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22468
22469 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22470 mouse-2 into unread-command-events, it is interpreted correctly.
22471
22472 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22473 (image-toggle-display): Doc fix.
22474
22475 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22476
22477 * textmodes/page.el (what-page): Use line-number-at-pos to
22478 calculate line number (Bug#6825).
22479
22480 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22481
22482 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22483 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22484 Pass argument NO-DEFAULT to `find-tag-interactive'.
22485
22486 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22487
22488 Lexical-binding cleanup.
22489
22490 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22491 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22492 * progmodes/ada-prj.el (ada-prj-initialize-values)
22493 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22494 (ada-prj-show-value):
22495 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22496 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22497 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22498 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22499 * progmodes/bug-reference.el (bug-reference-push-button):
22500 * progmodes/fortran.el (fortran-line-length):
22501 * progmodes/glasses.el (glasses-change):
22502 * progmodes/octave-mod.el (octave-fill-paragraph):
22503 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22504 (python-pdbtrack-grub-for-buffer, python-sentinel):
22505 * progmodes/sql.el (sql-save-connection):
22506 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22507 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22508 Mark unused parameters.
22509
22510 * progmodes/compile.el (compilation--flush-directory-cache)
22511 (compilation--flush-parse, compile-internal): Mark unused parameters.
22512 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22513 (compilation-next-error-function): Remove unused variable `timestamp'.
22514
22515 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22516 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22517
22518 * progmodes/dcl-mode.el (dcl-end-of-command):
22519 Remove unused variable `start'.
22520 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22521 (dcl-option-value-basic, dcl-option-value-offset)
22522 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22523 Mark unused parameters.
22524 (dcl-save-local-variable): Remove unused variable `val'.
22525 (mode): Declare.
22526
22527 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22528 Mark unused parameters.
22529 (delphi-ignore-changes): Move before first use.
22530 (delphi-charset-token-at): Remove unused variable `start'.
22531 (delphi-else-start): Remove unused variable `if-count'.
22532 (delphi-comment-block-start, delphi-comment-block-end):
22533 Remove unused variable `kind'.
22534 (delphi-indent-line): Remove unused variable `new-point'.
22535
22536 * progmodes/ebrowse.el (ebrowse-files-list)
22537 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22538 Mark unused parameters. Don't quote `lambda'.
22539 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22540 Don't quote `lambda'.
22541 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22542 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22543 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22544 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22545 Use `ignore-errors'.
22546 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22547 (ebrowse-view/find-file-and-search-pattern)
22548 (ebrowse-view/find-member-declaration/definition):
22549 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22550 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22551 Rename parameter PREFIX-ARG to PREFIX.
22552 (ebrowse-tags-read-name): Remove unused variables `start' and
22553 `member-info'.
22554 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22555 to `tags-file'.
22556
22557 * progmodes/etags.el (local-find-tag-hook): Declare.
22558 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22559 Mark unused parameters.
22560
22561 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22562 (executable-interpret): Mark unused parameter.
22563
22564 * progmodes/flymake.el (flymake-process-sentinel)
22565 (flymake-after-change-function)
22566 (flymake-create-temp-with-folder-structure)
22567 (flymake-get-include-dirs-dot): Mark unused parameters.
22568 (flymake-safe-delete-directory): Remove unused variable `err'.
22569
22570 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22571 (speedbar-timer-fn, speedbar-line-text)
22572 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22573 (speedbar-center-buffer-smartly): Declare functions.
22574 (gdb-find-watch-expression): Remove unused variable `array'.
22575 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22576 (gdb-starting): Mark unused parameters.
22577 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22578 (gdb-table-string): Remove unused variable `res'.
22579 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22580 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22581 (gdb-display-buffer): Remove unused variable `cur-size'.
22582
22583 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22584 allow lexical-binding compilation.
22585 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22586 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22587 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22588 Mark unused parameters.
22589 (gud-gdb-marker-filter): Remove unused variable `match'.
22590 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22591 lambda expressions and funcall them, instead of using `fset'.
22592
22593 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22594 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22595
22596 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22597 variable `header-beg'; use `let'.
22598
22599 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22600 `restart', `last-sexp' and `at-do'.
22601
22602 * progmodes/js.el (js--debug): Mark unused parameter.
22603 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22604 (js--splice-into-items): Remove unused variable `item'.
22605 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22606
22607 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22608 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22609 (makefile-complete): Remove unused variable `try'.
22610 (makefile-fill-paragraph, makefile-match-function-end):
22611 Mark unused parameters.
22612
22613 * progmodes/octave-inf.el (inferior-octave-complete):
22614 Remove unused variable `proc'.
22615 (inferior-octave-output-digest): Mark unused parameter.
22616
22617 * progmodes/perl-mode.el (perl-calculate-indent):
22618 Remove unused variable `err'.
22619
22620 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22621 (prolog-indent-line): Mark unused parameters.
22622 (prolog-indent-line): Remove unused variable `beg'.
22623
22624 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22625 (reporter-dont-compact-list): Declare.
22626
22627 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22628 Remove unused variable `char'.
22629 (sh-debug): Mark unused parameter.
22630 (sh-get-indent-info): Remove unused variable `start'.
22631 (sh-calculate-indent): Remove unused variable `var'.
22632
22633 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22634 (simula-electric-keyword): Remove unused variable `null'.
22635 (simula-search-backward, simula-search-forward): Remove unused
22636 variables `begin' and `end'.
22637
22638 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22639 Remove unused variable `pos'.
22640 (vera-electric-tab, vera-comment-uncomment-region):
22641 Mark unused parameters.
22642 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22643
22644 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22645
22646 * emacs-lisp/package.el (package--builtins, package-alist)
22647 (package-load-descriptor, package-built-in-p, package-activate)
22648 (define-package, package-installed-p)
22649 (package-compute-transaction, package-buffer-info)
22650 (package--push): Doc fix. Distinguish more clearly between
22651 version strings and version lists.
22652
22653 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22654
22655 Lexical-binding cleanup.
22656
22657 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22658 (5x5-make-mutate-best):
22659 * play/fortune.el (fortune-in-buffer):
22660 * play/gomoku.el (gomoku-init-display):
22661 * play/solitaire.el (solitaire, solitaire-do-check):
22662 * play/tetris.el (tetris-default-update-speed-function):
22663 Mark unused parameters.
22664
22665 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22666 (bubbles--shift): Remove unused variable `char-org'.
22667 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22668 (bubbles--show-images): Remove unused variable `char'.
22669
22670 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22671 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22672 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22673 (decipher-analyze-buffer): Use ?\s.
22674 (decipher-make-checkpoint): Remove unused variable `mapping'.
22675
22676 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22677
22678 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22679 Remove unused variable `result'; use `let'.
22680
22681 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22682 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22683 (gametree-children-shown-p, gametree-compute-reduced-score):
22684 Use `ignore-errors'.
22685
22686 * play/handwrite.el (ps-lpr-switches): Declare.
22687 (handwrite): Remove unused variables `pmin' and `lastp'.
22688
22689 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22690
22691 * play/landmark.el (landmark-init-display)
22692 (landmark-update-naught-weights): Mark unused parameters.
22693 (landmark-y): Remove unused variable `noise'. Simplify.
22694 (landmark-human-plays): Remove unused variable `score'.
22695
22696 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22697 (mpuz-try-proposal): Remove unused variable `game'.
22698
22699 * play/zone.el (life-patterns): Declare.
22700
22701 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22702
22703 * vc/vc.el (ediff-vc-internal): Declare function.
22704
22705 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22706
22707 * shell.el: Use lexical-binding and std completion UI.
22708 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22709 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22710 comint-preoutput-filter-functions rather than on
22711 comint-output-filter-functions.
22712 (shell-command-completion, shell--command-completion-data)
22713 (shell-filename-completion, shell-environment-variable-completion)
22714 (shell-c-a-p-replace-by-expanded-directory): New functions.
22715 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22716 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22717 (shell-dynamic-complete-environment-variable): Use them.
22718 (shell-dynamic-complete-as-environment-variable)
22719 (shell-dynamic-complete-as-command): Remove.
22720 (shell-match-partial-variable): Match past point.
22721 * comint.el: Clean up use of completion-at-point-functions.
22722 (comint-completion-at-point): New function.
22723 (comint-mode): Use it completion-at-point-functions.
22724 (comint-dynamic-complete): Make it obsolete.
22725 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22726 (comint-c-a-p-replace-by-expanded-history): New function.
22727 (comint-dynamic-complete-functions)
22728 (comint-replace-by-expanded-history): Use it.
22729 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22730 termination strings. Try harder to avoid second try-completion.
22731 (completion-in-region-mode-map): Disable bindings that don't work yet.
22732
22733 * comint.el: Use lexical-binding. Require CL.
22734 (comint-dynamic-complete-functions): Use comint-filename-completion.
22735 (comint-completion-addsuffix): Tweak custom type.
22736 (comint-filename-completion, comint--common-suffix)
22737 (comint--common-quoted-suffix, comint--table-subvert)
22738 (comint--complete-file-name-data): New functions.
22739 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22740 (comint-dynamic-list-filename-completions): Use them.
22741 (comint-dynamic-simple-complete): Make obsolete.
22742
22743 * minibuffer.el (completion-in-region-mode):
22744 Keep completion-in-region-mode--predicate global.
22745 (completion-in-region--postch):
22746 Assume completion-in-region-mode--predicate is not null.
22747
22748 * progmodes/flymake.el (flymake-start-syntax-check-process):
22749 Obey `dir'. Simplify.
22750
22751 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22752 we're in VC after all.
22753
22754 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22755
22756 * vc/vc.el (vc-diff-build-argument-list-internal)
22757 (vc-version-ediff, vc-ediff): New commands.
22758 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22759
22760 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22761
22762 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22763 add sanity check.
22764
22765 * obsolete/erc-hecomplete.el: Make obsolete.
22766 * obsolete/: Standardize obsolescence info in the header.
22767
22768 2011-04-20 Glenn Morris <rgm@gnu.org>
22769
22770 * calendar/solar.el (solar-horizontal-coordinates):
22771 Use the longitude argument rather than `calendar-longitude'.
22772 (solar-date-next-longitude): Remove unused locals.
22773
22774 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22775
22776 * whitespace.el: New version 13.2.1.
22777
22778 2011-04-20 felix <EmacsWiki> (tiny change)
22779
22780 * whitespace.el (global-whitespace-mode): Keep highlight when
22781 switching between major modes on a file.
22782
22783 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22784
22785 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22786 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22787 multi-line comments as well.
22788
22789 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22790
22791 Lexical-binding cleanup.
22792
22793 * arc-mode.el (archive-mode-revert):
22794 * cmuscheme.el (scheme-interactively-start-process):
22795 * custom.el (custom-initialize-delay):
22796 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22797 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22798 * emacs-lock.el (emacs-lock-clear-sentinel):
22799 * ezimage.el (defezimage):
22800 * follow.el (follow-avoid-tail-recenter):
22801 * fringe.el (set-fringe-mode-1):
22802 * generic-x.el (bat-generic-mode-compile):
22803 * help-mode.el (help-info-variable, help-do-xref)
22804 (help-mode-revert-buffer):
22805 * help.el (view-emacs-todo):
22806 * iswitchb.el (iswitchb-completion-help):
22807 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22808 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22809 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22810 * locate.el (locate-update):
22811 * longlines.el (longlines-encode-region)
22812 (longlines-after-change-function):
22813 * outline.el (outline-isearch-open-invisible):
22814 * ps-def.el (declare-function, charset-dimension, char-width)
22815 (encode-char):
22816 * ps-mule.el (ps-mule-plot-string):
22817 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22818 (recentf-edit-list-select, recentf-edit-list-validate)
22819 (recentf-open-files-action):
22820 * rect.el (delete-whitespace-rectangle-line)
22821 (rectangle-number-line-callback):
22822 * register.el (window-configuration-to-register)
22823 (frame-configuration-to-register):
22824 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22825 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22826 (xselect-convert-to-targets, xselect-convert-to-delete)
22827 (xselect-convert-to-filename, xselect-convert-to-charpos)
22828 (xselect-convert-to-lineno, xselect-convert-to-colno)
22829 (xselect-convert-to-os, xselect-convert-to-host)
22830 (xselect-convert-to-user, xselect-convert-to-class)
22831 (xselect-convert-to-name, xselect-convert-to-integer)
22832 (xselect-convert-to-atom, xselect-convert-to-identity):
22833 * subr.el (declare, ignore, process-kill-without-query)
22834 (text-clone-maintain):
22835 * terminal.el (te-get-char, te-tic-sentinel):
22836 * tool-bar.el (tool-bar-make-keymap):
22837 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22838 * type-break.el (type-break-mode, type-break-noninteractive-query):
22839 * view.el (View-back-to-mark):
22840 * wid-browse.el (widget-browse-action, widget-browse-widget)
22841 (widget-browse-widgets, widget-browse-sexp):
22842 * widget.el (define-widget-keywords):
22843 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22844 Mark unused parameters.
22845
22846 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22847 (align-areas): Remove unused variable `look'.
22848 (align-region): Remove unused variables `real-end' and `pos-list'.
22849
22850 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22851
22852 * bindings.el (mode-line-modified, mode-line-remote):
22853 Mark unused parameters.
22854 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22855
22856 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22857 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22858
22859 * comint.el (comint-history-isearch-pop-state)
22860 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22861 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22862 (comint-substitute-in-file-name): Doc fix.
22863
22864 * completion.el (cmpl-statistics-block): Mark unused parameter.
22865 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22866 (save-completions-to-file, load-completions-from-file):
22867 Remove unused local variable `e'.
22868
22869 * composite.el (compose-chars): Remove unused variable `len'.
22870 (lgstring-insert-glyph): Remove unused variable `g'.
22871 (compose-glyph-string): Remove unused variables `ascent',
22872 `descent', `lbearing' and `rbearing'.
22873 (compose-glyph-string-relative): Remove unused variables
22874 `lbearing', `rbearing' and `wadjust'.
22875 (compose-gstring-for-graphic): Remove unused variables `header',
22876 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22877 (compose-gstring-for-terminal): Remove unused variables `header'
22878 and `nchars'. Use `let', not `let*'.
22879
22880 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22881 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22882 (Custom-buffer-done, custom-buffer-create-internal)
22883 (custom-browse-visibility-action, custom-browse-group-tag-action)
22884 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22885 (widget-magic-mouse-down-action, custom-toggle-parent)
22886 (custom-add-parent-links, custom-toggle-hide-variable)
22887 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22888 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22889 (custom-face-menu-create, custom-variable-menu-create, get)
22890 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22891 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22892 (customize-apropos): Remove unused variable `tests'.
22893 (custom-group-value-create): Remove unused variable `hidden-p'.
22894 (sort-fold-case): Declare.
22895
22896 * cus-theme.el (custom-reset-standard-faces-list)
22897 (custom-reset-standard-variables-list): Declare.
22898 (customize-create-theme, custom-theme-revert, custom-theme-write)
22899 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22900 Mark unused parameters.
22901
22902 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22903
22904 * delim-col.el (delimit-columns-max): Move defvar before first use.
22905
22906 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22907 (describe-char): Don't quote `lambda'. Mark unused parameter.
22908
22909 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22910 (auto-insert): Declare.
22911 (desktop-restore-file-buffer): Rename desktop-* parameters;
22912 mark unused ones.
22913 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22914 (desktop-buffer): Rename desktop-* parameters.
22915
22916 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22917 (dframe-reposition-frame-xemacs, dframe-help-echo)
22918 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22919 Mark unused parameters.
22920
22921 * dired-aux.el (backup-extract-version-start, overwrite-query)
22922 (overwrite-backup-query, rename-regexp-query)
22923 (rename-non-directory-query): Declare.
22924 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22925 (dired-add-entry): Remove unused variable `orig-file-name'.
22926 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22927 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22928 `dired-copy-preserve-time' directly.
22929 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22930 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22931
22932 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22933 (dired-virtual-revert, dired-make-relative-symlink):
22934 Mark unused parameters.
22935 (manual-program): Declare.
22936 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22937 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22938 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22939
22940 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22941
22942 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22943
22944 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22945 Declare.
22946
22947 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22948
22949 * electric.el (Electric-command-loop): Rename parameter
22950 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22951
22952 * expand.el (expand-in-literal): Remove unused variable `here'.
22953
22954 * facemenu.el (facemenu-add-new-color):
22955 Remove unused variable `docstring'.
22956
22957 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22958 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22959 (face-attr-construct): Mark unused parameter. Doc fix.
22960 (read-color): Remove unused variable `hex-string'.
22961
22962 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22963 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22964 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22965 (display-buffer-other-frame): Remove unused variable `old-window'.
22966 (kill-buffer-hook): Declare.
22967 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22968 Mark unused parameters.
22969 (after-find-file): Pass 1 to `auto-save-mode', not t.
22970
22971 * files-x.el (auto-insert): Declare.
22972 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22973
22974 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22975 variable `buf'. Mark unused parameter.
22976 (find-lisp-insert-directory): Mark unused parameter.
22977
22978 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22979 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22980 (format-common-tail): Remove, unused.
22981 (format-deannotate-region): Remove unused variable `loc'.
22982 (format-annotate-region): Remove unused variable `p'.
22983 (format-annotate-single-property-change): Remove unused variables
22984 `default' and `tail'.
22985
22986 * forms.el (read-file-filter): Declare.
22987 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22988
22989 * frame.el (frame-creation-function-alist): Mark unused parameter.
22990 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22991
22992 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22993 Remove unused parameters.
22994 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22995 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22996
22997 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22998 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22999 (hfy-prepare-tag-map): Mark unused parameters.
23000 (htmlfontify-buffer): Use `called-interactively-p'.
23001
23002 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23003 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23004 (ibuffer-do-occur): Mark unused parameters.
23005 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23006 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23007
23008 * ibuffer.el: Don't quote `lambda'.
23009 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23010 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23011 Mark unused parameters.
23012
23013 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23014 (ido-completing-read): Mark unused parameters.
23015 (ido-copy-current-word): Mark unused parameters;
23016 remove unused variable `name'.
23017 (ido-sort-merged-list): Remove unused parameter `dirs'.
23018
23019 * ielm.el (ielm-input-sender): Mark unused parameter.
23020 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23021 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23022 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23023 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23024 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23025
23026 * image-dired.el (image-dired-display-thumbs): Remove unused
23027 variables `curr-file' and `count'.
23028 (image-dired-remove-tag): Remove unused variable `start'.
23029 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23030 variable `curr-file'
23031 (image-dired-rotate-original): Remove unused variable `temp-file'.
23032 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23033 Remove unused variable `file'.
23034 (image-dired-gallery-generate): Remove unused variable `curr'.
23035 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23036
23037 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23038
23039 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23040
23041 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23042
23043 * isearch.el (minibuffer-history-symbol): Declare.
23044 (isearch-edit-string): Remove unused variable `err'.
23045 (isearch-message-prefix, isearch-message-suffix):
23046 Mark unused parameters.
23047
23048 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23049
23050 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23051
23052 * makesum.el (double-column): Remove unused variable `cnt'.
23053
23054 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23055 (ido-ignore-item-temp-list): Declare.
23056
23057 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23058 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23059 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23060 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23061 `mouse-col-delta'.
23062
23063 * mouse-sel.el (mouse-extend-internal):
23064 Remove unused variable `orig-window-frame'.
23065
23066 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23067 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23068 Move declarations before first use.
23069 (pcomplete-opt): Mark unused parameters; doc fix.
23070
23071 * proced.el (proced-revert): Mark unused parameter.
23072 (proced-send-signal): Remove unused variable `err'.
23073
23074 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23075 Rename parameter PREFIX-ARG to ARG.
23076 (ps-basic-plot-string, ps-basic-plot-whitespace):
23077 Mark unused parameters.
23078
23079 * replace.el (replace-count): Define.
23080 (occur-revert-function): Mark unused parameters.
23081 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23082 (isearch-case-fold-search, isearch-string): Declare.
23083 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23084 bind `case-fold-search'. Remove unused variables `beg' and `end',
23085 and simplify.
23086 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23087 COUNT and bind `replace-count'.
23088 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23089 to COUNT.
23090
23091 * savehist.el (print-readably, print-string-length): Declare.
23092
23093 * shadowfile.el (shadow-expand-cluster-in-file-name):
23094 Remove unused variable `cluster'.
23095 (shadow-copy-file): Remove unused variable `i'.
23096 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23097 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23098 (shadow-define-literal-group, shadow-define-regexp-group)
23099 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23100
23101 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23102 (shell): Use `called-interactively-p'.
23103 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23104
23105 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23106 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23107 (delete-backward-char): Remove unused variable `ocol'.
23108 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23109 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23110 (event-apply-hyper-modifier, event-apply-shift-modifier)
23111 (event-apply-control-modifier, event-apply-meta-modifier):
23112 Mark unused parameters.
23113 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23114 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23115
23116 * speedbar.el (speedbar-ignored-directory-expressions)
23117 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23118 (speedbar-find-file, speedbar-dir-follow)
23119 (speedbar-directory-buttons-follow, speedbar-tag-find)
23120 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23121 (speedbar-buffers-line-directory, speedbar-buffer-click):
23122 Mark unused parameters.
23123 (speedbar-tag-file): Remove unused variable `mode'.
23124 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23125
23126 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23127
23128 * talk.el (talk): Remove unused variable `display'.
23129
23130 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23131 (tar-write-region-annotate): Mark unused parameter.
23132
23133 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23134 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23135 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23136 warning by another.
23137
23138 * time-stamp.el (time-stamp-string-preprocess):
23139 Remove unused variable `require-padding'.
23140
23141 * tree-widget.el (widget-glyph-enable): Declare.
23142 (tree-widget-action): Mark unused parameter.
23143
23144 * w32-fns.el (x-get-selection): Mark unused parameter.
23145 (autoload-make-program, generated-autoload-file): Declare.
23146
23147 * wdired.el (wdired-revert): Mark unused parameters.
23148 (wdired-xcase-word): Remove unused variable `err'.
23149
23150 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23151 (whitespace-help-scroll): Remove unused variable `data-help'.
23152
23153 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23154 (widget-image-insert, widget-after-change, default)
23155 (widget-default-format-handler, widget-default-notify)
23156 (widget-default-prompt-value, widget-info-link-action)
23157 (widget-url-link-action, widget-function-link-action)
23158 (widget-variable-link-action, widget-file-link-action)
23159 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23160 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23161 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23162 (widget-insert-button-action, widget-delete-button-action, visibility)
23163 (widget-documentation-link-action, widget-documentation-string-action)
23164 (widget-const-prompt-value, widget-regexp-match, symbol)
23165 (widget-coding-system-prompt-value)
23166 (widget-key-sequence-value-to-external, sexp)
23167 (widget-sexp-value-to-internal, character, vector, cons)
23168 (widget-choice-prompt-value, widget-boolean-prompt-value)
23169 (widget-color--choose-action): Mark unused parameters.
23170 (widget-item-match-inline, widget-choice-match-inline)
23171 (widget-checklist-match, widget-checklist-match-inline)
23172 (widget-group-match): Rename parameter VALUES to VALS.
23173 (widget-field-value-set): Remove unused variable `size'.
23174 (widget-color-action): Remove unused variables `value' and `start'.
23175
23176 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23177 variable `dir'. Doc fix.
23178 (windmove-find-other-window): Don't pass it.
23179
23180 * window.el (count-windows): Mark unused parameter.
23181 (bw-adjust-window): Remove unused variable `err'.
23182
23183 * woman.el (woman-file-name): Remove unused variable `default'.
23184 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23185 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23186 (global-font-lock-mode): Declare.
23187 (woman-decode-region): Mark unused parameter.
23188 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23189
23190 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23191 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23192 (x-dnd-handle-moz-url): Remove unused variable `title'.
23193 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23194
23195 * xml.el (xml-parse-tag, xml-parse-attlist):
23196 Remove unused variable `pos'.
23197
23198 2011-04-19 Glenn Morris <rgm@gnu.org>
23199
23200 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23201 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23202 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23203 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23204 * calendar/cal-html.el (cal-html-insert-minical):
23205 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23206 (calendar-mark-date-pattern):
23207 Prefix "unused" locals.
23208
23209 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23210 optional argument `style'.
23211
23212 * calendar/appt.el (appt-make-list):
23213 * calendar/cal-china.el (calendar-chinese-date-string):
23214 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23215 (diary-hebrew-yahrzeit):
23216 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23217 * calendar/calendar.el (calendar-generate-window):
23218 * calendar/time-date.el (time-to-days):
23219 Remove unused local variables.
23220
23221 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23222
23223 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23224 glyphless-char-display table.
23225 (tabulated-list-glyphless-char-display): New var.
23226
23227 2011-04-18 Sam Steingold <sds@gnu.org>
23228
23229 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23230 to acknowledgments.
23231
23232 2011-04-17 Glenn Morris <rgm@gnu.org>
23233
23234 * calendar/diary-lib.el (diary-sexp-entry):
23235 * calendar/holidays.el (holiday-sexp):
23236 Set debug-on-error rather than the removed stack-trace-on-error.
23237
23238 2011-04-16 Glenn Morris <rgm@gnu.org>
23239
23240 * progmodes/f90.el: Use lexical-binding.
23241 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23242
23243 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23244
23245 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23246 (mail-mode): Setup mailalias completion here instead.
23247 * mail/mailalias.el: Use lexical-binding.
23248 (pattern, mailalias-done): Declare dynamic.
23249 (mail-completion-at-point-function): New function, from mail-complete.
23250 (mail-complete): Use it.
23251 (mail-completion-expand): New function.
23252 (mail-get-names): Use it.
23253 (mail-directory, mail-directory-process, mail-directory-stream):
23254 Don't use `pattern' for lexically bound arg.
23255
23256 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23257
23258 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23259 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23260 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23261
23262 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23263 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23264 (byte-interactive-p): Define them again, for use when inlining
23265 old code.
23266
23267 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23268
23269 * loadup.el: Use `string-to-number', not `string-to-int'.
23270
23271 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23272
23273 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23274 gud-gdb-complete-command.
23275 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23276 (gud-gdb-completion-at-point): New function.
23277 (gud-gdb-completions): Remove.
23278
23279 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23280
23281 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23282 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23283 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23284 whether `executable-find' is bound.
23285
23286 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23287
23288 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23289
23290 * minibuffer.el (completion-in-region-mode-predicate)
23291 (completion-in-region-mode--predicate): New vars.
23292 (completion-in-region, completion-in-region--postch)
23293 (completion-in-region-mode): Use them.
23294 (completion--capf-wrapper): Also return the hook function.
23295 (completion-at-point, completion-help-at-point):
23296 Adjust and provide a predicate.
23297
23298 Preserve arg names for advice of subr and lexical functions (bug#8457).
23299 * help-fns.el (help-function-arglist): Consolidate the subr and
23300 new-byte-code cases. Add argument `preserve-names' to extract names
23301 from the docstring when needed.
23302 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23303 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23304 (ad-arglist): Use help-function-arglist's new arg.
23305 (ad-definition-type): Use cond.
23306
23307 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23308
23309 * autorevert.el (auto-revert-handler):
23310 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23311 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23312 Don't quote lambda.
23313
23314 * image-mode.el (image-transform-set-scale):
23315 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23316
23317 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23318
23319 * net/network-stream.el (network-stream-open-starttls): Only do
23320 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23321 Upgrades via gnutls-cli are too slow to be done opportunistically.
23322
23323 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23324
23325 * dframe.el (dframe-current-frame): Remove spurious quote.
23326
23327 2011-04-12 Glenn Morris <rgm@gnu.org>
23328
23329 * calendar/cal-tex.el (cal-tex-end-document):
23330 Try to automatically use latin1 input if needed.
23331
23332 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23333 Don't try to cons a mark onto an empty element.
23334
23335 2011-04-11 Leo Liu <sdl.web@gmail.com>
23336
23337 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23338 buffers.
23339 (ido-kill-buffer-at-head): Support killing virtual buffers.
23340
23341 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23342
23343 * minibuffer.el (completion-show-inline-help): New var.
23344 (completion--do-completion, minibuffer-complete)
23345 (minibuffer-force-complete, minibuffer-complete-word):
23346 Inhibit minibuffer messages if completion-show-inline-help is nil.
23347
23348 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23349 to avoid interference from inline help (Bug#5849).
23350
23351 2011-04-10 Leo Liu <sdl.web@gmail.com>
23352
23353 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23354 Fix typo.
23355
23356 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23357
23358 * image-mode.el (image-toggle-display-image): Signal an error if
23359 not in Image mode.
23360 (image-transform-mode, image-transform-resize)
23361 (image-transform-set-rotation): Doc fix.
23362 (image-transform-set-resize): Delete.
23363 (image-transform-set-scale, image-transform-fit-to-height)
23364 (image-transform-fit-to-width): Handle image-toggle-display-image
23365 and image-transform-resize directly.
23366
23367 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23368
23369 * doc-view.el (doc-view-fit-width-to-window)
23370 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23371 New functions for fitting the shown image to the Emacs window size.
23372 (doc-view-mode-map): Add bindings for the new functions.
23373
23374 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23375
23376 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23377 Fix typo in docstring.
23378
23379 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23380
23381 * files.el (file-size-human-readable): Produce one digit after
23382 decimal, like "ls -lh" does.
23383
23384 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23385 the file size representation.
23386
23387 * simple.el (list-processes): If async subprocesses are not
23388 available, error out with a clear error message.
23389
23390 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23391
23392 * help.el (help-form-show): New function, to be called from C.
23393 Put help-form output in a buffer named differently than *Help*.
23394
23395 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23396
23397 * files.el (file-size-human-readable): New function.
23398
23399 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23400 computing the representation inline. Don't require `cl'.
23401
23402 2011-04-08 Glenn Morris <rgm@gnu.org>
23403
23404 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23405
23406 * net/browse-url.el (browse-url-firefox):
23407 Test system-type, not system-configuration.
23408
23409 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23410 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23411 Use log-edit-empty-buffer-p. (Bug#7598)
23412
23413 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23414 (rlogin-mode-map): Initialize in the defvar.
23415 (rlogin): Use ignore-errors.
23416
23417 * replace.el (occur-mode-map): Some fixes for menu items.
23418
23419 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23420
23421 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23422
23423 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23424
23425 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23426 issuing unused warnings.
23427
23428 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23429 macro directly.
23430
23431 * simple.el: Lisp reimplement of list-processes. Based on an
23432 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23433 (process-menu-mode): New major mode.
23434 (list-processes--refresh, list-processes):
23435 (process-menu-visit-buffer): New functions.
23436
23437 * files.el (save-buffers-kill-emacs): Don't assume any return
23438 value of list-processes, which is undocumented anyway.
23439
23440 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23441
23442 * emacs-lisp/tabulated-list.el: New file.
23443
23444 * emacs-lisp/package.el: Use Tabulated List mode.
23445 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23446 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23447 table format using Tabulated List mode variables.
23448 (package--push): New macro, replacing package-list-maybe-add.
23449 (package-menu--generate): Use package--push. Renamed from
23450 package--generate-package-list.
23451 (package-menu-refresh, list-packages): Use it.
23452 (package-menu--print-info): Rename from package-print-package.
23453 Return insertion data instead of inserting it directly.
23454 (package-menu-describe-package, package-menu-execute):
23455 Use tabulated-list-get-id.
23456 (package-menu-mark-delete, package-menu-mark-install)
23457 (package-menu-mark-unmark, package-menu-backup-unmark)
23458 (package-menu-mark-obsolete-for-deletion):
23459 Use tabulated-list-put-tag.
23460 (package--list-packages, package-menu-revert)
23461 (package-menu-get-package, package-menu-get-version)
23462 (package-menu-sort-by-column): Functions deleted.
23463 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23464 (package-menu--status-predicate, package-menu--version-predicate)
23465 (package-menu--name-predicate)
23466 (package-menu--description-predicate): Handle arguments in the
23467 Tabulated List format.
23468 (package-list-packages-no-fetch): Call list-packages.
23469
23470 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23471
23472 * files.el (after-find-file-from-revert-buffer): Remove variable.
23473 (after-find-file): Don't bind it.
23474 (revert-buffer-in-progress-p): New variable.
23475 (revert-buffer): Bind it.
23476 Pass nil for `after-find-file-from-revert-buffer'.
23477
23478 * saveplace.el (save-place-find-file-hook): Use new variable
23479 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23480
23481 2011-04-06 Glenn Morris <rgm@gnu.org>
23482
23483 * Makefile.in (AUTOGEN_VCS): New variable.
23484 (autoloads): Use $AUTOGEN_VCS.
23485
23486 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23487 * calendar/calendar.el (calendar-mode-map):
23488 Check for toolkit scroll bars. (Bug#8305)
23489
23490 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23491
23492 * minibuffer.el (completion-in-region--postch)
23493 (completion-in-region-mode): Remove unnecessary messages.
23494
23495 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23496
23497 * font-lock.el (font-lock-refresh-defaults):
23498 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23499 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23500
23501 * info.el (Info-directory-list, Info-read-node-name-2)
23502 (Info-split-parameter-string): Doc fixes.
23503 (Info-virtual-nodes): Reflow docstring.
23504 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23505 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23506 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23507 Fix typos in docstrings.
23508 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23509 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23510 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23511 (Info-restore-desktop-buffer): Mark unused parameters.
23512 (Info-directory-find-file, Info-directory-find-node)
23513 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23514 (Info-virtual-index-find-node, Info-apropos-find-file)
23515 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23516 Mark unused parameters; fix typos in docstrings.
23517 (Info-virtual-index): Remove unused local variable `nodename'.
23518
23519 2011-04-05 Deniz Dogan <deniz@dogan.se>
23520
23521 * net/rcirc.el: Update my e-mail address.
23522 (rcirc-mode-map): Remove M-o binding.
23523
23524 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23525
23526 * startup.el (command-line): Save the cursor's theme-face
23527 directly, instead of using face-override-spec.
23528
23529 * custom.el (load-theme): Minor optimization in assigning faces.
23530
23531 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23532
23533 * help-fns.el (describe-variable): Complete all variables having
23534 documentation, including keywords.
23535 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23536
23537 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23538
23539 Convert to lexical-binding.
23540
23541 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23542 (bs--get-marked-string, bs--get-modified-string)
23543 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23544 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23545 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23546
23547 * ehelp.el (electric-help-execute-extended)
23548 (electric-help-ctrl-x-prefix):
23549 * hexl.el (hexl-revert-buffer-function):
23550 * linum.el (linum-after-change, linum-after-scroll):
23551 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23552
23553 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23554
23555 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23556
23557 * epa-dired.el:
23558 * epa-mail.el:
23559 * epa-hook.el:
23560 * epa-file.el:
23561 * epa.el:
23562 * epg.el: Use lexical binding.
23563
23564 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23565
23566 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23567
23568 * textmodes/flyspell.el (flyspell-word): Recognize default
23569 dictionary case for flyspell-mark-duplications-exceptions.
23570 Use regexp matching for languages.
23571 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23572 default dictionary (Bug#7926).
23573
23574 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23575
23576 * emacs-lisp/package.el (package--with-work-buffer):
23577 Recognize https URLs.
23578
23579 * net/network-stream.el: Move from gnus/proto-stream.el.
23580 Change prefix to network-stream throughout.
23581 (open-protocol-stream): Merge into open-network-stream, leaving
23582 open-protocol-stream as an alias. Handle nil BUFFER args.
23583
23584 * subr.el (open-network-stream): Move to net/network-stream.el.
23585
23586 2011-04-02 Glenn Morris <rgm@gnu.org>
23587
23588 * find-dired.el (find-exec-terminator): New option.
23589 (find-ls-option): Test for -ls support.
23590 (find-ls-subdir-switches): Test for -b in find-ls-option.
23591 (find-dired, find-grep-dired): Doc fixes.
23592 (find-dired): Use find-exec-terminator.
23593
23594 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23595 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23596 (find-name-arg): Remove purecopy.
23597
23598 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23599 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23600 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23601 accordingly. Don't add the null-device if not needed.
23602
23603 * files.el (save-some-buffers): Doc fix.
23604
23605 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23606
23607 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23608
23609 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23610
23611 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23612 Use `dolist' rather than `mapcar'.
23613
23614 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23615
23616 Add lexical binding.
23617
23618 * subr.el (apply-partially): Use new closures rather than CL.
23619 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23620 (dolist, dotimes): Use slightly different expansion for lexical code.
23621 (functionp): Move to C.
23622 (letrec): New macro.
23623 (with-wrapper-hook): Use it and apply-partially instead of CL.
23624 (eval-after-load): Preserve lexical-binding.
23625 (save-window-excursion, with-output-to-temp-buffer): Turn them
23626 into macros.
23627
23628 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23629
23630 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23631 than the arglist.
23632 (help-add-fundoc-usage): Don't add `Not documented'.
23633 (help-function-arglist): Handle closures, subroutines, and new
23634 byte-code-functions.
23635 (help-make-usage): Remove leading underscores.
23636 (describe-function-1): Handle closures.
23637 (describe-variable): Use special-variable-p for completion.
23638
23639 * files.el (lexical-binding): Declare safe.
23640
23641 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23642 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23643 (pcase): Add `let' pattern.
23644 Change memoization so it actually works.
23645 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23646 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23647 <let>: New case.
23648
23649 * emacs-lisp/macroexp.el: Use lexical binding.
23650 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23651 Don't convert ' to #' without checking that it's indeed quoting
23652 a lambda.
23653
23654 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23655 Use eval-sexp-add-defvars.
23656 (eval-sexp-add-defvars): New fun.
23657
23658 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23659
23660 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23661 Don't autoload.
23662 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23663 than the internal `byte-compile-lambda'.
23664 (defmethod): Don't hide code under quotes.
23665 (eieio-defmethod): New `code' argument.
23666
23667 * emacs-lisp/eieio-comp.el: Remove.
23668
23669 * emacs-lisp/edebug.el (edebug-eval-defun)
23670 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23671 (edebug-toggle): Avoid `eval'.
23672
23673 * emacs-lisp/disass.el (disassemble-internal): Handle new
23674 `closure' objects.
23675 (disassemble-1): Handle new byte codes.
23676
23677 * emacs-lisp/cl.el (pushnew): Silence warning.
23678
23679 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23680 (cl-byte-compile-throw): Remove.
23681 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23682
23683 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23684 closures.
23685
23686 * emacs-lisp/cconv.el: New file.
23687
23688 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23689 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23690 (byte-compile-initial-macro-environment):
23691 Handle declare-function here.
23692 (byte-compile--lexical-environment): New var.
23693 (byte-stack-ref, byte-stack-set, byte-discardN)
23694 (byte-discardN-preserve-tos): New lap codes.
23695 (byte-interactive-p): Don't use any more.
23696 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23697 New macros.
23698 (byte-compile-lapcode): Use them and handle new lap codes.
23699 (byte-compile-obsolete): Remove.
23700 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23701 (byte-compile-arglist-warn): Check late def of inlinable funs.
23702 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23703 since they should have been expanded by now.
23704 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23705 (byte-compile-from-buffer): Remove unused second arg.
23706 (byte-compile-preprocess): New function.
23707 (byte-compile-toplevel-file-form): New function to distinguish
23708 file-form calls from outside from file-form calls from hunk-handlers.
23709 (byte-compile-file-form): Simplify.
23710 (byte-compile-file-form-defsubst): Remove.
23711 (byte-compile-file-form-defmumble): Simplify now that
23712 byte-compile-lambda always returns a byte-code-function.
23713 (byte-compile): Preprocess.
23714 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23715 Remove, not used any more.
23716 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23717 (byte-compile-make-args-desc): New funs.
23718 (byte-compile-lambda): Handle lexical functions. Always return
23719 a byte-code-function.
23720 (byte-compile-reserved-constants): New var, to make up room for
23721 closed-over variables.
23722 (byte-compile-constants-vector): Obey it.
23723 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23724 (byte-compile-macroexpand-declare-function): New function.
23725 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23726 byte-code-functions.
23727 (byte-compile-form): Check obsolescence here.
23728 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23729 (byte-compile-variable-ref): Remove.
23730 (byte-compile-dynamic-variable-op): New fun.
23731 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23732 (byte-compile-variable-set): New funs.
23733 (byte-compile-discard): Add 2 args.
23734 (byte-compile-stack-ref, byte-compile-stack-set)
23735 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23736 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23737 macroexpand-all instead.
23738 (byte-compile-quote-form): Remove.
23739 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23740 (byte-compile-bind, byte-compile-unbind): New funs.
23741 (byte-compile-let): Handle let* and lexical binding.
23742 (byte-compile-let*): Remove.
23743 (byte-compile-catch, byte-compile-unwind-protect)
23744 (byte-compile-track-mouse, byte-compile-condition-case):
23745 Handle a new :fun-body form, used for lexical scoping.
23746 (byte-compile-save-window-excursion)
23747 (byte-compile-with-output-to-temp-buffer): Remove.
23748 (byte-compile-defun): Simplify.
23749 (byte-compile-stack-adjustment): New fun.
23750 (byte-compile-out): Use it.
23751 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23752
23753 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23754 handler any more.
23755
23756 * emacs-lisp/byte-opt.el: Use lexical binding.
23757 (byte-inline-lapcode): Remove (to bytecomp).
23758 (byte-compile-inline-expand): Pay attention to inlining to/from
23759 lexically bound code.
23760 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23761 any more.
23762 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23763 any more and don't call compiler-macros.
23764 (byte-compile-splice-in-already-compiled-code): Remove.
23765 (byte-code): Don't inline any more.
23766 (disassemble-offset): Receive `bytes' as argument rather than via
23767 dynamic scoping.
23768 (byte-compile-tag-number): Declare before first use.
23769 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23770 `return' even if make-spliceable.
23771 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23772 obsolete interactive-p.
23773 (byte-optimize-lapcode): Optimize new lap-codes.
23774 Don't trip up on new form of `byte-constant' lap code.
23775
23776 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23777
23778 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23779
23780 * custom.el (custom-initialize-default, custom-declare-variable):
23781 Use `defvar'.
23782
23783 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23784 New variables.
23785 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23786 (COMPILE_FIRST): Add macroexp and cconv.
23787 * makefile.w32-in: Mirror changes in Makefile.in.
23788
23789 * vc/cvs-status.el:
23790 * vc/diff-mode.el:
23791 * vc/log-edit.el:
23792 * vc/log-view.el:
23793 * vc/smerge-mode.el:
23794 * textmodes/bibtex-style.el:
23795 * textmodes/css-mode.el:
23796 * startup.el:
23797 * uniquify.el:
23798 * minibuffer.el:
23799 * newcomment.el:
23800 * reveal.el:
23801 * server.el:
23802 * mpc.el:
23803 * emacs-lisp/smie.el:
23804 * doc-view.el:
23805 * dired.el:
23806 * abbrev.el: Use lexical binding.
23807
23808 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23809
23810 * info.el (info-display-manual): New function.
23811
23812 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23813
23814 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23815
23816 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23817
23818 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23819 an entry for that server in rcirc-authinfo. (Bug#8385)
23820
23821 2011-03-31 Glenn Morris <rgm@gnu.org>
23822
23823 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23824
23825 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23826
23827 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23828
23829 * progmodes/python.el (python-default-interpreter)
23830 (python-python-command-args, python-jython-command-args)
23831 (python-which-shell, python-which-args, python-which-bufname)
23832 (python-file-queue, python-comint-output-filter-function)
23833 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23834 variables and functions.
23835
23836 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23837
23838 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23839 (completion-in-region-mode): New minor mode.
23840 (completion-in-region): Use it.
23841 (completion-in-region--data, completion-in-region-mode-map): New vars.
23842 (completion-in-region--postch): New function.
23843 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23844 New vars.
23845 (completion--capf-wrapper): New function.
23846 (completion-at-point): Use it to track well-behavedness of
23847 hook functions.
23848 (completion-help-at-point): New command.
23849
23850 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23851
23852 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23853 syntax class to search for whitespace on a single line
23854 (Message-ID: <4D938140.4030905@redhat.com>).
23855
23856 2011-03-30 Leo Liu <sdl.web@gmail.com>
23857
23858 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23859 New commands.
23860 (edit-abbrevs-map): Bind them here.
23861 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23862
23863 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23864
23865 * allout.el (allout-hide-by-annotation, allout-flag-region):
23866 Reduce possibility of overlay leakage by making them volatile.
23867
23868 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23869 hash is not shared between buffers. Mode initialization is
23870 responsible for giving it a useful starting value.
23871 (allout-item-span): Reduce possibility of overlay leakage by
23872 making them volatile.
23873 (allout-widgets-count-buttons-in-region): Add diagnostic function
23874 for tracking down button overlay leaks.
23875
23876 2011-03-29 Leo Liu <sdl.web@gmail.com>
23877
23878 * ido.el (ido-read-internal): Use the default history var
23879 minibuffer-history if no HISTORY is specified.
23880
23881 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23882
23883 * net/imap.el (imap-shell-open, imap-process-connection-type):
23884 Use imap-process-connection-type for 'shell' streams as well as
23885 Kerberos, SSL, other subprocesses.
23886
23887 2011-03-28 Leo Liu <sdl.web@gmail.com>
23888
23889 * abbrev.el (abbrev-table-empty-p): New function.
23890 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23891 nonempty ones. (Bug#5937)
23892
23893 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23894
23895 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23896
23897 2011-03-27 Leo Liu <sdl.web@gmail.com>
23898
23899 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23900 for foreground and background colors.
23901 (ansi-color-make-color-map): Adapt.
23902
23903 2011-03-25 Leo Liu <sdl.web@gmail.com>
23904
23905 * midnight.el (midnight-time-float): Remove. Note it calculates
23906 the microsecond component incorrectly and seconds-to-time does the
23907 same job.
23908 Remove redundant (require 'timer).
23909
23910 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23911 (ido-completions): Remove unused arguments. (Bug#8329)
23912
23913 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23914
23915 * minibuffer.el (completion--flush-all-sorted-completions):
23916 Remove itself from hook.
23917 (completion-at-point): Let the functions perform the completion
23918 immediately and return nil or t.
23919 * comint.el (comint-dynamic-complete-functions): Now identical to
23920 completion-at-point-functions.
23921 (comint-dynamic-list-input-ring): Remove unused var `index'.
23922 (comint--match-partial-filename, comint--unquote&expand-filename):
23923 New funs, split from comint-match-partial-filename.
23924 (comint-dynamic-complete): Use completion-at-point.
23925 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23926
23927 2011-03-24 Drew Adams <drew.adams@oracle.com>
23928
23929 * thingatpt.el: Support `defun'.
23930
23931 2011-03-23 Leo Liu <sdl.web@gmail.com>
23932
23933 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23934
23935 * help-mode.el (help-mode-finish): Tweak regexp.
23936
23937 2011-03-23 Glenn Morris <rgm@gnu.org>
23938
23939 * eshell/esh-opt.el (eshell-eval-using-options):
23940 Do not bind unused local variable `eshell-option-stub'.
23941
23942 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23943
23944 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23945
23946 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23947 keymap variable in `with-no-warnings' to avoid a warning when the
23948 keymap has been already `defconst'ed.
23949
23950 2011-03-22 Leo Liu <sdl.web@gmail.com>
23951
23952 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23953 encode all chars in abbrevs; otherwise use emacs-mule or
23954 utf-8-emacs. (Bug#8308)
23955
23956 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23957
23958 * simple.el (backward-delete-char-untabify):
23959 Avoid warning about using `delete-backward-char'.
23960
23961 * image.el (image-type-file-name-regexps): Make it variable.
23962 `imagemagick-register-types' modifies it, and the user may want
23963 to add new extensions for known image types.
23964 (imagemagick-register-types): Throw error if not using ImageMagick.
23965
23966 2011-03-22 Leo Liu <sdl.web@gmail.com>
23967
23968 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23969 located before rcirc-prompt-end-marker.
23970 (rcirc-complete): Error if point is not after rcirc prompt.
23971 Handle the case when table is nil.
23972 (rcirc-user-authenticated): Define to fix compiler warning.
23973
23974 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23975
23976 * custom.el (custom--inhibit-theme-enable): Make it affect only
23977 custom-theme-set-variables and custom-theme-set-faces.
23978 (provide-theme): Ignore custom--inhibit-theme-enable.
23979 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23980 (custom-enabling-themes): Delete variable.
23981 (enable-theme): Accept only loaded themes as arguments.
23982 Ignore the special custom-enabled-themes variable.
23983 (custom-enabled-themes): Forbid themes from setting this.
23984 Eliminate use of custom-enabling-themes.
23985 (custom-push-theme): Quote "changed" custom var entry.
23986
23987 2011-03-21 Leo Liu <sdl.web@gmail.com>
23988
23989 * ido.el (ido-read-internal): Add ido-selected to history instead
23990 of user input.
23991
23992 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23993
23994 * subr.el (deferred-action-list, deferred-action-function):
23995 Mark obsolete.
23996
23997 2011-03-21 Leo Liu <sdl.web@gmail.com>
23998
23999 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24000 change on 2011-02-13 (bug#8309).
24001
24002 * minibuffer.el (read-file-name-function): Change default value.
24003 (read-file-name--defaults): Rename from read-file-name-defaults.
24004 (read-file-name-default): Rename from read-file-name.
24005 (read-file-name): Call read-file-name-function.
24006
24007 2011-03-21 Glenn Morris <rgm@gnu.org>
24008
24009 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24010 Doc fixes.
24011
24012 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24013
24014 * cus-theme.el: Add missing provide statement.
24015 (customize-create-theme): Extract theme value correctly.
24016 (custom-theme-visit-theme): Autoload.
24017 (customize-create-theme): Prompt before inserting default faces.
24018
24019 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24020
24021 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24022 units and musical notes.
24023
24024 2011-03-20 Leo Liu <sdl.web@gmail.com>
24025
24026 * ido.el (ido-read-internal): Use completing-read-default.
24027 (ido-completing-read): Fix compatibility with completing-read.
24028
24029 2011-03-20 Christian Ohler <ohler@gnu.org>
24030
24031 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24032 (ert-delete-all-tests): Use `called-interactively-p' rather than
24033 `interactive-p'.
24034 (ert--make-xrefs-region): Respect END.
24035
24036 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24037
24038 * dired-aux.el (dired-create-directory): Signal an error if the
24039 directory already exists (Bug#8246).
24040
24041 * facemenu.el (list-colors-display): Call list-faces-display
24042 inside with-help-window.
24043 (list-colors-print): Use display property to align the final
24044 column, instead of checking window-width.
24045
24046 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24047
24048 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24049 windows-nt systems.
24050 (emerge-protect-metachars): Quote correctly for ms-dos and
24051 windows-nt systems.
24052
24053 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24054
24055 * info.el (info-initialize): Replace all uses of `:' with
24056 path-separator for compatibility with non-Unix systems.
24057 Cache quoting of path-separator. (Bug#8258)
24058
24059 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24060
24061 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24062 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24063 (mouse-avoidance-mode): Fix typos in docstrings.
24064
24065 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24066
24067 * startup.el (package-subdirectory-regexp): Move from package.el.
24068 Omit \\` and \\', and let callers add them.
24069
24070 * emacs-lisp/package.el (package-strip-version)
24071 (package-load-all-descriptors): Add \\` and \\' to
24072 package-subdirectory-regexp before using it.
24073 (package-untar-buffer): New arg DIR; ensure that file untars only
24074 into this expected directory. Remove superfluous delete-region.
24075 (package-unpack): Caller changed.
24076 (package-tar-file-info): Use package-subdirectory-regexp.
24077
24078 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24079
24080 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24081 diff-mode-shared-map (bug#8284).
24082 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24083
24084 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24085
24086 * calendar/time-date.el (format-seconds): Use assoc instead of
24087 assoc-string, since assoc-string doesn't exist in XEmacs.
24088
24089 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24090
24091 * custom.el (custom-known-themes): Reflow docstring.
24092 (custom-theme-load-path): Fix typo in docstring.
24093 (load-theme): Fix typo in error message.
24094 (custom-available-themes, custom-variable-theme-value):
24095 Use `let', not `let*'.
24096
24097 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24098
24099 * calc/README: Mention inclusion of musical notes.
24100
24101 * calc/calc-units.el (calc-lu-quant): Rename from
24102 `calc-logunits-quantity'.
24103 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24104 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24105 (calc-db): Rename from `calc-dblevel'.
24106 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24107 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24108 (calc-np): Rename from `calc-nplevel'.
24109 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24110 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24111 (calc-lu-plus): Rename from `calc-logunits-add'.
24112 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24113 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24114 (calc-lu-minus): Rename from `calc-logunits-sub'.
24115 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24116 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24117 (calc-lu-times): Rename from `calc-logunits-mul'.
24118 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24119 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24120 (calc-lu-divide): Rename from `calc-logunits-div'.
24121 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24122 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24123
24124 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24125 functions being autoloaded.
24126
24127 * calc/calc.el (calc-lu-power-reference): Rename from
24128 `calc-logunits-power-reference'.
24129 (calc-lu-field-reference): Rename from
24130 `calc-logunits-field-reference'.
24131
24132 * calc/calc-help.el (calc-l-prefix-help):
24133 Mention musical note functions.
24134
24135 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24136
24137 * minibuffer.el (completion-all-sorted-completions):
24138 Use :completion-cycle-penalty text property if present.
24139
24140 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24141
24142 * allout.el (allout-yank-processing): Adjust for new rebulleting
24143 regime so bullet being yanked is used without prompting the user
24144 for a choice.
24145
24146 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24147
24148 * startup.el (command-line): Warn the user that _emacs is deprecated.
24149
24150 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24151
24152 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24153 (delphi-verbose, delphi-comment-face, delphi-string-face)
24154 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24155 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24156 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24157 (delphi-new-comment-line, delphi-font-lock-defaults)
24158 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24159 Fix typos in docstrings.
24160
24161 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24162
24163 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24164 Invert the roles of character and string values for INSTEAD, so a
24165 string is used for the more common case of a defaulting prompt.
24166
24167 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24168
24169 * progmodes/ruby-mode.el (ruby-backward-sexp):
24170 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24171 * play/gamegrid.el (gamegrid-make-face):
24172 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24173 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24174 * notifications.el (notifications-notify):
24175 * net/xesam.el (xesam-search-engines):
24176 * net/quickurl.el (quickurl-list-insert):
24177 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24178
24179 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24180
24181 * startup.el (command-line): Update package subdirectory regexp.
24182
24183 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24184
24185 * allout.el (allout-abbreviate-flattened-numbering)
24186 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24187
24188 * subr.el (read-char-choice): Only show the cursor after the prompt,
24189 not after the answer.
24190
24191 2011-03-15 Kevin Ryde <user42@zip.com.au>
24192
24193 * help-fns.el (variable-at-point): Skip leading quotes, if any
24194 (bug#8253).
24195
24196 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24197
24198 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24199 warning message.
24200
24201 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24202
24203 * shell.el (shell): When called interactively, offer to change the
24204 shell file name on remote hosts.
24205
24206 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24207
24208 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24209 integration for LDAP parameters. The host, base, user or binddn,
24210 and secret tokens can be specified in a netrc file, for instance.
24211 This is optional because an `auth-source' parameter must be
24212 specified in the search attributes.
24213
24214 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24215
24216 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24217
24218 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24219
24220 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24221 into declaration. Remove redundant and harmful binding.
24222
24223 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24224
24225 * files.el (file-ownership-preserved-p): Pass `integer' as an
24226 explicit 2nd argument to `file-attributes'. If the file's owner
24227 is the Administrators group on Windows, and the current user is
24228 Administrator, consider that a match.
24229
24230 * server.el (server-ensure-safe-dir): Consider server directory
24231 safe on MS-Windows if its owner is the Administrators group while
24232 the current Emacs user is Administrator. Use `=' to compare
24233 numerical UIDs, since they could be integers or floats.
24234
24235 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24236
24237 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24238
24239 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24240
24241 Sync with Tramp 2.2.1.
24242
24243 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24244
24245 * net/trampver.el: Update release number.
24246
24247 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24248
24249 * progmodes/compile.el (compilation--previous-directory): Fix up
24250 various nil/dead-marker mismatches (bug#8014).
24251 (compilation-directory-properties, compilation-error-properties):
24252 Don't call it at a position past the one we're about to change.
24253
24254 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24255 Disable obsolescence warnings in the file that declares it.
24256
24257 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24258
24259 * allout-widgets.el (allout-widgets-tally):
24260 Initialize allout-widgets-tally as a hash table rather than nil to
24261 prevent mode-line redisplay warnings. Also, clarify the module
24262 description and fix a comment typo.
24263
24264 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24265
24266 * help-fns.el (describe-variable): Don't complete keywords.
24267 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24268
24269 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24270
24271 * emacs-lisp/package.el (package-version-join): Impose a standard
24272 string representation for pre/alpha/beta version lists.
24273 (package-unpack-single): Standardize the directory name by passing
24274 it through package-version-join.
24275 (package-strip-rcs-id): Accept any version string that does not
24276 signal an error in version-to-list.
24277
24278 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24279
24280 * simple.el (delete-trailing-whitespace): Return nil for the
24281 benefit of `write-file-functions'.
24282
24283 2011-03-10 Glenn Morris <rgm@gnu.org>
24284
24285 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24286
24287 * vc/vc-git.el (vc-git-program): New option.
24288 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24289 (vc-git--call): Use it.
24290
24291 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24292
24293 * cus-edit.el (Custom-newline): If no button at point, look
24294 for a subgroup button at start-of-line. (Bug#2298)
24295
24296 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24297
24298 2011-03-10 Julien Danjou <julien@danjou.info>
24299
24300 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24301 `cursor-type' is nil.
24302
24303 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24304
24305 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24306
24307 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24308
24309 * allout.el: Change so yank of distinctive-bullet items
24310 preserves the existing header prefix, rebulleting it if necessary,
24311 rather than replacing it. This is necessary for proper operation
24312 of cooperative addons like allout-widgets.
24313 (allout-make-topic-prefix, allout-rebullet-heading):
24314 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24315 value as alternate bullet to be used, instead of prompting the user
24316 for a bullet character.
24317
24318 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24319
24320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24321 Do not use `tramp-file-name-port', because this returns also
24322 `tramp-default-port'.
24323
24324 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24325
24326 * net/rcirc.el (rcirc-handler-001): Remove useless
24327 with-rcirc-process-buffer.
24328 (rcirc-check-auth-status): Swap arguments to string-match.
24329
24330 2011-03-09 Glenn Morris <rgm@gnu.org>
24331
24332 * shell.el (shell-mode):
24333 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24334
24335 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24336 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24337
24338 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24339
24340 * emacs-lisp/package.el (package-refresh-contents)
24341 (package-menu-execute): Use condition-case-no-debug.
24342
24343 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24344
24345 * simple.el (shell-command-to-string): Use `process-file'.
24346
24347 * emacs-lisp/package.el (package-tar-file-info): Handle also
24348 remote files.
24349
24350 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24351 Use `equal' for upload base check.
24352
24353 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24354
24355 * textmodes/texinfo.el (texinfo-environments):
24356 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24357
24358 2011-03-08 Glenn Morris <rgm@gnu.org>
24359
24360 * cus-start.el (cursor-in-non-selected-windows):
24361 Fix :set quoting oddness. (Bug#8192)
24362
24363 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24364 in some setf expressions. (Bug#2159)
24365
24366 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24367
24368 * custom.el (custom-available-themes): Return themes in
24369 alphabetical order.
24370
24371 See ChangeLog.15 for earlier changes.
24372
24373 ;; Local Variables:
24374 ;; coding: utf-8
24375 ;; End:
24376
24377 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24378
24379 This file is part of GNU Emacs.
24380
24381 GNU Emacs is free software: you can redistribute it and/or modify
24382 it under the terms of the GNU General Public License as published by
24383 the Free Software Foundation, either version 3 of the License, or
24384 (at your option) any later version.
24385
24386 GNU Emacs is distributed in the hope that it will be useful,
24387 but WITHOUT ANY WARRANTY; without even the implied warranty of
24388 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24389 GNU General Public License for more details.
24390
24391 You should have received a copy of the GNU General Public License
24392 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.