]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Tweaks to Customize interface. Set custom-reset-button-menu to t.
[gnu-emacs] / lisp / ChangeLog
1 2012-04-22 Chong Yidong <cyd@gnu.org>
2
3 * cus-edit.el (custom-commands, custom-reset-menu)
4 (Custom-reset-standard): Tweak labels.
5 (custom-reset-button-menu): Change default to t.
6 (custom-buffer-create-internal): For the custom-reset-button-menu
7 case, put the revert button first.
8 (custom-group-subtitle): New face.
9 (custom-group-value-create): Align docstring to a specific column.
10
11 * wid-edit.el (widget-documentation-link-add): Don't handle
12 indentation in this function.
13 (widget-documentation-string-indent-to): New function.
14 (widget-documentation-string-value-create): Use it.
15
16 * autorevert.el (auto-revert):
17 * epg-config.el (epg):
18 * ibuffer.el (ibuffer):
19 * mpc.el (mpc):
20 * ses.el (ses):
21 * eshell/eshell.el (eshell):
22 * net/ange-ftp.el (ange-ftp):
23 * progmodes/ebnf2ps.el (postscript):
24 * progmodes/flymake.el (flymake):
25 * progmodes/prolog.el (prolog):
26 * progmodes/verilog-mode.el (verilog-mode):
27 * progmodes/which-func.el (which-func):
28 * term/xterm.el (xterm):
29 * textmodes/picture.el (picture):
30 * textmodes/tildify.el (tildify):
31 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
32 customization buffers.
33
34 2012-04-22 Alan Mackenzie <acm@muc.de>
35
36 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
37 Adding a ) can hide the resulting (..) from searches. Fix it.
38 Bound the backward search to the position of the existing (.
39
40 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
41
42 * progmodes/verilog-mode.el (verilog-mode): Check whether
43 which-func-modes is t before adding verilog-mode.
44 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
45
46 2012-04-21 Leo Liu <sdl.web@gmail.com>
47
48 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
49
50 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
51
52 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
53 filling of the last column of a table (Bug#5635).
54 (woman-find-next-control-line): New arg, specifying an additional
55 regexp component for the control line.
56 (woman2-roff-buffer): Use it.
57 (woman-break-table): New function.
58 (woman2-TS): Use it.
59
60 2012-04-21 Chong Yidong <cyd@gnu.org>
61
62 * woman.el (woman-set-buffer-display-table, woman-decode-region)
63 (woman-horizontal-escapes, woman-negative-vertical-space)
64 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
65 (WoMan-warn-ignored): Use ?\s instead of ?\ .
66
67 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * minibuffer.el (completion-file-name-table): Complete user names.
70
71 2012-04-20 Leo Liu <sdl.web@gmail.com>
72
73 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
74 and pcase-let*.
75
76 2012-04-20 Chong Yidong <cyd@gnu.org>
77
78 * server.el (server-execute): Respect initial-buffer-choice if it
79 is a string and there are no files to open (Bug#2825).
80 (server-create-window-system-frame, server-create-tty-frame):
81 Don't switch buffers here.
82 (server-process-filter): Only try to open a window system frame if
83 compiled with graphical support (Bug#8314).
84
85 2012-04-20 Dan Nicolaescu <dann@gnu.org>
86
87 * battery.el (battery-echo-area-format): Display remaining time
88 for sysfs backend too (Bug#11269).
89 (battery-linux-sysfs): Fix conditional for the charge.
90
91 2012-04-20 Chong Yidong <cyd@gnu.org>
92
93 * progmodes/gdb-mi.el (gdb): Revert previous change.
94 (gdb-inferior-io--init-proc): New function.
95 (gdb-init-1): Use it.
96 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
97 responsible for allocating a new pty and hooking it to gdb when
98 the old pty gets an EIO due to process exit.
99 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
100 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
101 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
102
103 2012-04-20 Eli Zaretskii <eliz@gnu.org>
104
105 * window.el (window-min-size, window-sizable, window-min-delta)
106 (window-max-delta, window--resizable, window-resizable)
107 (window-total-size, window-full-height-p, window-full-width-p)
108 (window-in-direction, window--resize-mini-window, window-resize)
109 (window--resize-child-windows-normal)
110 (window--resize-child-windows, window--resize-siblings)
111 (window--resize-this-window, adjust-window-trailing-edge)
112 (enlarge-window, shrink-window): Doc fixes.
113
114 2012-04-20 Chong Yidong <cyd@gnu.org>
115
116 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
117 function to call delete-process on the gdb-inferior buffer's pty.
118 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
119 pty process (Bug#11273).
120 (gdb-update): New arg to suppress talking to the gdb process.
121 (gdb-done-or-error): Use it.
122 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
123 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
124 sentinel not being called.
125
126 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
127
128 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
129
130 2012-04-20 Glenn Morris <rgm@gnu.org>
131
132 * net/network-stream.el (open-network-stream): Doc fix.
133
134 2012-04-20 Chong Yidong <cyd@gnu.org>
135
136 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
137
138 2012-04-20 Alan Mackenzie <acm@muc.de>
139
140 Ensure searching for keywords is case sensitive.
141
142 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
143 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
144 (c-defun-name, c-mark-function, c-cpp-define-name)
145 (c-comment-indent, c-scan-conditionals, c-indent-defun)
146 (c-context-line-break): Bind case-fold-search to nil.
147
148 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
149 case-fold-search to nil.
150
151 2012-04-20 Chong Yidong <cyd@gnu.org>
152
153 * mail/sendmail.el (mail-bury): Call return action with the right
154 Rmail buffer (Bug#11242).
155
156 * server.el (server-process-filter): Handle corner case where both
157 tty and nowait options are present (Bug#11102).
158
159 2012-04-20 Eli Zaretskii <eliz@gnu.org>
160
161 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
162 (top level): Put into the executable the ident-style '$Id:' tag on
163 windows-nt as well.
164
165 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * electric.el (electric-indent-post-self-insert-function): Check that
168 electric-indent-mode is enabled in current buffer.
169
170 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
171
172 * imenu.el (imenu-progress-message): Restore; it is "used" in
173 erc/erc-imenu.el and net/snmp-mode.el.
174
175 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
176
177 * avoid.el (mouse-avoidance-mode): Mark unused arg.
178 (mouse-avoidance-nudge-mouse): Remove unused binding.
179
180 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
181
182 * descr-text.el (describe-char):
183 * progmodes/python.el (python-describe-symbol):
184 Don't call `toggle-read-only', set `buffer-read-only'.
185
186 * imenu.el (imenu-default-goto-function): Mark unused args.
187 (imenu-progress-message): Remove obsolete macro; all callers changed.
188
189 * subr.el (keymap-canonicalize): Remove unused binding.
190 (read-passwd): Mark unused arg.
191
192 * tutorial.el (tutorial--display-changes): Remove unused binding.
193 (tutorial--save-tutorial-to): Remove unused variable.
194
195 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
196 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
197 (package-generate-autoloads, package-menu--generate)
198 (package-menu--find-upgrades): Remove unused bindings.
199
200 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
201 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
202 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
203 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
204 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
205 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
206 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
207 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
208 (cua-delete-char-rectangle): Mark unused args.
209 (cua-align-rectangle): Remove unused binding.
210
211 * mail/rmail.el (compilation--message->loc)
212 (epa--find-coding-system-for-mime-charset): Declare.
213
214 * net/dbus.el (dbus-register-service): Declare.
215 (dbus-name-owner-changed-handler): Remove unused binding.
216
217 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
218 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
219 (nxml-scan-backward-within): Mark unused arg.
220 (nxml-dynamic-markup-word): Remove unused binding.
221
222 * mouse.el (mouse-menu-major-mode-map):
223 * emacs-lisp/authors.el (authors-scan-change-log)
224 (authors-add-to-author-list):
225 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
226 * emacs-lisp/smie.el (smie-auto-fill):
227 * mail/sendmail.el (mail-bury):
228 * mail/unrmail.el (unrmail):
229 * net/tls.el (open-tls-stream):
230 * textmodes/picture.el (picture-mouse-set-point):
231 Remove unused bindings.
232
233 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
234
235 * net/tramp.el (tramp-action-password): Let-bind
236 `enable-recursive-minibuffers' to t.
237
238 2012-04-18 Sam Steingold <sds@gnu.org>
239
240 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
241 instead of 'string to accommodate values like [f11].
242 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
243 * progmodes/gdb-mi.el: Likewise.
244
245 2012-04-18 Leo Liu <sdl.web@gmail.com>
246
247 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
248 current buffer.
249 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
250 LOCAL is nil.
251
252 2012-04-18 Chong Yidong <cyd@gnu.org>
253
254 * simple.el (line-move): Use forward-line if in batch mode
255 (Bug#11053).
256
257 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
258
259 * files.el (after-find-file): Do not try to add a final newline if
260 the buffer is read-only (Bug#11156).
261
262 2012-04-17 Richard Stallman <rms@gnu.org>
263
264 * mail/rmail.el (rmail-start-mail):
265 Pass (rmail-mail-return...) for the return-action.
266 Pass (rmail-yank-current-message...) for the yank-action.
267 (rmail-yank-current-message): New function.
268 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
269 (rmail-reply): Likewise.
270 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
271
272 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
273 buffer, not the last. Reject temp buffers. Use the rmail-mode
274 buffer, not newbuf.
275
276 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
277
278 * server.el (server-ensure-safe-dir): Simplify.
279
280 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * emacs-lisp/smie.el: Provide smarter auto-filling.
283 (smie-auto-fill): New function.
284 (smie-setup): Use it.
285
286 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
287
288 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
289
290 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
291 (comment-indent): Use it.
292
293 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
294
295 * ses.el: The overall change is to add cell renaming, that is
296 setting fancy names for cell symbols other than name matching
297 "\\`[A-Z]+[0-9]+\\'" regexp .
298 (ses-localvars): Add ses--renamed-cell-symb-list.
299 (ses-create-cell-variable): New defun.
300 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
301 (ses-relocate-formula): Relocate formulas only for cells the
302 symbols of which are not renamed, i.e. symbols whose names do not
303 match regexp "\\`[A-Z]+[0-9]+\\'".
304 (ses-relocate-all): Relocate values only for cells the symbols of
305 which are not renamed.
306 (ses-load): Create cells variables as the (ses-cell ...) are read,
307 in order to check row col consistency with cell symbol name only
308 for cells that are not renamed.
309 (ses-replace-name-in-formula): New defun.
310 (ses-rename-cell): New defun.
311
312 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
313
314 * progmodes/perl-mode.el (perl-indent-parens-as-block):
315 New option (bug#11118).
316 (perl-calculate-indent): Respect it.
317
318 2012-04-17 Glenn Morris <rgm@gnu.org>
319
320 * dired-aux.el (dired-mark-read-string): Doc fix.
321
322 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
323
324 * dired-aux.el (dired-mark-read-string): Offer optional completion.
325 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
326
327 2012-04-17 Glenn Morris <rgm@gnu.org>
328
329 * mouse.el (mouse-drag-track):
330 * speedbar.el (speedbar-frame-mode):
331 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
332
333 2012-04-16 Leo Liu <sdl.web@gmail.com>
334
335 * progmodes/python.el: Trivial cleanup.
336
337 2012-04-16 Glenn Morris <rgm@gnu.org>
338
339 * vc/vc.el (vc-string-prefix-p):
340 * vc/pcvs-util.el (cvs-string-prefix-p):
341 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
342 * mpc.el (mpc-string-prefix-p):
343 Make all of these into obsolete aliases for string-prefix-p.
344 Update callers.
345 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
346
347 * textmodes/two-column.el: Move custom options to the start.
348 (frame-width): Remove compat definition.
349 (2C-associate-buffer, 2C-dissociate):
350 Use with-current-buffer rather than save-excursion.
351 (2C-dissociate): Force a mode-line update.
352 (2C-autoscroll): Use ignore-errors.
353
354 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
355 Autoload trivia.
356
357 * emacs-lisp/cl-extra.el (*random-state*):
358 Remove unnecessary declaration.
359
360 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
361
362 * play/cookie1.el (cookie-snarf):
363 Give an explicit error if input file cannot be read.
364
365 * play/yow.el (yow-file): Use expand-file-name rather than concat.
366
367 * progmodes/perl-mode.el (c-macro-expand):
368 Remove unnecessary autoload (it is in loaddefs.el).
369
370 * textmodes/picture.el (picture-desired-column)
371 (picture-update-desired-column): Convert comments to doc-strings.
372 (picture-substitute): Remove function.
373 (picture-mode-map): Initialize in the defvar.
374
375 * woman.el: Remove eval-after-load for tar-mode.
376 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
377 (woman-tar-extract-file): Autoload it.
378
379 * frame.el (automatic-hscrolling): Make this alias obsolete.
380
381 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
382
383 * ispell.el (ispell-set-spellchecker-params): Post-process
384 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
385 (ispell-dictionary-base-alist): Revert to original XEmacs
386 friendly version for default. [:alpha:] will be added in
387 `ispell-set-spellchecker-params' if needed
388
389 2012-04-16 Chong Yidong <cyd@gnu.org>
390
391 * image.el (imagemagick--extension-regexp): New variable.
392 (imagemagick-register-types): Use it.
393 (imagemagick-types-inhibit): Add :set function. Allow new value
394 of t to inhibit all types.
395
396 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
397 so we can preload it.
398
399 * loadup.el (fboundp): Preload regexp-opt, needed by
400 imagemagick-register-types.
401
402 2012-04-15 Chong Yidong <cyd@gnu.org>
403
404 * frame.el (scrolling): Remove nearly unused customization group.
405
406 * scroll-all.el (scroll-all-mode): Move to windows group.
407
408 2012-04-15 Chong Yidong <cyd@gnu.org>
409
410 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
411
412 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 Avoid the use of ((lambda ...) ...) in lexical-binding code.
415 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
416
417 2012-04-15 Glenn Morris <rgm@gnu.org>
418
419 * simple.el (process-file-side-effects): Doc fix.
420
421 2012-04-15 Glenn Morris <rgm@gnu.org>
422
423 * international/mule-cmds.el (set-language-environment): Doc fix.
424
425 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
426
427 * server.el (server-auth-key, server-generate-key): Doc fixes.
428 (server-get-auth-key): Doc fix. Use `string-match-p'.
429 (server-start): Reflow docstring.
430
431 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
432
433 * server.el (server-generate-key): `called-interactively-p'
434 requires a parameter.
435
436 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
437
438 * server.el (server-auth-key): New variable.
439 (server-generate-key, server-get-auth-key): New function.
440 (server-start): Use the new variable and functions to allow
441 setting a permanent server key (bug#9423).
442
443 2012-04-14 Leo Liu <sdl.web@gmail.com>
444
445 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
446
447 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
448
449 Spelling fixes.
450 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
451 Emacs uses American spelling.
452
453 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
454
455 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
456 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
457 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
458 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
459
460 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * progmodes/which-func.el (which-func-modes): Change default.
463
464 2012-04-14 Kim F. Storm <storm@cua.dk>
465
466 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
467 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
468
469 2012-04-14 Chong Yidong <cyd@gnu.org>
470
471 * custom.el (custom-theme-set-variables): Doc fix.
472
473 2012-04-14 Glenn Morris <rgm@gnu.org>
474
475 * international/mule.el (set-auto-coding-for-load): Doc fix.
476
477 2012-04-14 Alan Mackenzie <acm@muc.de>
478
479 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
480 imenu work again for Objective C Mode. Correct the *-index values,
481 these having been disturbed by a previous change in 2011-08.
482
483 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
484 Correct two search limits.
485
486 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
489
490 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
491
492 * international/characters.el: Fix sorting.
493
494 2012-04-14 Eli Zaretskii <eliz@gnu.org>
495
496 * international/characters.el: Add more missing Latin case pairs.
497
498 2012-04-14 Glenn Morris <rgm@gnu.org>
499
500 * files.el (dir-locals-set-class-variables): Doc fix.
501
502 2012-04-14 Eli Zaretskii <eliz@gnu.org>
503
504 * international/characters.el: Add set-case-syntax-pair call for
505 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
506 counterpart. (Bug#11209)
507
508 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
509
510 2012-04-14 Glenn Morris <rgm@gnu.org>
511
512 * calendar/holidays.el (calendar-check-holidays): Doc fix.
513
514 2012-04-14 Eli Zaretskii <eliz@gnu.org>
515
516 * textmodes/ispell.el (ispell-dictionary-base-alist):
517 Add data for Hebrew.
518
519 2012-04-14 Chong Yidong <cyd@gnu.org>
520
521 * net/rcirc.el (rcirc-cmd-quit):
522 Revert 2012-03-18 change (Bug#11192).
523
524 2012-04-14 Glenn Morris <rgm@gnu.org>
525
526 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
527
528 2012-04-14 Eli Zaretskii <eliz@gnu.org>
529
530 * minibuffer.el (completion-in-region-mode-map):
531 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
532
533 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
534
535 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
536
537 2012-04-13 Masatake YAMATO <yamato@redhat.com>
538
539 * minibuffer.el (minibuffer-local-filename-syntax): New variable
540 to allow `C-M-f' and `C-M-b' to move to the nearest path
541 separator (bug#9511).
542
543 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
544
545 * avoid.el: Require cl when compiling. And also move the
546 `provide' to the end.
547
548 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
549
550 * avoid.el (mouse-avoidance-banish-position): New variable.
551 (mouse-avoidance-banish-destination): Use it (bug#10165).
552
553 2012-04-13 Leo Liu <sdl.web@gmail.com>
554
555 * progmodes/which-func.el (which-func-modes): Add objc-mode.
556
557 2012-04-13 Ken Brown <kbrown@cornell.edu>
558
559 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
560 this is no longer needed now that cygstart understands file:// URLs.
561 (browse-url-filename-alist): For the same reason, don't modify
562 file:// URLs on Cygwin.
563
564 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
567 the region on shift if the binding is already shifted (bug#11221).
568
569 2012-04-12 Glenn Morris <rgm@gnu.org>
570
571 * mail/mailpost.el: Move to obsolete/.
572
573 2012-04-12 Drew Adams <drew.adams@oracle.com>
574
575 * imenu.el (imenu--generic-function): Ignore invisible definitions
576 (bug#10123).
577
578 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
579
580 * hexl.el (hexl-bits): New variable.
581 (hexl-options): Mention the variable in the doc string.
582 (hexl-rulerise, hexl-line-displen): New functions.
583 (hexl-mode): Mention the new variable.
584 (hexl-mode, hexl-current-address, hexl-current-address):
585 Use the displen.
586 (hexl-ascii-start-column): New function.
587 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
588 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
589
590 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
591
592 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
593 '("-i" ENCODING), in 2 separate command-line arguments, to specify
594 the encoding, as expected by hunspell.
595
596 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * battery.el (battery--linux-sysfs-regexp): New const.
599 (battery-status-function): Use it. Remove yeeloong special case.
600 (battery-yeeloong-sysfs): Remove.
601 (battery-echo-area-format): Remove yeeloong special case.
602
603 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
606 Reported by Noah Friedman.
607
608 * subr.el (read-passwd): Use read-string.
609
610 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
611
612 * vcursor.el (vcursor-move): Increase the priority of the overlay
613 (bug#9663).
614
615 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
616
617 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
618 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
619
620 2012-04-11 William Stevenson <yhvh2000@gmail.com>
621
622 * textmodes/artist.el (artist-mode): Convert artist-mode to use
623 define-minor-mode (bug#10760).
624
625 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
626
627 * progmodes/grep.el (rgrep): Tweak the find command line so
628 that directories matching `grep-find-ignored-files' won't be
629 pruned (bug#10351).
630
631 2012-04-11 Chong Yidong <cyd@gnu.org>
632
633 * startup.el (command-line): Remove support for long-obsolete
634 variable font-lock-face-attributes.
635
636 2012-04-11 Glenn Morris <rgm@gnu.org>
637
638 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
639
640 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * window.el (window--state-get-1): Obey window-point-insertion-type.
643
644 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
645
646 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
647 to previous function when point is on the first character of a
648 function. Take care of that in `narrow-to-defun' (bug#6157).
649
650 2012-04-11 Glenn Morris <rgm@gnu.org>
651
652 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
653 not just file-errors.
654
655 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
656 (vc-bzr-sha1): Use internal sha1.
657
658 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
661
662 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
663
664 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
665 that start in the middle of the line (bug#10496).
666
667 2012-04-10 Dan Nicolaescu <dann@gnu.org>
668
669 * battery.el (battery-linux-proc-acpi): Only one battery is
670 discharged at a time, but that seems to confuse battery.el when
671 computing `rate-type' for the battery not being discharged
672 (bug#10332).
673
674 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
677
678 * international/quail.el: Use dolist and simplify.
679 (quail-define-package, quail-update-keyboard-layout)
680 (quail-define-rules): Use dolist.
681 (quail-insert-kbd-layout, quail-get-translation): CSE.
682
683 * tmm.el: Use dolist, remove left over hook.
684 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
685 Use dolist.
686 (calendar-load-hook): Don't mess with it.
687
688 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
689 Use derived-mode-p. Run the diff asynchronously.
690
691 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
692
693 * obsolete/mouse-sel.el: Add an Obsolete-since header.
694
695 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
696
697 * misc.el: Display absolute path of loaded DLLs (bug#10424).
698 (list-dynamic-libraries--loaded): New function.
699 (list-dynamic-libraries--refresh): Use it.
700
701 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
702
703 * progmodes/python.el (python-fill-paragraph):
704 Make python-fill-region in a multiline string work when font-lock is
705 disabled (bug#7018).
706
707 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
708
709 * language/european.el (cp775): Add oem/legacy (en)coding on
710 DOS/MS Windows for the Baltic languages. There are still plenty
711 of texts written in this encoding/codepage (bug#6519).
712
713 2012-04-10 Glenn Morris <rgm@gnu.org>
714
715 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
716 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
717
718 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
719
720 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
721 next-line "n" and previous-line "p" in order to make recentf more
722 consistent with ibuffer, dired or org-mode (bug#9387).
723
724 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
725
726 * image.el (put-image): Return the overlay created instead of the
727 optional input string (bug#7834). Note that this may break code
728 that is (for some reason or other) depending on `put-image'
729 returning the string.
730
731 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
732
733 * simple.el (zap-to-char): Allow zapping using input methods
734 (bug#1580).
735
736 * textmodes/fill.el (fill-region): Leave point and mark where they
737 were before filling (bug#5399).
738
739 2012-04-09 Glenn Morris <rgm@gnu.org>
740
741 * version.el (emacs-bzr-get-version):
742 Handle lightweight checkouts of local branches.
743
744 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
745
746 * international/characters.el: Recover lost case pairs. (Bug#11209)
747
748 2012-04-09 Chong Yidong <cyd@gnu.org>
749
750 * custom.el (custom-variable-p): Return nil for non-symbol
751 arguments instead of signaling an error.
752 (user-variable-p): Obsolete alias for custom-variable-p.
753
754 * apropos.el (apropos-variable):
755 * files-x.el (read-file-local-variable):
756 * simple.el (set-variable):
757 * woman.el (woman-mini-help):
758 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
759
760 2012-04-09 Glenn Morris <rgm@gnu.org>
761
762 * startup.el (normal-top-level): Don't look for leim-list.el
763 in places where it will not be found. (Bug#910)
764
765 * international/mule-cmds.el (set-default-coding-systems):
766 * files.el (normal-mode):
767 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
768 This function was removed with ucs-tables.el in 2008.
769
770 2012-04-08 Eli Zaretskii <eliz@gnu.org>
771
772 * textmodes/ispell.el (ispell-check-version): For hunspell, set
773 ispell-encoding8-command to "-i", without a trailing space.
774 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
775 separate command-line arguments, to specify the encoding, since
776 that's how hunspell expects it.
777
778 2012-04-08 Glenn Morris <rgm@gnu.org>
779
780 * loadup.el: Load bindings before cus-start.
781 This reduces somewhat the number of "rogue" settings in emacs -Q.
782
783 2012-04-07 Glenn Morris <rgm@gnu.org>
784
785 * version.el (emacs-bzr-get-version): New function.
786 (emacs-bzr-version): New variable.
787 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
788 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
789
790 2012-04-07 Eli Zaretskii <eliz@gnu.org>
791
792 * international/uni-bidi.el, international/uni-category.el:
793 * international/uni-combining.el, international/uni-decimal.el:
794 * international/uni-decomposition.el, international/uni-digit.el:
795 * international/uni-lowercase.el, international/uni-mirrored.el:
796 * international/uni-name.el, international/uni-numeric.el:
797 * international/uni-titlecase.el, international/uni-uppercase.el:
798 Update for Unicode 6.1.
799
800 2012-04-07 Eli Zaretskii <eliz@gnu.org>
801
802 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
803
804 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
805
806 * window.el (shrink-window): Mention the `window-min-height'
807 variable in the doc string.
808
809 2012-04-05 Bastien Guerry <bzg@altern.org>
810
811 * color.el (color-lighten-name): Fix typo.
812
813 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * server.el (server--on-display-p): New function.
816 (server--on-display-p): Use it.
817
818 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
819
820 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
821 (bug#11145).
822
823 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * comint.el (comint--common-quoted-suffix): Check string boundary
826 before comparing (bug#11158).
827 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
828
829 2012-04-04 Chong Yidong <cyd@gnu.org>
830
831 * minibuffer.el (completion-extra-properties): Doc fix.
832
833 * subr.el (delayed-warnings-hook): Doc fix.
834
835 2012-04-04 Daiki Ueno <ueno@unixuser.org>
836
837 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
838 selection (Bug#11159).
839 (epa-insert-keys): Inform that the default public key will be
840 exported if no key is selected.
841
842 2012-04-04 Richard Stallman <rms@gnu.org>
843
844 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
845
846 2012-04-03 Chong Yidong <cyd@gnu.org>
847
848 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
849 mail-insert-file, not its obsolete alias mail-attach-file.
850
851 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
852
853 * notifications.el (notifications-notify): Fix docstring.
854
855 2012-04-02 Glenn Morris <rgm@gnu.org>
856
857 * emacs-lisp/authors.el (authors-aliases): Another addition.
858
859 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
860
861 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
862 `tramp-compat-call-process' instead of `tramp-local-call-process'.
863 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
864
865 2012-04-01 Chong Yidong <cyd@gnu.org>
866
867 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
868 Handle root directory properly.
869 (copy-directory): Caller changed.
870
871 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
872 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
873
874 2012-03-31 Glenn Morris <rgm@gnu.org>
875
876 * term/xterm.el (xterm-extra-capabilities): Doc fix.
877
878 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
879
880 * calendar/calendar.el (calendar-window-list)
881 (calendar-hide-window): Restore. (Bug#11140)
882 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
883
884 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
885
886 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
887
888 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
889 Check if file is a symlink (Bug#10489).
890
891 * files.el (copy-directory): Likewise.
892
893 2012-03-30 Chong Yidong <cyd@gnu.org>
894
895 * image.el (imagemagick-types-inhibit)
896 (imagemagick-register-types): Doc fix.
897
898 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
899
900 * ispell.el (ispell-get-extended-character-mode): Disable
901 extended-char-mode for hunspell. hunspell does not support it
902 and treats ~word as ordinary words in pipe mode.
903
904 2012-03-30 Glenn Morris <rgm@gnu.org>
905
906 * tutorial.el (help-with-tutorial): Ensure local variables don't
907 happen to make the buffer read-only. (Bug#11127)
908
909 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
912 (perl-calculate-indent): Return `noindent' in strings.
913
914 2012-03-28 Sam Steingold <sds@gnu.org>
915
916 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
917 instead of the broken adhockery which does not prevent calendar
918 buffers from being displayed at random after exit.
919 (calendar-window-list, calendar-hide-window): Remove the broken
920 adhockery.
921
922 2012-03-28 Glenn Morris <rgm@gnu.org>
923
924 * replace.el (query-replace-map): Doc fix.
925
926 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
927
928 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
929 contents. (Bug#11109)
930
931 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
934 (bug#11077).
935 (avl-tree--check, avl-tree--check-node): New funs.
936
937 2012-03-27 Martin Rudalics <rudalics@gmx.at>
938
939 * window.el (switch-to-visible-buffer): New option.
940 (switch-to-prev-buffer, switch-to-next-buffer):
941 Observe switch-to-visible-buffer. Make sure that checking for a window
942 showing a buffer already is done on the same frame.
943
944 2012-03-27 Glenn Morris <rgm@gnu.org>
945
946 * startup.el (mail-host-address): Doc fix.
947
948 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
951 than 197 variables.
952
953 2012-03-26 Ami Fischman <ami@fischman.org>
954
955 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
956
957 2012-03-26 Glenn Morris <rgm@gnu.org>
958
959 * files.el (save-buffers-kill-emacs): Doc fix.
960
961 * startup.el (normal-top-level, command-line, command-line-1):
962 Give them doc strings.
963
964 2012-03-25 Eli Zaretskii <eliz@gnu.org>
965
966 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
967 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
968
969 2012-03-25 Chong Yidong <cyd@gnu.org>
970
971 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
972 theme if it was previously enabled before (Bug#11031).
973
974 * cus-theme.el (custom-theme-write-faces): Retrieve current face
975 spec with custom-face-get-current-spec if its :shown-value is not
976 determined yet (Bug#9337).
977 (customize-create-theme, custom-theme-revert): Doc fixes.
978
979 * button.el (button-at): Minor addition to docstring.
980
981 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
982
983 * vc/vc.el (vc-merge): Fix a prompt.
984
985 2012-03-24 Chong Yidong <cyd@gnu.org>
986
987 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
988 point (Bug#9623).
989
990 * button.el (button-at): Minor addition to docstring.
991
992 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * newcomment.el (comment-choose-indent): No space after BOL.
995
996 2012-03-22 Sam Steingold <sds@gnu.org>
997
998 * window.el (switch-to-prev-buffer): Revert last patch because the
999 bug turned out to be an advertised feature (Elisp manual 28.14).
1000
1001 2012-03-22 Glenn Morris <rgm@gnu.org>
1002
1003 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1004 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1005
1006 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1007
1008 * net/network-stream.el (network-stream-open-starttls): Make error
1009 message under Windows be less misleading.
1010
1011 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1012
1013 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1014 understands (bug#9942).
1015
1016 2012-03-22 Chong Yidong <cyd@gnu.org>
1017
1018 * simple.el (end-of-visible-line): Handle return value of
1019 next-single-property-change properly (Bug#9371).
1020
1021 2012-03-22 Kenichi Handa <handa@m17n.org>
1022
1023 * international/quail.el (quail-insert-kbd-layout): Fix previous
1024 change. To avoid unwanted bidi reordering, use
1025 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1026
1027 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1028
1029 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1030 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1031 (ruby-beginning-of-indent): Be more careful with the difference
1032 between word-boundary and symbol boundary.
1033 (ruby-mode-syntax-table): Make : a symbol constituent.
1034
1035 2012-03-21 Andreas Politz <politza@fh-trier.de>
1036
1037 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1038
1039 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * progmodes/etags.el (tags-completion-at-point-function):
1042 Improve last fix.
1043
1044 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1045
1046 2012-03-21 Sam Steingold <sds@gnu.org>
1047
1048 * progmodes/etags.el (tags-completion-at-point-function):
1049 Avoid the error when point is inside the pattern.
1050
1051 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1052
1053 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1054 line (Bug#10855).
1055
1056 2012-03-21 Drew Adams <drew.adams@oracle.com>
1057
1058 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1059
1060 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1061
1062 * ido.el (ido-set-current-directory, ido-read-internal)
1063 (ido-choose-completion-string, ido-completion-help): Handle nil
1064 value of ido-completion-buffer (Bug#11008).
1065
1066 2012-03-21 Sam Steingold <sds@gnu.org>
1067
1068 * window.el (switch-to-prev-buffer): Do not switch to a visible
1069 window previous buffer, just like with the frame previous buffers.
1070
1071 2012-03-21 Chong Yidong <cyd@gnu.org>
1072
1073 * faces.el (make-face, make-empty-face, copy-face):
1074 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1075 Doc fixes.
1076
1077 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1080 (widget-complete): Remove broken use of it.
1081
1082 2012-03-20 Chong Yidong <cyd@gnu.org>
1083
1084 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1085 Use string-width and truncate-string-width to handle arbitrary
1086 characters.
1087
1088 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1089
1090 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1091 to draw rectangles, not squares. (Regression introduced by revno
1092 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1093
1094 2012-03-18 Chong Yidong <cyd@gnu.org>
1095
1096 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1097 it is not yet defined (for temacs).
1098
1099 2012-03-18 Leo Liu <sdl.web@gmail.com>
1100
1101 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1102
1103 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1104
1105 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1106 (ispell-choices-win-default-height, ispell-silently-savep)
1107 (ispell-dictionary-alist, ispell-encoding8-command)
1108 (ispell-check-version, ispell-aspell-find-dictionary)
1109 (ispell-valid-dictionary-list, ispell-words-keyword)
1110 (ispell-get-word, ispell-internal-change-dictionary)
1111 (ispell-region, ispell-skip-region-list)
1112 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1113 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1114 (ispell-message-text-end, ispell-message)
1115 (ispell-buffer-local-parsing): Doc fix.
1116
1117 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1118
1119 * htmlfontify.el: Add support for code block fontification for ODT
1120 export (Bug #9914).
1121 (hfy-optimisations): Define new option
1122 `body-text-only'
1123 (hfy-fontify-buffer): Honor above setting.
1124 (hfy-begin-span, hfy-end-span): New routines factored out form
1125 `hfy-fontify-buffer'.
1126 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1127 that permit insertion of custom tags.
1128 (hfy-fontify-buffer): Use above handlers.
1129 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1130 (hfy-face-to-css): Re-defined to be a variable.
1131 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1132 over multiple runs. This is made possible by having the caller let
1133 bind a special variable `hfy-user-sheet-assoc'.
1134 (htmlfontify-string): New defun.
1135 (hfy-compile-face-map): Make sure that the last char in the
1136 buffer is correctly fontified.
1137 (hfy-face-resolve-face): Whitespace only change.
1138
1139 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1140
1141 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1142 message more clear.
1143
1144 2012-03-16 Leo Liu <sdl.web@gmail.com>
1145
1146 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1147
1148 2012-03-16 Alan Mackenzie <acm@muc.de>
1149
1150 Further optimise the handling of large macros.
1151
1152 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1153 limit to a call of `c-literal-limits'.
1154 (c-determine-+ve-limit): New function.
1155 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1156 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1157 In CASE 5B, restrict a search limit to 500.
1158 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1159
1160 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1161 Restrict macro bounds to +-500 from after-change's BEG END.
1162
1163 2012-03-16 Leo Liu <sdl.web@gmail.com>
1164
1165 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1166
1167 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1168
1169 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1170 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1171
1172 2012-03-16 Glenn Morris <rgm@gnu.org>
1173
1174 * view.el (view-buffer, view-buffer-other-window)
1175 (view-buffer-other-frame): Doc fixes re special mode-class.
1176
1177 * subr.el (eval-after-load): If named feature is provided not from
1178 a file, run after-load forms. (Bug#10946)
1179
1180 * calendar/calendar.el (calendar-insert-at-column):
1181 Handle non-unit-width characters a bit better. (Bug#10978)
1182
1183 2012-03-15 Chong Yidong <cyd@gnu.org>
1184
1185 * emacs-lisp/ring.el (ring-extend): New function.
1186 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1187
1188 * comint.el (comint-read-input-ring)
1189 (comint-add-to-input-history): Grow comint-input-ring lazily.
1190
1191 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1194 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1195
1196 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1197 (imenu-add-to-menubar): Don't add a redundant index.
1198 (imenu-update-menubar): Handle a dynamically composed keymap.
1199
1200 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1201
1202 * mail/sendmail.el (mail-encode-header):
1203 Bind rfc2047-encode-encoded-words to nil.
1204
1205 2012-03-13 Glenn Morris <rgm@gnu.org>
1206
1207 * calendar/calendar.el (calendar-string-spread):
1208 Handle non-unit-width characters a bit better. (Bug#10978)
1209
1210 2012-03-13 Leo Liu <sdl.web@gmail.com>
1211
1212 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1213 directory and file as argument (Bug#10822).
1214
1215 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1216
1217 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1218 For dynamically generated code, follow $PC.
1219 (gdb-disassembly-handler-custom): Handle no function name case.
1220
1221 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1222
1223 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1224 * emulation/ws-mode.el (ws-query-replace):
1225 * sort.el (sort-regexp-fields):
1226 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1227
1228 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * dabbrev.el: Fix cycle completion order (bug#10963).
1231 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1232 (dabbrev-completion): Don't use an obarray; provide
1233 a cycle-sort-function.
1234
1235 2012-03-12 Leo Liu <sdl.web@gmail.com>
1236
1237 * simple.el (kill-new): Use equal-including-properties for comparison.
1238 (kill-do-not-save-duplicates): Doc fix.
1239
1240 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * dabbrev.el: Fix cycle completion (bug#10963).
1243 Use lexical binding and wrap to 80 columns.
1244 (dabbrev-completion): Delay computing the list of completions.
1245
1246 2012-03-12 Kenichi Handa <handa@m17n.org>
1247
1248 * international/quail.el (quail-insert-kbd-layout): Surround each
1249 row by LRO and PDF instead of inserting many LRMs. Pad the left
1250 and right of each non-spacing marks. Insert invisible space
1251 between lower and upper characters to prevent composition.
1252
1253 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * minibuffer.el (minibuffer-complete): Don't get confused when the
1256 function is run twice via different commands (bug#10958).
1257 (complete-with-action): Fix docstring.
1258
1259 2012-03-12 Chong Yidong <cyd@gnu.org>
1260
1261 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1262 (nxml-completion-at-point-function): New function.
1263 (nxml-mode): Use it.
1264 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1265
1266 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1267 Load generated autoloads file before byte compiling (Bug#10970).
1268 (package--make-autoloads-and-compile): New helper fun.
1269
1270 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1271
1272 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1273
1274 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1275
1276 * autorevert.el (auto-revert-handler): Ensure, that
1277 file-readable-p is applied only for local files or in
1278 auto-revert-tail-mode.
1279
1280 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1281
1282 * server.el (server-eval-at): Handle non-tcp connections.
1283 Decode result string.
1284
1285 * server.el (server-msg-size): New constant.
1286 (server-reply-print): New function.
1287 (server-eval-and-print): Use it.
1288 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1289 Handle -print-nonl.
1290
1291 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1292
1293 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1294 (Bug#10987).
1295
1296 2012-03-11 Chong Yidong <cyd@gnu.org>
1297
1298 * simple.el (goto-line): Doc fix (Bug#9938).
1299
1300 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1301
1302 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1303 when finished (Bug#10963).
1304
1305 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1306
1307 * window.el (split-window-below): Fix bug in case where
1308 split-window-keep-point is nil (Bug#10971).
1309
1310 2012-03-11 Juri Linkov <juri@jurta.org>
1311
1312 * replace.el (replace-highlight): Set isearch-word to nil
1313 unconditionally. (Bug#10887)
1314
1315 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1316
1317 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1318 mairix-replace-illegal-chars; all callers changed. Don't remove
1319 ^, ~, and = characters: they are meaningful in mairix search specs.
1320 (mairix-widget-create-query): Add usage information about mairix
1321 search forms: negating words, searching for substrings, etc.
1322
1323 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1324
1325 * international/fontset.el (font-encoding-alist): Add an entry for
1326 ksx1001 (Bug#5667).
1327
1328 2012-03-10 Richard Stallman <rms@gnu.org>
1329
1330 * mail/sendmail.el (mail-encode-header):
1331 Set rfc2047-encode-encoded-words.
1332
1333 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1334
1335 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1336 view buffer means not swapped.
1337 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1338 (rmail-write-region-annotate): Error if real text has disappeared.
1339
1340 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1341
1342 2012-03-10 Chong Yidong <cyd@gnu.org>
1343
1344 * emulation/cua-rect.el (cua--init-rectangles):
1345 * emulation/cua-base.el (cua--init-keymaps):
1346 Add delete-forward-char to remappings (Bug#9666).
1347
1348 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1349
1350 * speedbar.el (speedbar-unhighlight-one-tag-line):
1351 Avoid unhighlighting due to frame switching (Bug#10275).
1352
1353 2012-03-10 Chong Yidong <cyd@gnu.org>
1354
1355 * minibuffer.el (completion-in-region, completion-help-at-point):
1356 Give the completion field overlay a high priority (Bug#6830).
1357
1358 * dired.el (dired-goto-file): Recognize absolute file name
1359 listings (Bug#7126).
1360 (dired-goto-file-1): New helper function.
1361 (dired-toggle-read-only): Inhibit warnings.
1362
1363 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1364
1365 * net/dbus.el (dbus-property-handler): Return empty array if
1366 there are no properties.
1367
1368 2012-03-09 Leo Liu <sdl.web@gmail.com>
1369
1370 * savehist.el (savehist-printable): Stricter check for string
1371 value (Bug#10937).
1372
1373 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1374
1375 * mail/smtpmail.el (smtpmail-send-it):
1376 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1377 valid mbox format.
1378
1379 2012-03-09 Glenn Morris <rgm@gnu.org>
1380
1381 * files.el (dir-locals-find-file):
1382 Don't check result is regular, readable.
1383 (dir-locals-read-from-file): Demote errors.
1384
1385 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1386
1387 * international/quail.el (quail-insert-kbd-layout):
1388 Insert invisible LRM characters before each character in a keyboard
1389 layout cell, to prevent their reordering by bidi display engine.
1390 For details, see the discussion in
1391 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1392
1393 2012-03-08 Alan Mackenzie <acm@muc.de>
1394
1395 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1396 the starting position; make it extend the marked region when
1397 invoked repeatedly - all under appropriate circumstances.
1398 Fixes bugs #5525, #10906.
1399
1400 2012-03-08 Glenn Morris <rgm@gnu.org>
1401
1402 * files.el (locate-dominating-file, dir-locals-find-file):
1403 Undo 2012-03-06 change.
1404
1405 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1406
1407 * international/quail.el (quail-help):
1408 Force bidi-paragraph-direction be left-to-right. See discussion in
1409 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1410 for the reason.
1411
1412 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1413
1414 Avoid superfluous registering of signals. (Bug#10807)
1415
1416 * notifications.el (notifications-on-action-object)
1417 (notifications-on-close-object): New defvars.
1418 (notifications-on-action-signal, notifications-on-closed-signal):
1419 Unregister the signal if not needed any longer.
1420 (notifications-notify): Register `notifications-action-signal' or
1421 `notifications-closed-signal', if :on-action or :on-close has been
1422 passed as argument.
1423
1424 2012-03-07 Chong Yidong <cyd@gnu.org>
1425
1426 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1427 non-X platforms.
1428
1429 2012-03-06 Glenn Morris <rgm@gnu.org>
1430
1431 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1432 (x-disown-selection-internal, x-get-selection-internal):
1433 Doc fix (add arglist signatures). (Bug#10783)
1434
1435 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1436
1437 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1438 Handle breakpoints with no "type".
1439
1440 2012-03-06 Glenn Morris <rgm@gnu.org>
1441
1442 * files.el (locate-dominating-file): Add optional predicate argument.
1443 (dir-locals-find-file): Make use of above change.
1444
1445 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1446
1447 * info.el (Info-insert-dir): Also try "dir.gz".
1448
1449 2012-03-06 Glenn Morris <rgm@gnu.org>
1450
1451 * files.el (dir-locals-find-file):
1452 Ignore non-readable or non-regular files. (Bug#10928)
1453
1454 * files.el (locate-dominating-file): Doc fix.
1455
1456 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1457
1458 * calendar/calendar.el (calendar-set-mode-line):
1459 `getenv' returns a string. (Bug#10951)
1460
1461 2012-03-05 Leo Liu <sdl.web@gmail.com>
1462
1463 * simple.el (backward-delete-char-untabify): Constrain point to
1464 field (Bug#10939).
1465
1466 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1467
1468 2012-03-05 Chong Yidong <cyd@gnu.org>
1469
1470 * simple.el (count-words): If called from Lisp, return the word
1471 count, for symmetry with `count-lines'. Arglist changed.
1472 (count-words--message): Args changed. Consolidate counting code
1473 from count-words and count-words-region.
1474 (count-words-region): Caller changed.
1475 (count-lines-region): Make it an obsolete alias.
1476
1477 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1478
1479 * saveplace.el (save-place-to-alist)
1480 (save-place-ignore-files-regexp): Allow value nil to disable this
1481 feature.
1482
1483 2012-03-04 Chong Yidong <cyd@gnu.org>
1484
1485 * faces.el (face-spec-reset-face): For the default face, reset the
1486 attributes to default values (Bug#10748).
1487
1488 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1489
1490 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1491 previous patch: Check `message-send-mail-function', and not the
1492 default function (bug#10897).
1493
1494 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1495
1496 * notifications.el (notifications-on-action-signal)
1497 (notifications-on-closed-signal): Check for unique service name of
1498 incoming event. Fix error in removing entry.
1499 (top): Register for signals with wildcard service name.
1500 (notifications-notify): Use daemon unique service name for map entries.
1501
1502 2012-03-04 Chong Yidong <cyd@gnu.org>
1503
1504 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1505
1506 2012-03-04 Glenn Morris <rgm@gnu.org>
1507
1508 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1509 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1510 (expand-abbrev, define-abbrev-table): Doc fixes.
1511
1512 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1513
1514 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1515 `message-default-send-mail-function' and not `send-mail-function'
1516 when doing the prompting for `sendmail-query-once' before sending
1517 in Message buffers (bug#10897).
1518
1519 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1520 This is inconsistent with all the other stream functions, which leave
1521 the setting up to the higher levels (if so wanted) (bug#10931).
1522
1523 2012-03-02 Alan Mackenzie <acm@muc.de>
1524
1525 Depessimize the handling of very large macros.
1526
1527 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1528 (c-macro-cache-syntactic): New variables to implement a one
1529 element macro cache.
1530 (c-invalidate-macro-cache): New function.
1531 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1532 Adapt to use the new cache.
1533 (c-state-safe-place): Use better the cache of safe positions.
1534 (c-state-semi-nonlit-pos-cache)
1535 (c-state-semi-nonlit-pos-cache-limit):
1536 New variables for...
1537 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1538 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1539 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1540 Use c-state-semi-safe-place.
1541
1542 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1543 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1544
1545 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1546
1547 * jka-compr.el (jka-compr-call-process):
1548 Apply `file-accessible-directory-p' only when the default directory is
1549 not remote.
1550
1551 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1552
1553 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1554 access of FILE2, if FILE1 does not exist.
1555
1556 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1557 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1558
1559 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1560 Add "PAGER=" to `process-environment'.
1561
1562 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1563
1564 * progmodes/sql.el: Bug fix
1565 (sql-get-login-ext): Save login values in globals.
1566 (sql-get-login): Use new version of `sql-get-login-ext'.
1567 (sql-interactive-mode): Set global `sql-connection' to nil.
1568 (sql-connect): Set global values for connection.
1569 (sql-product-interactive): Save global values as buffer local.
1570
1571 2012-02-29 Leo Liu <sdl.web@gmail.com>
1572
1573 * abbrev.el (define-abbrevs): Reset sys to nil.
1574
1575 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1576
1577 * files.el (file-equal-p): Rename from `files-equal-p'.
1578 Return nil when one or both files don't exist.
1579 (file-subdir-of-p): Now only top directory must exists,
1580 return nil if it doesn't.
1581 (copy-directory): No need to test with `file-subdir-of-p' after
1582 creating dir.
1583 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1584 to `file-equal-p'.
1585
1586 2012-02-28 Glenn Morris <rgm@gnu.org>
1587
1588 * shell.el (shell-mode):
1589 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1590 * play/landmark.el (landmark-font-lock-face-O):
1591 * play/handwrite.el (handwrite):
1592 * play/gomoku.el (gomoku-O):
1593 * net/browse-url.el (browse-url-browser-display):
1594 * international/mule.el (define-charset):
1595 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1596 * filesets.el (filesets-find-file-delay):
1597 * eshell/em-xtra.el (eshell-xtra):
1598 * eshell/em-unix.el (eshell-grep):
1599 * emulation/viper.el (viper-mode):
1600 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1601 * emacs-lisp/easymenu.el (easy-menu-define):
1602 * calendar/timeclock.el (timeclock-use-display-time):
1603 * bs.el (bs-mode):
1604 * bookmark.el (bookmark-save-flag):
1605 Doc fix (standardize possessive apostrophe usage).
1606
1607 2012-02-27 Chong Yidong <cyd@gnu.org>
1608
1609 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1610 Fix key-binding lookup for ESC key (Bug#9146).
1611
1612 * font-lock.el (font-lock-specified-p): Rename from
1613 font-lock-spec-present. Callers changed.
1614
1615 2012-02-27 Daniel Hackney <dan@haxney.org>
1616
1617 * emacs-lisp/package.el (package-compute-transaction):
1618 Handle holding a package version to t in package-load-list.
1619
1620 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1621
1622 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1623 (tramp-get-inode, tramp-get-device): Use cached values.
1624
1625 2012-02-26 Alan Mackenzie <acm@muc.de>
1626
1627 Check there is a font-lock specification before doing initial
1628 fontification.
1629
1630 * font-core.el (font-lock-mode): Move the conditional from
1631 :after-hook to font-lock-initial-fontify.
1632 (font-lock-default-function): Move the check for a specification
1633 to font-lock-spec-present.
1634
1635 * font-lock.el (font-lock-initial-fontify): Call ...
1636 (font-lock-spec-present): New function.
1637
1638 2012-02-26 Jim Blandy <jimb@red-bean.com>
1639
1640 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1641 (gdb-send): Apply it to the operand of the '-interpreter-exec
1642 console' command, so that we can pass arguments with (say) quotes
1643 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1644
1645 2012-02-26 Chong Yidong <cyd@gnu.org>
1646
1647 * help-fns.el (describe-function-1): Clarify description of
1648 remapping (Bug#10844).
1649
1650 * files.el (files-equal-p): Doc fix.
1651 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1652 and quit the loop once a mismatch is found.
1653
1654 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * bs.el (bs--show-with-configuration): Don't throw an error
1657 if the window cannot be split; otherwise, subsequent calls to
1658 bs-show fail, restoring a stale window config. (Bug#10882)
1659
1660 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1661
1662 * term/ns-win.el (global-map): Bind ns-drag-file to
1663 ns-find-file (Bug#5855, Bug#10050).
1664
1665 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1666
1667 * calendar/parse-time.el (parse-time-string): Allow extractor to
1668 return nil.
1669
1670 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1671
1672 * net/tramp.el (tramp-file-name-for-operation):
1673 Add `files-equal-p' and `file-subdir-of-p'.
1674
1675 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1676 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1677 Add COPY-CONTENTS argument.
1678
1679 2012-02-25 Chong Yidong <cyd@gnu.org>
1680
1681 Add custom groups for VC backends, for consistency with vc-bzr.
1682
1683 * vc/vc-arch.el (vc-arch):
1684 * vc/vc-cvs.el (vc-cvs):
1685 * vc/vc-git.el (vc-git):
1686 * vc/vc-hg.el (vc-hg):
1687 * vc/vc-mtn.el (vc-mtn):
1688 * vc/vc-rcs.el (vc-rcs):
1689 * vc/vc-sccs.el (vc-sccs):
1690 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1691 All relevant defcustoms reassigned.
1692
1693 2012-02-25 Chong Yidong <cyd@gnu.org>
1694
1695 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1696
1697 * term/x-win.el (x-initialize-window-system): Reduce default for
1698 x-selection-timeout to 5 seconds (Bug#8869).
1699
1700 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1701
1702 * files.el (files-equal-p, file-subdir-of-p): New functions.
1703 (copy-directory): Error when trying to copy a directory on itself.
1704 Add missing copy-contents arg to tramp handler.
1705 * dired-aux.el (dired-copy-file-recursive): Same.
1706 (dired-create-files): Modify destination when source is equal to
1707 dest when copying files.
1708 Return also when dest is a subdir of source. (Bug#10489)
1709
1710 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1711
1712 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1713 (Bug#10874)
1714
1715 2012-02-23 Alan Mackenzie <acm@muc.de>
1716
1717 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1718 parameter "after-hook:" to allow the expansion to run code after
1719 the execution of the mode hooks.
1720
1721 * font-lock.el (font-lock-initial-fontify): New function extracted
1722 from font-lock-mode-internal.
1723
1724 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1725 :after-hook.
1726
1727 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1730 (completion--cache-all-sorted-completions): New function.
1731 (completion-all-sorted-completions): Use it.
1732 (completion--do-completion, minibuffer-force-complete):
1733 Use it to re-instate the flush hook.
1734
1735 * icomplete.el (icomplete-completions): Replace last fix with a better
1736 one (bug#10850).
1737
1738 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1739
1740 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1741 when it might call us back infinitely (bug#10797).
1742
1743 2012-02-23 Glenn Morris <rgm@gnu.org>
1744
1745 * minibuffer.el (completion-category-overrides): Doc fix.
1746
1747 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1750 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1751
1752 2012-02-23 Glenn Morris <rgm@gnu.org>
1753
1754 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1755 (authors-obsolete-files-regexps, authors-ignored-files)
1756 (authors-ambiguous-files, authors-renamed-files-alist):
1757 Add more entries.
1758
1759 2012-02-23 Juri Linkov <juri@jurta.org>
1760
1761 * isearch.el (isearch-occur): Sync interactive spec with occur's
1762 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1763
1764 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1765
1766 2012-02-22 Juri Linkov <juri@jurta.org>
1767
1768 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1769 (ucs-insert): Doc fix. Check for hex digits in the string.
1770 Don't display `nil' in the error message. (Bug#10857)
1771
1772 2012-02-22 Alan Mackenzie <acm@muc.de>
1773
1774 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1775
1776 2012-02-22 Glenn Morris <rgm@gnu.org>
1777
1778 * ffap.el (ffap-c-path):
1779 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1780
1781 2012-02-22 Chong Yidong <cyd@gnu.org>
1782
1783 * custom.el (load-theme): Doc fix.
1784
1785 2012-02-22 Glenn Morris <rgm@gnu.org>
1786
1787 * dired-x.el (dired-guess-shell-alist-default):
1788 Remove escape sequences from nroff output. (Bug#172)
1789
1790 2012-02-21 Glenn Morris <rgm@gnu.org>
1791
1792 * vc/emerge.el (emerge-defvar-local):
1793 Set `permanent-local' property rather than unused `preserved'.
1794
1795 * textmodes/picture.el (picture-delete-char): New alias.
1796 (picture-mode-map): Use it. (Bug#10860)
1797 (picture-mode): Doc fix.
1798
1799 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1800
1801 * newcomment.el (uncomment-region-default): Remove unused binding.
1802
1803 2012-02-21 Glenn Morris <rgm@gnu.org>
1804
1805 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1806 (picture-self-insert, picture-tab-chars): Doc fix.
1807 (picture-mode-map): Fix C-a, C-e.
1808
1809 2012-02-20 Glenn Morris <rgm@gnu.org>
1810
1811 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1812
1813 2012-02-20 Leo Liu <sdl.web@gmail.com>
1814
1815 * icomplete.el (icomplete-completions): Check FROM arg before
1816 passing to substring (Bug#10850).
1817
1818 2012-02-19 Chong Yidong <cyd@gnu.org>
1819
1820 * comint.el: Require ansi-color.
1821 (comint-output-filter-functions): Add ansi-color-process-output.
1822
1823 * ansi-color.el: Don't set comint-output-filter-functions; it is
1824 now in the initial value defined in comint.el.
1825 (ansi-color-apply-face-function): New variable.
1826 (ansi-color-apply-on-region): Use it.
1827 (ansi-color-apply-overlay-face): New function.
1828
1829 * shell.el (shell): No need to require ansi-color.
1830 (shell-mode): Use ansi-color-apply-face-function to highlight
1831 color escapes using font-lock-face property (Bug#10835).
1832
1833 2012-02-19 Chong Yidong <cyd@gnu.org>
1834
1835 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1836 mode-line formats (Bug#10839).
1837
1838 2012-02-18 Glenn Morris <rgm@gnu.org>
1839
1840 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1841
1842 * mail/undigest.el (unforward-rmail-message): Doc fix.
1843
1844 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1845
1846 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1847
1848 * international/characters.el (script-list): Sync with the latest
1849 Unicode Character Database.
1850
1851 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1852
1853 * international/titdic-cnv.el: Remove duplicate coding tag.
1854 * language/cham.el: Likewise.
1855 * language/tai-viet.el: Likewise.
1856
1857 2012-02-18 Glenn Morris <rgm@gnu.org>
1858
1859 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1860 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1861 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1862 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1863 * calendar/holidays.el (holiday-bahai-holidays)
1864 (calendar-holidays, list-holidays):
1865 Use utf-8 Bahá'í in doc-strings, menus, etc.
1866
1867 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1868
1869 * saveplace.el (save-place-ignore-files-regexp): New variable
1870 allowing for excluding files from saving their location of point.
1871 The default value matches the temporary commit message editing
1872 files from Git, SVN, Bazaar, and Mercurial.
1873 (save-place-to-alist): Use it.
1874
1875 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1876 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * newcomment.el (uncomment-region-default): Don't leave extra space
1879 when an arg is provided (bug#8150).
1880
1881 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1882
1883 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1884
1885 2012-02-17 Glenn Morris <rgm@gnu.org>
1886
1887 * net/socks.el: Require network-stream. (Bug#10599)
1888
1889 2012-02-17 Kenichi Handa <handa@m17n.org>
1890
1891 * international/charprop.el:
1892 * international/uni-name.el:
1893 * international/uni-old-name.el:
1894 * international/uni-comment.el: Regenerate.
1895
1896 2012-02-16 Glenn Morris <rgm@gnu.org>
1897
1898 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1899 Interactively in calendar buffer, give an error if not on a date.
1900
1901 2012-02-15 Glenn Morris <rgm@gnu.org>
1902
1903 * shell.el (shell-delimiter-argument-list):
1904 Revert 2011-02-17 change. (Bug#8027)
1905
1906 2012-02-15 Chong Yidong <cyd@gnu.org>
1907
1908 * minibuffer.el (completion-at-point-functions): Doc fix.
1909
1910 * custom.el (defcustom): Doc fix; note use of defvar.
1911
1912 2012-02-15 Glenn Morris <rgm@gnu.org>
1913
1914 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1915 Doc fixes.
1916
1917 2012-02-14 Glenn Morris <rgm@gnu.org>
1918
1919 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1920
1921 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1922
1923 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1924 way the ports list is computed.
1925 (smtpmail-query-smtp-server): Prompt the user for a port number if
1926 we can't connect to any of the standard ports (bug#10810).
1927
1928 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1929
1930 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1931
1932 2012-02-13 Glenn Morris <rgm@gnu.org>
1933
1934 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1935
1936 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1937
1938 * net/gnutls.el (gnutls-trustfiles): New variable.
1939 (gnutls-negotiate): Use it.
1940
1941 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1942
1943 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1944 does its stuff if Gnus is running.
1945
1946 2012-02-13 Alan Mackenzie <acm@muc.de>
1947
1948 Fix a loop in c-set-fl-decl-start.
1949
1950 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1951 c-backward-syntactic-ws actually moves backwards.
1952
1953 2012-02-13 Leo Liu <sdl.web@gmail.com>
1954
1955 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1956 beginning so that all \C-o chars are removed.
1957
1958 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1959
1960 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1961
1962 2012-02-12 Alan Mackenzie <acm@muc.de>
1963
1964 Fix infinite loop with long macros.
1965 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
1966
1967 2012-02-12 Chong Yidong <cyd@gnu.org>
1968
1969 * window.el (display-buffer): Doc fix (Bug#10785).
1970
1971 2012-02-12 Glenn Morris <rgm@gnu.org>
1972
1973 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1974 (x-disown-selection-internal, x-get-selection-internal):
1975 Sync docs with the xselect.c versions.
1976
1977 * allout-widgets.el: Add missing license notice.
1978
1979 2012-02-11 Glenn Morris <rgm@gnu.org>
1980
1981 * select.el (x-get-selection-internal, x-own-selection-internal)
1982 (x-disown-selection-internal):
1983 * x-dnd.el (x-get-selection-internal): Update declarations.
1984
1985 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1986
1987 * window.el (window-sides-slots):
1988 * tool-bar.el (tool-bar-position):
1989 * term/xterm.el (xterm-extra-capabilities):
1990 * ses.el (ses-self-reference-early-detection):
1991 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1992 (verilog-auto-wire-type)
1993 (verilog-auto-delete-trailing-whitespace)
1994 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1995 (verilog-auto-tieoff-declaration):
1996 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1997 (sql-oracle-statement-starters, sql-oracle-scan-on):
1998 * progmodes/prolog.el (prolog-align-comments-flag)
1999 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2000 (prolog-left-indent-regexp, prolog-paren-indent-p)
2001 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2002 (prolog-types, prolog-mode-specificators)
2003 (prolog-determinism-specificators, prolog-directives)
2004 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2005 (prolog-electric-dot-flag)
2006 (prolog-electric-dot-full-predicate-template)
2007 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2008 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2009 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2010 (prolog-program-switches, prolog-prompt-regexp)
2011 (prolog-debug-on-string, prolog-debug-off-string)
2012 (prolog-trace-on-string, prolog-trace-off-string)
2013 (prolog-zip-on-string, prolog-zip-off-string)
2014 (prolog-use-standard-consult-compile-method-flag)
2015 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2016 (prolog-imenu-max-lines, prolog-info-predicate-index)
2017 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2018 (prolog-char-quote-workaround):
2019 * progmodes/cc-vars.el (c-defun-tactic):
2020 * net/tramp.el (tramp-encoding-command-interactive)
2021 (tramp-local-end-of-line):
2022 * net/soap-client.el (soap-client):
2023 * net/netrc.el (netrc-file):
2024 * net/gnutls.el (gnutls):
2025 * minibuffer.el (completion-category-overrides)
2026 (completion-cycle-threshold)
2027 (completion-pcm-complete-word-inserts-delimiters):
2028 * man.el (Man-name-local-regexp):
2029 * mail/feedmail.el (feedmail-display-full-frame):
2030 * international/characters.el (glyphless-char-display-control):
2031 * eshell/em-ls.el (eshell-ls-date-format):
2032 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2033 (lisp-lambda-list-keyword-parameter-indentation)
2034 (lisp-lambda-list-keyword-parameter-alignment):
2035 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2036 * dired-x.el (dired-omit-verbose):
2037 * cus-theme.el (custom-theme-allow-multiple-selections):
2038 * calc/calc.el (calc-highlight-selections-with-faces)
2039 (calc-lu-field-reference, calc-lu-power-reference)
2040 (calc-note-threshold):
2041 * battery.el (battery-mode-line-limit):
2042 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2043 (archive-7z-update):
2044 * allout.el (allout-prefixed-keybindings)
2045 (allout-unprefixed-keybindings)
2046 (allout-inhibit-auto-fill-on-headline)
2047 (allout-flattened-numbering-abbreviation):
2048 * allout-widgets.el (allout-widgets-auto-activation)
2049 (allout-widgets-icons-dark-subdir)
2050 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2051 (allout-widgets-theme-dark-background)
2052 (allout-widgets-theme-light-background)
2053 (allout-widgets-item-image-properties-emacs)
2054 (allout-widgets-item-image-properties-xemacs)
2055 (allout-widgets-run-unit-tests-on-load)
2056 (allout-widgets-time-decoration-activity)
2057 (allout-widgets-hook-error-post-time)
2058 (allout-widgets-track-decoration):
2059 Add missing :version tags to new defcustoms and defgroups.
2060
2061 * progmodes/sql.el (sql-ansi-statement-starters)
2062 (sql-oracle-statement-starters): Add custom type.
2063
2064 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2065 (prolog-system-version): Give it a type.
2066
2067 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2068
2069 * term/pc-win.el (x-select-text, x-selection-owner-p)
2070 (x-own-selection-internal, x-disown-selection-internal)
2071 (x-get-selection-internal): Sync doc strings and argument lists
2072 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2073
2074 2012-02-11 Leo Liu <sdl.web@gmail.com>
2075
2076 * progmodes/python.el (python-end-of-statement): Fix infinite
2077 loop. (Bug#10788)
2078
2079 2012-02-10 Glenn Morris <rgm@gnu.org>
2080
2081 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2082 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2083
2084 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2085
2086 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2087 about SMTP before checking the From header.
2088
2089 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2090 into own function for reuse by emacsbug.el.
2091
2092 2012-02-10 Leo Liu <sdl.web@gmail.com>
2093
2094 * subr.el (condition-case-unless-debug): Rename from
2095 condition-case-no-debug. All callers changed.
2096 (with-demoted-errors): Fix caller.
2097
2098 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2099 * nxml/rng-valid.el (rng-do-some-validation):
2100 * emacs-lisp/package.el (package-refresh-contents)
2101 (package-menu-execute):
2102 * desktop.el (desktop-create-buffer):
2103 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2104
2105 2012-02-10 Glenn Morris <rgm@gnu.org>
2106
2107 * textmodes/bibtex.el:
2108 Add missing :version tags for new/changed defcustoms.
2109
2110 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2111
2112 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2113
2114 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2115 (smtpmail-via-smtp): Use it, or fall back on the From address.
2116 (smtpmail-send-it): Ditto.
2117
2118 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2121 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2122 (byte-compile-tmp-var): New const.
2123 (byte-compile-defvar): Use it to minimize .elc size.
2124 Just use `defvar' rather than simulate it (bug#10761).
2125
2126 2012-02-09 Glenn Morris <rgm@gnu.org>
2127
2128 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2129
2130 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2131 Add :version tags.
2132
2133 * progmodes/compile.el (compilation-error-screen-columns)
2134 (compilation-first-column, compilation-filter-start): Doc fixes.
2135
2136 * vc/log-view.el (log-view-toggle-entry-display):
2137 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2138
2139 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2140 (report-emacs-bug-can-use-xdg-email):
2141 (report-emacs-bug-insert-to-mailer): Doc fixes.
2142 (report-emacs-bug): Message fix.
2143
2144 * net/browse-url.el (browse-url-can-use-xdg-open)
2145 (browse-url-xdg-open): Doc fixes.
2146
2147 * electric.el (electric-indent-mode, electric-pair-mode)
2148 (electric-layout-rules, electric-layout-mode): Doc fixes.
2149 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2150
2151 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2152
2153 * server.el (server-unselect-display): Don't inadvertently kill
2154 the current buffer. (Bug#10729)
2155
2156 2012-02-08 Glenn Morris <rgm@gnu.org>
2157
2158 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2159 (sql-list-table): Doc fixes.
2160
2161 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2162 Comment out (does nothing).
2163
2164 * completion.el (dynamic-completion-mode):
2165 * dirtrack.el (dirtrack-debug-mode):
2166 * electric.el (electric-layout-mode):
2167 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2168 * face-remap.el (text-scale-mode, buffer-face-mode):
2169 * iimage.el (iimage-mode):
2170 * image-mode.el (image-transform-mode):
2171 * minibuffer.el (completion-in-region-mode):
2172 * scroll-lock.el (scroll-lock-mode):
2173 * simple.el (next-error-follow-minor-mode):
2174 * tar-mode.el (tar-subfile-mode):
2175 * tooltip.el (tooltip-mode):
2176 * vcursor.el (vcursor-use-vcursor-map):
2177 * wid-browse.el (widget-minor-mode):
2178 * emulation/tpu-edt.el (tpu-edt-mode):
2179 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2180 * international/iso-ascii.el (iso-ascii-mode):
2181 * language/thai-util.el (thai-word-mode):
2182 * mail/supercite.el (sc-minor-mode):
2183 * net/goto-addr.el (goto-address-mode):
2184 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2185 * progmodes/cwarn.el (cwarn-mode):
2186 * progmodes/flymake.el (flymake-mode):
2187 * progmodes/glasses.el (glasses-mode):
2188 * progmodes/hideshow.el (hs-minor-mode):
2189 * progmodes/pascal.el (pascal-outline-mode):
2190 * textmodes/enriched.el (enriched-mode):
2191 * vc/smerge-mode.el (smerge-mode):
2192 Doc fixes (minor mode argument).
2193
2194 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2195
2196 * ls-lisp.el (ls-lisp-sanitize): New function.
2197 (ls-lisp-insert-directory): Use it to fix or remove any elements
2198 in file-alist with missing attributes. (Bug#4673)
2199
2200 2012-02-07 Alan Mackenzie <acm@muc.de>
2201
2202 Fix spurious recognition of c-in-knr-argdecl.
2203
2204 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2205 putative K&R region.
2206
2207 2012-02-07 Alan Mackenzie <acm@muc.de>
2208
2209 * progmodes/cc-engine.el (c-forward-objc-directive):
2210 Prevent looping in "#pragma mark @implementation".
2211
2212 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2213
2214 * notifications.el (notifications-on-closed-signal): Make `reason'
2215 optional. (Bug#10744)
2216
2217 2012-02-07 Glenn Morris <rgm@gnu.org>
2218
2219 * emacs-lisp/easy-mmode.el (define-minor-mode):
2220 Doc fixes for the macro and the mode it defines.
2221
2222 * image.el (imagemagick-types-inhibit): Doc fix.
2223
2224 * cus-start.el (imagemagick-render-type): Add it.
2225
2226 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2227
2228 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2229 Set the default at load time, too, so that `font-lock-fontify-buffer'
2230 can be called without setting up the entire mode first. This fixes
2231 a bug in `mm-inline-text' with C MIME parts.
2232
2233 2012-02-06 Chong Yidong <cyd@gnu.org>
2234
2235 * simple.el (list-processes--refresh): Delete exited processes
2236 (Bug#8094).
2237
2238 * comint.el (comint-next-prompt): next-single-char-property-change
2239 and prev-single-char-property-change never return nil (Bug#8657).
2240
2241 * custom.el (defcustom): Doc fix (Bug#9711).
2242
2243 2012-02-05 Chong Yidong <cyd@gnu.org>
2244
2245 * cus-edit.el (custom-variable-reset-backup): Quote the value
2246 before storing it in the customized-value property (Bug#6712).
2247 (custom-display): Add a customization type tag.
2248 (custom-buffer-create-internal): Improve tooltip message.
2249
2250 * wid-edit.el (widget-field-value-get): New optional arg to
2251 suppress trailing whitespace truncation.
2252 (character): Use it (Bug#2689).
2253
2254 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2255
2256 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2257 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2258
2259 2012-02-05 Chong Yidong <cyd@gnu.org>
2260
2261 * cus-edit.el (custom-variable-value-create): For mismatched
2262 types, show the current value (Bug#7600).
2263
2264 * custom.el (defcustom): Doc fix.
2265
2266 2012-02-05 Glenn Morris <rgm@gnu.org>
2267
2268 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2269
2270 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2271
2272 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2273 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2274 (pp-last-sexp): Use `looking-at-p'.
2275
2276 2012-02-04 Glenn Morris <rgm@gnu.org>
2277
2278 * files.el (revert-buffer):
2279 Doc fix (mention revert-buffer-in-progress-p).
2280
2281 * emacs-lisp/ert-x.el (ert-simulate-command):
2282 Check deferred-action-list (which is obsolete) is bound.
2283
2284 * subr.el (with-wrapper-hook): Doc fixes.
2285
2286 * simple.el (filter-buffer-substring-functions)
2287 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2288
2289 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2290
2291 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2292 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2293
2294 2012-02-04 Leo Liu <sdl.web@gmail.com>
2295
2296 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2297
2298 2012-02-04 Glenn Morris <rgm@gnu.org>
2299
2300 * image.el (image-extension-data): Add obsolete alias.
2301
2302 * isearch.el (isearch-update): Doc fix.
2303
2304 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2305
2306 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2307
2308 2012-02-03 Glenn Morris <rgm@gnu.org>
2309
2310 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2311 (image-animate-timeout): Doc fix.
2312
2313 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2314
2315 2012-02-02 Glenn Morris <rgm@gnu.org>
2316
2317 * server.el (server-auth-dir): Doc fix.
2318 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2319
2320 * subr.el (run-mode-hooks): Doc fix.
2321
2322 2012-02-02 Juri Linkov <juri@jurta.org>
2323
2324 * image-mode.el (image-toggle-display-image): Remove tautological
2325 `major-mode' from the `derived-mode-p' test.
2326
2327 2012-02-02 Kenichi Handa <handa@m17n.org>
2328
2329 * composite.el (compose-region): Cancel previous change.
2330
2331 2012-02-02 Kenichi Handa <handa@m17n.org>
2332
2333 * composite.el (compose-region, compose-string): Signal error for
2334 a null string component (Bug#6988).
2335
2336 2012-02-01 Chong Yidong <cyd@gnu.org>
2337
2338 * view.el (view-buffer-other-window, view-buffer-other-frame):
2339 Handle special modes like view-buffer (Bug#10650).
2340 (view-buffer): Simplify.
2341
2342 * frame.el (set-frame-font): Tweak meaning of third argument.
2343
2344 * dynamic-setting.el (font-setting-change-default-font):
2345 Use set-frame-font (Bug#9982).
2346
2347 2012-02-01 Glenn Morris <rgm@gnu.org>
2348
2349 * progmodes/compile.el (compilation-internal-error-properties):
2350 Respect compilation-first-column in the "*compilation*" buffer.
2351
2352 * emacs-lisp/easy-mmode.el (define-minor-mode):
2353 Relax :variable's test for a named function.
2354
2355 2012-01-31 Alan Mackenzie <acm@muc.de>
2356
2357 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2358 off by one error.
2359
2360 2012-01-31 Chong Yidong <cyd@gnu.org>
2361
2362 * frame.el (set-frame-font): New arg ALL-FRAMES.
2363
2364 * menu-bar.el (menu-set-font): Use set-frame-font.
2365
2366 * faces.el (face-spec-reset-face): Don't apply unspecified
2367 attribute values to the default face.
2368
2369 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2370
2371 * progmodes/cwarn.el (cwarn): Remove dead link.
2372 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2373 Remove * from defcustom docstrings.
2374 (turn-on-cwarn-mode): Make obsolete.
2375 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2376 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2377
2378 2012-01-31 Glenn Morris <rgm@gnu.org>
2379
2380 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2381 Fix :variable handling of mode a symbol not equal to modefun.
2382 Allow named functions to be used as the cdr of :variable.
2383
2384 2012-01-30 Glenn Morris <rgm@gnu.org>
2385
2386 * emacs-lisp/authors.el (authors-fixed-entries):
2387 Remove reference to deleted file rnewspost.el.
2388
2389 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2390
2391 * window.el (window-with-parameter): Remove unused variable `windows'.
2392 (window--side-check): Remove unused variable `code'.
2393 (window--resize-siblings): Remove unused variable `first'.
2394 (adjust-window-trailing-edge): Remove unused variable `failed'.
2395 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2396 Use `let', not `let*'.
2397 (balance-windows-2): Remove unused variable `found'.
2398 (window--state-put-2): Remove unused variable `splits'.
2399 (window-state-put): Remove unused variable `selected'.
2400 (same-window-p): Use `string-match-p'.
2401 (display-buffer-assq-regexp): Remove unused variable `value'.
2402 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2403 Mark argument ALIST as ignored.
2404 (pop-to-buffer): Remove unused variable `old-window'.
2405
2406 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2407
2408 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2409 and .lzma compressed files.
2410
2411 2012-01-29 Chong Yidong <cyd@gnu.org>
2412
2413 * frame.el (window-system-default-frame-alist): Doc fix.
2414
2415 * dynamic-setting.el (font-setting-change-default-font): Don't
2416 change the default face if SET-FONT argument is non-nil (Bug#9982).
2417
2418 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2419
2420 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2421
2422 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2423
2424 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2425 breakpoints in files outside current directory (Bug#6098).
2426
2427 2012-01-29 Chong Yidong <cyd@gnu.org>
2428
2429 * progmodes/python.el: Require ansi-color at top-level.
2430
2431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2432 Define and use in Emacs Lisp mode (Bug#9360).
2433 (lisp-mode-abbrev-table): Add doc.
2434 (lisp-mode-variables): Don't set local-abbrev-table.
2435 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2436
2437 2012-01-28 Roland Winkler <winkler@gnu.org>
2438
2439 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2440
2441 2012-01-28 Roland Winkler <winkler@gnu.org>
2442
2443 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2444 (bibtex-set-dialect): Use it. Either set global values of
2445 dialect-dependent variables or bind these variables buffer-locally
2446 (Bug#10254).
2447 (bibtex-mode): Call bibtex-set-dialect via
2448 hack-local-variables-hook.
2449 (bibtex-dialect): Update docstring.
2450 Add safe-local-variable predicate.
2451 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2452 bibtex-set-dialect.
2453 (bibtex-mode-map): Define menu for each dialect.
2454 (bibtex-entry): Fix docstring.
2455
2456 2012-01-28 Chong Yidong <cyd@gnu.org>
2457
2458 * eshell/esh-arg.el (eshell-quote-argument): New function.
2459
2460 * eshell/esh-ext.el (eshell-invoke-batch-file):
2461 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2462 first arg to eshell-parse-command (Bug#10523).
2463
2464 2012-01-28 Drew Adams <drew.adams@oracle.com>
2465
2466 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2467 `default-directory' is non-nil.
2468
2469 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2470
2471 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2472 line that displays system-configuration-options. (Bug#9924)
2473
2474 2012-01-28 Drew Adams <drew.adams@oracle.com>
2475
2476 * descr-text.el (describe-char): Show information about POS, in
2477 addition to information about the character at POS. Improve and
2478 update the doc string. Change "code point" to "code point in
2479 charset", to avoid confusion with the character's Unicode code
2480 point shown above that. (Bug#10129)
2481
2482 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2483
2484 * descr-text.el (describe-char): Show the raw character, not only
2485 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2486 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2487 for the reasons.
2488
2489 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2490
2491 * emacs-lisp/package.el (package-install):
2492 Run package-refresh-contents if there is no archive yet (Bug#9798).
2493
2494 2012-01-28 Chong Yidong <cyd@gnu.org>
2495
2496 * emacs-lisp/package.el (package-maybe-load-descriptor):
2497 New function, split from package-maybe-load-descriptor.
2498 (package-maybe-load-descriptor): Use it.
2499 (package-download-transaction): Fully load required packages
2500 inside the loop, so that `require' calls work (Bug#10593).
2501 (package-install): No need to call package-initialize now.
2502
2503 2012-01-28 Chong Yidong <cyd@gnu.org>
2504
2505 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2506
2507 * tooltip.el (tooltip-mode): Doc fix.
2508 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2509
2510 * frame.el (set-cursor-color): Doc fix (Bug#352).
2511
2512 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2513 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2514
2515 * cus-edit.el (custom-buffer-create-internal): Fix search button
2516 action (Bug#10542).
2517 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2518
2519 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2520
2521 * dired.el (dired-mark-files-regexp):
2522 Include any subdirectory components. (Bug#10445)
2523
2524 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2525
2526 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2527 Handle [host]:port syntax. (Bug#10533)
2528
2529 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2530
2531 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2532
2533 2012-01-26 Glenn Morris <rgm@gnu.org>
2534
2535 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2536 * term.el (term-raw-escape-map): Use Control-X-prefix.
2537 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2538
2539 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2540
2541 * window.el (window-state-get, window--state-get-1): Don't deal
2542 with fixed-sizeness of windows. Simplify code.
2543
2544 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2545
2546 * window.el (window--state-get-1, window--state-put-2):
2547 Don't save and restore the mark.
2548
2549 2012-01-25 Chong Yidong <cyd@gnu.org>
2550
2551 * custom.el (custom-variable-p): Doc fix.
2552
2553 2012-01-25 Glenn Morris <rgm@gnu.org>
2554
2555 * dired.el (dired-goto-file): Handle some of the more common
2556 characters that `ls -b' escapes. (Bug#10596)
2557
2558 * progmodes/compile.el (compilation-next-error-function):
2559 Respect compilation-first-column in the "*compilation*" buffer.
2560 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2561
2562 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2563
2564 2012-01-24 Glenn Morris <rgm@gnu.org>
2565
2566 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2567
2568 2012-01-24 Julien Danjou <julien@danjou.info>
2569
2570 * color.el (color-rgb-to-hsl): Fix value computing.
2571 (color-hue-to-rgb): New function.
2572 (color-hsl-to-rgb): New function.
2573 (color-clamp, color-saturate-hsl, color-saturate-name)
2574 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2575 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2576
2577 2012-01-24 Glenn Morris <rgm@gnu.org>
2578
2579 * vc/vc-rcs.el (vc-rcs-create-tag):
2580 * vc/vc-sccs.el (vc-sccs-create-tag):
2581 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2582
2583 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2584
2585 * eshell/esh-util.el (eshell-read-hosts-file):
2586 Skip comment lines. (Bug#10549)
2587
2588 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2589
2590 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2591
2592 * subr.el (display-delayed-warnings): Doc fix.
2593 (collapse-delayed-warnings): New function to collapse identical
2594 adjacent warnings.
2595 (delayed-warnings-hook): Add it.
2596
2597 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2598
2599 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2600
2601 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2602 properties, when "login-as" is set.
2603
2604 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2605 (tramp-default-user-alist): Don't add "pscp".
2606 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2607 property "login-as", if set. (Bug#10530)
2608
2609 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2612 "plink1" and "psftp". (Bug#10530)
2613
2614 2012-01-21 Kenichi Handa <handa@m17n.org>
2615
2616 * international/mule-cmds.el (prefer-coding-system): Show a
2617 warning message if the default value of file-name-coding-system
2618 was not changed.
2619
2620 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2621
2622 * windmove.el (windmove-reference-loc):
2623 Fix windmove-reference-loc miscalculation.
2624
2625 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2626
2627 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2628 default unit.
2629
2630 2012-01-21 Glenn Morris <rgm@gnu.org>
2631
2632 * international/mule.el (auto-coding-alist): Add .tbz.
2633
2634 * files.el (local-enable-local-variables): Doc fix.
2635 (inhibit-local-variables-regexps): Rename from
2636 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2637 Doc fix. Add some extensions from auto-coding-alist.
2638 (inhibit-local-variables-suffixes):
2639 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2640 (inhibit-local-variables-p):
2641 New function, extracted from set-auto-mode-1.
2642 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2643 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2644 (hack-local-variables): Doc fix. Make the mode-only case
2645 respect enable-local-variables and friends.
2646 Respect inhibit-local-variables-regexps for file-locals, but
2647 not for directory-locals.
2648 (set-visited-file-name):
2649 Take account of inhibit-local-variables-regexps.
2650 Whether it applies may change as the file name is changed.
2651 * jka-cmpr-hook.el (jka-compr-install):
2652 * jka-compr.el (jka-compr-uninstall):
2653 Update for inhibit-first-line-modes-suffixes name change.
2654
2655 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2656
2657 * help-macro.el (make-help-screen): Temporarily restore original
2658 binding for minor-mode-map-alist (Bug#10454).
2659
2660 2012-01-19 Julien Danjou <julien@danjou.info>
2661
2662 * color.el (color-name-to-rgb): Use the white color to find the max
2663 color component value and return correctly computed values.
2664 (color-name-to-rgb): Add missing float conversion for max value.
2665
2666 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2667
2668 * window.el (window--state-get-1, window-state-get): Do not use
2669 special state value for window-persistent-parameters.
2670 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2671 (window--state-put-2): Reset all window parameters to nil before
2672 assigning values of persistent parameters.
2673
2674 2012-01-18 Alan Mackenzie <acm@muc.de>
2675
2676 Eliminate sluggishness and hangs in fontification of "semicolon
2677 deserts".
2678
2679 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2680 Change value 10000 -> 3000.
2681 (c-state-safe-place): Reformulate so it doesn't stack up an
2682 infinite number of wrong entries in c-state-nonlit-pos-cache.
2683 (c-determine-limit-get-base, c-determine-limit): New functions to
2684 determine backward search limits disregarding literals.
2685 (c-find-decl-spots): Amend commenting.
2686 (c-cheap-inside-bracelist-p): New function which detects "={".
2687
2688 * progmodes/cc-fonts.el
2689 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2690 backward search.
2691 (c-font-lock-declarations): Fix an occurrence of point being
2692 undefined. Check additionally for point being in a bracelist or
2693 near a macro invocation without a semicolon so as to avoid a
2694 fruitless time consuming search for a declarator. Give a more
2695 precise search limit for declarators using the new
2696 c-determine-limit.
2697
2698 2012-01-18 Glenn Morris <rgm@gnu.org>
2699
2700 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2701 (set-auto-mode): Doc fixes.
2702
2703 2012-01-17 Glenn Morris <rgm@gnu.org>
2704
2705 * isearch.el (search-nonincremental-instead): Fix doc typo.
2706
2707 * dired.el (dired-insert-directory): Handle newlines in directory name.
2708 (dired-build-subdir-alist): Unescape newlines in directory name.
2709
2710 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2713 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2714 (tramp-action-terminal): Use it. (Bug#10530)
2715
2716 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2719
2720 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2721
2722 * window.el (window-state-ignored-parameters): Remove variable.
2723 (window--state-get-1): Rename argument MARKERS to IGNORE.
2724 Handle persistent window parameters. Make copy of clone-of
2725 parameter only if requested. (Bug#10348)
2726 (window--state-put-2): Install a window parameter only if it has
2727 a non-nil value or an existing parameter shall be overwritten.
2728
2729 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2730
2731 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2732
2733 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2734
2735 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2736 don't pass the (nil) value of `upnode' to string-match.
2737
2738 2012-01-14 Chong Yidong <cyd@gnu.org>
2739
2740 * startup.el (command-line): Fix X resource class for cursorColor.
2741 Fix values recognized by the cursorBlink resource.
2742
2743 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2744
2745 * epg.el (epg--make-temp-file): Avoid permission race condition
2746 when running on old Emacs versions (bug#10403).
2747
2748 2012-01-14 Glenn Morris <rgm@gnu.org>
2749
2750 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2751
2752 2012-01-13 Alan Mackenzie <acm@muc.de>
2753
2754 Fix filling for when filladapt mode is enabled.
2755
2756 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2757 c-mask-paragraph, pass in `fill-paragraph' rather than
2758 `fill-region-as-paragraph'. (This is a reversion of a previous
2759 change.)
2760 * progmodes/cc-mode.el (c-basic-common-init):
2761 Make fill-paragraph-handle-comment buffer local and set it to nil.
2762
2763 2012-01-13 Glenn Morris <rgm@gnu.org>
2764
2765 * dired.el (dired-switches-escape-p): New function.
2766 (dired-insert-directory): Use dired-switches-escape-p.
2767 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2768
2769 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2770
2771 2012-01-12 Glenn Morris <rgm@gnu.org>
2772
2773 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2774 changes in adaptive-fill-regexp. (Bug#10276)
2775
2776 2012-01-11 Alan Mackenzie <acm@muc.de>
2777
2778 Fix Emacs bug #10463 - put `widen's around the critical spots.
2779
2780 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2781 widen around each invocation of c-state-pp-to-literal. Remove an
2782 unused let variable.
2783
2784 2012-01-11 Glenn Morris <rgm@gnu.org>
2785
2786 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2787 Doc fix.
2788
2789 2012-01-10 Chong Yidong <cyd@gnu.org>
2790
2791 * net/network-stream.el (network-stream-open-starttls):
2792 Avoid emitting a confusing error message when the server gives a bad
2793 response to the capability command.
2794
2795 2012-01-10 Glenn Morris <rgm@gnu.org>
2796
2797 * mail/unrmail.el (unrmail): Tweak previous change.
2798
2799 2012-01-09 Chong Yidong <cyd@gnu.org>
2800
2801 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2802
2803 2012-01-08 Alan Mackenzie <acm@muc.de>
2804
2805 Optimise font locking in long enum definitions.
2806
2807 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2808 arm to a cond form to handle enums.
2809 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2810 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2811
2812 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2813
2814 * files.el (move-file-to-trash): Preserve default file modes on error.
2815 (Bug#10401)
2816
2817 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2818
2819 * faces.el (set-face-attribute): Clarify the meaning of the nil
2820 frame (bug#10294).
2821
2822 * subr.el (with-selected-frame): Mention that the selected frame
2823 is restored (bug#9980).
2824
2825 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2826 (bug#9759).
2827
2828 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2829 (password-read): Don't autoload unused function.
2830
2831 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2832
2833 * progmodes/which-func.el (which-func-mode): Turn into a
2834 non-interactive function and mark as obsolete (bug#10428).
2835
2836 2012-01-06 Chong Yidong <cyd@gnu.org>
2837
2838 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2839 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2840 functions, along with 1 and -1.
2841
2842 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2843
2844 * time.el (display-time-load-average)
2845 (display-time-default-load-average): Doc fixes. See the thread
2846 starting at
2847 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2848 for the details.
2849
2850 2012-01-06 Glenn Morris <rgm@gnu.org>
2851
2852 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2853 has no messages. (Bug#10377)
2854
2855 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2856 than Info-edit. (Bug#10385)
2857
2858 * time.el (display-time-load-average, display-time-next-load-average):
2859 Doc fixes.
2860
2861 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2862 local setting of buffer-read-only to the input buffer. (Bug#10419)
2863
2864 * calendar/calendar.el (calendar-mode):
2865 Locally set scroll-margin to 0. (Bug#10379)
2866
2867 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2868
2869 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2870
2871 2012-01-05 Glenn Morris <rgm@gnu.org>
2872
2873 * eshell/em-unix.el (diff-no-select): Autoload it.
2874 (eshell/diff): Use diff-no-select. (Bug#10420)
2875
2876 2012-01-05 Chong Yidong <cyd@gnu.org>
2877
2878 * shell.el (shell-dynamic-complete-functions): Revert last change.
2879 (shell-command-completion-function): New function.
2880 (shell-completion-vars): Use it to implement
2881 shell-completion-execonly (Bug#10417).
2882
2883 * custom.el (enable-theme): Don't set custom-safe-themes.
2884
2885 * cus-theme.el (custom-theme-merge-theme):
2886 Ignore custom-enabled-themes and custom-safe-themes.
2887
2888 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2889
2890 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2891 first prompt in `sql-interacive-mode'.
2892 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2893 keywords.
2894 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2895 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2896 context of original buffer. Invoke `sql-login-hook'.
2897
2898 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2899
2900 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2901 letters in cite-prefix.
2902
2903 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2904
2905 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2906
2907 2012-01-03 Chong Yidong <cyd@gnu.org>
2908
2909 * shell.el (shell-dynamic-complete-functions):
2910 Put pcomplete-completions-at-point, so as to try
2911 comint-filename-completion first (Bug#10417).
2912
2913 2012-01-02 Richard Stallman <rms@gnu.org>
2914
2915 * battery.el (battery-status-function):
2916 Detect when to use battery-yeeloong-sysfs.
2917 (battery-echo-area-format): Add string for Yeeloong.
2918 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2919 (battery-yeeloong-sysfs): New function.
2920
2921 2012-01-02 Chong Yidong <cyd@gnu.org>
2922
2923 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2924 (dirtrack): Merge code for handling relative filenames in prompt
2925 from shell-dir-cookie-watcher.
2926 (dirtrack-debug-message): New arg to avoid excess format calls.
2927
2928 * shell.el (shell-dir-cookie-re): Variable deleted.
2929 (shell-dir-cookie-watcher): Function deleted.
2930 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2931 with dirtrack-mode.
2932
2933 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2934
2935 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2936 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2937 libgnutls-26.dll.
2938
2939 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2940
2941 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2942
2943 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2944
2945 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2946 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2947
2948 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2949
2950 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2951 also for alternative shells.
2952 (tramp-open-connection-setup-interactive-shell): Check, whether
2953 the shell is a busybox.
2954 (tramp-send-command): Don't suppress multiple prompts for
2955 busyboxes, it hurts.
2956
2957 2011-12-28 Chong Yidong <cyd@gnu.org>
2958
2959 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2960 (gdb-get-source-file): Move mode line update to
2961 gdb-get-source-file (Bug#10087).
2962
2963 2011-12-25 Chong Yidong <cyd@gnu.org>
2964
2965 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2966 gud-gdb-marker-filter without taking it as an argument.
2967 (gud-gdb-run-command-fetch-lines): Caller changed.
2968 (gud-gdb-completion-function): New variable.
2969 (gud-gdb-completion-at-point): Use it.
2970 (gud-gdb-completions-1): Split from gud-gdb-completions.
2971
2972 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2973 function as separate arguments.
2974 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2975 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2976 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2977 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2978 (gdb-stopped, def-gdb-auto-update-trigger)
2979 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2980 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2981 Callers changed.
2982 (gud-gdbmi-completions): New function.
2983 (gdb): Use it for generating the completion table.
2984
2985 2011-12-24 Alan Mackenzie <acm@muc.de>
2986
2987 Introduce a mechanism to widen the region used in context font
2988 locking. Use this to protect declarations from losing their contexts.
2989
2990 * progmodes/cc-langs.el (c-before-font-lock-functions):
2991 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2992 (c-before-context-fontification-functions): New defvar, a list of
2993 functions to be run just before context (etc.) font locking.
2994
2995 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2996 New, functionality extracted from
2997 c-neutralize-syntax-in-and-mark-CPP.
2998 (c-in-after-change-fontification): New variable.
2999 (c-after-change): Set c-in-after-change-fontification.
3000 (c-set-fl-decl-start): Rejig its interface, so it can be called
3001 from both after-change and context fontifying.
3002 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3003 New functions.
3004 (c-standard-font-lock-fontify-region-function): New variable.
3005 (c-font-lock-fontify-region): New function.
3006
3007 2011-12-24 Juri Linkov <juri@jurta.org>
3008
3009 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3010 (Bug#10348)
3011
3012 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3013
3014 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3015 existence of source file. (Bug#10325)
3016
3017 2011-12-23 Alan Mackenzie <acm@muc.de>
3018
3019 Fix unstable fontification inside templates.
3020
3021 * progmodes/cc-langs.el (c-before-font-lock-functions):
3022 Newly created from the singular version. The (c c++ objc) entry now
3023 additionally has c-set-fl-decl-start. The other languages (apart
3024 from AWK) have that as a single entry.
3025
3026 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3027 The functionality for "local" declarations has been extracted to
3028 c-set-fl-decl-start.
3029
3030 * progmodes/cc-mode.el (c-common-init, c-after-change):
3031 Changes due to pluralisation of c-before-font-lock-functions.
3032 (c-set-fl-decl-start): New function, extracted from
3033 c-font-lock-enclosing-decls and enhanced.
3034
3035 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3036
3037 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3038
3039 2011-12-22 Juri Linkov <juri@jurta.org>
3040
3041 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3042
3043 2011-12-22 Chong Yidong <cyd@gnu.org>
3044
3045 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3046
3047 2011-12-21 Drew Adams <drew.adams@oracle.com>
3048
3049 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3050
3051 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3052
3053 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3054
3055 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3056
3057 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3058 highlighting and support. Fix up comments for capitalization.
3059 (cfengine-mode-debug): New var.
3060 (cfengine3-mode): Change the modeline indicator to "CFE3".
3061 (cfengine3-font-lock-keywords): Improve defun highlighting.
3062 (cfengine2-actions): Rename from `cfengine-actions'.
3063 (cfengine2-font-lock-keywords): Rename from
3064 `cfengine-font-lock-keywords'.
3065 (cfengine2-imenu-expression): Rename from
3066 `cfengine-imenu-expression'.
3067 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3068 (cfengine2-beginning-of-defun): Rename from
3069 `cfengine-beginning-of-defun'.
3070 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3071 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3072 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3073 modeline indicator to "CFE2".
3074 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3075 (cfengine-mode-abbrevs): Mark obsolete.
3076
3077 2011-12-21 Chong Yidong <cyd@gnu.org>
3078
3079 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3080 filename argument.
3081
3082 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3083
3084 * window.el (window-normalize-buffer-to-display): Remove.
3085 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3086
3087 2011-12-19 Chong Yidong <cyd@gnu.org>
3088
3089 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3090 Don't signal an error in a predicate function; return non-nil.
3091 (vc-dir-mark-file): Move the error here.
3092 (vc-dir-mark-unmark): If acting on the region, keep going if one
3093 of the entries cannot be marked/unmarked.
3094 (vc-dir-mark-all-files): If current entry is a directory, mark
3095 only child files, as documented.
3096
3097 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3098
3099 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3100 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3101 addition.
3102
3103 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3104
3105 * term/ns-win.el (ns-get-selection-internal)
3106 (ns-store-selection-internal): Declare.
3107 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3108 Declare as obsolete.
3109 (ns-get-pasteboard, ns-paste-secondary):
3110 Use ns-get-selection-internal.
3111 (ns-set-pasteboard, ns-copy-including-secondary):
3112 Use ns-store-selection-internal.
3113
3114 2011-12-17 Chong Yidong <cyd@gnu.org>
3115
3116 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3117 (vc-deduce-fileset): Doc fix.
3118
3119 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3120
3121 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3122
3123 2011-12-13 Sam Steingold <sds@gnu.org>
3124
3125 * man.el (Man-getpage-in-background): When running under a
3126 window-system, ignore $MANWIDTH and $COLUMNS.
3127
3128 2011-12-15 Kenichi Handa <handa@m17n.org>
3129
3130 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3131 (setup-ethiopic-environment-internal): Comment out key-binding for
3132 ethio-toggle-punctuation.
3133
3134 2011-12-13 Alan Mackenzie <acm@muc.de>
3135
3136 Add the switch statement to AWK Mode.
3137
3138 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3139 "default" to the keywords regexp.
3140
3141 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3142 expression as the rest.
3143 (c-nonlabel-token-key): Allow string literals for AWK.
3144 Refactor for the other modes.
3145
3146 Large brace-block initialisation makes CC Mode slow: Fix.
3147 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3148 routines. Limit backward searching in c-font-lock-enclosing.decl.
3149
3150 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3151 pp-state and literal type in addition to the limits.
3152 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3153 (c-state-literal-at): Use the above new defun.
3154 (c-slow-in-literal, c-fast-in-literal): Remove.
3155 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3156
3157 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3158 being in a literal. Add a limit for backward searching.
3159
3160 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3161 c-slow-in-literal.
3162
3163 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3166
3167 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3168
3169 * window.el (delete-other-windows): Use correct frame in call to
3170 window-with-parameter.
3171
3172 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3173
3174 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3175 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3176 (makefile-gmake-statements, makefile-makepp-statements):
3177 Use it and add new makepp keywords.
3178 (makefile-makepp-font-lock-keywords): Add new patterns.
3179 (makefile-match-function-end): Match new [...] and [[...]].
3180
3181 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3182
3183 * ses.el (ses-call-printer-return, ses-cell-property-get)
3184 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3185 (ses-create-cell-variable, ses-reset-header-string)
3186 (ses-cell-set-formula, ses-repair-cell-reference-all)
3187 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3188 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3189 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3190 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3191 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3192 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3193 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3194 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3195 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3196 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3197 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3198 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3199
3200 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3201
3202 * ses.el: The overall change is to add cell renaming, that is
3203 setting fancy names for cell symbols other than name matching
3204 "\\`[A-Z]+[0-9]+\\'" regexp .
3205 (ses-create-cell-variable): New defun.
3206 (ses-relocate-formula): Relocate formulas only for cells the
3207 symbols of which are not renamed, i.e. symbols whose names do not
3208 match regexp "\\`[A-Z]+[0-9]+\\'".
3209 (ses-relocate-all): Relocate values only for cells the symbols of
3210 which are not renamed.
3211 (ses-load): Create cells variables as the (ses-cell ...) are read,
3212 in order to check row col consistency with cell symbol name only
3213 for cells that are not renamed.
3214 (ses-replace-name-in-formula): New defun.
3215 (ses-rename-cell): New defun.
3216
3217 2011-12-11 Chong Yidong <cyd@gnu.org>
3218
3219 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3220 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3221
3222 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3223
3224 * window.el (other-window): Fix docstring.
3225
3226 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3227
3228 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3229 `from' or `to' address before taking its substring.
3230 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3231 encoded name is chopped in the middle of the encoded string, and
3232 thus displayed encoded.
3233
3234 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3237
3238 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3239
3240 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3241 to use texinfo-update-node and commands that call it if the
3242 Texinfo file uses @node lines without next/prev/up pointers.
3243 Correct outdated description about texinfo-master-menu.
3244 (texinfo-all-menus-update, texinfo-master-menu)
3245 (texinfo-update-node, texinfo-every-node-update)
3246 (texinfo-multiple-files-update): Doc fix. Warn against updating
3247 all the @node lines.
3248 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3249 argument is numeric. Explain better in the doc string what the
3250 function really does.
3251 (texinfo-insert-master-menu-list): Improve the error message
3252 displayed if there's no menu in the Top node.
3253 (Bug#2975) See also this thread:
3254 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3255
3256 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3257
3258 * speedbar.el (speedbar-supported-extension-expressions):
3259 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3260
3261 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3262
3263 * printing.el (pr-mode-alist):
3264 * simple.el (filter-buffer-substring-functions)
3265 (completion-list-insert-choice-function):
3266 * window.el (window-with-parameter, window-atom-root)
3267 (window-sides-slots, window-size-fixed, window-min-delta)
3268 (window-max-delta, window--resize-mini-window)
3269 (window--resize-child-windows-normal, window-tree)
3270 (delete-other-windows, quit-window, split-window)
3271 (display-buffer-record-window, special-display-buffer-names)
3272 (special-display-regexps, special-display-popup-frame)
3273 (same-window-p, split-window-sensibly)
3274 (display-buffer-overriding-action, display-buffer-alist)
3275 (display-buffer-base-action, display-buffer, switch-to-buffer)
3276 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3277 (fit-window-to-buffer, recenter-positions)
3278 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3279 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3280 and remove unneeded backslashes in docstrings.
3281
3282 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3285
3286 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3287 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3288 end in ".mk".
3289 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3290 when reading the makefile (bug#10116).
3291
3292 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3295 (bug#10116).
3296
3297 2011-12-06 Glenn Morris <rgm@gnu.org>
3298
3299 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3300
3301 2011-12-06 Chong Yidong <cyd@gnu.org>
3302
3303 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3304
3305 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3306
3307 * textmodes/table.el (table-shorten-cell): Fix typo.
3308
3309 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3310
3311 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3312
3313 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3314
3315 * descr-text.el (describe-char): Fix display of strong
3316 right-to-left characters and directional embeddings and overrides.
3317
3318 * simple.el (what-cursor-position): Fix display of codepoints of
3319 strong right-to-left characters.
3320
3321 2011-12-05 Chong Yidong <cyd@gnu.org>
3322
3323 * faces.el (read-color): Doc fix.
3324
3325 2011-12-05 Glenn Morris <rgm@gnu.org>
3326
3327 * align.el (align--set-marker): Add doc-string.
3328 Don't try to move something that is not a marker. (Bug#10216)
3329
3330 2011-12-04 Glenn Morris <rgm@gnu.org>
3331
3332 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3333 overly zealous deletion of trailing whitespace.
3334
3335 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3336
3337 * server.el (server-delete-client): On Windows, do not try to delete
3338 the only terminal.
3339 (server-process-filter): On Windows, treat requests for a tty frame as
3340 if they were for a GUI frame if the running server is in GUI mode.
3341
3342 2011-12-03 Glenn Morris <rgm@gnu.org>
3343
3344 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3345
3346 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * electric.el: Streamline electric-indent's hook.
3349 (electric-indent-chars): Revert to simple list.
3350 (electric-indent-functions): New var.
3351 (electric-indent-post-self-insert-function): Use it.
3352
3353 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3354 there's no inferior buffer (bug#10196).
3355 (prolog-consult-compile): Don't use toggle-read-only.
3356
3357 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3358
3359 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3360 interrupt. (Bug#10187)
3361
3362 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3365 (bug#9160).
3366
3367 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3368 (bug#10191).
3369
3370 2011-12-02 Juri Linkov <juri@jurta.org>
3371
3372 * info.el (Info-search): Display "end of manual" when Isearch
3373 reaches the end of single-file Info manual. (Bug#9918)
3374
3375 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3376
3377 * isearch.el (isearch-message-prefix): Run the input method part
3378 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3379
3380 2011-12-02 Juri Linkov <juri@jurta.org>
3381
3382 * isearch.el (isearch-occur): Use `word-search-regexp' for
3383 `isearch-word'.
3384 (isearch-search-and-update): Add condition for `isearch-word' and
3385 call `word-search-regexp'. (Bug#10145)
3386
3387 2011-12-01 Glenn Morris <rgm@gnu.org>
3388
3389 * eshell/em-hist.el (eshell-hist-initialize):
3390 Handle eshell-history-size nil and HISTSIZE set or unset.
3391 (eshell-history-file-name, eshell-history-size): Fix custom type.
3392
3393 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3396
3397 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3398
3399 * progmodes/verilog-mode.el (verilog-pretty-expr):
3400 Rework verilog-pretty-expr to handle new assignment operators in system
3401 verilog, such as += *= and the like.
3402 (verilog-assignment-operator-re): Regular expression to find the
3403 assigment operator in a verilog assignment.
3404 (verilog-assignment-operation-re): Regular expression to find an
3405 assignment statement for pretty-expr.
3406 (verilog-in-attribute-p): Query returns true if point is in an
3407 attribute context; used to skip these for expression line up from
3408 pretty-expr.
3409 (verilog-in-parameter-p): Query returns true if point is in an
3410 parameter definition context; used to skip these for expression
3411 line up from pretty-expr.
3412 (verilog-in-parenthesis-p): Query returns true if point is in a
3413 parenthetical expression, specifically ( ) but not [ ] or { };
3414 used by pretty-expr.
3415 (verilog-just-one-space): If there is no space, don't add one.
3416 (verilog-get-lineup-indent-2): Specifically skip just attribute
3417 contexts for expression lineup, rather than skipping all
3418 parenthetical expressions.
3419 (verilog-calculate-indent): Fix comment, and fix indent.
3420 (verilog-do-indent): Indent declarations in lists (suggested by
3421 Joachim Lechner).
3422 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3423 skeleton items.
3424 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3425 by Alain Mellan).
3426
3427 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3428
3429 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3430 parameters with embedded comments. Reported by Ray Stevens.
3431 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3432 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3433 Reported by Tim Holt.
3434 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3435 instantiated by upper module causing wrong expansion until AUTOed a
3436 second time. Reported by K C Buckenmaier.
3437 (verilog-diff-auto): Fix showing .* as a difference when
3438 `verilog-auto-star-save' off. Reported by Dan Dever.
3439 (verilog-auto-reset, verilog-read-always-signals)
3440 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3441 temporary signals in reset list if
3442 verilog-auto-reset-blocking-in-non is nil, and match assignment
3443 style to each signal's assignment type, bug381.
3444 Reported by Thomas Esposito.
3445 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3446 (verilog-uvm-statement-re): Support UVM indentation and
3447 highlighting, with old OVM keywords only.
3448 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3449 Support AUTOTIEOFF creating non-wire data types.
3450 Suggested by Jonathan Greenlaw.
3451 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3452 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3453 (verilog-inject-sense, verilog-read-inst-pins)
3454 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3455 Fix mismatching parenthesis inside commented out code when deleting
3456 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3457 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3458 non-numeric vector width. Reported by Alex Reed.
3459 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3460 detecting signals with parameter widths. Reported by Alex Reed.
3461 (verilog-auto-delete-trailing-whitespace):
3462 With `verilog-auto-delete-trailing-whitespace' remove trailing
3463 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3464 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3465 Fix verilog-scan-cache corruption when running user AUTO expansion
3466 hooks that call indentation routines.
3467 (verilog-simplify-range-expression): Fix typo ignoring lower case
3468 identifiers.
3469 (verilog-delete-auto): Fix delete-autos to also remove user created
3470 automatics, as long as they start with AUTO.
3471 (verilog-batch-diff-auto, verilog-diff-auto)
3472 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3473 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3474 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3475 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3476 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3477 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3478 is disabled and its cache will get corrupt, causing AUTOS not to
3479 expand. Instead use only -quick functions.
3480 (verilog-scan-region): Fix scanning over escaped quotes.
3481 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3482 (verilog-re-search-backward-quick)
3483 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3484 related functions now ignore strings, to fix misparsing of strings
3485 with magic comments embedded in them.
3486 (verilog-read-auto-template):
3487 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3488 Reported by Brad Dobbie.
3489 (verilog-read-auto-template):
3490 Fix 'verilog-auto-inst-template-numbers' with comments.
3491 Reported by Brad Dobbie.
3492 (verilog-auto-inst, verilog-auto-inst-param)
3493 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3494 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3495 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3496 debugging templates without merge conflicts, bug357.
3497 Reported by Brad Dobbie.
3498 (verilog-read-auto-template):
3499 Fix verilog-auto-inst-template-numbers with multiple templates.
3500 Reported by Brad Dobbie.
3501 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3502 abbrevs so user won't be asked to save.
3503 (verilog-read-auto-lisp-present): Fix to start at beginning of
3504 buffer in case called outside of verilog-auto.
3505 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3506 to "X-2". Reported by Matthew Myers.
3507 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3508 all inputs from module templates. Reported by Leith Johnson.
3509 (verilog-module-inside-filename-p): Fix locating programs as with
3510 modules.
3511 (verilog-auto-inst-port): Fix vl-width expressions when using
3512 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3513 (verilog-decls-get-regs, verilog-decls-get-signals,
3514 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3515 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3516 verilog-read-decls): Combine reg and wire structures into one var
3517 structure to represent SystemVerilog concepts.
3518 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3519 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3520 (verilog-auto-wire-type, verilog-insert-definition):
3521 Add verilog-auto-wire-type and AUTOLOGIC to support using
3522 SystemVerilog "logic" keyword instead of "wire"/"reg".
3523 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3524 to declares outputs that also have assignments (presumably in an
3525 ifdef or generate if so there's not a driver conflict).
3526 Reported by Matthew Myers.
3527 (verilog-auto-declare-nettype, verilog-insert-definition):
3528 Add verilog-auto-declare-nettype to fix declarations using
3529 `default_nettype none. Reported by Julian Gorfajn.
3530 (verilog-read-always-signals-recurse, verilog-read-decls)
3531 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3532 malformed end statement, bug325. Reported by Joshua Wise and
3533 Andrew Drake.
3534 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3535 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3536 when expanding .* in interfaces, bug320.
3537 Reported by Pierre-David Pfister.
3538 (verilog-read-module-name): Fix import statements between module
3539 name and open parenthesis, bug317.
3540 Reported by Pierre-David Pfister.
3541 (verilog-simplify-range-expression): Fix simplification of
3542 multiplications inside AUTOWIRE connections, bug303.
3543 (verilog-auto-inst-port): Support parameter expansion in
3544 multidimensional arrays.
3545 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3546 after "assert property". Reported by Julian Gorfajn.
3547 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3548 with multiplication, bug303.
3549 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3550 Reported by Jan Frode Lonnum.
3551
3552 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3555 (hfy-shell-file-name, hfy-shell):
3556 * international/fontset.el (x-decompose-font-name): Fix typos.
3557
3558 2011-11-29 Ken Brown <kbrown@cornell.edu>
3559
3560 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3561 (gdb-version): Remove defvar.
3562 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3563 (gdb-gud-context-command, gdb-non-stop-handler)
3564 (gdb-current-context-command, gdb-stopped): Use it.
3565 (gdb-init-1): Enable pretty printing here.
3566 (gdb-non-stop-handler): Don't enable pretty-printing here.
3567 Check to see if the target supports non-stop mode; if not, turn off
3568 non-stop mode. Use the following.
3569 (gdb-check-target-async): New defun.
3570 (gud-watch, gdb-stopped): Fix whitespace.
3571 (gdb-get-source-file): Don't try to display the source file if
3572 `gdb-main-file' is nil.
3573
3574 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * align.el: Try to generate fewer markers (bug#10047).
3577 (align--set-marker): New macro.
3578 (align-region): Use it.
3579
3580 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3583
3584 2011-11-29 Chong Yidong <cyd@gnu.org>
3585
3586 * indent.el (indent-for-tab-command, indent-according-to-mode):
3587 Doc fix.
3588 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3589
3590 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3591
3592 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3593 aware of remote file names. (Bug#10124)
3594
3595 2011-11-29 Chong Yidong <cyd@gnu.org>
3596
3597 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3598
3599 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * files.el (find-file): Don't use force-same-window (bug#10144).
3602 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3603 use pop-to-buffer if the selected window can't be used.
3604 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3605
3606 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3607
3608 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3609 special-mode-map.
3610
3611 2011-11-28 Chong Yidong <cyd@gnu.org>
3612
3613 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3614
3615 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3616
3617 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3618 gdb-get-source-file-list on gdb-create-source-file-list.
3619
3620 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3621
3622 * whitespace.el (whitespace-newline): Use a different foreground
3623 color for 16-color light-background displays.
3624
3625 2011-11-24 Chong Yidong <cyd@gnu.org>
3626
3627 * window.el (display-buffer--special-action): Doc fix.
3628
3629 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3630
3631 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3632 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3633 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3634 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3635 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3636 (avl-tree-stack-first):
3637 * emacs-lisp/cconv.el (cconv--analyse-use):
3638 * net/gnutls.el (gnutls-negotiate): Fix typos.
3639
3640 2011-11-24 Glenn Morris <rgm@gnu.org>
3641
3642 * lpr.el (lpr-windows-system, lpr-lp-system):
3643 * mail/binhex.el (binhex-begin-line):
3644 * progmodes/grep.el (grep-history, grep-find-history):
3645 * textmodes/flyspell.el:
3646 * vc/pcvs-defs.el (cvs-global-menu):
3647 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3648 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3649 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3650
3651 * net/tls.el: Fix case of "GnuTLS".
3652
3653 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3654
3655 * version.el (emacs-build-system): Give it a doc-string.
3656
3657 2011-11-24 Juri Linkov <juri@jurta.org>
3658
3659 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3660
3661 2011-11-24 Glenn Morris <rgm@gnu.org>
3662
3663 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3664 if called on a non-mime message just toggle the headers. (Bug#8006)
3665
3666 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3667
3668 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3669 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3670 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3671 (allout-rebullet-heading, allout-open-sibtopic)
3672 (allout-toggle-current-subtree-encryption)
3673 (allout-toggle-subtree-encryption, allout-encrypt-string)
3674 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3675 (allout-distinctive-bullets-string, allout-auto-activation):
3676 * window.el (window-normalize-buffer-to-display):
3677 * progmodes/verilog-mode.el (verilog-batch-indent):
3678 * textmodes/bibtex.el (bibtex-field-braces-opt)
3679 (bibtex-field-strings-opt):
3680 * vc/cvs-status.el (cvs-tree-merge):
3681 Fix typos.
3682
3683 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3686 `non-essential' to t, in order to avoid remote connections.
3687
3688 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3689
3690 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3691 On MS-DOS and MS-Windows, compare with loaddefs.el
3692 case-insensitively.
3693
3694 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3695
3696 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3697
3698 2011-11-23 Glenn Morris <rgm@gnu.org>
3699
3700 * paths.el (rmail-file-name): Reformat the doc-string so that it
3701 is picked up.
3702
3703 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3704 (rmail-auto-file): Ignore case in the "special" field names,
3705 as mail-fetch-field does for all others.
3706
3707 * mail/rmail.el (rmail-forward):
3708 * mail/rmailkwd.el (rmail-set-label):
3709 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3710 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3711
3712 * mail/rmail.el (rmail-current-message): Doc fix.
3713
3714 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3715
3716 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3719
3720 2011-11-22 Glenn Morris <rgm@gnu.org>
3721
3722 * mail/rmailmm.el (test-rmail-mime-handler)
3723 (test-rmail-mime-bulk-handler)
3724 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3725
3726 2011-11-21 Juri Linkov <juri@jurta.org>
3727
3728 * calc/calc.el (calc-read-key-sequence):
3729 Let-bind `input-method-function' to nil. (Bug#10018)
3730
3731 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3732
3733 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3734 Tell the caller that the next line needs recomputation, even
3735 though it doesn't start a sexp (bug#10094).
3736
3737 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3740
3741 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3744 Use force-same-window.
3745
3746 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3747
3748 * descr-text.el (describe-char-unicode-data):
3749 * json.el (json-string-escape):
3750 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3751 (Footnote-unicode, Footnote-style-p):
3752 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3753
3754 2011-11-20 Chong Yidong <cyd@gnu.org>
3755
3756 * window.el (replace-buffer-in-windows): Restore interactive spec.
3757
3758 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3761
3762 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3763 (byte-compile-global-not-obsolete-vars): New var.
3764 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3765 Use it.
3766 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3767
3768 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3769
3770 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3771 * progmodes/pascal.el (electric-pascal-equal):
3772 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3773 * xml.el (xml-substitute-special): Fix typos.
3774
3775 2011-11-20 Glenn Morris <rgm@gnu.org>
3776
3777 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3778 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3779 Doc fixes.
3780 (rmail-decode-mime-charset): Mark as obsolete.
3781
3782 * mail/rmailsum.el (rmail-message-regexp-p-1):
3783 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3784 Before using mime functions, check they are set. (Bug#10077)
3785
3786 2011-11-19 Juri Linkov <juri@jurta.org>
3787
3788 * info.el (Info-finder-find-node): Use `package--builtins' instead
3789 of `package-alist'. Use node names formed by the pattern "Keyword "
3790 and the keyword name.
3791
3792 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3793
3794 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3795
3796 2011-11-19 Juri Linkov <juri@jurta.org>
3797
3798 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3799 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3800 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3801 `old-history', `old-history-forward'. Add let-binding
3802 `window-selected'. Remove calls to `kill-buffer',
3803 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3804 before calling `Info-find-node', so `Info-find-node-2' will reread
3805 the Info file. Restore window positions only when `window-selected'
3806 is non-nil.
3807
3808 2011-11-19 Juri Linkov <juri@jurta.org>
3809
3810 * isearch.el (isearch-lazy-highlight-new-loop):
3811 Remove condition `(not isearch-error)'. (Bug#9918)
3812
3813 * misearch.el (multi-isearch-search-fun): Add condition
3814 `(not bound)' to ignore lazy-highlighting search.
3815 Add the search-failed message "end of multi" when the end of
3816 multi-sequence is reached. Uncapitalize the search-failed
3817 message "Repeat for next buffer".
3818
3819 * info.el (Info-search): Add the search-failed message
3820 "end of the manual" when the end of the manual is reached
3821 in Isearch mode.
3822
3823 2011-11-19 Juri Linkov <juri@jurta.org>
3824
3825 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3826 Use non-destructive `remove' instead of `delete' because
3827 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3828 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3829
3830 2011-11-19 Juri Linkov <juri@jurta.org>
3831
3832 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3833 to nil instead of binding `search-ring' and `regexp-search-ring'.
3834 (Bug#9185)
3835
3836 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3837
3838 * simple.el (line-move): Force movement by logical lines for any
3839 hscrolled window, not only when auto-hscroll-mode is on.
3840 (line-move-visual): Update doc string to that effect. (Bug#10076)
3841
3842 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3843
3844 * language/european.el (macintosh): Define as alias for mac-roman.
3845
3846 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3847
3848 * mail/rmailmm.el (rmail-mime-display-header)
3849 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3850 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3851 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3852 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3853 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3854 of a raw aref.
3855 (rmail-mime-entity-segment): To get past the tagline, move forward
3856 2 more lines, to account for the 2 empty lines that precede and
3857 follow the line with the buttons.
3858 (rmail-mime-update-tagline): Move one more line, to get past the
3859 empty line that follows the buttons in the tagline. (Bug#9520)
3860
3861 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3862
3863 * window.el (window-max-delta-1, window-min-delta-1)
3864 (window-min-size-1, window-state-get-1, window-state-put-1)
3865 (window-state-put-2): Use "window--" prefix.
3866
3867 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3870 (smie-warning-count): New var.
3871 (smie-set-prec2tab): Use it.
3872 (smie-bnf->prec2): Improve warnings. Add docstring.
3873 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3874 (smie-bnf--set-class): New function.
3875 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3876 corner case.
3877
3878 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3879 (compilation-error-properties, compilation-move-to-column):
3880 Handle compilation-first-column while in the target buffer.
3881
3882 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3883 Don't hardcode point-min==1.
3884
3885 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3886 (eshell-rewrite-for-command): Remove workaround.
3887 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3888 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3889 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3890
3891 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3892
3893 2011-11-17 Glenn Morris <rgm@gnu.org>
3894
3895 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3896 Ignore buffer-local generated-autoload-file if it is the same
3897 as the global value. (Bug#10049)
3898
3899 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3900
3901 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3902 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3903 (reftex-toc-previous-heading, reftex-toc-max-level)
3904 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3905 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3906 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3907 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3908 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3909 (reftex-toc-rename-label, reftex-toc-visit-location)
3910 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3911 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3912 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3913 leaving "*toc*" only for references to the buffer.
3914
3915 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3916
3917 * window.el (window-resize, delete-window, split-window):
3918 Replace window-splits by window-combination-resize.
3919 * cus-start.el (window-splits): Replace by window-combination-resize.
3920
3921 2011-11-17 Glenn Morris <rgm@gnu.org>
3922
3923 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3924 Make bash entry derive from sh entry, not shell entry.
3925
3926 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3927
3928 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3929 properties of linked files. (Bug#9879)
3930
3931 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3932 local file name.
3933
3934 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3935
3936 * menu-bar.el (menu-bar-file-menu):
3937 * printing.el (pr-ps-utility):
3938 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3939 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3940 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3941 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3942 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3943 (icalendar--convert-cyclic-to-ical)
3944 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3945 (icalendar--convert-ical-to-diary)
3946 (icalendar--convert-recurring-to-diary)
3947 (icalendar--convert-non-recurring-all-day-to-diary)
3948 (icalendar-import-format-sample):
3949 * progmodes/idlw-shell.el (idlwave-shell-mode):
3950 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3951 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3952 (vhdl-ps-print-init): Fix typos.
3953
3954 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3955
3956 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3957 FSF and collapse date sequence, obscure author/maintainer email address
3958 better, remove extra version line, track relocation of author's webpage.
3959
3960 * progmodes/python.el (python-pdbtrack-input-prompt)
3961 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3962 regular python pdb prompts. Adjustments shamelessly taken exactly as
3963 suggested in EmacsWiki page (tiny change):
3964 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3965
3966 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3967
3968 * expand.el (expand-pos, expand-index, expand-point):
3969 Remove redundant info from docstring.
3970 (expand-add-abbrevs): Doc fix.
3971 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3972 (expand-sample-perl-mode-expand-list): Fix typos.
3973
3974 * net/dbus.el (dbus-event-member-name):
3975 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3976 * term/pc-win.el (msdos-create-frame-with-faces):
3977 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3978
3979 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3980
3981 * window.el (split-window, window-state-get-1)
3982 (window-state-put-1, window-state-put-2): Rename occurrences of
3983 window-nest to window-combination-limit.
3984 * cus-start.el (window-nest): Rename to window-combination-limit.
3985
3986 2011-11-16 Chong Yidong <cyd@gnu.org>
3987
3988 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3989 regexp (Bug#10033).
3990
3991 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3994 `completing-read' will remove *Completions* and will preserve
3995 current-buffer for us.
3996 (tmm-add-prompt): Users of *Completions* will always (re)set its
3997 major mode.
3998 (tmm-old-comp-map): Remove.
3999
4000 2011-11-16 Glenn Morris <rgm@gnu.org>
4001
4002 * mail/rmailedit.el: Require rmailmm when compiling.
4003 (rmail-old-mime-state): New declaration.
4004 (rmail-edit-current-message): If editing a mime message,
4005 edit the "raw" message from the mbox buffer.
4006 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4007
4008 2011-11-15 Glenn Morris <rgm@gnu.org>
4009
4010 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4011 which wasn't being used. Add optional arg to force given state.
4012 (rmail-mime): Add optional arg to force given state.
4013
4014 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4017 * frame.el (display-mm-dimensions-alist):
4018 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4019 (outline-move-subtree-down):
4020 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4021 (newsticker--treeview-do-get-node):
4022 * net/quickurl.el (quickurl-list-buffer-name):
4023 * progmodes/dcl-mode.el (dcl-mode):
4024 * progmodes/gdb-mi.el (gdb-mapcar*):
4025 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4026
4027 2011-11-15 Glenn Morris <rgm@gnu.org>
4028
4029 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4030 in a boolean sense, so just make it a boolean, and fix the doc.
4031 (rmail-show-mime-function, rmail-mime-feature)
4032 (rmail-require-mime-maybe): Doc fixes.
4033 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4034
4035 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4036
4037 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4038
4039 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4040 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4041 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4042 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4043
4044 2011-11-15 Glenn Morris <rgm@gnu.org>
4045
4046 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4047 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4048 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4049 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4050 (rmail-mime, rmail-show-mime): Doc fixes.
4051
4052 * term/ns-win.el (mode-line-frame-identification):
4053 Leave it alone. (Bug#10051)
4054
4055 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4056
4057 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4058 Handle empty buffers. (Bug#9978)
4059
4060 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * international/mule.el (define-charset):
4063 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4064 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4065 * progmodes/verilog-mode.el (verilog-backward-token):
4066 * textmodes/ispell.el (lookup-words):
4067 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4068
4069 2011-11-14 Glenn Morris <rgm@gnu.org>
4070
4071 * progmodes/executable.el
4072 (executable-make-buffer-file-executable-if-script-p):
4073 Handle file-modes returning nil.
4074
4075 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4076 message - not necessary, and causes problems. (Bug#9831)
4077
4078 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4079
4080 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4081
4082 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4083 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4084 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4085
4086 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4087
4088 * window.el (window-resize, delete-window): Use window-splits
4089 variable instead of function.
4090 (window-state-get-1, window-state-put-2, window-state-put):
4091 Don't deal with windows' splits status.
4092
4093 2011-11-12 Glenn Morris <rgm@gnu.org>
4094
4095 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4096 (apropos-documentation): Doc fixes.
4097
4098 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4099
4100 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4101 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4102
4103 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * electric.el (electric-indent-post-self-insert-function): Make it
4106 possible for a char to only indent in some circumstances.
4107 (electric-indent-mode): Simplify.
4108
4109 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4110
4111 * window.el (windows-with-parameter): Remove unused function.
4112 (windows-at-side): Rename to window-at-side-list.
4113 (window-check, window-atom-check, window-atom-check-1)
4114 (window-side-check, window-size-ignore, window-size-fixed-1)
4115 (window-in-direction-2): Prefix with "window--".
4116 (window-tree-1): Rename to window--subtree, fix doc-string.
4117
4118 2011-11-11 Glenn Morris <rgm@gnu.org>
4119
4120 * subr.el (eval-after-load): If FILE is already loaded,
4121 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4122
4123 2011-11-10 Glenn Morris <rgm@gnu.org>
4124
4125 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4126 Call svn via vc-svn-command rather than vc-do-command.
4127 (vc-svn-command): Add --non-interactive. (Bug#9993)
4128 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4129
4130 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4131 Add toggle-read-only. (Bug#7292)
4132 * files.el (toggle-read-only): Mention that it should only
4133 be used interactively. (Bug#10006)
4134
4135 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4138 Adjust regexp for OCaml warnings.
4139
4140 * electric.el (electric-pair-post-self-insert-function): Let user
4141 turn it off buffer-locally (bug#9932).
4142
4143 * progmodes/python.el (python-beginning-of-statement):
4144 Rewrite (bug#2703).
4145
4146 * progmodes/compile.el: Better handle TABs (bug#9749).
4147 (compilation-internal-error-properties)
4148 (compilation-next-error-function): Obey the target buffer's
4149 compilation-error-screen-columns.
4150
4151 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4152
4153 * progmodes/meta-mode.el: Remove obsolete comments.
4154 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4155 Fix typos in docstrings.
4156
4157 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4158
4159 * window.el (window-size-fixed-p): Rewrite doc-string.
4160 (window-resizable-p): Rename to window--resizable-p. Update callers.
4161 (window--resizable): New function. Make all callers of
4162 window-resizable call window--resizable instead.
4163 (window-resizable): Rewrite in terms of window--resizable.
4164
4165 2011-11-08 Glenn Morris <rgm@gnu.org>
4166
4167 * progmodes/delphi.el (delphi-mode-syntax-table):
4168 Let define-derived-mode define a proper syntax table. (Bug#9994)
4169
4170 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * window.el: Stay away from defsubst.
4173 (window-list-no-nils): Remove.
4174 (window-state-get-1, window-state-get): Use backquote instead.
4175
4176 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4177
4178 * emacs-lisp/find-func.el (find-function-read):
4179 Fix incorrect use of default argument in `completing-read'.
4180
4181 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4182
4183 * window.el (display-buffer-function, special-display-function):
4184 Mention display-buffer-record-window but do not mention
4185 help-setup parameter in doc-strings.
4186 (window-min-delta): Fix doc-string typo.
4187
4188 2011-11-08 Chong Yidong <cyd@gnu.org>
4189
4190 * window.el (window-total-height, window-total-width): Doc fix.
4191 (window-body-size): Move from C.
4192 (window-body-height, window-body-width): Move to C.
4193
4194 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * window.el: Make special-display like display-buffer-alist (bug#9532).
4197 (display-buffer--special-action): New function, morphed
4198 from display-buffer--special.
4199 (display-buffer): Use it to handle special-display-buffers at higher
4200 priority (just after display-buffer-alist).
4201 (display-buffer-fallback-action, display-buffer--other-frame-action)
4202 (pop-to-buffer-same-window): Remove display-buffer--special.
4203
4204 2011-11-07 Glenn Morris <rgm@gnu.org>
4205
4206 * calendar/cal-menu.el (cal-menu-set-date-title):
4207 Do nothing if not in a calendar. (Bug#9976)
4208
4209 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * files.el (find-file): Always use selected-window.
4212
4213 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4214
4215 * window.el (window-combinations): Make WINDOW argument
4216 mandatory. Rewrite doc-string.
4217 (walk-window-subtree, window-atom-check, window-min-delta)
4218 (window-max-delta, window--resize-this-window)
4219 (window--resize-root-window-vertically, window-tree)
4220 (balance-windows, window-state-put): Rewrite doc-strings as to
4221 not mention the term "subwindow".
4222 (window--resize-subwindows-skip-p): Rename to
4223 window--resize-child-windows-skip-p.
4224 (window--resize-subwindows-normal): Rename to
4225 window--resize-child-windows-normal.
4226 (window--resize-subwindows): Rename to
4227 window--resize-child-windows.
4228 (window-or-subwindow-p): Rename to window--in-subtree-p.
4229
4230 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4231
4232 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4233 Ensure that mbox format messages end in two newlines (Bug#9974).
4234
4235 2011-11-06 Chong Yidong <cyd@gnu.org>
4236
4237 * window.el (window-combination-p): Function deleted; its
4238 side-effect is not used in any existing code.
4239 (window-combinations, window-combined-p): Call window-*-child
4240 directly.
4241
4242 2011-11-05 Chong Yidong <cyd@gnu.org>
4243
4244 * window.el (window-valid-p): Rename from window-any-p.
4245 (window-size-ignore, window-state-get): Callers changed.
4246 (window-normalize-window): Rename from window-normalize-any-window.
4247 New arg LIVE-ONLY, replacing window-normalize-live-window.
4248 (window-normalize-live-window): Delete.
4249 (window-combination-p, window-combined-p, window-combinations)
4250 (walk-window-subtree, window-atom-root, window-min-size)
4251 (window-sizable, window-sizable-p, window-size-fixed-p)
4252 (window-min-delta, window-max-delta, window-resizable)
4253 (window-resizable-p, window-full-height-p, window-full-width-p)
4254 (window-current-scroll-bars, window-point-1, set-window-point-1)
4255 (window-at-side-p, window-in-direction, window-resize)
4256 (adjust-window-trailing-edge, maximize-window, minimize-window)
4257 (window-deletable-p, delete-window, delete-other-windows)
4258 (record-window-buffer, unrecord-window-buffer)
4259 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4260 (quit-window, split-window, window-state-put)
4261 (set-window-text-height, fit-window-to-buffer)
4262 (shrink-window-if-larger-than-buffer): Callers changed.
4263
4264 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4265
4266 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4267 rfc2047-decode-string.
4268 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4269 warnings.
4270
4271 * window.el (window-body-height, window-body-width): Mention in
4272 the doc string that the return values are in frame's canonical
4273 units. (Bug#9949)
4274
4275 2011-11-03 Alan Mackenzie <acm@muc.de>
4276
4277 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4278 change in cc-engine.el.
4279
4280 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4283
4284 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4285
4286 * window.el (quit-window): Call unrecord-window-buffer after
4287 showing another buffer in the window. (Bug#9937)
4288 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4289
4290 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4291
4292 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4293 Accept status with more than 9 shelves. (Bug#9935)
4294 Reported by Colin D Bennett <colin@gibibit.com>.
4295
4296 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4297
4298 * help.el (with-help-window): Don't reference
4299 temp-buffer-show-specifiers in doc-string.
4300
4301 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4302
4303 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4304 menu-item.
4305
4306 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4307
4308 * whitespace.el: New version 13.2.2.
4309 (whitespace-newline-mode): Disable properly. Reported by Sarah
4310 <EmacsWiki>.
4311
4312 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4313
4314 * net/newst-treeview.el: Remove "Time-stamp".
4315 (newsticker--group-manage-orphan-feeds): Do not call
4316 newsticker--treeview-tree-update.
4317 (newsticker-treeview-update, newsticker-treeview):
4318 Call newsticker--treeview-tree-update if necessary.
4319
4320 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4321
4322 * window.el (window-iso-combination-p, window-iso-combined-p)
4323 (window-iso-combinations): Remove "iso-" infix.
4324 Suggested by Chong Yidong.
4325 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4326 (window-max-delta-1, window-resize, window--resize-siblings)
4327 (window--resize-this-window, adjust-window-trailing-edge)
4328 (split-window, balance-windows-1)
4329 (shrink-window-if-larger-than-buffer):
4330 * calendar/calendar.el (calendar-generate-window):
4331 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4332
4333 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4336 in place (bug#9907).
4337 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4338 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4339 (eshell-structure-basic-command, eshell-rewrite-while-command)
4340 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4341 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4342 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4343 (eshell-do-pipelines-synchronously, eshell-eval-command):
4344 Use backquotes and prefer setq to set.
4345 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4346 (eshell-macrop): Use functionp.
4347 (eshell-do-eval): Handle multiple expressions in `while' body.
4348
4349 2011-10-30 Chong Yidong <cyd@gnu.org>
4350
4351 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4352 instead of set-mark (Bug#9810).
4353
4354 2011-10-30 Chong Yidong <cyd@gnu.org>
4355
4356 * window.el (split-window-below, split-window-right): Rename from
4357 split-window-above-each-other and split-window-side-by-side
4358 respectively. All callers changed.
4359 (split-window-sensibly, split-window-sensibly): Use them.
4360 (split-window-keep-point): Doc fix.
4361
4362 * isearch.el: Add isearch-scroll property to split-window-below
4363 and split-window-right.
4364
4365 * follow.el (follow-mode):
4366 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4367 * progmodes/ada-xref.el (ada-gdb-application):
4368 * emulation/vip.el (vip-buffer-in-two-windows):
4369 * image-dired.el (image-dired-dired-with-window-configuration):
4370 * dired-x.el (dired-do-find-marked-files):
4371 * dired.el (dired-pop-to-buffer):
4372 * bs.el (bs--show-with-configuration):
4373 * vc/emerge.el (emerge-setup-windows):
4374 * textmodes/two-column.el (2C-two-columns):
4375 * textmodes/reftex-toc.el (reftex-toc):
4376 * progmodes/gdb-mi.el (gdb-setup-windows):
4377 * progmodes/fortran.el (fortran-window-create):
4378 * net/newst-treeview.el (newsticker--treeview-window-init):
4379 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4380 * emulation/tpu-edt.el (tpu-gold-map):
4381 * emulation/crisp.el (crisp-mode-map):
4382 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4383
4384 2011-10-29 Chong Yidong <cyd@gnu.org>
4385
4386 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4387
4388 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4389
4390 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4391 forged Ispell output (Bug#7904).
4392
4393 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4394
4395 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * doc-view.el: Avoid ugly errors about not finding nil.
4398 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4399 (doc-view-dvipdf-program, doc-view-unoconv-program)
4400 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4401 Avoid nil or absolute file name as default value.
4402 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4403
4404 2011-10-28 Alan Mackenzie <acm@muc.de>
4405
4406 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4407
4408 2011-10-28 Alan Mackenzie <acm@muc.de>
4409
4410 Amend the handling of c-beginning/end-of-defun in nested declaration
4411 scopes.
4412
4413 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4414 cc-langs.el. Change it to a defcustom.
4415
4416 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4417 cc-vars.el.
4418
4419 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4420 Prevent "class foo : bar" being spuriously recognized as a label.
4421
4422 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4423 Add parameter `inclusive' (to include enclosing braces in the region).
4424 (c-widen-to-enclosing-decl-scope): New function.
4425 (c-while-widening-to-decl-block): New macro.
4426 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4427 outward for defun boundaries, and correspondingly change symbol
4428 `respect-enclosure' to `go-outward'.
4429 (c-declaration-limits): Change algorithm to report only the "innermost"
4430 defun's boundaries.
4431
4432 2011-10-28 Deniz Dogan <deniz@dogan.se>
4433
4434 * net/rcirc.el (rcirc-mode): Use hard newlines.
4435
4436 2011-10-28 Alan Mackenzie <acm@muc.de>
4437
4438 Amend to indent and fontify macros "which include their own semicolon"
4439 correctly, using the "virtual semicolon" mechanism.
4440
4441 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4442
4443 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4444 Recode to scan one line at a time rather than having \n and \r
4445 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4446 (c-forward-label): Amend for virtual semicolons.
4447 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4448
4449 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4450 of the new C macros.
4451
4452 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4453 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4454 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4455 (c-opt-cpp-macro-define): Make into a full language variable.
4456 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4457 AWK Mode (including \n, \r) removed, no longer needed.
4458
4459 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4460 Invoke c-make-macro-with-semi-re.
4461
4462 * progmodes/cc-vars.el (c-macro-with-semi-re):
4463 (c-macro-names-with-semicolon): New variables.
4464 (c-make-macro-with-semi-re): New function.
4465
4466 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * vc/log-edit.el: Fill empty field rather than adding new one.
4469 (log-edit-add-field): New function.
4470 (log-edit-insert-changelog): Use it.
4471
4472 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4473
4474 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4475
4476 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4477
4478 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4479 (gdb--check-interpreter): New function.
4480 (gdb): Use it.
4481
4482 2011-10-27 Glenn Morris <rgm@gnu.org>
4483
4484 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4485 (least-positive-float, least-negative-float)
4486 (least-positive-normalized-float, least-negative-normalized-float)
4487 (float-epsilon, float-negative-epsilon):
4488 Remove unnecessary declarations.
4489
4490 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4491 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4492 (least-positive-float, least-negative-float)
4493 (least-positive-normalized-float, least-negative-normalized-float)
4494 (float-epsilon, float-negative-epsilon): Add doc-strings,
4495 based on those in cl.texi.
4496
4497 * files.el (set-visited-file-name): If the major-mode changed,
4498 reload the local variables. (Bug#9796)
4499
4500 2011-10-27 Chong Yidong <cyd@gnu.org>
4501
4502 * subr.el (change-major-mode-after-body-hook): New hook.
4503 (run-mode-hooks): Run it.
4504
4505 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4506 Use change-major-mode-before-body-hook.
4507
4508 * simple.el (fundamental-mode):
4509 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4510 change introducing fundamental-mode-hook.
4511
4512 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4513
4514 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4515
4516 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4517
4518 * ido.el (ido-file-name-all-completions-1): Do not require
4519 tramp.el explicitly. (Bug#7583)
4520
4521 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * progmodes/octave-mod.el:
4524 * progmodes/octave-inf.el: Update maintainer.
4525
4526 2011-10-26 Chong Yidong <cyd@gnu.org>
4527
4528 * subr.el (with-wrapper-hook): Rewrite doc.
4529
4530 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4531
4532 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4533 filenames "/method:foo:". (Bug#9793)
4534
4535 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4538 (bug#9865).
4539
4540 2011-10-24 Glenn Morris <rgm@gnu.org>
4541
4542 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4543
4544 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * notifications.el: Add the requirement of a running D-Bus session
4547 bus to the Commentary.
4548
4549 2011-10-24 Juri Linkov <juri@jurta.org>
4550
4551 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4552 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4553 (Bug#9364)
4554
4555 2011-10-24 Juri Linkov <juri@jurta.org>
4556
4557 * info.el (Info-following-node-name-re): Add newline to the list
4558 of allowed characters for leading space. (Bug#9824)
4559
4560 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * progmodes/octave-inf.el (inferior-octave-mode-map):
4563 Fix C-c C-h binding.
4564 * progmodes/octave-mod.el (octave-help): Remove.
4565
4566 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4567
4568 Sync with Tramp 2.2.3.
4569
4570 * net/tramp-cache.el (top): Pacify byte-compiler using
4571 `init-file-user' and `site-run-file'.
4572
4573 * net/trampver.el: Update release number.
4574
4575 2011-10-23 Chong Yidong <cyd@gnu.org>
4576
4577 * files.el (toggle-read-only): Remove obsolete comment about
4578 version control.
4579
4580 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4581 for toggle-read-only. Note that this hasn't called vc-next-action
4582 since 2008-05-02, though it wasn't documented at the time.
4583
4584 * vc/ediff-init.el (ediff-toggle-read-only-function):
4585 Use toggle-read-only.
4586
4587 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4588
4589 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4590 of c-parse-state.
4591
4592 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4593 correct faulty logical expression.
4594 (c-parse-state-state, c-record-parse-state-state):
4595 (c-replay-parse-state-state): New defvar/defuns.
4596 (c-debug-parse-state): Use new functions.
4597
4598 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4599
4600 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4601 last fix. Use window-in-direction correctly.
4602
4603 2011-10-21 Chong Yidong <cyd@gnu.org>
4604
4605 * progmodes/idlwave.el (idlwave-mode):
4606 * progmodes/vera-mode.el (vera-mode): No need to set
4607 require-final-newline; that's done in prog-mode.
4608 Suggested by Stefan Monnier.
4609
4610 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4611
4612 * mouse.el (mouse-drag-window-above)
4613 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4614 (mouse-drag-mode-line-1, mouse-drag-header-line)
4615 (mouse-drag-vertical-line-rightward-window): Remove.
4616 (mouse-drag-line): New function.
4617 (mouse-drag-mode-line, mouse-drag-header-line)
4618 (mouse-drag-vertical-line): Call mouse-drag-line.
4619 * window.el (window-at-side-p, windows-at-side): New functions.
4620
4621 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4622
4623 * tar-mode.el (tar-grind-file-mode):
4624 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4625
4626 2011-10-21 Chong Yidong <cyd@gnu.org>
4627
4628 * progmodes/idlwave.el (idlwave-mode):
4629 * progmodes/vera-mode.el (vera-mode):
4630 Use mode-require-final-newline.
4631
4632 2011-10-20 Glenn Morris <rgm@gnu.org>
4633
4634 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4635
4636 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4637
4638 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4639
4640 2011-10-20 Chong Yidong <cyd@gnu.org>
4641
4642 * emulation/cua-base.el (cua-mode):
4643 * mail/footnote.el (footnote-mode):
4644 * mail/mailabbrev.el (mail-abbrevs-mode):
4645 * net/xesam.el (xesam-minor-mode):
4646 * progmodes/bug-reference.el (bug-reference-mode):
4647 * progmodes/cap-words.el (capitalized-words-mode):
4648 * progmodes/compile.el (compilation-minor-mode)
4649 (compilation-shell-minor-mode):
4650 * progmodes/gud.el (gud-tooltip-mode):
4651 * progmodes/hideif.el (hide-ifdef-mode):
4652 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4653 * progmodes/subword.el (subword-mode):
4654 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4655 * progmodes/which-func.el (which-function-mode):
4656 * term/tvi970.el (tvi970-set-keypad-mode):
4657 * term/vt100.el (vt100-wide-mode):
4658 * textmodes/flyspell.el (flyspell-mode):
4659 * textmodes/ispell.el (ispell-minor-mode):
4660 * textmodes/nroff-mode.el (nroff-electric-mode):
4661 * textmodes/paragraphs.el (use-hard-newlines):
4662 * textmodes/refill.el (refill-mode):
4663 * textmodes/reftex.el (reftex-mode):
4664 * textmodes/rst.el (rst-minor-mode):
4665 * textmodes/sgml-mode.el (html-autoview-mode)
4666 (sgml-electric-tag-pair-mode):
4667 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4668 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4669 * emulation/crisp.el (crisp-mode):
4670 * emacs-lisp/eldoc.el (eldoc-mode):
4671 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4672 minor mode behavior.
4673
4674 2011-10-19 Juri Linkov <juri@jurta.org>
4675
4676 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4677 the list of hard-coded chars with escape-glyph face.
4678
4679 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4682
4683 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4686 running process.
4687
4688 2011-10-19 Glenn Morris <rgm@gnu.org>
4689
4690 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4691 Ignore ignored files. (Bug#9726)
4692
4693 2011-10-19 Chong Yidong <cyd@gnu.org>
4694
4695 Doc fix for minor modes, stating that an omitted argument enables
4696 the mode unconditionally when called from Lisp.
4697
4698 * abbrev.el (abbrev-mode):
4699 * allout.el (allout-mode):
4700 * autoinsert.el (auto-insert-mode):
4701 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4702 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4703 (global-auto-revert-mode):
4704 * battery.el (display-battery-mode):
4705 * composite.el (global-auto-composition-mode)
4706 (auto-composition-mode):
4707 * delsel.el (delete-selection-mode):
4708 * desktop.el (desktop-save-mode):
4709 * dired-x.el (dired-omit-mode):
4710 * dirtrack.el (dirtrack-mode):
4711 * doc-view.el (doc-view-minor-mode):
4712 * double.el (double-mode):
4713 * electric.el (electric-indent-mode, electric-pair-mode):
4714 * emacs-lock.el (emacs-lock-mode):
4715 * epa-hook.el (auto-encryption-mode):
4716 * follow.el (follow-mode):
4717 * font-core.el (font-lock-mode):
4718 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4719 * help.el (temp-buffer-resize-mode):
4720 * hilit-chg.el (highlight-changes-mode)
4721 (highlight-changes-visible-mode):
4722 * hi-lock.el (hi-lock-mode):
4723 * hl-line.el (hl-line-mode, global-hl-line-mode):
4724 * icomplete.el (icomplete-mode):
4725 * ido.el (ido-everywhere):
4726 * image-file.el (auto-image-file-mode):
4727 * image-mode.el (image-minor-mode):
4728 * iswitchb.el (iswitchb-mode):
4729 * jka-cmpr-hook.el (auto-compression-mode):
4730 * linum.el (linum-mode):
4731 * longlines.el (longlines-mode):
4732 * master.el (master-mode):
4733 * mb-depth.el (minibuffer-depth-indicate-mode):
4734 * menu-bar.el (menu-bar-mode):
4735 * minibuf-eldef.el (minibuffer-electric-default-mode):
4736 * mouse-sel.el (mouse-sel-mode):
4737 * msb.el (msb-mode):
4738 * mwheel.el (mouse-wheel-mode):
4739 * outline.el (outline-minor-mode):
4740 * paren.el (show-paren-mode):
4741 * recentf.el (recentf-mode):
4742 * reveal.el (reveal-mode, global-reveal-mode):
4743 * rfn-eshadow.el (file-name-shadow-mode):
4744 * ruler-mode.el (ruler-mode):
4745 * savehist.el (savehist-mode):
4746 * scroll-all.el (scroll-all-mode):
4747 * scroll-bar.el (scroll-bar-mode):
4748 * server.el (server-mode):
4749 * shell.el (shell-dirtrack-mode):
4750 * simple.el (auto-fill-mode, transient-mark-mode)
4751 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4752 (line-number-mode, column-number-mode, size-indication-mode)
4753 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4754 * strokes.el (strokes-mode):
4755 * time.el (display-time-mode):
4756 * t-mouse.el (gpm-mouse-mode):
4757 * tool-bar.el (tool-bar-mode):
4758 * tooltip.el (tooltip-mode):
4759 * type-break.el (type-break-mode-line-message-mode)
4760 (type-break-query-mode):
4761 * view.el (view-mode):
4762 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4763 (global-whitespace-mode, global-whitespace-newline-mode):
4764 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4765
4766 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4767 Fix autogenerated docstring.
4768
4769 2011-10-19 Juri Linkov <juri@jurta.org>
4770
4771 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4772 by checking environment variables "DESKTOP_SESSION" and
4773 "XDG_CURRENT_DESKTOP". (Bug#9779)
4774
4775 2011-10-19 Juri Linkov <juri@jurta.org>
4776
4777 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4778 (browse-url-chromium-program, browse-url-chromium-arguments):
4779 New defcustoms.
4780 (browse-url-default-browser): Check for `browse-url-chromium' and
4781 call `browse-url-chromium-program'.
4782 (browse-url-chromium): New command. (Bug#9779)
4783
4784 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4785
4786 * facemenu.el (list-colors-duplicates): On Windows, detect more
4787 duplicates by assuming that only colors matching "^System" are
4788 special "system colors". (Bug#9722)
4789
4790 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4793 to distinguish the author from the committer.
4794
4795 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4796
4797 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4798
4799 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4800
4801 * international/mule.el (sgml-html-meta-auto-coding-function):
4802 Add support for detecting encoding in HTML5 specified only as
4803 <meta charset="UTF-8">. Implementation just makes http-equiv and
4804 content-type parts from HTML4 encoding string optional. (Bug#9716)
4805
4806 2011-10-18 Glenn Morris <rgm@gnu.org>
4807
4808 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4809
4810 2011-10-18 Chong Yidong <cyd@gnu.org>
4811
4812 * faces.el (cursor): Doc fix.
4813
4814 2011-10-17 Chong Yidong <cyd@gnu.org>
4815
4816 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4817
4818 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4819
4820 * dirtrack.el (dirtrack): Support shell buffers with path
4821 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4822
4823 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4824
4825 * json.el: Bump version to 1.3 and note change in History.
4826 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4827
4828 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * comint.el (comint-insert-input, comint-send-input)
4831 (comint-get-old-input-default, comint-backward-matching-input)
4832 (comint-next-prompt): Use nil instead of `input' for field property of
4833 past user input (bug#114).
4834
4835 * minibuffer.el (completion--replace): Inherit surrounding properties
4836 (bug#114).
4837 (minibuffer-complete-and-exit): Use it.
4838
4839 * comint.el (comint--table-subvert): Quote the all-completions output
4840 (bug#9160).
4841
4842 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4843
4844 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4845
4846 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4847 window on right of selected. (Bug#9350) Reword other window
4848 entries and separate them from frame entries.
4849
4850 2011-10-15 Glenn Morris <rgm@gnu.org>
4851
4852 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4853 Doc fixes.
4854
4855 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4856
4857 * net/network-stream.el (network-stream-open-starttls):
4858 Improve detection of failure due to lack of TLS support.
4859
4860 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4861 putting the input text in front and in bold.
4862
4863 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4866
4867 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4868 empty buffer.
4869
4870 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4871 unread-command-events rather than pushing yet-another event.
4872
4873 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4874
4875 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4876 the explanation of the possible choices. Make the options passed
4877 to completing-read shorter.
4878
4879 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4880
4881 * textmodes/flyspell.el (flyspell-large-region): Make sure
4882 extended character mode is used if defined (Bug#1339).
4883
4884 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4885
4886 * simple.el (what-cursor-position): Fix the display of the
4887 character info for LRE, LRO, RLE, and RLO characters by appending
4888 an invisible PDF.
4889
4890 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4893 even in case of error; add debug spec; simplify data flow.
4894 (with-timeout-handler): Remove.
4895
4896 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4897
4898 Fix Bug#6019, Bug#9315.
4899
4900 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4901 complete `buffer-file-name', the local file name part could look
4902 remotely (for example on VMS).
4903
4904 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4905 `tramp-run-real-handler'.
4906 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4907 already quoted by '"'.
4908
4909 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4910 Let `file-name-handler-alist' be nil, the local file name part
4911 could look remotely (for example on VMS).
4912
4913 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4916 from here...
4917 (flyspell-post-command-hook): ...to here.
4918
4919 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4922 if not needed.
4923 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4924 using completion. Protect against "slow" callers.
4925 Remove the "message hack".
4926
4927 2011-10-11 Juri Linkov <juri@jurta.org>
4928
4929 * isearch.el (isearch-lazy-highlight-word): New variable.
4930 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4931 Use it. (Bug#9727)
4932
4933 2011-10-11 Glenn Morris <rgm@gnu.org>
4934
4935 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4936 like f90-previous-statement does.
4937
4938 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4939
4940 * eshell/eshell.el (eshell-command): History should be saved
4941 only in interactive use, to avoid error.
4942
4943 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * minibuffer.el (completion-file-name-table): Fix last change,
4946 i.e. ignore normal errors but not the other ones.
4947
4948 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4949
4950 * window.el (special-display-buffer-names)
4951 (special-display-regexps): Remove some remnants of earlier
4952 changes from doc-strings.
4953 (quit-windows-on): New function.
4954
4955 * vc/vc.el (vc-revert, vc-rollback):
4956 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4957 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4958 (Bug#6183) (Bug#7074) (Bug#7447)
4959
4960 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4961
4962 * window.el (frame-auto-hide-function): Add version tag.
4963 (Bug#9699)
4964
4965 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4966
4967 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4968 condition.
4969
4970 2011-10-09 Leo Liu <sdl.web@gmail.com>
4971
4972 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4973 (Bug#9701)
4974
4975 2011-10-08 Glenn Morris <rgm@gnu.org>
4976
4977 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4978 before the first code statement zero indent. (Bug#9690)
4979
4980 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4981
4982 * simple.el (count-words-region): Always count in the region.
4983 Report the number of lines and characters too.
4984 (count-words): New command, which counts in the buffer if the
4985 region is inactive, as count-words-region used to.
4986 (count-words--message): New function. Handle plurals.
4987 (count-lines-region): Make it an alias for count-words-region.
4988
4989 * bindings.el (esc-map): Replace count-lines-region with
4990 count-words-region.
4991
4992 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4993
4994 * window.el (window--delete): Delete dedicated frame
4995 unconditionally when argument KILL is non-nil. (Bug#9699)
4996 (switch-to-buffer): Fix doc-string typo.
4997
4998 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4999
5000 * eshell/eshell.el (eshell-command): Avoid using hooks.
5001
5002 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5003
5004 * bindings.el ([M-left],[M-right]): Bind to left-word and
5005 right-word respectively.
5006
5007 2011-10-07 Glenn Morris <rgm@gnu.org>
5008
5009 * cus-start.el (debug-on-quit): Fix custom type.
5010
5011 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5012
5013 * subr.el (define-key-after): Clarify that the function is not
5014 useful for non-menu keymaps.
5015
5016 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5017
5018 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5019
5020 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5021 in current minibuffer (Fix bug with recursive minibuffers).
5022
5023 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5024
5025 * progmodes/gdb-mi.el (gdb): Doc fix.
5026
5027 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5028
5029 * window.el (frame-auto-hide-function): New option replacing
5030 frame-auto-delete. Suggested by Stefan Monnier.
5031 (window--delete): Call frame-auto-hide-function instead of
5032 investigating frame-auto-delete.
5033 (window-point-1, set-window-point-1): New functions.
5034 (window-in-direction, record-window-buffer, window-state-get-1)
5035 (display-buffer-record-window): Use window-point-1 instead of
5036 window-point.
5037 (set-window-buffer-start-and-point): Use set-window-point-1.
5038
5039 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5042
5043 2011-10-05 Glenn Morris <rgm@gnu.org>
5044
5045 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5046 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5047
5048 2011-10-05 Leo Liu <sdl.web@gmail.com>
5049
5050 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5051 works with buffer object.
5052
5053 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * mpc.el (mpc-tool-bar-map): Add labels.
5056
5057 2011-10-04 Glenn Morris <rgm@gnu.org>
5058
5059 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5060
5061 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5062
5063 * window.el (window--delete): New function.
5064 (frame-auto-delete): Resuscitate option.
5065 (bury-buffer, replace-buffer-in-windows)
5066 (quit-window): Rewrite using window--delete.
5067 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5068 Pass display-buffer-mark-dedicated to window--display-buffer-2
5069 (Bug#9639).
5070
5071 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5074 returns a list (bug#9554). Add remote file name completion.
5075 * comint.el (comint--table-subvert): Curry and get quote&unquote
5076 functions as arguments.
5077 (comint--complete-file-name-data): Adjust call accordingly.
5078 * pcomplete.el (pcomplete--table-subvert): Remove.
5079 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5080
5081 * minibuffer.el (completion-table-case-fold): Use currying.
5082 (completion--styles-type, completion--cycling-threshold-type):
5083 New constants.
5084 (completion-styles, completion-category-overrides)
5085 (completion-cycle-threshold): Use them.
5086 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5087 completion-table-case-fold.
5088
5089 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5090
5091 * minibuffer.el (completion-category-overrides): Fix type of styles
5092 and add more user friendly tags (bug#9660).
5093
5094 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5095
5096 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5097 (mule-input-method-string): New widget.
5098 (default-input-method, language-info-custom-alist): Use it.
5099
5100 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * pcomplete.el: Require comint.
5103 (pcomplete--common-suffix): Remove.
5104 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5105 (pcomplete--table-subvert): Sync with comint--table-subvert.
5106 (pcomplete--entries): Use comint-completion-file-name-table.
5107 * comint.el (comint-unquote-filename): Simplify.
5108 (comint-completion-file-name-table): New function (bug#9616).
5109 (comint--complete-file-name-data): Use it.
5110
5111 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5112 (pcmpl-gnu-tar-buffer): Remove.
5113 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5114 around. Make sure pcomplete-suffix-list is only changed temporarily.
5115 Don't look inside the tar's file if it's too large.
5116
5117 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5118
5119 * cus-edit.el (custom-mode-map):
5120 * epa.el (epa-key-list-mode-map):
5121 * man.el (Man-mode-map):
5122 * startup.el (splash-screen-keymap):
5123 * simple.el (special-mode-map): Use scroll-up-command and
5124 scroll-down-command.
5125
5126 * progmodes/idlw-help.el (idlwave-help-mode-map):
5127 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5128 * net/newst-plainview.el (newsticker-mode-map):
5129 * emulation/ws-mode.el (wordstar-mode-map):
5130 * emulation/vi.el (vi-com-map):
5131 * calc/calc-graph.el (calc-graph-show-dumb):
5132 * term/sun.el (terminal-init-sun):
5133 * term/ns-win.el (global-map):
5134 * progmodes/grep.el (grep-mode-map):
5135 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5136 * mail/rmail.el (rmail-mode-map):
5137 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5138
5139 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5140 custom-safe-themes as special.
5141
5142 2011-10-01 Julien Danjou <julien@danjou.info>
5143
5144 * notifications.el (notifications-notify): Fix docstring.
5145
5146 2011-10-01 Per Starbäck <per@starback.se>
5147
5148 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5149
5150 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5151
5152 * startup.el (command-line-1): Fix last fix by inserting
5153 initial-scratch-message into *scratch* before displaying it.
5154 (Bug#9605) and (Bug#9636)
5155
5156 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5157
5158 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5159 window is hscrolled, move by logical lines. (Bug#9607)
5160 (line-move-visual): Update the doc string to the above effect.
5161
5162 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5163
5164 * window.el (display-buffer-record-window): When WINDOW is the
5165 selected window use `point' instead of `window-point'. (Bug#9626)
5166
5167 * startup.el (command-line-1): Use insert-before-markers when
5168 inserting initial-scratch-message. (Bug#9605)
5169
5170 * help.el (help-window): Remove variable.
5171
5172 2011-09-29 Glenn Morris <rgm@gnu.org>
5173
5174 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5175
5176 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5177
5178 * descr-text.el (describe-char-categories): Accept category
5179 descriptions more than one line long.
5180
5181 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * simple.el (delete-trailing-whitespace): Fix last change.
5184
5185 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5186 Don't confuse "y => 3" as the beginning of a `y' operation.
5187
5188 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5189 object has more than 4 slots (bug#9613).
5190
5191 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5192
5193 * subr.el (with-output-to-temp-buffer):
5194 * net/quickurl.el (quickurl, quickurl-browse-url):
5195 Fix typos in docstrings.
5196
5197 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5198
5199 * minibuffer.el (completion-styles)
5200 (completion-category-overrides): Cross reference each other in doc
5201 strings.
5202
5203 2011-09-27 Glenn Morris <rgm@gnu.org>
5204
5205 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5206 to split-string. (Bug#9606)
5207
5208 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5209
5210 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5211 (bug#9615).
5212
5213 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5214
5215 * emacs-lisp/package.el (list-packages): Fix echo area message.
5216
5217 2011-09-27 Leo Liu <sdl.web@gmail.com>
5218
5219 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5220
5221 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5222
5223 * net/dbus.el (dbus-unregister-object): Don't release services for
5224 registered signals. (Bug#9581)
5225
5226 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5227
5228 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5229 function that picks between cfengine 2 and 3 support
5230 automatically. Update docs accordingly.
5231
5232 2011-09-22 Kenichi Handa <handa@m17n.org>
5233
5234 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5235 ZERO.
5236 (indian-itrans-v5-table-for-tamil): New variable.
5237 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5238
5239 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5240
5241 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5242 that's true if the current command involved collapsing of text.
5243 It's reset to false at the beginning of the next command.
5244 (allout-post-command-business): Move the cursor to the beginning
5245 of entry if the cursor is hidden and collapsing activity just
5246 happened.
5247
5248 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5249
5250 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5251 tracking (Bug#9541).
5252
5253 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5254
5255 * net/newst-reader.el (newsticker-html-renderer)
5256 (newsticker-show-news): Automatically load html rendering package
5257 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5258 because w3m-fill-column is let-bound" and the error "Symbol's value
5259 as variable is void: w3m-fill-column".
5260
5261 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5262
5263 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5264 Release services only if they are defined. (Bug#9581)
5265
5266 2011-09-23 Richard Stallman <rms@gnu.org>
5267
5268 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5269 distinguish start of paragraph from start of its text.
5270
5271 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5272
5273 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5274 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5275 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5276
5277 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5278
5279 * international/mule-diag.el (mule-diag): Insert a newline after
5280 each fontset description.
5281
5282 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * simple.el (delete-trailing-whitespace):
5285 Document last change; simplify.
5286
5287 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5288
5289 * simple.el (delete-trailing-whitespace): Also delete
5290 extra newlines at the end of the buffer.
5291
5292 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5293 (picture-newline): Use forward-line so as to ignore fields.
5294
5295 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * subr.el (with-wrapper-hook): Fix edebug spec.
5298
5299 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5300
5301 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5302 (bug#4538).
5303
5304 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5305
5306 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5307 Fix nasty bug using wrong cached values.
5308
5309 2011-09-23 Alan Mackenzie <acm@muc.de>
5310
5311 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5312
5313 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5314
5315 * window.el (pop-to-buffer): Ensure right window is selected if we
5316 chose another frame.
5317
5318 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5319
5320 * simple.el (what-cursor-position): Use get-char-property-change
5321 and next-single-char-property-change, to be able to show display
5322 properties that come from overlays as well as text properties.
5323
5324 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5325
5326 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5327
5328 * cmuscheme.el (run-scheme, switch-to-scheme):
5329 * cus-edit.el (customize-group, custom-buffer-create)
5330 (customize-browse):
5331 * info.el (info):
5332 * shell.el (shell):
5333 * mail/sendmail.el (mail):
5334 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5335
5336 2011-09-22 Richard Stallman <rms@gnu.org>
5337
5338 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5339 move back only to line beg, don't move back over blank lines.
5340
5341 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5342
5343 * files.el (copy-directory): Set directory attributes only in case
5344 they could be retrieved from the source directory. (Bug#9565)
5345
5346 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5347
5348 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5349 (hs-find-block-beginning, hs-hide-level-recursive):
5350 Ignore strings as well as comments. (Bug#9502)
5351
5352 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5353
5354 * progmodes/sql.el (sql-comint-postgres):
5355 Convert port number to a string. (Bug#9566)
5356
5357 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5358
5359 * window.el (quit-window): Undedicate window when switching to
5360 previous buffer. Reported by Thierry Volpiatto
5361 <thierry.volpiatto@gmail.com>.
5362 (special-display-popup-frame): When popping up a new frame reset
5363 its previous buffers to nil. Simplify code.
5364
5365 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5366
5367 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5368 and process filter, as done also in `shell-command'.
5369
5370 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5371
5372 * window.el (set-window-buffer-start-and-point):
5373 Call set-window-start with NOFORCE argument t.
5374 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5375 (quit-window): Reword doc-string. Handle new format of
5376 quit-restore parameter. Don't delete window if it has a
5377 previous buffer we can show instead of the present one.
5378 (display-buffer-record-window): Rewrite using a new format for
5379 the quit-restore window parameter
5380 (special-display-popup-frame, display-buffer-same-window)
5381 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5382 (display-buffer-pop-up-window, display-buffer-use-some-window):
5383 Adapt symbol passed to display-buffer-record-window.
5384 * help.el (help-window-setup): Handle new format of quit-restore
5385 parameter.
5386
5387 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * faces.el (face-list): Fix docstring (bug#9564).
5390
5391 * window.el (display-buffer--action-function-custom-type):
5392 Don't include internal functions in the Custom interface.
5393
5394 2011-09-20 Juri Linkov <juri@jurta.org>
5395
5396 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5397 (Info-forward-node, Info-backward-node, Info-next-preorder)
5398 (Info-last-preorder): Use it. (Bug#9528)
5399
5400 2011-09-20 Juri Linkov <juri@jurta.org>
5401
5402 * info.el (Info-last-preorder): Visit last menu item only when
5403 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5404
5405 2011-09-20 Julien Danjou <julien@danjou.info>
5406
5407 * password-cache.el (password-cache-remove): Remove entries even if the
5408 value is nil, so that password with a nil value (negative caching) is
5409 possible to invalidate.
5410
5411 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5412
5413 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5414 all whitespace around breakpoint. (Bug#9553)
5415 (f90-find-breakpoint): Only break at whitespace inside a comment.
5416
5417 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * minibuffer.el (completion-file-name-table): Keep track of errors.
5420 (completion-table-with-predicate): Handle the case where pred1 is nil.
5421 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5422
5423 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5426 (debugger-return-value): Signal an error if the debugging context does
5427 not await any return value.
5428
5429 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5430 * image-mode.el (image-toggle-display-text)
5431 (image-toggle-display-image): Stay away from evil `intangible'.
5432
5433 2011-09-19 Leo Liu <sdl.web@gmail.com>
5434
5435 * replace.el (occur-revert-arguments): Make it permanent-local.
5436 (occur-mode): Don't call font-lock-defontify.
5437
5438 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5439
5440 * net/ldap.el (ldap-search-internal): Don't push empty search
5441 result (Bug#9508).
5442
5443 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5446
5447 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5448
5449 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5450 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5451
5452 2011-09-18 Juri Linkov <juri@jurta.org>
5453
5454 * buff-menu.el (Buffer-menu-mode-map):
5455 * dired.el (dired-mode-map):
5456 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5457 (lisp-interaction-mode-map):
5458 * emacs-lisp/package.el (package-menu-mode-map):
5459 * epa.el (epa-key-list-mode-map):
5460 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5461 (menu-bar-options-menu):
5462 * outline.el (outline-mode-menu-bar-map):
5463 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5464 * vc/vc-dir.el (vc-dir-menu-map):
5465 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5466 Capitalize non-function content words in menu item strings.
5467
5468 * dired.el (dired-mode-map): Add menu item for
5469 `image-dired-dired-toggle-marked-thumbs'.
5470
5471 2011-09-18 Juri Linkov <juri@jurta.org>
5472
5473 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5474 to `isearch-case-fold-search' and restore its original value
5475 after the `isearch-mode' call.
5476
5477 2011-09-18 Juri Linkov <juri@jurta.org>
5478
5479 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5480 because `zgrep' returns 1 for successful matches (bug#9226).
5481
5482 2011-09-18 Juri Linkov <juri@jurta.org>
5483
5484 * info.el (Info-extract-menu-node-name): Check the second match
5485 for empty string (second test-case of bug#9528).
5486 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5487 intermediate nodes to the history (first test-case of bug#9528).
5488
5489 2011-09-18 Juri Linkov <juri@jurta.org>
5490
5491 * info.el (Info-mode-syntax-table): New variable.
5492 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5493
5494 2011-09-18 Juri Linkov <juri@jurta.org>
5495
5496 * info.el (Info-file-supports-index-cookies):
5497 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5498 outputs one more line for long file names (bug#4142).
5499
5500 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5501
5502 * newcomment.el (comment-normalize-vars): If prompting for
5503 comment-start, set comment-start-skip too (Bug#8424).
5504
5505 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5506
5507 * icomplete.el: Fix previous fix of Bug#5849.
5508 (icomplete-mode): Don't set completion-show-inline-help.
5509 (icomplete-minibuffer-setup): Set completion-show-inline-help
5510 locally during icompletion.
5511
5512 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5513
5514 * woman.el (woman2-process-escapes): Don't delete unrecognized
5515 escapes (Bug#7843).
5516
5517 * files.el (inhibit-first-line-modes-regexps): Add image files.
5518 (hack-local-variables-prop-line): Return nil for malformed
5519 prop-lines (Bug#9044).
5520
5521 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5522
5523 * net/tramp.el (top): Don't require 'shell.
5524 (tramp-methods): Fix docstring.
5525 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5526 Return complete remote file name. Handle "smb" case.
5527 Use `tramp-tmpdir', if defined for the respective method.
5528 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5529
5530 * net/tramp-compat.el (top): Require 'shell.
5531
5532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5533 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5534 `tramp-current-host'.
5535 (tramp-get-remote-tmpdir): Remove.
5536
5537 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5538 `tramp-tmpdir' entries.
5539 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5540 (tramp-smb-handle-file-attributes): Ignore errors.
5541 (tramp-smb-wait-for-output): Check also for process end.
5542
5543 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5544
5545 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5546 when sending QUIT (bug#9312).
5547
5548 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5549
5550 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5551 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5552 occur-mode-display-occurrence.
5553 (occur-edit-mode): Add usage message.
5554 (occur-cease-edit): New command.
5555 (occur-after-change-function): Use text properties to find the
5556 position of the prefix text.
5557 (occur-engine): Set stickiness of prefix text properties.
5558
5559 2011-09-17 Glenn Morris <rgm@gnu.org>
5560
5561 * progmodes/etags.el (complete-tag):
5562 Fix call to completion-in-region. (Bug#9526)
5563
5564 2011-09-17 Juri Linkov <juri@jurta.org>
5565
5566 * textmodes/ispell.el (ispell-word): Add to the error message
5567 the word, ispell program name and current dictionary (bug#9121).
5568 (ispell-tex-arg-end): Capitalize "error" in the error message.
5569
5570 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5571
5572 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5573 check. (Bug#4251)
5574
5575 2011-09-17 Juri Linkov <juri@jurta.org>
5576
5577 * window.el (window-safe-min-height, window-safe-min-width):
5578 Fix typos (followup to bug#9522).
5579
5580 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5581
5582 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5583
5584 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5585
5586 * simple.el (line-move): If goal-column is set, move by logical
5587 lines, not by display lines. (Bug#971)
5588 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5589 to reflect the above change.
5590
5591 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * image.el (imagemagick-register-types): Use regexp-opt.
5594
5595 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5596
5597 * window.el (display-buffer-base-action): Rename from
5598 display-buffer-default-action. Make default value empty.
5599 (display-buffer-overriding-action): Convert to defvar.
5600 (display-buffer-fallback-action): New var.
5601
5602 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5603
5604 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5605 declaration.
5606 (package--add-to-archive-contents): If there is a duplicate entry
5607 with an older version, remove it.
5608 (package-menu-mark-delete, package-menu-mark-install)
5609 (package-menu-mark-unmark): Make unused args optional.
5610 (package-menu-mark-obsolete-for-deletion):
5611 Use package-menu-get-status instead of a regexp search.
5612 (package-menu-get-status): Use tabulated-list-entry.
5613 (package-menu-mark-upgrades): New command.
5614 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5615 (package-menu-execute): Do installation before deletion.
5616 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5617 instead of checking major-mode.
5618 (package-menu--find-upgrades): New function.
5619
5620 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5621
5622 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5623 passwords in the log buffer.
5624 (smtpmail-process-filter): Update the process marker so that the
5625 "broken by peer" status message is inserted in the right place.
5626
5627 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5630 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5631 bibtex-completion-at-point-function.
5632 (bibtex-completion-at-point-function): Use them.
5633
5634 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5635
5636 * mpc.el (mpc-constraints-tag-lookup): New function.
5637 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5638 also to browser "album|playlist".
5639
5640 2011-09-14 Juri Linkov <juri@jurta.org>
5641
5642 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5643 (isearch-edit-string): Use length of `isearch-string' when
5644 `isearch-fail-pos' returns nil.
5645 (isearch-message): Remove duplicate code and call
5646 `isearch-fail-pos' with arg `t'.
5647
5648 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5649
5650 * replace.el (occur-mode-goto-occurrence): Don't force using other
5651 window (Bug#9499).
5652
5653 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5654
5655 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5656
5657 * window.el (display-buffer-window): Remove.
5658 (display-buffer-record-window): Use help-setup window parameter
5659 instead of variable display-buffer-window.
5660 (display-buffer-function, special-display-buffer-names)
5661 (special-display-function): Mention help-setup parameter instead
5662 of display-buffer-window in doc-string.
5663 * help.el (help-window-setup): New argument help-window.
5664 Use help-window-setup parameter instead of display-buffer-window.
5665 Reword some messages.
5666 (with-help-window): Pass window used for displaying the buffer
5667 to help-window-setup. Don't set display-buffer-window.
5668
5669 2011-09-13 Glenn Morris <rgm@gnu.org>
5670
5671 * emacs-lisp/debug.el (debugger-make-xrefs):
5672 Preserve point. (Bug#9462)
5673
5674 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5675
5676 * window.el (window-deletable-p): Use next-frame.
5677
5678 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5679
5680 * window.el (window-auto-delete): Remove.
5681 (window-deletable-p): Remove argument FORCE. Don't deal with
5682 dedication and previous buffers.
5683 (switch-to-prev-buffer): Don't delete window.
5684 (delete-windows-on): Delete a window's frame if and only if the
5685 window is dedicated.
5686 (replace-buffer-in-windows): Delete buffer's window or frame if
5687 and only if window is dedicated.
5688 (quit-window): Handle quit-restore as before last change.
5689 (bury-buffer): Delete window only if window-deletable-p returns t.
5690
5691 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5692
5693 * window.el (window-deletable-p): Never delete the last frame on a
5694 given terminal.
5695
5696 2011-09-13 Glenn Morris <rgm@gnu.org>
5697
5698 * help.el (describe-key-briefly): Copy previous standard-output change.
5699
5700 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5701
5702 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5703
5704 2011-09-13 Glenn Morris <rgm@gnu.org>
5705
5706 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5707 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5708
5709 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5710
5711 * dired-aux.el (dired-mark-read-string): Don't return default
5712 value on empty input (Bug#9361).
5713 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5714 Omit initial minibuffer contents.
5715 (dired-do-chmod): Signal an error on empty input.
5716 (dired-mark-read-string): Don't return default on empty input.
5717
5718 * files.el (file-modes-symbolic-to-number): Doc fix.
5719
5720 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * international/mule-cmds.el (ucs-completions): Remove.
5723 (read-char-by-name): Use complete-with-action instead; add metadata.
5724
5725 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5726
5727 * window.el (display-buffer--action-function-custom-type)
5728 (display-buffer--action-custom-type): New vars.
5729 (display-buffer-alist, display-buffer-default-action)
5730 (display-buffer-overriding-action): Add defcustom types.
5731
5732 * frame.el (delete-other-frames): Doc fix (Bug#276).
5733
5734 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5735
5736 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5737
5738 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5739
5740 Change modes that used same-window-* vars to use switch-to-buffer.
5741
5742 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5743 Use switch-to-buffer.
5744
5745 * cus-edit.el (customize-group, custom-buffer-create)
5746 (customize-browse, custom-buffer-create-other-window):
5747 Use switch-to-buffer or switch-to-buffer-other-window.
5748
5749 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5750 (Info-prev, Info-up, Info-speedbar-goto-node)
5751 (info-display-manual): Use switch-to-buffer.
5752 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5753
5754 * mail/sendmail.el (mail): Use switch-to-buffer.
5755 (mail-recover): Use switch-to-buffer-other-window.
5756
5757 * cmuscheme.el (run-scheme, switch-to-scheme):
5758 * ielm.el (ielm):
5759 * shell.el (shell):
5760 * net/rlogin.el (rlogin):
5761 * net/telnet.el (telnet, rsh):
5762 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5763
5764 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5765
5766 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5767
5768 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5769
5770 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5771 so don't mention it (bug#9301).
5772 (dired-sort-toggle-or-edit): Clarify string further.
5773
5774 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5775 match `x', `w32' and `ns', like the manual says (bug#9029).
5776
5777 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5778 (process-kill-buffer-query-function): Mention the buffer name in
5779 the query.
5780
5781 * image-mode.el (image-next-line): The line parameter is mandatory
5782 (bug#9258).
5783
5784 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5785 which can be useful (bug#9301).
5786
5787 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5788
5789 * subr.el (match-string): Mention that the current buffer should
5790 be the same as the search was done in (bug#9282).
5791
5792 * facemenu.el: Disable the remove-* commands if the mark isn't
5793 active (bug#9162).
5794
5795 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5796
5797 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5798 of display-buffer.
5799 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5800
5801 * replace.el (occur-mode-goto-occurrence)
5802 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5803 and display-buffer.
5804
5805 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5806 display-buffer.
5807
5808 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5809 special-display and same-window variables.
5810 (mail-other-window): Use switch-to-buffer-other-window.
5811 (mail-other-frame): USe switch-to-buffer-other-frame.
5812
5813 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5814 Use display-buffer-other-frame.
5815 (gdb-display-gdb-buffer): Use pop-to-buffer.
5816
5817 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5818
5819 * progmodes/python.el: Don't set same-window-buffer-names.
5820
5821 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5822
5823 * window.el (display-buffer-alist): Add *Python*.
5824
5825 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5826
5827 * window.el (display-buffer-alist): Add entry for buffers
5828 previously handled same-window-*.
5829 (display-buffer-alist, display-buffer-default-action)
5830 (display-buffer-overriding-action): Mark as risky.
5831 (display-buffer-alist): Document action function changes.
5832 (display-buffer--same-window-action)
5833 (display-buffer--other-frame-action): New variables.
5834 (switch-to-buffer, display-buffer-other-frame): Use them.
5835 (display-buffer): Rename reuse-frame entry to reusable-frames.
5836 (display-buffer-reuse-selected-window): Function deleted.
5837 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5838 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5839 (display-buffer-special): New function.
5840 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5841 display-buffer-reuse-or-pop-window. Split off special-display
5842 part into display-buffer-special.
5843 (display-buffer-use-some-window): Don't perform any special
5844 pop-up-frames handling.
5845 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5846 (display-buffer--maybe-same-window): Rename from
5847 display-buffer-maybe-same-window.
5848
5849 * info.el: Don't set same-window-regexps.
5850 (info-setup): New function.
5851 (info-other-window, info): Call it.
5852
5853 * cus-edit.el: Don't set same-window-regexps.
5854 (customize-group): New argument.
5855 (customize-group-other-window): Use it.
5856 (customize-face, customize-face-other-window): Likewise.
5857 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5858
5859 * net/rlogin.el:
5860 * net/telnet.el:
5861 * progmodes/gud.el: Don't set same-window-regexps.
5862
5863 * cmuscheme.el:
5864 * ielm.el:
5865 * shell.el:
5866 * mail/sendmail.el:
5867 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5868
5869 2011-09-10 Juri Linkov <juri@jurta.org>
5870
5871 * isearch.el (isearch-edit-string): Remove obsolete mention of
5872 `C-w' (`isearch-yank-word-or-char') from docstring.
5873 (isearch-query-replace): Fix typo in docstring (bug#9466).
5874
5875 2011-09-10 Juri Linkov <juri@jurta.org>
5876
5877 * paren.el (show-paren-function): Don't show escaped parens.
5878 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5879
5880 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5881
5882 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5883 (mm-default-file-encoding): Remove autoload forms, they are
5884 replaced with autoload cookies in mml.el and mm-encode.el.
5885 (mail-add-attachment): New command.
5886 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5887 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5888 the doc string.
5889 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5890
5891 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5892
5893 * simple.el (count-words-region): Use buffer if there's no region
5894 (bug#9429).
5895
5896 2011-09-09 Juri Linkov <juri@jurta.org>
5897
5898 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5899 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5900 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5901
5902 2011-09-09 Alan Mackenzie <acm@muc.de>
5903
5904 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5905 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5906
5907 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5908
5909 Fix for Savannah bug#9392.
5910 * simple.el (mail-encode-mml): New defvar.
5911
5912 * mail/rmail.el (mail-encode-mml): Add a defvar.
5913 (rmail-enable-mime-composing): Default to t.
5914 (rmail-forward): Use MIME method of forwarding only if both
5915 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5916 Set mail-encode-mml non-nil if the MIME method was used.
5917
5918 * mail/sendmail.el (mml-to-mime): Add autoload form.
5919 (mail-encode-mml): Add a defvar.
5920 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5921 to nil.
5922 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5923 message through mml-to-mime, and reset mail-encode-mml to nil.
5924
5925 2011-09-09 Glenn Morris <rgm@gnu.org>
5926
5927 * woman.el (woman-if-body): When processing an .el block,
5928 do not delete the next .el block as well. (Bug#9447)
5929 (woman-special-characters): Add oq, cq, and hy characters.
5930
5931 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5932
5933 * window.el (window-deletable-p): Make sure window is live before
5934 invoking window-prev-buffers.
5935
5936 2011-09-08 Leo Liu <sdl.web@gmail.com>
5937
5938 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5939
5940 2011-09-08 Juri Linkov <juri@jurta.org>
5941
5942 * progmodes/compile.el (compilation-environment): Make it
5943 a defcustom (bug#8340).
5944
5945 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5946
5947 * window.el (frame-auto-delete): Rename to window-auto-delete.
5948 Make it control auto-deletion of windows and/or frames.
5949 (window-deletable-p): New argument FORCE. Rewrite conditions
5950 for deleting window/frame. (Bug#9419)
5951 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5952 Rewrite handling of case when window/frame can be deleted.
5953 (delete-windows-on): Call window-deletable-p with new FORCE
5954 argument t. (Bug#9456)
5955
5956 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5957
5958 * help-mode.el (help-mode): Restore autoload.
5959
5960 2011-09-07 Juri Linkov <juri@jurta.org>
5961
5962 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5963 `compilation-environment'. Set buffer-local
5964 `compilation-environment' to `thisenv' later after (funcall mode).
5965 (Bug#8340)
5966
5967 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5968 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5969 instead of replacing its value. (Bug#8340)
5970
5971 2011-09-07 Juri Linkov <juri@jurta.org>
5972
5973 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5974 based on text properties put by `grep-filter' instead of matching
5975 escape sequences.
5976 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5977 to the value of `grep-error-screen-columns' (bug#9438).
5978
5979 2011-09-07 Juri Linkov <juri@jurta.org>
5980
5981 * simple.el (next-error-highlight, next-error-highlight-no-select):
5982 Doc fix (bug#9432).
5983
5984 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5985
5986 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5987 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5988
5989 2011-09-07 Leo Liu <sdl.web@gmail.com>
5990
5991 * net/rcirc.el (rcirc-mode): Conditionally initialize
5992 rcirc-input-ring.
5993
5994 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5995
5996 * emacs-lisp/find-func.el (find-function-C-source): Only set
5997 find-function-C-source-directory after checking that we found a source
5998 file there (bug#9440).
5999
6000 2011-09-06 Alan Mackenzie <acm@muc.de>
6001
6002 * isearch.el (isearch-other-meta-char): Wherever a key list is
6003 unread, "unread" the prefix arg, too. This fixes bug #8901.
6004
6005 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6006
6007 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6008
6009 2011-09-05 Juri Linkov <juri@jurta.org>
6010
6011 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6012
6013 2011-09-05 Juri Linkov <juri@jurta.org>
6014
6015 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6016 keeping point where processing of grep matches begins, and
6017 continue to delete remaining escape sequences from the same point.
6018 (grep-filter): Make leading zero optional in "0?1;31m" because
6019 git-grep emits "\033[1;31m" escape sequences unlike expected
6020 "\033[01;31m" as GNU Grep does (bug#9408).
6021 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6022
6023 2011-09-05 Juri Linkov <juri@jurta.org>
6024
6025 * subr.el (y-or-n-p): Capitalize "yes".
6026
6027 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6028
6029 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6030 `tramp-cache-unload-hook' where appropriate.
6031 (tramp-methods): Rename `tramp-remote-sh' to
6032 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6033 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6034
6035 * net/tramp-sh.el (top): Don't require 'shell.
6036 (tramp-methods): Add `tramp-remote-shell' and
6037 `tramp-remote-shell-args' entries.
6038 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6039 (tramp-sh-handle-shell-command): Remove.
6040 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6041 Use `tramp-remote-shell'.
6042
6043 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6044
6045 * mail/sendmail.el (sendmail-query-once-function): Delete.
6046 (sendmail-query-once): Save directly to send-mail-function.
6047 Update message-send-mail-function too.
6048
6049 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6050
6051 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6052
6053 * progmodes/python.el (python-mode-map): Use correct function to
6054 start python interpreter from menu-bar (as reported by Geert
6055 Kloosterman).
6056 (inferior-python-mode-map): Fix typo.
6057 (python-shell-map): Remove.
6058
6059 2011-09-03 Deniz Dogan <deniz@dogan.se>
6060
6061 * net/rcirc.el (rcirc-print): Simplify code for
6062 rcirc-scroll-show-maximum-output. There is no need to walk
6063 through all windows to find the right one.
6064
6065 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6066
6067 * help.el (help-return-method): Doc fix.
6068
6069 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6070
6071 * window.el (window-deletable-p): Don't return a non-nil value
6072 when there's a buffer that was shown in the window before.
6073 (Bug#9419)
6074 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6075 Set window's previous buffers to nil.
6076
6077 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6078
6079 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6080 newline before and after the tag line, so it doesn't interfere
6081 with determining the paragraph direction of bidirectional text.
6082
6083 2011-09-03 Leo Liu <sdl.web@gmail.com>
6084
6085 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6086
6087 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6088
6089 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6090 (pop-to-buffer): Change interactive spec. Pass second argument
6091 directly to display-buffer.
6092 (display-buffer): Fix interactive spec. Use functionp to
6093 distinguish between a function and a list of functions.
6094
6095 * abbrev.el (edit-abbrevs):
6096 * arc-mode.el (archive-extract):
6097 * autoinsert.el (auto-insert):
6098 * bookmark.el (bookmark-bmenu-list):
6099 * files.el (find-file):
6100 * view.el (view-buffer):
6101 * progmodes/compile.el (compilation-goto-locus):
6102 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6103
6104 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6105
6106 * window.el (display-buffer-alist): Doc fix.
6107 (display-buffer): Add docstring. Don't treat
6108 display-buffer-default specially.
6109 (display-buffer-reuse-selected-window)
6110 (display-buffer-same-window, display-buffer-maybe-same-window)
6111 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6112 (display-buffer-pop-up-window)
6113 (display-buffer-reuse-or-pop-window)
6114 (display-buffer-use-some-window): New functions.
6115 (display-buffer-default-action): Use them.
6116 (display-buffer-default): Delete.
6117 (pop-to-buffer-1): Fix choice of actions.
6118
6119 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * minibuffer.el (completion--insert-strings): Don't get confused by
6122 completion entries that end with an LF char.
6123
6124 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6125
6126 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6127
6128 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6129
6130 * window.el (display-buffer): Restore interactive spec.
6131 (display-buffer-same-window, display-buffer-other-window):
6132 New functions.
6133 (pop-to-buffer-1): New function. Use the above.
6134 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6135 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6136
6137 * view.el (view-buffer-other-window, view-buffer-other-frame):
6138 Just use pop-to-buffer.
6139
6140 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6141
6142 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6143
6144 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6145
6146 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6147
6148 2011-08-31 Richard Stallman <rms@gnu.org>
6149
6150 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6151 of the separation of rmail-view-buffer from rmail-buffer.
6152 If you say no to "replace original", the decrypt is in the
6153 view buffer. If you say yes, the decrypt goes into the
6154 rmail buffer also.
6155
6156 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6157
6158 * window.el (display-buffer-window): Rewrite doc-string.
6159 (display-buffer-record-window): New function.
6160 (display-buffer-macro-specifiers)
6161 (display-buffer-even-window-sizes, display-buffer-set-height)
6162 (display-buffer-set-width, display-buffer-in-window)
6163 (display-buffer-reuse-window, display-buffer-split-specifiers)
6164 (display-buffer-side-specifiers, display-buffer-split-window-1)
6165 (display-buffer-split-window, display-buffer-split-atom-window)
6166 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6167 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6168 (display-buffer-other-window-means-other-frame)
6169 (display-buffer-normalize-special)
6170 (display-buffer-normalize-default)
6171 (display-buffer-normalize-argument)
6172 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6173 (display-buffer-normalize-specifiers, display-buffer-frame)
6174 (display-buffer-same-window, display-buffer-same-frame)
6175 (display-buffer-other-window)
6176 (display-buffer-same-frame-other-window)
6177 (display-buffer-other-frame, pop-to-buffer-same-window)
6178 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6179 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6180 (switch-to-buffer-same-frame)
6181 (switch-to-buffer-other-window-same-frame)
6182 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6183 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6184 (display-buffer-alist-set): Remove.
6185 (display-buffer-function, special-display-buffer-names)
6186 (special-display-regexps, special-display-function):
6187 In doc-string refer to display-buffer-window and quit-restore
6188 parameter.
6189 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6190 (special-display-frame-alist, special-display-popup-frame)
6191 (same-window-buffer-names, same-window-regexps, same-window-p)
6192 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6193 (split-window-preferred-function, split-height-threshold)
6194 (split-width-threshold, window-splittable-p)
6195 (split-window-sensibly, window--try-to-split-window)
6196 (window--frame-usable-p, even-window-heights)
6197 (window--even-window-heights, window--display-buffer-1)
6198 (window--display-buffer-2, display-buffer-other-frame):
6199 Restore old Emacs 23 code, order and doc-strings where applicable.
6200 (display-buffer-default, display-buffer-assq-regexp): New functions.
6201 (display-buffer-alist): Rewrite doc-string.
6202 (display-buffer-default-action)
6203 (display-buffer-overriding-action): New variables.
6204 (display-buffer, switch-to-buffer): Rewrite.
6205 (pop-to-buffer): Restore Emacs 23 behavior but use
6206 window-normalize-buffer-to-display.
6207 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6208 Restore Emacs 23 behavior but use
6209 window-normalize-buffer-to-switch-to.
6210 (pop-to-buffer-same-window): Rewrite.
6211 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6212 Rewrite using Emacs 23 options.
6213
6214 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6215
6216 * net/tramp.el (tramp-root-regexp): Remove.
6217 (tramp-completion-file-name-regexp-unified)
6218 (tramp-completion-file-name-regexp-separate)
6219 (tramp-completion-file-name-regexp-url): Don't use leading volume
6220 letter on win32 systems. (Bug#5303, Bug#9311)
6221 (tramp-drop-volume-letter): Simplify definition.
6222 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6223
6224 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6227 (bug#9356).
6228
6229 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6230
6231 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6232
6233 2011-08-29 Juri Linkov <juri@jurta.org>
6234
6235 * isearch.el (isearch-done): Don't display message "Mark saved"
6236 when arg `edit' is non-nil to prevent its flicker in the echo area.
6237
6238 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6239
6240 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6241 obsolete packages for deletion.
6242
6243 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6244
6245 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6246 (help-mode): Derive help-mode from special-mode. Don't invoke
6247 view-mode from help-mode.
6248 (help-xref-override-view-map): Remove.
6249 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6250 view-mode is not used anymore.
6251
6252 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6253
6254 * server.el (server-port): Doc fix.
6255
6256 * cus-theme.el (custom-theme-choose-mode): Inherit from
6257 special-mode (Bug#9124).
6258 (custom-theme-choose-mode-map): Add special-mode to parent.
6259
6260 2011-08-28 Alan Mackenzie <acm@muc.de>
6261
6262 * progmodes/cc-fonts.el
6263 (c-make-font-lock-BO-decl-search-function): New function.
6264 (c-basic-matchers-after - "Fontify the clauses after various
6265 keywords"): Extract the three keyword lists for the 3 erroneous
6266 constructs from the list of four, and use the new function above
6267 in place of an old one.
6268
6269 2011-08-28 Deniz Dogan <deniz@dogan.se>
6270
6271 * net/rcirc.el (rcirc-insert-prev-input)
6272 (rcirc-insert-next-input): Remove unused argument.
6273
6274 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6277
6278 2011-08-27 Alan Mackenzie <acm@muc.de>
6279
6280 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6281 handle function pointer parameters properly.
6282
6283 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6284
6285 * window.el (display-buffer-reuse-window): Fix case where
6286 selected window was reused with non-nil OTHER-WINDOW argument.
6287 (Bug#9381)
6288
6289 2011-08-27 Deniz Dogan <deniz@dogan.se>
6290
6291 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6292 oftc's NickServ messages.
6293
6294 2011-08-27 Glenn Morris <rgm@gnu.org>
6295
6296 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6297
6298 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6299
6300 * emacs-lisp/package.el (package-install): Call package-initialize
6301 if called interactively.
6302
6303 2011-08-26 Leo Liu <sdl.web@gmail.com>
6304
6305 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6306
6307 2011-08-25 Juri Linkov <juri@jurta.org>
6308
6309 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6310 `search-whitespace-regexp' (bug#9364).
6311
6312 2011-08-25 Juri Linkov <juri@jurta.org>
6313
6314 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6315 `regexp-search-ring' to their global values to protect from
6316 updating by `read-from-minibuffer' (bug#9185).
6317
6318 2011-08-25 Juri Linkov <juri@jurta.org>
6319
6320 * textmodes/ispell.el (ispell-command-loop): Add newline
6321 at the end of the "Use option `i'..." line.
6322
6323 2011-08-25 Juri Linkov <juri@jurta.org>
6324
6325 * battery.el (display-battery-mode): If `battery-status-function'
6326 or `battery-mode-line-format' is nil, display the message and set
6327 `display-battery-mode' to nil (bug#9363).
6328
6329 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6330
6331 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6332 bidi-string-mark-left-to-right; they are unnecessary now.
6333
6334 2011-08-25 Deniz Dogan <deniz@dogan.se>
6335
6336 * net/quickurl.el: Documentation typo fixes.
6337
6338 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6339
6340 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6341
6342 2011-08-25 Glenn Morris <rgm@gnu.org>
6343
6344 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6345
6346 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6347 (smtpmail-via-smtp): Handle nil response from smtp.
6348
6349 2011-08-24 Juri Linkov <juri@jurta.org>
6350
6351 * proced.el (proced-marked): Inherit from `error' instead of
6352 `font-lock-warning-face'.
6353
6354 * ibuffer.el (ibuffer-marked-face): Change default face from
6355 `font-lock-warning-face' to `warning'.
6356 (ibuffer-deletion-face): Change default face from
6357 `font-lock-type-face' to `error'.
6358
6359 * battery.el (battery-update): Use the face `error' instead of
6360 `font-lock-warning-face' (bug#6117).
6361
6362 2011-08-24 Juri Linkov <juri@jurta.org>
6363
6364 * faces.el (success): Change face color from "Green3" to
6365 "ForestGreen" on light background (bug#9353).
6366
6367 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6368
6369 * window.el (quit-window): Rename from quit-restore-window.
6370 Use same arglist as old quit-window.
6371 (frame-auto-delete): Doc fix.
6372
6373 * view.el (view-mode-exit): Use quit-window.
6374
6375 2011-08-24 Juri Linkov <juri@jurta.org>
6376
6377 * isearch.el (isearch-ring-adjust1): Start visiting previous
6378 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6379 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6380 for empty search string (when the last search string is reused
6381 automatically) to adjust the isearch ring to the last element and
6382 prepare the correct index for further M-p commands (bug#9185).
6383
6384 2011-08-24 Kenichi Handa <handa@m17n.org>
6385
6386 * international/ucs-normalize.el: If decomposition property of
6387 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6388 nil.
6389 (nfd, nfkd): Likewise.
6390
6391 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6394 from process filters aren't reliably transmitted to the surrounding
6395 accept-process-output.
6396 (mpc-proc-check): New function.
6397 (mpc-proc-sync): Use it (bug#8293)
6398
6399 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6402 Add compatibility functions (bug#9313).
6403
6404 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6405
6406 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6407
6408 * international/uni-bidi.el: Regenerate.
6409
6410 2011-08-23 Kenichi Handa <handa@m17n.org>
6411
6412 * international/charprop.el:
6413 * international/uni-bidi.el:
6414 * international/uni-category.el:
6415 * international/uni-combining.el:
6416 * international/uni-comment.el:
6417 * international/uni-decimal.el:
6418 * international/uni-decomposition.el:
6419 * international/uni-digit.el:
6420 * international/uni-lowercase.el:
6421 * international/uni-mirrored.el:
6422 * international/uni-name.el:
6423 * international/uni-numeric.el:
6424 * international/uni-old-name.el:
6425 * international/uni-titlecase.el:
6426 * international/uni-uppercase.el: Regenerate.
6427
6428 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6429
6430 * help.el (help-window-setup): Fix message displayed when other
6431 window is reused. (Bug#9341)
6432
6433 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6436 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6437
6438 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6439 Mark obsolete.
6440 * shell.el (shell-parse-pcomplete-arguments): New function.
6441 (shell-completion-vars): Use it instead (bug#9160).
6442
6443 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6446 strings and comments (bug#9333).
6447
6448 * emacs-lisp/debug.el (debug-arglist): New function.
6449 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6450 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6451
6452 2011-08-22 Juri Linkov <juri@jurta.org>
6453
6454 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6455 Revert regexp that highlights output switches to its old
6456 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6457
6458 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6459 to check for empty output (bug#9226).
6460
6461 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6462
6463 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6464 symbol-constituent as the default, as that stops font-lock from
6465 working properly (Bug#8843).
6466
6467 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6468
6469 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6470 `coding-system-for-*' around the process open call to avoid
6471 auth-source side effects.
6472 (smtpmail-try-auth-methods): Expand the secret password.
6473 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6474 probe hangs.
6475
6476 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6477
6478 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6479
6480 * emacs-lisp/find-func.el (find-function-noselect): New arg
6481 lisp-only.
6482
6483 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6484 signal an error for built-in functions (Bug#6664).
6485
6486 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6487
6488 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6489 (smtpmail-try-auth-methods): Use it.
6490
6491 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6492
6493 * font-lock.el (font-lock-fontify-region)
6494 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6495 (font-lock-default-unfontify-buffer)
6496 (font-lock-default-fontify-region)
6497 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6498
6499 * progmodes/compile.el (compilation-error-properties):
6500 Fix confusion between file struct and message struct (Bug#9319).
6501 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6502 `ant' regexp.
6503
6504 * net/browse-url.el (browse-url-firefox): Don't call
6505 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6506
6507 2011-08-20 Glenn Morris <rgm@gnu.org>
6508
6509 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6510
6511 * tutorial.el (tutorial--default-keys): Update some default bindings.
6512
6513 * files.el (hack-local-variables): Fully ignore case for "mode:".
6514
6515 2011-08-20 Alan Mackenzie <acm@muc.de>
6516
6517 Resolve invalid use of a regexp in regexp-opt.
6518
6519 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6520 detection for a java annotation.
6521
6522 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6523 detection for a java annotation.
6524
6525 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6526 handling for java.
6527 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6528
6529 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6530
6531 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6532 (Bug#9274).
6533
6534 2011-08-20 Alan Mackenzie <acm@muc.de>
6535
6536 Fontify CPP expressions correctly when starting in the middle of
6537 such a construct. Mainly for when jit-lock etc. starts a chunk
6538 here.
6539
6540 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6541 variable.
6542 (c-make-font-lock-search-form): New function, extracted from
6543 c-make-font-lock-search-function.
6544 (c-make-font-lock-search-function): Use the above function.
6545 (c-make-font-lock-context-search-function): New function.
6546 (c-cpp-matchers): Enhance the preprocessor expression case with
6547 the above function
6548 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6549 which takes an expression.
6550
6551 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6552
6553 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6554
6555 * window.el (display-buffer-reuse-window)
6556 (display-buffer-pop-up-window): Don't reuse or split a side
6557 window.
6558
6559 2011-08-19 Glenn Morris <rgm@gnu.org>
6560
6561 * files.el (hack-local-variables-prop-line, hack-local-variables):
6562 Downcase "Mode:". (Bug#9331)
6563
6564 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6565
6566 * international/characters.el: Add L and R categories.
6567
6568 * subr.el (bidi-string-mark-left-to-right): Rename from
6569 string-mark-left-to-right. Use category search.
6570
6571 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6572
6573 2011-08-18 Juri Linkov <juri@jurta.org>
6574
6575 * faces.el (error, warning, success): New faces with definitions
6576 copied from old default values of `font-lock-warning-face',
6577 `compilation-warning', `compilation-info' (bug#6117).
6578
6579 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6580
6581 * progmodes/compile.el (compilation-error): Inherit from `error'.
6582 (compilation-warning): Inherit from `warning'.
6583 (compilation-info): Inherit from `success'.
6584
6585 * dired.el (dired-marked): Inherit from `warning'.
6586 (dired-flagged): Inherit from `error'.
6587
6588 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6589
6590 * mail/smtpmail.el (auth-source): Require to avoid problems with
6591 binding variables (bug#9298). Also clean up some unused
6592 autoloads.
6593
6594 * net/network-stream.el (network-stream-open-starttls):
6595 Support using starttls.el without using gnutls-cli.
6596
6597 2011-08-17 Juri Linkov <juri@jurta.org>
6598
6599 * progmodes/grep.el (rgrep): Handle the case when
6600 `grep-find-command' is a cons cell (bug#9278).
6601
6602 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6603
6604 * window.el (display-buffer-pop-up-frame): Run frame creation
6605 function with BUFFER current (as special-display-popup-frame
6606 does). Reported by Drew Adams.
6607
6608 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6609
6610 * epa-mail.el: Simplify GnuPG group expansion using
6611 epg-expand-group.
6612 (epa-mail-group-alist, epa-mail-group-modtime)
6613 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6614 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6615 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6616 Remove.
6617
6618 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6619
6620 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6621
6622 2011-08-16 Alan Mackenzie <acm@muc.de>
6623
6624 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6625 Correct, to avoid the inside of macros.
6626
6627 2011-08-16 Richard Stallman <rms@gnu.org>
6628
6629 * epa-mail.el: Handle GnuPG group definitions.
6630 (epa-mail-group-alist, epa-mail-group-modtime)
6631 (epa-mail-gnupg-conf-file): New variables.
6632 (epa-mail-parse-groups, epa-mail-sync-groups)
6633 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6634 (epa-mail-expand-recipients): New functions.
6635 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6636
6637 * mail/rmail.el (rmail-epa-decrypt): New command.
6638
6639 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6640 Don't bind buffer-read-only, just inhibit-read-only.
6641 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6642 (epa-decrypt-armor-in-region): Make error message clearer.
6643
6644 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6645
6646 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6647 and "a2b" to "ab" for `prefix'.
6648
6649 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6650
6651 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6652 filter groups.
6653 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6654 Fourquet (Bug#8804).
6655
6656 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6657
6658 * startup.el (argi): Declare as global variable (bug#9275).
6659
6660 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6661
6662 * subr.el (string-mark-left-to-right): Search the entire string
6663 for RTL script, not just the terminating character. Doc fix.
6664
6665 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6668 New function.
6669 (js--regexp-literal, js-syntax-propertize-function): Remove.
6670 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6671 (js-mode-map): Don't rebind electric keys.
6672 (js-insert-and-indent): Remove.
6673 (js-mode): Setup electric-layout and electric-indent instead.
6674
6675 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6676
6677 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6678
6679 * epa.el (epa-progress-callback-function): Fix the logic of
6680 displaying progress.
6681 * epa-file.el (epa-file-insert-file-contents): Make progress
6682 display more user-friendly.
6683 (epa-file-write-region): Ditto.
6684
6685 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6686
6687 * subr.el (string-mark-left-to-right): New function.
6688
6689 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6690 Use string-mark-left-to-right.
6691 (list-buffers-noselect): Caller changed.
6692
6693 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6694 Use string-mark-left-to-right.
6695 (tabulated-list-print): Recenter after moving point.
6696
6697 2011-08-10 Juri Linkov <juri@jurta.org>
6698
6699 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6700 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6701 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6702
6703 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6704
6705 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6706 (Bug#7554).
6707
6708 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6709
6710 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6711 character. (Bug#6594)
6712
6713 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6714
6715 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6716 (image-dired--with-db-file): New macro.
6717 (image-dired-write-tags, image-dired-remove-tag)
6718 (image-dired-create-gallery-lists, image-dired-write-comments)
6719 (image-dired-get-comment, image-dired-mark-tagged-files)
6720 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6721 (image-dired-gallery-generate): Use insert-file-contents.
6722
6723 * time.el (display-time-world-list, display-time-world-display):
6724 * time-stamp.el (time-stamp-string):
6725 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6726 set-time-zone-rule (Bug#7337).
6727
6728 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6729
6730 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6731 (epg-error-to-string, epg-errors-to-string): New function.
6732 (epg-wait-for-completion): Reverse errors list.
6733 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6734 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6735 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6736 (epg-sign-keys, epg-generate-key-from-file)
6737 (epg-generate-key-from-string): Format errors by using
6738 epg-errors-to-string (bug#9255).
6739 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6740
6741 2011-08-07 Juri Linkov <juri@jurta.org>
6742
6743 * faces.el (list-faces-display): Remove extra angle bracket
6744 from `help-mode-map'.
6745
6746 * info.el (Info-history-toc-nodes): Doc fix.
6747
6748 * longlines.el (longlines-mode): Doc fix.
6749
6750 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6753 of statements and in a few more cases (bug#9183).
6754
6755 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6756 New functions.
6757 (cl-transform-lambda): Use them (bug#9239).
6758
6759 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6760
6761 * window.el (display-buffer-same-window)
6762 (display-buffer-same-frame, display-buffer-other-window)
6763 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6764 (pop-to-buffer-other-window)
6765 (pop-to-buffer-same-frame-other-window)
6766 (pop-to-buffer-other-frame): Make them defuns.
6767 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6768
6769 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * subr.el (make-composed-keymap): Move from C. Change calling
6772 convention, and improve docstring to bring attention to a subtle point.
6773 * minibuffer.el (completing-read-default): Adjust accordingly.
6774
6775 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6776
6777 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6778 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6779
6780 * net/trampver.el: Update release number.
6781
6782 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6785 "in" (bug#9190).
6786
6787 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6788
6789 * mail/sendmail.el (sendmail-query-once): Restore the current
6790 buffer after querying (bug#9074).
6791
6792 * dired.el (dired-flagged): Use different faces for marked and
6793 flagged files (bug#6117).
6794
6795 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6796 (bug#4433).
6797
6798 * ido.el (ido-mode): Switch off the message if called
6799 non-interactively.
6800
6801 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6802 before 587, since it appears that that's more likely to work for
6803 more people.
6804
6805 * cus-edit.el (custom-file): When running under emacs -q, always
6806 refuse to save the customizations, even if the .emacs file doesn't
6807 exist.
6808
6809 * info.el: Remove the `Info-beginning-of-buffer' function
6810 (bug#8325).
6811
6812 * net/network-stream.el (network-stream-open-starttls):
6813 Use `starttls-available-p' to see whether starttls.el can be used.
6814
6815 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6816
6817 * window.el (display-buffer-in-window): Don't set dedicated status
6818 of window here (Bug#9215).
6819 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6820 (display-buffer-pop-up-side-window)
6821 (display-buffer-in-side-window): Set dedicated status of window here.
6822
6823 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6826 before binding generated-autoload-file.
6827
6828 2011-08-01 Deniz Dogan <deniz@dogan.se>
6829
6830 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6831
6832 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6833
6834 Sync with Tramp 2.2.2.
6835
6836 * net/trampver.el: Update release number.
6837
6838 2011-07-30 Juri Linkov <juri@jurta.org>
6839
6840 * dired-aux.el (dired-touch-initial): Remove function.
6841 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6842 current time, and `default' to the last modification time of the
6843 current marked file (bug#6887).
6844
6845 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6846
6847 * simple.el (goto-line): Use string-to-number to provide a
6848 numeric argument to read-number (bug#9163).
6849
6850 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6851
6852 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6853 connection process, it could be nil.
6854
6855 2011-07-27 Leo Liu <sdl.web@gmail.com>
6856
6857 Simplify url handling in rcirc-mode.
6858
6859 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6860 (rcirc-browse-url-at-mouse): Remove.
6861 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6862
6863 2011-07-26 Alan Mackenzie <acm@muc.de>
6864
6865 Fontify bitfield declarations properly.
6866
6867 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6868 (c-symbol-chars): Now exported as a lang variable.
6869 (c-not-primitive-type-keywords): New lang variable.
6870
6871 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6872 QT keyword "more" to prevent "more slots: ...." being spuriously
6873 parsed as a bitfield declaration.
6874
6875 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6876 Refactor and enhance to handle bitfield declarations.
6877 (c-punctuation-in): New function.
6878 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6879 declarations properly.
6880
6881 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6882
6883 * calendar/icalendar.el (icalendar--all-events): Take care of
6884 multiple vcalendars in a single file.
6885 (icalendar--convert-float-to-ical): Checkdoc fixes.
6886
6887 2011-07-25 Deniz Dogan <deniz@dogan.se>
6888
6889 * image.el (insert-image): Clarifying docstring.
6890
6891 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6892
6893 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6894 `tramp-send-command-and-check' if there is no error.
6895 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6896
6897 2011-07-22 Alan Mackenzie <acm@muc.de>
6898
6899 Prevent cc-langs.elc being loaded at run time.
6900
6901 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6902 cc-langs.
6903
6904 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6905 "(require 'cc-langs)". Quote a form so it will evaluate at
6906 (cc-mode's) compilation time.
6907
6908 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6909
6910 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6911 loading. (Bug#9114)
6912
6913 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6914
6915 * window.el (display-buffer-pop-up-window)
6916 (display-buffer-pop-up-side-window)
6917 (display-buffer-in-side-window): Call display-buffer-set-height
6918 and display-buffer-set-width after setting the new window's
6919 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6920
6921 2011-07-20 Sam Steingold <sds@gnu.org>
6922
6923 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6924 (etags-tags-included-tables): Call `convert-standard-filename' on
6925 the file names contained in TAGS so that windows Emacs can handle
6926 TAGS files created by cygwin ctags.
6927
6928 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6929
6930 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6931 which apparently didn't work.
6932
6933 2011-07-19 Roland Winkler <winkler@gnu.org>
6934
6935 * proced.el (proced-send-signal): For *Marked Processes* buffer
6936 put point at beginning of buffer.
6937
6938 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6939
6940 * proced.el (proced-format): Make header lines align with the text
6941 (bug#1779).
6942
6943 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6944
6945 * view.el (view-buffer): Allow running in `special' modes if we're
6946 visiting a file (bug#8615).
6947
6948 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6949
6950 * window.el (display-buffer-alist-of-strings-p)
6951 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6952 New functions.
6953 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6954 more accurately.
6955
6956 2011-07-18 Alan Mackenzie <acm@muc.de>
6957
6958 Fontify declarators properly when, e.g., a jit-lock chunk begins
6959 inside a declaration.
6960
6961 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6962
6963 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6964 New function.
6965 (c-complex-decl-matchers): Insert reference to
6966 c-font-lock-enclosing-decls.
6967
6968 * progmodes/cc-engine.el (c-backward-single-comment):
6969 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6970 to nil around calls to (forward-comment -1).
6971
6972 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6973
6974 * image.el (put-image): Doc typo fix.
6975
6976 * progmodes/etags.el (tags-search): Doc typo fix.
6977
6978 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6979 password if we get errors 550 to 554.
6980
6981 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6982
6983 * net/gnutls.el (gnutls-log-level): Remove.
6984
6985 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6986 indentation character (bug#6380).
6987
6988 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6989
6990 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6991 to clarify what the problem is (bug#4291).
6992
6993 * simple.el (current-kill): Clarify what
6994 `interprogram-paste-function' does (bug#7500).
6995 (auto-fill-mode): Document `auto-fill-function' in relation to
6996 `auto-fill-mode' (bug#2470).
6997
6998 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6999
7000 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7001 method if slot is read-only (bug#9035).
7002
7003 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7004
7005 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7006 * window.el (pop-to-buffer): Select window used even if it was
7007 selected before, see discussion of (Bug#8615), (Bug#6954).
7008 Pass argument NORECORD on to select-frame-set-input-focus.
7009
7010 2011-07-15 Glenn Morris <rgm@gnu.org>
7011
7012 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7013 Respect help-form.
7014
7015 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7016
7017 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7018 (gnutls-negotiate): Use it.
7019
7020 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7021
7022 * net/gnutls.el (gnutls-negotiate):
7023 Upcase `gnutls-algorithm-priority'.
7024
7025 2011-07-15 Glenn Morris <rgm@gnu.org>
7026
7027 * jka-compr.el (jka-compr-verbose): Move from here...
7028 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7029 Add missing :version tag.
7030 * info.el: No need to require jka-compr when compiling.
7031
7032 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7033
7034 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7035 (gnutls-negotiate): Use it.
7036
7037 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7038
7039 * info.el (Info-beginning-of-buffer): New command.
7040 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7041 announcing `b' as the key (bug#8325).
7042 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7043
7044 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7045
7046 * international/mule-cmds.el
7047 (describe-specified-language-support): Make the error message
7048 clearer (bug#8905).
7049
7050 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7051
7052 * isearch.el (isearch-barrier): Add a doc string, since it's
7053 mentioned in a function doc string (bug#8678).
7054
7055 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7056
7057 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7058 buffer argument (Bug#9083) and self-identifying label argument.
7059
7060 2011-07-15 Glenn Morris <rgm@gnu.org>
7061
7062 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7063
7064 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7065
7066 * man.el (Man-fontify-manpage): Fix message when formatting the
7067 man page (bug#7929).
7068
7069 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7070
7071 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7072 argument LRM; if non-nil, append an invisible LRM character to the
7073 buffer name.
7074 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7075 last argument non-nil, when formatting buffer names.
7076 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7077 paragraph direction.
7078
7079 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7080
7081 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7082 the man page name (bug#7929).
7083
7084 * image.el (put-image): Mention the `put-image' overlay property
7085 (bug#7834).
7086
7087 * scroll-bar.el (set-scroll-bar-mode): Mention that
7088 `scroll-bar-mode' lists the values (bug#7772).
7089
7090 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7091 command (bug#7729).
7092
7093 * rect.el (apply-on-rectangle): Return the point after the last
7094 operation.
7095 (string-rectangle): Go to the point after the last operation
7096 (bug#7522).
7097
7098 * printing.el (pr-toggle-region): Clarify the documentation
7099 slightly (bug#7493).
7100
7101 * time.el (display-time-update):
7102 Allow `display-time-mail-function' to return nil (bug#7158).
7103 Fix suggested by Detlev Zundel.
7104
7105 * vc/diff.el (diff): Clarify the order the file names are read
7106 (bug#7111).
7107
7108 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7109 the doc string (bug#7015).
7110
7111 * font-lock.el (font-lock-maximum-decoration): Mention what
7112 numeric levels mean (bug#6935).
7113
7114 * startup.el (initial-buffer-choice): Don't mention the `none'
7115 selection, which is against policy.
7116
7117 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7118
7119 * window.el (display-buffer-normalize-special):
7120 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7121
7122 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7123
7124 * subr.el (version<, version<=, version=): Mention "-CVS" and
7125 "-12345" alpha version numbers.
7126
7127 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7128
7129 * bindings.el: Add advertised binding for set-mark-command
7130 (Bug#5772).
7131
7132 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7133
7134 * bindings.el (mode-line-other-buffer):
7135 * bookmark.el (bookmark-bmenu-2-window):
7136 * bs.el (bs-cycle-next, bs-cycle-previous):
7137 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7138 switch-to-buffer.
7139
7140 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7141 Delete.
7142
7143 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7144
7145 * follow.el (follow-debug-message, follow-redisplay):
7146 * jka-cmpr-hook.el (with-auto-compression-mode):
7147 Fix typos in docstrings.
7148
7149 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7150
7151 * subr.el (with-silent-modifications): Clarify somewhat what the
7152 macro inhibits (bug#6525).
7153
7154 * simple.el (eval-expression): Note what it does if called
7155 interactively (bug#6495).
7156
7157 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7158
7159 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7160 Use pop-to-buffer buffer-or-name if it is nil.
7161
7162 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7163 Remove switch-to-buffer.
7164
7165 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7166
7167 * files.el (make-directory): Clarify that an error will be raised
7168 if there's an error (bug#6397).
7169
7170 * startup.el (initial-buffer-choice): Add `none' as a choice
7171 (bug#6234).
7172
7173 * subr.el (add-hook): Clarify section about buffer-local hooks
7174 (bug#6218).
7175
7176 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7177
7178 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7179
7180 * tabify.el (untabify): Preserve the current column so that point
7181 doesn't move (bug#6032).
7182
7183 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7184
7185 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7186 Rewrite to avoid awkward possessive "s" (bug#5986).
7187
7188 2011-07-13 Glenn Morris <rgm@gnu.org>
7189
7190 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7191 (dired-insert-directory): Give a message the first time
7192 if ls is found not to support --dired.
7193
7194 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7195
7196 * simple.el (toggle-truncate-lines): Clarify what is toggled
7197 (bug#5580). Text by Drew Adams.
7198
7199 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7200
7201 * simple.el (blink-matching-open): Make the error message from the
7202 last change less verbose.
7203
7204 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7205
7206 * font-lock.el (font-lock-comment-face): Use the high contrast
7207 "yellow" color for font-lock-comment-face on low color terminals
7208 using a dark background color (bug#4221).
7209
7210 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7211
7212 * dired.el (dired-insert-set-properties): Make the doc string
7213 reflect what it does now (bug#5325).
7214
7215 * simple.el (blink-matching-open): Say that we were unable to find
7216 the match within the limit, if we're limited (bug#5122).
7217
7218 * international/mule-cmds.el (prefer-coding-system): Add an
7219 example (bug#4869).
7220
7221 * progmodes/etags.el (tags-search): Document `file-list-form'
7222 (bug#4731).
7223
7224 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7225
7226 * net/browse-url.el (browse-url-default-browser)
7227 (browse-url-browser-function): Make the default browser choice a
7228 bit more logical (bug#4300). Also clean up the doc string.
7229
7230 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7231
7232 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7233 binary endings (bug#4440).
7234
7235 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7236
7237 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7238 which can be pretty annoying (bug#8971).
7239
7240 * jka-compr.el (jka-compr-verbose): New variable, and use
7241 throughout (bug#8971).
7242
7243 * info.el (Info-find-file): Fall back on the installation
7244 directory if we can't find the info node anywhere else.
7245
7246 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7247
7248 * vc/vc.el (vc-revert-file):
7249 Don't set file time-stamp in the past. (Bug#5181)
7250
7251 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7252
7253 * files.el (after-find-file): Give a better error message when
7254 trying to find a symlink that points to a file that doesn't exist
7255 (bug#4398).
7256
7257 * progmodes/cc-vars.el: Remove (probably) misleading comment
7258 (bug#4396).
7259
7260 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7261
7262 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7263
7264 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7265
7266 * mouse-sel.el: Hack restoring functionality, while keeping
7267 compatibility with 2010-07-03 changes to mouse selection.
7268 (mouse-sel-primary-overlay): New var.
7269 (mouse-sel-selection-alist): Use it.
7270 (mouse-sel-mode): Doc fix; remove points that are default features
7271 of mouse.el.
7272
7273 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7274
7275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7276 Fix previous fix (bug#2490).
7277
7278 2011-07-12 Roland Winkler <winkler@gnu.org>
7279
7280 * textmodes/bibtex.el (bibtex-initialize):
7281 Use pop-to-buffer-same-window.
7282 (bibtex-search-entries): Fix interactive call.
7283
7284 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7286 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7287 Fontise bytecomp Error lines more correctly (bug#2490).
7288 Fix suggested by Johan Bockgård.
7289
7290 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7291
7292 * dired-x.el (dired-guess-default): Use `delete-dups'.
7293
7294 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7295
7296 * dired.el (dired-mark-prompt):
7297 * dired-aux.el (dired-read-shell-command): Doc fix.
7298
7299 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
7301 * mail/sendmail.el (sendmail-query-once):
7302 Use `customize-save-variable' unconditionally, now that it works under
7303 emacs -Q.
7304
7305 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7306
7307 * cus-edit.el (custom-file): Take an optional no-error variable.
7308 (customize-save-variable): Set the variable, and give a warning if
7309 running under "emacs -q".
7310
7311 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * loadhist.el (unload-feature-special-hooks):
7314 Add `auto-coding-functions', `fill-nobreak-predicate' and
7315 `find-directory-functions' (bug#5327).
7316
7317 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7318
7319 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7320
7321 * cus-edit.el (custom-guess-name-alist): -alist variables should
7322 use the `alist' type (bug#3120). Suggested by Drew Adams.
7323
7324 * printing.el: Add documentation to all the `pr-toggle-' commands.
7325
7326 2011-07-11 Leo Liu <sdl.web@gmail.com>
7327
7328 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7329 backends where it makes sense (bug#2623).
7330
7331 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7332
7333 * dired-x.el (dired-guess-default): Remove duplicate shell command
7334 entries (bug#2028).
7335 (dired-guess-default): Fix grammar in doc string (bug#2028).
7336 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7337
7338 * subr.el (remove-duplicates): New conveniency function.
7339
7340 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7341
7342 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7343 (bug#1526).
7344
7345 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7346
7347 * window.el (display-buffer-normalize-default): Don't invert
7348 meaning of even-window-heights. Reported by Eli Zaretskii
7349 <eliz@gnu.org>.
7350
7351 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7352
7353 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7354
7355 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7356
7357 * window.el (display-buffer): Fix arguments to
7358 display-buffer-reuse-window in last change.
7359
7360 * faces.el (link): Use a less saturated blue on light backgrounds.
7361
7362 * startup.el (fancy-startup-text, fancy-about-text)
7363 (fancy-startup-tail): Use font-lock faces, for background safety.
7364
7365 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7366
7367 * emulation/viper-cmd.el (viper-change-state-to-vi):
7368 Limit triggering of abbrev expansion (Bug#9038).
7369
7370 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7371
7372 * window.el (display-buffer-default-specifiers): Remove.
7373 (display-buffer-macro-specifiers): Remove default specifiers.
7374 (display-buffer-alist): Default to nil.
7375 (display-buffer-reuse-window): New optional argument other-window.
7376 (display-buffer-pop-up-window): Allow splitting internal
7377 windows. Check whether a live window was created.
7378 (display-buffer-other-window-means-other-frame)
7379 (display-buffer-normalize-arguments): Rename to
7380 display-buffer-normalize-argument and rewrite. Set the
7381 other-window specifier.
7382 (display-buffer-normalize-special): New function.
7383 (display-buffer-normalize-options): Rename to
7384 display-buffer-normalize-default and rewrite.
7385 (display-buffer-normalize-options-inhibit): Remove.
7386 (display-buffer-normalize-specifiers): Rewrite.
7387 (display-buffer): Process other-window specifier and call
7388 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7389 more faithfully.
7390 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7391 (display-buffer-alist-set): Don't handle 'unset default values.
7392 (display-buffer-in-window, display-buffer-alist-set):
7393 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7394 <tassilo@member.fsf.org>.
7395
7396 2011-07-09 Leo Liu <sdl.web@gmail.com>
7397
7398 * register.el (insert-register): Restore accidental change on
7399 2011-06-26. (Bug#9028)
7400
7401 2011-07-09 Glenn Morris <rgm@gnu.org>
7402
7403 * subr.el (remq): Handle the empty list. (Bug#9024)
7404
7405 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7406
7407 * mail/sendmail.el (send-mail-function): No longer delay custom
7408 initialization.
7409 * custom.el (custom-initialize-delay): Doc fix.
7410
7411 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7414
7415 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7416
7417 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7418 human-friendly prompt.
7419
7420 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7423 provided by a particular plugin.
7424
7425 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7426
7427 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7428 save customizations (with "emacs -Q"), just set the variable
7429 instead of erroring out.
7430
7431 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7432
7433 2011-07-08 Juri Linkov <juri@jurta.org>
7434
7435 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7436 (archive-zip-update-case): Use 7z if found by `executable-find'.
7437 The order of searching the available programs is the same as in
7438 `archive-zip-extract' (bug#8968).
7439
7440 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7441
7442 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7443 (menu-bar-options-menu): Tweak descriptions.
7444
7445 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7446
7447 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7448 menu items into verb phrases (bug#1421). Also refill to fit under
7449 80 columns.
7450
7451 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7452
7453 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7454 (Info-read-node-name): Doc fix (Bug#1084).
7455
7456 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7457 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7458 (end-of-sexp, beginning-of-sexp)
7459 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7460 (forward-symbol, forward-same-syntax, word-at-point)
7461 (sentence-at-point): Doc fix (Bug#1144).
7462
7463 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7464
7465 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7466 should cover it (bug#1281).
7467
7468 * cus-edit.el (custom-show): Mark as obsolete.
7469
7470 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7471 negotiation fails, then possibly try again with a non-encrypted
7472 connection (bug#9017).
7473
7474 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7475 be used.
7476
7477 2011-07-07 Richard Stallman <rms@gnu.org>
7478
7479 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7480 property, and handle its changed format.
7481 Look for the correct line number.
7482 Use file's line contents (but not past first =) to find
7483 correct line in message.
7484
7485 2011-07-07 Kenichi Handa <handa@m17n.org>
7486
7487 * international/characters.el (build-unicode-category-table):
7488 Delete it.
7489 (unicode-category-table): Set it by unicode-property-table-internal.
7490
7491 * international/mule-cmds.el (char-code-property-alist): Move to
7492 to src/chartab.c.
7493 (get-char-code-property): Call unicode-property-table-internal to
7494 load a file. Call get-unicode-property-internal where necessary.
7495 (put-char-code-property): Call unicode-property-table-internal to
7496 load a file. Call put-unicode-property-internal where necessary.
7497 put-unicode-property-internal where necessary.
7498 (char-code-property-description):
7499 Call unicode-property-table-internal to load a file.
7500
7501 * international/charprop.el:
7502 * international/uni-bidi.el:
7503 * international/uni-category.el:
7504 * international/uni-combining.el:
7505 * international/uni-comment.el:
7506 * international/uni-decimal.el:
7507 * international/uni-decomposition.el:
7508 * international/uni-digit.el:
7509 * international/uni-lowercase.el:
7510 * international/uni-mirrored.el:
7511 * international/uni-name.el:
7512 * international/uni-numeric.el:
7513 * international/uni-old-name.el:
7514 * international/uni-titlecase.el:
7515 * international/uni-uppercase.el: Regenerate.
7516
7517 * loadup.el: Load international/charprop.el before
7518 international/characters.
7519
7520 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7521
7522 * window.el (next-buffer, previous-buffer): Signal an error if
7523 called from a minibuffer window.
7524
7525 * bindings.el: Revert 2011-07-04 change.
7526
7527 2011-07-06 Richard Stallman <rms@gnu.org>
7528
7529 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7530 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7531 Treat markers like ints.
7532 (rmail-mime-entity): Doc fix.
7533
7534 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7535
7536 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7537 defcustom again for backwards compatibility.
7538
7539 * simple.el (shell-command-on-region): Fill.
7540
7541 * dired-aux.el (dired-kill-line): Add a doc string.
7542
7543 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7544 to "\\sw\\|\\s_" (bug#358).
7545
7546 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7547 (dired-unmark-backward): Ditto.
7548 (dired-flag-backup-files): Ditto.
7549
7550 * dired-x.el (dired-mark-sexp): Ditto.
7551
7552 2011-07-06 Richard Stallman <rms@gnu.org>
7553
7554 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7555 (rmail-mime-entity): New arg TRUNCATED.
7556 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7557 New functions.
7558 (rmail-mime-save): Warn if entity is truncated.
7559 (rmail-mime-toggle-hidden): Likewise, for showing.
7560 (rmail-mime-process-multipart): Record when an entity is truncated.
7561
7562 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7563 if ENTITY is a string.
7564
7565 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7566
7567 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7568 of faces when `M-C-x'-ing their definitions (bug#8378).
7569 Also clean up the code slightly.
7570
7571 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7572 because that makes the colors go away.
7573
7574 * mail/sendmail.el (send-mail-function): Change the default to
7575 `sendmail-query-once'.
7576 (sendmail-query-once): Add an autoload cookie.
7577
7578 * net/network-stream.el (network-stream-open-starttls): Try using
7579 a plain connection even if the server offered STARTTLS, and we
7580 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7581 capability. This should make smtpmail.el work in slightly more
7582 configurations.
7583
7584 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7585
7586 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7587 New defun.
7588 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7589
7590 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7591
7592 * progmodes/sql.el: Version 3.0
7593 (sql-product-alist): Add product :completion-object,
7594 :completion-column, and :statement attributes.
7595 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7596 (sql-mode-syntax-table): Mark all punctuation.
7597 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7598 ansi keywords.
7599 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7600 (sql-mode-oracle-font-lock-keywords): Improve.
7601 (sql-oracle-show-reserved-words): New function for development.
7602 (sql-product-font-lock): Simplify for source code buffers.
7603 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7604 New functions.
7605 (sql-highlight-product): Set product specific syntax table.
7606 (sql-mode-map): Add statement movement functions.
7607 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7608 New variable.
7609 (sql-statement-regexp, sql-beginning-of-statement)
7610 (sql-end-of-statement, sql-signum): New functions.
7611 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7612 (sql-show-sqli-buffer): Bug fix.
7613 (sql-interactive-mode): Store connection data as buffer local.
7614 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7615 with sql-interactive-mode.
7616 (sql-save-connection): Save buffer local settings.
7617 (sql-connection-menu-filter): Change menu entry name.
7618 (sql-product-interactive): Bug fix.
7619 (sql-preoutput-hold): New variable.
7620 (sql-interactive-remove-continuation-prompt): Bug fixes.
7621 (sql-debug-redirect): New variable.
7622 (sql-str-literal): New function.
7623 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7624 Redesign.
7625 (sql-oracle-save-settings, sql-oracle-restore-settings)
7626 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7627 (sql-completion-object, sql-completion-column)
7628 (sql-completion-sqlbuf): New variables.
7629 (sql-build-completions-1, sql-build-completions)
7630 (sql-try-completion): New functions.
7631 (sql-read-table-name): Use them.
7632 (sql-contains-names): New buffer local variable.
7633 (sql-list-all, sql-list-table): Use it.
7634 (sql-oracle-completion-types): New variable.
7635 (sql-oracle-completion-object, sql-sqlite-completion-object)
7636 (sql-postgres-completion-object): New functions.
7637
7638 2011-07-06 Glenn Morris <rgm@gnu.org>
7639
7640 * window.el (pop-to-buffer): Doc fix.
7641
7642 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7643
7644 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7645
7646 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7647
7648 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7649
7650 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7651
7652 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7653
7654 * button.el (button): Inherit from link face. Suggested by Dan
7655 Nicolaescu.
7656
7657 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * progmodes/gdb-mi.el: Fit in 80 columns.
7660 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7661 switch-to-buffer.
7662
7663 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7664 if imenu is simply not configured (bug#8941).
7665
7666 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7667
7668 * allout.el (allout-post-undo-hook): New allout outline-change
7669 event hook to signal undo activity.
7670 (allout-post-command-business): Run allout-post-undo-hook if an
7671 undo just occurred.
7672 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7673 * allout-widgets.el (allout-widgets-after-undo-function):
7674 Ensure the integrity of the current item's decoration after it has been
7675 in the vicinity of an undo.
7676 (allout-widgets-mode): Include allout-widgets-after-undo-function
7677 on the new allout-post-undo-hook.
7678
7679 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7682 Let define-derived-mode define it.
7683 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7684 cycles of abbrev-table inheritance (bug#8998).
7685
7686 2011-07-05 Roland Winkler <winkler@gnu.org>
7687
7688 * textmodes/bibtex.el: Add support for biblatex.
7689 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7690 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7691 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7692 (bibtex-entry-alist, bibtex-field-alist): New variables.
7693 (bibtex-entry-field-alist): Obsolete alias for
7694 bibtex-BibTeX-entry-alist.
7695 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7696 (bibtex-set-dialect): New command.
7697 (bibtex-entry-type, bibtex-entry-head)
7698 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7699 Bind via bibtex-set-dialect.
7700 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7701 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7702 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7703 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7704 Define via bibtex-set-dialect.
7705 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7706 Obey bibtex-no-opt-remove-re.
7707 (bibtex-vec-push, bibtex-vec-incr): New functions.
7708 (bibtex-format-entry, bibtex-field-list)
7709 (bibtex-print-help-message, bibtex-validate)
7710 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7711
7712 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * progmodes/compile.el (compilation-goto-locus):
7715 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7716 * bs.el (bs-cycle-next, bs-cycle-previous):
7717 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7718 * bindings.el (mode-line-other-buffer):
7719 * autoinsert.el (auto-insert):
7720 * arc-mode.el (archive-extract):
7721 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7722
7723 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7724
7725 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7726 Fix check of `emacs-lock-unlockable-modes'.
7727 Coerce true values of `emacs-lock--try-unlocking' to t.
7728
7729 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7730
7731 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7732 * emacs-lock.el: New file.
7733
7734 2011-07-05 Julien Danjou <julien@danjou.info>
7735
7736 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7737 than `boundp' to check if face is set.
7738
7739 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * register.el (registerv-make):
7742 * window.el (window-min-height): Fix typos in docstrings.
7743
7744 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7745
7746 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7747 Update doc string.
7748
7749 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7750
7751 * server.el (server-execute): Catch quit and call
7752 `server-return-error' to pass the error back to emacsclient and
7753 close the connection (bug#8942).
7754
7755 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7756
7757 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7758 insecure exception for current topic. Also note that auto-saves
7759 are handled differently.
7760
7761 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7762 State variables for tracking auto-save inhibition situation.
7763
7764 (allout-write-contents-hook-handler): Rename from
7765 'allout-write-file-hook-handler', and describe how it depends on
7766 write-contents-functions sensitivity to non-nil value to prevent
7767 file write.
7768
7769 (allout-auto-save-hook-handler): Remove. auto-save does not check
7770 this in individual buffers, only in the starting buffer, so this
7771 is not the right way for us to inhibit auto-save in a buffer
7772 according to its condition.
7773
7774 (allout-mode): Use new allout-write-contents-hook-handler, and
7775 only with write-contents-functions. Remove auto-save provisions -
7776 they're implemented elsewhere.
7777
7778 (allout-before-change-handler): If undo is in progress, note that
7779 for attention of allout-post-command-business.
7780
7781 (allout-post-command-business): If the command we're following was
7782 an undo, check for change in the status of encrypted items and
7783 adjust auto-save inhibitions accordingly.
7784
7785 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7786 according to whether there are or aren't any plain-text topics
7787 pending encryption.
7788
7789 (allout-inhibit-auto-save-info-for-decryption):
7790 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7791 if there are plain-text topics pending encryption.
7792
7793 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7794 buffer-saved-size and some allout state to not inhibit auto-saves
7795 if there are no longer any plain-text topics pending encryption.
7796
7797 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7798 No longer provide for exemption of the current topic.
7799
7800 2011-07-04 Juri Linkov <juri@jurta.org>
7801
7802 Add 7z operations to delete and save changed members (bug#8968).
7803 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7804 New defcustoms.
7805 (archive-7z-write-file-member): New function.
7806 (archive-7z-summarize): Fix the number of dashes in the
7807 listing output.
7808
7809 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7812 (bug#8958).
7813
7814 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7815
7816 * bindings.el: Ignore next-buffer and previous-buffer in
7817 minibuffer-local-map.
7818
7819 * font-lock.el (font-lock-builtin-face): Change light background
7820 color to dark slate blue (Bug#6693).
7821
7822 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7823
7824 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7825
7826 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7830 Add switch-to-buffer.
7831
7832 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * isearch.el (isearch-search-fun-function): Clarify further the
7835 meaning of the function returned.
7836
7837 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7838
7839 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7840
7841 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7842 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7843 Use it.
7844 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7845 `tramp-default-remote-path' does not exist.
7846 (tramp-send-command-and-read): New optional argument NOERROR.
7847 (tramp-open-connection-setup-interactive-shell)
7848 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7849 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7850 (tramp-process-sentinel): Flush also process' connection property.
7851 (tramp-sh-handle-start-file-process): Do not set process
7852 sentinel. It is done now ...
7853 (tramp-maybe-open-connection): ... here. (Bug#8929)
7854
7855 2011-07-04 MON KEY <monkey@sandpframing.com>
7856
7857 * play/animate.el (animate-string): Doc fixes and allow changing
7858 the buffer name (bug#5417).
7859
7860 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861
7862 * play/animate.el (animation-buffer-name): Rename from *animate*.
7863
7864 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7865
7866 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7867 This is simpler and helps future-proof the code.
7868 (timer-until): Use time-subtract and float-time.
7869 (timer--time-less-p): Use time-less-p.
7870
7871 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * type-break.el (timep): Use the value of `float-time' to avoid a
7874 byte-compiler warning.
7875
7876 * server.el (server-eval-and-print): Return any result, even nil.
7877
7878 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7879
7880 * type-break.el: Accept time formats that the builtins accept.
7881 (timep, type-break-time-difference): Accept any format that
7882 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7883 This is simpler and helps future-proof the code.
7884 (type-break-time-difference): Round rather than ignoring
7885 subseconds components.
7886
7887 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7888
7889 * info.el (Info-apropos-matches): Make non-interactive, since it
7890 doesn't seem to do anything useful as a command (bug#8829).
7891
7892 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7893
7894 * frame.el (frame-background-mode, frame-set-background-mode):
7895 Move from faces.el.
7896 (frame-default-terminal-background): New function.
7897
7898 * custom.el (custom-push-theme): Don't record faces in `changed'
7899 theme; this doesn't work correctly for per-frame face settings.
7900 (disable-theme): Use face-set-after-frame-default to reset faces.
7901 (custom--frame-color-default): New function.
7902
7903 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7904
7905 * dired.el (dired-flagging-regexp): Remove unused variable
7906 (bug#8769).
7907
7908 2011-03-29 Kevin Ryde <user42@zip.com.au>
7909
7910 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7911 `perl-Test2' extend to match possible "fail #N" rep count
7912 (bug#8377).
7913
7914 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
7916 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7917 `smtpmail-via-smtp' now returns the error instead of nil.
7918
7919 * isearch.el (isearch-search-fun-function): Clarify the doc string
7920 (bug#8101).
7921
7922 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7923
7924 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7925 unnecessary spaces (bug#8987).
7926
7927 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7928
7929 * net/network-stream.el (open-network-stream): Use the
7930 :end-of-capability command thoughout.
7931
7932 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7933
7934 * net/network-stream.el (open-network-stream): Add the
7935 :end-of-capability command parameter, used by pop3.el.
7936
7937 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7938
7939 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7940
7941 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7942 for list)" (bug#6475).
7943
7944 * files.el (file-expand-wildcards): Ignore non-readable
7945 sub-directories while trying to find matches instead of signaling
7946 an error (bug#6297).
7947
7948 * man.el (Man-reference-regexp): Allow matching possible
7949 word-wrapped references (bug#6289).
7950
7951 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7952 for consistency with the other vc buffers (bug#6197).
7953 (vc-checkin): Ditto.
7954
7955 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7956
7957 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7958
7959 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960
7961 * custom.el (defcustom): Clarify that :set is only used in the
7962 Customize user interface (bug#6089).
7963
7964 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7965 associated with a file, refuse to run instead of erroring out
7966 (bug#6084).
7967
7968 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7969 the doc string, since it appears that using `fill-column' always
7970 controls the width (bug#7845).
7971
7972 * simple.el (shell-command-on-region): Say where the error output
7973 went if `shell-command-default-error-buffer' is set (bug#6857).
7974
7975 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7976
7977 * allout.el (allout-yank-processing): Adjust cursor position for
7978 backwards-deleted space.
7979
7980 (allout-rebullet-heading): Register changes with
7981 allout-exposure-changed-hook, so the modified topic is properly
7982 decorated.
7983
7984 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7985
7986 * minibuffer.el (completion-in-region): Document PREDICATE
7987 (bug#7136).
7988
7989 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7990 of keyword/argument pairs (bug#6904).
7991
7992 * replace.el (multi-occur):
7993 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7994
7995 2011-07-02 Drew Adams <drew.adams@oracle.com>
7996
7997 * dired.el (dired-mark-if): Make the message about whether it's
7998 marking or unmarking clearer (bug#8523).
7999
8000 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8001
8002 * disp-table.el (display-table-print-array): New function.
8003 (describe-display-table): Use it to print the vectors more pretty
8004 (Bug#8859).
8005
8006 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8007
8008 * window.el (window-state-get-1): Don't assign clone numbers.
8009 Add clone-of item to list of window parameters.
8010 (window-state-put-2): Don't process clone numbers.
8011 (display-buffer-alist): Fix doc-string.
8012
8013 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * subr.el (remq): Don't allocate if it's not needed.
8016 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8017 (keymap--merge-bindings): New functions.
8018 (keymap-canonicalize): Use them to refine the canonicalization.
8019 * minibuffer.el (minibuffer-local-completion-map)
8020 (minibuffer-local-must-match-map): Move initialization from C.
8021 (minibuffer-local-filename-completion-map): Move initialization from C;
8022 don't inherit from anything here.
8023 (minibuffer-local-filename-must-match-map): Make obsolete.
8024 (completing-read-default): Use make-composed-keymap to combine
8025 minibuffer-local-filename-completion-map with either
8026 minibuffer-local-must-match-map or
8027 minibuffer-local-filename-completion-map.
8028
8029 2011-07-01 Glenn Morris <rgm@gnu.org>
8030
8031 * type-break.el (type-break-time-sum): Use dolist.
8032
8033 * textmodes/flyspell.el (flyspell-word-search-backward):
8034 Replace CL function.
8035
8036 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * mouse.el (mouse--strip-first-event): New function.
8039 (function-key-map): Use it to map fringe clicks to normal clicks
8040 by default.
8041
8042 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8043 (vc-bzr-revision-completion-table): Add support for annotate and date.
8044
8045 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8046 inherit from parent.
8047
8048 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8049
8050 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8051 (dired-show-file-type): Doc fixup (bug#8818).
8052
8053 * dired.el (dired-mode): Fix up the doc string as suggested by
8054 Drew Adams (bug#8817).
8055
8056 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8057 cookie, since the manual says that it should be possible to add
8058 this function to `find-file-hook' (bug#8709).
8059
8060 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8061
8062 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8063 here. Noted Ted Zlatanov as the maintainer.
8064 (cfengine-common-settings, cfengine-common-syntax): New functions
8065 to set up common things between `cfengine-mode' and
8066 `cfengine3-mode'.
8067 (cfengine3-mode): New mode.
8068 (cfengine3-defuns cfengine3-defuns-regex
8069 (cfengine3-class-selector-regex cfengine3-category-regex)
8070 (cfengine3-vartypes cfengine3-font-lock-keywords)
8071 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8072 (cfengine3-indent-line): Add from cfengine3.el.
8073
8074 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8075
8076 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8077
8078 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8079
8080 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8081
8082 * window.el (same-window-buffer-names, same-window-regexps)
8083 (same-window-p, special-display-frame-alist)
8084 (special-display-popup-frame, special-display-function)
8085 (special-display-buffer-names, special-display-regexps)
8086 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8087 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8088 (split-window-preferred-function, split-height-threshold)
8089 (split-width-threshold, even-window-heights)
8090 (display-buffer-mark-dedicated, window-splittable-p)
8091 (split-window-sensibly, window-safely-shrinkable-p):
8092 Un-obsolete.
8093 (display-buffer): Don't spread args with function specifier
8094 because special-display-popup-frame won't like it.
8095
8096 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8097
8098 Time-stamp simplifications and fixes.
8099 These improve accuracy slightly, and future-proof the code
8100 against some potential changes to current-time format.
8101
8102 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8103 by using time-since and float-time.
8104
8105 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8106 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8107 + NNN microseconds".
8108
8109 * type-break.el (type-break-time-sum): Rewrite using time-add.
8110
8111 * play/hanoi.el (hanoi-current-time-float): Remove.
8112 All uses replaced by float-time.
8113
8114 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8115 This yields a more-accurate answer.
8116 (rng-time-to-float): Remove; no longer needed.
8117
8118 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8119
8120 * calendar/timeclock.el (timeclock-seconds-to-time):
8121 Defalias to seconds-to-time, since they're the same thing.
8122
8123 * emacs-lisp/elp.el (elp-elapsed-time):
8124 * emacs-lisp/benchmark.el (benchmark-elapse):
8125 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8126
8127 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * window.el (bury-buffer): Don't iconify the only frame.
8130 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8131 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8132
8133 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8134
8135 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8136 Add mouse-yank-primary.
8137
8138 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8139
8140 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8141
8142 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8145 (find-library-name): Use it to find relative load names when provided
8146 absolute file name (bug#8803).
8147
8148 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8149
8150 * textmodes/flyspell.el (flyspell-word): Consider words that
8151 differ only in case as potential doublons (bug#5687).
8152
8153 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8154 Remove two rather uninteresting debugging-like messages to make
8155 debbugs.el more silent.
8156
8157 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8158 a password-like phrase.
8159
8160 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8161
8162 * progmodes/cc-guess.el: New file.
8163
8164 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8165
8166 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8167 derived from `c-basic-common-init'.
8168
8169 * progmodes/cc-mode.el (top-level): Require cc-guess.
8170 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8171
8172 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8173
8174 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8175
8176 2011-06-30 Alan Mackenzie <acm@muc.de>
8177
8178 * progmodes/cc-engine.el (c-guess-continued-construct):
8179 Correct the handling of template-args-cont, particularly for when font
8180 lock is disabled. Name this case as "CASE G".
8181
8182 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8183
8184 * allout.el (allout-yank-processing): Fix injection of extra space
8185 between bullet and non-whitespace character in first topic when
8186 pasting, ensuring that the actual spacing in the pasted topic
8187 following the bullet char is preserved. This extra space was
8188 causing pasted encrypted topics to get a decrypted status even
8189 when the content was actually still encrypted. Now the decryption
8190 status from before the paste is preserved.
8191
8192 (allout-flag-region): Set all allout overlays so they evaporate
8193 when reduced to zero length (evanescent), to prevent overlay
8194 leakage.
8195
8196 2011-06-30 Glenn Morris <rgm@gnu.org>
8197
8198 * w32-fns.el (w32-charset-info-alist): Declare.
8199
8200 * find-dired.el (find-grep-options): Simplify.
8201
8202 * term/ns-win.el (ns-set-resource): Declare.
8203
8204 * ses.el (row, col): Declare dynamic variables honestly.
8205
8206 * textmodes/reftex-parse.el (index-tags): Declare.
8207
8208 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8209
8210 * cus-edit.el (customize-push-and-save): New function.
8211
8212 * files.el (hack-local-variables-confirm): Use it.
8213
8214 * custom.el (load-theme): New arg NO-CONFIRM.
8215 Use customize-push-and-save (Bug#8720).
8216 (custom-enabled-themes): Doc fix.
8217
8218 * cus-theme.el (customize-create-theme)
8219 (custom-theme-merge-theme): Callers to load-theme changed.
8220
8221 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8222
8223 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8224 short URLs have at least one dot in them (bug #7614).
8225
8226 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8227 nil, because using a pty is apparently too slow (bug #895).
8228
8229 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8230
8231 * mail/sendmail.el (sendmail-query-once): New function.
8232 (sendmail-query-once-function): New variable.
8233
8234 2011-06-29 Glenn Morris <rgm@gnu.org>
8235
8236 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8237
8238 * ses.el (top-level): Require cl when compiling.
8239 (ses-set-localvars): Fix error statement.
8240 Call it at compile time to silence a storm of warnings.
8241
8242 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8243
8244 * window.el (normalize-live-buffer): Rename to
8245 window-normalize-buffer.
8246 (normalize-live-frame): Rename to window-normalize-frame.
8247 (normalize-any-window): Rename to window-normalize-any-window.
8248 (normalize-live-window): Rename to window-normalize-live-window.
8249 (make-window-atom): Rename to window-make-atom.
8250 (window-resize-reset): Rename to window--resize-reset.
8251 (window-resize-reset-1): Rename to window--resize-reset-1.
8252 (resize-mini-window): Rename to window--resize-mini-window.
8253 (resize-subwindows-skip-p): Rename to
8254 window--resize-subwindows-skip-p.
8255 (resize-subwindows-normal): Rename to
8256 window--resize-subwindows-normal.
8257 (resize-subwindows): Rename to window--resize-subwindows.
8258 (resize-other-windows): Rename to window--resize-siblings.
8259 (resize-this-window): Rename to window--resize-this-window.
8260 (resize-root-window): Rename to window--resize-root-window.
8261 (resize-root-window-vertically): Rename to
8262 window--resize-root-window-vertically.
8263 (normalize-buffer-to-display): Rename to
8264 window-normalize-buffer-to-display.
8265 (normalize-buffer-to-switch-to): Rename to
8266 window-normalize-buffer-to-switch-to.
8267 Correspondingly update all callers of the functions listed
8268 above.
8269 (display-buffer-alist, display-buffer-normalize-arguments)
8270 (display-buffer-normalize-options, display-buffer)
8271 (display-buffer-alist-set): Use "function" instead of
8272 "fun-with-args".
8273
8274 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8275
8276 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8277 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8278 debbugs.gnu.org. Mention acknowledgment email.
8279
8280 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8281
8282 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8283 buffer multibyteness, since it shouldn't matter.
8284
8285 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8286
8287 * window.el (display-buffer-in-side-window): Handle dedicated
8288 windows as in display-buffer-reuse-window.
8289 (display-buffer-normalize-alist): Use value of override
8290 specifier.
8291 (display-buffer-normalize-specifiers): Use value of
8292 other-window-means-other-frame specifier.
8293 (display-buffer-alist): Rewrite some texts in widgets.
8294 (display-buffer): Spread arguments when calling function
8295 specified by fun-with-args.
8296
8297 2011-06-28 Deniz Dogan <deniz@dogan.se>
8298
8299 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8300 Unnest `let'.
8301
8302 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8303 selectors (Bug#5732).
8304 (css-proprietary-nmstart-re): Use `regexp-opt'.
8305
8306 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8307
8308 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8309 (eshell-ls-date-format): New defcustom.
8310 (eshell-ls-file): Use it.
8311
8312 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8315
8316 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8317
8318 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8319 (ange-ftp-make-tmp-name): New arg.
8320 (ange-ftp-file-local-copy): Use it.
8321
8322 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8323
8324 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8325 no-conversion (Bug#8870).
8326
8327 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8328
8329 * window.el (window-right, window-left, window-child)
8330 (window-child-count, window-last-child)
8331 (window-iso-combination-p, walk-window-tree-1)
8332 (window-atom-check-1, window-tree-1, delete-window)
8333 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8334 new naming conventions - window-vchild, window-hchild,
8335 window-next and window-prev are now called window-top-child,
8336 window-left-child, window-next-sibling and window-prev-sibling
8337 respectively.
8338 (resize-window-reset): Rename to window-resize-reset.
8339 (resize-window-reset-1): Rename to window-resize-reset-1.
8340 (resize-window): Rename to window-resize.
8341 (window-min-height, window-min-width)
8342 (resize-mini-window, resize-this-window, resize-root-window)
8343 (resize-root-window-vertically, adjust-window-trailing-edge)
8344 (enlarge-window, shrink-window, maximize-window)
8345 (minimize-window, delete-window, quit-restore-window)
8346 (split-window, balance-windows, balance-windows-area-adjust)
8347 (balance-windows-area, window-state-put-2)
8348 (display-buffer-even-window-sizes, display-buffer-set-height)
8349 (display-buffer-set-width, set-window-text-height)
8350 (fit-window-to-buffer): Rename all "resize-window" prefixed
8351 calls to use the "window-resize" prefix convention.
8352 (display-buffer-alist): Fix symbol for label specifier.
8353 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8354 corresponding specifier.
8355 Reported by Juanma Barranquero <lekktu@gmail.com>.
8356
8357 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8358
8359 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8360 convention.
8361 (ses-call-printer): Does not pass an empty string to formatter when the
8362 cell is empty to keep from barking printer Calc math-format-value.
8363
8364 2011-06-27 Richard Stallman <rms@gnu.org>
8365
8366 * battery.el (battery-mode-line-limit): New variable.
8367 (battery-update): Handle it.
8368
8369 * mail/rmailmm.el (rmail-mime-process-multipart):
8370 Handle truncated messages.
8371
8372 2011-06-27 Glenn Morris <rgm@gnu.org>
8373
8374 * progmodes/flymake.el (flymake-err-line-patterns):
8375 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8376
8377 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8378
8379 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8380 (ses--clean-!, ses--clean-_): New functions.
8381 (ses-range): Add configurability of readout order, and conversion
8382 to Calc vector.
8383
8384 * ses.el (ses-repair-cell-reference-all): New function.
8385 (ses-cell-symbol): Set macro as safe, so that it can be used in
8386 formulas.
8387
8388 * ses.el: Update cycle detection algorithm.
8389 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8390 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8391 (ses-set-localvars): New function.
8392 (ses-make-cell): Add property-list as a cell element.
8393 (ses-cell-property-get-fun, ses-cell-property-get)
8394 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8395 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8396 New functions.
8397 (ses-cell-property-set, ses-cell-property-pop)
8398 (ses-cell-property-get-handle): New macro.
8399 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8400 New aliases, used for code readability.
8401 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8402 cycle detection.
8403 (ses-self-reference-early-detection): New defcustom.
8404 (ses-formula-references): Robustify against self-referring cells.
8405 (ses-mode): Use ses-set-localvars.
8406 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8407 before lauching the update processing.
8408 (ses-initialize-Dijkstra-attempt): New function.
8409 (ses-recalculate-cell): Update for cycle detection based on
8410 Dijkstra algorithm.
8411
8412 * ses.el: Fix commenting and indenting convention.
8413
8414 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 * bs.el (bs-cycle-next): Complete last change.
8417
8418 2011-06-27 Drew Adams <drew.adams@oracle.com>
8419
8420 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8421
8422 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8423
8424 * net/network-stream.el (network-stream-open-starttls):
8425 Don't re-get capabilities unless we've reestablished connection.
8426 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8427
8428 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8429 to binary to possibly avoid line encoding issues on Windows (among
8430 other things).
8431
8432 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8433
8434 * net/network-stream.el (open-network-stream): Return an :error
8435 saying what the problem was, if possible.
8436
8437 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8438 server.
8439
8440 * net/network-stream.el (network-stream-open-starttls): If we
8441 wanted to use STARTTLS, and the server offered it, but we weren't
8442 able to because we had no STARTTLS support, then close the connection.
8443 (open-network-stream): Return an :error element, if present.
8444
8445 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8446
8447 * hl-line.el (hl-line-sticky-flag): Doc fix.
8448 (global-hl-line-sticky-flag): New option (Bug#8323).
8449 (global-hl-line-highlight): Obey it.
8450
8451 * vc/vc.el (vc-revert-show-diff): Default to t.
8452
8453 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8454
8455 * allout-widgets.el (allout-widgets-post-command-business):
8456 Stop decorating intermediate isearch matches. They're not being
8457 undecorated when an isearch is continued past, and isearch
8458 automatically collapses them. This leads to "widget leaks", where
8459 decorated items accumulate in collapsed areas. Lines with lots of
8460 hidden widgets can slow down cursor travel, substantially.
8461 Too much complicated machinery would be needed to ensure undecoration,
8462 so we're doing without this nicety.
8463
8464 (allout-widgets-tally-string): Don't try to do a hash-table-count
8465 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8466 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8467 *Messages* when allout-widgets-maintain-tally is t.
8468
8469 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8470
8471 * window.el (display-buffer-normalize-argument): Rename to
8472 display-buffer-normalize-arguments. Handle special meaning of
8473 LABEL argument. Respect special-display-function when popping up
8474 a new frame. Fix code searching for a window showing the buffer
8475 on another frame.
8476 (display-buffer-normalize-specifiers):
8477 Call display-buffer-normalize-arguments.
8478 (display-buffer-in-window): Don't undedicate the window if its
8479 buffer remains the same.
8480 Reported by Drew Adams <drew.adams@oracle.com>.
8481 (display-buffer-alist): Add choice for same-window macro
8482 specfier.
8483 (display-buffer): Mention special meaning of LABEL argument in
8484 doc-string. Fix quoting. Don't pop up a new frame even as
8485 fallback.
8486
8487 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8488
8489 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8490 avoid deleting the current window in some cases (bug#8911).
8491
8492 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8493
8494 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8495 (Bug#8934)
8496
8497 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8498
8499 * net/network-stream.el (network-stream-open-starttls):
8500 Use built-in TLS support if `gnutls-available-p' is true.
8501 (network-stream-open-tls): Ditto.
8502
8503 2011-06-26 Leo Liu <sdl.web@gmail.com>
8504
8505 * register.el (registerv): New struct.
8506 (registerv-make): New function.
8507 (jump-to-register, describe-register-1, insert-register):
8508 Support the jump-func, print-func and insert-func slot of a registerv
8509 struct. (Bug#8415)
8510
8511 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8512
8513 * vc/vc.el (vc-revert-show-diff): New defcustom.
8514 (vc-diff-internal): New arg specifying diff buffer.
8515 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8516 reuse an existing *vc-diff* buffer (Bug#8927).
8517
8518 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8519
8520 2011-06-26 Glenn Morris <rgm@gnu.org>
8521
8522 * progmodes/f90.el (f90-critical-indent): New option.
8523 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8524 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8525 (f90-mode): Doc fix.
8526 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8527 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8528 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8529 (f90-match-end): Handle block, critical.
8530
8531 2011-06-25 Glenn Morris <rgm@gnu.org>
8532
8533 * calendar/diary-lib.el (diary-included-files): Doc fix.
8534 (diary-include-files): New function, extracted from
8535 diary-include-other-diary-files and diary-mark-included-diary-files.
8536 (diary-include-other-diary-files, diary-mark-included-diary-files):
8537 Just call diary-include-files.
8538 (diary-mark-entries): Reset diary-included-files on first call.
8539
8540 * calendar/diary-lib.el (diary-mark-entries)
8541 (diary-mark-included-diary-files):
8542 Visit included diary-files in temp buffers.
8543
8544 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8545 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8546 (f90-start-block-re, f90-imenu-generic-expression)
8547 (f90-looking-at-program-block-start, f90-no-block-limit):
8548 Add support for submodules.
8549
8550 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8551 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8552
8553 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8554
8555 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8556 buffer-file-type before setting its value, to avoid disastrous
8557 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8558
8559 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8562
8563 * ses.el (ses-unload-function):
8564 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8565
8566 * proced.el (proced-unload-function):
8567 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8568
8569 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8570
8571 * server.el (server-create-window-system-frame): Add parameters arg.
8572 (server-process-filter): Doc fix. Handle frame-parameters.
8573
8574 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8575
8576 Fix bug#8730, bug#8781.
8577
8578 * loadhist.el (unload--set-major-mode): New function.
8579 (unload-feature): Use it.
8580
8581 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8582 (python-unload-function): New function.
8583
8584 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8587
8588 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8589
8590 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8591 the candidates list.
8592
8593 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8596
8597 2011-06-23 Richard Stallman <rms@gnu.org>
8598
8599 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8600 (rmail-variables): Set next-error-move-function.
8601 (rmail-what-message): Take argument POS.
8602 (rmail-next-error-move): New function.
8603
8604 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8607 messages for adjacent non-terminals.
8608
8609 2011-06-23 Richard Stallman <rms@gnu.org>
8610
8611 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8612 (rmail-show-message-1): Preserve buffer modified flag.
8613 (rmail-start-mail): Don't specify use of rmail-mail-return;
8614 that's done by mail-bury now.
8615 (rmail-mail-return): Handle arg NEWBUF.
8616
8617 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8618
8619 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8620 SIZE is a number.
8621
8622 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8623
8624 * window.el (get-lru-window, get-mru-window)
8625 (get-largest-window): Never return a minibuffer window.
8626 (display-buffer-pop-up-window): Fix a bug that could lead to
8627 reusing the minibuffer window.
8628 (display-buffer): Pass original specifier argument to
8629 display-buffer-function instead of the normalized one.
8630 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8631
8632 2011-06-22 Leo Liu <sdl.web@gmail.com>
8633
8634 * minibuffer.el (completing-read-function)
8635 (completing-read-default): Move from minibuf.c
8636
8637 2011-06-22 Richard Stallman <rms@gnu.org>
8638
8639 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8640 to Rmail even if not started by a special Rmail command.
8641
8642 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8643 Copy the buffer currently showing just one message.
8644
8645 2011-06-22 Roland Winkler <winkler@gnu.org>
8646
8647 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8648 (bibtex-clean-entry): First delete the old key so that a
8649 customized algorithm for generating the new key does not get
8650 confused by the old key.
8651 (bibtex-url): Obey regexp of first step.
8652 (bibtex-search-entries): Do not use add-to-list with local
8653 list-var.
8654
8655 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8656
8657 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8658 stored a user name, then query for the password first, instead of
8659 waiting for SMTP to give an error message and the trying again.
8660
8661 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8662
8663 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8664 BUFFER in call-process.
8665
8666 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8667
8668 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8669 QUIT twice.
8670 (smtpmail-try-auth-methods): Require user name and password from
8671 auth-source.
8672
8673 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8674
8675 * window.el (display-buffer-default-specifiers)
8676 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8677 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8678 (split-window): Normalize SIDE argument (Bug#8916).
8679
8680 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8681 (special-display-frame-alist, special-display-popup-frame):
8682 Remove duplicate declarations. These are now in window.el.
8683
8684 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8685
8686 * mail/smtpmail.el (smtpmail-via-smtp):
8687 Set :use-starttls-if-possible so that we always use STARTTLS if the
8688 server supports it. SMTP servers that support STARTTLS commonly
8689 require it.
8690
8691 * net/network-stream.el (network-stream-open-starttls): Support
8692 upgrading to STARTTLS always, even if we don't have built-in support.
8693 (open-network-stream): Add the :always-query-capabilities keyword.
8694
8695 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8696 upgrades with `open-network-stream', and rely solely on
8697 auth-source for all credentials. Big changes throughout the file,
8698 but in particular:
8699 (smtpmail-auth-credentials): Remove.
8700 (smtpmail-starttls-credentials): Remove.
8701 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8702 MAIL FROM, too.
8703
8704 * net/network-stream.el (network-stream-open-starttls):
8705 Provide support for client certificates both for external and built-in
8706 STARTTLS.
8707 (auth-source): Require.
8708 (open-network-stream): Document the :client-certificate keyword.
8709 (network-stream-certificate): Change cert-cert to cert and
8710 cert-key to key.
8711
8712 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8713
8714 * net/tramp-cache.el (top): Don't load the persistency file when
8715 "emacs -Q" has been called.
8716
8717 2011-06-21 Tim Harper <timcharper@gmail.com>
8718
8719 * term/ns-win.el (ns-initialize-window-system):
8720 Set application-specific `ApplePressAndHoldEnabled' system
8721 resource to NO as it is not yet supported by the NS port.
8722
8723 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8724
8725 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8726 (list-dynamic-libraries): ...not here.
8727
8728 2011-06-21 Leo Liu <sdl.web@gmail.com>
8729
8730 * subr.el (sha1): Implement sha1 using secure-hash.
8731
8732 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8733
8734 * window.el (display-buffer-alist): In default value do not
8735 enforce searching a window on any but the selected frame.
8736 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8737 (display-buffer-select-window): Remove function.
8738 (display-buffer-in-window): When a window on another frame gets
8739 reused, do not select it any more but just raise its frame if
8740 necessary (Bug#8851) and (Bug#8856).
8741 (display-buffer-normalize-options): Handle pop-up-frames related
8742 options more faithfully.
8743 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8744 window if it is on another frame.
8745 (display-buffer-alist, display-buffer-default-specifiers):
8746 Don't make new frame unsplittable by default.
8747 (display-buffer-normalize-argument): Fix doc-string typo and use
8748 'same-frame-other-window instead of 'other-window when associating
8749 with display-buffer-macro-specifiers.
8750
8751 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8752
8753 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8754 New functions.
8755 (5x5-mode-map, 5x5-mode-menu): Bind them.
8756 (5x5-draw-grid): Tweak the solver's rendering.
8757
8758 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8761 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8762
8763 2011-06-21 Drew Adams <drew.adams@oracle.com>
8764
8765 * menu-bar.el: Use function variable instead of switch-to-buffer.
8766 (menu-bar-select-buffer-function): New variable.
8767 (menu-bar-update-buffers): Use it (bug#8876).
8768
8769 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8772 variable's status.
8773
8774 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8775
8776 * x-dnd.el (x-dnd-version-from-flags)
8777 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8778 and long as number (Bug#8899).
8779 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8780
8781 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8784 (completion-try-completion, completion-all-completions): Compute the
8785 metadata argument if it's missing; make it optional (bug#8795).
8786
8787 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8788 (widget-complete): Use new :completion-function property.
8789 (widget-completions-at-point): New function.
8790 (default): Use :completion-function instead of :complete.
8791 (widget-default-completions): Rename from widget-default-complete;
8792 Rewrite.
8793 (widget-string-complete, widget-file-complete, widget-color-complete):
8794 Remove functions.
8795 (file, symbol, function, variable, coding-system, color):
8796 * international/mule-cmds.el (default-input-method, charset)
8797 (language-info-custom-alist):
8798 * cus-edit.el (face): Use new property :completions.
8799
8800 * progmodes/pascal.el (pascal-completions-at-point): New function.
8801 (pascal-mode): Use it.
8802 (pascal-mode-map): Use completion-at-point.
8803 (pascal-toggle-completions): Make obsolete.
8804 (pascal-complete-word, pascal-show-completions):
8805 * progmodes/octave-mod.el (octave-complete-symbol):
8806 Redefine as obsolete alias.
8807 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8808 Signal absence of completion info for old Octave,
8809 (inferior-octave-complete): Redefine as obsolete alias.
8810 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8811 (meta-completions-at-point): Rename from meta-complete-symbol and
8812 adapt it for use on completion-at-point-functions.
8813 (meta-common-mode): Use it.
8814 (meta-looking-at-backward, meta-match-buffer): Remove.
8815 (meta-complete-symbol): Redefine as obsolete alias.
8816 (meta-common-mode-map): Use completion-at-point.
8817 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8818 (makefile-mode-map): Use completion-at-point.
8819 (makefile-completions-at-point): Rename from makefile-complete and
8820 adapt it for use on completion-at-point-functions.
8821 (makefile-mode): Use it.
8822 (makefile-complete): Redefine as obsolete alias.
8823
8824 2011-06-20 Deniz Dogan <deniz@dogan.se>
8825
8826 * net/rcirc.el: Delete trailing whitespaces once and for all.
8827
8828 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8829
8830 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8831
8832 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8833
8834 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8835
8836 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8837
8838 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8839
8840 * window.el (display-buffer-other-window-means-other-frame):
8841 Call display-buffer-normalize-alist.
8842 (display-buffer-normalize-specifiers-1): Rename to
8843 display-buffer-normalize-argument. New argument other-frame.
8844 Rewrite.
8845 (display-buffer-normalize-specifiers-2): Rename to
8846 display-buffer-normalize-options.
8847 (display-buffer-normalize-alist-1): New function.
8848 (display-buffer-normalize-specifiers-3): Rename to
8849 display-buffer-normalize-alist.
8850 Call display-buffer-normalize-alist-1.
8851 (display-buffer-normalize-options-inhibit): New variable.
8852 (display-buffer-normalize-specifiers): Rewrite calling
8853 display-buffer-normalize-alist,
8854 display-buffer-normalize-argument, and
8855 display-buffer-normalize-options. Don't call the latter if
8856 display-buffer-normalize-options-inhibit is non-nil.
8857 (frame-auto-delete): New option.
8858 (window-deletable-p): Use frame-auto-delete.
8859 (window-list-no-nils, window-state-ignored-parameters)
8860 (window-state-get-1, window-state-get, window-state-put-list)
8861 (window-state-put-1, window-state-put-2, window-state-put):
8862 New functions.
8863 (display-buffer-normalize-options): Move special-display-p group
8864 after pop-up-frame group (Bug#8851) and (Bug#8856).
8865
8866 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8867
8868 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8869 groups (Bug#8776).
8870 (rx-submatch-n): New function.
8871 (rx): Document it.
8872
8873 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8874 (Bug#8768).
8875
8876 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8877
8878 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8879
8880 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8881 anytime existing face settings are present (Bug#8889).
8882
8883 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8884 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8885 Remove unused argument.
8886
8887 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8888
8889 * window.el (display-buffer-default-specifiers):
8890 Remove pop-up-frame. Add pop-up-window-min-height,
8891 pop-up-window-min-width, and another reuse-window specifier
8892 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8893 (display-buffer-normalize-specifiers-2):
8894 Handle split-height-threshold and split-width-threshold also when
8895 pop-up-windows is unset. Add a reuse-window specifier for the
8896 case popping up a new window fails.
8897 (special-display-popup-frame): Remove double quoting.
8898 (display-buffer-normalize-specifiers-1): Fix thinko.
8899
8900 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8903 according to comint-completion-addsuffix.
8904
8905 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8906 (pcomplete-suffix-list): Mark as obsolete.
8907 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8908 pcomplete-seen in the closure.
8909 (pcomplete-comint-setup): Setup completion-at-point as well.
8910 (pcomplete--entries): New function.
8911 (pcomplete--env-regexp): New var.
8912 (pcomplete-entries): Rewrite to work with partial-completion and
8913 without relying on pcomplete-suffix-list.
8914 (pcomplete-pare-list): Remove, unused.
8915
8916 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8917
8918 * window.el (display-buffer-alist): Set pop-up-window-min-height
8919 and pop-up-window-min-width in default value. Reported by
8920 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8921 other-window-means-other-frame.
8922 (display-buffer-macro-specifiers): Comment out entry for
8923 other-window specifier.
8924 (display-buffer-other-window-means-other-frame): New function.
8925 (display-buffer-normalize-specifiers-1): New arguments
8926 buffer-name and label. Treat other-window case specially.
8927 (display-buffer-normalize-specifiers-2): Treat other-window case
8928 specially.
8929 (display-buffer-normalize-specifiers-3): New function.
8930 (display-buffer-normalize-specifiers):
8931 Call display-buffer-normalize-specifiers-3.
8932
8933 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8934
8935 * window.el (same-window-p): Fix two typos introduced when
8936 adding with-no-warnings.
8937 (display-buffer-normalize-specifiers-1): Don't check
8938 pop-up-frames for 'unset initialization.
8939 (display-buffer-normalize-specifiers-2): Major rewrite using
8940 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8941 (pop-up-frames, display-buffer-reuse-frames)
8942 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8943 Suggested by David Engster <deng@randomsample.de>.
8944 (even-window-heights): Initialize to 'unset.
8945 (display-buffer-alist-set): Handle new 'unset initializations.
8946 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8947 other window case.
8948
8949 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8950
8951 * window.el (display-buffer-normalize-specifiers-1):
8952 Respect current value of pop-up-frames for most reasonable values of
8953 second argument of display-buffer (Bug#8865).
8954 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8955 (switch-to-buffer-other-window-same-frame)
8956 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8957 Adams (Bug#8875).
8958 (display-buffer): Don't check noninteractive when calling
8959 display-buffer-pop-up-frame.
8960 (display-buffer-pop-up-frame): Never pop up a frame in
8961 noninteractive mode (Bug#8857).
8962 (enlarge-window, shrink-window): Don't report an error when the
8963 window can't be resized as requested (Bug#8862).
8964
8965 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8968
8969 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8970
8971 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8972
8973 2011-06-15 Alan Mackenzie <acm@muc.de>
8974
8975 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8976 for declarators, disable knr checking to speed up for normal files.
8977 2: Refactor, replacing a sequence of nested if forms by a cond form.
8978
8979 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8980
8981 * net/network-stream.el (open-network-stream): Add the keyword
8982 :always-query-capabilities for the case where you want to force a
8983 `plain' network connection, but the protocol still requires the
8984 capabilitiy command (i.e., SMTP and EHLO).
8985
8986 * subr.el (process-live-p): Rename from `process-alive-p' for
8987 consistency with other `-live-p' functions.
8988
8989 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * window.el (same-window-buffer-names, same-window-regexps)
8992 (special-display-frame-alist, special-display-popup-frame)
8993 (special-display-function, special-display-buffer-names)
8994 (special-display-regexps, pop-up-frame-alist)
8995 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8996 (pop-up-windows, split-window-preferred-function)
8997 (split-height-threshold, split-width-threshold, even-window-heights)
8998 (display-buffer-mark-dedicated): Don't encourage the use of
8999 display-buffer-alist from Elisp code.
9000
9001 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9002
9003 * progmodes/python.el (python-mode): Derive from prog-mode.
9004 * progmodes/ps-mode.el (ps-mode):
9005 * progmodes/mixal-mode.el (mixal-mode):
9006 * progmodes/cfengine.el (cfengine-mode):
9007 * progmodes/ld-script.el (ld-script-mode): Likewise.
9008
9009 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9010
9011 * window.el (display-buffer-alist): Trim default value to avoid
9012 popping up a new frame (Bug#8857) or reusing an arbitrary window
9013 on another frame.
9014 (display-buffer): Do not fall back on popping up a new frame in
9015 batch mode (Bug#8857).
9016
9017 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9018
9019 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9020 (custom-theme-summary): New function.
9021 (customize-themes): Use it.
9022
9023 2011-06-13 Glenn Morris <rgm@gnu.org>
9024
9025 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9026
9027 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9028
9029 * help.el (help-window): Remove variable.
9030 (help-window-point-marker, temp-buffer-max-height)
9031 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9032 (help-print-return-message): Don't set help-window.
9033 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9034 (help-window-setup-finish): Remove.
9035 (help-window-display-message, help-window-setup)
9036 (with-help-window): Major rewrite based on new
9037 display-buffer-window variable.
9038
9039 * help-mode.el (help-mode-finish): Remove help-window related
9040 code.
9041
9042 * view.el (view-exits-all-viewing-windows): Remove reference to
9043 view-return-to-alist in doc-string.
9044 (view-return-to-alist): Make obsolete.
9045 (view-buffer): Call pop-to-buffer-same-window and remove
9046 undo-window code.
9047 (view-buffer-other-window): Call pop-to-buffer-other-window and
9048 simplify code. Ignore second argument.
9049 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9050 simplify code. Ignore second argument.
9051 (view-return-to-alist-update): Make obsolete.
9052 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9053 Rewrite using quit-restore window parameters.
9054 (view-mode-exit): Rename second argument to EXIT-ONLY.
9055 Rewrite using quit-restore-window.
9056 (View-exit, View-exit-and-edit, View-leave, View-quit)
9057 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9058 appropriate arguments.
9059 (view-end-message): Use quit-restore window parameter.
9060
9061 * window.el (display-buffer-function): Rewrite doc-string.
9062 (display-buffer-window, display-buffer-alist): New variables.
9063 (display-buffer-split-specifiers)
9064 (display-buffer-side-specifiers)
9065 (display-buffer-macro-specifiers): New constants.
9066 (display-buffer-even-window-sizes, display-buffer-set-height)
9067 (display-buffer-set-width, display-buffer-select-window)
9068 (display-buffer-in-window, display-buffer-reuse-window)
9069 (display-buffer-split-window-1, display-buffer-split-window)
9070 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9071 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9072 (display-buffer-in-side-window, normalize-buffer-to-display)
9073 (display-buffer-normalize-specifiers-1)
9074 (display-buffer-normalize-specifiers-2)
9075 (display-buffer-normalize-specifiers, display-buffer-frame):
9076 New functions.
9077 (display-buffer): Major rewrite.
9078 (display-buffer-other-window, display-buffer-other-frame)
9079 (pop-to-buffer, switch-to-buffer-other-window)
9080 (switch-to-buffer-other-frame): Rewrite.
9081 (display-buffer-same-window, display-buffer-same-frame)
9082 (display-buffer-same-frame-other-window)
9083 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9084 (pop-to-buffer-other-window)
9085 (pop-to-buffer-same-frame-other-window)
9086 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9087 (switch-to-buffer-other-window-same-frame): New functions.
9088 (same-window-p, special-display-p): Rewrite disabling warnings.
9089 Make obsolete.
9090 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9091 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9092 Make obsolete
9093 (same-window-buffer-names, same-window-regexps)
9094 (special-display-frame-alist, special-display-popup-frame)
9095 (special-display-function, special-display-buffer-names)
9096 (special-display-regexps, pop-up-frame-alist)
9097 (pop-up-frame-function, split-window-preferred-function)
9098 (split-height-threshold, split-width-threshold)
9099 (even-window-heights): Make obsolete.
9100
9101 2011-06-12 Glenn Morris <rgm@gnu.org>
9102
9103 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9104 Misc simplifications.
9105
9106 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9107
9108 * window.el (window-safely-shrinkable-p): Restore function which
9109 was inadvertently removed in change from 2011-06-11. Declare as
9110 obsolete.
9111
9112 * calendar/calendar.el (calendar-generate-window):
9113 Use window-iso-combined-p instead of combination of one-window-p and
9114 window-safely-shrinkable-p.
9115
9116 2011-06-12 Glenn Morris <rgm@gnu.org>
9117
9118 * progmodes/fortran.el (fortran-mode-syntax-table):
9119 * progmodes/f90.el (f90-mode-syntax-table):
9120 Set % to punctuation. (Bug#8820)
9121 (f90-find-tag-default): Remove, no longer needed.
9122
9123 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9124
9125 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9126
9127 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9128
9129 * image.el (image-animated-p): Return animation delay in seconds.
9130 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9131 (image-animate-timeout): Remove DELAY argument. Don't assume
9132 every subimage has the same delay; get it from image-animated-p.
9133 (image-animate): Caller changed.
9134
9135 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9136
9137 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9138 to ignored backtrace functions.
9139
9140 2011-06-11 Glenn Morris <rgm@gnu.org>
9141
9142 * calendar/appt.el (appt-disp-window-function): Doc fix.
9143 (appt-check): Handle overlapping appointments. (Bug#8337)
9144
9145 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9146
9147 * window.el (window-tree-1, window-tree): New functions, moving
9148 the latter to window.el.
9149 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9150 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9151 (bw-refresh-edges): Remove.
9152 (balance-windows-1, balance-windows-2): New functions.
9153 (balance-windows): Rewrite in terms of window tree functions,
9154 balance-windows-1 and balance-windows-2.
9155 (bw-adjust-window): Remove.
9156 (balance-windows-area-adjust): New function with functionality of
9157 bw-adjust-window but using resize-window.
9158 (set-window-text-height): Rewrite doc-string.
9159 Use normalize-live-window and resize-window.
9160 (enlarge-window-horizontally, shrink-window-horizontally):
9161 Rename argument to DELTA.
9162 (window-buffer-height): New function.
9163 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9164 Rewrite using new window resize routines.
9165 (kill-buffer-and-window, mouse-autoselect-window-select):
9166 Use ignore-errors instead of condition-case.
9167 (quit-window): Call delete-frame instead of delete-windows-on
9168 for the only buffer on frame.
9169
9170 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9171
9172 * loadup.el (top-level): Load window before files for the sake
9173 of replace-buffer-in-windows.
9174
9175 * files.el (read-buffer-to-switch)
9176 (switch-to-buffer-other-window)
9177 (switch-to-buffer-other-frame, display-buffer-other-frame):
9178 Move to window.el.
9179
9180 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9181 (previous-buffer): Move to window.el.
9182
9183 * bindings.el (unbury-buffer): Move to window.el.
9184
9185 * window.el (delete-other-windows-vertically): Move after
9186 definition of delete-other-windows.
9187 (other-window, delete-windows-on, replace-buffer-in-windows):
9188 Move here from window.c.
9189 (record-window-buffer, unrecord-window-buffer)
9190 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9191 (switch-to-next-buffer): New functions.
9192 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9193 from simple.el. Call switch-to-next-buffer.
9194 (previous-buffer): Move here from simple.el.
9195 Call switch-to-prev-buffer.
9196 (bury-buffer): Move here from buffer.c. Switch to previous
9197 buffer when window cannot be deleted.
9198 (unbury-buffer): Move here from bindings.el.
9199 (ctl-x-map): Move binding for other-window from window.c to
9200 here.
9201 (read-buffer-to-switch, switch-to-buffer-other-window)
9202 (switch-to-buffer-other-frame): Move here from files.el.
9203 (normalize-buffer-to-switch-to): New functions.
9204 (switch-to-buffer): Move here from buffer.c.
9205 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9206
9207 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9208
9209 * window.el (window-min-height, window-min-width): Move here
9210 from window.c. Add defcustoms and rewrite doc-strings.
9211 (resize-mini-window, resize-window): New functions.
9212 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9213 Move here from window.c.
9214 (maximize-window, minimize-window): New functions.
9215 (delete-window, delete-other-windows, split-window): Move here
9216 from window.c.
9217 (window-split-min-size): New function.
9218 (split-window-keep-point): Mention split-window-above-each-other
9219 instead of split-window-vertically.
9220 (split-window-above-each-other, split-window-vertically):
9221 Rename split-window-vertically to split-window-above-each-other
9222 and provide defalias for old definition.
9223 (split-window-side-by-side, split-window-horizontally):
9224 Rename split-window-horizontally to split-window-side-by-side
9225 and provide defalias for the old definition.
9226 (ctl-x-map): Move bindings for delete-window,
9227 delete-other-windows and enlarge-window here from window.c.
9228 Replace bindings for split-window-vertically and
9229 split-window-horizontally by bindings for
9230 split-window-above-each-other and split-window-side-by-side.
9231
9232 * cus-start.el (all): Remove entries for window-min-height and
9233 window-min-width. Add entries for window-splits and
9234 window-nest.
9235
9236 2011-06-09 Glenn Morris <rgm@gnu.org>
9237
9238 * calendar/appt.el (appt-mode-line): New function.
9239 (appt-check, appt-disp-window): Use it.
9240
9241 * files.el (hack-one-local-variable-eval-safep):
9242 Allow minor-modes with explicit +/-1 arguments.
9243
9244 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9245
9246 * term/xterm.el (xterm): Add defgroup.
9247 (xterm-extra-capabilities): Add defcustom to supply known xterm
9248 capabilities, skip querying them, or query them (default).
9249 (terminal-init-xterm): Use it.
9250 (terminal-init-xterm-modify-other-keys): New function to set up
9251 modifyOtherKeys support to simplify `terminal-init-xterm'.
9252
9253 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9254
9255 * window.el (resize-window-reset, resize-window-reset-1)
9256 (resize-subwindows-skip-p, resize-subwindows-normal)
9257 (resize-subwindows, resize-other-windows, resize-this-window)
9258 (resize-root-window, resize-root-window-vertically)
9259 (window-deletable-p, window-or-subwindow-p)
9260 (frame-root-window-p): New functions.
9261
9262 2011-06-09 Glenn Morris <rgm@gnu.org>
9263
9264 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9265 (ange-ftp-get-files): Use it.
9266
9267 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9268
9269 * mail/sendmail.el (mail-recover-1, mail-recover):
9270 * files.el (recover-file, recover-session):
9271 Handle dired-listing-switches not being just a single short option.
9272
9273 2011-06-09 Glenn Morris <rgm@gnu.org>
9274
9275 * calendar/appt.el (appt-display-message, appt-disp-window):
9276 Handle lists of appointments.
9277
9278 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9279
9280 * window.el (one-window-p): Move down in code.
9281 Rewrite doc-string.
9282 (window-current-scroll-bars): Rewrite doc-string.
9283 Normalize live window argument.
9284 (walk-windows, get-window-with-predicate, count-windows):
9285 Rewrite doc-string. Use window-list-1.
9286 (window-in-direction-2, window-in-direction, get-mru-window):
9287 New functions.
9288
9289 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9290
9291 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9292 Doc fix (Bug#8713).
9293
9294 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9295
9296 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9297
9298 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * loadhist.el (unload-feature-special-hooks):
9301 Add `comint-output-filter-functions'.
9302
9303 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9304
9305 * calendar/appt.el (appt-check): Move some initializations into the let.
9306
9307 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9308
9309 * window.el (window-height): Defalias to window-total-height.
9310 (window-width): Defalias to window-body-width.
9311
9312 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9313
9314 * image-mode.el (image-toggle-animation): New command.
9315 (image-mode-map): Bind it to RET.
9316 (image-mode): Update message.
9317 (image-toggle-display-image): Avoid a spurious cache flush.
9318 (image-transform-rotation): Doc fix.
9319 (image-transform-properties): Return quickly in the normal case.
9320 (image-animate-loop): Rename from image-animate-max-time.
9321
9322 * image.el (image-animate-max-time): Move to image-mode.el.
9323 (create-animated-image): Remove unnecessary function.
9324 (image-animate): Rename from image-animate-start. New arg.
9325 (image-animate-stop): Remove; just use image-animate-timer.
9326 (image-animate-timer): Use car-safe.
9327 (image-animate-timeout): Rename argument.
9328
9329 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9330
9331 * window.el (get-lru-window, get-largest-window): Move here from
9332 window.c. Rename first argument to ALL-FRAMES.
9333 Rephrase doc-strings.
9334 (get-buffer-window-list): Rewrite using window-list-1.
9335 Rephrase doc-string.
9336 (window-safe-min-height, window-safe-min-width): New constants.
9337 (window-size-ignore, window-min-size, window-min-size-1)
9338 (window-sizable, window-sizable-p, window-size-fixed-1)
9339 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9340 (window-max-delta-1, window-max-delta, window-resizable)
9341 (window-resizable-p, window-total-height, window-total-width)
9342 (window-body-width): New functions.
9343 (window-full-height-p, window-full-width-p): Rewrite using
9344 window-total-size.
9345 (window-body-height): Rewrite using window-body-size.
9346
9347 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9348
9349 * window.el (window-right, window-left, window-child)
9350 (window-child-count, window-last-child, window-any-p)
9351 (normalize-live-buffer, normalize-live-frame)
9352 (normalize-any-window, normalize-live-window)
9353 (window-iso-combination-p, window-iso-combined-p)
9354 (window-iso-combinations)
9355 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9356 (windows-with-parameter, window-with-parameter)
9357 (window-atom-root, make-window-atom, window-atom-check-1)
9358 (window-atom-check, window-side-check, window-check):
9359 New functions.
9360 (ignore-window-parameters, window-sides, window-sides-vertical)
9361 (window-sides-slots): New variables.
9362 (window-size-fixed): Move down in code. Minor doc-string fix.
9363
9364 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9365
9366 * comint.el (comint-dynamic-complete-as-filename)
9367 (comint-dynamic-complete-filename): Correctly call
9368 completion-in-region.
9369
9370 2011-06-05 Deniz Dogan <deniz@dogan.se>
9371
9372 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9373 in last change.
9374
9375 2011-06-05 Deniz Dogan <deniz@dogan.se>
9376
9377 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9378 (rcirc): Use it to prompt for encryption.
9379
9380 2011-06-05 Roland Winkler <winkler@gnu.org>
9381
9382 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9383 (bibtex-search-entries): New command bound to C-c C-a.
9384 (bibtex-display-entries): New function.
9385
9386 2011-06-05 Roland Winkler <winkler@gnu.org>
9387
9388 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9389 (bibtex-insert-kill): After yanking insert newline if necessary.
9390 (bibtex-initialize): Call bibtex-string-files-init only once.
9391 (bibtex-mode): Do not call easy-menu-add.
9392 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9393 (bibtex-yank): Set arg properly if nil.
9394
9395 2011-06-05 Roland Winkler <winkler@gnu.org>
9396
9397 * textmodes/bibtex.el (bibtex-search-entry-globally):
9398 New variable.
9399 (bibtex-search-entry): Use it.
9400
9401 2011-06-05 Roland Winkler <winkler@gnu.org>
9402
9403 * textmodes/bibtex.el (bibtex-entry-format): New option
9404 sort-fields.
9405 (bibtex-format-entry, bibtex-reformat): Honor this option.
9406 (bibtex-parse-entry): Return fields in proper order.
9407
9408 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9409
9410 * doc-view.el (doc-view-remove-if): Move computation of result out
9411 of `dolist' to silence misleading lexical-binding warning.
9412
9413 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9414
9415 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9416 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9417
9418 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9419
9420 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9421 "SunOS 5.10".
9422
9423 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9424
9425 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9426 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9427 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9428 (tramp-parse-putty):
9429 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9430 (tramp-completion-function-alist-ssh)
9431 (tramp-completion-function-alist-telnet)
9432 (tramp-completion-function-alist-su)
9433 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9434 cookie.
9435
9436 * net/tramp-ftp.el:
9437 * net/tramp-sh.el:
9438 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9439 load "tramp.el" `tramp-set-completion-function'.
9440
9441 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9442
9443 * shell.el: Require and use pcomplete.
9444 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9445 (shell-completion-vars): Set pcomplete-default-completion-function.
9446
9447 2011-06-04 Deniz Dogan <deniz@dogan.se>
9448
9449 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9450 `memq' (Bug#8799).
9451
9452 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9455
9456 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9459 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9460 * vc/log-view.el (log-view-beginning-of-defun):
9461 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9462 (smerge-refine-forward, smerge-refine-chopup-region):
9463 Silence warning for unused `dotimes' counter variables.
9464
9465 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * net/tramp.el (tramp-with-progress-reporter): Rename from
9468 with-progress-reporter. Use `declare'.
9469 * net/tramp-smb.el:
9470 * net/tramp-sh.el:
9471 * net/tramp-gvfs.el: Update all uses.
9472
9473 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9474
9475 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9476 buffer isn't killed before making it current.
9477
9478 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 Silence various byte-compiler warnings.
9481 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9482 `access-type' and new obsolescence format.
9483 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9484 new format.
9485 (byte-compile-check-variable): New `access-type' argument.
9486 Only warn if the access-type is obsolete.
9487 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9488 (byte-compile-variable-set): Adjust callers.
9489 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9490 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9491 setting it as obsolete.
9492 * simple.el (minibuffer-completing-symbol):
9493 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9494 access as obsolete.
9495 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9496 obsolete yet.
9497 * international/quail.el (quail-mouse-choose-completion): Remove unused
9498 code referring to obsolete var.
9499 (quail-choose-completion-string): Remove.
9500 * server.el (server-clients-with, server-kill-buffer-query-function)
9501 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9502 * proced.el (proced-send-signal):
9503 * emacs-lisp/lisp.el (lisp-complete-symbol):
9504 Replace completion-annotate-function with completion-extra-properties.
9505
9506 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * simple.el (goto-line): Use read-number.
9509 (overriding-map-is-bound): Remove.
9510 (saved-overriding-map): Change default.
9511 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9512 Take the map as argument.
9513 (universal-argument, negative-argument, digit-argument): Use it.
9514 (restore-overriding-map): Adjust.
9515 (do-auto-fill): Use fill-forward-paragraph.
9516 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9517
9518 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9519 (minibuffer-inactive-mode): New major mode.
9520 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9521 the *Messages* buffer" hack.
9522 (mouse-popup-menubar): Don't burp if the event is a normal key.
9523
9524 Miscellaneous tweaks.
9525 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9526 lexical scoping as in subr.el's dolist and dotimes.
9527 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9528 Silence compiler warning.
9529 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9530 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9531 * international/ccl.el (ccl-compile): Trivial simplification.
9532 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9533 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9534 `printflag' argument.
9535 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9536 Purecopy the whole obsolescence data.
9537
9538 2011-06-01 Leo Liu <sdl.web@gmail.com>
9539
9540 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9541 improve doc-string as suggested by Marco Pessotto
9542 <melmothx@gmail.com>.
9543 (rcirc-print): Fix last change.
9544
9545 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 * minibuffer.el (complete-with-action): Return nil for the metadata and
9548 boundaries of non-functional tables.
9549 (completion-table-dynamic): Return nil for the metadata.
9550 (completion-table-with-terminator): Add default case, using
9551 complete-with-action.
9552 (completion--metadata): New function.
9553 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9554 to try and avoid pathological performance problems.
9555 (completion--embedded-envvar-table): Return `category' metadata.
9556
9557 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9558
9559 * subr.el (process-alive-p): New tiny convenience function.
9560
9561 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9564 content but also its previous major mode.
9565
9566 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9567
9568 * emacs-lisp/debug.el (debug): Restore the previous content of the
9569 *Backtrace* buffer when we exit with C-M-c.
9570
9571 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9572
9573 * minibuffer.el: Add metadata method to completion tables.
9574 (completion-category-overrides): New defcustom.
9575 (completion-metadata, completion--field-metadata)
9576 (completion-metadata-get, completion--styles)
9577 (completion--cycle-threshold): New functions.
9578 (completion-try-completion, completion-all-completions):
9579 Add `metadata' argument to choose completion-styles.
9580 (completion--do-completion): Use metadata to choose cycling.
9581 (completion-all-sorted-completions): Use metadata for sorting.
9582 Remove :completion-cycle-penalty which is not needed any more.
9583 (completion--try-word-completion): Add `metadata' argument.
9584 (minibuffer-completion-help): Check metadata for annotation function
9585 and sorting.
9586 (completion-file-name-table): Return `category' metadata.
9587 (minibuffer-completing-file-name): Make obsolete.
9588 * simple.el (minibuffer-completing-symbol): Make obsolete.
9589 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9590 completion-try-completion.
9591
9592 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9595
9596 2011-05-30 Leo Liu <sdl.web@gmail.com>
9597
9598 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9599 (rcirc-print): Decode all incoming messages (bug#8744).
9600 (rcirc-decode-coding-system): Allow value nil for automatic coding
9601 system detection.
9602
9603 2011-06-01 Glenn Morris <rgm@gnu.org>
9604
9605 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9606
9607 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9608
9609 * image.el (image-animate-max-time): Allow nil and t values.
9610 Default to nil.
9611 (create-animated-image): Doc fix.
9612 (image-animate-start): Remove second arg; just use
9613 image-animate-max-time.
9614 (image-animate-timeout): Doc fix. Args changed.
9615
9616 * image-mode.el (image-toggle-display-image): Ensure that the
9617 image spec passed to the animate timer is the same object as in
9618 the buffer's display property (Bug#6981).
9619 (image-transform-properties): Doc fix.
9620
9621 * image.el (image-animate-max-time): Default to nil.
9622
9623 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9624
9625 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9626 entire buffer list (Bug#8184).
9627
9628 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9629
9630 * image.el (imagemagick-types-inhibit)
9631 (imagemagick-register-types): Doc fix.
9632
9633 2011-05-29 Deniz Dogan <deniz@dogan.se>
9634
9635 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9636 default.
9637
9638 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9639
9640 * select.el: Don't perform clipboard-manager saving in hooks;
9641 leave the hooks empty.
9642
9643 2011-05-28 Leo Liu <sdl.web@gmail.com>
9644
9645 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9646 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9647 (occur-edit-mode): New major mode (Bug#8463).
9648 (occur-after-change-function): New function.
9649 (occur-engine): Give Occur tags a read-only property.
9650
9651 2011-05-28 Kevin Ryde <user42@zip.com.au>
9652
9653 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9654
9655 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9656
9657 * bindings.el (help-echo): Make the initial non-indicator dash
9658 empty on graphical terminals (Bug#7295).
9659
9660 * files.el (auto-mode-alist): Move config rule after the
9661 in-stripping one (Bug#8547).
9662
9663 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9664
9665 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9666 setting (Bug#8740).
9667
9668 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9669
9670 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9671 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9672 (Bug#8539).
9673
9674 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9675
9676 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9677
9678 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9679
9680 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9681 (hs-hide-block-at-point, hs-find-block-beginning)
9682 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9683 (Bug#8279).
9684
9685 2011-05-28 Glenn Morris <rgm@gnu.org>
9686
9687 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9688
9689 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9690
9691 * help-fns.el (describe-function-1): If the function is a derived
9692 major mode, print the parent mode.
9693
9694 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9695 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9696
9697 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * minibuffer.el (completion--capf-wrapper): Check applicability before
9700 returning non-nil for non-exclusive completion data.
9701 * progmodes/etags.el (tags-completion-at-point-function):
9702 * info-look.el (info-lookup-completions-at-point): Mark as
9703 non-exclusive.
9704 (info-complete): Adjust accordingly.
9705
9706 * info-look.el: Convert to lexical-binding and completion-at-point.
9707 (info-lookup-completions-at-point): New function.
9708 (info-complete): Use it and completion-in-region.
9709
9710 2011-05-28 Drew Adams <drew.adams@oracle.com>
9711
9712 * isearch.el: Let M-e start with point at the first mismatched char.
9713 (isearch-fail-pos): New function.
9714 (isearch-edit-string): Use it.
9715
9716 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9717
9718 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9719
9720 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9721
9722 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9723 traversal functions for avl-trees.
9724 (avl-tree--stack): New struct.
9725 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9726 (avl-tree-enter): Add optional `updatefun' arg.
9727 (avl-tree--do-enter): Add optional `updatefun' arg.
9728 Change return value.
9729 (avl-tree-delete): Add optional `test' and `nilflag' args.
9730 (avl-tree--do-delete): Add `test' and `nilflag' args.
9731 Change return value.
9732 (avl-tree-member): Add optional `nilflag'
9733 (avl-tree-member-p): New function.
9734 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9735 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9736 (avl-tree-stack-empty-p): New functions.
9737
9738 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9739 avl-tree--del-balance1 and make it work both ways.
9740 (avl-tree--del-balance2): Remove.
9741 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9742 make it work both ways.
9743 (avl-tree--enter-balance2): Remove.
9744 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9745 New macros.
9746 (avl-tree--mapc, avl-tree-map): Add direction argument.
9747
9748 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9749
9750 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9751
9752 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9753
9754 * select.el: Support clipboard managers with built-in function
9755 x-clipboard-manager-save, via delete-frame-functions and
9756 kill-emacs-hook.
9757 (xselect-convert-to-targets): Add MULTIPLE target to list.
9758 (xselect-convert-to-save-targets): New function.
9759
9760 2011-05-27 Kenichi Handa <handa@m17n.org>
9761
9762 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9763 let-binding rfc2047-encode-encoded-words to nil.
9764
9765 2011-05-27 Glenn Morris <rgm@gnu.org>
9766
9767 * mail/emacsbug.el: Don't require url-util.
9768
9769 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9770
9771 * files.el (set-auto-mode):
9772 Also respect mode: entries at the end of the file. (Bug#8586)
9773
9774 2011-05-26 Glenn Morris <rgm@gnu.org>
9775
9776 * files.el (hack-local-variables-prop-line, hack-local-variables):
9777 Downcase mode names, as seems to be traditional.
9778 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9779
9780 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9781 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9782
9783 2011-05-25 Julien Danjou <julien@danjou.info>
9784
9785 * textmodes/rst.el (rst-define-level-faces): Do not define face
9786 symbol if it is already defined.
9787
9788 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9789
9790 * play/5x5.el (5x5-new-game, 5x5-randomize):
9791 Reset 5x5-solver-output to nil when a new grid is cast.
9792 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9793 these debugging traces, as defmacro breaks the compiled code.
9794
9795 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9796
9797 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9798
9799 2011-05-24 Leo Liu <sdl.web@gmail.com>
9800
9801 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9802 (vc-bzr-sha1): Adapt.
9803
9804 * sha1.el: Remove. Function `sha1' is now builtin.
9805
9806 * bindings.el: Provide sha1 feature.
9807
9808 2011-05-24 Kenichi Handa <handa@m17n.org>
9809
9810 * mail/sendmail.el: Require `rfc2047'.
9811 (mail-insert-from-field): Do not perform RFC2047 encoding.
9812 (mail-encode-header): New function.
9813 (sendmail-send-it): Set buffer-file-coding-system of the work
9814 buffer to the return value of select-message-coding-system.
9815 Call mail-encode-header.
9816
9817 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9818
9819 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9820
9821 * mail/supercite.el (sc-default-cite-frame):
9822 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9823
9824 2011-05-24 Glenn Morris <rgm@gnu.org>
9825
9826 * progmodes/python.el (brm-menu): Declare.
9827
9828 * emulation/viper.el (viper-set-hooks): Declare.
9829
9830 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9831 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9832 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9833 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9834 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9835 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9836
9837 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 Add an :exit-function for completion-at-point.
9840
9841 * minibuffer.el (completion--done): New fun.
9842 (completion--do-completion): Use it. New arg `expect-exact'.
9843 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9844 since completion--do-completion does it for us now.
9845 (minibuffer-force-complete): Use completion--done and
9846 completion--replace. Handle sole-completion case with more care.
9847 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9848 (completion-extra-properties): New var.
9849 (completion-annotate-function): Make obsolete.
9850 (minibuffer-completion-help): Adjust accordingly.
9851 Use completion-list-insert-choice-function.
9852 (completion-at-point, completion-help-at-point):
9853 Bind completion-extra-properties.
9854 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9855 * simple.el (completion-list-insert-choice-function): New var.
9856 (completion-setup-function): Preserve it.
9857 (choose-completion): Pay attention to it, shuffle the code a bit.
9858 (choose-completion-string): New arg `insert-function'.
9859
9860 * textmodes/bibtex.el: Convert to lexical binding.
9861 (bibtex-mode-map): Use completion-at-point.
9862 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9863 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9864 (bibtex-complete): Define as obsolete alias.
9865 (bibtex-complete-internal): Remove.
9866 (bibtex-format-entry): Remove unused sub-group in regexp.
9867 * shell.el (shell--command-completion-data)
9868 (shell-environment-variable-completion):
9869 * pcomplete.el (pcomplete-completions-at-point):
9870 * comint.el (comint--complete-file-name-data): Use :exit-function
9871 instead of completion-table-with-terminator so it also works for
9872 choose-completion.
9873
9874 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9877
9878 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9879 (bug#8710).
9880
9881 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9882
9883 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9884
9885 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9886 customization variable and implement: If non-nil, auto-fill will
9887 be inhibited while on topic's header line.
9888
9889 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9890
9891 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9892 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9893 always have a solution in grid size = 5 cases.
9894 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9895 (5x5-solver-output, 5x5-log-buffer): New vars.
9896 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9897 Make these variables buffer local to achieve 5x5 multi-session-ness.
9898 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9899 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9900 (5x5-solve-suggest): New funs.
9901 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9902 randomize a grid so that we ensure that there is always a solution.
9903 (5x5-make-random-grid): Allow other movement than flipping.
9904
9905 2011-05-23 Kevin Ryde <user42@zip.com.au>
9906
9907 * emacs-lisp/advice.el (ad-read-advised-function):
9908 Use `function-called-at-point' as the default, if it has
9909 advice and passes PREDICATE.
9910
9911 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9912
9913 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9914 byte-compile-lambda if it's actually a lambda.
9915
9916 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9917 Fix function quoting. Use backquote better.
9918
9919 2011-05-22 Yuanle Song <sylecn@gmail.com>
9920
9921 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9922 matching (Bug#8516).
9923
9924 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9925
9926 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9927 different face (Bug#8178).
9928
9929 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9930
9931 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9932 defface (Bug#8144).
9933
9934 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9937 funcall as well (bug#8712). Warn when performing those conversions.
9938 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9939
9940 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9941
9942 2011-05-22 Glenn Morris <rgm@gnu.org>
9943
9944 * files.el (hack-local-variables-prop-line): Small simplifications.
9945 (hack-local-variables, hack-local-variables-prop-line):
9946 If MODE-ONLY, return the mode, rather than just `t'.
9947
9948 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9951
9952 2011-05-21 Glenn Morris <rgm@gnu.org>
9953
9954 * files.el (hack-local-variables-prop-line, hack-local-variables):
9955 If only interested in the mode, don't bother doing the other stuff.
9956
9957 * image-mode.el (image-after-revert-hook):
9958 Redraw all frames on which the image is visible. (Bug#8567)
9959
9960 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9961
9962 * wid-edit.el (widget-checklist-match-inline):
9963 Fix 2011-04-19 change. (Bug#8649)
9964
9965 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9968 Also allow singlespace after single-letter capitals followed by a dot.
9969
9970 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9971 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9972
9973 2011-05-20 Nix <nix@esperi.org.uk>
9974
9975 * files.el (basic-save-buffer-2):
9976 Fix handling of break-hardlink-on-save with non-existent files.
9977
9978 2011-05-19 Deniz Dogan <deniz@dogan.se>
9979
9980 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9981 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9982
9983 2011-05-19 Glenn Morris <rgm@gnu.org>
9984
9985 * progmodes/f90.el (f90-type-def-re):
9986 Handle "type, bind(c)". (Bug#8691)
9987
9988 * emacs-lisp/autoload.el (batch-update-autoloads):
9989 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9990
9991 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9992
9993 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9994 property for the correct connection in case of multihops.
9995
9996 2011-05-18 Glenn Morris <rgm@gnu.org>
9997
9998 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9999 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10000
10001 Rationalize calendar handling of day and month abbrev-arrays.
10002 * calendar/calendar.el (calendar-customized-p): New function.
10003 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10004 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10005 Add :set function.
10006 (calendar-abbrev-length, calendar-day-abbrev-array)
10007 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10008 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10009 Elements may no longer be nil.
10010 (calendar-day-name, calendar-month-name):
10011 Update for changed nature of abbrev arrays.
10012 * calendar/diary-lib.el (diary-name-pattern):
10013 Update for changed nature of abbrev arrays.
10014 (diary-mark-entries-1): Update calendar-make-alist calls.
10015 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10016 * calendar/cal-html.el (cal-html-day-abbrev-array):
10017 Simply inherit from calendar-day-abbrev-array.
10018
10019 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * progmodes/grep.el (grep-mode): Disable default
10022 compilation-directory-matcher setting (bug#8684).
10023
10024 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10025
10026 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10027 instead of "head" and "tail". There were problems with SunOS 5.9,
10028 and it performs better.
10029
10030 2011-05-17 Glenn Morris <rgm@gnu.org>
10031
10032 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10033
10034 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10035 Replace obsolete function.
10036
10037 * shell.el (pcomplete-parse-arguments-function): Declare.
10038
10039 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10040 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10041 (appt-check): Doc fixes.
10042 (appt-disp-window-function, appt-delete-window-function):
10043 Remove needless special case in custom :type.
10044 (appt-display-count): Default to 0, not nil.
10045 (appt-check): Reset appt-display-count to 0, not nil.
10046
10047 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10048
10049 * progmodes/python.el (python-font-lock-keywords):
10050 Add the Python 3.X keyword "nonlocal" (bug#8639).
10051
10052 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10055
10056 2011-05-16 Kevin Ryde <user42@zip.com.au>
10057
10058 * info-look.el (makefile-automake-mode): New setups, looking in
10059 automake manual, then makefile-mode.
10060 (makefile-mode): Remove automake manual, have it just in
10061 makefile-automake-mode since there's various things different or
10062 not relevant to plain make.
10063 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10064 believe a hypothetical automake-mode would go to makefile-mode,
10065 not the other way around.
10066
10067 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10068
10069 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10070 hunk-end tags (Bug#8672).
10071
10072 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10073 vc-annotate-show-diff-revision-at-line (Bug#8671).
10074
10075 2011-05-14 Glenn Morris <rgm@gnu.org>
10076
10077 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10078 in the middle of an existing one with multiple authors. (Bug#8645)
10079 (change-log-font-lock-keywords): Also handle multiple author lines
10080 with leading tabs. (Bug#8644)
10081
10082 * calendar/appt.el (appt-check): Rename some local variables.
10083 Some simplification/reordering.
10084
10085 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10086 (feedmail-sendmail-f-doesnt-sell-me-out)
10087 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10088 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10089 (feedmail-queue-runner-message-sender): Set :version.
10090 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10091 (bbdb-dwim-net-address, vm-mail): Declare.
10092 (feedmail-binmail-gnulinuxish-template):
10093 Rename from feedmail-binmail-linuxish-template.
10094 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10095 Use insert-buffer-substring.
10096
10097 2011-05-14 Bill Carpenter <bill@carpenter.org>
10098
10099 * mail/feedmail.el (feedmail-patch-level): Increase.
10100 (feedmail-debug): New custom group.
10101 (feedmail-confirm-outgoing-timeout)
10102 (feedmail-sendmail-f-doesnt-sell-me-out)
10103 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10104 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10105 (feedmail-sender-line, feedmail-from-line)
10106 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10107 (feedmail-spray-this-address)
10108 (feedmail-spray-address-fiddle-plex-list)
10109 (feedmail-queue-use-send-time-for-date)
10110 (feedmail-queue-use-send-time-for-message-id)
10111 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10112 (feedmail-buffer-eating-function):
10113 Doc fixes.
10114 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10115 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10116 (feedmail-message-action-scroll-down): New functions.
10117 (feedmail-queue-directory, feedmail-queue-draft-directory):
10118 Use expand-file-name.
10119 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10120 Remove C-v help entry.
10121 (feedmail-queue-buffer-file-name): New variable.
10122 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10123 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10124 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10125 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10126 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10127 (feedmail-message-action-toggle-spray)
10128 (feedmail-run-the-queue-no-prompts)
10129 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10130 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10131 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10132 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10133 (feedmail-envelope-deducer, feedmail-fiddle-from)
10134 (feedmail-fiddle-sender, feedmail-default-date-generator)
10135 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10136 (feedmail-fiddle-spray-address)
10137 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10138 (feedmail-fiddle-list-of-fiddle-plexes)
10139 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10140 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10141 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10142 Change default. Doc fix.
10143 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10144 (feedmail-binmail-linuxish-template): New constant.
10145 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10146 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10147 (feedmail-send-it): Add debug call.
10148 Use feedmail-queue-buffer-file-name, and
10149 feedmail-send-it-immediately-wrapper.
10150 (feedmail-message-action-send): Add debug call.
10151 Use feedmail-send-it-immediately-wrapper.
10152 (feedmail-queue-express-to-queue): Add debug call.
10153 Run feedmail-queue-express-hook.
10154 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10155 (feedmail-message-action-help-blat):
10156 Rename from feedmail-queue-send-edit-prompt-help-first.
10157 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10158 Check line-endings. Handle errors better.
10159 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10160 Doc fix. Add debug call.
10161 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10162 Use feedmail-queue-send-edit-prompt-inner.
10163 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10164 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10165 from feedmail-queue-send-edit-prompt.
10166 (feedmail-queue-send-edit-prompt-help)
10167 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10168 (feedmail-tidy-up-slug): Add debug call.
10169 Respect feedmail-queue-slug-suspect-regexp.
10170 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10171 (feedmail-dump-message-to-queue): Add debug call.
10172 Expand queue-directory.
10173 (feedmail-dump-message-to-queue): Change message slightly.
10174 Use feedmail-say-chatter.
10175 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10176 (feedmail-send-it-immediately-wrapper): New function.
10177 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10178 Insert empty string rather than newline. Handle full-frame case.
10179 Use catch/throw. Use feedmail-say-chatter.
10180 (feedmail-fiddle-from): Try mail-host-address.
10181 (feedmail-default-message-id-generator): Doc fix.
10182 Bind system-time-locale. Handle missing end.
10183 (feedmail-fiddle-x-mailer): Add debug call.
10184 Handle feedmail-x-mailer-line being nil.
10185 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10186 Add debug call. Use buffer-substring-no-properties.
10187 (feedmail-say-debug, feedmail-say-chatter): New functions.
10188 (feedmail-find-eoh): Give an explicit error.
10189
10190 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10191
10192 * net/newst-treeview.el (newsticker-treeview-face): Change default
10193 family from helvetica to sans.
10194 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10195 etc/images/newsticker.
10196
10197 * net/newst-reader.el (newsticker-feed-face): Change default
10198 family from helvetica to sans.
10199
10200 * net/newst-plainview.el (newsticker-new-item-face)
10201 (newsticker-old-item-face, newsticker-immortal-item-face)
10202 (newsticker-obsolete-item-face, newsticker-date-face)
10203 (newsticker-statistics-face): Change default family from
10204 helvetica to sans.
10205 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10206 etc/images/newsticker.
10207
10208 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10209 (newsticker--process-auto-mark-filter-match): : Tell user about
10210 auto-marking.
10211
10212 2011-05-13 Didier Verna <didier@xemacs.org>
10213
10214 Common Lisp indentation improvements on defmethod and lambda-lists.
10215 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10216 TODO entries.
10217 (lisp-lambda-list-keyword-parameter-indentation)
10218 (lisp-lambda-list-keyword-parameter-alignment)
10219 (lisp-lambda-list-keyword-alignment): New customizable user options.
10220 (lisp-indent-defun-method): Improve docstring.
10221 (extended-loop-p): Fix comment.
10222 (lisp-indent-lambda-list-keywords-regexp): New variable.
10223 (lisp-indent-lambda-list): New function.
10224 (lisp-indent-259): Use it.
10225 (lisp-indent-defmethod): Support for more than one
10226 method qualifier and properly indent methods lambda-lists.
10227 (defgeneric): Provide a missing common-lisp-indent-function property.
10228
10229 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10232 bounds for the empty string (bug#8667).
10233
10234 2011-05-13 Glenn Morris <rgm@gnu.org>
10235
10236 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10237
10238 * mail/sendmail.el (sendmail-program): Try executable-find first.
10239 (sendmail-send-it): `sendmail-program' cannot be unbound.
10240
10241 * calendar/appt.el (appt-make-list): Simplify.
10242 (appt-time-msg-list): Doc fix.
10243 (appt-check): Change mode-line message at the time of the appointment.
10244
10245 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10246
10247 * progmodes/ld-script.el (ld-script-keywords)
10248 (ld-script-builtins): Update keywords list.
10249
10250 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10253
10254 * shell.el (shell-completion-vars): New function.
10255 (shell-mode):
10256 * simple.el (read-shell-command): Use it.
10257 (blink-matching-open): No need for " [...]" in minibuffer-message.
10258
10259 2011-05-12 Glenn Morris <rgm@gnu.org>
10260
10261 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10262 (appt-check): Simplify.
10263
10264 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10265
10266 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10267 literal "/dev/null".
10268
10269 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10272 Fix typo.
10273
10274 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10275
10276 * progmodes/which-func.el (which-function):
10277 Use add-log-current-defun instead of add-log-current-defun-function,
10278 which might not be defined (Bug#8260).
10279
10280 2011-05-12 Glenn Morris <rgm@gnu.org>
10281
10282 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10283 Let byte-compile-initial-macro-environment always take precedence.
10284
10285 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10286
10287 * net/rcirc.el: Add support for SSL/TLS connections.
10288 (rcirc-server-alist): New field `encryption'.
10289 (rcirc): Check `encryption' settings.
10290 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10291 Merge make-local-variable into `set'.
10292 (rcirc--connection-open-p): New function.
10293 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10294 the process is not a network process (e.g. running gnutls-cli).
10295 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10296 Make rcirc-(en|de)code-coding-system local here.
10297 (rcirc-mode): Merge make-local-variable into `set'.
10298 (rcirc-parent-buffer): Make permanent buffer-local.
10299 (rcirc-multiline-minor-mode): Don't do it here.
10300 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10301 there's no server buffer.
10302
10303 2011-05-11 Glenn Morris <rgm@gnu.org>
10304
10305 * newcomment.el (comment-kill): Prefix "unused" local.
10306
10307 * term/w32console.el (get-screen-color): Declare.
10308
10309 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10310 Handle symbol elements of byte-compile-initial-macro-environment.
10311
10312 2011-05-10 Leo Liu <sdl.web@gmail.com>
10313
10314 * bookmark.el (bookmark-bmenu-mode-map):
10315 Bind bookmark-bmenu-search to `/'.
10316
10317 * mail/footnote.el: Convert to utf-8 encoding.
10318 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10319 (Footnote-unicode): New function.
10320 (footnote-style-alist): Add unicode style to the list.
10321 (footnote-style): Doc fix.
10322
10323 2011-05-10 Jim Meyering <meyering@redhat.com>
10324
10325 Fix doubled-word typos.
10326 * international/quail.el (quail-insert-kbd-layout): and and -> and
10327 * kermit.el: and and -> and
10328 * net/ldap.el (ldap-search-internal): to to -> to
10329 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10330 * progmodes/js.el (js-mode): and and -> and
10331 * textmodes/artist.el (artist-move-to-xy): at at -> at
10332 (artist-draw-region-trim-line-endings): if if -> if
10333 And Safetyc -> Safety.
10334 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10335
10336 2011-05-10 Glenn Morris <rgm@gnu.org>
10337 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * files.el (hack-one-local-variable-eval-safep):
10340 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10341
10342 2011-05-10 Glenn Morris <rgm@gnu.org>
10343
10344 * calendar/diary-lib.el (diary-list-entries-hook)
10345 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10346 (diary-nongregorian-marking-hook, diary-list-entries)
10347 (diary-include-other-diary-files, diary-mark-entries)
10348 (diary-mark-included-diary-files): Doc fixes.
10349
10350 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10351
10352 * misc.el: Require tabulated-list.el during compilation.
10353
10354 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10355
10356 * progmodes/compile.el (compilation-start):
10357 Run compilation-filter-hook for the async case too.
10358 (compilation-filter-hook): Doc fix.
10359
10360 2011-05-09 Deniz Dogan <deniz@dogan.se>
10361
10362 * wdired.el: Remove outdated installation comment. Fix usage
10363 comment.
10364
10365 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10366
10367 * misc.el: Implement new command `list-dynamic-libraries'.
10368 (list-dynamic-libraries--loaded-only-p): New variable.
10369 (list-dynamic-libraries--refresh): New function.
10370 (list-dynamic-libraries): New command.
10371
10372 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10373
10374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10375 Fix the ant regexp to handle end-line and end-column info from jikes.
10376 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10377 higher priority to avoid clobbering by gnu.
10378
10379 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10380
10381 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10382 if the face has existing theme settings (Bug#8454).
10383
10384 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10385
10386 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10387 Only match variables declared via `my' or `our' (Bug#8261).
10388
10389 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10390 special file names `.' and `..' (Bug#8259).
10391
10392 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10393
10394 * progmodes/grep.el (grep-mode-font-lock-keywords):
10395 Remove buffer-changing entries.
10396 (grep-filter): New function.
10397 (grep-mode): Add it to compilation-filter-hook.
10398
10399 * progmodes/compile.el (compilation-filter-hook)
10400 (compilation-filter-start): New defvars.
10401 (compilation-filter): Call compilation-filter-hook prior to
10402 updating the process mark.
10403
10404 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10407
10408 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10409
10410 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10411 mailclient-send-it even if window-system is nil. (Bug#8595)
10412
10413 * term/w32console.el (terminal-init-w32console):
10414 Call get-screen-color and use its output to set the frame
10415 background-mode. (Bug#8597)
10416
10417 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10420 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10421 New functions.
10422 (defgeneric, eieio--defmethod): Use them.
10423 (eieio-defgeneric): Remove.
10424 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10425
10426 2011-05-07 Glenn Morris <rgm@gnu.org>
10427
10428 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10429 Use let rather than let*.
10430 (timeclock-find-discrep): Remove unused local.
10431
10432 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10433
10434 * calendar/appt.el (appt-time-msg-list): Doc fix.
10435
10436 2011-05-06 Noah Friedman <friedman@splode.com>
10437
10438 * apropos.el (apropos-print-doc): Only use
10439 emacs-lisp-docstring-fill-column when it is bound to an integer,
10440 per that variable's documentation.
10441
10442 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10445 and warnings are not silently discarded (e.g. use -d instead of -P).
10446
10447 2011-05-06 Glenn Morris <rgm@gnu.org>
10448
10449 * calendar/appt.el (appt-message-warning-time): Doc fix.
10450 (appt-warning-time-regexp): New option.
10451 (appt-make-list): Respect appt-message-warning-time.
10452
10453 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10454 New options.
10455 (diary-add-to-list): Strip comments from the displayed string.
10456 (diary-mode): Set comment-start and comment-end.
10457
10458 * vc/diff-mode.el (smerge-refine-subst): Declare.
10459 (diff-refine-hunk): Don't require smerge-mode when compiling.
10460
10461 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10462
10463 * simple.el (list-processes): Return nil as the docstring says.
10464
10465 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10466
10467 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10468 to "".
10469 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10470 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10471 determining of binary transfer. (Bug#7383)
10472
10473 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10474
10475 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10476 Fix port computation bug. (Bug#8618)
10477
10478 2011-05-05 Glenn Morris <rgm@gnu.org>
10479
10480 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10481
10482 * simple.el (shell-dynamic-complete-functions)
10483 (comint-dynamic-complete-functions): Declare.
10484
10485 * net/network-stream.el (gnutls-negotiate):
10486 * simple.el (tabulated-list-print): Fix declarations.
10487
10488 * progmodes/gud.el (syntax-symbol, syntax-point):
10489 Remove unnecessary and incorrect declarations.
10490
10491 * emacs-lisp/check-declare.el (check-declare-scan):
10492 Handle byte-compile-initial-macro-environment in bytecomp.el
10493
10494 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 Fix earlier half-done eieio-defmethod change (bug#8338).
10497 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10498 Streamline and change calling convention.
10499 (defmethod): Adjust accordingly and simplify.
10500 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10501 new eieio--defmethod.
10502 (slot-boundp): Minor CSE simplification.
10503
10504 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10505
10506 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10507 (glasses-make-readable): Use glasses-separate-capital-groups.
10508
10509 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10510
10511 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10512 (warning-series): Doc fix.
10513 (display-warning): Don't try to create the buffer if we just found it.
10514
10515 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10516
10517 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10518 (autoload-find-generated-file): New function.
10519 (generate-file-autoloads): Bind generated-autoload-file to
10520 buffer-file-name.
10521 (update-file-autoloads, update-directory-autoloads):
10522 Use autoload-find-generated-file. If called interactively, prompt for
10523 output file (Bug#7989).
10524 (batch-update-autoloads): Doc fix.
10525
10526 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10527
10528 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10529
10530 2011-05-04 Glenn Morris <rgm@gnu.org>
10531
10532 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10533 function, so it follows changes in calendar-date-style.
10534 (diary-fancy-date-matcher): New function.
10535 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10536 (diary-fancy-font-lock-fontify-region-function):
10537 Use diary-fancy-date-pattern as a function.
10538
10539 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10540 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10541
10542 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10543
10544 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10545 instead of positional arguments. Allow :keylist and :crlfiles
10546 arguments.
10547 (open-gnutls-stream): Call it.
10548
10549 * net/network-stream.el (network-stream-open-starttls): Adjust to
10550 call `gnutls-negotiate' with :process and :hostname arguments.
10551
10552 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * minibuffer.el (completion--message): New function.
10555 (completion--do-completion, minibuffer-complete)
10556 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10557 (completion--do-completion): Don't ignore completion-auto-help when in
10558 icomplete-mode.
10559
10560 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10561 internal encoding (e.g. tibetan zero is not whitespace).
10562 (global-whitespace-mode): Prefer save-current-buffer.
10563 (whitespace-trailing-regexp): Remove useless save-match-data.
10564 (whitespace-empty-at-bob-regexp): Minor simplification.
10565
10566 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10567
10568 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10569
10570 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10571
10572 * textmodes/ispell.el (ispell-add-per-file-word-list):
10573 Use `concat' to create string for insertion.
10574
10575 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10578 Avoid open-line which runs post-self-insert-hook.
10579 (bibtex-fill-entry): Remove unused `end' var.
10580
10581 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10582
10583 * textmodes/ispell.el (ispell-add-per-file-word-list):
10584 Protect against `nil' value of `comment-start' (Bug#8579).
10585
10586 2011-05-03 Leo Liu <sdl.web@gmail.com>
10587
10588 * isearch.el (isearch-yank-pop): New command.
10589 (isearch-mode-map): Bind it to `M-y'.
10590 (isearch-forward): Mention it.
10591
10592 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * simple.el (minibuffer-complete-shell-command): Remove.
10595 (minibuffer-local-shell-command-map): Use completion-at-point.
10596 (read-shell-command): Setup completion vars here instead.
10597 (read-expression-map): Bind TAB to symbol completion.
10598
10599 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10600 error directly rather via storing it into `results'.
10601
10602 2011-05-02 Leo Liu <sdl.web@gmail.com>
10603
10604 * vc/diff.el: Fix description.
10605
10606 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10607
10608 * server.el (server-eval-at): New function.
10609
10610 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10611
10612 * net/network-stream.el (open-network-stream): Take a :nowait
10613 parameter and pass it on to `make-network-process'.
10614 (network-stream-open-plain): Ditto.
10615
10616 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10617
10618 * faces.el (face-spec-set-match-display): Don't match toolkit
10619 options on terminal frames.
10620
10621 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10622
10623 * progmodes/pascal.el: Use lexical binding.
10624 (pascal-mode-map): Remove author preferences.
10625
10626 * pcomplete.el (pcomplete-std-complete): Don't abuse
10627 completion-at-point.
10628
10629 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10630
10631 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10632 removing code that has been dead since 1991 or so.
10633
10634 * startup.el (command-line): When warning about "_emacs", use a
10635 delayed warning to allow the user to filter it out.
10636
10637 2011-04-28 Deniz Dogan <deniz@dogan.se>
10638
10639 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10640 user has not joined.
10641
10642 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10645 aren't any completions at point.
10646
10647 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10648
10649 * subr.el (display-delayed-warnings): New function.
10650 (delayed-warnings-hook): New variable.
10651
10652 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * minibuffer.el (completion-at-point, completion-help-at-point):
10655 Don't presume that a given completion-at-point-function will always
10656 use the same calling convention.
10657
10658 * pcomplete.el (pcomplete-completions-at-point):
10659 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10660 pcomplete-seen is non-nil.
10661 (pcomplete-comint-setup): Also recognize the new comint/shell
10662 completion functions.
10663 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10664 pcomplete-seen is non-nil.
10665
10666 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10667
10668 * calendar/icalendar.el (diary-lib): Add require statement.
10669 (icalendar--create-uid): Read out a uid from a text-property on
10670 the first character in the entry. This allows for code to add its
10671 own uid to the entry.
10672 (icalendar--convert-float-to-ical): Add export of
10673 `diary-float'-entries save for those with the optional DAY
10674 argument.
10675
10676 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10677
10678 * subr.el (shell-quote-argument): Use alternate escaping strategy
10679 when we spot a variable reference in a string.
10680
10681 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10682
10683 * cus-start.el (all): Define customization for debug-on-event.
10684
10685 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10686
10687 * subr.el (shell-quote-argument): Escape correctly under Windows.
10688
10689 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10692
10693 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10694
10695 * net/tramp.el (tramp-process-actions): Add POS argument.
10696 Delete region between POS and (pos).
10697
10698 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10699 Use `nil' position in `tramp-process-actions' call.
10700 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10701
10702 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10703 position in `tramp-process-actions' call.
10704
10705 * net/trampver.el: Update release number.
10706
10707 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * custom.el (defcustom): Obey lexical-binding.
10710
10711 Fix octave-inf completion problems reported by Alexander Klimov.
10712 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10713 Inherit from octave-mode-syntax-table.
10714 (inferior-octave-mode): Set info-lookup-mode.
10715 (inferior-octave-completion-at-point): New function.
10716 (inferior-octave-complete): Use it and completion-in-region.
10717 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10718 comint-filename-completion.
10719 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10720 symbol elements which shouldn't be word elements.
10721 (octave-font-lock-keywords, octave-beginning-of-defun)
10722 (octave-function-header-regexp): Adjust regexps accordingly.
10723 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10724
10725 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10726
10727 * net/gnutls.el (gnutls-errorp): Declare before first use.
10728
10729 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10730
10731 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10732 verify-error, and verify-hostname-error parameters. Check whether
10733 default trustfile exists before going to use it. Add missing
10734 argument to gnutls-message-maybe call. Return value.
10735 Reported by Claudio Bley <claudio.bley@gmail.com>.
10736 (open-gnutls-stream): Add usage example.
10737
10738 * net/network-stream.el (network-stream-open-starttls): Give host
10739 parameter to `gnutls-negotiate'.
10740 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10741 * subr.el (shell-quote-argument): Escape correctly under Windows.
10742
10743 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10744
10745 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10746 Use correct match group (bug#8438).
10747
10748 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10749
10750 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10751 (package-menu--generate): New arg specifying packages to show.
10752 (package-menu-refresh, package-menu-execute, list-packages):
10753 Callers changed.
10754 (package-show-package-list): New function, replacing deleted
10755 package--list-packages (renamed because it is non-internal).
10756
10757 * finder.el (finder-list-matches): Use package-show-package-list
10758 instead of deleted package--list-packages.
10759
10760 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10761 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10762 (vc-annotate-mode-map): Bind it to RET.
10763
10764 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10765
10766 * progmodes/etags.el (next-file): Don't use set-buffer to change
10767 buffers (Bug#8478).
10768
10769 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10770
10771 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10772
10773 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10774 (apropos-accumulator): Doc fix.
10775 (apropos-function, apropos-macro, apropos-command)
10776 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10777 (apropos-plist): Add face property.
10778 (apropos-symbols-internal): Fix indentation.
10779 (apropos-print): Simplify help, and recognize apropos-multi-type.
10780 (apropos-print-doc): Use button-type-get to extract the button's
10781 face property. Fill docstring (Bug#8352).
10782
10783 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10784
10785 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10786
10787 * play/mpuz.el (mpuz-silent): Doc fix.
10788 (mpuz-mode-map): Use mapc.
10789 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10790 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10791 Fix typos in docstrings.
10792
10793 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10794 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10795
10796 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10797
10798 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10799
10800 * minibuffer.el (completion--do-completion): Avoid the "Next char
10801 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10802
10803 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10804 mouse-2 into unread-command-events, it is interpreted correctly.
10805
10806 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10807 (image-toggle-display): Doc fix.
10808
10809 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10810
10811 * textmodes/page.el (what-page): Use line-number-at-pos to
10812 calculate line number (Bug#6825).
10813
10814 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10815
10816 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10817 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10818 Pass argument NO-DEFAULT to `find-tag-interactive'.
10819
10820 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10821
10822 Lexical-binding cleanup.
10823
10824 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10825 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10826 * progmodes/ada-prj.el (ada-prj-initialize-values)
10827 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10828 (ada-prj-show-value):
10829 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10830 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10831 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10832 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10833 * progmodes/bug-reference.el (bug-reference-push-button):
10834 * progmodes/fortran.el (fortran-line-length):
10835 * progmodes/glasses.el (glasses-change):
10836 * progmodes/octave-mod.el (octave-fill-paragraph):
10837 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10838 (python-pdbtrack-grub-for-buffer, python-sentinel):
10839 * progmodes/sql.el (sql-save-connection):
10840 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10841 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10842 Mark unused parameters.
10843
10844 * progmodes/compile.el (compilation--flush-directory-cache)
10845 (compilation--flush-parse, compile-internal): Mark unused parameters.
10846 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10847 (compilation-next-error-function): Remove unused variable `timestamp'.
10848
10849 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10850 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10851
10852 * progmodes/dcl-mode.el (dcl-end-of-command):
10853 Remove unused variable `start'.
10854 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10855 (dcl-option-value-basic, dcl-option-value-offset)
10856 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10857 Mark unused parameters.
10858 (dcl-save-local-variable): Remove unused variable `val'.
10859 (mode): Declare.
10860
10861 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10862 Mark unused parameters.
10863 (delphi-ignore-changes): Move before first use.
10864 (delphi-charset-token-at): Remove unused variable `start'.
10865 (delphi-else-start): Remove unused variable `if-count'.
10866 (delphi-comment-block-start, delphi-comment-block-end):
10867 Remove unused variable `kind'.
10868 (delphi-indent-line): Remove unused variable `new-point'.
10869
10870 * progmodes/ebrowse.el (ebrowse-files-list)
10871 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10872 Mark unused parameters. Don't quote `lambda'.
10873 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10874 Don't quote `lambda'.
10875 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10876 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10877 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10878 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10879 Use `ignore-errors'.
10880 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10881 (ebrowse-view/find-file-and-search-pattern)
10882 (ebrowse-view/find-member-declaration/definition):
10883 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10884 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10885 Rename parameter PREFIX-ARG to PREFIX.
10886 (ebrowse-tags-read-name): Remove unused variables `start' and
10887 `member-info'.
10888 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10889 to `tags-file'.
10890
10891 * progmodes/etags.el (local-find-tag-hook): Declare.
10892 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10893 Mark unused parameters.
10894
10895 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10896 (executable-interpret): Mark unused parameter.
10897
10898 * progmodes/flymake.el (flymake-process-sentinel)
10899 (flymake-after-change-function)
10900 (flymake-create-temp-with-folder-structure)
10901 (flymake-get-include-dirs-dot): Mark unused parameters.
10902 (flymake-safe-delete-directory): Remove unused variable `err'.
10903
10904 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10905 (speedbar-timer-fn, speedbar-line-text)
10906 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10907 (speedbar-center-buffer-smartly): Declare functions.
10908 (gdb-find-watch-expression): Remove unused variable `array'.
10909 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10910 (gdb-starting): Mark unused parameters.
10911 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10912 (gdb-table-string): Remove unused variable `res'.
10913 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10914 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10915 (gdb-display-buffer): Remove unused variable `cur-size'.
10916
10917 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10918 allow lexical-binding compilation.
10919 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10920 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10921 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10922 Mark unused parameters.
10923 (gud-gdb-marker-filter): Remove unused variable `match'.
10924 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10925 lambda expressions and funcall them, instead of using `fset'.
10926
10927 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10928 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10929
10930 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10931 variable `header-beg'; use `let'.
10932
10933 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10934 `restart', `last-sexp' and `at-do'.
10935
10936 * progmodes/js.el (js--debug): Mark unused parameter.
10937 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10938 (js--splice-into-items): Remove unused variable `item'.
10939 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10940
10941 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10942 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10943 (makefile-complete): Remove unused variable `try'.
10944 (makefile-fill-paragraph, makefile-match-function-end):
10945 Mark unused parameters.
10946
10947 * progmodes/octave-inf.el (inferior-octave-complete):
10948 Remove unused variable `proc'.
10949 (inferior-octave-output-digest): Mark unused parameter.
10950
10951 * progmodes/perl-mode.el (perl-calculate-indent):
10952 Remove unused variable `err'.
10953
10954 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10955 (prolog-indent-line): Mark unused parameters.
10956 (prolog-indent-line): Remove unused variable `beg'.
10957
10958 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10959 (reporter-dont-compact-list): Declare.
10960
10961 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10962 Remove unused variable `char'.
10963 (sh-debug): Mark unused parameter.
10964 (sh-get-indent-info): Remove unused variable `start'.
10965 (sh-calculate-indent): Remove unused variable `var'.
10966
10967 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10968 (simula-electric-keyword): Remove unused variable `null'.
10969 (simula-search-backward, simula-search-forward): Remove unused
10970 variables `begin' and `end'.
10971
10972 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10973 Remove unused variable `pos'.
10974 (vera-electric-tab, vera-comment-uncomment-region):
10975 Mark unused parameters.
10976 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10977
10978 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10979
10980 * emacs-lisp/package.el (package--builtins, package-alist)
10981 (package-load-descriptor, package-built-in-p, package-activate)
10982 (define-package, package-installed-p)
10983 (package-compute-transaction, package-buffer-info)
10984 (package--push): Doc fix. Distinguish more clearly between
10985 version strings and version lists.
10986
10987 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10988
10989 Lexical-binding cleanup.
10990
10991 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10992 (5x5-make-mutate-best):
10993 * play/fortune.el (fortune-in-buffer):
10994 * play/gomoku.el (gomoku-init-display):
10995 * play/solitaire.el (solitaire, solitaire-do-check):
10996 * play/tetris.el (tetris-default-update-speed-function):
10997 Mark unused parameters.
10998
10999 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11000 (bubbles--shift): Remove unused variable `char-org'.
11001 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11002 (bubbles--show-images): Remove unused variable `char'.
11003
11004 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11005 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11006 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11007 (decipher-analyze-buffer): Use ?\s.
11008 (decipher-make-checkpoint): Remove unused variable `mapping'.
11009
11010 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11011
11012 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11013 Remove unused variable `result'; use `let'.
11014
11015 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11016 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11017 (gametree-children-shown-p, gametree-compute-reduced-score):
11018 Use `ignore-errors'.
11019
11020 * play/handwrite.el (ps-lpr-switches): Declare.
11021 (handwrite): Remove unused variables `pmin' and `lastp'.
11022
11023 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11024
11025 * play/landmark.el (landmark-init-display)
11026 (landmark-update-naught-weights): Mark unused parameters.
11027 (landmark-y): Remove unused variable `noise'. Simplify.
11028 (landmark-human-plays): Remove unused variable `score'.
11029
11030 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11031 (mpuz-try-proposal): Remove unused variable `game'.
11032
11033 * play/zone.el (life-patterns): Declare.
11034
11035 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11036
11037 * vc/vc.el (ediff-vc-internal): Declare function.
11038
11039 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * shell.el: Use lexical-binding and std completion UI.
11042 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11043 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11044 comint-preoutput-filter-functions rather than on
11045 comint-output-filter-functions.
11046 (shell-command-completion, shell--command-completion-data)
11047 (shell-filename-completion, shell-environment-variable-completion)
11048 (shell-c-a-p-replace-by-expanded-directory): New functions.
11049 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11050 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11051 (shell-dynamic-complete-environment-variable): Use them.
11052 (shell-dynamic-complete-as-environment-variable)
11053 (shell-dynamic-complete-as-command): Remove.
11054 (shell-match-partial-variable): Match past point.
11055 * comint.el: Clean up use of completion-at-point-functions.
11056 (comint-completion-at-point): New function.
11057 (comint-mode): Use it completion-at-point-functions.
11058 (comint-dynamic-complete): Make it obsolete.
11059 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11060 (comint-c-a-p-replace-by-expanded-history): New function.
11061 (comint-dynamic-complete-functions)
11062 (comint-replace-by-expanded-history): Use it.
11063 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11064 termination strings. Try harder to avoid second try-completion.
11065 (completion-in-region-mode-map): Disable bindings that don't work yet.
11066
11067 * comint.el: Use lexical-binding. Require CL.
11068 (comint-dynamic-complete-functions): Use comint-filename-completion.
11069 (comint-completion-addsuffix): Tweak custom type.
11070 (comint-filename-completion, comint--common-suffix)
11071 (comint--common-quoted-suffix, comint--table-subvert)
11072 (comint--complete-file-name-data): New functions.
11073 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11074 (comint-dynamic-list-filename-completions): Use them.
11075 (comint-dynamic-simple-complete): Make obsolete.
11076
11077 * minibuffer.el (completion-in-region-mode):
11078 Keep completion-in-region-mode--predicate global.
11079 (completion-in-region--postch):
11080 Assume completion-in-region-mode--predicate is not null.
11081
11082 * progmodes/flymake.el (flymake-start-syntax-check-process):
11083 Obey `dir'. Simplify.
11084
11085 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11086 we're in VC after all.
11087
11088 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11089
11090 * vc/vc.el (vc-diff-build-argument-list-internal)
11091 (vc-version-ediff, vc-ediff): New commands.
11092 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11093
11094 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11095
11096 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11097 add sanity check.
11098
11099 * obsolete/erc-hecomplete.el: Make obsolete.
11100 * obsolete/: Standardize obsolescence info in the header.
11101
11102 2011-04-20 Glenn Morris <rgm@gnu.org>
11103
11104 * calendar/solar.el (solar-horizontal-coordinates):
11105 Use the longitude argument rather than `calendar-longitude'.
11106 (solar-date-next-longitude): Remove unused locals.
11107
11108 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11109
11110 * whitespace.el: New version 13.2.1.
11111
11112 2011-04-20 felix <EmacsWiki> (tiny change)
11113
11114 * whitespace.el (global-whitespace-mode): Keep highlight when
11115 switching between major modes on a file.
11116
11117 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11120 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11121 multi-line comments as well.
11122
11123 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11124
11125 Lexical-binding cleanup.
11126
11127 * arc-mode.el (archive-mode-revert):
11128 * cmuscheme.el (scheme-interactively-start-process):
11129 * custom.el (custom-initialize-delay):
11130 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11131 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11132 * emacs-lock.el (emacs-lock-clear-sentinel):
11133 * ezimage.el (defezimage):
11134 * follow.el (follow-avoid-tail-recenter):
11135 * fringe.el (set-fringe-mode-1):
11136 * generic-x.el (bat-generic-mode-compile):
11137 * help-mode.el (help-info-variable, help-do-xref)
11138 (help-mode-revert-buffer):
11139 * help.el (view-emacs-todo):
11140 * iswitchb.el (iswitchb-completion-help):
11141 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11142 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11143 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11144 * locate.el (locate-update):
11145 * longlines.el (longlines-encode-region)
11146 (longlines-after-change-function):
11147 * outline.el (outline-isearch-open-invisible):
11148 * ps-def.el (declare-function, charset-dimension, char-width)
11149 (encode-char):
11150 * ps-mule.el (ps-mule-plot-string):
11151 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11152 (recentf-edit-list-select, recentf-edit-list-validate)
11153 (recentf-open-files-action):
11154 * rect.el (delete-whitespace-rectangle-line)
11155 (rectangle-number-line-callback):
11156 * register.el (window-configuration-to-register)
11157 (frame-configuration-to-register):
11158 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11159 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11160 (xselect-convert-to-targets, xselect-convert-to-delete)
11161 (xselect-convert-to-filename, xselect-convert-to-charpos)
11162 (xselect-convert-to-lineno, xselect-convert-to-colno)
11163 (xselect-convert-to-os, xselect-convert-to-host)
11164 (xselect-convert-to-user, xselect-convert-to-class)
11165 (xselect-convert-to-name, xselect-convert-to-integer)
11166 (xselect-convert-to-atom, xselect-convert-to-identity):
11167 * subr.el (declare, ignore, process-kill-without-query)
11168 (text-clone-maintain):
11169 * terminal.el (te-get-char, te-tic-sentinel):
11170 * tool-bar.el (tool-bar-make-keymap):
11171 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11172 * type-break.el (type-break-mode, type-break-noninteractive-query):
11173 * view.el (View-back-to-mark):
11174 * wid-browse.el (widget-browse-action, widget-browse-widget)
11175 (widget-browse-widgets, widget-browse-sexp):
11176 * widget.el (define-widget-keywords):
11177 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11178 Mark unused parameters.
11179
11180 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11181 (align-areas): Remove unused variable `look'.
11182 (align-region): Remove unused variables `real-end' and `pos-list'.
11183
11184 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11185
11186 * bindings.el (mode-line-modified, mode-line-remote):
11187 Mark unused parameters.
11188 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11189
11190 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11191 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11192
11193 * comint.el (comint-history-isearch-pop-state)
11194 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11195 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11196 (comint-substitute-in-file-name): Doc fix.
11197
11198 * completion.el (cmpl-statistics-block): Mark unused parameter.
11199 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11200 (save-completions-to-file, load-completions-from-file):
11201 Remove unused local variable `e'.
11202
11203 * composite.el (compose-chars): Remove unused variable `len'.
11204 (lgstring-insert-glyph): Remove unused variable `g'.
11205 (compose-glyph-string): Remove unused variables `ascent',
11206 `descent', `lbearing' and `rbearing'.
11207 (compose-glyph-string-relative): Remove unused variables
11208 `lbearing', `rbearing' and `wadjust'.
11209 (compose-gstring-for-graphic): Remove unused variables `header',
11210 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11211 (compose-gstring-for-terminal): Remove unused variables `header'
11212 and `nchars'. Use `let', not `let*'.
11213
11214 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11215 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11216 (Custom-buffer-done, custom-buffer-create-internal)
11217 (custom-browse-visibility-action, custom-browse-group-tag-action)
11218 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11219 (widget-magic-mouse-down-action, custom-toggle-parent)
11220 (custom-add-parent-links, custom-toggle-hide-variable)
11221 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11222 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11223 (custom-face-menu-create, custom-variable-menu-create, get)
11224 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11225 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11226 (customize-apropos): Remove unused variable `tests'.
11227 (custom-group-value-create): Remove unused variable `hidden-p'.
11228 (sort-fold-case): Declare.
11229
11230 * cus-theme.el (custom-reset-standard-faces-list)
11231 (custom-reset-standard-variables-list): Declare.
11232 (customize-create-theme, custom-theme-revert, custom-theme-write)
11233 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11234 Mark unused parameters.
11235
11236 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11237
11238 * delim-col.el (delimit-columns-max): Move defvar before first use.
11239
11240 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11241 (describe-char): Don't quote `lambda'. Mark unused parameter.
11242
11243 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11244 (auto-insert): Declare.
11245 (desktop-restore-file-buffer): Rename desktop-* parameters;
11246 mark unused ones.
11247 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11248 (desktop-buffer): Rename desktop-* parameters.
11249
11250 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11251 (dframe-reposition-frame-xemacs, dframe-help-echo)
11252 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11253 Mark unused parameters.
11254
11255 * dired-aux.el (backup-extract-version-start, overwrite-query)
11256 (overwrite-backup-query, rename-regexp-query)
11257 (rename-non-directory-query): Declare.
11258 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11259 (dired-add-entry): Remove unused variable `orig-file-name'.
11260 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11261 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11262 `dired-copy-preserve-time' directly.
11263 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11264 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11265
11266 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11267 (dired-virtual-revert, dired-make-relative-symlink):
11268 Mark unused parameters.
11269 (manual-program): Declare.
11270 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11271 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11272 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11273
11274 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11275
11276 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11277
11278 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11279 Declare.
11280
11281 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11282
11283 * electric.el (Electric-command-loop): Rename parameter
11284 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11285
11286 * expand.el (expand-in-literal): Remove unused variable `here'.
11287
11288 * facemenu.el (facemenu-add-new-color):
11289 Remove unused variable `docstring'.
11290
11291 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11292 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11293 (face-attr-construct): Mark unused parameter. Doc fix.
11294 (read-color): Remove unused variable `hex-string'.
11295
11296 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11297 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11298 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11299 (display-buffer-other-frame): Remove unused variable `old-window'.
11300 (kill-buffer-hook): Declare.
11301 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11302 Mark unused parameters.
11303 (after-find-file): Pass 1 to `auto-save-mode', not t.
11304
11305 * files-x.el (auto-insert): Declare.
11306 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11307
11308 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11309 variable `buf'. Mark unused parameter.
11310 (find-lisp-insert-directory): Mark unused parameter.
11311
11312 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11313 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11314 (format-common-tail): Remove, unused.
11315 (format-deannotate-region): Remove unused variable `loc'.
11316 (format-annotate-region): Remove unused variable `p'.
11317 (format-annotate-single-property-change): Remove unused variables
11318 `default' and `tail'.
11319
11320 * forms.el (read-file-filter): Declare.
11321 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11322
11323 * frame.el (frame-creation-function-alist): Mark unused parameter.
11324 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11325
11326 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11327 Remove unused parameters.
11328 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11329 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11330
11331 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11332 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11333 (hfy-prepare-tag-map): Mark unused parameters.
11334 (htmlfontify-buffer): Use `called-interactively-p'.
11335
11336 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11337 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11338 (ibuffer-do-occur): Mark unused parameters.
11339 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11340 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11341
11342 * ibuffer.el: Don't quote `lambda'.
11343 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11344 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11345 Mark unused parameters.
11346
11347 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11348 (ido-completing-read): Mark unused parameters.
11349 (ido-copy-current-word): Mark unused parameters;
11350 remove unused variable `name'.
11351 (ido-sort-merged-list): Remove unused parameter `dirs'.
11352
11353 * ielm.el (ielm-input-sender): Mark unused parameter.
11354 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11355 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11356 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11357 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11358 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11359
11360 * image-dired.el (image-dired-display-thumbs): Remove unused
11361 variables `curr-file' and `count'.
11362 (image-dired-remove-tag): Remove unused variable `start'.
11363 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11364 variable `curr-file'
11365 (image-dired-rotate-original): Remove unused variable `temp-file'.
11366 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11367 Remove unused variable `file'.
11368 (image-dired-gallery-generate): Remove unused variable `curr'.
11369 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11370
11371 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11372
11373 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11374
11375 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11376
11377 * isearch.el (minibuffer-history-symbol): Declare.
11378 (isearch-edit-string): Remove unused variable `err'.
11379 (isearch-message-prefix, isearch-message-suffix):
11380 Mark unused parameters.
11381
11382 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11383
11384 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11385
11386 * makesum.el (double-column): Remove unused variable `cnt'.
11387
11388 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11389 (ido-ignore-item-temp-list): Declare.
11390
11391 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11392 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11393 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11394 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11395 `mouse-col-delta'.
11396
11397 * mouse-sel.el (mouse-extend-internal):
11398 Remove unused variable `orig-window-frame'.
11399
11400 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11401 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11402 Move declarations before first use.
11403 (pcomplete-opt): Mark unused parameters; doc fix.
11404
11405 * proced.el (proced-revert): Mark unused parameter.
11406 (proced-send-signal): Remove unused variable `err'.
11407
11408 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11409 Rename parameter PREFIX-ARG to ARG.
11410 (ps-basic-plot-string, ps-basic-plot-whitespace):
11411 Mark unused parameters.
11412
11413 * replace.el (replace-count): Define.
11414 (occur-revert-function): Mark unused parameters.
11415 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11416 (isearch-case-fold-search, isearch-string): Declare.
11417 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11418 bind `case-fold-search'. Remove unused variables `beg' and `end',
11419 and simplify.
11420 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11421 COUNT and bind `replace-count'.
11422 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11423 to COUNT.
11424
11425 * savehist.el (print-readably, print-string-length): Declare.
11426
11427 * shadowfile.el (shadow-expand-cluster-in-file-name):
11428 Remove unused variable `cluster'.
11429 (shadow-copy-file): Remove unused variable `i'.
11430 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11431 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11432 (shadow-define-literal-group, shadow-define-regexp-group)
11433 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11434
11435 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11436 (shell): Use `called-interactively-p'.
11437 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11438
11439 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11440 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11441 (delete-backward-char): Remove unused variable `ocol'.
11442 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11443 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11444 (event-apply-hyper-modifier, event-apply-shift-modifier)
11445 (event-apply-control-modifier, event-apply-meta-modifier):
11446 Mark unused parameters.
11447 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11448 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11449
11450 * speedbar.el (speedbar-ignored-directory-expressions)
11451 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11452 (speedbar-find-file, speedbar-dir-follow)
11453 (speedbar-directory-buttons-follow, speedbar-tag-find)
11454 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11455 (speedbar-buffers-line-directory, speedbar-buffer-click):
11456 Mark unused parameters.
11457 (speedbar-tag-file): Remove unused variable `mode'.
11458 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11459
11460 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11461
11462 * talk.el (talk): Remove unused variable `display'.
11463
11464 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11465 (tar-write-region-annotate): Mark unused parameter.
11466
11467 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11468 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11469 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11470 warning by another.
11471
11472 * time-stamp.el (time-stamp-string-preprocess):
11473 Remove unused variable `require-padding'.
11474
11475 * tree-widget.el (widget-glyph-enable): Declare.
11476 (tree-widget-action): Mark unused parameter.
11477
11478 * w32-fns.el (x-get-selection): Mark unused parameter.
11479 (autoload-make-program, generated-autoload-file): Declare.
11480
11481 * wdired.el (wdired-revert): Mark unused parameters.
11482 (wdired-xcase-word): Remove unused variable `err'.
11483
11484 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11485 (whitespace-help-scroll): Remove unused variable `data-help'.
11486
11487 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11488 (widget-image-insert, widget-after-change, default)
11489 (widget-default-format-handler, widget-default-notify)
11490 (widget-default-prompt-value, widget-info-link-action)
11491 (widget-url-link-action, widget-function-link-action)
11492 (widget-variable-link-action, widget-file-link-action)
11493 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11494 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11495 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11496 (widget-insert-button-action, widget-delete-button-action, visibility)
11497 (widget-documentation-link-action, widget-documentation-string-action)
11498 (widget-const-prompt-value, widget-regexp-match, symbol)
11499 (widget-coding-system-prompt-value)
11500 (widget-key-sequence-value-to-external, sexp)
11501 (widget-sexp-value-to-internal, character, vector, cons)
11502 (widget-choice-prompt-value, widget-boolean-prompt-value)
11503 (widget-color--choose-action): Mark unused parameters.
11504 (widget-item-match-inline, widget-choice-match-inline)
11505 (widget-checklist-match, widget-checklist-match-inline)
11506 (widget-group-match): Rename parameter VALUES to VALS.
11507 (widget-field-value-set): Remove unused variable `size'.
11508 (widget-color-action): Remove unused variables `value' and `start'.
11509
11510 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11511 variable `dir'. Doc fix.
11512 (windmove-find-other-window): Don't pass it.
11513
11514 * window.el (count-windows): Mark unused parameter.
11515 (bw-adjust-window): Remove unused variable `err'.
11516
11517 * woman.el (woman-file-name): Remove unused variable `default'.
11518 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11519 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11520 (global-font-lock-mode): Declare.
11521 (woman-decode-region): Mark unused parameter.
11522 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11523
11524 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11525 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11526 (x-dnd-handle-moz-url): Remove unused variable `title'.
11527 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11528
11529 * xml.el (xml-parse-tag, xml-parse-attlist):
11530 Remove unused variable `pos'.
11531
11532 2011-04-19 Glenn Morris <rgm@gnu.org>
11533
11534 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11535 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11536 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11537 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11538 * calendar/cal-html.el (cal-html-insert-minical):
11539 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11540 (calendar-mark-date-pattern):
11541 Prefix "unused" locals.
11542
11543 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11544 optional argument `style'.
11545
11546 * calendar/appt.el (appt-make-list):
11547 * calendar/cal-china.el (calendar-chinese-date-string):
11548 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11549 (diary-hebrew-yahrzeit):
11550 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11551 * calendar/calendar.el (calendar-generate-window):
11552 * calendar/time-date.el (time-to-days):
11553 Remove unused local variables.
11554
11555 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11556
11557 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11558 glyphless-char-display table.
11559 (tabulated-list-glyphless-char-display): New var.
11560
11561 2011-04-18 Sam Steingold <sds@gnu.org>
11562
11563 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11564 to acknowledgments.
11565
11566 2011-04-17 Glenn Morris <rgm@gnu.org>
11567
11568 * calendar/diary-lib.el (diary-sexp-entry):
11569 * calendar/holidays.el (holiday-sexp):
11570 Set debug-on-error rather than the removed stack-trace-on-error.
11571
11572 2011-04-16 Glenn Morris <rgm@gnu.org>
11573
11574 * progmodes/f90.el: Use lexical-binding.
11575 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11576
11577 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11580 (mail-mode): Setup mailalias completion here instead.
11581 * mail/mailalias.el: Use lexical-binding.
11582 (pattern, mailalias-done): Declare dynamic.
11583 (mail-completion-at-point-function): New function, from mail-complete.
11584 (mail-complete): Use it.
11585 (mail-completion-expand): New function.
11586 (mail-get-names): Use it.
11587 (mail-directory, mail-directory-process, mail-directory-stream):
11588 Don't use `pattern' for lexically bound arg.
11589
11590 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11591
11592 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11593 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11594 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11595
11596 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11597 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11598 (byte-interactive-p): Define them again, for use when inlining
11599 old code.
11600
11601 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11602
11603 * loadup.el: Use `string-to-number', not `string-to-int'.
11604
11605 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11606
11607 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11608 gud-gdb-complete-command.
11609 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11610 (gud-gdb-completion-at-point): New function.
11611 (gud-gdb-completions): Remove.
11612
11613 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11614
11615 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11616 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11617 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11618 whether `executable-find' is bound.
11619
11620 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11621
11622 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * minibuffer.el (completion-in-region-mode-predicate)
11625 (completion-in-region-mode--predicate): New vars.
11626 (completion-in-region, completion-in-region--postch)
11627 (completion-in-region-mode): Use them.
11628 (completion--capf-wrapper): Also return the hook function.
11629 (completion-at-point, completion-help-at-point):
11630 Adjust and provide a predicate.
11631
11632 Preserve arg names for advice of subr and lexical functions (bug#8457).
11633 * help-fns.el (help-function-arglist): Consolidate the subr and
11634 new-byte-code cases. Add argument `preserve-names' to extract names
11635 from the docstring when needed.
11636 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11637 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11638 (ad-arglist): Use help-function-arglist's new arg.
11639 (ad-definition-type): Use cond.
11640
11641 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11642
11643 * autorevert.el (auto-revert-handler):
11644 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11645 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11646 Don't quote lambda.
11647
11648 * image-mode.el (image-transform-set-scale):
11649 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11650
11651 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11652
11653 * net/network-stream.el (network-stream-open-starttls): Only do
11654 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11655 Upgrades via gnutls-cli are too slow to be done opportunistically.
11656
11657 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11658
11659 * dframe.el (dframe-current-frame): Remove spurious quote.
11660
11661 2011-04-12 Glenn Morris <rgm@gnu.org>
11662
11663 * calendar/cal-tex.el (cal-tex-end-document):
11664 Try to automatically use latin1 input if needed.
11665
11666 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11667 Don't try to cons a mark onto an empty element.
11668
11669 2011-04-11 Leo Liu <sdl.web@gmail.com>
11670
11671 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11672 buffers.
11673 (ido-kill-buffer-at-head): Support killing virtual buffers.
11674
11675 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11676
11677 * minibuffer.el (completion-show-inline-help): New var.
11678 (completion--do-completion, minibuffer-complete)
11679 (minibuffer-force-complete, minibuffer-complete-word):
11680 Inhibit minibuffer messages if completion-show-inline-help is nil.
11681
11682 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11683 to avoid interference from inline help (Bug#5849).
11684
11685 2011-04-10 Leo Liu <sdl.web@gmail.com>
11686
11687 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11688 Fix typo.
11689
11690 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11691
11692 * image-mode.el (image-toggle-display-image): Signal an error if
11693 not in Image mode.
11694 (image-transform-mode, image-transform-resize)
11695 (image-transform-set-rotation): Doc fix.
11696 (image-transform-set-resize): Delete.
11697 (image-transform-set-scale, image-transform-fit-to-height)
11698 (image-transform-fit-to-width): Handle image-toggle-display-image
11699 and image-transform-resize directly.
11700
11701 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11702
11703 * doc-view.el (doc-view-fit-width-to-window)
11704 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11705 New functions for fitting the shown image to the Emacs window size.
11706 (doc-view-mode-map): Add bindings for the new functions.
11707
11708 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11711 Fix typo in docstring.
11712
11713 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11714
11715 * files.el (file-size-human-readable): Produce one digit after
11716 decimal, like "ls -lh" does.
11717
11718 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11719 the file size representation.
11720
11721 * simple.el (list-processes): If async subprocesses are not
11722 available, error out with a clear error message.
11723
11724 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11725
11726 * help.el (help-form-show): New function, to be called from C.
11727 Put help-form output in a buffer named differently than *Help*.
11728
11729 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11730
11731 * files.el (file-size-human-readable): New function.
11732
11733 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11734 computing the representation inline. Don't require `cl'.
11735
11736 2011-04-08 Glenn Morris <rgm@gnu.org>
11737
11738 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11739
11740 * net/browse-url.el (browse-url-firefox):
11741 Test system-type, not system-configuration.
11742
11743 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11744 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11745 Use log-edit-empty-buffer-p. (Bug#7598)
11746
11747 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11748 (rlogin-mode-map): Initialize in the defvar.
11749 (rlogin): Use ignore-errors.
11750
11751 * replace.el (occur-mode-map): Some fixes for menu items.
11752
11753 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11754
11755 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11756
11757 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11758
11759 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11760 issuing unused warnings.
11761
11762 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11763 macro directly.
11764
11765 * simple.el: Lisp reimplement of list-processes. Based on an
11766 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11767 (process-menu-mode): New major mode.
11768 (list-processes--refresh, list-processes):
11769 (process-menu-visit-buffer): New functions.
11770
11771 * files.el (save-buffers-kill-emacs): Don't assume any return
11772 value of list-processes, which is undocumented anyway.
11773
11774 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11775
11776 * emacs-lisp/tabulated-list.el: New file.
11777
11778 * emacs-lisp/package.el: Use Tabulated List mode.
11779 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11780 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11781 table format using Tabulated List mode variables.
11782 (package--push): New macro, replacing package-list-maybe-add.
11783 (package-menu--generate): Use package--push. Renamed from
11784 package--generate-package-list.
11785 (package-menu-refresh, list-packages): Use it.
11786 (package-menu--print-info): Rename from package-print-package.
11787 Return insertion data instead of inserting it directly.
11788 (package-menu-describe-package, package-menu-execute):
11789 Use tabulated-list-get-id.
11790 (package-menu-mark-delete, package-menu-mark-install)
11791 (package-menu-mark-unmark, package-menu-backup-unmark)
11792 (package-menu-mark-obsolete-for-deletion):
11793 Use tabulated-list-put-tag.
11794 (package--list-packages, package-menu-revert)
11795 (package-menu-get-package, package-menu-get-version)
11796 (package-menu-sort-by-column): Functions deleted.
11797 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11798 (package-menu--status-predicate, package-menu--version-predicate)
11799 (package-menu--name-predicate)
11800 (package-menu--description-predicate): Handle arguments in the
11801 Tabulated List format.
11802 (package-list-packages-no-fetch): Call list-packages.
11803
11804 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11805
11806 * files.el (after-find-file-from-revert-buffer): Remove variable.
11807 (after-find-file): Don't bind it.
11808 (revert-buffer-in-progress-p): New variable.
11809 (revert-buffer): Bind it.
11810 Pass nil for `after-find-file-from-revert-buffer'.
11811
11812 * saveplace.el (save-place-find-file-hook): Use new variable
11813 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11814
11815 2011-04-06 Glenn Morris <rgm@gnu.org>
11816
11817 * Makefile.in (AUTOGEN_VCS): New variable.
11818 (autoloads): Use $AUTOGEN_VCS.
11819
11820 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11821 * calendar/calendar.el (calendar-mode-map):
11822 Check for toolkit scroll bars. (Bug#8305)
11823
11824 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11825
11826 * minibuffer.el (completion-in-region--postch)
11827 (completion-in-region-mode): Remove unnecessary messages.
11828
11829 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11830
11831 * font-lock.el (font-lock-refresh-defaults):
11832 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11833 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11834
11835 * info.el (Info-directory-list, Info-read-node-name-2)
11836 (Info-split-parameter-string): Doc fixes.
11837 (Info-virtual-nodes): Reflow docstring.
11838 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11839 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11840 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11841 Fix typos in docstrings.
11842 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11843 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11844 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11845 (Info-restore-desktop-buffer): Mark unused parameters.
11846 (Info-directory-find-file, Info-directory-find-node)
11847 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11848 (Info-virtual-index-find-node, Info-apropos-find-file)
11849 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11850 Mark unused parameters; fix typos in docstrings.
11851 (Info-virtual-index): Remove unused local variable `nodename'.
11852
11853 2011-04-05 Deniz Dogan <deniz@dogan.se>
11854
11855 * net/rcirc.el: Update my e-mail address.
11856 (rcirc-mode-map): Remove M-o binding.
11857
11858 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11859
11860 * startup.el (command-line): Save the cursor's theme-face
11861 directly, instead of using face-override-spec.
11862
11863 * custom.el (load-theme): Minor optimization in assigning faces.
11864
11865 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11866
11867 * help-fns.el (describe-variable): Complete all variables having
11868 documentation, including keywords.
11869 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11870
11871 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11872
11873 Convert to lexical-binding.
11874
11875 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11876 (bs--get-marked-string, bs--get-modified-string)
11877 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11878 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11879 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11880
11881 * ehelp.el (electric-help-execute-extended)
11882 (electric-help-ctrl-x-prefix):
11883 * hexl.el (hexl-revert-buffer-function):
11884 * linum.el (linum-after-change, linum-after-scroll):
11885 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11886
11887 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11888
11889 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11890
11891 * epa-dired.el:
11892 * epa-mail.el:
11893 * epa-hook.el:
11894 * epa-file.el:
11895 * epa.el:
11896 * epg.el: Use lexical binding.
11897
11898 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11899
11900 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11901
11902 * textmodes/flyspell.el (flyspell-word): Recognize default
11903 dictionary case for flyspell-mark-duplications-exceptions.
11904 Use regexp matching for languages.
11905 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11906 default dictionary (Bug#7926).
11907
11908 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11909
11910 * emacs-lisp/package.el (package--with-work-buffer):
11911 Recognize https URLs.
11912
11913 * net/network-stream.el: Move from gnus/proto-stream.el.
11914 Change prefix to network-stream throughout.
11915 (open-protocol-stream): Merge into open-network-stream, leaving
11916 open-protocol-stream as an alias. Handle nil BUFFER args.
11917
11918 * subr.el (open-network-stream): Move to net/network-stream.el.
11919
11920 2011-04-02 Glenn Morris <rgm@gnu.org>
11921
11922 * find-dired.el (find-exec-terminator): New option.
11923 (find-ls-option): Test for -ls support.
11924 (find-ls-subdir-switches): Test for -b in find-ls-option.
11925 (find-dired, find-grep-dired): Doc fixes.
11926 (find-dired): Use find-exec-terminator.
11927
11928 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11929 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11930 (find-name-arg): Remove purecopy.
11931
11932 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11933 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11934 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11935 accordingly. Don't add the null-device if not needed.
11936
11937 * files.el (save-some-buffers): Doc fix.
11938
11939 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11940
11941 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11942
11943 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11944
11945 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11946 Use `dolist' rather than `mapcar'.
11947
11948 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 Add lexical binding.
11951
11952 * subr.el (apply-partially): Use new closures rather than CL.
11953 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11954 (dolist, dotimes): Use slightly different expansion for lexical code.
11955 (functionp): Move to C.
11956 (letrec): New macro.
11957 (with-wrapper-hook): Use it and apply-partially instead of CL.
11958 (eval-after-load): Preserve lexical-binding.
11959 (save-window-excursion, with-output-to-temp-buffer): Turn them
11960 into macros.
11961
11962 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11963
11964 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11965 than the arglist.
11966 (help-add-fundoc-usage): Don't add `Not documented'.
11967 (help-function-arglist): Handle closures, subroutines, and new
11968 byte-code-functions.
11969 (help-make-usage): Remove leading underscores.
11970 (describe-function-1): Handle closures.
11971 (describe-variable): Use special-variable-p for completion.
11972
11973 * files.el (lexical-binding): Declare safe.
11974
11975 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11976 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11977 (pcase): Add `let' pattern.
11978 Change memoization so it actually works.
11979 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11980 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11981 <let>: New case.
11982
11983 * emacs-lisp/macroexp.el: Use lexical binding.
11984 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11985 Don't convert ' to #' without checking that it's indeed quoting
11986 a lambda.
11987
11988 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11989 Use eval-sexp-add-defvars.
11990 (eval-sexp-add-defvars): New fun.
11991
11992 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11993
11994 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11995 Don't autoload.
11996 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11997 than the internal `byte-compile-lambda'.
11998 (defmethod): Don't hide code under quotes.
11999 (eieio-defmethod): New `code' argument.
12000
12001 * emacs-lisp/eieio-comp.el: Remove.
12002
12003 * emacs-lisp/edebug.el (edebug-eval-defun)
12004 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12005 (edebug-toggle): Avoid `eval'.
12006
12007 * emacs-lisp/disass.el (disassemble-internal): Handle new
12008 `closure' objects.
12009 (disassemble-1): Handle new byte codes.
12010
12011 * emacs-lisp/cl.el (pushnew): Silence warning.
12012
12013 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12014 (cl-byte-compile-throw): Remove.
12015 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12016
12017 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12018 closures.
12019
12020 * emacs-lisp/cconv.el: New file.
12021
12022 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12023 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12024 (byte-compile-initial-macro-environment):
12025 Handle declare-function here.
12026 (byte-compile--lexical-environment): New var.
12027 (byte-stack-ref, byte-stack-set, byte-discardN)
12028 (byte-discardN-preserve-tos): New lap codes.
12029 (byte-interactive-p): Don't use any more.
12030 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12031 New macros.
12032 (byte-compile-lapcode): Use them and handle new lap codes.
12033 (byte-compile-obsolete): Remove.
12034 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12035 (byte-compile-arglist-warn): Check late def of inlinable funs.
12036 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12037 since they should have been expanded by now.
12038 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12039 (byte-compile-from-buffer): Remove unused second arg.
12040 (byte-compile-preprocess): New function.
12041 (byte-compile-toplevel-file-form): New function to distinguish
12042 file-form calls from outside from file-form calls from hunk-handlers.
12043 (byte-compile-file-form): Simplify.
12044 (byte-compile-file-form-defsubst): Remove.
12045 (byte-compile-file-form-defmumble): Simplify now that
12046 byte-compile-lambda always returns a byte-code-function.
12047 (byte-compile): Preprocess.
12048 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12049 Remove, not used any more.
12050 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12051 (byte-compile-make-args-desc): New funs.
12052 (byte-compile-lambda): Handle lexical functions. Always return
12053 a byte-code-function.
12054 (byte-compile-reserved-constants): New var, to make up room for
12055 closed-over variables.
12056 (byte-compile-constants-vector): Obey it.
12057 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12058 (byte-compile-macroexpand-declare-function): New function.
12059 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12060 byte-code-functions.
12061 (byte-compile-form): Check obsolescence here.
12062 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12063 (byte-compile-variable-ref): Remove.
12064 (byte-compile-dynamic-variable-op): New fun.
12065 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12066 (byte-compile-variable-set): New funs.
12067 (byte-compile-discard): Add 2 args.
12068 (byte-compile-stack-ref, byte-compile-stack-set)
12069 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12070 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12071 macroexpand-all instead.
12072 (byte-compile-quote-form): Remove.
12073 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12074 (byte-compile-bind, byte-compile-unbind): New funs.
12075 (byte-compile-let): Handle let* and lexical binding.
12076 (byte-compile-let*): Remove.
12077 (byte-compile-catch, byte-compile-unwind-protect)
12078 (byte-compile-track-mouse, byte-compile-condition-case):
12079 Handle a new :fun-body form, used for lexical scoping.
12080 (byte-compile-save-window-excursion)
12081 (byte-compile-with-output-to-temp-buffer): Remove.
12082 (byte-compile-defun): Simplify.
12083 (byte-compile-stack-adjustment): New fun.
12084 (byte-compile-out): Use it.
12085 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12086
12087 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12088 handler any more.
12089
12090 * emacs-lisp/byte-opt.el: Use lexical binding.
12091 (byte-inline-lapcode): Remove (to bytecomp).
12092 (byte-compile-inline-expand): Pay attention to inlining to/from
12093 lexically bound code.
12094 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12095 any more.
12096 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12097 any more and don't call compiler-macros.
12098 (byte-compile-splice-in-already-compiled-code): Remove.
12099 (byte-code): Don't inline any more.
12100 (disassemble-offset): Receive `bytes' as argument rather than via
12101 dynamic scoping.
12102 (byte-compile-tag-number): Declare before first use.
12103 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12104 `return' even if make-spliceable.
12105 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12106 obsolete interactive-p.
12107 (byte-optimize-lapcode): Optimize new lap-codes.
12108 Don't trip up on new form of `byte-constant' lap code.
12109
12110 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12111
12112 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12113
12114 * custom.el (custom-initialize-default, custom-declare-variable):
12115 Use `defvar'.
12116
12117 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12118 New variables.
12119 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12120 (COMPILE_FIRST): Add macroexp and cconv.
12121 * makefile.w32-in: Mirror changes in Makefile.in.
12122
12123 * vc/cvs-status.el:
12124 * vc/diff-mode.el:
12125 * vc/log-edit.el:
12126 * vc/log-view.el:
12127 * vc/smerge-mode.el:
12128 * textmodes/bibtex-style.el:
12129 * textmodes/css.el:
12130 * startup.el:
12131 * uniquify.el:
12132 * minibuffer.el:
12133 * newcomment.el:
12134 * reveal.el:
12135 * server.el:
12136 * mpc.el:
12137 * emacs-lisp/smie.el:
12138 * doc-view.el:
12139 * dired.el:
12140 * abbrev.el: Use lexical binding.
12141
12142 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12143
12144 * info.el (info-display-manual): New function.
12145
12146 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12149
12150 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12151
12152 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12153 an entry for that server in rcirc-authinfo. (Bug#8385)
12154
12155 2011-03-31 Glenn Morris <rgm@gnu.org>
12156
12157 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12158
12159 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12160
12161 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12162
12163 * progmodes/python.el (python-default-interpreter)
12164 (python-python-command-args, python-jython-command-args)
12165 (python-which-shell, python-which-args, python-which-bufname)
12166 (python-file-queue, python-comint-output-filter-function)
12167 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12168 variables and functions.
12169
12170 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12173 (completion-in-region-mode): New minor mode.
12174 (completion-in-region): Use it.
12175 (completion-in-region--data, completion-in-region-mode-map): New vars.
12176 (completion-in-region--postch): New function.
12177 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12178 New vars.
12179 (completion--capf-wrapper): New function.
12180 (completion-at-point): Use it to track well-behavedness of
12181 hook functions.
12182 (completion-help-at-point): New command.
12183
12184 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12185
12186 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12187 syntax class to search for whitespace on a single line
12188 (Message-ID: <4D938140.4030905@redhat.com>).
12189
12190 2011-03-30 Leo Liu <sdl.web@gmail.com>
12191
12192 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12193 New commands.
12194 (edit-abbrevs-map): Bind them here.
12195 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12196
12197 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12198
12199 * allout.el (allout-hide-by-annotation, allout-flag-region):
12200 Reduce possibility of overlay leakage by making them volatile.
12201
12202 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12203 hash is not shared between buffers. Mode initialization is
12204 responsible for giving it a useful starting value.
12205 (allout-item-span): Reduce possibility of overlay leakage by
12206 making them volatile.
12207 (allout-widgets-count-buttons-in-region): Add diagnostic function
12208 for tracking down button overlay leaks.
12209
12210 2011-03-29 Leo Liu <sdl.web@gmail.com>
12211
12212 * ido.el (ido-read-internal): Use the default history var
12213 minibuffer-history if no HISTORY is specified.
12214
12215 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12216
12217 * net/imap.el (imap-shell-open, imap-process-connection-type):
12218 Use imap-process-connection-type for 'shell' streams as well as
12219 Kerberos, SSL, other subprocesses.
12220
12221 2011-03-28 Leo Liu <sdl.web@gmail.com>
12222
12223 * abbrev.el (abbrev-table-empty-p): New function.
12224 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12225 nonempty ones. (Bug#5937)
12226
12227 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12228
12229 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12230
12231 2011-03-27 Leo Liu <sdl.web@gmail.com>
12232
12233 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12234 for foreground and background colors.
12235 (ansi-color-make-color-map): Adapt.
12236
12237 2011-03-25 Leo Liu <sdl.web@gmail.com>
12238
12239 * midnight.el (midnight-time-float): Remove. Note it calculates
12240 the microsecond component incorrectly and seconds-to-time does the
12241 same job.
12242 Remove redundant (require 'timer).
12243
12244 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12245 (ido-completions): Remove unused arguments. (Bug#8329)
12246
12247 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * minibuffer.el (completion--flush-all-sorted-completions):
12250 Remove itself from hook.
12251 (completion-at-point): Let the functions perform the completion
12252 immediately and return nil or t.
12253 * comint.el (comint-dynamic-complete-functions): Now identical to
12254 completion-at-point-functions.
12255 (comint-dynamic-list-input-ring): Remove unused var `index'.
12256 (comint--match-partial-filename, comint--unquote&expand-filename):
12257 New funs, split from comint-match-partial-filename.
12258 (comint-dynamic-complete): Use completion-at-point.
12259 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12260
12261 2011-03-24 Drew Adams <drew.adams@oracle.com>
12262
12263 * thingatpt.el: Support `defun'.
12264
12265 2011-03-23 Leo Liu <sdl.web@gmail.com>
12266
12267 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12268
12269 * help-mode.el (help-mode-finish): Tweak regexp.
12270
12271 2011-03-23 Glenn Morris <rgm@gnu.org>
12272
12273 * eshell/esh-opt.el (eshell-eval-using-options):
12274 Do not bind unused local variable `eshell-option-stub'.
12275
12276 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12277
12278 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12279
12280 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12281 keymap variable in `with-no-warnings' to avoid a warning when the
12282 keymap has been already `defconst'ed.
12283
12284 2011-03-22 Leo Liu <sdl.web@gmail.com>
12285
12286 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12287 encode all chars in abbrevs; otherwise use emacs-mule or
12288 utf-8-emacs. (Bug#8308)
12289
12290 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12291
12292 * simple.el (backward-delete-char-untabify):
12293 Avoid warning about using `delete-backward-char'.
12294
12295 * image.el (image-type-file-name-regexps): Make it variable.
12296 `imagemagick-register-types' modifies it, and the user may want
12297 to add new extensions for known image types.
12298 (imagemagick-register-types): Throw error if not using ImageMagick.
12299
12300 2011-03-22 Leo Liu <sdl.web@gmail.com>
12301
12302 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12303 located before rcirc-prompt-end-marker.
12304 (rcirc-complete): Error if point is not after rcirc prompt.
12305 Handle the case when table is nil.
12306 (rcirc-user-authenticated): Define to fix compiler warning.
12307
12308 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12309
12310 * custom.el (custom--inhibit-theme-enable): Make it affect only
12311 custom-theme-set-variables and custom-theme-set-faces.
12312 (provide-theme): Ignore custom--inhibit-theme-enable.
12313 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12314 (custom-enabling-themes): Delete variable.
12315 (enable-theme): Accept only loaded themes as arguments.
12316 Ignore the special custom-enabled-themes variable.
12317 (custom-enabled-themes): Forbid themes from setting this.
12318 Eliminate use of custom-enabling-themes.
12319 (custom-push-theme): Quote "changed" custom var entry.
12320
12321 2011-03-21 Leo Liu <sdl.web@gmail.com>
12322
12323 * ido.el (ido-read-internal): Add ido-selected to history instead
12324 of user input.
12325
12326 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * subr.el (deferred-action-list, deferred-action-function):
12329 Mark obsolete.
12330
12331 2011-03-21 Leo Liu <sdl.web@gmail.com>
12332
12333 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12334 change on 2011-02-13 (bug#8309).
12335
12336 * minibuffer.el (read-file-name-function): Change default value.
12337 (read-file-name--defaults): Rename from read-file-name-defaults.
12338 (read-file-name-default): Rename from read-file-name.
12339 (read-file-name): Call read-file-name-function.
12340
12341 2011-03-21 Glenn Morris <rgm@gnu.org>
12342
12343 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12344 Doc fixes.
12345
12346 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12347
12348 * cus-theme.el: Add missing provide statement.
12349 (customize-create-theme): Extract theme value correctly.
12350 (custom-theme-visit-theme): Autoload.
12351 (customize-create-theme): Prompt before inserting default faces.
12352
12353 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12354
12355 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12356 units and musical notes.
12357
12358 2011-03-20 Leo Liu <sdl.web@gmail.com>
12359
12360 * ido.el (ido-read-internal): Use completing-read-default.
12361 (ido-completing-read): Fix compatibility with completing-read.
12362
12363 2011-03-20 Christian Ohler <ohler@gnu.org>
12364
12365 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12366 (ert-delete-all-tests): Use `called-interactively-p' rather than
12367 `interactive-p'.
12368 (ert--make-xrefs-region): Respect END.
12369
12370 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12371
12372 * dired-aux.el (dired-create-directory): Signal an error if the
12373 directory already exists (Bug#8246).
12374
12375 * facemenu.el (list-colors-display): Call list-faces-display
12376 inside with-help-window.
12377 (list-colors-print): Use display property to align the final
12378 column, instead of checking window-width.
12379
12380 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12381
12382 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12383 windows-nt systems.
12384 (emerge-protect-metachars): Quote correctly for ms-dos and
12385 windows-nt systems.
12386
12387 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12388
12389 * info.el (info-initialize): Replace all uses of `:' with
12390 path-separator for compatibility with non-Unix systems.
12391 Cache quoting of path-separator. (Bug#8258)
12392
12393 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12394
12395 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12396 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12397 (mouse-avoidance-mode): Fix typos in docstrings.
12398
12399 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12400
12401 * startup.el (package-subdirectory-regexp): Move from package.el.
12402 Omit \\` and \\', and let callers add them.
12403
12404 * emacs-lisp/package.el (package-strip-version)
12405 (package-load-all-descriptors): Add \\` and \\' to
12406 package-subdirectory-regexp before using it.
12407 (package-untar-buffer): New arg DIR; ensure that file untars only
12408 into this expected directory. Remove superfluous delete-region.
12409 (package-unpack): Caller changed.
12410 (package-tar-file-info): Use package-subdirectory-regexp.
12411
12412 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12413
12414 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12415 diff-mode-shared-map (bug#8284).
12416 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12417
12418 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12419
12420 * calendar/time-date.el (format-seconds): Use assoc instead of
12421 assoc-string, since assoc-string doesn't exist in XEmacs.
12422
12423 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12424
12425 * custom.el (custom-known-themes): Reflow docstring.
12426 (custom-theme-load-path): Fix typo in docstring.
12427 (load-theme): Fix typo in error message.
12428 (custom-available-themes, custom-variable-theme-value):
12429 Use `let', not `let*'.
12430
12431 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12432
12433 * calc/README: Mention inclusion of musical notes.
12434
12435 * calc/calc-units.el (calc-lu-quant): Rename from
12436 `calc-logunits-quantity'.
12437 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12438 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12439 (calc-db): Rename from `calc-dblevel'.
12440 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12441 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12442 (calc-np): Rename from `calc-nplevel'.
12443 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12444 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12445 (calc-lu-plus): Rename from `calc-logunits-add'.
12446 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12447 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12448 (calc-lu-minus): Rename from `calc-logunits-sub'.
12449 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12450 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12451 (calc-lu-times): Rename from `calc-logunits-mul'.
12452 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12453 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12454 (calc-lu-divide): Rename from `calc-logunits-div'.
12455 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12456 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12457
12458 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12459 functions being autoloaded.
12460
12461 * calc/calc.el (calc-lu-power-reference): Rename from
12462 `calc-logunits-power-reference'.
12463 (calc-lu-field-reference): Rename from
12464 `calc-logunits-field-reference'.
12465
12466 * calc/calc-help.el (calc-l-prefix-help):
12467 Mention musical note functions.
12468
12469 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * minibuffer.el (completion-all-sorted-completions):
12472 Use :completion-cycle-penalty text property if present.
12473
12474 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12475
12476 * allout.el (allout-yank-processing): Adjust for new rebulleting
12477 regime so bullet being yanked is used without prompting the user
12478 for a choice.
12479
12480 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12481
12482 * startup.el (command-line): Warn the user that _emacs is deprecated.
12483
12484 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12485
12486 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12487 (delphi-verbose, delphi-comment-face, delphi-string-face)
12488 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12489 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12490 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12491 (delphi-new-comment-line, delphi-font-lock-defaults)
12492 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12493 Fix typos in docstrings.
12494
12495 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12496
12497 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12498 Invert the roles of character and string values for INSTEAD, so a
12499 string is used for the more common case of a defaulting prompt.
12500
12501 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 * progmodes/ruby-mode.el (ruby-backward-sexp):
12504 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12505 * play/gamegrid.el (gamegrid-make-face):
12506 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12507 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12508 * notifications.el (notifications-notify):
12509 * net/xesam.el (xesam-search-engines):
12510 * net/quickurl.el (quickurl-list-insert):
12511 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12512
12513 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12514
12515 * startup.el (command-line): Update package subdirectory regexp.
12516
12517 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12518
12519 * allout.el (allout-abbreviate-flattened-numbering)
12520 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12521
12522 * subr.el (read-char-choice): Only show the cursor after the prompt,
12523 not after the answer.
12524
12525 2011-03-15 Kevin Ryde <user42@zip.com.au>
12526
12527 * help-fns.el (variable-at-point): Skip leading quotes, if any
12528 (bug#8253).
12529
12530 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12531
12532 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12533 warning message.
12534
12535 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12536
12537 * shell.el (shell): When called interactively, offer to change the
12538 shell file name on remote hosts.
12539
12540 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12541
12542 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12543 integration for LDAP parameters. The host, base, user or binddn,
12544 and secret tokens can be specified in a netrc file, for instance.
12545 This is optional because an `auth-source' parameter must be
12546 specified in the search attributes.
12547
12548 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12549
12550 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12551
12552 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12553
12554 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12555 into declaration. Remove redundant and harmful binding.
12556
12557 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12558
12559 * files.el (file-ownership-preserved-p): Pass `integer' as an
12560 explicit 2nd argument to `file-attributes'. If the file's owner
12561 is the Administrators group on Windows, and the current user is
12562 Administrator, consider that a match.
12563
12564 * server.el (server-ensure-safe-dir): Consider server directory
12565 safe on MS-Windows if its owner is the Administrators group while
12566 the current Emacs user is Administrator. Use `=' to compare
12567 numerical UIDs, since they could be integers or floats.
12568
12569 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12570
12571 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12572
12573 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12574
12575 Sync with Tramp 2.2.1.
12576
12577 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12578
12579 * net/trampver.el: Update release number.
12580
12581 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 * progmodes/compile.el (compilation--previous-directory): Fix up
12584 various nil/dead-marker mismatches (bug#8014).
12585 (compilation-directory-properties, compilation-error-properties):
12586 Don't call it at a position past the one we're about to change.
12587
12588 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12589 Disable obsolescence warnings in the file that declares it.
12590
12591 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12592
12593 * allout-widgets.el (allout-widgets-tally):
12594 Initialize allout-widgets-tally as a hash table rather than nil to
12595 prevent mode-line redisplay warnings. Also, clarify the module
12596 description and fix a comment typo.
12597
12598 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12599
12600 * help-fns.el (describe-variable): Don't complete keywords.
12601 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12602
12603 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12604
12605 * emacs-lisp/package.el (package-version-join): Impose a standard
12606 string representation for pre/alpha/beta version lists.
12607 (package-unpack-single): Standardize the directory name by passing
12608 it through package-version-join.
12609 (package-strip-rcs-id): Accept any version string that does not
12610 signal an error in version-to-list.
12611
12612 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12613
12614 * simple.el (delete-trailing-whitespace): Return nil for the
12615 benefit of `write-file-functions'.
12616
12617 2011-03-10 Glenn Morris <rgm@gnu.org>
12618
12619 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12620
12621 * vc/vc-git.el (vc-git-program): New option.
12622 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12623 (vc-git--call): Use it.
12624
12625 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12626
12627 * cus-edit.el (Custom-newline): If no button at point, look
12628 for a subgroup button at start-of-line. (Bug#2298)
12629
12630 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12631
12632 2011-03-10 Julien Danjou <julien@danjou.info>
12633
12634 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12635 `cursor-type' is nil.
12636
12637 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12638
12639 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12640
12641 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12642
12643 * allout.el: Change so yank of distinctive-bullet items
12644 preserves the existing header prefix, rebulleting it if necessary,
12645 rather than replacing it. This is necessary for proper operation
12646 of cooperative addons like allout-widgets.
12647 (allout-make-topic-prefix, allout-rebullet-heading):
12648 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12649 value as alternate bullet to be used, instead of prompting the user
12650 for a bullet character.
12651
12652 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12653
12654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12655 Do not use `tramp-file-name-port', because this returns also
12656 `tramp-default-port'.
12657
12658 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12659
12660 * net/rcirc.el (rcirc-handler-001): Remove useless
12661 with-rcirc-process-buffer.
12662 (rcirc-check-auth-status): Swap arguments to string-match.
12663
12664 2011-03-09 Glenn Morris <rgm@gnu.org>
12665
12666 * shell.el (shell-mode):
12667 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12668
12669 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12670 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12671
12672 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12673
12674 * emacs-lisp/package.el (package-refresh-contents)
12675 (package-menu-execute): Use condition-case-no-debug.
12676
12677 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12678
12679 * simple.el (shell-command-to-string): Use `process-file'.
12680
12681 * emacs-lisp/package.el (package-tar-file-info): Handle also
12682 remote files.
12683
12684 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12685 Use `equal' for upload base check.
12686
12687 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12688
12689 * textmodes/texinfo.el (texinfo-environments):
12690 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12691
12692 2011-03-08 Glenn Morris <rgm@gnu.org>
12693
12694 * cus-start.el (cursor-in-non-selected-windows):
12695 Fix :set quoting oddness. (Bug#8192)
12696
12697 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12698 in some setf expressions. (Bug#2159)
12699
12700 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12701
12702 * custom.el (custom-available-themes): Return themes in
12703 alphabetical order.
12704
12705 See ChangeLog.15 for earlier changes.
12706
12707 ;; Local Variables:
12708 ;; coding: utf-8
12709 ;; End:
12710
12711 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12712
12713 This file is part of GNU Emacs.
12714
12715 GNU Emacs is free software: you can redistribute it and/or modify
12716 it under the terms of the GNU General Public License as published by
12717 the Free Software Foundation, either version 3 of the License, or
12718 (at your option) any later version.
12719
12720 GNU Emacs is distributed in the hope that it will be useful,
12721 but WITHOUT ANY WARRANTY; without even the implied warranty of
12722 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12723 GNU General Public License for more details.
12724
12725 You should have received a copy of the GNU General Public License
12726 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.