Yet more syncing of xselect docs and argument specs
[bpt/emacs.git] / lisp / ChangeLog
1 2012-02-12 Glenn Morris <rgm@gnu.org>
2
3 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4 (x-disown-selection-internal, x-get-selection-internal):
5 Sync docs with the xselect.c versions.
6
7 * allout-widgets.el: Add missing license notice.
8
9 2012-02-11 Glenn Morris <rgm@gnu.org>
10
11 * select.el (x-get-selection-internal, x-own-selection-internal)
12 (x-disown-selection-internal):
13 * x-dnd.el (x-get-selection-internal): Update declarations.
14
15 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16
17 * window.el (window-sides-slots):
18 * tool-bar.el (tool-bar-position):
19 * term/xterm.el (xterm-extra-capabilities):
20 * ses.el (ses-self-reference-early-detection):
21 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
22 (verilog-auto-wire-type)
23 (verilog-auto-delete-trailing-whitespace)
24 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
25 (verilog-auto-tieoff-declaration):
26 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
27 (sql-oracle-statement-starters, sql-oracle-scan-on):
28 * progmodes/prolog.el (prolog-align-comments-flag)
29 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
30 (prolog-left-indent-regexp, prolog-paren-indent-p)
31 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
32 (prolog-types, prolog-mode-specificators)
33 (prolog-determinism-specificators, prolog-directives)
34 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
35 (prolog-electric-dot-flag)
36 (prolog-electric-dot-full-predicate-template)
37 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
38 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
39 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
40 (prolog-program-switches, prolog-prompt-regexp)
41 (prolog-debug-on-string, prolog-debug-off-string)
42 (prolog-trace-on-string, prolog-trace-off-string)
43 (prolog-zip-on-string, prolog-zip-off-string)
44 (prolog-use-standard-consult-compile-method-flag)
45 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
46 (prolog-imenu-max-lines, prolog-info-predicate-index)
47 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
48 (prolog-char-quote-workaround):
49 * progmodes/cc-vars.el (c-defun-tactic):
50 * net/tramp.el (tramp-encoding-command-interactive)
51 (tramp-local-end-of-line):
52 * net/soap-client.el (soap-client):
53 * net/netrc.el (netrc-file):
54 * net/gnutls.el (gnutls):
55 * minibuffer.el (completion-category-overrides)
56 (completion-cycle-threshold)
57 (completion-pcm-complete-word-inserts-delimiters):
58 * man.el (Man-name-local-regexp):
59 * mail/feedmail.el (feedmail-display-full-frame):
60 * international/characters.el (glyphless-char-display-control):
61 * eshell/em-ls.el (eshell-ls-date-format):
62 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
63 (lisp-lambda-list-keyword-parameter-indentation)
64 (lisp-lambda-list-keyword-parameter-alignment):
65 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
66 * dired-x.el (dired-omit-verbose):
67 * cus-theme.el (custom-theme-allow-multiple-selections):
68 * calc/calc.el (calc-highlight-selections-with-faces)
69 (calc-lu-field-reference, calc-lu-power-reference)
70 (calc-note-threshold):
71 * battery.el (battery-mode-line-limit):
72 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
73 (archive-7z-update):
74 * allout.el (allout-prefixed-keybindings)
75 (allout-unprefixed-keybindings)
76 (allout-inhibit-auto-fill-on-headline)
77 (allout-flattened-numbering-abbreviation):
78 * allout-widgets.el (allout-widgets-auto-activation)
79 (allout-widgets-icons-dark-subdir)
80 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
81 (allout-widgets-theme-dark-background)
82 (allout-widgets-theme-light-background)
83 (allout-widgets-item-image-properties-emacs)
84 (allout-widgets-item-image-properties-xemacs)
85 (allout-widgets-run-unit-tests-on-load)
86 (allout-widgets-time-decoration-activity)
87 (allout-widgets-hook-error-post-time)
88 (allout-widgets-track-decoration):
89 Add missing :version tags to new defcustoms and defgroups.
90
91 * progmodes/sql.el (sql-ansi-statement-starters)
92 (sql-oracle-statement-starters): Add custom type.
93
94 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
95 (prolog-system-version): Give it a type.
96
97 2012-02-11 Eli Zaretskii <eliz@gnu.org>
98
99 * term/pc-win.el (x-select-text, x-selection-owner-p)
100 (x-own-selection-internal, x-disown-selection-internal)
101 (x-get-selection-internal): Sync doc strings and argument lists
102 with xselect.c, common-win.el and x-win.el. (Bug#10783)
103
104 2012-02-11 Leo Liu <sdl.web@gmail.com>
105
106 * progmodes/python.el (python-end-of-statement): Fix infinite
107 loop. (Bug#10788)
108
109 2012-02-10 Glenn Morris <rgm@gnu.org>
110
111 * international/mule-cmds.el (unify-8859-on-encoding-mode)
112 (unify-8859-on-decoding-mode): Properly mark as obsolete.
113
114 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
115
116 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
117 about SMTP before checking the From header.
118
119 * mail/sendmail.el (sendmail-query-user-about-smtp): Refacored out
120 into own function for reuse by emacsbug.el.
121
122 2012-02-10 Leo Liu <sdl.web@gmail.com>
123
124 * subr.el (condition-case-unless-debug): Rename from
125 condition-case-no-debug. All callers changed.
126 (with-demoted-errors): Fix caller.
127
128 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
129 * nxml/rng-valid.el (rng-do-some-validation):
130 * emacs-lisp/package.el (package-refresh-contents)
131 (package-menu-execute):
132 * desktop.el (desktop-create-buffer):
133 * font-lock.el (lisp-font-lock-keywords-2): caller changed.
134
135 2012-02-10 Glenn Morris <rgm@gnu.org>
136
137 * textmodes/bibtex.el:
138 Add missing :version tags for new/changed defcustoms.
139
140 * files.el (remote-file-name-inhibit-cache): Doc fixes.
141
142 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
143
144 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
145 (smtpmail-via-smtp): Use it, or fall back on the From address.
146 (smtpmail-send-it): Ditto.
147
148 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
151 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
152 (byte-compile-tmp-var): New const.
153 (byte-compile-defvar): Use it to minimize .elc size.
154 Just use `defvar' rather than simulate it (bug#10761).
155
156 2012-02-09 Glenn Morris <rgm@gnu.org>
157
158 * files.el (rename-uniquely): Doc fix. (Bug#3806)
159
160 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
161 Add :version tags.
162
163 * progmodes/compile.el (compilation-first-column)
164 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
165
166 * vc/log-view.el (log-view-toggle-entry-display):
167 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
168
169 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
170 (report-emacs-bug-can-use-xdg-email):
171 (report-emacs-bug-insert-to-mailer): Doc fixes.
172 (report-emacs-bug): Message fix.
173
174 * net/browse-url.el (browse-url-can-use-xdg-open)
175 (browse-url-xdg-open): Doc fixes.
176
177 * electric.el (electric-indent-mode, electric-pair-mode)
178 (electric-layout-rules, electric-layout-mode): Doc fixes.
179 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
180
181 2012-02-08 Martin Rudalics <rudalics@gmx.at>
182
183 * server.el (server-unselect-display): Don't inadvertently kill
184 the current buffer. (Bug#10729)
185
186 2012-02-08 Glenn Morris <rgm@gnu.org>
187
188 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
189 (sql-list-table): Doc fixes.
190
191 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
192 Comment out (does nothing).
193
194 * completion.el (dynamic-completion-mode):
195 * dirtrack.el (dirtrack-debug-mode):
196 * electric.el (electric-layout-mode):
197 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
198 * face-remap.el (text-scale-mode, buffer-face-mode):
199 * iimage.el (iimage-mode):
200 * image-mode.el (image-transform-mode):
201 * minibuffer.el (completion-in-region-mode):
202 * scroll-lock.el (scroll-lock-mode):
203 * simple.el (next-error-follow-minor-mode):
204 * tar-mode.el (tar-subfile-mode):
205 * tooltip.el (tooltip-mode):
206 * vcursor.el (vcursor-use-vcursor-map):
207 * wid-browse.el (widget-minor-mode):
208 * emulation/tpu-edt.el (tpu-edt-mode):
209 * emulation/tpu-extras.el (tpu-cursor-free-mode):
210 * international/iso-ascii.el (iso-ascii-mode):
211 * language/thai-util.el (thai-word-mode):
212 * mail/supercite.el (sc-minor-mode):
213 * net/goto-addr.el (goto-address-mode):
214 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
215 * progmodes/cwarn.el (cwarn-mode):
216 * progmodes/flymake.el (flymake-mode):
217 * progmodes/glasses.el (glasses-mode):
218 * progmodes/hideshow.el (hs-minor-mode):
219 * progmodes/pascal.el (pascal-outline-mode):
220 * textmodes/enriched.el (enriched-mode):
221 * vc/smerge-mode.el (smerge-mode):
222 Doc fixes (minor mode argument).
223
224 2012-02-07 Eli Zaretskii <eliz@gnu.org>
225
226 * ls-lisp.el (ls-lisp-sanitize): New function.
227 (ls-lisp-insert-directory): Use it to fix or remove any elements
228 in file-alist with missing attributes. (Bug#4673)
229
230 2012-02-07 Alan Mackenzie <acm@muc.de>
231
232 Fix spurious recognition of c-in-knr-argdecl.
233
234 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
235 putative K&R region.
236
237 2012-02-07 Alan Mackenzie <acm@muc.de>
238
239 * progmodes/cc-engine.el (c-forward-objc-directive): Prevent
240 looping in "#pragma mark @implementation".
241
242 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
243
244 * notifications.el (notifications-on-closed-signal): Make `reason'
245 optional. (Bug#10744)
246
247 2012-02-07 Glenn Morris <rgm@gnu.org>
248
249 * emacs-lisp/easy-mmode.el (define-minor-mode):
250 Doc fixes for the macro and the mode it defines.
251
252 * image.el (imagemagick-types-inhibit): Doc fix.
253
254 * cus-start.el (imagemagick-render-type): Add it.
255
256 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
257
258 * progmodes/cc-mode.el
259 (c-standard-font-lock-fontify-region-function): Set the default at
260 load time, too, so that `font-lock-fontify-buffer' can be called
261 without setting up the entire mode first. This fixes a bug in
262 `mm-inline-text' with C MIME parts.
263
264 2012-02-06 Chong Yidong <cyd@gnu.org>
265
266 * simple.el (list-processes--refresh): Delete exited processes
267 (Bug#8094).
268
269 * comint.el (comint-next-prompt): next-single-char-property-change
270 and prev-single-char-property-change never return nil (Bug#8657).
271
272 * custom.el (defcustom): Doc fix (Bug#9711).
273
274 2012-02-05 Chong Yidong <cyd@gnu.org>
275
276 * cus-edit.el (custom-variable-reset-backup): Quote the value
277 before storing it in the customized-value property (Bug#6712).
278 (custom-display): Add a customization type tag.
279 (custom-buffer-create-internal): Improve tooltip message.
280
281 * wid-edit.el (widget-field-value-get): New optional arg to
282 suppress trailing whitespace truncation.
283 (character): Use it (Bug#2689).
284
285 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
286
287 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
288 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
289
290 2012-02-05 Chong Yidong <cyd@gnu.org>
291
292 * cus-edit.el (custom-variable-value-create): For mismatched
293 types, show the current value (Bug#7600).
294
295 * custom.el (defcustom): Doc fix.
296
297 2012-02-05 Glenn Morris <rgm@gnu.org>
298
299 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
300
301 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
302
303 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
304 (pp-buffer): Use `ignore-errors', `looking-at-p'.
305 (pp-last-sexp): Use `looking-at-p'.
306
307 2012-02-04 Glenn Morris <rgm@gnu.org>
308
309 * files.el (revert-buffer):
310 Doc fix (mention revert-buffer-in-progress-p).
311
312 * emacs-lisp/ert-x.el (ert-simulate-command):
313 Check deferred-action-list (which is obsolete) is bound.
314
315 * subr.el (with-wrapper-hook): Doc fixes.
316
317 * simple.el (filter-buffer-substring-functions)
318 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
319
320 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
321
322 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
323 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
324
325 2012-02-04 Leo Liu <sdl.web@gmail.com>
326
327 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
328
329 2012-02-04 Glenn Morris <rgm@gnu.org>
330
331 * image.el (image-extension-data): Add obsolete alias.
332
333 * isearch.el (isearch-update): Doc fix.
334
335 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
336
337 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
338
339 2012-02-03 Glenn Morris <rgm@gnu.org>
340
341 * image.el (image-animated-p): Doc fix. Use image-animated-types.
342 (image-animate-timeout): Doc fix.
343
344 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
345
346 2012-02-02 Glenn Morris <rgm@gnu.org>
347
348 * server.el (server-auth-dir): Doc fix.
349 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
350
351 * subr.el (run-mode-hooks): Doc fix.
352
353 2012-02-02 Juri Linkov <juri@jurta.org>
354
355 * image-mode.el (image-toggle-display-image): Remove tautological
356 `major-mode' from the `derived-mode-p' test.
357
358 2012-02-02 Kenichi Handa <handa@m17n.org>
359
360 * composite.el (compose-region): Cancel previous change.
361
362 2012-02-02 Kenichi Handa <handa@m17n.org>
363
364 * composite.el (compose-region, compose-string): Signal error for
365 a null string component (Bug#6988).
366
367 2012-02-01 Chong Yidong <cyd@gnu.org>
368
369 * view.el (view-buffer-other-window, view-buffer-other-frame):
370 Handle special modes like view-buffer (Bug#10650).
371 (view-buffer): Simplify.
372
373 * frame.el (set-frame-font): Tweak meaning of third argument.
374
375 * dynamic-setting.el (font-setting-change-default-font):
376 Use set-frame-font (Bug#9982).
377
378 2012-02-01 Glenn Morris <rgm@gnu.org>
379
380 * progmodes/compile.el (compilation-internal-error-properties):
381 Respect compilation-first-column in the "*compilation*" buffer.
382
383 * emacs-lisp/easy-mmode.el (define-minor-mode):
384 Relax :variable's test for a named function.
385
386 2012-01-31 Alan Mackenzie <acm@muc.de>
387
388 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
389 off by one error.
390
391 2012-01-31 Chong Yidong <cyd@gnu.org>
392
393 * frame.el (set-frame-font): New arg ALL-FRAMES.
394
395 * menu-bar.el (menu-set-font): Use set-frame-font.
396
397 * faces.el (face-spec-reset-face): Don't apply unspecified
398 attribute values to the default face.
399
400 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
401
402 * progmodes/cwarn.el (cwarn): Remove dead link.
403 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
404 Remove * from defcustom docstrings.
405 (turn-on-cwarn-mode): Make obsolete.
406 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
407 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
408
409 2012-01-31 Glenn Morris <rgm@gnu.org>
410
411 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
412 Fix :variable handling of mode a symbol not equal to modefun.
413 Allow named functions to be used as the cdr of :variable.
414
415 2012-01-30 Glenn Morris <rgm@gnu.org>
416
417 * emacs-lisp/authors.el (authors-fixed-entries):
418 Remove reference to deleted file rnewspost.el.
419
420 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
421
422 * window.el (window-with-parameter): Remove unused variable `windows'.
423 (window--side-check): Remove unused variable `code'.
424 (window--resize-siblings): Remove unused variable `first'.
425 (adjust-window-trailing-edge): Remove unused variable `failed'.
426 (window-deletable-p, window--delete): Remove unused variable `buffer'.
427 Use `let', not `let*'.
428 (balance-windows-2): Remove unused variable `found'.
429 (window--state-put-2): Remove unused variable `splits'.
430 (window-state-put): Remove unused variable `selected'.
431 (same-window-p): Use `string-match-p'.
432 (display-buffer-assq-regexp): Remove unused variable `value'.
433 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
434 Mark argument ALIST as ignored.
435 (pop-to-buffer): Remove unused variable `old-window'.
436
437 2012-01-29 Eli Zaretskii <eliz@gnu.org>
438
439 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
440 and .lzma compressed files.
441
442 2012-01-29 Chong Yidong <cyd@gnu.org>
443
444 * frame.el (window-system-default-frame-alist): Doc fix.
445
446 * dynamic-setting.el (font-setting-change-default-font): Don't
447 change the default face if SET-FONT argument is non-nil (Bug#9982).
448
449 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
450
451 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
452
453 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
454
455 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
456 breakpoints in files outside current directory (Bug#6098).
457
458 2012-01-29 Chong Yidong <cyd@gnu.org>
459
460 * progmodes/python.el: Require ansi-color at top-level.
461
462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
463 Define and use in Emacs Lisp mode (Bug#9360).
464 (lisp-mode-abbrev-table): Add doc.
465 (lisp-mode-variables): Don't set local-abbrev-table.
466 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
467
468 2012-01-28 Roland Winkler <winkler@gnu.org>
469
470 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
471
472 2012-01-28 Roland Winkler <winkler@gnu.org>
473
474 * textmodes/bibtex.el (bibtex-entry-alist): New function.
475 (bibtex-set-dialect): Use it. Either set global values of
476 dialect-dependent variables or bind these variables buffer-locally
477 (Bug#10254).
478 (bibtex-mode): Call bibtex-set-dialect via
479 hack-local-variables-hook.
480 (bibtex-dialect): Update docstring. Add
481 safe-local-variable predicate.
482 (bibtex-entry-alist, bibtex-field-alist): Initialize via
483 bibtex-set-dialect.
484 (bibtex-mode-map): Define menu for each dialect.
485 (bibtex-entry): Fix docstring.
486
487 2012-01-28 Chong Yidong <cyd@gnu.org>
488
489 * eshell/esh-arg.el (eshell-quote-argument): New function.
490
491 * eshell/esh-ext.el (eshell-invoke-batch-file):
492 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
493 first arg to eshell-parse-command (Bug#10523).
494
495 2012-01-28 Drew Adams <drew.adams@oracle.com>
496
497 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
498 `default-directory' is non-nil.
499
500 2012-01-28 Eli Zaretskii <eliz@gnu.org>
501
502 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
503 line that displays system-configuration-options. (Bug#9924)
504
505 2012-01-28 Drew Adams <drew.adams@oracle.com>
506
507 * descr-text.el (describe-char): Show information about POS, in
508 addition to information about the character at POS. Improve and
509 update the doc string. Change "code point" to "code point in
510 charset", to avoid confusion with the character's Unicode code
511 point shown above that. (Bug#10129)
512
513 2012-01-28 Eli Zaretskii <eliz@gnu.org>
514
515 * descr-text.el (describe-char): Show the raw character, not only
516 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
517 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
518 for the reasons.
519
520 2012-01-28 Phil Hagelberg <phil@hagelb.org>
521
522 * emacs-lisp/package.el (package-install): Run
523 package-refresh-contents if there is no archive yet (Bug#9798).
524
525 2012-01-28 Chong Yidong <cyd@gnu.org>
526
527 * emacs-lisp/package.el (package-maybe-load-descriptor):
528 New function, split from package-maybe-load-descriptor.
529 (package-maybe-load-descriptor): Use it.
530 (package-download-transaction): Fully load required packages
531 inside the loop, so that `require' calls work (Bug#10593).
532 (package-install): No need to call package-initialize now.
533
534 2012-01-28 Chong Yidong <cyd@gnu.org>
535
536 * simple.el (deactivate-mark): Doc fix (Bug#8614).
537
538 * tooltip.el (tooltip-mode): Doc fix.
539 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
540
541 * frame.el (set-cursor-color): Doc fix (Bug#352).
542
543 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
544 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
545
546 * cus-edit.el (custom-buffer-create-internal): Fix search button
547 action (Bug#10542).
548 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
549
550 2012-01-27 Eduard Wiebe <usenet@pusto.de>
551
552 * dired.el (dired-mark-files-regexp):
553 Include any subdirectory components. (Bug#10445)
554
555 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
556
557 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
558 Handle [host]:port syntax. (Bug#10533)
559
560 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
561
562 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
563
564 2012-01-26 Glenn Morris <rgm@gnu.org>
565
566 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
567 * term.el (term-raw-escape-map): Use Control-X-prefix.
568 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
569
570 2012-01-25 Martin Rudalics <rudalics@gmx.at>
571
572 * window.el (window-state-get, window--state-get-1): Don't deal
573 with fixed-sizeness of windows. Simplify code.
574
575 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
576
577 * window.el (window--state-get-1, window--state-put-2):
578 Don't save and restore the mark.
579
580 2012-01-25 Chong Yidong <cyd@gnu.org>
581
582 * custom.el (custom-variable-p): Doc fix.
583
584 2012-01-25 Glenn Morris <rgm@gnu.org>
585
586 * dired.el (dired-goto-file): Handle some of the more common
587 characters that `ls -b' escapes. (Bug#10596)
588
589 * progmodes/compile.el (compilation-next-error-function):
590 Respect compilation-first-column in the "*compilation*" buffer.
591 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
592
593 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
594
595 2012-01-24 Glenn Morris <rgm@gnu.org>
596
597 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
598
599 2012-01-24 Julien Danjou <julien@danjou.info>
600
601 * color.el (color-rgb-to-hsl): Fix value computing.
602 (color-hue-to-rgb): New function.
603 (color-hsl-to-rgb): New function.
604 (color-clamp, color-saturate-hsl, color-saturate-name)
605 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
606 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
607
608 2012-01-24 Glenn Morris <rgm@gnu.org>
609
610 * vc/vc-rcs.el (vc-rcs-create-tag):
611 * vc/vc-sccs.el (vc-sccs-create-tag):
612 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
613
614 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
615
616 * eshell/esh-util.el (eshell-read-hosts-file):
617 Skip comment lines. (Bug#10549)
618
619 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
620
621 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
622
623 * subr.el (display-delayed-warnings): Doc fix.
624 (collapse-delayed-warnings): New function to collapse identical
625 adjacent warnings.
626 (delayed-warnings-hook): Add it.
627
628 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
629
630 * net/tramp.el (tramp-action-login): Set connection property "login-as".
631
632 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
633 properties, when "login-as" is set.
634
635 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
636 (tramp-default-user-alist): Don't add "pscp".
637 (tramp-do-copy-or-rename-file-out-of-band): Use connection
638 property "login-as", if set. (Bug#10530)
639
640 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
641
642 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
643 "plink1" and "psftp". (Bug#10530)
644
645 2012-01-21 Kenichi Handa <handa@m17n.org>
646
647 * international/mule-cmds.el (prefer-coding-system): Show a
648 warning message if the default value of file-name-coding-system
649 was not changed.
650
651 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
652
653 * windmove.el (windmove-reference-loc):
654 Fix windmove-reference-loc miscalculation.
655
656 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
657
658 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
659 default unit.
660
661 2012-01-21 Glenn Morris <rgm@gnu.org>
662
663 * international/mule.el (auto-coding-alist): Add .tbz.
664
665 * files.el (local-enable-local-variables): Doc fix.
666 (inhibit-local-variables-regexps): Rename from
667 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
668 Doc fix. Add some extensions from auto-coding-alist.
669 (inhibit-local-variables-suffixes):
670 Rename from inhibit-first-line-modes-suffixes. Doc fix.
671 (inhibit-local-variables-p):
672 New function, extracted from set-auto-mode-1.
673 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
674 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
675 (hack-local-variables): Doc fix. Make the mode-only case
676 respect enable-local-variables and friends.
677 Respect inhibit-local-variables-regexps for file-locals, but
678 not for directory-locals.
679 (set-visited-file-name):
680 Take account of inhibit-local-variables-regexps.
681 Whether it applies may change as the file name is changed.
682 * jka-cmpr-hook.el (jka-compr-install):
683 * jka-compr.el (jka-compr-uninstall):
684 Update for inhibit-first-line-modes-suffixes name change.
685
686 2012-01-20 Martin Rudalics <rudalics@gmx.at>
687
688 * help-macro.el (make-help-screen): Temporarily restore original
689 binding for minor-mode-map-alist (Bug#10454).
690
691 2012-01-19 Julien Danjou <julien@danjou.info>
692
693 * color.el (color-name-to-rgb): Use the white color to find the max
694 color component value and return correctly computed values.
695 (color-name-to-rgb): Add missing float conversion for max value.
696
697 2012-01-19 Martin Rudalics <rudalics@gmx.at>
698
699 * window.el (window--state-get-1, window-state-get): Do not use
700 special state value for window-persistent-parameters. Rename
701 argument IGNORE to WRITABLE. Rewrite doc-string.
702 (window--state-put-2): Reset all window parameters to nil before
703 assigning values of persistent parameters.
704
705 2012-01-18 Alan Mackenzie <acm@muc.de>
706
707 Eliminate sluggishness and hangs in fontification of "semicolon
708 deserts".
709
710 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
711 Change value 10000 -> 3000.
712 (c-state-safe-place): Reformulate so it doesn't stack up an
713 infinite number of wrong entries in c-state-nonlit-pos-cache.
714 (c-determine-limit-get-base, c-determine-limit): New functions to
715 determine backward search limits disregarding literals.
716 (c-find-decl-spots): Amend commenting.
717 (c-cheap-inside-bracelist-p): New function which detects "={".
718
719 * progmodes/cc-fonts.el
720 (c-make-font-lock-BO-decl-search-function): Give a limit to a
721 backward search.
722 (c-font-lock-declarations): Fix an occurrence of point being
723 undefined. Check additionally for point being in a bracelist or
724 near a macro invocation without a semicolon so as to avoid a
725 fruitless time consuming search for a declarator. Give a more
726 precise search limit for declarators using the new
727 c-determine-limit.
728
729 2012-01-18 Glenn Morris <rgm@gnu.org>
730
731 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
732 (set-auto-mode): Doc fixes.
733
734 2012-01-17 Glenn Morris <rgm@gnu.org>
735
736 * isearch.el (search-nonincremental-instead): Fix doc typo.
737
738 * dired.el (dired-insert-directory): Handle newlines in directory name.
739 (dired-build-subdir-alist): Unescape newlines in directory name.
740
741 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
742
743 * net/tramp.el (tramp-local-end-of-line): New defcustom.
744 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
745 (tramp-action-terminal): Use it. (Bug#10530)
746
747 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * minibuffer.el (completion--replace): Strip properties (bug#10062).
750
751 2012-01-16 Martin Rudalics <rudalics@gmx.at>
752
753 * window.el (window-state-ignored-parameters): Remove variable.
754 (window--state-get-1): Rename argument MARKERS to IGNORE.
755 Handle persistent window parameters. Make copy of clone-of
756 parameter only if requested. (Bug#10348)
757 (window--state-put-2): Install a window parameter only if it has
758 a non-nil value or an existing parameter shall be overwritten.
759
760 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
761
762 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
763
764 2012-01-14 Eli Zaretskii <eliz@gnu.org>
765
766 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
767 don't pass the (nil) value of `upnode' to string-match.
768
769 2012-01-14 Chong Yidong <cyd@gnu.org>
770
771 * startup.el (command-line): Fix X resource class for cursorColor.
772 Fix values recognized by the cursorBlink resource.
773
774 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
775
776 * epg.el (epg--make-temp-file): Avoid permission race condition
777 when running on old Emacs versions (bug#10403).
778
779 2012-01-14 Glenn Morris <rgm@gnu.org>
780
781 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
782
783 2012-01-13 Alan Mackenzie <acm@muc.de>
784
785 Fix filling for when filladapt mode is enabled.
786
787 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
788 c-mask-paragraph, pass in `fill-paragraph' rather than
789 `fill-region-as-paragraph'. (This is a reversion of a previous
790 change.)
791 * progmodes/cc-mode.el (c-basic-common-init): Make
792 fill-paragraph-handle-comment buffer local and set it to nil.
793
794 2012-01-13 Glenn Morris <rgm@gnu.org>
795
796 * dired.el (dired-switches-escape-p): New function.
797 (dired-insert-directory): Use dired-switches-escape-p.
798 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
799
800 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
801
802 2012-01-12 Glenn Morris <rgm@gnu.org>
803
804 * mail/sendmail.el (mail-mode): Update paragraph-separate for
805 changes in adaptive-fill-regexp. (Bug#10276)
806
807 2012-01-11 Alan Mackenzie <acm@muc.de>
808
809 Fix Emacs bug #10463 - put `widen's around the critical spots.
810
811 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
812 widen around each invocation of c-state-pp-to-literal. Remove an
813 unused let variable.
814
815 2012-01-11 Glenn Morris <rgm@gnu.org>
816
817 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
818 Doc fix.
819
820 2012-01-10 Chong Yidong <cyd@gnu.org>
821
822 * net/network-stream.el (network-stream-open-starttls):
823 Avoid emitting a confusing error message when the server gives a bad
824 response to the capability command.
825
826 2012-01-10 Glenn Morris <rgm@gnu.org>
827
828 * mail/unrmail.el (unrmail): Tweak previous change.
829
830 2012-01-09 Chong Yidong <cyd@gnu.org>
831
832 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
833
834 2012-01-08 Alan Mackenzie <acm@muc.de>
835
836 Optimise font locking in long enum definitions.
837
838 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
839 arm to a cond form to handle enums.
840 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
841 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
842
843 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
844
845 * files.el (move-file-to-trash): Preserve default file modes on error.
846 (Bug#10401)
847
848 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
849
850 * faces.el (set-face-attribute): Clarify the meaning of the nil
851 frame (bug#10294).
852
853 * subr.el (with-selected-frame): Mention that the selected frame
854 is restored (bug#9980).
855
856 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
857 (bug#9759).
858
859 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
860 (password-read): Don't autoload unused function.
861
862 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
863
864 * progmodes/which-func.el (which-func-mode): Turn into a
865 non-interactive function and mark as obsolete (bug#10428).
866
867 2012-01-06 Chong Yidong <cyd@gnu.org>
868
869 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
870 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
871 functions, along with 1 and -1.
872
873 2012-01-06 Eli Zaretskii <eliz@gnu.org>
874
875 * time.el (display-time-load-average)
876 (display-time-default-load-average): Doc fixes. See the thread
877 starting at
878 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
879 for the details.
880
881 2012-01-06 Glenn Morris <rgm@gnu.org>
882
883 * mail/unrmail.el (unrmail): Give an explicit error if the input file
884 has no messages. (Bug#10377)
885
886 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
887 than Info-edit. (Bug#10385)
888
889 * time.el (display-time-load-average, display-time-next-load-average):
890 Doc fixes.
891
892 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
893 local setting of buffer-read-only to the input buffer. (Bug#10419)
894
895 * calendar/calendar.el (calendar-mode):
896 Locally set scroll-margin to 0. (Bug#10379)
897
898 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
899
900 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
901
902 2012-01-05 Glenn Morris <rgm@gnu.org>
903
904 * eshell/em-unix.el (diff-no-select): Autoload it.
905 (eshell/diff): Use diff-no-select. (Bug#10420)
906
907 2012-01-05 Chong Yidong <cyd@gnu.org>
908
909 * shell.el (shell-dynamic-complete-functions): Revert last change.
910 (shell-command-completion-function): New function.
911 (shell-completion-vars): Use it to implement
912 shell-completion-execonly (Bug#10417).
913
914 * custom.el (enable-theme): Don't set custom-safe-themes.
915
916 * cus-theme.el (custom-theme-merge-theme):
917 Ignore custom-enabled-themes and custom-safe-themes.
918
919 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
920
921 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
922 first prompt in `sql-interacive-mode'.
923 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
924 keywords.
925 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
926 (sql-product-interactive): Bug fix: Set `sql-buffer' in
927 context of original buffer. Invoke `sql-login-hook'.
928
929 2012-01-04 Eli Zaretskii <eliz@gnu.org>
930
931 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
932 letters in cite-prefix.
933
934 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
935
936 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
937
938 2012-01-03 Chong Yidong <cyd@gnu.org>
939
940 * shell.el (shell-dynamic-complete-functions):
941 Put pcomplete-completions-at-point, so as to try
942 comint-filename-completion first (Bug#10417).
943
944 2012-01-02 Richard Stallman <rms@gnu.org>
945
946 * battery.el (battery-status-function):
947 Detect when to use battery-yeeloong-sysfs.
948 (battery-echo-area-format): Add string for Yeeloong.
949 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
950 (battery-yeeloong-sysfs): New function.
951
952 2012-01-02 Chong Yidong <cyd@gnu.org>
953
954 * dirtrack.el (dirtrack-list): Eliminate unused third element.
955 (dirtrack): Merge code for handling relative filenames in prompt
956 from shell-dir-cookie-watcher.
957 (dirtrack-debug-message): New arg to avoid excess format calls.
958
959 * shell.el (shell-dir-cookie-re): Variable deleted.
960 (shell-dir-cookie-watcher): Function deleted.
961 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
962 with dirtrack-mode.
963
964 2012-01-01 Eli Zaretskii <eliz@gnu.org>
965
966 * term/w32-win.el (dynamic-library-alist) <gnutls>:
967 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
968 libgnutls-26.dll.
969
970 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
971
972 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
973
974 2011-12-31 Eli Zaretskii <eliz@gnu.org>
975
976 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
977 headers of non-MIME messages, when rmail-enable-mime is non-nil.
978
979 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
980
981 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
982 also for alternative shells.
983 (tramp-open-connection-setup-interactive-shell): Check, whether
984 the shell is a busybox.
985 (tramp-send-command): Don't suppress multiple prompts for
986 busyboxes, it hurts.
987
988 2011-12-28 Chong Yidong <cyd@gnu.org>
989
990 * progmodes/gdb-mi.el (gdb-get-source-file-list)
991 (gdb-get-source-file): Move mode line update to
992 gdb-get-source-file (Bug#10087).
993
994 2011-12-25 Chong Yidong <cyd@gnu.org>
995
996 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
997 gud-gdb-marker-filter without taking it as an argument.
998 (gud-gdb-run-command-fetch-lines): Caller changed.
999 (gud-gdb-completion-function): New variable.
1000 (gud-gdb-completion-at-point): Use it.
1001 (gud-gdb-completions-1): Split from gud-gdb-completions.
1002
1003 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1004 function as separate arguments.
1005 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1006 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1007 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1008 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1009 (gdb-stopped, def-gdb-auto-update-trigger)
1010 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
1011 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1012 Callers changed.
1013 (gud-gdbmi-completions): New function.
1014 (gdb): Use it for generating the completion table.
1015
1016 2011-12-24 Alan Mackenzie <acm@muc.de>
1017
1018 Introduce a mechanism to widen the region used in context font
1019 locking. Use this to protect declarations from losing their contexts.
1020
1021 * progmodes/cc-langs.el (c-before-font-lock-functions):
1022 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
1023 (c-before-context-fontification-functions): New defvar, a list of
1024 functions to be run just before context (etc.) font locking.
1025
1026 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
1027 New, functionality extracted from
1028 c-neutralize-syntax-in-and-mark-CPP.
1029 (c-in-after-change-fontification): New variable.
1030 (c-after-change): Set c-in-after-change-fontification.
1031 (c-set-fl-decl-start): Rejig its interface, so it can be called
1032 from both after-change and context fontifying.
1033 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1034 New functions.
1035 (c-standard-font-lock-fontify-region-function): New variable.
1036 (c-font-lock-fontify-region): New function.
1037
1038 2011-12-24 Juri Linkov <juri@jurta.org>
1039
1040 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1041 (Bug#10348)
1042
1043 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
1044
1045 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1046 existence of source file. (Bug#10325)
1047
1048 2011-12-23 Alan Mackenzie <acm@muc.de>
1049
1050 Fix unstable fontification inside templates.
1051
1052 * progmodes/cc-langs.el (c-before-font-lock-functions):
1053 Newly created from the singular version. The (c c++ objc) entry now
1054 additionally has c-set-fl-decl-start. The other languages (apart
1055 from AWK) have that as a single entry.
1056
1057 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1058 The functionality for "local" declarations has been extracted to
1059 c-set-fl-decl-start.
1060
1061 * progmodes/cc-mode.el (c-common-init, c-after-change):
1062 Changes due to pluralisation of c-before-font-lock-functions.
1063 (c-set-fl-decl-start): New function, extracted from
1064 c-font-lock-enclosing-decls and enhanced.
1065
1066 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
1067
1068 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1069
1070 2011-12-22 Juri Linkov <juri@jurta.org>
1071
1072 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1073
1074 2011-12-22 Chong Yidong <cyd@gnu.org>
1075
1076 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1077
1078 2011-12-21 Drew Adams <drew.adams@oracle.com>
1079
1080 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1081
1082 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1083
1084 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1085
1086 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1087
1088 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1089 highlighting and support. Fix up comments for capitalization.
1090 (cfengine-mode-debug): New var.
1091 (cfengine3-mode): Change the modeline indicator to "CFE3".
1092 (cfengine3-font-lock-keywords): Improve defun highlighting.
1093 (cfengine2-actions): Rename from `cfengine-actions'.
1094 (cfengine2-font-lock-keywords): Rename from
1095 `cfengine-font-lock-keywords'.
1096 (cfengine2-imenu-expression): Rename from
1097 `cfengine-imenu-expression'.
1098 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1099 (cfengine2-beginning-of-defun): Rename from
1100 `cfengine-beginning-of-defun'.
1101 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1102 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1103 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1104 modeline indicator to "CFE2".
1105 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1106 (cfengine-mode-abbrevs): Mark obsolete.
1107
1108 2011-12-21 Chong Yidong <cyd@gnu.org>
1109
1110 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1111 filename argument.
1112
1113 2011-12-20 Martin Rudalics <rudalics@gmx.at>
1114
1115 * window.el (window-normalize-buffer-to-display): Remove.
1116 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1117
1118 2011-12-19 Chong Yidong <cyd@gnu.org>
1119
1120 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1121 Don't signal an error in a predicate function; return non-nil.
1122 (vc-dir-mark-file): Move the error here.
1123 (vc-dir-mark-unmark): If acting on the region, keep going if one
1124 of the entries cannot be marked/unmarked.
1125 (vc-dir-mark-all-files): If current entry is a directory, mark
1126 only child files, as documented.
1127
1128 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1129
1130 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1131 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1132 addition.
1133
1134 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1135
1136 * term/ns-win.el (ns-get-selection-internal)
1137 (ns-store-selection-internal): Declare.
1138 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1139 Declare as obsolete.
1140 (ns-get-pasteboard, ns-paste-secondary):
1141 Use ns-get-selection-internal.
1142 (ns-set-pasteboard, ns-copy-including-secondary):
1143 Use ns-store-selection-internal.
1144
1145 2011-12-17 Chong Yidong <cyd@gnu.org>
1146
1147 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
1148 (vc-deduce-fileset): Doc fix.
1149
1150 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1151
1152 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1153
1154 2011-12-13 Sam Steingold <sds@gnu.org>
1155
1156 * man.el (Man-getpage-in-background): When running under a
1157 window-system, ignore $MANWIDTH and $COLUMNS.
1158
1159 2011-12-15 Kenichi Handa <handa@m17n.org>
1160
1161 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1162 (setup-ethiopic-environment-internal): Comment out key-binding for
1163 ethio-toggle-punctuation.
1164
1165 2011-12-13 Alan Mackenzie <acm@muc.de>
1166
1167 Add the switch statement to AWK Mode.
1168
1169 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
1170 "default" to the keywords regexp.
1171
1172 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
1173 expression as the rest.
1174 (c-nonlabel-token-key): Allow string literals for AWK.
1175 Refactor for the other modes.
1176
1177 Large brace-block initialisation makes CC Mode slow: Fix.
1178 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
1179 routines. Limit backward searching in c-font-lock-enclosing.decl.
1180
1181 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1182 pp-state and literal type in addition to the limits.
1183 (c-state-safe-place): New defun, extracted from c-state-literal-at.
1184 (c-state-literal-at): Use the above new defun.
1185 (c-slow-in-literal, c-fast-in-literal): Remove.
1186 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
1187
1188 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1189 being in a literal. Add a limit for backward searching.
1190
1191 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1192 c-slow-in-literal.
1193
1194 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1197
1198 2011-12-13 Martin Rudalics <rudalics@gmx.at>
1199
1200 * window.el (delete-other-windows): Use correct frame in call to
1201 window-with-parameter.
1202
1203 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1204
1205 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1206 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1207 (makefile-gmake-statements, makefile-makepp-statements):
1208 Use it and add new makepp keywords.
1209 (makefile-makepp-font-lock-keywords): Add new patterns.
1210 (makefile-match-function-end): Match new [...] and [[...]].
1211
1212 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
1213
1214 * ses.el (ses-call-printer-return, ses-cell-property-get)
1215 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1216 (ses-create-cell-variable, ses-reset-header-string)
1217 (ses-cell-set-formula, ses-repair-cell-reference-all)
1218 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1219 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1220 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1221 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1222 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1223 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1224 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1225 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1226 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1227 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1228 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1229 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1230
1231 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1232
1233 * ses.el: The overall change is to add cell renaming, that is
1234 setting fancy names for cell symbols other than name matching
1235 "\\`[A-Z]+[0-9]+\\'" regexp .
1236 (ses-create-cell-variable): New defun.
1237 (ses-relocate-formula): Relocate formulas only for cells the
1238 symbols of which are not renamed, i.e. symbols whose names do not
1239 match regexp "\\`[A-Z]+[0-9]+\\'".
1240 (ses-relocate-all): Relocate values only for cells the symbols of
1241 which are not renamed.
1242 (ses-load): Create cells variables as the (ses-cell ...) are read,
1243 in order to check row col consistency with cell symbol name only
1244 for cells that are not renamed.
1245 (ses-replace-name-in-formula): New defun.
1246 (ses-rename-cell): New defun.
1247
1248 2011-12-11 Chong Yidong <cyd@gnu.org>
1249
1250 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1251 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1252
1253 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1254
1255 * window.el (other-window): Fix docstring.
1256
1257 2011-12-10 Eli Zaretskii <eliz@gnu.org>
1258
1259 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1260 `from' or `to' address before taking its substring.
1261 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
1262 encoded name is chopped in the middle of the encoded string, and
1263 thus displayed encoded.
1264
1265 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
1266
1267 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1268
1269 2011-12-10 Eli Zaretskii <eliz@gnu.org>
1270
1271 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1272 to use texinfo-update-node and commands that call it if the
1273 Texinfo file uses @node lines without next/prev/up pointers.
1274 Correct outdated description about texinfo-master-menu.
1275 (texinfo-all-menus-update, texinfo-master-menu)
1276 (texinfo-update-node, texinfo-every-node-update)
1277 (texinfo-multiple-files-update): Doc fix. Warn against updating
1278 all the @node lines.
1279 (texinfo-master-menu): Only call texinfo-update-node if the prefix
1280 argument is numeric. Explain better in the doc string what the
1281 function really does.
1282 (texinfo-insert-master-menu-list): Improve the error message
1283 displayed if there's no menu in the Top node.
1284 (Bug#2975) See also this thread:
1285 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1286
1287 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1288
1289 * speedbar.el (speedbar-supported-extension-expressions):
1290 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1291
1292 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
1293
1294 * printing.el (pr-mode-alist):
1295 * simple.el (filter-buffer-substring-functions)
1296 (completion-list-insert-choice-function):
1297 * window.el (window-with-parameter, window-atom-root)
1298 (window-sides-slots, window-size-fixed, window-min-delta)
1299 (window-max-delta, window--resize-mini-window)
1300 (window--resize-child-windows-normal, window-tree)
1301 (delete-other-windows, quit-window, split-window)
1302 (display-buffer-record-window, special-display-buffer-names)
1303 (special-display-regexps, special-display-popup-frame)
1304 (same-window-p, split-window-sensibly)
1305 (display-buffer-overriding-action, display-buffer-alist)
1306 (display-buffer-base-action, display-buffer, switch-to-buffer)
1307 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1308 (fit-window-to-buffer, recenter-positions)
1309 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1310 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1311 and remove unneeded backslashes in docstrings.
1312
1313 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1316
1317 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1318 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1319 end in ".mk".
1320 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1321 when reading the makefile (bug#10116).
1322
1323 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1326 (bug#10116).
1327
1328 2011-12-06 Glenn Morris <rgm@gnu.org>
1329
1330 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1331
1332 2011-12-06 Chong Yidong <cyd@gnu.org>
1333
1334 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1335
1336 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1337
1338 * textmodes/table.el (table-shorten-cell): Fix typo.
1339
1340 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1341
1342 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1343
1344 2011-12-05 Eli Zaretskii <eliz@gnu.org>
1345
1346 * descr-text.el (describe-char): Fix display of strong
1347 right-to-left characters and directional embeddings and overrides.
1348
1349 * simple.el (what-cursor-position): Fix display of codepoints of
1350 strong right-to-left characters.
1351
1352 2011-12-05 Chong Yidong <cyd@gnu.org>
1353
1354 * faces.el (read-color): Doc fix.
1355
1356 2011-12-05 Glenn Morris <rgm@gnu.org>
1357
1358 * align.el (align--set-marker): Add doc-string.
1359 Don't try to move something that is not a marker. (Bug#10216)
1360
1361 2011-12-04 Glenn Morris <rgm@gnu.org>
1362
1363 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1364 overly zealous deletion of trailing whitespace.
1365
1366 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
1367
1368 * server.el (server-delete-client): On Windows, do not try to delete
1369 the only terminal.
1370 (server-process-filter): On Windows, treat requests for a tty frame as
1371 if they were for a GUI frame if the running server is in GUI mode.
1372
1373 2011-12-03 Glenn Morris <rgm@gnu.org>
1374
1375 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1376
1377 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * electric.el: Streamline electric-indent's hook.
1380 (electric-indent-chars): Revert to simple list.
1381 (electric-indent-functions): New var.
1382 (electric-indent-post-self-insert-function): Use it.
1383
1384 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1385 there's no inferior buffer (bug#10196).
1386 (prolog-consult-compile): Don't use toggle-read-only.
1387
1388 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1391 interrupt. (Bug#10187)
1392
1393 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1396 (bug#9160).
1397
1398 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1399 (bug#10191).
1400
1401 2011-12-02 Juri Linkov <juri@jurta.org>
1402
1403 * info.el (Info-search): Display "end of manual" when Isearch
1404 reaches the end of single-file Info manual. (Bug#9918)
1405
1406 2011-12-02 Eli Zaretskii <eliz@gnu.org>
1407
1408 * isearch.el (isearch-message-prefix): Run the input method part
1409 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1410
1411 2011-12-02 Juri Linkov <juri@jurta.org>
1412
1413 * isearch.el (isearch-occur): Use `word-search-regexp' for
1414 `isearch-word'.
1415 (isearch-search-and-update): Add condition for `isearch-word' and
1416 call `word-search-regexp'. (Bug#10145)
1417
1418 2011-12-01 Glenn Morris <rgm@gnu.org>
1419
1420 * eshell/em-hist.el (eshell-hist-initialize):
1421 Handle eshell-history-size nil and HISTSIZE set or unset.
1422 (eshell-history-file-name, eshell-history-size): Fix custom type.
1423
1424 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1427
1428 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
1429
1430 * progmodes/verilog-mode.el (verilog-pretty-expr):
1431 Rework verilog-pretty-expr to handle new assignment operators in system
1432 verilog, such as += *= and the like.
1433 (verilog-assignment-operator-re): Regular expression to find the
1434 assigment operator in a verilog assignment.
1435 (verilog-assignment-operation-re): Regular expression to find an
1436 assignment statement for pretty-expr.
1437 (verilog-in-attribute-p): Query returns true if point is in an
1438 attribute context; used to skip these for expression line up from
1439 pretty-expr.
1440 (verilog-in-parameter-p): Query returns true if point is in an
1441 parameter definition context; used to skip these for expression
1442 line up from pretty-expr.
1443 (verilog-in-parenthesis-p): Query returns true if point is in a
1444 parenthetical expression, specifically ( ) but not [ ] or { };
1445 used by pretty-expr.
1446 (verilog-just-one-space): If there is no space, don't add one.
1447 (verilog-get-lineup-indent-2): Specifically skip just attribute
1448 contexts for expression lineup, rather than skipping all
1449 parenthetical expressions.
1450 (verilog-calculate-indent): Fix comment, and fix indent.
1451 (verilog-do-indent): Indent declarations in lists (suggested by
1452 Joachim Lechner).
1453 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1454 skeleton items.
1455 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1456 by Alain Mellan).
1457
1458 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
1459
1460 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1461 parameters with embedded comments. Reported by Ray Stevens.
1462 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1463 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1464 Reported by Tim Holt.
1465 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1466 instantiated by upper module causing wrong expansion until AUTOed a
1467 second time. Reported by K C Buckenmaier.
1468 (verilog-diff-auto): Fix showing .* as a difference when
1469 `verilog-auto-star-save' off. Reported by Dan Dever.
1470 (verilog-auto-reset, verilog-read-always-signals)
1471 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1472 temporary signals in reset list if
1473 verilog-auto-reset-blocking-in-non is nil, and match assignment
1474 style to each signal's assignment type, bug381.
1475 Reported by Thomas Esposito.
1476 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1477 (verilog-uvm-statement-re): Support UVM indentation and
1478 highlighting, with old OVM keywords only.
1479 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1480 Support AUTOTIEOFF creating non-wire data types.
1481 Suggested by Jonathan Greenlaw.
1482 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1483 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1484 (verilog-inject-sense, verilog-read-inst-pins)
1485 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1486 Fix mismatching parenthesis inside commented out code when deleting
1487 AUTOINST, bug383. Reported by Jonathan Greenlaw.
1488 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1489 non-numeric vector width. Reported by Alex Reed.
1490 (verilog-auto-ascii-enum): Add "onehot" option to work around not
1491 detecting signals with parameter widths. Reported by Alex Reed.
1492 (verilog-auto-delete-trailing-whitespace):
1493 With `verilog-auto-delete-trailing-whitespace' remove trailing
1494 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1495 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1496 Fix verilog-scan-cache corruption when running user AUTO expansion
1497 hooks that call indentation routines.
1498 (verilog-simplify-range-expression): Fix typo ignoring lower case
1499 identifiers.
1500 (verilog-delete-auto): Fix delete-autos to also remove user created
1501 automatics, as long as they start with AUTO.
1502 (verilog-batch-diff-auto, verilog-diff-auto)
1503 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1504 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1505 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1506 (verilog-in-paren-quick, verilog-re-search-backward-quick)
1507 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1508 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
1509 is disabled and its cache will get corrupt, causing AUTOS not to
1510 expand. Instead use only -quick functions.
1511 (verilog-scan-region): Fix scanning over escaped quotes.
1512 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1513 (verilog-re-search-backward-quick)
1514 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1515 related functions now ignore strings, to fix misparsing of strings
1516 with magic comments embedded in them.
1517 (verilog-read-auto-template):
1518 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1519 Reported by Brad Dobbie.
1520 (verilog-read-auto-template):
1521 Fix 'verilog-auto-inst-template-numbers' with comments.
1522 Reported by Brad Dobbie.
1523 (verilog-auto-inst, verilog-auto-inst-param)
1524 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1525 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1526 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
1527 debugging templates without merge conflicts, bug357.
1528 Reported by Brad Dobbie.
1529 (verilog-read-auto-template):
1530 Fix verilog-auto-inst-template-numbers with multiple templates.
1531 Reported by Brad Dobbie.
1532 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1533 abbrevs so user won't be asked to save.
1534 (verilog-read-auto-lisp-present): Fix to start at beginning of
1535 buffer in case called outside of verilog-auto.
1536 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1537 to "X-2". Reported by Matthew Myers.
1538 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1539 all inputs from module templates. Reported by Leith Johnson.
1540 (verilog-module-inside-filename-p): Fix locating programs as with
1541 modules.
1542 (verilog-auto-inst-port): Fix vl-width expressions when using
1543 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1544 (verilog-decls-get-regs, verilog-decls-get-signals,
1545 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1546 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1547 verilog-read-decls): Combine reg and wire structures into one var
1548 structure to represent SystemVerilog concepts.
1549 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1550 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
1551 (verilog-auto-wire-type, verilog-insert-definition):
1552 Add verilog-auto-wire-type and AUTOLOGIC to support using
1553 SystemVerilog "logic" keyword instead of "wire"/"reg".
1554 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1555 to declares outputs that also have assignments (presumably in an
1556 ifdef or generate if so there's not a driver conflict).
1557 Reported by Matthew Myers.
1558 (verilog-auto-declare-nettype, verilog-insert-definition):
1559 Add verilog-auto-declare-nettype to fix declarations using
1560 `default_nettype none. Reported by Julian Gorfajn.
1561 (verilog-read-always-signals-recurse, verilog-read-decls)
1562 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1563 malformed end statement, bug325. Reported by Joshua Wise and
1564 Andrew Drake.
1565 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1566 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1567 when expanding .* in interfaces, bug320.
1568 Reported by Pierre-David Pfister.
1569 (verilog-read-module-name): Fix import statements between module
1570 name and open parenthesis, bug317.
1571 Reported by Pierre-David Pfister.
1572 (verilog-simplify-range-expression): Fix simplification of
1573 multiplications inside AUTOWIRE connections, bug303.
1574 (verilog-auto-inst-port): Support parameter expansion in
1575 multidimensional arrays.
1576 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1577 after "assert property". Reported by Julian Gorfajn.
1578 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1579 with multiplication, bug303.
1580 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1581 Reported by Jan Frode Lonnum.
1582
1583 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
1584
1585 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1586 (hfy-shell-file-name, hfy-shell):
1587 * international/fontset.el (x-decompose-font-name): Fix typos.
1588
1589 2011-11-29 Ken Brown <kbrown@cornell.edu>
1590
1591 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1592 (gdb-version): Remove defvar.
1593 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1594 (gdb-gud-context-command, gdb-non-stop-handler)
1595 (gdb-current-context-command, gdb-stopped): Use it.
1596 (gdb-init-1): Enable pretty printing here.
1597 (gdb-non-stop-handler): Don't enable pretty-printing here.
1598 Check to see if the target supports non-stop mode; if not, turn off
1599 non-stop mode. Use the following.
1600 (gdb-check-target-async): New defun.
1601 (gud-watch, gdb-stopped): Fix whitespace.
1602 (gdb-get-source-file): Don't try to display the source file if
1603 `gdb-main-file' is nil.
1604
1605 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * align.el: Try to generate fewer markers (bug#10047).
1608 (align--set-marker): New macro.
1609 (align-region): Use it.
1610
1611 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1614
1615 2011-11-29 Chong Yidong <cyd@gnu.org>
1616
1617 * indent.el (indent-for-tab-command, indent-according-to-mode):
1618 Doc fix.
1619 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1620
1621 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
1622
1623 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1624 aware of remote file names. (Bug#10124)
1625
1626 2011-11-29 Chong Yidong <cyd@gnu.org>
1627
1628 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1629
1630 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * files.el (find-file): Don't use force-same-window (bug#10144).
1633 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1634 use pop-to-buffer if the selected window can't be used.
1635 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1636
1637 2011-11-28 Eli Zaretskii <eliz@gnu.org>
1638
1639 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1640 special-mode-map.
1641
1642 2011-11-28 Chong Yidong <cyd@gnu.org>
1643
1644 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1645
1646 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
1647
1648 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1649 gdb-get-source-file-list on gdb-create-source-file-list.
1650
1651 2011-11-26 Eli Zaretskii <eliz@gnu.org>
1652
1653 * whitespace.el (whitespace-newline): Use a different foreground
1654 color for 16-color light-background displays.
1655
1656 2011-11-24 Chong Yidong <cyd@gnu.org>
1657
1658 * window.el (display-buffer--special-action): Doc fix.
1659
1660 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
1661
1662 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1663 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1664 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1665 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1666 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1667 (avl-tree-stack-first):
1668 * emacs-lisp/cconv.el (cconv--analyse-use):
1669 * net/gnutls.el (gnutls-negotiate): Fix typos.
1670
1671 2011-11-24 Glenn Morris <rgm@gnu.org>
1672
1673 * lpr.el (lpr-windows-system, lpr-lp-system):
1674 * mail/binhex.el (binhex-begin-line):
1675 * progmodes/grep.el (grep-history, grep-find-history):
1676 * textmodes/flyspell.el:
1677 * vc/pcvs-defs.el (cvs-global-menu):
1678 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1679 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1680 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1681
1682 * net/tls.el: Fix case of "GnuTLS".
1683
1684 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1685
1686 * version.el (emacs-build-system): Give it a doc-string.
1687
1688 2011-11-24 Juri Linkov <juri@jurta.org>
1689
1690 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1691
1692 2011-11-24 Glenn Morris <rgm@gnu.org>
1693
1694 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1695 if called on a non-mime message just toggle the headers. (Bug#8006)
1696
1697 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1698
1699 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1700 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1701 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1702 (allout-rebullet-heading, allout-open-sibtopic)
1703 (allout-toggle-current-subtree-encryption)
1704 (allout-toggle-subtree-encryption, allout-encrypt-string)
1705 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1706 (allout-distinctive-bullets-string, allout-auto-activation):
1707 * window.el (window-normalize-buffer-to-display):
1708 * progmodes/verilog-mode.el (verilog-batch-indent):
1709 * textmodes/bibtex.el (bibtex-field-braces-opt)
1710 (bibtex-field-strings-opt):
1711 * vc/cvs-status.el (cvs-tree-merge):
1712 Fix typos.
1713
1714 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
1715
1716 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1717 `non-essential' to t, in order to avoid remote connections.
1718
1719 2011-11-23 Eli Zaretskii <eliz@gnu.org>
1720
1721 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1722 On MS-DOS and MS-Windows, compare with loaddefs.el
1723 case-insensitively.
1724
1725 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1726
1727 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1728
1729 2011-11-23 Glenn Morris <rgm@gnu.org>
1730
1731 * paths.el (rmail-file-name): Reformat the doc-string so that it
1732 is picked up.
1733
1734 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1735 (rmail-auto-file): Ignore case in the "special" field names,
1736 as mail-fetch-field does for all others.
1737
1738 * mail/rmail.el (rmail-forward):
1739 * mail/rmailkwd.el (rmail-set-label):
1740 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1741 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1742
1743 * mail/rmail.el (rmail-current-message): Doc fix.
1744
1745 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1746
1747 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1750
1751 2011-11-22 Glenn Morris <rgm@gnu.org>
1752
1753 * mail/rmailmm.el (test-rmail-mime-handler)
1754 (test-rmail-mime-bulk-handler)
1755 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1756
1757 2011-11-21 Juri Linkov <juri@jurta.org>
1758
1759 * calc/calc.el (calc-read-key-sequence):
1760 Let-bind `input-method-function' to nil. (Bug#10018)
1761
1762 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1763
1764 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1765 Tell the caller that the next line needs recomputation, even
1766 though it doesn't start a sexp (bug#10094).
1767
1768 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1771
1772 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1775 Use force-same-window.
1776
1777 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1778
1779 * descr-text.el (describe-char-unicode-data):
1780 * json.el (json-string-escape):
1781 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1782 (Footnote-unicode, Footnote-style-p):
1783 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1784
1785 2011-11-20 Chong Yidong <cyd@gnu.org>
1786
1787 * window.el (replace-buffer-in-windows): Restore interactive spec.
1788
1789 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1792
1793 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1794 (byte-compile-global-not-obsolete-vars): New var.
1795 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1796 Use it.
1797 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1798
1799 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1800
1801 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1802 * progmodes/pascal.el (electric-pascal-equal):
1803 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1804 * xml.el (xml-substitute-special): Fix typos.
1805
1806 2011-11-20 Glenn Morris <rgm@gnu.org>
1807
1808 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1809 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1810 Doc fixes.
1811 (rmail-decode-mime-charset): Mark as obsolete.
1812
1813 * mail/rmailsum.el (rmail-message-regexp-p-1):
1814 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1815 Before using mime functions, check they are set. (Bug#10077)
1816
1817 2011-11-19 Juri Linkov <juri@jurta.org>
1818
1819 * info.el (Info-finder-find-node): Use `package--builtins' instead
1820 of `package-alist'. Use node names formed by the pattern "Keyword "
1821 and the keyword name.
1822
1823 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1824
1825 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
1826
1827 2011-11-19 Juri Linkov <juri@jurta.org>
1828
1829 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1830 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1831 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1832 `old-history', `old-history-forward'. Add let-binding
1833 `window-selected'. Remove calls to `kill-buffer',
1834 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1835 before calling `Info-find-node', so `Info-find-node-2' will reread
1836 the Info file. Restore window positions only when `window-selected'
1837 is non-nil.
1838
1839 2011-11-19 Juri Linkov <juri@jurta.org>
1840
1841 * isearch.el (isearch-lazy-highlight-new-loop):
1842 Remove condition `(not isearch-error)'. (Bug#9918)
1843
1844 * misearch.el (multi-isearch-search-fun): Add condition
1845 `(not bound)' to ignore lazy-highlighting search.
1846 Add the search-failed message "end of multi" when the end of
1847 multi-sequence is reached. Uncapitalize the search-failed
1848 message "Repeat for next buffer".
1849
1850 * info.el (Info-search): Add the search-failed message
1851 "end of the manual" when the end of the manual is reached
1852 in Isearch mode.
1853
1854 2011-11-19 Juri Linkov <juri@jurta.org>
1855
1856 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1857 Use non-destructive `remove' instead of `delete' because
1858 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1859 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1860
1861 2011-11-19 Juri Linkov <juri@jurta.org>
1862
1863 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1864 to nil instead of binding `search-ring' and `regexp-search-ring'.
1865 (Bug#9185)
1866
1867 2011-11-19 Eli Zaretskii <eliz@gnu.org>
1868
1869 * simple.el (line-move): Force movement by logical lines for any
1870 hscrolled window, not only when auto-hscroll-mode is on.
1871 (line-move-visual): Update doc string to that effect. (Bug#10076)
1872
1873 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1874
1875 * language/european.el (macintosh): Define as alias for mac-roman.
1876
1877 2011-11-19 Eli Zaretskii <eliz@gnu.org>
1878
1879 * mail/rmailmm.el (rmail-mime-display-header)
1880 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1881 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1882 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1883 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1884 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1885 of a raw aref.
1886 (rmail-mime-entity-segment): To get past the tagline, move forward
1887 2 more lines, to account for the 2 empty lines that precede and
1888 follow the line with the buttons.
1889 (rmail-mime-update-tagline): Move one more line, to get past the
1890 empty line that follows the buttons in the tagline. (Bug#9520)
1891
1892 2011-11-19 Martin Rudalics <rudalics@gmx.at>
1893
1894 * window.el (window-max-delta-1, window-min-delta-1)
1895 (window-min-size-1, window-state-get-1, window-state-put-1)
1896 (window-state-put-2): Use "window--" prefix.
1897
1898 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1901 (smie-warning-count): New var.
1902 (smie-set-prec2tab): Use it.
1903 (smie-bnf->prec2): Improve warnings. Add docstring.
1904 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1905 (smie-bnf--set-class): New function.
1906 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1907 corner case.
1908
1909 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1910 (compilation-error-properties, compilation-move-to-column):
1911 Handle compilation-first-column while in the target buffer.
1912
1913 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1914 Don't hardcode point-min==1.
1915
1916 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1917 (eshell-rewrite-for-command): Remove workaround.
1918 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1919 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1920 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1921
1922 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1923
1924 2011-11-17 Glenn Morris <rgm@gnu.org>
1925
1926 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1927 Ignore buffer-local generated-autoload-file if it is the same
1928 as the global value. (Bug#10049)
1929
1930 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
1931
1932 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1933 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1934 (reftex-toc-previous-heading, reftex-toc-max-level)
1935 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1936 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1937 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1938 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1939 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1940 (reftex-toc-rename-label, reftex-toc-visit-location)
1941 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1942 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1943 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1944 leaving "*toc*" only for references to the buffer.
1945
1946 2011-11-17 Martin Rudalics <rudalics@gmx.at>
1947
1948 * window.el (window-resize, delete-window, split-window):
1949 Replace window-splits by window-combination-resize.
1950 * cus-start.el (window-splits): Replace by window-combination-resize.
1951
1952 2011-11-17 Glenn Morris <rgm@gnu.org>
1953
1954 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1955 Make bash entry derive from sh entry, not shell entry.
1956
1957 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1960 properties of linked files. (Bug#9879)
1961
1962 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1963 local file name.
1964
1965 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1966
1967 * menu-bar.el (menu-bar-file-menu):
1968 * printing.el (pr-ps-utility):
1969 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1970 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1971 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1972 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1973 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1974 (icalendar--convert-cyclic-to-ical)
1975 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1976 (icalendar--convert-ical-to-diary)
1977 (icalendar--convert-recurring-to-diary)
1978 (icalendar--convert-non-recurring-all-day-to-diary)
1979 (icalendar-import-format-sample):
1980 * progmodes/idlw-shell.el (idlwave-shell-mode):
1981 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1982 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1983 (vhdl-ps-print-init): Fix typos.
1984
1985 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1986
1987 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1988 FSF and collapse date sequence, obscure author/maintainer email address
1989 better, remove extra version line, track relocation of author's webpage.
1990
1991 * progmodes/python.el (python-pdbtrack-input-prompt)
1992 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1993 regular python pdb prompts. Adjustments shamelessly taken exactly as
1994 suggested in EmacsWiki page (tiny change):
1995 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
1996
1997 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1998
1999 * expand.el (expand-pos, expand-index, expand-point):
2000 Remove redundant info from docstring.
2001 (expand-add-abbrevs): Doc fix.
2002 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2003 (expand-sample-perl-mode-expand-list): Fix typos.
2004
2005 * net/dbus.el (dbus-event-member-name):
2006 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2007 * term/pc-win.el (msdos-create-frame-with-faces):
2008 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2009
2010 2011-11-16 Martin Rudalics <rudalics@gmx.at>
2011
2012 * window.el (split-window, window-state-get-1)
2013 (window-state-put-1, window-state-put-2): Rename occurrences of
2014 window-nest to window-combination-limit.
2015 * cus-start.el (window-nest): Rename to window-combination-limit.
2016
2017 2011-11-16 Chong Yidong <cyd@gnu.org>
2018
2019 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2020 regexp (Bug#10033).
2021
2022 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2025 `completing-read' will remove *Completions* and will preserve
2026 current-buffer for us.
2027 (tmm-add-prompt): Users of *Completions* will always (re)set its
2028 major mode.
2029 (tmm-old-comp-map): Remove.
2030
2031 2011-11-16 Glenn Morris <rgm@gnu.org>
2032
2033 * mail/rmailedit.el: Require rmailmm when compiling.
2034 (rmail-old-mime-state): New declaration.
2035 (rmail-edit-current-message): If editing a mime message,
2036 edit the "raw" message from the mbox buffer.
2037 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2038
2039 2011-11-15 Glenn Morris <rgm@gnu.org>
2040
2041 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2042 which wasn't being used. Add optional arg to force given state.
2043 (rmail-mime): Add optional arg to force given state.
2044
2045 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
2046
2047 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2048 * frame.el (display-mm-dimensions-alist):
2049 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2050 (outline-move-subtree-down):
2051 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2052 (newsticker--treeview-do-get-node):
2053 * net/quickurl.el (quickurl-list-buffer-name):
2054 * progmodes/dcl-mode.el (dcl-mode):
2055 * progmodes/gdb-mi.el (gdb-mapcar*):
2056 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2057
2058 2011-11-15 Glenn Morris <rgm@gnu.org>
2059
2060 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2061 in a boolean sense, so just make it a boolean, and fix the doc.
2062 (rmail-show-mime-function, rmail-mime-feature)
2063 (rmail-require-mime-maybe): Doc fixes.
2064 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2065
2066 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2067
2068 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
2069
2070 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2071 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2072 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2073 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2074
2075 2011-11-15 Glenn Morris <rgm@gnu.org>
2076
2077 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2078 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2079 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2080 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2081 (rmail-mime, rmail-show-mime): Doc fixes.
2082
2083 * term/ns-win.el (mode-line-frame-identification):
2084 Leave it alone. (Bug#10051)
2085
2086 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2087
2088 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2089 Handle empty buffers. (Bug#9978)
2090
2091 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
2092
2093 * international/mule.el (define-charset):
2094 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2095 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2096 * progmodes/verilog-mode.el (verilog-backward-token):
2097 * textmodes/ispell.el (lookup-words):
2098 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2099
2100 2011-11-14 Glenn Morris <rgm@gnu.org>
2101
2102 * progmodes/executable.el
2103 (executable-make-buffer-file-executable-if-script-p):
2104 Handle file-modes returning nil.
2105
2106 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2107 message - not necessary, and causes problems. (Bug#9831)
2108
2109 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2110
2111 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2112
2113 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2114 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2115 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2116
2117 2011-11-12 Martin Rudalics <rudalics@gmx.at>
2118
2119 * window.el (window-resize, delete-window): Use window-splits
2120 variable instead of function.
2121 (window-state-get-1, window-state-put-2, window-state-put):
2122 Don't deal with windows' splits status.
2123
2124 2011-11-12 Glenn Morris <rgm@gnu.org>
2125
2126 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2127 (apropos-documentation): Doc fixes.
2128
2129 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
2130
2131 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2132 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2133
2134 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * electric.el (electric-indent-post-self-insert-function): Make it
2137 possible for a char to only indent in some circumstances.
2138 (electric-indent-mode): Simplify.
2139
2140 2011-11-11 Martin Rudalics <rudalics@gmx.at>
2141
2142 * window.el (windows-with-parameter): Remove unused function.
2143 (windows-at-side): Rename to window-at-side-list.
2144 (window-check, window-atom-check, window-atom-check-1)
2145 (window-side-check, window-size-ignore, window-size-fixed-1)
2146 (window-in-direction-2): Prefix with "window--".
2147 (window-tree-1): Rename to window--subtree, fix doc-string.
2148
2149 2011-11-11 Glenn Morris <rgm@gnu.org>
2150
2151 * subr.el (eval-after-load): If FILE is already loaded,
2152 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2153
2154 2011-11-10 Glenn Morris <rgm@gnu.org>
2155
2156 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2157 Call svn via vc-svn-command rather than vc-do-command.
2158 (vc-svn-command): Add --non-interactive. (Bug#9993)
2159 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2160
2161 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2162 Add toggle-read-only. (Bug#7292)
2163 * files.el (toggle-read-only): Mention that it should only
2164 be used interactively. (Bug#10006)
2165
2166 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2169 Adjust regexp for OCaml warnings.
2170
2171 * electric.el (electric-pair-post-self-insert-function): Let user
2172 turn it off buffer-locally (bug#9932).
2173
2174 * progmodes/python.el (python-beginning-of-statement):
2175 Rewrite (bug#2703).
2176
2177 * progmodes/compile.el: Better handle TABs (bug#9749).
2178 (compilation-internal-error-properties)
2179 (compilation-next-error-function): Obey the target buffer's
2180 compilation-error-screen-columns.
2181
2182 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * progmodes/meta-mode.el: Remove obsolete comments.
2185 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2186 Fix typos in docstrings.
2187
2188 2011-11-09 Martin Rudalics <rudalics@gmx.at>
2189
2190 * window.el (window-size-fixed-p): Rewrite doc-string.
2191 (window-resizable-p): Rename to window--resizable-p. Update callers.
2192 (window--resizable): New function. Make all callers of
2193 window-resizable call window--resizable instead.
2194 (window-resizable): Rewrite in terms of window--resizable.
2195
2196 2011-11-08 Glenn Morris <rgm@gnu.org>
2197
2198 * progmodes/delphi.el (delphi-mode-syntax-table):
2199 Let define-derived-mode define a proper syntax table. (Bug#9994)
2200
2201 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * window.el: Stay away from defsubst.
2204 (window-list-no-nils): Remove.
2205 (window-state-get-1, window-state-get): Use backquote instead.
2206
2207 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2208
2209 * emacs-lisp/find-func.el (find-function-read):
2210 Fix incorrect use of default argument in `completing-read'.
2211
2212 2011-11-08 Martin Rudalics <rudalics@gmx.at>
2213
2214 * window.el (display-buffer-function, special-display-function):
2215 Mention display-buffer-record-window but do not mention
2216 help-setup parameter in doc-strings.
2217 (window-min-delta): Fix doc-string typo.
2218
2219 2011-11-08 Chong Yidong <cyd@gnu.org>
2220
2221 * window.el (window-total-height, window-total-width): Doc fix.
2222 (window-body-size): Move from C.
2223 (window-body-height, window-body-width): Move to C.
2224
2225 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * window.el: Make special-display like display-buffer-alist (bug#9532).
2228 (display-buffer--special-action): New function, morphed
2229 from display-buffer--special.
2230 (display-buffer): Use it to handle special-display-buffers at higher
2231 priority (just after display-buffer-alist).
2232 (display-buffer-fallback-action, display-buffer--other-frame-action)
2233 (pop-to-buffer-same-window): Remove display-buffer--special.
2234
2235 2011-11-07 Glenn Morris <rgm@gnu.org>
2236
2237 * calendar/cal-menu.el (cal-menu-set-date-title):
2238 Do nothing if not in a calendar. (Bug#9976)
2239
2240 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * files.el (find-file): Always use selected-window.
2243
2244 2011-11-07 Martin Rudalics <rudalics@gmx.at>
2245
2246 * window.el (window-combinations): Make WINDOW argument
2247 mandatory. Rewrite doc-string.
2248 (walk-window-subtree, window-atom-check, window-min-delta)
2249 (window-max-delta, window--resize-this-window)
2250 (window--resize-root-window-vertically, window-tree)
2251 (balance-windows, window-state-put): Rewrite doc-strings as to
2252 not mention the term "subwindow".
2253 (window--resize-subwindows-skip-p): Rename to
2254 window--resize-child-windows-skip-p.
2255 (window--resize-subwindows-normal): Rename to
2256 window--resize-child-windows-normal.
2257 (window--resize-subwindows): Rename to
2258 window--resize-child-windows.
2259 (window-or-subwindow-p): Rename to window--in-subtree-p.
2260
2261 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2262
2263 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2264 Ensure that mbox format messages end in two newlines (Bug#9974).
2265
2266 2011-11-06 Chong Yidong <cyd@gnu.org>
2267
2268 * window.el (window-combination-p): Function deleted; its
2269 side-effect is not used in any existing code.
2270 (window-combinations, window-combined-p): Call window-*-child
2271 directly.
2272
2273 2011-11-05 Chong Yidong <cyd@gnu.org>
2274
2275 * window.el (window-valid-p): Rename from window-any-p.
2276 (window-size-ignore, window-state-get): Callers changed.
2277 (window-normalize-window): Rename from window-normalize-any-window.
2278 New arg LIVE-ONLY, replacing window-normalize-live-window.
2279 (window-normalize-live-window): Delete.
2280 (window-combination-p, window-combined-p, window-combinations)
2281 (walk-window-subtree, window-atom-root, window-min-size)
2282 (window-sizable, window-sizable-p, window-size-fixed-p)
2283 (window-min-delta, window-max-delta, window-resizable)
2284 (window-resizable-p, window-full-height-p, window-full-width-p)
2285 (window-current-scroll-bars, window-point-1, set-window-point-1)
2286 (window-at-side-p, window-in-direction, window-resize)
2287 (adjust-window-trailing-edge, maximize-window, minimize-window)
2288 (window-deletable-p, delete-window, delete-other-windows)
2289 (record-window-buffer, unrecord-window-buffer)
2290 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2291 (quit-window, split-window, window-state-put)
2292 (set-window-text-height, fit-window-to-buffer)
2293 (shrink-window-if-larger-than-buffer): Callers changed.
2294
2295 2011-11-04 Eli Zaretskii <eliz@gnu.org>
2296
2297 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2298 rfc2047-decode-string.
2299 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2300 warnings.
2301
2302 * window.el (window-body-height, window-body-width): Mention in
2303 the doc string that the return values are in frame's canonical
2304 units. (Bug#9949)
2305
2306 2011-11-03 Alan Mackenzie <acm@muc.de>
2307
2308 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2309 change in cc-engine.el.
2310
2311 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2314
2315 2011-11-02 Martin Rudalics <rudalics@gmx.at>
2316
2317 * window.el (quit-window): Call unrecord-window-buffer after
2318 showing another buffer in the window. (Bug#9937)
2319 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
2320
2321 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
2322
2323 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2324 Accept status with more than 9 shelves. (Bug#9935)
2325 Reported by Colin D Bennett <colin@gibibit.com>.
2326
2327 2011-11-01 Martin Rudalics <rudalics@gmx.at>
2328
2329 * help.el (with-help-window): Don't reference
2330 temp-buffer-show-specifiers in doc-string.
2331
2332 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2333
2334 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2335 menu-item.
2336
2337 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2338
2339 * whitespace.el: New version 13.2.2.
2340 (whitespace-newline-mode): Disable properly. Reported by Sarah
2341 <EmacsWiki>.
2342
2343 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
2344
2345 * net/newst-treeview.el: Remove "Time-stamp".
2346 (newsticker--group-manage-orphan-feeds): Do not call
2347 newsticker--treeview-tree-update.
2348 (newsticker-treeview-update, newsticker-treeview):
2349 Call newsticker--treeview-tree-update if necessary.
2350
2351 2011-10-30 Martin Rudalics <rudalics@gmx.at>
2352
2353 * window.el (window-iso-combination-p, window-iso-combined-p)
2354 (window-iso-combinations): Remove "iso-" infix.
2355 Suggested by Chong Yidong.
2356 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2357 (window-max-delta-1, window-resize, window--resize-siblings)
2358 (window--resize-this-window, adjust-window-trailing-edge)
2359 (split-window, balance-windows-1)
2360 (shrink-window-if-larger-than-buffer):
2361 * calendar/calendar.el (calendar-generate-window):
2362 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
2363
2364 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2367 in place (bug#9907).
2368 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2369 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2370 (eshell-structure-basic-command, eshell-rewrite-while-command)
2371 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2372 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2373 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2374 (eshell-do-pipelines-synchronously, eshell-eval-command):
2375 Use backquotes and prefer setq to set.
2376 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2377 (eshell-macrop): Use functionp.
2378 (eshell-do-eval): Handle multiple expressions in `while' body.
2379
2380 2011-10-30 Chong Yidong <cyd@gnu.org>
2381
2382 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2383 instead of set-mark (Bug#9810).
2384
2385 2011-10-30 Chong Yidong <cyd@gnu.org>
2386
2387 * window.el (split-window-below, split-window-right): Rename from
2388 split-window-above-each-other and split-window-side-by-side
2389 respectively. All callers changed.
2390 (split-window-sensibly, split-window-sensibly): Use them.
2391 (split-window-keep-point): Doc fix.
2392
2393 * isearch.el: Add isearch-scroll property to split-window-below
2394 and split-window-right.
2395
2396 * follow.el (follow-mode):
2397 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2398 * progmodes/ada-xref.el (ada-gdb-application):
2399 * emulation/vip.el (vip-buffer-in-two-windows):
2400 * image-dired.el (image-dired-dired-with-window-configuration):
2401 * dired-x.el (dired-do-find-marked-files):
2402 * dired.el (dired-pop-to-buffer):
2403 * bs.el (bs--show-with-configuration):
2404 * vc/emerge.el (emerge-setup-windows):
2405 * textmodes/two-column.el (2C-two-columns):
2406 * textmodes/reftex-toc.el (reftex-toc):
2407 * progmodes/gdb-mi.el (gdb-setup-windows):
2408 * progmodes/fortran.el (fortran-window-create):
2409 * net/newst-treeview.el (newsticker--treeview-window-init):
2410 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2411 * emulation/tpu-edt.el (tpu-gold-map):
2412 * emulation/crisp.el (crisp-mode-map):
2413 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2414
2415 2011-10-29 Chong Yidong <cyd@gnu.org>
2416
2417 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2418
2419 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2420
2421 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2422 forged Ispell output (Bug#7904).
2423
2424 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2425
2426 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * doc-view.el: Avoid ugly errors about not finding nil.
2429 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2430 (doc-view-dvipdf-program, doc-view-unoconv-program)
2431 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2432 Avoid nil or absolute file name as default value.
2433 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2434
2435 2011-10-28 Alan Mackenzie <acm@muc.de>
2436
2437 * progmodes/cc-defs.el (c-version): -> 5.32.2.
2438
2439 2011-10-28 Alan Mackenzie <acm@muc.de>
2440
2441 Amend the handling of c-beginning/end-of-defun in nested declaration
2442 scopes.
2443
2444 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2445 cc-langs.el. Change it to a defcustom.
2446
2447 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2448 cc-vars.el.
2449
2450 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2451 Prevent "class foo : bar" being spuriously recognized as a label.
2452
2453 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
2454 Add parameter `inclusive' (to include enclosing braces in the region).
2455 (c-widen-to-enclosing-decl-scope): New function.
2456 (c-while-widening-to-decl-block): New macro.
2457 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2458 outward for defun boundaries, and correspondingly change symbol
2459 `respect-enclosure' to `go-outward'.
2460 (c-declaration-limits): Change algorithm to report only the "innermost"
2461 defun's boundaries.
2462
2463 2011-10-28 Deniz Dogan <deniz@dogan.se>
2464
2465 * net/rcirc.el (rcirc-mode): Use hard newlines.
2466
2467 2011-10-28 Alan Mackenzie <acm@muc.de>
2468
2469 Amend to indent and fontify macros "which include their own semicolon"
2470 correctly, using the "virtual semicolon" mechanism.
2471
2472 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
2473
2474 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2475 Recode to scan one line at a time rather than having \n and \r
2476 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
2477 (c-forward-label): Amend for virtual semicolons.
2478 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
2479
2480 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2481 of the new C macros.
2482
2483 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
2484 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2485 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
2486 (c-opt-cpp-macro-define): Make into a full language variable.
2487 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2488 AWK Mode (including \n, \r) removed, no longer needed.
2489
2490 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2491 Invoke c-make-macro-with-semi-re.
2492
2493 * progmodes/cc-vars.el (c-macro-with-semi-re):
2494 (c-macro-names-with-semicolon): New variables.
2495 (c-make-macro-with-semi-re): New function.
2496
2497 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * vc/log-edit.el: Fill empty field rather than adding new one.
2500 (log-edit-add-field): New function.
2501 (log-edit-insert-changelog): Use it.
2502
2503 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2504
2505 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2506
2507 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2510 (gdb--check-interpreter): New function.
2511 (gdb): Use it.
2512
2513 2011-10-27 Glenn Morris <rgm@gnu.org>
2514
2515 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2516 (least-positive-float, least-negative-float)
2517 (least-positive-normalized-float, least-negative-normalized-float)
2518 (float-epsilon, float-negative-epsilon):
2519 Remove unnecessary declarations.
2520
2521 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2522 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2523 (least-positive-float, least-negative-float)
2524 (least-positive-normalized-float, least-negative-normalized-float)
2525 (float-epsilon, float-negative-epsilon): Add doc-strings,
2526 based on those in cl.texi.
2527
2528 * files.el (set-visited-file-name): If the major-mode changed,
2529 reload the local variables. (Bug#9796)
2530
2531 2011-10-27 Chong Yidong <cyd@gnu.org>
2532
2533 * subr.el (change-major-mode-after-body-hook): New hook.
2534 (run-mode-hooks): Run it.
2535
2536 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2537 Use change-major-mode-before-body-hook.
2538
2539 * simple.el (fundamental-mode):
2540 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2541 change introducing fundamental-mode-hook.
2542
2543 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
2546
2547 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
2548
2549 * ido.el (ido-file-name-all-completions-1): Do not require
2550 tramp.el explicitly. (Bug#7583)
2551
2552 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * progmodes/octave-mod.el:
2555 * progmodes/octave-inf.el: Update maintainer.
2556
2557 2011-10-26 Chong Yidong <cyd@gnu.org>
2558
2559 * subr.el (with-wrapper-hook): Rewrite doc.
2560
2561 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
2562
2563 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
2564 filenames "/method:foo:". (Bug#9793)
2565
2566 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2569 (bug#9865).
2570
2571 2011-10-24 Glenn Morris <rgm@gnu.org>
2572
2573 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2574
2575 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
2576
2577 * notifications.el: Add the requirement of a running D-Bus session
2578 bus to the Commentary.
2579
2580 2011-10-24 Juri Linkov <juri@jurta.org>
2581
2582 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2583 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2584 (Bug#9364)
2585
2586 2011-10-24 Juri Linkov <juri@jurta.org>
2587
2588 * info.el (Info-following-node-name-re): Add newline to the list
2589 of allowed characters for leading space. (Bug#9824)
2590
2591 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * progmodes/octave-inf.el (inferior-octave-mode-map):
2594 Fix C-c C-h binding.
2595 * progmodes/octave-mod.el (octave-help): Remove.
2596
2597 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
2598
2599 Sync with Tramp 2.2.3.
2600
2601 * net/tramp-cache.el (top): Pacify byte-compiler using
2602 `init-file-user' and `site-run-file'.
2603
2604 * net/trampver.el: Update release number.
2605
2606 2011-10-23 Chong Yidong <cyd@gnu.org>
2607
2608 * files.el (toggle-read-only): Remove obsolete comment about
2609 version control.
2610
2611 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2612 for toggle-read-only. Note that this hasn't called vc-next-action
2613 since 2008-05-02, though it wasn't documented at the time.
2614
2615 * vc/ediff-init.el (ediff-toggle-read-only-function):
2616 Use toggle-read-only.
2617
2618 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2619
2620 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2621 of c-parse-state.
2622
2623 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2624 correct faulty logical expression.
2625 (c-parse-state-state, c-record-parse-state-state):
2626 (c-replay-parse-state-state): New defvar/defuns.
2627 (c-debug-parse-state): Use new functions.
2628
2629 2011-10-22 Martin Rudalics <rudalics@gmx.at>
2630
2631 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
2632 last fix. Use window-in-direction correctly.
2633
2634 2011-10-21 Chong Yidong <cyd@gnu.org>
2635
2636 * progmodes/idlwave.el (idlwave-mode):
2637 * progmodes/vera-mode.el (vera-mode): No need to set
2638 require-final-newline; that's done in prog-mode.
2639 Suggested by Stefan Monnier.
2640
2641 2011-10-21 Martin Rudalics <rudalics@gmx.at>
2642
2643 * mouse.el (mouse-drag-window-above)
2644 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2645 (mouse-drag-mode-line-1, mouse-drag-header-line)
2646 (mouse-drag-vertical-line-rightward-window): Remove.
2647 (mouse-drag-line): New function.
2648 (mouse-drag-mode-line, mouse-drag-header-line)
2649 (mouse-drag-vertical-line): Call mouse-drag-line.
2650 * window.el (window-at-side-p, windows-at-side): New functions.
2651
2652 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
2653
2654 * tar-mode.el (tar-grind-file-mode):
2655 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2656
2657 2011-10-21 Chong Yidong <cyd@gnu.org>
2658
2659 * progmodes/idlwave.el (idlwave-mode):
2660 * progmodes/vera-mode.el (vera-mode):
2661 Use mode-require-final-newline.
2662
2663 2011-10-20 Glenn Morris <rgm@gnu.org>
2664
2665 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
2666
2667 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2668
2669 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2670
2671 2011-10-20 Chong Yidong <cyd@gnu.org>
2672
2673 * emulation/cua-base.el (cua-mode):
2674 * mail/footnote.el (footnote-mode):
2675 * mail/mailabbrev.el (mail-abbrevs-mode):
2676 * net/xesam.el (xesam-minor-mode):
2677 * progmodes/bug-reference.el (bug-reference-mode):
2678 * progmodes/cap-words.el (capitalized-words-mode):
2679 * progmodes/compile.el (compilation-minor-mode)
2680 (compilation-shell-minor-mode):
2681 * progmodes/gud.el (gud-tooltip-mode):
2682 * progmodes/hideif.el (hide-ifdef-mode):
2683 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2684 * progmodes/subword.el (subword-mode):
2685 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2686 * progmodes/which-func.el (which-function-mode):
2687 * term/tvi970.el (tvi970-set-keypad-mode):
2688 * term/vt100.el (vt100-wide-mode):
2689 * textmodes/flyspell.el (flyspell-mode):
2690 * textmodes/ispell.el (ispell-minor-mode):
2691 * textmodes/nroff-mode.el (nroff-electric-mode):
2692 * textmodes/paragraphs.el (use-hard-newlines):
2693 * textmodes/refill.el (refill-mode):
2694 * textmodes/reftex.el (reftex-mode):
2695 * textmodes/rst.el (rst-minor-mode):
2696 * textmodes/sgml-mode.el (html-autoview-mode)
2697 (sgml-electric-tag-pair-mode):
2698 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2699 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2700 * emulation/crisp.el (crisp-mode):
2701 * emacs-lisp/eldoc.el (eldoc-mode):
2702 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2703 minor mode behavior.
2704
2705 2011-10-19 Juri Linkov <juri@jurta.org>
2706
2707 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2708 the list of hard-coded chars with escape-glyph face.
2709
2710 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2713
2714 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
2715
2716 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2717 running process.
2718
2719 2011-10-19 Glenn Morris <rgm@gnu.org>
2720
2721 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2722 Ignore ignored files. (Bug#9726)
2723
2724 2011-10-19 Chong Yidong <cyd@gnu.org>
2725
2726 Doc fix for minor modes, stating that an omitted argument enables
2727 the mode unconditionally when called from Lisp.
2728
2729 * abbrev.el (abbrev-mode):
2730 * allout.el (allout-mode):
2731 * autoinsert.el (auto-insert-mode):
2732 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2733 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2734 (global-auto-revert-mode):
2735 * battery.el (display-battery-mode):
2736 * composite.el (global-auto-composition-mode)
2737 (auto-composition-mode):
2738 * delsel.el (delete-selection-mode):
2739 * desktop.el (desktop-save-mode):
2740 * dired-x.el (dired-omit-mode):
2741 * dirtrack.el (dirtrack-mode):
2742 * doc-view.el (doc-view-minor-mode):
2743 * double.el (double-mode):
2744 * electric.el (electric-indent-mode, electric-pair-mode):
2745 * emacs-lock.el (emacs-lock-mode):
2746 * epa-hook.el (auto-encryption-mode):
2747 * follow.el (follow-mode):
2748 * font-core.el (font-lock-mode):
2749 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2750 * help.el (temp-buffer-resize-mode):
2751 * hilit-chg.el (highlight-changes-mode)
2752 (highlight-changes-visible-mode):
2753 * hi-lock.el (hi-lock-mode):
2754 * hl-line.el (hl-line-mode, global-hl-line-mode):
2755 * icomplete.el (icomplete-mode):
2756 * ido.el (ido-everywhere):
2757 * image-file.el (auto-image-file-mode):
2758 * image-mode.el (image-minor-mode):
2759 * iswitchb.el (iswitchb-mode):
2760 * jka-cmpr-hook.el (auto-compression-mode):
2761 * linum.el (linum-mode):
2762 * longlines.el (longlines-mode):
2763 * master.el (master-mode):
2764 * mb-depth.el (minibuffer-depth-indicate-mode):
2765 * menu-bar.el (menu-bar-mode):
2766 * minibuf-eldef.el (minibuffer-electric-default-mode):
2767 * mouse-sel.el (mouse-sel-mode):
2768 * msb.el (msb-mode):
2769 * mwheel.el (mouse-wheel-mode):
2770 * outline.el (outline-minor-mode):
2771 * paren.el (show-paren-mode):
2772 * recentf.el (recentf-mode):
2773 * reveal.el (reveal-mode, global-reveal-mode):
2774 * rfn-eshadow.el (file-name-shadow-mode):
2775 * ruler-mode.el (ruler-mode):
2776 * savehist.el (savehist-mode):
2777 * scroll-all.el (scroll-all-mode):
2778 * scroll-bar.el (scroll-bar-mode):
2779 * server.el (server-mode):
2780 * shell.el (shell-dirtrack-mode):
2781 * simple.el (auto-fill-mode, transient-mark-mode)
2782 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2783 (line-number-mode, column-number-mode, size-indication-mode)
2784 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2785 * strokes.el (strokes-mode):
2786 * time.el (display-time-mode):
2787 * t-mouse.el (gpm-mouse-mode):
2788 * tool-bar.el (tool-bar-mode):
2789 * tooltip.el (tooltip-mode):
2790 * type-break.el (type-break-mode-line-message-mode)
2791 (type-break-query-mode):
2792 * view.el (view-mode):
2793 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2794 (global-whitespace-mode, global-whitespace-newline-mode):
2795 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2796
2797 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2798 Fix autogenerated docstring.
2799
2800 2011-10-19 Juri Linkov <juri@jurta.org>
2801
2802 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2803 by checking environment variables "DESKTOP_SESSION" and
2804 "XDG_CURRENT_DESKTOP". (Bug#9779)
2805
2806 2011-10-19 Juri Linkov <juri@jurta.org>
2807
2808 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2809 (browse-url-chromium-program, browse-url-chromium-arguments):
2810 New defcustoms.
2811 (browse-url-default-browser): Check for `browse-url-chromium' and
2812 call `browse-url-chromium-program'.
2813 (browse-url-chromium): New command. (Bug#9779)
2814
2815 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
2816
2817 * facemenu.el (list-colors-duplicates): On Windows, detect more
2818 duplicates by assuming that only colors matching "^System" are
2819 special "system colors". (Bug#9722)
2820
2821 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2824 to distinguish the author from the committer.
2825
2826 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2829
2830 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2831
2832 * international/mule.el (sgml-html-meta-auto-coding-function):
2833 Add support for detecting encoding in HTML5 specified only as
2834 <meta charset="UTF-8">. Implementation just makes http-equiv and
2835 content-type parts from HTML4 encoding string optional. (Bug#9716)
2836
2837 2011-10-18 Glenn Morris <rgm@gnu.org>
2838
2839 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2840
2841 2011-10-18 Chong Yidong <cyd@gnu.org>
2842
2843 * faces.el (cursor): Doc fix.
2844
2845 2011-10-17 Chong Yidong <cyd@gnu.org>
2846
2847 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2848
2849 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
2850
2851 * dirtrack.el (dirtrack): Support shell buffers with path
2852 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2853
2854 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2855
2856 * json.el: Bump version to 1.3 and note change in History.
2857 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2858
2859 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * comint.el (comint-insert-input, comint-send-input)
2862 (comint-get-old-input-default, comint-backward-matching-input)
2863 (comint-next-prompt): Use nil instead of `input' for field property of
2864 past user input (bug#114).
2865
2866 * minibuffer.el (completion--replace): Inherit surrounding properties
2867 (bug#114).
2868 (minibuffer-complete-and-exit): Use it.
2869
2870 * comint.el (comint--table-subvert): Quote the all-completions output
2871 (bug#9160).
2872
2873 2011-10-17 Martin Rudalics <rudalics@gmx.at>
2874
2875 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
2876
2877 * menu-bar.el (menu-bar-file-menu): Add entry for making new
2878 window on right of selected. (Bug#9350) Reword other window
2879 entries and separate them from frame entries.
2880
2881 2011-10-15 Glenn Morris <rgm@gnu.org>
2882
2883 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2884 Doc fixes.
2885
2886 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
2887
2888 * net/network-stream.el (network-stream-open-starttls):
2889 Improve detection of failure due to lack of TLS support.
2890
2891 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2892 putting the input text in front and in bold.
2893
2894 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2897
2898 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2899 empty buffer.
2900
2901 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2902 unread-command-events rather than pushing yet-another event.
2903
2904 2011-10-14 Eli Zaretskii <eliz@gnu.org>
2905
2906 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2907 the explanation of the possible choices. Make the options passed
2908 to completing-read shorter.
2909
2910 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2911
2912 * textmodes/flyspell.el (flyspell-large-region): Make sure
2913 extended character mode is used if defined (Bug#1339).
2914
2915 2011-10-13 Eli Zaretskii <eliz@gnu.org>
2916
2917 * simple.el (what-cursor-position): Fix the display of the
2918 character info for LRE, LRO, RLE, and RLO characters by appending
2919 an invisible PDF.
2920
2921 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2924 even in case of error; add debug spec; simplify data flow.
2925 (with-timeout-handler): Remove.
2926
2927 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
2928
2929 Fix Bug#6019, Bug#9315.
2930
2931 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2932 complete `buffer-file-name', the local file name part could look
2933 remotely (for example on VMS).
2934
2935 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2936 `tramp-run-real-handler'.
2937 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2938 already quoted by '"'.
2939
2940 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2941 Let `file-name-handler-alist' be nil, the local file name part
2942 could look remotely (for example on VMS).
2943
2944 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2947 from here...
2948 (flyspell-post-command-hook): ...to here.
2949
2950 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2953 if not needed.
2954 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2955 using completion. Protect against "slow" callers.
2956 Remove the "message hack".
2957
2958 2011-10-11 Juri Linkov <juri@jurta.org>
2959
2960 * isearch.el (isearch-lazy-highlight-word): New variable.
2961 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2962 Use it. (Bug#9727)
2963
2964 2011-10-11 Glenn Morris <rgm@gnu.org>
2965
2966 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2967 like f90-previous-statement does.
2968
2969 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2970
2971 * eshell/eshell.el (eshell-command): History should be saved
2972 only in interactive use, to avoid error.
2973
2974 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * minibuffer.el (completion-file-name-table): Fix last change,
2977 i.e. ignore normal errors but not the other ones.
2978
2979 2011-10-10 Martin Rudalics <rudalics@gmx.at>
2980
2981 * window.el (special-display-buffer-names)
2982 (special-display-regexps): Remove some remnants of earlier
2983 changes from doc-strings.
2984 (quit-windows-on): New function.
2985
2986 * vc/vc.el (vc-revert, vc-rollback):
2987 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2988 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
2989 (Bug#6183) (Bug#7074) (Bug#7447)
2990
2991 2011-10-09 Martin Rudalics <rudalics@gmx.at>
2992
2993 * window.el (frame-auto-hide-function): Add version tag.
2994 (Bug#9699)
2995
2996 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
2997
2998 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2999 condition.
3000
3001 2011-10-09 Leo Liu <sdl.web@gmail.com>
3002
3003 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3004 (Bug#9701)
3005
3006 2011-10-08 Glenn Morris <rgm@gnu.org>
3007
3008 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3009 before the first code statement zero indent. (Bug#9690)
3010
3011 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
3012
3013 * simple.el (count-words-region): Always count in the region.
3014 Report the number of lines and characters too.
3015 (count-words): New command, which counts in the buffer if the
3016 region is inactive, as count-words-region used to.
3017 (count-words--message): New function. Handle plurals.
3018 (count-lines-region): Make it an alias for count-words-region.
3019
3020 * bindings.el (esc-map): Replace count-lines-region with
3021 count-words-region.
3022
3023 2011-10-08 Martin Rudalics <rudalics@gmx.at>
3024
3025 * window.el (window--delete): Delete dedicated frame
3026 unconditionally when argument KILL is non-nil. (Bug#9699)
3027 (switch-to-buffer): Fix doc-string typo.
3028
3029 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3030
3031 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
3032
3033 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
3034
3035 * bindings.el ([M-left],[M-right]): Bind to left-word and
3036 right-word respectively.
3037
3038 2011-10-07 Glenn Morris <rgm@gnu.org>
3039
3040 * cus-start.el (debug-on-quit): Fix custom type.
3041
3042 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3043
3044 * subr.el (define-key-after): Clarify that the function is not
3045 useful for non-menu keymaps.
3046
3047 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3048
3049 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3050
3051 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
3052 in current minibuffer (Fix bug with recursive minibuffers).
3053
3054 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
3055
3056 * progmodes/gdb-mi.el (gdb): Doc fix.
3057
3058 2011-10-05 Martin Rudalics <rudalics@gmx.at>
3059
3060 * window.el (frame-auto-hide-function): New option replacing
3061 frame-auto-delete. Suggested by Stefan Monnier.
3062 (window--delete): Call frame-auto-hide-function instead of
3063 investigating frame-auto-delete.
3064 (window-point-1, set-window-point-1): New functions.
3065 (window-in-direction, record-window-buffer, window-state-get-1)
3066 (display-buffer-record-window): Use window-point-1 instead of
3067 window-point.
3068 (set-window-buffer-start-and-point): Use set-window-point-1.
3069
3070 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3073
3074 2011-10-05 Glenn Morris <rgm@gnu.org>
3075
3076 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3077 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3078
3079 2011-10-05 Leo Liu <sdl.web@gmail.com>
3080
3081 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3082 works with buffer object.
3083
3084 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3085
3086 * mpc.el (mpc-tool-bar-map): Add labels.
3087
3088 2011-10-04 Glenn Morris <rgm@gnu.org>
3089
3090 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3091
3092 2011-10-04 Martin Rudalics <rudalics@gmx.at>
3093
3094 * window.el (window--delete): New function.
3095 (frame-auto-delete): Resuscitate option.
3096 (bury-buffer, replace-buffer-in-windows)
3097 (quit-window): Rewrite using window--delete.
3098 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3099 Pass display-buffer-mark-dedicated to window--display-buffer-2
3100 (Bug#9639).
3101
3102 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3105 returns a list (bug#9554). Add remote file name completion.
3106 * comint.el (comint--table-subvert): Curry and get quote&unquote
3107 functions as arguments.
3108 (comint--complete-file-name-data): Adjust call accordingly.
3109 * pcomplete.el (pcomplete--table-subvert): Remove.
3110 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3111
3112 * minibuffer.el (completion-table-case-fold): Use currying.
3113 (completion--styles-type, completion--cycling-threshold-type):
3114 New constants.
3115 (completion-styles, completion-category-overrides)
3116 (completion-cycle-threshold): Use them.
3117 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3118 completion-table-case-fold.
3119
3120 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
3121
3122 * minibuffer.el (completion-category-overrides): Fix type of styles
3123 and add more user friendly tags (bug#9660).
3124
3125 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3128 (mule-input-method-string): New widget.
3129 (default-input-method, language-info-custom-alist): Use it.
3130
3131 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * pcomplete.el: Require comint.
3134 (pcomplete--common-suffix): Remove.
3135 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3136 (pcomplete--table-subvert): Sync with comint--table-subvert.
3137 (pcomplete--entries): Use comint-completion-file-name-table.
3138 * comint.el (comint-unquote-filename): Simplify.
3139 (comint-completion-file-name-table): New function (bug#9616).
3140 (comint--complete-file-name-data): Use it.
3141
3142 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3143 (pcmpl-gnu-tar-buffer): Remove.
3144 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
3145 around. Make sure pcomplete-suffix-list is only changed temporarily.
3146 Don't look inside the tar's file if it's too large.
3147
3148 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
3149
3150 * cus-edit.el (custom-mode-map):
3151 * epa.el (epa-key-list-mode-map):
3152 * man.el (Man-mode-map):
3153 * startup.el (splash-screen-keymap):
3154 * simple.el (special-mode-map): Use scroll-up-command and
3155 scroll-down-command.
3156
3157 * progmodes/idlw-help.el (idlwave-help-mode-map):
3158 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3159 * net/newst-plainview.el (newsticker-mode-map):
3160 * emulation/ws-mode.el (wordstar-mode-map):
3161 * emulation/vi.el (vi-com-map):
3162 * calc/calc-graph.el (calc-graph-show-dumb):
3163 * term/sun.el (terminal-init-sun):
3164 * term/ns-win.el (global-map):
3165 * progmodes/grep.el (grep-mode-map):
3166 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3167 * mail/rmail.el (rmail-mode-map):
3168 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3169
3170 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3171 custom-safe-themes as special.
3172
3173 2011-10-01 Julien Danjou <julien@danjou.info>
3174
3175 * notifications.el (notifications-notify): Fix docstring.
3176
3177 2011-10-01 Per Starbäck <per@starback.se>
3178
3179 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3180
3181 2011-09-30 Martin Rudalics <rudalics@gmx.at>
3182
3183 * startup.el (command-line-1): Fix last fix by inserting
3184 initial-scratch-message into *scratch* before displaying it.
3185 (Bug#9605) and (Bug#9636)
3186
3187 2011-09-29 Eli Zaretskii <eliz@gnu.org>
3188
3189 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3190 window is hscrolled, move by logical lines. (Bug#9607)
3191 (line-move-visual): Update the doc string to the above effect.
3192
3193 2011-09-29 Martin Rudalics <rudalics@gmx.at>
3194
3195 * window.el (display-buffer-record-window): When WINDOW is the
3196 selected window use `point' instead of `window-point'. (Bug#9626)
3197
3198 * startup.el (command-line-1): Use insert-before-markers when
3199 inserting initial-scratch-message. (Bug#9605)
3200
3201 * help.el (help-window): Remove variable.
3202
3203 2011-09-29 Glenn Morris <rgm@gnu.org>
3204
3205 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3206
3207 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
3208
3209 * descr-text.el (describe-char-categories): Accept category
3210 descriptions more than one line long.
3211
3212 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * simple.el (delete-trailing-whitespace): Fix last change.
3215
3216 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3217 Don't confuse "y => 3" as the beginning of a `y' operation.
3218
3219 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3220 object has more than 4 slots (bug#9613).
3221
3222 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
3223
3224 * subr.el (with-output-to-temp-buffer):
3225 * net/quickurl.el (quickurl, quickurl-browse-url):
3226 Fix typos in docstrings.
3227
3228 2011-09-27 Eli Zaretskii <eliz@gnu.org>
3229
3230 * minibuffer.el (completion-styles)
3231 (completion-category-overrides): Cross reference each other in doc
3232 strings.
3233
3234 2011-09-27 Glenn Morris <rgm@gnu.org>
3235
3236 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3237 to split-string. (Bug#9606)
3238
3239 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3240
3241 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3242 (bug#9615).
3243
3244 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
3245
3246 * emacs-lisp/package.el (list-packages): Fix echo area message.
3247
3248 2011-09-27 Leo Liu <sdl.web@gmail.com>
3249
3250 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3251
3252 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
3253
3254 * net/dbus.el (dbus-unregister-object): Don't release services for
3255 registered signals. (Bug#9581)
3256
3257 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3258
3259 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3260 function that picks between cfengine 2 and 3 support
3261 automatically. Update docs accordingly.
3262
3263 2011-09-22 Kenichi Handa <handa@m17n.org>
3264
3265 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3266 ZERO.
3267 (indian-itrans-v5-table-for-tamil): New variable.
3268 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3269
3270 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3271
3272 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3273 that's true if the current command involved collapsing of text.
3274 It's reset to false at the beginning of the next command.
3275 (allout-post-command-business): Move the cursor to the beginning
3276 of entry if the cursor is hidden and collapsing activity just
3277 happened.
3278
3279 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
3280
3281 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3282 tracking (Bug#9541).
3283
3284 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
3285
3286 * net/newst-reader.el (newsticker-html-renderer)
3287 (newsticker-show-news): Automatically load html rendering package
3288 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3289 because w3m-fill-column is let-bound" and the error "Symbol's value
3290 as variable is void: w3m-fill-column".
3291
3292 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3295 Release services only if they are defined. (Bug#9581)
3296
3297 2011-09-23 Richard Stallman <rms@gnu.org>
3298
3299 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3300 distinguish start of paragraph from start of its text.
3301
3302 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3303
3304 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3305 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3306 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3307
3308 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3309
3310 * international/mule-diag.el (mule-diag): Insert a newline after
3311 each fontset description.
3312
3313 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * simple.el (delete-trailing-whitespace):
3316 Document last change; simplify.
3317
3318 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3319
3320 * simple.el (delete-trailing-whitespace): Also delete
3321 extra newlines at the end of the buffer.
3322
3323 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3324 (picture-newline): Use forward-line so as to ignore fields.
3325
3326 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * subr.el (with-wrapper-hook): Fix edebug spec.
3329
3330 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3331
3332 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3333 (bug#4538).
3334
3335 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3338 Fix nasty bug using wrong cached values.
3339
3340 2011-09-23 Alan Mackenzie <acm@muc.de>
3341
3342 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3343
3344 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
3345
3346 * window.el (pop-to-buffer): Ensure right window is selected if we
3347 chose another frame.
3348
3349 2011-09-22 Eli Zaretskii <eliz@gnu.org>
3350
3351 * simple.el (what-cursor-position): Use get-char-property-change
3352 and next-single-char-property-change, to be able to show display
3353 properties that come from overlays as well as text properties.
3354
3355 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
3356
3357 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3358
3359 * cmuscheme.el (run-scheme, switch-to-scheme):
3360 * cus-edit.el (customize-group, custom-buffer-create)
3361 (customize-browse):
3362 * info.el (info):
3363 * shell.el (shell):
3364 * mail/sendmail.el (mail):
3365 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3366
3367 2011-09-22 Richard Stallman <rms@gnu.org>
3368
3369 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3370 move back only to line beg, don't move back over blank lines.
3371
3372 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * files.el (copy-directory): Set directory attributes only in case
3375 they could be retrieved from the source directory. (Bug#9565)
3376
3377 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3378
3379 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3380 (hs-find-block-beginning, hs-hide-level-recursive):
3381 Ignore strings as well as comments. (Bug#9502)
3382
3383 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3384
3385 * progmodes/sql.el (sql-comint-postgres):
3386 Convert port number to a string. (Bug#9566)
3387
3388 2011-09-22 Martin Rudalics <rudalics@gmx.at>
3389
3390 * window.el (quit-window): Undedicate window when switching to
3391 previous buffer. Reported by Thierry Volpiatto
3392 <thierry.volpiatto@gmail.com>.
3393 (special-display-popup-frame): When popping up a new frame reset
3394 its previous buffers to nil. Simplify code.
3395
3396 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
3397
3398 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3399 and process filter, as done also in `shell-command'.
3400
3401 2011-09-21 Martin Rudalics <rudalics@gmx.at>
3402
3403 * window.el (set-window-buffer-start-and-point):
3404 Call set-window-start with NOFORCE argument t.
3405 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3406 (quit-window): Reword doc-string. Handle new format of
3407 quit-restore parameter. Don't delete window if it has a
3408 previous buffer we can show instead of the present one.
3409 (display-buffer-record-window): Rewrite using a new format for
3410 the quit-restore window parameter
3411 (special-display-popup-frame, display-buffer-same-window)
3412 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3413 (display-buffer-pop-up-window, display-buffer-use-some-window):
3414 Adapt symbol passed to display-buffer-record-window.
3415 * help.el (help-window-setup): Handle new format of quit-restore
3416 parameter.
3417
3418 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * faces.el (face-list): Fix docstring (bug#9564).
3421
3422 * window.el (display-buffer--action-function-custom-type):
3423 Don't include internal functions in the Custom interface.
3424
3425 2011-09-20 Juri Linkov <juri@jurta.org>
3426
3427 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3428 (Info-forward-node, Info-backward-node, Info-next-preorder)
3429 (Info-last-preorder): Use it. (Bug#9528)
3430
3431 2011-09-20 Juri Linkov <juri@jurta.org>
3432
3433 * info.el (Info-last-preorder): Visit last menu item only when
3434 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3435
3436 2011-09-20 Julien Danjou <julien@danjou.info>
3437
3438 * password-cache.el (password-cache-remove): Remove entries even if the
3439 value is nil, so that password with a nil value (negative caching) is
3440 possible to invalidate.
3441
3442 2011-09-20 Lawrence Mitchell <wence@gmx.li>
3443
3444 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3445 all whitespace around breakpoint. (Bug#9553)
3446 (f90-find-breakpoint): Only break at whitespace inside a comment.
3447
3448 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * minibuffer.el (completion-file-name-table): Keep track of errors.
3451 (completion-table-with-predicate): Handle the case where pred1 is nil.
3452 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3453
3454 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3457 (debugger-return-value): Signal an error if the debugging context does
3458 not await any return value.
3459
3460 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3461 * image-mode.el (image-toggle-display-text)
3462 (image-toggle-display-image): Stay away from evil `intangible'.
3463
3464 2011-09-19 Leo Liu <sdl.web@gmail.com>
3465
3466 * replace.el (occur-revert-arguments): Make it permanent-local.
3467 (occur-mode): Don't call font-lock-defontify.
3468
3469 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
3470
3471 * net/ldap.el (ldap-search-internal): Don't push empty search
3472 result (Bug#9508).
3473
3474 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3477
3478 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
3479
3480 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3481 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3482
3483 2011-09-18 Juri Linkov <juri@jurta.org>
3484
3485 * buff-menu.el (Buffer-menu-mode-map):
3486 * dired.el (dired-mode-map):
3487 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3488 (lisp-interaction-mode-map):
3489 * emacs-lisp/package.el (package-menu-mode-map):
3490 * epa.el (epa-key-list-mode-map):
3491 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3492 (menu-bar-options-menu):
3493 * outline.el (outline-mode-menu-bar-map):
3494 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3495 * vc/vc-dir.el (vc-dir-menu-map):
3496 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3497 Capitalize non-function content words in menu item strings.
3498
3499 * dired.el (dired-mode-map): Add menu item for
3500 `image-dired-dired-toggle-marked-thumbs'.
3501
3502 2011-09-18 Juri Linkov <juri@jurta.org>
3503
3504 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3505 to `isearch-case-fold-search' and restore its original value
3506 after the `isearch-mode' call.
3507
3508 2011-09-18 Juri Linkov <juri@jurta.org>
3509
3510 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3511 because `zgrep' returns 1 for successful matches (bug#9226).
3512
3513 2011-09-18 Juri Linkov <juri@jurta.org>
3514
3515 * info.el (Info-extract-menu-node-name): Check the second match
3516 for empty string (second test-case of bug#9528).
3517 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3518 intermediate nodes to the history (first test-case of bug#9528).
3519
3520 2011-09-18 Juri Linkov <juri@jurta.org>
3521
3522 * info.el (Info-mode-syntax-table): New variable.
3523 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
3524
3525 2011-09-18 Juri Linkov <juri@jurta.org>
3526
3527 * info.el (Info-file-supports-index-cookies):
3528 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3529 outputs one more line for long file names (bug#4142).
3530
3531 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
3532
3533 * newcomment.el (comment-normalize-vars): If prompting for
3534 comment-start, set comment-start-skip too (Bug#8424).
3535
3536 2011-09-18 Johan Bockgård <bojohan@gnu.org>
3537
3538 * icomplete.el: Fix previous fix of Bug#5849.
3539 (icomplete-mode): Don't set completion-show-inline-help.
3540 (icomplete-minibuffer-setup): Set completion-show-inline-help
3541 locally during icompletion.
3542
3543 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
3544
3545 * woman.el (woman2-process-escapes): Don't delete unrecognized
3546 escapes (Bug#7843).
3547
3548 * files.el (inhibit-first-line-modes-regexps): Add image files.
3549 (hack-local-variables-prop-line): Return nil for malformed
3550 prop-lines (Bug#9044).
3551
3552 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
3553
3554 * net/tramp.el (top): Don't require 'shell.
3555 (tramp-methods): Fix docstring.
3556 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
3557 Return complete remote file name. Handle "smb" case.
3558 Use `tramp-tmpdir', if defined for the respective method.
3559 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3560
3561 * net/tramp-compat.el (top): Require 'shell.
3562
3563 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3564 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3565 `tramp-current-host'.
3566 (tramp-get-remote-tmpdir): Remove.
3567
3568 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3569 `tramp-tmpdir' entries.
3570 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3571 (tramp-smb-handle-file-attributes): Ignore errors.
3572 (tramp-smb-wait-for-output): Check also for process end.
3573
3574 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3575
3576 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3577 when sending QUIT (bug#9312).
3578
3579 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
3580
3581 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3582 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3583 occur-mode-display-occurrence.
3584 (occur-edit-mode): Add usage message.
3585 (occur-cease-edit): New command.
3586 (occur-after-change-function): Use text properties to find the
3587 position of the prefix text.
3588 (occur-engine): Set stickiness of prefix text properties.
3589
3590 2011-09-17 Glenn Morris <rgm@gnu.org>
3591
3592 * progmodes/etags.el (complete-tag):
3593 Fix call to completion-in-region. (Bug#9526)
3594
3595 2011-09-17 Juri Linkov <juri@jurta.org>
3596
3597 * textmodes/ispell.el (ispell-word): Add to the error message
3598 the word, ispell program name and current dictionary (bug#9121).
3599 (ispell-tex-arg-end): Capitalize "error" in the error message.
3600
3601 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3602
3603 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3604 check. (Bug#4251)
3605
3606 2011-09-17 Juri Linkov <juri@jurta.org>
3607
3608 * window.el (window-safe-min-height, window-safe-min-width):
3609 Fix typos (followup to bug#9522).
3610
3611 2011-09-17 Sven Joachim <svenjoac@gmx.de>
3612
3613 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3614
3615 2011-09-16 Eli Zaretskii <eliz@gnu.org>
3616
3617 * simple.el (line-move): If goal-column is set, move by logical
3618 lines, not by display lines. (Bug#971)
3619 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3620 to reflect the above change.
3621
3622 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * image.el (imagemagick-register-types): Use regexp-opt.
3625
3626 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
3627
3628 * window.el (display-buffer-base-action): Rename from
3629 display-buffer-default-action. Make default value empty.
3630 (display-buffer-overriding-action): Convert to defvar.
3631 (display-buffer-fallback-action): New var.
3632
3633 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
3634
3635 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3636 declaration.
3637 (package--add-to-archive-contents): If there is a duplicate entry
3638 with an older version, remove it.
3639 (package-menu-mark-delete, package-menu-mark-install)
3640 (package-menu-mark-unmark): Make unused args optional.
3641 (package-menu-mark-obsolete-for-deletion):
3642 Use package-menu-get-status instead of a regexp search.
3643 (package-menu-get-status): Use tabulated-list-entry.
3644 (package-menu-mark-upgrades): New command.
3645 (package-menu-mode-map): Bind it to U. Add it to menu bar.
3646 (package-menu-execute): Do installation before deletion.
3647 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3648 instead of checking major-mode.
3649 (package-menu--find-upgrades): New function.
3650
3651 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3652
3653 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3654 passwords in the log buffer.
3655 (smtpmail-process-filter): Update the process marker so that the
3656 "broken by peer" status message is inserted in the right place.
3657
3658 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3661 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3662 bibtex-completion-at-point-function.
3663 (bibtex-completion-at-point-function): Use them.
3664
3665 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3666
3667 * mpc.el (mpc-constraints-tag-lookup): New function.
3668 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3669 also to browser "album|playlist".
3670
3671 2011-09-14 Juri Linkov <juri@jurta.org>
3672
3673 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3674 (isearch-edit-string): Use length of `isearch-string' when
3675 `isearch-fail-pos' returns nil.
3676 (isearch-message): Remove duplicate code and call
3677 `isearch-fail-pos' with arg `t'.
3678
3679 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
3680
3681 * replace.el (occur-mode-goto-occurrence): Don't force using other
3682 window (Bug#9499).
3683
3684 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3685
3686 2011-09-14 Martin Rudalics <rudalics@gmx.at>
3687
3688 * window.el (display-buffer-window): Remove.
3689 (display-buffer-record-window): Use help-setup window parameter
3690 instead of variable display-buffer-window.
3691 (display-buffer-function, special-display-buffer-names)
3692 (special-display-function): Mention help-setup parameter instead
3693 of display-buffer-window in doc-string.
3694 * help.el (help-window-setup): New argument help-window.
3695 Use help-window-setup parameter instead of display-buffer-window.
3696 Reword some messages.
3697 (with-help-window): Pass window used for displaying the buffer
3698 to help-window-setup. Don't set display-buffer-window.
3699
3700 2011-09-13 Glenn Morris <rgm@gnu.org>
3701
3702 * emacs-lisp/debug.el (debugger-make-xrefs):
3703 Preserve point. (Bug#9462)
3704
3705 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
3706
3707 * window.el (window-deletable-p): Use next-frame.
3708
3709 2011-09-13 Martin Rudalics <rudalics@gmx.at>
3710
3711 * window.el (window-auto-delete): Remove.
3712 (window-deletable-p): Remove argument FORCE. Don't deal with
3713 dedication and previous buffers.
3714 (switch-to-prev-buffer): Don't delete window.
3715 (delete-windows-on): Delete a window's frame if and only if the
3716 window is dedicated.
3717 (replace-buffer-in-windows): Delete buffer's window or frame if
3718 and only if window is dedicated.
3719 (quit-window): Handle quit-restore as before last change.
3720 (bury-buffer): Delete window only if window-deletable-p returns t.
3721
3722 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
3723
3724 * window.el (window-deletable-p): Never delete the last frame on a
3725 given terminal.
3726
3727 2011-09-13 Glenn Morris <rgm@gnu.org>
3728
3729 * help.el (describe-key-briefly): Copy previous standard-output change.
3730
3731 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
3732
3733 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3734
3735 2011-09-13 Glenn Morris <rgm@gnu.org>
3736
3737 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3738 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3739
3740 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
3741
3742 * dired-aux.el (dired-mark-read-string): Don't return default
3743 value on empty input (Bug#9361).
3744 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3745 Omit initial minibuffer contents.
3746 (dired-do-chmod): Signal an error on empty input.
3747 (dired-mark-read-string): Don't return default on empty input.
3748
3749 * files.el (file-modes-symbolic-to-number): Doc fix.
3750
3751 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * international/mule-cmds.el (ucs-completions): Remove.
3754 (read-char-by-name): Use complete-with-action instead; add metadata.
3755
3756 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
3757
3758 * window.el (display-buffer--action-function-custom-type)
3759 (display-buffer--action-custom-type): New vars.
3760 (display-buffer-alist, display-buffer-default-action)
3761 (display-buffer-overriding-action): Add defcustom types.
3762
3763 * frame.el (delete-other-frames): Doc fix (Bug#276).
3764
3765 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3766
3767 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3768
3769 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
3770
3771 Change modes that used same-window-* vars to use switch-to-buffer.
3772
3773 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3774 Use switch-to-buffer.
3775
3776 * cus-edit.el (customize-group, custom-buffer-create)
3777 (customize-browse, custom-buffer-create-other-window):
3778 Use switch-to-buffer or switch-to-buffer-other-window.
3779
3780 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3781 (Info-prev, Info-up, Info-speedbar-goto-node)
3782 (info-display-manual): Use switch-to-buffer.
3783 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3784
3785 * mail/sendmail.el (mail): Use switch-to-buffer.
3786 (mail-recover): Use switch-to-buffer-other-window.
3787
3788 * cmuscheme.el (run-scheme, switch-to-scheme):
3789 * ielm.el (ielm):
3790 * shell.el (shell):
3791 * net/rlogin.el (rlogin):
3792 * net/telnet.el (telnet, rsh):
3793 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3794
3795 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3798
3799 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3800
3801 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3802 so don't mention it (bug#9301).
3803 (dired-sort-toggle-or-edit): Clarify string further.
3804
3805 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3806 match `x', `w32' and `ns', like the manual says (bug#9029).
3807
3808 * subr.el (eval-after-load): Doc string clarification (bug#9125).
3809 (process-kill-buffer-query-function): Mention the buffer name in
3810 the query.
3811
3812 * image-mode.el (image-next-line): The line parameter is mandatory
3813 (bug#9258).
3814
3815 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3816 which can be useful (bug#9301).
3817
3818 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3819
3820 * subr.el (match-string): Mention that the current buffer should
3821 be the same as the search was done in (bug#9282).
3822
3823 * facemenu.el: Disable the remove-* commands if the mark isn't
3824 active (bug#9162).
3825
3826 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
3827
3828 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3829 of display-buffer.
3830 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3831
3832 * replace.el (occur-mode-goto-occurrence)
3833 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3834 and display-buffer.
3835
3836 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3837 display-buffer.
3838
3839 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3840 special-display and same-window variables.
3841 (mail-other-window): Use switch-to-buffer-other-window.
3842 (mail-other-frame): USe switch-to-buffer-other-frame.
3843
3844 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3845 Use display-buffer-other-frame.
3846 (gdb-display-gdb-buffer): Use pop-to-buffer.
3847
3848 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3849
3850 * progmodes/python.el: Don't set same-window-buffer-names.
3851
3852 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3853
3854 * window.el (display-buffer-alist): Add *Python*.
3855
3856 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
3857
3858 * window.el (display-buffer-alist): Add entry for buffers
3859 previously handled same-window-*.
3860 (display-buffer-alist, display-buffer-default-action)
3861 (display-buffer-overriding-action): Mark as risky.
3862 (display-buffer-alist): Document action function changes.
3863 (display-buffer--same-window-action)
3864 (display-buffer--other-frame-action): New variables.
3865 (switch-to-buffer, display-buffer-other-frame): Use them.
3866 (display-buffer): Rename reuse-frame entry to reusable-frames.
3867 (display-buffer-reuse-selected-window): Function deleted.
3868 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3869 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3870 (display-buffer-special): New function.
3871 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3872 display-buffer-reuse-or-pop-window. Split off special-display
3873 part into display-buffer-special.
3874 (display-buffer-use-some-window): Don't perform any special
3875 pop-up-frames handling.
3876 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
3877 (display-buffer--maybe-same-window): Rename from
3878 display-buffer-maybe-same-window.
3879
3880 * info.el: Don't set same-window-regexps.
3881 (info-setup): New function.
3882 (info-other-window, info): Call it.
3883
3884 * cus-edit.el: Don't set same-window-regexps.
3885 (customize-group): New argument.
3886 (customize-group-other-window): Use it.
3887 (customize-face, customize-face-other-window): Likewise.
3888 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3889
3890 * net/rlogin.el:
3891 * net/telnet.el:
3892 * progmodes/gud.el: Don't set same-window-regexps.
3893
3894 * cmuscheme.el:
3895 * ielm.el:
3896 * shell.el:
3897 * mail/sendmail.el:
3898 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3899
3900 2011-09-10 Juri Linkov <juri@jurta.org>
3901
3902 * isearch.el (isearch-edit-string): Remove obsolete mention of
3903 `C-w' (`isearch-yank-word-or-char') from docstring.
3904 (isearch-query-replace): Fix typo in docstring (bug#9466).
3905
3906 2011-09-10 Juri Linkov <juri@jurta.org>
3907
3908 * paren.el (show-paren-function): Don't show escaped parens.
3909 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3910
3911 2011-09-10 Eli Zaretskii <eliz@gnu.org>
3912
3913 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3914 (mm-default-file-encoding): Remove autoload forms, they are
3915 replaced with autoload cookies in mml.el and mm-encode.el.
3916 (mail-add-attachment): New command.
3917 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3918 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3919 the doc string.
3920 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3921
3922 2011-09-10 Reuben Thomas <rrt@sc3d.org>
3923
3924 * simple.el (count-words-region): Use buffer if there's no region
3925 (bug#9429).
3926
3927 2011-09-09 Juri Linkov <juri@jurta.org>
3928
3929 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3930 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3931 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3932
3933 2011-09-09 Alan Mackenzie <acm@muc.de>
3934
3935 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3936 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3937
3938 2011-09-09 Eli Zaretskii <eliz@gnu.org>
3939
3940 Fix for Savannah bug#9392.
3941 * simple.el (mail-encode-mml): New defvar.
3942
3943 * mail/rmail.el (mail-encode-mml): Add a defvar.
3944 (rmail-enable-mime-composing): Default to t.
3945 (rmail-forward): Use MIME method of forwarding only if both
3946 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3947 Set mail-encode-mml non-nil if the MIME method was used.
3948
3949 * mail/sendmail.el (mml-to-mime): Add autoload form.
3950 (mail-encode-mml): Add a defvar.
3951 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3952 to nil.
3953 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3954 message through mml-to-mime, and reset mail-encode-mml to nil.
3955
3956 2011-09-09 Glenn Morris <rgm@gnu.org>
3957
3958 * woman.el (woman-if-body): When processing an .el block,
3959 do not delete the next .el block as well. (Bug#9447)
3960 (woman-special-characters): Add oq, cq, and hy characters.
3961
3962 2011-09-08 Martin Rudalics <rudalics@gmx.at>
3963
3964 * window.el (window-deletable-p): Make sure window is live before
3965 invoking window-prev-buffers.
3966
3967 2011-09-08 Leo Liu <sdl.web@gmail.com>
3968
3969 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3970
3971 2011-09-08 Juri Linkov <juri@jurta.org>
3972
3973 * progmodes/compile.el (compilation-environment): Make it
3974 a defcustom (bug#8340).
3975
3976 2011-09-08 Martin Rudalics <rudalics@gmx.at>
3977
3978 * window.el (frame-auto-delete): Rename to window-auto-delete.
3979 Make it control auto-deletion of windows and/or frames.
3980 (window-deletable-p): New argument FORCE. Rewrite conditions
3981 for deleting window/frame. (Bug#9419)
3982 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3983 Rewrite handling of case when window/frame can be deleted.
3984 (delete-windows-on): Call window-deletable-p with new FORCE
3985 argument t. (Bug#9456)
3986
3987 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
3988
3989 * help-mode.el (help-mode): Restore autoload.
3990
3991 2011-09-07 Juri Linkov <juri@jurta.org>
3992
3993 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3994 `compilation-environment'. Set buffer-local
3995 `compilation-environment' to `thisenv' later after (funcall mode).
3996 (Bug#8340)
3997
3998 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3999 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4000 instead of replacing its value. (Bug#8340)
4001
4002 2011-09-07 Juri Linkov <juri@jurta.org>
4003
4004 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4005 based on text properties put by `grep-filter' instead of matching
4006 escape sequences.
4007 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4008 to the value of `grep-error-screen-columns' (bug#9438).
4009
4010 2011-09-07 Juri Linkov <juri@jurta.org>
4011
4012 * simple.el (next-error-highlight, next-error-highlight-no-select):
4013 Doc fix (bug#9432).
4014
4015 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4016
4017 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4018 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4019
4020 2011-09-07 Leo Liu <sdl.web@gmail.com>
4021
4022 * net/rcirc.el (rcirc-mode): Conditionally initialize
4023 rcirc-input-ring.
4024
4025 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * emacs-lisp/find-func.el (find-function-C-source): Only set
4028 find-function-C-source-directory after checking that we found a source
4029 file there (bug#9440).
4030
4031 2011-09-06 Alan Mackenzie <acm@muc.de>
4032
4033 * isearch.el (isearch-other-meta-char): Wherever a key list is
4034 unread, "unread" the prefix arg, too. This fixes bug #8901.
4035
4036 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4037
4038 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4039
4040 2011-09-05 Juri Linkov <juri@jurta.org>
4041
4042 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4043
4044 2011-09-05 Juri Linkov <juri@jurta.org>
4045
4046 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4047 keeping point where processing of grep matches begins, and
4048 continue to delete remaining escape sequences from the same point.
4049 (grep-filter): Make leading zero optional in "0?1;31m" because
4050 git-grep emits "\033[1;31m" escape sequences unlike expected
4051 "\033[01;31m" as GNU Grep does (bug#9408).
4052 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4053
4054 2011-09-05 Juri Linkov <juri@jurta.org>
4055
4056 * subr.el (y-or-n-p): Capitalize "yes".
4057
4058 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
4059
4060 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4061 `tramp-cache-unload-hook' where appropriate.
4062 (tramp-methods): Rename `tramp-remote-sh' to
4063 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4064 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4065
4066 * net/tramp-sh.el (top): Don't require 'shell.
4067 (tramp-methods): Add `tramp-remote-shell' and
4068 `tramp-remote-shell-args' entries.
4069 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4070 (tramp-sh-handle-shell-command): Remove.
4071 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4072 Use `tramp-remote-shell'.
4073
4074 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
4075
4076 * mail/sendmail.el (sendmail-query-once-function): Delete.
4077 (sendmail-query-once): Save directly to send-mail-function.
4078 Update message-send-mail-function too.
4079
4080 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4081
4082 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4083
4084 * progmodes/python.el (python-mode-map): Use correct function to
4085 start python interpreter from menu-bar (as reported by Geert
4086 Kloosterman).
4087 (inferior-python-mode-map): Fix typo.
4088 (python-shell-map): Remove.
4089
4090 2011-09-03 Deniz Dogan <deniz@dogan.se>
4091
4092 * net/rcirc.el (rcirc-print): Simplify code for
4093 rcirc-scroll-show-maximum-output. There is no need to walk
4094 through all windows to find the right one.
4095
4096 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4097
4098 * help.el (help-return-method): Doc fix.
4099
4100 2011-09-03 Martin Rudalics <rudalics@gmx.at>
4101
4102 * window.el (window-deletable-p): Don't return a non-nil value
4103 when there's a buffer that was shown in the window before.
4104 (Bug#9419)
4105 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4106 Set window's previous buffers to nil.
4107
4108 2011-09-03 Eli Zaretskii <eliz@gnu.org>
4109
4110 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4111 newline before and after the tag line, so it doesn't interfere
4112 with determining the paragraph direction of bidirectional text.
4113
4114 2011-09-03 Leo Liu <sdl.web@gmail.com>
4115
4116 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4117
4118 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
4119
4120 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
4121 (pop-to-buffer): Change interactive spec. Pass second argument
4122 directly to display-buffer.
4123 (display-buffer): Fix interactive spec. Use functionp to
4124 distinguish between a function and a list of functions.
4125
4126 * abbrev.el (edit-abbrevs):
4127 * arc-mode.el (archive-extract):
4128 * autoinsert.el (auto-insert):
4129 * bookmark.el (bookmark-bmenu-list):
4130 * files.el (find-file):
4131 * view.el (view-buffer):
4132 * progmodes/compile.el (compilation-goto-locus):
4133 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4134
4135 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
4136
4137 * window.el (display-buffer-alist): Doc fix.
4138 (display-buffer): Add docstring. Don't treat
4139 display-buffer-default specially.
4140 (display-buffer-reuse-selected-window)
4141 (display-buffer-same-window, display-buffer-maybe-same-window)
4142 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4143 (display-buffer-pop-up-window)
4144 (display-buffer-reuse-or-pop-window)
4145 (display-buffer-use-some-window): New functions.
4146 (display-buffer-default-action): Use them.
4147 (display-buffer-default): Delete.
4148 (pop-to-buffer-1): Fix choice of actions.
4149
4150 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * minibuffer.el (completion--insert-strings): Don't get confused by
4153 completion entries that end with an LF char.
4154
4155 2011-09-01 Eli Zaretskii <eliz@gnu.org>
4156
4157 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4158
4159 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
4160
4161 * window.el (display-buffer): Restore interactive spec.
4162 (display-buffer-same-window, display-buffer-other-window):
4163 New functions.
4164 (pop-to-buffer-1): New function. Use the above.
4165 (pop-to-buffer, pop-to-buffer-same-window): Use it.
4166 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
4167
4168 * view.el (view-buffer-other-window, view-buffer-other-frame):
4169 Just use pop-to-buffer.
4170
4171 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4172
4173 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4174
4175 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4176
4177 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4178
4179 2011-08-31 Richard Stallman <rms@gnu.org>
4180
4181 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4182 of the separation of rmail-view-buffer from rmail-buffer.
4183 If you say no to "replace original", the decrypt is in the
4184 view buffer. If you say yes, the decrypt goes into the
4185 rmail buffer also.
4186
4187 2011-08-31 Martin Rudalics <rudalics@gmx.at>
4188
4189 * window.el (display-buffer-window): Rewrite doc-string.
4190 (display-buffer-record-window): New function.
4191 (display-buffer-macro-specifiers)
4192 (display-buffer-even-window-sizes, display-buffer-set-height)
4193 (display-buffer-set-width, display-buffer-in-window)
4194 (display-buffer-reuse-window, display-buffer-split-specifiers)
4195 (display-buffer-side-specifiers, display-buffer-split-window-1)
4196 (display-buffer-split-window, display-buffer-split-atom-window)
4197 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4198 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4199 (display-buffer-other-window-means-other-frame)
4200 (display-buffer-normalize-special)
4201 (display-buffer-normalize-default)
4202 (display-buffer-normalize-argument)
4203 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4204 (display-buffer-normalize-specifiers, display-buffer-frame)
4205 (display-buffer-same-window, display-buffer-same-frame)
4206 (display-buffer-other-window)
4207 (display-buffer-same-frame-other-window)
4208 (display-buffer-other-frame, pop-to-buffer-same-window)
4209 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4210 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4211 (switch-to-buffer-same-frame)
4212 (switch-to-buffer-other-window-same-frame)
4213 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4214 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4215 (display-buffer-alist-set): Remove.
4216 (display-buffer-function, special-display-buffer-names)
4217 (special-display-regexps, special-display-function):
4218 In doc-string refer to display-buffer-window and quit-restore
4219 parameter.
4220 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4221 (special-display-frame-alist, special-display-popup-frame)
4222 (same-window-buffer-names, same-window-regexps, same-window-p)
4223 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4224 (split-window-preferred-function, split-height-threshold)
4225 (split-width-threshold, window-splittable-p)
4226 (split-window-sensibly, window--try-to-split-window)
4227 (window--frame-usable-p, even-window-heights)
4228 (window--even-window-heights, window--display-buffer-1)
4229 (window--display-buffer-2, display-buffer-other-frame):
4230 Restore old Emacs 23 code, order and doc-strings where applicable.
4231 (display-buffer-default, display-buffer-assq-regexp): New functions.
4232 (display-buffer-alist): Rewrite doc-string.
4233 (display-buffer-default-action)
4234 (display-buffer-overriding-action): New variables.
4235 (display-buffer, switch-to-buffer): Rewrite.
4236 (pop-to-buffer): Restore Emacs 23 behavior but use
4237 window-normalize-buffer-to-display.
4238 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4239 Restore Emacs 23 behavior but use
4240 window-normalize-buffer-to-switch-to.
4241 (pop-to-buffer-same-window): Rewrite.
4242 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4243 Rewrite using Emacs 23 options.
4244
4245 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
4246
4247 * net/tramp.el (tramp-root-regexp): Remove.
4248 (tramp-completion-file-name-regexp-unified)
4249 (tramp-completion-file-name-regexp-separate)
4250 (tramp-completion-file-name-regexp-url): Don't use leading volume
4251 letter on win32 systems. (Bug#5303, Bug#9311)
4252 (tramp-drop-volume-letter): Simplify definition.
4253 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4254
4255 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4256
4257 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4258 (bug#9356).
4259
4260 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4261
4262 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
4263
4264 2011-08-29 Juri Linkov <juri@jurta.org>
4265
4266 * isearch.el (isearch-done): Don't display message "Mark saved"
4267 when arg `edit' is non-nil to prevent its flicker in the echo area.
4268
4269 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
4270
4271 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4272 obsolete packages for deletion.
4273
4274 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4275
4276 * help-mode.el (help-mode-map): Add special-mode-map to parent.
4277 (help-mode): Derive help-mode from special-mode. Don't invoke
4278 view-mode from help-mode.
4279 (help-xref-override-view-map): Remove.
4280 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4281 view-mode is not used anymore.
4282
4283 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
4284
4285 * server.el (server-port): Doc fix.
4286
4287 * cus-theme.el (custom-theme-choose-mode): Inherit from
4288 special-mode (Bug#9124).
4289 (custom-theme-choose-mode-map): Add special-mode to parent.
4290
4291 2011-08-28 Alan Mackenzie <acm@muc.de>
4292
4293 * progmodes/cc-fonts.el
4294 (c-make-font-lock-BO-decl-search-function): New function.
4295 (c-basic-matchers-after - "Fontify the clauses after various
4296 keywords"): Extract the three keyword lists for the 3 erroneous
4297 constructs from the list of four, and use the new function above
4298 in place of an old one.
4299
4300 2011-08-28 Deniz Dogan <deniz@dogan.se>
4301
4302 * net/rcirc.el (rcirc-insert-prev-input)
4303 (rcirc-insert-next-input): Remove unused argument.
4304
4305 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4308
4309 2011-08-27 Alan Mackenzie <acm@muc.de>
4310
4311 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4312 handle function pointer parameters properly.
4313
4314 2011-08-27 Martin Rudalics <rudalics@gmx.at>
4315
4316 * window.el (display-buffer-reuse-window): Fix case where
4317 selected window was reused with non-nil OTHER-WINDOW argument.
4318 (Bug#9381)
4319
4320 2011-08-27 Deniz Dogan <deniz@dogan.se>
4321
4322 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4323 oftc's NickServ messages.
4324
4325 2011-08-27 Glenn Morris <rgm@gnu.org>
4326
4327 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4328
4329 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
4330
4331 * emacs-lisp/package.el (package-install): Call package-initialize
4332 if called interactively.
4333
4334 2011-08-26 Leo Liu <sdl.web@gmail.com>
4335
4336 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4337
4338 2011-08-25 Juri Linkov <juri@jurta.org>
4339
4340 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4341 `search-whitespace-regexp' (bug#9364).
4342
4343 2011-08-25 Juri Linkov <juri@jurta.org>
4344
4345 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4346 `regexp-search-ring' to their global values to protect from
4347 updating by `read-from-minibuffer' (bug#9185).
4348
4349 2011-08-25 Juri Linkov <juri@jurta.org>
4350
4351 * textmodes/ispell.el (ispell-command-loop): Add newline
4352 at the end of the "Use option `i'..." line.
4353
4354 2011-08-25 Juri Linkov <juri@jurta.org>
4355
4356 * battery.el (display-battery-mode): If `battery-status-function'
4357 or `battery-mode-line-format' is nil, display the message and set
4358 `display-battery-mode' to nil (bug#9363).
4359
4360 2011-08-25 Eli Zaretskii <eliz@gnu.org>
4361
4362 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4363 bidi-string-mark-left-to-right; they are unnecessary now.
4364
4365 2011-08-25 Deniz Dogan <deniz@dogan.se>
4366
4367 * net/quickurl.el: Documentation typo fixes.
4368
4369 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
4370
4371 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4372
4373 2011-08-25 Glenn Morris <rgm@gnu.org>
4374
4375 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4376
4377 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4378 (smtpmail-via-smtp): Handle nil response from smtp.
4379
4380 2011-08-24 Juri Linkov <juri@jurta.org>
4381
4382 * proced.el (proced-marked): Inherit from `error' instead of
4383 `font-lock-warning-face'.
4384
4385 * ibuffer.el (ibuffer-marked-face): Change default face from
4386 `font-lock-warning-face' to `warning'.
4387 (ibuffer-deletion-face): Change default face from
4388 `font-lock-type-face' to `error'.
4389
4390 * battery.el (battery-update): Use the face `error' instead of
4391 `font-lock-warning-face' (bug#6117).
4392
4393 2011-08-24 Juri Linkov <juri@jurta.org>
4394
4395 * faces.el (success): Change face color from "Green3" to
4396 "ForestGreen" on light background (bug#9353).
4397
4398 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
4399
4400 * window.el (quit-window): Rename from quit-restore-window.
4401 Use same arglist as old quit-window.
4402 (frame-auto-delete): Doc fix.
4403
4404 * view.el (view-mode-exit): Use quit-window.
4405
4406 2011-08-24 Juri Linkov <juri@jurta.org>
4407
4408 * isearch.el (isearch-ring-adjust1): Start visiting previous
4409 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4410 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4411 for empty search string (when the last search string is reused
4412 automatically) to adjust the isearch ring to the last element and
4413 prepare the correct index for further M-p commands (bug#9185).
4414
4415 2011-08-24 Kenichi Handa <handa@m17n.org>
4416
4417 * international/ucs-normalize.el: If decomposition property of
4418 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4419 nil.
4420 (nfd, nfkd): Likewise.
4421
4422 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4425 from process filters aren't reliably transmitted to the surrounding
4426 accept-process-output.
4427 (mpc-proc-check): New function.
4428 (mpc-proc-sync): Use it (bug#8293)
4429
4430 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4433 Add compatibility functions (bug#9313).
4434
4435 2011-08-23 Eli Zaretskii <eliz@gnu.org>
4436
4437 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4438
4439 * international/uni-bidi.el: Regenerate.
4440
4441 2011-08-23 Kenichi Handa <handa@m17n.org>
4442
4443 * international/charprop.el:
4444 * international/uni-bidi.el:
4445 * international/uni-category.el:
4446 * international/uni-combining.el:
4447 * international/uni-comment.el:
4448 * international/uni-decimal.el:
4449 * international/uni-decomposition.el:
4450 * international/uni-digit.el:
4451 * international/uni-lowercase.el:
4452 * international/uni-mirrored.el:
4453 * international/uni-name.el:
4454 * international/uni-numeric.el:
4455 * international/uni-old-name.el:
4456 * international/uni-titlecase.el:
4457 * international/uni-uppercase.el: Regenerate.
4458
4459 2011-08-23 Martin Rudalics <rudalics@gmx.at>
4460
4461 * help.el (help-window-setup): Fix message displayed when other
4462 window is reused. (Bug#9341)
4463
4464 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4465
4466 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4467 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4468
4469 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4470 Mark obsolete.
4471 * shell.el (shell-parse-pcomplete-arguments): New function.
4472 (shell-completion-vars): Use it instead (bug#9160).
4473
4474 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4477 strings and comments (bug#9333).
4478
4479 * emacs-lisp/debug.el (debug-arglist): New function.
4480 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4481 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4482
4483 2011-08-22 Juri Linkov <juri@jurta.org>
4484
4485 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4486 Revert regexp that highlights output switches to its old
4487 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4488
4489 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4490 to check for empty output (bug#9226).
4491
4492 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
4493
4494 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4495 symbol-constituent as the default, as that stops font-lock from
4496 working properly (Bug#8843).
4497
4498 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4499
4500 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4501 `coding-system-for-*' around the process open call to avoid
4502 auth-source side effects.
4503 (smtpmail-try-auth-methods): Expand the secret password.
4504 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4505 probe hangs.
4506
4507 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
4508
4509 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4510
4511 * emacs-lisp/find-func.el (find-function-noselect): New arg
4512 lisp-only.
4513
4514 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4515 signal an error for built-in functions (Bug#6664).
4516
4517 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4518
4519 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4520 (smtpmail-try-auth-methods): Use it.
4521
4522 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
4523
4524 * font-lock.el (font-lock-fontify-region)
4525 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4526 (font-lock-default-unfontify-buffer)
4527 (font-lock-default-fontify-region)
4528 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4529
4530 * progmodes/compile.el (compilation-error-properties):
4531 Fix confusion between file struct and message struct (Bug#9319).
4532 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4533 `ant' regexp.
4534
4535 * net/browse-url.el (browse-url-firefox): Don't call
4536 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4537
4538 2011-08-20 Glenn Morris <rgm@gnu.org>
4539
4540 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4541
4542 * tutorial.el (tutorial--default-keys): Update some default bindings.
4543
4544 * files.el (hack-local-variables): Fully ignore case for "mode:".
4545
4546 2011-08-20 Alan Mackenzie <acm@muc.de>
4547
4548 Resolve invalid use of a regexp in regexp-opt.
4549
4550 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4551 detection for a java annotation.
4552
4553 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
4554 detection for a java annotation.
4555
4556 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4557 handling for java.
4558 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4559
4560 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
4561
4562 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4563 (Bug#9274).
4564
4565 2011-08-20 Alan Mackenzie <acm@muc.de>
4566
4567 Fontify CPP expressions correctly when starting in the middle of
4568 such a construct. Mainly for when jit-lock etc. starts a chunk
4569 here.
4570
4571 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
4572 variable.
4573 (c-make-font-lock-search-form): New function, extracted from
4574 c-make-font-lock-search-function.
4575 (c-make-font-lock-search-function): Use the above function.
4576 (c-make-font-lock-context-search-function): New function.
4577 (c-cpp-matchers): Enhance the preprocessor expression case with
4578 the above function
4579 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4580 which takes an expression.
4581
4582 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4583
4584 2011-08-20 Martin Rudalics <rudalics@gmx.at>
4585
4586 * window.el (display-buffer-reuse-window)
4587 (display-buffer-pop-up-window): Don't reuse or split a side
4588 window.
4589
4590 2011-08-19 Glenn Morris <rgm@gnu.org>
4591
4592 * files.el (hack-local-variables-prop-line, hack-local-variables):
4593 Downcase "Mode:". (Bug#9331)
4594
4595 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
4596
4597 * international/characters.el: Add L and R categories.
4598
4599 * subr.el (bidi-string-mark-left-to-right): Rename from
4600 string-mark-left-to-right. Use category search.
4601
4602 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4603
4604 2011-08-18 Juri Linkov <juri@jurta.org>
4605
4606 * faces.el (error, warning, success): New faces with definitions
4607 copied from old default values of `font-lock-warning-face',
4608 `compilation-warning', `compilation-info' (bug#6117).
4609
4610 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4611
4612 * progmodes/compile.el (compilation-error): Inherit from `error'.
4613 (compilation-warning): Inherit from `warning'.
4614 (compilation-info): Inherit from `success'.
4615
4616 * dired.el (dired-marked): Inherit from `warning'.
4617 (dired-flagged): Inherit from `error'.
4618
4619 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4620
4621 * mail/smtpmail.el (auth-source): Require to avoid problems with
4622 binding variables (bug#9298). Also clean up some unused
4623 autoloads.
4624
4625 * net/network-stream.el (network-stream-open-starttls):
4626 Support using starttls.el without using gnutls-cli.
4627
4628 2011-08-17 Juri Linkov <juri@jurta.org>
4629
4630 * progmodes/grep.el (rgrep): Handle the case when
4631 `grep-find-command' is a cons cell (bug#9278).
4632
4633 2011-08-17 Martin Rudalics <rudalics@gmx.at>
4634
4635 * window.el (display-buffer-pop-up-frame): Run frame creation
4636 function with BUFFER current (as special-display-popup-frame
4637 does). Reported by Drew Adams.
4638
4639 2011-08-17 Daiki Ueno <ueno@unixuser.org>
4640
4641 * epa-mail.el: Simplify GnuPG group expansion using
4642 epg-expand-group.
4643 (epa-mail-group-alist, epa-mail-group-modtime)
4644 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4645 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4646 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4647 Remove.
4648
4649 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
4650
4651 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4652
4653 2011-08-16 Alan Mackenzie <acm@muc.de>
4654
4655 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4656 Correct, to avoid the inside of macros.
4657
4658 2011-08-16 Richard Stallman <rms@gnu.org>
4659
4660 * epa-mail.el: Handle GnuPG group definitions.
4661 (epa-mail-group-alist, epa-mail-group-modtime)
4662 (epa-mail-gnupg-conf-file): New variables.
4663 (epa-mail-parse-groups, epa-mail-sync-groups)
4664 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4665 (epa-mail-expand-recipients): New functions.
4666 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4667
4668 * mail/rmail.el (rmail-epa-decrypt): New command.
4669
4670 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4671 Don't bind buffer-read-only, just inhibit-read-only.
4672 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4673 (epa-decrypt-armor-in-region): Make error message clearer.
4674
4675 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4678 and "a2b" to "ab" for `prefix'.
4679
4680 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
4681
4682 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4683 filter groups.
4684 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4685 Fourquet (Bug#8804).
4686
4687 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
4688
4689 * startup.el (argi): Declare as global variable (bug#9275).
4690
4691 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
4692
4693 * subr.el (string-mark-left-to-right): Search the entire string
4694 for RTL script, not just the terminating character. Doc fix.
4695
4696 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4699 New function.
4700 (js--regexp-literal, js-syntax-propertize-function): Remove.
4701 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4702 (js-mode-map): Don't rebind electric keys.
4703 (js-insert-and-indent): Remove.
4704 (js-mode): Setup electric-layout and electric-indent instead.
4705
4706 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4707
4708 2011-08-12 Daiki Ueno <ueno@unixuser.org>
4709
4710 * epa.el (epa-progress-callback-function): Fix the logic of
4711 displaying progress.
4712 * epa-file.el (epa-file-insert-file-contents): Make progress
4713 display more user-friendly.
4714 (epa-file-write-region): Ditto.
4715
4716 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
4717
4718 * subr.el (string-mark-left-to-right): New function.
4719
4720 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4721 Use string-mark-left-to-right.
4722 (list-buffers-noselect): Caller changed.
4723
4724 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4725 Use string-mark-left-to-right.
4726 (tabulated-list-print): Recenter after moving point.
4727
4728 2011-08-10 Juri Linkov <juri@jurta.org>
4729
4730 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4731 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4732 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4733
4734 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
4735
4736 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4737 (Bug#7554).
4738
4739 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
4740
4741 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4742 character. (Bug#6594)
4743
4744 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
4745
4746 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4747 (image-dired--with-db-file): New macro.
4748 (image-dired-write-tags, image-dired-remove-tag)
4749 (image-dired-create-gallery-lists, image-dired-write-comments)
4750 (image-dired-get-comment, image-dired-mark-tagged-files)
4751 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4752 (image-dired-gallery-generate): Use insert-file-contents.
4753
4754 * time.el (display-time-world-list, display-time-world-display):
4755 * time-stamp.el (time-stamp-string):
4756 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4757 set-time-zone-rule (Bug#7337).
4758
4759 2011-08-08 Daiki Ueno <ueno@unixuser.org>
4760
4761 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4762 (epg-error-to-string, epg-errors-to-string): New function.
4763 (epg-wait-for-completion): Reverse errors list.
4764 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4765 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4766 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4767 (epg-sign-keys, epg-generate-key-from-file)
4768 (epg-generate-key-from-string): Format errors by using
4769 epg-errors-to-string (bug#9255).
4770 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4771
4772 2011-08-07 Juri Linkov <juri@jurta.org>
4773
4774 * faces.el (list-faces-display): Remove extra angle bracket
4775 from `help-mode-map'.
4776
4777 * info.el (Info-history-toc-nodes): Doc fix.
4778
4779 * longlines.el (longlines-mode): Doc fix.
4780
4781 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4784 of statements and in a few more cases (bug#9183).
4785
4786 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4787 New functions.
4788 (cl-transform-lambda): Use them (bug#9239).
4789
4790 2011-08-05 Martin Rudalics <rudalics@gmx.at>
4791
4792 * window.el (display-buffer-same-window)
4793 (display-buffer-same-frame, display-buffer-other-window)
4794 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4795 (pop-to-buffer-other-window)
4796 (pop-to-buffer-same-frame-other-window)
4797 (pop-to-buffer-other-frame): Make them defuns.
4798 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4799
4800 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 * subr.el (make-composed-keymap): Move from C. Change calling
4803 convention, and improve docstring to bring attention to a subtle point.
4804 * minibuffer.el (completing-read-default): Adjust accordingly.
4805
4806 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
4807
4808 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4809 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4810
4811 * net/trampver.el: Update release number.
4812
4813 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4816 "in" (bug#9190).
4817
4818 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4819
4820 * mail/sendmail.el (sendmail-query-once): Restore the current
4821 buffer after querying (bug#9074).
4822
4823 * dired.el (dired-flagged): Use different faces for marked and
4824 flagged files (bug#6117).
4825
4826 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4827 (bug#4433).
4828
4829 * ido.el (ido-mode): Switch off the message if called
4830 non-interactively.
4831
4832 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4833 before 587, since it appears that that's more likely to work for
4834 more people.
4835
4836 * cus-edit.el (custom-file): When running under emacs -q, always
4837 refuse to save the customizations, even if the .emacs file doesn't
4838 exist.
4839
4840 * info.el: Remove the `Info-beginning-of-buffer' function
4841 (bug#8325).
4842
4843 * net/network-stream.el (network-stream-open-starttls):
4844 Use `starttls-available-p' to see whether starttls.el can be used.
4845
4846 2011-08-01 Martin Rudalics <rudalics@gmx.at>
4847
4848 * window.el (display-buffer-in-window): Don't set dedicated status
4849 of window here (Bug#9215).
4850 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4851 (display-buffer-pop-up-side-window)
4852 (display-buffer-in-side-window): Set dedicated status of window here.
4853
4854 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4857 before binding generated-autoload-file.
4858
4859 2011-08-01 Deniz Dogan <deniz@dogan.se>
4860
4861 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4862
4863 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
4864
4865 Sync with Tramp 2.2.2.
4866
4867 * net/trampver.el: Update release number.
4868
4869 2011-07-30 Juri Linkov <juri@jurta.org>
4870
4871 * dired-aux.el (dired-touch-initial): Remove function.
4872 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4873 current time, and `default' to the last modification time of the
4874 current marked file (bug#6887).
4875
4876 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4877
4878 * simple.el (goto-line): Use string-to-number to provide a
4879 numeric argument to read-number (bug#9163).
4880
4881 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
4882
4883 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4884 connection process, it could be nil.
4885
4886 2011-07-27 Leo Liu <sdl.web@gmail.com>
4887
4888 Simplify url handling in rcirc-mode.
4889
4890 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4891 (rcirc-browse-url-at-mouse): Remove.
4892 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4893
4894 2011-07-26 Alan Mackenzie <acm@muc.de>
4895
4896 Fontify bitfield declarations properly.
4897
4898 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4899 (c-symbol-chars): Now exported as a lang variable.
4900 (c-not-primitive-type-keywords): New lang variable.
4901
4902 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4903 QT keyword "more" to prevent "more slots: ...." being spuriously
4904 parsed as a bitfield declaration.
4905
4906 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4907 Refactor and enhance to handle bitfield declarations.
4908 (c-punctuation-in): New function.
4909 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4910 declarations properly.
4911
4912 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
4913
4914 * calendar/icalendar.el (icalendar--all-events): Take care of
4915 multiple vcalendars in a single file.
4916 (icalendar--convert-float-to-ical): Checkdoc fixes.
4917
4918 2011-07-25 Deniz Dogan <deniz@dogan.se>
4919
4920 * image.el (insert-image): Clarifying docstring.
4921
4922 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
4923
4924 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4925 `tramp-send-command-and-check' if there is no error.
4926 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4927
4928 2011-07-22 Alan Mackenzie <acm@muc.de>
4929
4930 Prevent cc-langs.elc being loaded at run time.
4931
4932 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4933 cc-langs.
4934
4935 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
4936 "(require 'cc-langs)". Quote a form so it will evaluate at
4937 (cc-mode's) compilation time.
4938
4939 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
4940
4941 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4942 loading. (Bug#9114)
4943
4944 2011-07-21 Martin Rudalics <rudalics@gmx.at>
4945
4946 * window.el (display-buffer-pop-up-window)
4947 (display-buffer-pop-up-side-window)
4948 (display-buffer-in-side-window): Call display-buffer-set-height
4949 and display-buffer-set-width after setting the new window's
4950 buffer so `fit-window-to-buffer' and friends work on the right buffer.
4951
4952 2011-07-20 Sam Steingold <sds@gnu.org>
4953
4954 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4955 (etags-tags-included-tables): Call `convert-standard-filename' on
4956 the file names contained in TAGS so that windows Emacs can handle
4957 TAGS files created by cygwin ctags.
4958
4959 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4960
4961 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4962 which apparently didn't work.
4963
4964 2011-07-19 Roland Winkler <winkler@gnu.org>
4965
4966 * proced.el (proced-send-signal): For *Marked Processes* buffer
4967 put point at beginning of buffer.
4968
4969 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
4970
4971 * proced.el (proced-format): Make header lines align with the text
4972 (bug#1779).
4973
4974 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4975
4976 * view.el (view-buffer): Allow running in `special' modes if we're
4977 visiting a file (bug#8615).
4978
4979 2011-07-19 Martin Rudalics <rudalics@gmx.at>
4980
4981 * window.el (display-buffer-alist-of-strings-p)
4982 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4983 New functions.
4984 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4985 more accurately.
4986
4987 2011-07-18 Alan Mackenzie <acm@muc.de>
4988
4989 Fontify declarators properly when, e.g., a jit-lock chunk begins
4990 inside a declaration.
4991
4992 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4993
4994 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4995 New function.
4996 (c-complex-decl-matchers): Insert reference to
4997 c-font-lock-enclosing-decls.
4998
4999 * progmodes/cc-engine.el (c-backward-single-comment):
5000 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5001 to nil around calls to (forward-comment -1).
5002
5003 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5004
5005 * image.el (put-image): Doc typo fix.
5006
5007 * progmodes/etags.el (tags-search): Doc typo fix.
5008
5009 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5010 password if we get errors 550 to 554.
5011
5012 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5013
5014 * net/gnutls.el (gnutls-log-level): Remove.
5015
5016 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5017 indentation character (bug#6380).
5018
5019 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5020
5021 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5022 to clarify what the problem is (bug#4291).
5023
5024 * simple.el (current-kill): Clarify what
5025 `interprogram-paste-function' does (bug#7500).
5026 (auto-fill-mode): Document `auto-fill-function' in relation to
5027 `auto-fill-mode' (bug#2470).
5028
5029 2011-07-16 Lawrence Mitchell <wence@gmx.li>
5030
5031 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5032 method if slot is read-only (bug#9035).
5033
5034 2011-07-16 Martin Rudalics <rudalics@gmx.at>
5035
5036 * frame.el (select-frame-set-input-focus): New argument NORECORD.
5037 * window.el (pop-to-buffer): Select window used even if it was
5038 selected before, see discussion of (Bug#8615), (Bug#6954).
5039 Pass argument NORECORD on to select-frame-set-input-focus.
5040
5041 2011-07-15 Glenn Morris <rgm@gnu.org>
5042
5043 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
5044 Respect help-form.
5045
5046 2011-07-09 Lawrence Mitchell <wence@gmx.li>
5047
5048 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5049 (gnutls-negotiate): Use it.
5050
5051 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5052
5053 * net/gnutls.el (gnutls-negotiate):
5054 Upcase `gnutls-algorithm-priority'.
5055
5056 2011-07-15 Glenn Morris <rgm@gnu.org>
5057
5058 * jka-compr.el (jka-compr-verbose): Move from here...
5059 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5060 Add missing :version tag.
5061 * info.el: No need to require jka-compr when compiling.
5062
5063 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5064
5065 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5066 (gnutls-negotiate): Use it.
5067
5068 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5069
5070 * info.el (Info-beginning-of-buffer): New command.
5071 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5072 announcing `b' as the key (bug#8325).
5073 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
5074
5075 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5076
5077 * international/mule-cmds.el
5078 (describe-specified-language-support): Make the error message
5079 clearer (bug#8905).
5080
5081 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5082
5083 * isearch.el (isearch-barrier): Add a doc string, since it's
5084 mentioned in a function doc string (bug#8678).
5085
5086 2011-07-15 Martin Rudalics <rudalics@gmx.at>
5087
5088 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5089 buffer argument (Bug#9083) and self-identifying label argument.
5090
5091 2011-07-15 Glenn Morris <rgm@gnu.org>
5092
5093 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5094
5095 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
5097 * man.el (Man-fontify-manpage): Fix message when formatting the
5098 man page (bug#7929).
5099
5100 2011-07-14 Eli Zaretskii <eliz@gnu.org>
5101
5102 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5103 argument LRM; if non-nil, append an invisible LRM character to the
5104 buffer name.
5105 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5106 last argument non-nil, when formatting buffer names.
5107 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5108 paragraph direction.
5109
5110 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5111
5112 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5113 the man page name (bug#7929).
5114
5115 * image.el (put-image): Mention the `put-image' overlay property
5116 (bug#7834).
5117
5118 * scroll-bar.el (set-scroll-bar-mode): Mention that
5119 `scroll-bar-mode' lists the values (bug#7772).
5120
5121 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5122 command (bug#7729).
5123
5124 * rect.el (apply-on-rectangle): Return the point after the last
5125 operation.
5126 (string-rectangle): Go to the point after the last operation
5127 (bug#7522).
5128
5129 * printing.el (pr-toggle-region): Clarify the documentation
5130 slightly (bug#7493).
5131
5132 * time.el (display-time-update):
5133 Allow `display-time-mail-function' to return nil (bug#7158).
5134 Fix suggested by Detlev Zundel.
5135
5136 * vc/diff.el (diff): Clarify the order the file names are read
5137 (bug#7111).
5138
5139 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5140 the doc string (bug#7015).
5141
5142 * font-lock.el (font-lock-maximum-decoration): Mention what
5143 numeric levels mean (bug#6935).
5144
5145 * startup.el (initial-buffer-choice): Don't mention the `none'
5146 selection, which is against policy.
5147
5148 2011-07-14 Martin Rudalics <rudalics@gmx.at>
5149
5150 * window.el (display-buffer-normalize-special):
5151 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
5152
5153 2011-07-14 Eli Zaretskii <eliz@gnu.org>
5154
5155 * subr.el (version<, version<=, version=): Mention "-CVS" and
5156 "-12345" alpha version numbers.
5157
5158 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
5159
5160 * bindings.el: Add advertised binding for set-mark-command
5161 (Bug#5772).
5162
5163 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
5164
5165 * bindings.el (mode-line-other-buffer):
5166 * bookmark.el (bookmark-bmenu-2-window):
5167 * bs.el (bs-cycle-next, bs-cycle-previous):
5168 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5169 switch-to-buffer.
5170
5171 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5172 Delete.
5173
5174 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
5175
5176 * follow.el (follow-debug-message, follow-redisplay):
5177 * jka-cmpr-hook.el (with-auto-compression-mode):
5178 Fix typos in docstrings.
5179
5180 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5181
5182 * subr.el (with-silent-modifications): Clarify somewhat what the
5183 macro inhibits (bug#6525).
5184
5185 * simple.el (eval-expression): Note what it does if called
5186 interactively (bug#6495).
5187
5188 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
5189
5190 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5191 Use pop-to-buffer buffer-or-name if it is nil.
5192
5193 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5194 Remove switch-to-buffer.
5195
5196 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5197
5198 * files.el (make-directory): Clarify that an error will be raised
5199 if there's an error (bug#6397).
5200
5201 * startup.el (initial-buffer-choice): Add `none' as a choice
5202 (bug#6234).
5203
5204 * subr.el (add-hook): Clarify section about buffer-local hooks
5205 (bug#6218).
5206
5207 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5208
5209 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * tabify.el (untabify): Preserve the current column so that point
5212 doesn't move (bug#6032).
5213
5214 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5215
5216 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5217 Rewrite to avoid awkward possessive "s" (bug#5986).
5218
5219 2011-07-13 Glenn Morris <rgm@gnu.org>
5220
5221 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5222 (dired-insert-directory): Give a message the first time
5223 if ls is found not to support --dired.
5224
5225 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5226
5227 * simple.el (toggle-truncate-lines): Clarify what is toggled
5228 (bug#5580). Text by Drew Adams.
5229
5230 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
5231
5232 * simple.el (blink-matching-open): Make the error message from the
5233 last change less verbose.
5234
5235 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5236
5237 * font-lock.el (font-lock-comment-face): Use the high contrast
5238 "yellow" color for font-lock-comment-face on low color terminals
5239 using a dark background color (bug#4221).
5240
5241 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5242
5243 * dired.el (dired-insert-set-properties): Make the doc string
5244 reflect what it does now (bug#5325).
5245
5246 * simple.el (blink-matching-open): Say that we were unable to find
5247 the match within the limit, if we're limited (bug#5122).
5248
5249 * international/mule-cmds.el (prefer-coding-system): Add an
5250 example (bug#4869).
5251
5252 * progmodes/etags.el (tags-search): Document `file-list-form'
5253 (bug#4731).
5254
5255 2011-07-13 Lawrence Mitchell <wence@gmx.li>
5256
5257 * net/browse-url.el (browse-url-default-browser)
5258 (browse-url-browser-function): Make the default browser choice a
5259 bit more logical (bug#4300). Also clean up the doc string.
5260
5261 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
5262
5263 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5264 binary endings (bug#4440).
5265
5266 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5267
5268 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5269 which can be pretty annoying (bug#8971).
5270
5271 * jka-compr.el (jka-compr-verbose): New variable, and use
5272 throughout (bug#8971).
5273
5274 * info.el (Info-find-file): Fall back on the installation
5275 directory if we can't find the info node anywhere else.
5276
5277 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5278
5279 * vc/vc.el (vc-revert-file):
5280 Don't set file time-stamp in the past. (Bug#5181)
5281
5282 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5283
5284 * files.el (after-find-file): Give a better error message when
5285 trying to find a symlink that points to a file that doesn't exist
5286 (bug#4398).
5287
5288 * progmodes/cc-vars.el: Remove (probably) misleading comment
5289 (bug#4396).
5290
5291 2011-07-12 Johan Bockgård <bojohan@gnu.org>
5292
5293 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5294
5295 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
5296
5297 * mouse-sel.el: Hack restoring functionality, while keeping
5298 compatibility with 2010-07-03 changes to mouse selection.
5299 (mouse-sel-primary-overlay): New var.
5300 (mouse-sel-selection-alist): Use it.
5301 (mouse-sel-mode): Doc fix; remove points that are default features
5302 of mouse.el.
5303
5304 2011-07-12 Johan Bockgård <bojohan@gnu.org>
5305
5306 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5307 Fix previous fix (bug#2490).
5308
5309 2011-07-12 Roland Winkler <winkler@gnu.org>
5310
5311 * textmodes/bibtex.el (bibtex-initialize):
5312 Use pop-to-buffer-same-window.
5313 (bibtex-search-entries): Fix interactive call.
5314
5315 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5316
5317 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5318 Fontise bytecomp Error lines more correctly (bug#2490).
5319 Fix suggested by Johan Bockgård.
5320
5321 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5322
5323 * dired-x.el (dired-guess-default): Use `delete-dups'.
5324
5325 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
5326
5327 * dired.el (dired-mark-prompt):
5328 * dired-aux.el (dired-read-shell-command): Doc fix.
5329
5330 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5331
5332 * mail/sendmail.el (sendmail-query-once):
5333 Use `customize-save-variable' unconditionally, now that it works under
5334 emacs -Q.
5335
5336 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5337
5338 * cus-edit.el (custom-file): Take an optional no-error variable.
5339 (customize-save-variable): Set the variable, and give a warning if
5340 running under "emacs -q".
5341
5342 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
5343
5344 * loadhist.el (unload-feature-special-hooks):
5345 Add `auto-coding-functions', `fill-nobreak-predicate' and
5346 `find-directory-functions' (bug#5327).
5347
5348 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5349
5350 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5351
5352 * cus-edit.el (custom-guess-name-alist): -alist variables should
5353 use the `alist' type (bug#3120). Suggested by Drew Adams.
5354
5355 * printing.el: Add documentation to all the `pr-toggle-' commands.
5356
5357 2011-07-11 Leo Liu <sdl.web@gmail.com>
5358
5359 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5360 backends where it makes sense (bug#2623).
5361
5362 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5363
5364 * dired-x.el (dired-guess-default): Remove duplicate shell command
5365 entries (bug#2028).
5366 (dired-guess-default): Fix grammar in doc string (bug#2028).
5367 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
5368
5369 * subr.el (remove-duplicates): New conveniency function.
5370
5371 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5372
5373 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5374 (bug#1526).
5375
5376 2011-07-10 Martin Rudalics <rudalics@gmx.at>
5377
5378 * window.el (display-buffer-normalize-default): Don't invert
5379 meaning of even-window-heights. Reported by Eli Zaretskii
5380 <eliz@gnu.org>.
5381
5382 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5383
5384 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5385
5386 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
5387
5388 * window.el (display-buffer): Fix arguments to
5389 display-buffer-reuse-window in last change.
5390
5391 * faces.el (link): Use a less saturated blue on light backgrounds.
5392
5393 * startup.el (fancy-startup-text, fancy-about-text)
5394 (fancy-startup-tail): Use font-lock faces, for background safety.
5395
5396 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5397
5398 * emulation/viper-cmd.el (viper-change-state-to-vi):
5399 Limit triggering of abbrev expansion (Bug#9038).
5400
5401 2011-07-09 Martin Rudalics <rudalics@gmx.at>
5402
5403 * window.el (display-buffer-default-specifiers): Remove.
5404 (display-buffer-macro-specifiers): Remove default specifiers.
5405 (display-buffer-alist): Default to nil.
5406 (display-buffer-reuse-window): New optional argument other-window.
5407 (display-buffer-pop-up-window): Allow splitting internal
5408 windows. Check whether a live window was created.
5409 (display-buffer-other-window-means-other-frame)
5410 (display-buffer-normalize-arguments): Rename to
5411 display-buffer-normalize-argument and rewrite. Set the
5412 other-window specifier.
5413 (display-buffer-normalize-special): New function.
5414 (display-buffer-normalize-options): Rename to
5415 display-buffer-normalize-default and rewrite.
5416 (display-buffer-normalize-options-inhibit): Remove.
5417 (display-buffer-normalize-specifiers): Rewrite.
5418 (display-buffer): Process other-window specifier and call
5419 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5420 more faithfully.
5421 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
5422 (display-buffer-alist-set): Don't handle 'unset default values.
5423 (display-buffer-in-window, display-buffer-alist-set):
5424 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
5425 <tassilo@member.fsf.org>.
5426
5427 2011-07-09 Leo Liu <sdl.web@gmail.com>
5428
5429 * register.el (insert-register): Restore accidental change on
5430 2011-06-26. (Bug#9028)
5431
5432 2011-07-09 Glenn Morris <rgm@gnu.org>
5433
5434 * subr.el (remq): Handle the empty list. (Bug#9024)
5435
5436 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5437
5438 * mail/sendmail.el (send-mail-function): No longer delay custom
5439 initialization.
5440 * custom.el (custom-initialize-delay): Doc fix.
5441
5442 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5445
5446 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
5447
5448 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5449 human-friendly prompt.
5450
5451 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5454 provided by a particular plugin.
5455
5456 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5457
5458 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5459 save customizations (with "emacs -Q"), just set the variable
5460 instead of erroring out.
5461
5462 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5463
5464 2011-07-08 Juri Linkov <juri@jurta.org>
5465
5466 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5467 (archive-zip-update-case): Use 7z if found by `executable-find'.
5468 The order of searching the available programs is the same as in
5469 `archive-zip-extract' (bug#8968).
5470
5471 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5472
5473 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5474 (menu-bar-options-menu): Tweak descriptions.
5475
5476 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5477
5478 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5479 menu items into verb phrases (bug#1421). Also refill to fit under
5480 80 columns.
5481
5482 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5483
5484 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5485 (Info-read-node-name): Doc fix (Bug#1084).
5486
5487 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5488 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5489 (end-of-sexp, beginning-of-sexp)
5490 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5491 (forward-symbol, forward-same-syntax, word-at-point)
5492 (sentence-at-point): Doc fix (Bug#1144).
5493
5494 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5495
5496 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5497 should cover it (bug#1281).
5498
5499 * cus-edit.el (custom-show): Mark as obsolete.
5500
5501 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
5502 negotiation fails, then possibly try again with a non-encrypted
5503 connection (bug#9017).
5504
5505 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5506 be used.
5507
5508 2011-07-07 Richard Stallman <rms@gnu.org>
5509
5510 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5511 property, and handle its changed format.
5512 Look for the correct line number.
5513 Use file's line contents (but not past first =) to find
5514 correct line in message.
5515
5516 2011-07-07 Kenichi Handa <handa@m17n.org>
5517
5518 * international/characters.el (build-unicode-category-table):
5519 Delete it.
5520 (unicode-category-table): Set it by unicode-property-table-internal.
5521
5522 * international/mule-cmds.el (char-code-property-alist): Move to
5523 to src/chartab.c.
5524 (get-char-code-property): Call unicode-property-table-internal to
5525 load a file. Call get-unicode-property-internal where necessary.
5526 (put-char-code-property): Call unicode-property-table-internal to
5527 load a file. Call put-unicode-property-internal where necessary.
5528 put-unicode-property-internal where necessary.
5529 (char-code-property-description):
5530 Call unicode-property-table-internal to load a file.
5531
5532 * international/charprop.el:
5533 * international/uni-bidi.el:
5534 * international/uni-category.el:
5535 * international/uni-combining.el:
5536 * international/uni-comment.el:
5537 * international/uni-decimal.el:
5538 * international/uni-decomposition.el:
5539 * international/uni-digit.el:
5540 * international/uni-lowercase.el:
5541 * international/uni-mirrored.el:
5542 * international/uni-name.el:
5543 * international/uni-numeric.el:
5544 * international/uni-old-name.el:
5545 * international/uni-titlecase.el:
5546 * international/uni-uppercase.el: Regenerate.
5547
5548 * loadup.el: Load international/charprop.el before
5549 international/characters.
5550
5551 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5552
5553 * window.el (next-buffer, previous-buffer): Signal an error if
5554 called from a minibuffer window.
5555
5556 * bindings.el: Revert 2011-07-04 change.
5557
5558 2011-07-06 Richard Stallman <rms@gnu.org>
5559
5560 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5561 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5562 Treat markers like ints.
5563 (rmail-mime-entity): Doc fix.
5564
5565 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5566
5567 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5568 defcustom again for backwards compatibility.
5569
5570 * simple.el (shell-command-on-region): Fill.
5571
5572 * dired-aux.el (dired-kill-line): Add a doc string.
5573
5574 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5575 to "\\sw\\|\\s_" (bug#358).
5576
5577 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5578 (dired-unmark-backward): Ditto.
5579 (dired-flag-backup-files): Ditto.
5580
5581 * dired-x.el (dired-mark-sexp): Ditto.
5582
5583 2011-07-06 Richard Stallman <rms@gnu.org>
5584
5585 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5586 (rmail-mime-entity): New arg TRUNCATED.
5587 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5588 New functions.
5589 (rmail-mime-save): Warn if entity is truncated.
5590 (rmail-mime-toggle-hidden): Likewise, for showing.
5591 (rmail-mime-process-multipart): Record when an entity is truncated.
5592
5593 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5594 if ENTITY is a string.
5595
5596 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5597
5598 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
5599 of faces when `M-C-x'-ing their definitions (bug#8378).
5600 Also clean up the code slightly.
5601
5602 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
5603 because that makes the colors go away.
5604
5605 * mail/sendmail.el (send-mail-function): Change the default to
5606 `sendmail-query-once'.
5607 (sendmail-query-once): Add an autoload cookie.
5608
5609 * net/network-stream.el (network-stream-open-starttls): Try using
5610 a plain connection even if the server offered STARTTLS, and we
5611 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5612 capability. This should make smtpmail.el work in slightly more
5613 configurations.
5614
5615 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
5616
5617 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5618 New defun.
5619 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5620
5621 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5622
5623 * progmodes/sql.el: Version 3.0
5624 (sql-product-alist): Add product :completion-object,
5625 :completion-column, and :statement attributes.
5626 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
5627 (sql-mode-syntax-table): Mark all punctuation.
5628 (sql-font-lock-keywords-builder): Temporarily remove fallback on
5629 ansi keywords.
5630 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
5631 (sql-mode-oracle-font-lock-keywords): Improve.
5632 (sql-oracle-show-reserved-words): New function for development.
5633 (sql-product-font-lock): Simplify for source code buffers.
5634 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5635 New functions.
5636 (sql-highlight-product): Set product specific syntax table.
5637 (sql-mode-map): Add statement movement functions.
5638 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5639 New variable.
5640 (sql-statement-regexp, sql-beginning-of-statement)
5641 (sql-end-of-statement, sql-signum): New functions.
5642 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
5643 (sql-show-sqli-buffer): Bug fix.
5644 (sql-interactive-mode): Store connection data as buffer local.
5645 (sql-connect): Add NEW-NAME parameter. Redesign interaction
5646 with sql-interactive-mode.
5647 (sql-save-connection): Save buffer local settings.
5648 (sql-connection-menu-filter): Change menu entry name.
5649 (sql-product-interactive): Bug fix.
5650 (sql-preoutput-hold): New variable.
5651 (sql-interactive-remove-continuation-prompt): Bug fixes.
5652 (sql-debug-redirect): New variable.
5653 (sql-str-literal): New function.
5654 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
5655 Redesign.
5656 (sql-oracle-save-settings, sql-oracle-restore-settings)
5657 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5658 (sql-completion-object, sql-completion-column)
5659 (sql-completion-sqlbuf): New variables.
5660 (sql-build-completions-1, sql-build-completions)
5661 (sql-try-completion): New functions.
5662 (sql-read-table-name): Use them.
5663 (sql-contains-names): New buffer local variable.
5664 (sql-list-all, sql-list-table): Use it.
5665 (sql-oracle-completion-types): New variable.
5666 (sql-oracle-completion-object, sql-sqlite-completion-object)
5667 (sql-postgres-completion-object): New functions.
5668
5669 2011-07-06 Glenn Morris <rgm@gnu.org>
5670
5671 * window.el (pop-to-buffer): Doc fix.
5672
5673 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
5674
5675 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5676
5677 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
5678
5679 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5680
5681 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
5682
5683 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
5684
5685 * button.el (button): Inherit from link face. Suggested by Dan
5686 Nicolaescu.
5687
5688 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * progmodes/gdb-mi.el: Fit in 80 columns.
5691 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5692 switch-to-buffer.
5693
5694 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5695 if imenu is simply not configured (bug#8941).
5696
5697 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5698
5699 * allout.el (allout-post-undo-hook): New allout outline-change
5700 event hook to signal undo activity.
5701 (allout-post-command-business): Run allout-post-undo-hook if an
5702 undo just occurred.
5703 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5704 * allout-widgets.el (allout-widgets-after-undo-function):
5705 Ensure the integrity of the current item's decoration after it has been
5706 in the vicinity of an undo.
5707 (allout-widgets-mode): Include allout-widgets-after-undo-function
5708 on the new allout-post-undo-hook.
5709
5710 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5713 Let define-derived-mode define it.
5714 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5715 cycles of abbrev-table inheritance (bug#8998).
5716
5717 2011-07-05 Roland Winkler <winkler@gnu.org>
5718
5719 * textmodes/bibtex.el: Add support for biblatex.
5720 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5721 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5722 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5723 (bibtex-entry-alist, bibtex-field-alist): New variables.
5724 (bibtex-entry-field-alist): Obsolete alias for
5725 bibtex-BibTeX-entry-alist.
5726 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5727 (bibtex-set-dialect): New command.
5728 (bibtex-entry-type, bibtex-entry-head)
5729 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5730 Bind via bibtex-set-dialect.
5731 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5732 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5733 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5734 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5735 Define via bibtex-set-dialect.
5736 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5737 Obey bibtex-no-opt-remove-re.
5738 (bibtex-vec-push, bibtex-vec-incr): New functions.
5739 (bibtex-format-entry, bibtex-field-list)
5740 (bibtex-print-help-message, bibtex-validate)
5741 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5742
5743 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * progmodes/compile.el (compilation-goto-locus):
5746 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5747 * bs.el (bs-cycle-next, bs-cycle-previous):
5748 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5749 * bindings.el (mode-line-other-buffer):
5750 * autoinsert.el (auto-insert):
5751 * arc-mode.el (archive-extract):
5752 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5753
5754 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5755
5756 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5757 Fix check of `emacs-lock-unlockable-modes'.
5758 Coerce true values of `emacs-lock--try-unlocking' to t.
5759
5760 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5761
5762 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5763 * emacs-lock.el: New file.
5764
5765 2011-07-05 Julien Danjou <julien@danjou.info>
5766
5767 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5768 than `boundp' to check if face is set.
5769
5770 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * register.el (registerv-make):
5773 * window.el (window-min-height): Fix typos in docstrings.
5774
5775 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5776
5777 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5778 Update doc string.
5779
5780 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
5781
5782 * server.el (server-execute): Catch quit and call
5783 `server-return-error' to pass the error back to emacsclient and
5784 close the connection (bug#8942).
5785
5786 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5787
5788 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5789 insecure exception for current topic. Also note that auto-saves
5790 are handled differently.
5791
5792 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5793 State variables for tracking auto-save inhibition situation.
5794
5795 (allout-write-contents-hook-handler): Rename from
5796 'allout-write-file-hook-handler', and describe how it depends on
5797 write-contents-functions sensitivity to non-nil value to prevent
5798 file write.
5799
5800 (allout-auto-save-hook-handler): Remove. auto-save does not check
5801 this in individual buffers, only in the starting buffer, so this
5802 is not the right way for us to inhibit auto-save in a buffer
5803 according to its condition.
5804
5805 (allout-mode): Use new allout-write-contents-hook-handler, and
5806 only with write-contents-functions. Remove auto-save provisions -
5807 they're implemented elsewhere.
5808
5809 (allout-before-change-handler): If undo is in progress, note that
5810 for attention of allout-post-command-business.
5811
5812 (allout-post-command-business): If the command we're following was
5813 an undo, check for change in the status of encrypted items and
5814 adjust auto-save inhibitions accordingly.
5815
5816 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5817 according to whether there are or aren't any plain-text topics
5818 pending encryption.
5819
5820 (allout-inhibit-auto-save-info-for-decryption):
5821 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5822 if there are plain-text topics pending encryption.
5823
5824 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5825 buffer-saved-size and some allout state to not inhibit auto-saves
5826 if there are no longer any plain-text topics pending encryption.
5827
5828 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5829 No longer provide for exemption of the current topic.
5830
5831 2011-07-04 Juri Linkov <juri@jurta.org>
5832
5833 Add 7z operations to delete and save changed members (bug#8968).
5834 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5835 New defcustoms.
5836 (archive-7z-write-file-member): New function.
5837 (archive-7z-summarize): Fix the number of dashes in the
5838 listing output.
5839
5840 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5843 (bug#8958).
5844
5845 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
5846
5847 * bindings.el: Ignore next-buffer and previous-buffer in
5848 minibuffer-local-map.
5849
5850 * font-lock.el (font-lock-builtin-face): Change light background
5851 color to dark slate blue (Bug#6693).
5852
5853 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5854
5855 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5856
5857 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5860 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5861 Add switch-to-buffer.
5862
5863 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5864
5865 * isearch.el (isearch-search-fun-function): Clarify further the
5866 meaning of the function returned.
5867
5868 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
5869
5870 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5871
5872 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5873 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5874 Use it.
5875 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5876 `tramp-default-remote-path' does not exist.
5877 (tramp-send-command-and-read): New optional argument NOERROR.
5878 (tramp-open-connection-setup-interactive-shell)
5879 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5880 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5881 (tramp-process-sentinel): Flush also process' connection property.
5882 (tramp-sh-handle-start-file-process): Do not set process
5883 sentinel. It is done now ...
5884 (tramp-maybe-open-connection): ... here. (Bug#8929)
5885
5886 2011-07-04 MON KEY <monkey@sandpframing.com>
5887
5888 * play/animate.el (animate-string): Doc fixes and allow changing
5889 the buffer name (bug#5417).
5890
5891 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5892
5893 * play/animate.el (animation-buffer-name): Rename from *animate*.
5894
5895 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5896
5897 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5898 This is simpler and helps future-proof the code.
5899 (timer-until): Use time-subtract and float-time.
5900 (timer--time-less-p): Use time-less-p.
5901
5902 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * type-break.el (timep): Use the value of `float-time' to avoid a
5905 byte-compiler warning.
5906
5907 * server.el (server-eval-and-print): Return any result, even nil.
5908
5909 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5910
5911 * type-break.el: Accept time formats that the builtins accept.
5912 (timep, type-break-time-difference): Accept any format that
5913 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5914 This is simpler and helps future-proof the code.
5915 (type-break-time-difference): Round rather than ignoring
5916 subseconds components.
5917
5918 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5919
5920 * info.el (Info-apropos-matches): Make non-interactive, since it
5921 doesn't seem to do anything useful as a command (bug#8829).
5922
5923 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
5924
5925 * frame.el (frame-background-mode, frame-set-background-mode):
5926 Move from faces.el.
5927 (frame-default-terminal-background): New function.
5928
5929 * custom.el (custom-push-theme): Don't record faces in `changed'
5930 theme; this doesn't work correctly for per-frame face settings.
5931 (disable-theme): Use face-set-after-frame-default to reset faces.
5932 (custom--frame-color-default): New function.
5933
5934 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935
5936 * dired.el (dired-flagging-regexp): Remove unused variable
5937 (bug#8769).
5938
5939 2011-03-29 Kevin Ryde <user42@zip.com.au>
5940
5941 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5942 `perl-Test2' extend to match possible "fail #N" rep count
5943 (bug#8377).
5944
5945 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5946
5947 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5948 `smtpmail-via-smtp' now returns the error instead of nil.
5949
5950 * isearch.el (isearch-search-fun-function): Clarify the doc string
5951 (bug#8101).
5952
5953 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
5954
5955 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5956 unnecessary spaces (bug#8987).
5957
5958 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5959
5960 * net/network-stream.el (open-network-stream): Use the
5961 :end-of-capability command thoughout.
5962
5963 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5964
5965 * net/network-stream.el (open-network-stream): Add the
5966 :end-of-capability command parameter, used by pop3.el.
5967
5968 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5969
5970 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5971
5972 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5973 for list)" (bug#6475).
5974
5975 * files.el (file-expand-wildcards): Ignore non-readable
5976 sub-directories while trying to find matches instead of signaling
5977 an error (bug#6297).
5978
5979 * man.el (Man-reference-regexp): Allow matching possible
5980 word-wrapped references (bug#6289).
5981
5982 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5983 for consistency with the other vc buffers (bug#6197).
5984 (vc-checkin): Ditto.
5985
5986 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5987
5988 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5989
5990 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5991
5992 * custom.el (defcustom): Clarify that :set is only used in the
5993 Customize user interface (bug#6089).
5994
5995 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5996 associated with a file, refuse to run instead of erroring out
5997 (bug#6084).
5998
5999 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6000 the doc string, since it appears that using `fill-column' always
6001 controls the width (bug#7845).
6002
6003 * simple.el (shell-command-on-region): Say where the error output
6004 went if `shell-command-default-error-buffer' is set (bug#6857).
6005
6006 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6007
6008 * allout.el (allout-yank-processing): Adjust cursor position for
6009 backwards-deleted space.
6010
6011 (allout-rebullet-heading): Register changes with
6012 allout-exposure-changed-hook, so the modified topic is properly
6013 decorated.
6014
6015 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6016
6017 * minibuffer.el (completion-in-region): Document PREDICATE
6018 (bug#7136).
6019
6020 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6021 of keyword/argument pairs (bug#6904).
6022
6023 * replace.el (multi-occur):
6024 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
6025
6026 2011-07-02 Drew Adams <drew.adams@oracle.com>
6027
6028 * dired.el (dired-mark-if): Make the message about whether it's
6029 marking or unmarking clearer (bug#8523).
6030
6031 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6032
6033 * disp-table.el (display-table-print-array): New function.
6034 (describe-display-table): Use it to print the vectors more pretty
6035 (Bug#8859).
6036
6037 2011-07-02 Martin Rudalics <rudalics@gmx.at>
6038
6039 * window.el (window-state-get-1): Don't assign clone numbers.
6040 Add clone-of item to list of window parameters.
6041 (window-state-put-2): Don't process clone numbers.
6042 (display-buffer-alist): Fix doc-string.
6043
6044 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * subr.el (remq): Don't allocate if it's not needed.
6047 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6048 (keymap--merge-bindings): New functions.
6049 (keymap-canonicalize): Use them to refine the canonicalization.
6050 * minibuffer.el (minibuffer-local-completion-map)
6051 (minibuffer-local-must-match-map): Move initialization from C.
6052 (minibuffer-local-filename-completion-map): Move initialization from C;
6053 don't inherit from anything here.
6054 (minibuffer-local-filename-must-match-map): Make obsolete.
6055 (completing-read-default): Use make-composed-keymap to combine
6056 minibuffer-local-filename-completion-map with either
6057 minibuffer-local-must-match-map or
6058 minibuffer-local-filename-completion-map.
6059
6060 2011-07-01 Glenn Morris <rgm@gnu.org>
6061
6062 * type-break.el (type-break-time-sum): Use dolist.
6063
6064 * textmodes/flyspell.el (flyspell-word-search-backward):
6065 Replace CL function.
6066
6067 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * mouse.el (mouse--strip-first-event): New function.
6070 (function-key-map): Use it to map fringe clicks to normal clicks
6071 by default.
6072
6073 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6074 (vc-bzr-revision-completion-table): Add support for annotate and date.
6075
6076 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6077 inherit from parent.
6078
6079 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080
6081 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
6082 (dired-show-file-type): Doc fixup (bug#8818).
6083
6084 * dired.el (dired-mode): Fix up the doc string as suggested by
6085 Drew Adams (bug#8817).
6086
6087 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6088 cookie, since the manual says that it should be possible to add
6089 this function to `find-file-hook' (bug#8709).
6090
6091 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6092
6093 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6094 here. Noted Ted Zlatanov as the maintainer.
6095 (cfengine-common-settings, cfengine-common-syntax): New functions
6096 to set up common things between `cfengine-mode' and
6097 `cfengine3-mode'.
6098 (cfengine3-mode): New mode.
6099 (cfengine3-defuns cfengine3-defuns-regex
6100 (cfengine3-class-selector-regex cfengine3-category-regex)
6101 (cfengine3-vartypes cfengine3-font-lock-keywords)
6102 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
6103 (cfengine3-indent-line): Add from cfengine3.el.
6104
6105 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
6106
6107 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6108
6109 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6110
6111 2011-07-01 Martin Rudalics <rudalics@gmx.at>
6112
6113 * window.el (same-window-buffer-names, same-window-regexps)
6114 (same-window-p, special-display-frame-alist)
6115 (special-display-popup-frame, special-display-function)
6116 (special-display-buffer-names, special-display-regexps)
6117 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6118 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6119 (split-window-preferred-function, split-height-threshold)
6120 (split-width-threshold, even-window-heights)
6121 (display-buffer-mark-dedicated, window-splittable-p)
6122 (split-window-sensibly, window-safely-shrinkable-p):
6123 Un-obsolete.
6124 (display-buffer): Don't spread args with function specifier
6125 because special-display-popup-frame won't like it.
6126
6127 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6128
6129 Time-stamp simplifications and fixes.
6130 These improve accuracy slightly, and future-proof the code
6131 against some potential changes to current-time format.
6132
6133 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6134 by using time-since and float-time.
6135
6136 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6137 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6138 + NNN microseconds".
6139
6140 * type-break.el (type-break-time-sum): Rewrite using time-add.
6141
6142 * play/hanoi.el (hanoi-current-time-float): Remove.
6143 All uses replaced by float-time.
6144
6145 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6146 This yields a more-accurate answer.
6147 (rng-time-to-float): Remove; no longer needed.
6148
6149 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6150
6151 * calendar/timeclock.el (timeclock-seconds-to-time):
6152 Defalias to seconds-to-time, since they're the same thing.
6153
6154 * emacs-lisp/elp.el (elp-elapsed-time):
6155 * emacs-lisp/benchmark.el (benchmark-elapse):
6156 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6157
6158 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * window.el (bury-buffer): Don't iconify the only frame.
6161 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6162 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6163
6164 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
6165
6166 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6167 Add mouse-yank-primary.
6168
6169 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6170
6171 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6172
6173 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6176 (find-library-name): Use it to find relative load names when provided
6177 absolute file name (bug#8803).
6178
6179 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6180
6181 * textmodes/flyspell.el (flyspell-word): Consider words that
6182 differ only in case as potential doublons (bug#5687).
6183
6184 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6185 Remove two rather uninteresting debugging-like messages to make
6186 debbugs.el more silent.
6187
6188 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6189 a password-like phrase.
6190
6191 2011-06-30 Mastake YAMATO <yamato@redhat.com>
6192
6193 * progmodes/cc-guess.el: New file.
6194
6195 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
6196
6197 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6198 derived from `c-basic-common-init'.
6199
6200 * progmodes/cc-mode.el (top-level): Require cc-guess.
6201 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6202
6203 2011-06-30 Lawrence Mitchell <wence@gmx.li>
6204
6205 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6206
6207 2011-06-30 Alan Mackenzie <acm@muc.de>
6208
6209 * progmodes/cc-engine.el (c-guess-continued-construct):
6210 Correct the handling of template-args-cont, particularly for when font
6211 lock is disabled. Name this case as "CASE G".
6212
6213 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6214
6215 * allout.el (allout-yank-processing): Fix injection of extra space
6216 between bullet and non-whitespace character in first topic when
6217 pasting, ensuring that the actual spacing in the pasted topic
6218 following the bullet char is preserved. This extra space was
6219 causing pasted encrypted topics to get a decrypted status even
6220 when the content was actually still encrypted. Now the decryption
6221 status from before the paste is preserved.
6222
6223 (allout-flag-region): Set all allout overlays so they evaporate
6224 when reduced to zero length (evanescent), to prevent overlay
6225 leakage.
6226
6227 2011-06-30 Glenn Morris <rgm@gnu.org>
6228
6229 * w32-fns.el (w32-charset-info-alist): Declare.
6230
6231 * find-dired.el (find-grep-options): Simplify.
6232
6233 * term/ns-win.el (ns-set-resource): Declare.
6234
6235 * ses.el (row, col): Declare dynamic variables honestly.
6236
6237 * textmodes/reftex-parse.el (index-tags): Declare.
6238
6239 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
6240
6241 * cus-edit.el (customize-push-and-save): New function.
6242
6243 * files.el (hack-local-variables-confirm): Use it.
6244
6245 * custom.el (load-theme): New arg NO-CONFIRM.
6246 Use customize-push-and-save (Bug#8720).
6247 (custom-enabled-themes): Doc fix.
6248
6249 * cus-theme.el (customize-create-theme)
6250 (custom-theme-merge-theme): Callers to load-theme changed.
6251
6252 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6253
6254 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6255 short URLs have at least one dot in them (bug #7614).
6256
6257 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6258 nil, because using a pty is apparently too slow (bug #895).
6259
6260 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6261
6262 * mail/sendmail.el (sendmail-query-once): New function.
6263 (sendmail-query-once-function): New variable.
6264
6265 2011-06-29 Glenn Morris <rgm@gnu.org>
6266
6267 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6268
6269 * ses.el (top-level): Require cl when compiling.
6270 (ses-set-localvars): Fix error statement.
6271 Call it at compile time to silence a storm of warnings.
6272
6273 2011-06-29 Martin Rudalics <rudalics@gmx.at>
6274
6275 * window.el (normalize-live-buffer): Rename to
6276 window-normalize-buffer.
6277 (normalize-live-frame): Rename to window-normalize-frame.
6278 (normalize-any-window): Rename to window-normalize-any-window.
6279 (normalize-live-window): Rename to window-normalize-live-window.
6280 (make-window-atom): Rename to window-make-atom.
6281 (window-resize-reset): Rename to window--resize-reset.
6282 (window-resize-reset-1): Rename to window--resize-reset-1.
6283 (resize-mini-window): Rename to window--resize-mini-window.
6284 (resize-subwindows-skip-p): Rename to
6285 window--resize-subwindows-skip-p.
6286 (resize-subwindows-normal): Rename to
6287 window--resize-subwindows-normal.
6288 (resize-subwindows): Rename to window--resize-subwindows.
6289 (resize-other-windows): Rename to window--resize-siblings.
6290 (resize-this-window): Rename to window--resize-this-window.
6291 (resize-root-window): Rename to window--resize-root-window.
6292 (resize-root-window-vertically): Rename to
6293 window--resize-root-window-vertically.
6294 (normalize-buffer-to-display): Rename to
6295 window-normalize-buffer-to-display.
6296 (normalize-buffer-to-switch-to): Rename to
6297 window-normalize-buffer-to-switch-to.
6298 Correspondingly update all callers of the functions listed
6299 above.
6300 (display-buffer-alist, display-buffer-normalize-arguments)
6301 (display-buffer-normalize-options, display-buffer)
6302 (display-buffer-alist-set): Use "function" instead of
6303 "fun-with-args".
6304
6305 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
6306
6307 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6308 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6309 debbugs.gnu.org. Mention acknowledgment email.
6310
6311 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6312
6313 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6314 buffer multibyteness, since it shouldn't matter.
6315
6316 2011-06-28 Martin Rudalics <rudalics@gmx.at>
6317
6318 * window.el (display-buffer-in-side-window): Handle dedicated
6319 windows as in display-buffer-reuse-window.
6320 (display-buffer-normalize-alist): Use value of override
6321 specifier.
6322 (display-buffer-normalize-specifiers): Use value of
6323 other-window-means-other-frame specifier.
6324 (display-buffer-alist): Rewrite some texts in widgets.
6325 (display-buffer): Spread arguments when calling function
6326 specified by fun-with-args.
6327
6328 2011-06-28 Deniz Dogan <deniz@dogan.se>
6329
6330 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6331 Unnest `let'.
6332
6333 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6334 selectors (Bug#5732).
6335 (css-proprietary-nmstart-re): Use `regexp-opt'.
6336
6337 2011-06-27 Jari Aalto <jari.aalto@cante.net>
6338
6339 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6340 (eshell-ls-date-format): New defcustom.
6341 (eshell-ls-file): Use it.
6342
6343 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6346
6347 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6348
6349 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6350 (ange-ftp-make-tmp-name): New arg.
6351 (ange-ftp-file-local-copy): Use it.
6352
6353 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
6354
6355 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6356 no-conversion (Bug#8870).
6357
6358 2011-06-27 Martin Rudalics <rudalics@gmx.at>
6359
6360 * window.el (window-right, window-left, window-child)
6361 (window-child-count, window-last-child)
6362 (window-iso-combination-p, walk-window-tree-1)
6363 (window-atom-check-1, window-tree-1, delete-window)
6364 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6365 new naming conventions - window-vchild, window-hchild,
6366 window-next and window-prev are now called window-top-child,
6367 window-left-child, window-next-sibling and window-prev-sibling
6368 respectively.
6369 (resize-window-reset): Rename to window-resize-reset.
6370 (resize-window-reset-1): Rename to window-resize-reset-1.
6371 (resize-window): Rename to window-resize.
6372 (window-min-height, window-min-width)
6373 (resize-mini-window, resize-this-window, resize-root-window)
6374 (resize-root-window-vertically, adjust-window-trailing-edge)
6375 (enlarge-window, shrink-window, maximize-window)
6376 (minimize-window, delete-window, quit-restore-window)
6377 (split-window, balance-windows, balance-windows-area-adjust)
6378 (balance-windows-area, window-state-put-2)
6379 (display-buffer-even-window-sizes, display-buffer-set-height)
6380 (display-buffer-set-width, set-window-text-height)
6381 (fit-window-to-buffer): Rename all "resize-window" prefixed
6382 calls to use the "window-resize" prefix convention.
6383 (display-buffer-alist): Fix symbol for label specifier.
6384 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6385 corresponding specifier.
6386 Reported by Juanma Barranquero <lekktu@gmail.com>.
6387
6388 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6389
6390 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6391 convention.
6392 (ses-call-printer): Does not pass an empty string to formatter when the
6393 cell is empty to keep from barking printer Calc math-format-value.
6394
6395 2011-06-27 Richard Stallman <rms@gnu.org>
6396
6397 * battery.el (battery-mode-line-limit): New variable.
6398 (battery-update): Handle it.
6399
6400 * mail/rmailmm.el (rmail-mime-process-multipart):
6401 Handle truncated messages.
6402
6403 2011-06-27 Glenn Morris <rgm@gnu.org>
6404
6405 * progmodes/flymake.el (flymake-err-line-patterns):
6406 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6407
6408 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6409
6410 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
6411 (ses--clean-!, ses--clean-_): New functions.
6412 (ses-range): Add configurability of readout order, and conversion
6413 to Calc vector.
6414
6415 * ses.el (ses-repair-cell-reference-all): New function.
6416 (ses-cell-symbol): Set macro as safe, so that it can be used in
6417 formulas.
6418
6419 * ses.el: Update cycle detection algorithm.
6420 (ses-localvars): Add ses--Dijkstra-attempt-nb and
6421 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
6422 (ses-set-localvars): New function.
6423 (ses-make-cell): Add property-list as a cell element.
6424 (ses-cell-property-get-fun, ses-cell-property-get)
6425 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
6426 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6427 New functions.
6428 (ses-cell-property-set, ses-cell-property-pop)
6429 (ses-cell-property-get-handle): New macro.
6430 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6431 New aliases, used for code readability.
6432 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6433 cycle detection.
6434 (ses-self-reference-early-detection): New defcustom.
6435 (ses-formula-references): Robustify against self-referring cells.
6436 (ses-mode): Use ses-set-localvars.
6437 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6438 before lauching the update processing.
6439 (ses-initialize-Dijkstra-attempt): New function.
6440 (ses-recalculate-cell): Update for cycle detection based on
6441 Dijkstra algorithm.
6442
6443 * ses.el: Fix commenting and indenting convention.
6444
6445 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * bs.el (bs-cycle-next): Complete last change.
6448
6449 2011-06-27 Drew Adams <drew.adams@oracle.com>
6450
6451 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6452
6453 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6454
6455 * net/network-stream.el (network-stream-open-starttls):
6456 Don't re-get capabilities unless we've reestablished connection.
6457 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6458
6459 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6460 to binary to possibly avoid line encoding issues on Windows (among
6461 other things).
6462
6463 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464
6465 * net/network-stream.el (open-network-stream): Return an :error
6466 saying what the problem was, if possible.
6467
6468 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6469 server.
6470
6471 * net/network-stream.el (network-stream-open-starttls): If we
6472 wanted to use STARTTLS, and the server offered it, but we weren't
6473 able to because we had no STARTTLS support, then close the connection.
6474 (open-network-stream): Return an :error element, if present.
6475
6476 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
6477
6478 * hl-line.el (hl-line-sticky-flag): Doc fix.
6479 (global-hl-line-sticky-flag): New option (Bug#8323).
6480 (global-hl-line-highlight): Obey it.
6481
6482 * vc/vc.el (vc-revert-show-diff): Default to t.
6483
6484 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6485
6486 * allout-widgets.el (allout-widgets-post-command-business):
6487 Stop decorating intermediate isearch matches. They're not being
6488 undecorated when an isearch is continued past, and isearch
6489 automatically collapses them. This leads to "widget leaks", where
6490 decorated items accumulate in collapsed areas. Lines with lots of
6491 hidden widgets can slow down cursor travel, substantially.
6492 Too much complicated machinery would be needed to ensure undecoration,
6493 so we're doing without this nicety.
6494
6495 (allout-widgets-tally-string): Don't try to do a hash-table-count
6496 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6497 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6498 *Messages* when allout-widgets-maintain-tally is t.
6499
6500 2011-06-26 Martin Rudalics <rudalics@gmx.at>
6501
6502 * window.el (display-buffer-normalize-argument): Rename to
6503 display-buffer-normalize-arguments. Handle special meaning of
6504 LABEL argument. Respect special-display-function when popping up
6505 a new frame. Fix code searching for a window showing the buffer
6506 on another frame.
6507 (display-buffer-normalize-specifiers):
6508 Call display-buffer-normalize-arguments.
6509 (display-buffer-in-window): Don't undedicate the window if its
6510 buffer remains the same.
6511 Reported by Drew Adams <drew.adams@oracle.com>.
6512 (display-buffer-alist): Add choice for same-window macro
6513 specfier.
6514 (display-buffer): Mention special meaning of LABEL argument in
6515 doc-string. Fix quoting. Don't pop up a new frame even as
6516 fallback.
6517
6518 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
6519
6520 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6521 avoid deleting the current window in some cases (bug#8911).
6522
6523 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6524
6525 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6526 (Bug#8934)
6527
6528 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6529
6530 * net/network-stream.el (network-stream-open-starttls):
6531 Use built-in TLS support if `gnutls-available-p' is true.
6532 (network-stream-open-tls): Ditto.
6533
6534 2011-06-26 Leo Liu <sdl.web@gmail.com>
6535
6536 * register.el (registerv): New struct.
6537 (registerv-make): New function.
6538 (jump-to-register, describe-register-1, insert-register):
6539 Support the jump-func, print-func and insert-func slot of a registerv
6540 struct. (Bug#8415)
6541
6542 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
6543
6544 * vc/vc.el (vc-revert-show-diff): New defcustom.
6545 (vc-diff-internal): New arg specifying diff buffer.
6546 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6547 reuse an existing *vc-diff* buffer (Bug#8927).
6548
6549 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6550
6551 2011-06-26 Glenn Morris <rgm@gnu.org>
6552
6553 * progmodes/f90.el (f90-critical-indent): New option.
6554 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6555 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6556 (f90-mode): Doc fix.
6557 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6558 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6559 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6560 (f90-match-end): Handle block, critical.
6561
6562 2011-06-25 Glenn Morris <rgm@gnu.org>
6563
6564 * calendar/diary-lib.el (diary-included-files): Doc fix.
6565 (diary-include-files): New function, extracted from
6566 diary-include-other-diary-files and diary-mark-included-diary-files.
6567 (diary-include-other-diary-files, diary-mark-included-diary-files):
6568 Just call diary-include-files.
6569 (diary-mark-entries): Reset diary-included-files on first call.
6570
6571 * calendar/diary-lib.el (diary-mark-entries)
6572 (diary-mark-included-diary-files):
6573 Visit included diary-files in temp buffers.
6574
6575 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6576 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6577 (f90-start-block-re, f90-imenu-generic-expression)
6578 (f90-looking-at-program-block-start, f90-no-block-limit):
6579 Add support for submodules.
6580
6581 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6582 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
6583
6584 2011-06-25 Eli Zaretskii <eliz@gnu.org>
6585
6586 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6587 buffer-file-type before setting its value, to avoid disastrous
6588 global effects on decoding files for DOS/Windows systems. (Bug#8780)
6589
6590 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
6591
6592 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6593
6594 * ses.el (ses-unload-function):
6595 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6596
6597 * proced.el (proced-unload-function):
6598 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6599
6600 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6601
6602 * server.el (server-create-window-system-frame): Add parameters arg.
6603 (server-process-filter): Doc fix. Handle frame-parameters.
6604
6605 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
6606
6607 Fix bug#8730, bug#8781.
6608
6609 * loadhist.el (unload--set-major-mode): New function.
6610 (unload-feature): Use it.
6611
6612 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6613 (python-unload-function): New function.
6614
6615 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6618
6619 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6620
6621 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6622 the candidates list.
6623
6624 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
6625
6626 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6627
6628 2011-06-23 Richard Stallman <rms@gnu.org>
6629
6630 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6631 (rmail-variables): Set next-error-move-function.
6632 (rmail-what-message): Take argument POS.
6633 (rmail-next-error-move): New function.
6634
6635 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6638 messages for adjacent non-terminals.
6639
6640 2011-06-23 Richard Stallman <rms@gnu.org>
6641
6642 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
6643 (rmail-show-message-1): Preserve buffer modified flag.
6644 (rmail-start-mail): Don't specify use of rmail-mail-return;
6645 that's done by mail-bury now.
6646 (rmail-mail-return): Handle arg NEWBUF.
6647
6648 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
6649
6650 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6651 SIZE is a number.
6652
6653 2011-06-23 Martin Rudalics <rudalics@gmx.at>
6654
6655 * window.el (get-lru-window, get-mru-window)
6656 (get-largest-window): Never return a minibuffer window.
6657 (display-buffer-pop-up-window): Fix a bug that could lead to
6658 reusing the minibuffer window.
6659 (display-buffer): Pass original specifier argument to
6660 display-buffer-function instead of the normalized one.
6661 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6662
6663 2011-06-22 Leo Liu <sdl.web@gmail.com>
6664
6665 * minibuffer.el (completing-read-function)
6666 (completing-read-default): Move from minibuf.c
6667
6668 2011-06-22 Richard Stallman <rms@gnu.org>
6669
6670 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6671 to Rmail even if not started by a special Rmail command.
6672
6673 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6674 Copy the buffer currently showing just one message.
6675
6676 2011-06-22 Roland Winkler <winkler@gnu.org>
6677
6678 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6679 (bibtex-clean-entry): First delete the old key so that a
6680 customized algorithm for generating the new key does not get
6681 confused by the old key.
6682 (bibtex-url): Obey regexp of first step.
6683 (bibtex-search-entries): Do not use add-to-list with local
6684 list-var.
6685
6686 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6687
6688 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6689 stored a user name, then query for the password first, instead of
6690 waiting for SMTP to give an error message and the trying again.
6691
6692 2011-06-22 Lawrence Mitchell <wence@gmx.li>
6693
6694 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6695 BUFFER in call-process.
6696
6697 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6698
6699 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6700 QUIT twice.
6701 (smtpmail-try-auth-methods): Require user name and password from
6702 auth-source.
6703
6704 2011-06-22 Martin Rudalics <rudalics@gmx.at>
6705
6706 * window.el (display-buffer-default-specifiers)
6707 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6708 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
6709 (split-window): Normalize SIDE argument (Bug#8916).
6710
6711 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6712 (special-display-frame-alist, special-display-popup-frame):
6713 Remove duplicate declarations. These are now in window.el.
6714
6715 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6716
6717 * mail/smtpmail.el (smtpmail-via-smtp):
6718 Set :use-starttls-if-possible so that we always use STARTTLS if the
6719 server supports it. SMTP servers that support STARTTLS commonly
6720 require it.
6721
6722 * net/network-stream.el (network-stream-open-starttls): Support
6723 upgrading to STARTTLS always, even if we don't have built-in support.
6724 (open-network-stream): Add the :always-query-capabilities keyword.
6725
6726 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6727 upgrades with `open-network-stream', and rely solely on
6728 auth-source for all credentials. Big changes throughout the file,
6729 but in particular:
6730 (smtpmail-auth-credentials): Remove.
6731 (smtpmail-starttls-credentials): Remove.
6732 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6733 MAIL FROM, too.
6734
6735 * net/network-stream.el (network-stream-open-starttls):
6736 Provide support for client certificates both for external and built-in
6737 STARTTLS.
6738 (auth-source): Require.
6739 (open-network-stream): Document the :client-certificate keyword.
6740 (network-stream-certificate): Change cert-cert to cert and
6741 cert-key to key.
6742
6743 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
6744
6745 * net/tramp-cache.el (top): Don't load the persistency file when
6746 "emacs -Q" has been called.
6747
6748 2011-06-21 Tim Harper <timcharper@gmail.com>
6749
6750 * term/ns-win.el (ns-initialize-window-system):
6751 Set application-specific `ApplePressAndHoldEnabled' system
6752 resource to NO as it is not yet supported by the NS port.
6753
6754 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
6755
6756 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6757 (list-dynamic-libraries): ...not here.
6758
6759 2011-06-21 Leo Liu <sdl.web@gmail.com>
6760
6761 * subr.el (sha1): Implement sha1 using secure-hash.
6762
6763 2011-06-21 Martin Rudalics <rudalics@gmx.at>
6764
6765 * window.el (display-buffer-alist): In default value do not
6766 enforce searching a window on any but the selected frame.
6767 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6768 (display-buffer-select-window): Remove function.
6769 (display-buffer-in-window): When a window on another frame gets
6770 reused, do not select it any more but just raise its frame if
6771 necessary (Bug#8851) and (Bug#8856).
6772 (display-buffer-normalize-options): Handle pop-up-frames related
6773 options more faithfully.
6774 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6775 window if it is on another frame.
6776 (display-buffer-alist, display-buffer-default-specifiers):
6777 Don't make new frame unsplittable by default.
6778 (display-buffer-normalize-argument): Fix doc-string typo and use
6779 'same-frame-other-window instead of 'other-window when associating
6780 with display-buffer-macro-specifiers.
6781
6782 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6783
6784 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6785 New functions.
6786 (5x5-mode-map, 5x5-mode-menu): Bind them.
6787 (5x5-draw-grid): Tweak the solver's rendering.
6788
6789 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6790
6791 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6792 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6793
6794 2011-06-21 Drew Adams <drew.adams@oracle.com>
6795
6796 * menu-bar.el: Use function variable instead of switch-to-buffer.
6797 (menu-bar-select-buffer-function): New variable.
6798 (menu-bar-update-buffers): Use it (bug#8876).
6799
6800 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6803 variable's status.
6804
6805 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6806
6807 * x-dnd.el (x-dnd-version-from-flags)
6808 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6809 and long as number (Bug#8899).
6810 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6811
6812 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
6815 (completion-try-completion, completion-all-completions): Compute the
6816 metadata argument if it's missing; make it optional (bug#8795).
6817
6818 * wid-edit.el: Use lex-bind and move towards completion-at-point.
6819 (widget-complete): Use new :completion-function property.
6820 (widget-completions-at-point): New function.
6821 (default): Use :completion-function instead of :complete.
6822 (widget-default-completions): Rename from widget-default-complete;
6823 Rewrite.
6824 (widget-string-complete, widget-file-complete, widget-color-complete):
6825 Remove functions.
6826 (file, symbol, function, variable, coding-system, color):
6827 * international/mule-cmds.el (default-input-method, charset)
6828 (language-info-custom-alist):
6829 * cus-edit.el (face): Use new property :completions.
6830
6831 * progmodes/pascal.el (pascal-completions-at-point): New function.
6832 (pascal-mode): Use it.
6833 (pascal-mode-map): Use completion-at-point.
6834 (pascal-toggle-completions): Make obsolete.
6835 (pascal-complete-word, pascal-show-completions):
6836 * progmodes/octave-mod.el (octave-complete-symbol):
6837 Redefine as obsolete alias.
6838 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6839 Signal absence of completion info for old Octave,
6840 (inferior-octave-complete): Redefine as obsolete alias.
6841 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6842 (meta-completions-at-point): Rename from meta-complete-symbol and
6843 adapt it for use on completion-at-point-functions.
6844 (meta-common-mode): Use it.
6845 (meta-looking-at-backward, meta-match-buffer): Remove.
6846 (meta-complete-symbol): Redefine as obsolete alias.
6847 (meta-common-mode-map): Use completion-at-point.
6848 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6849 (makefile-mode-map): Use completion-at-point.
6850 (makefile-completions-at-point): Rename from makefile-complete and
6851 adapt it for use on completion-at-point-functions.
6852 (makefile-mode): Use it.
6853 (makefile-complete): Redefine as obsolete alias.
6854
6855 2011-06-20 Deniz Dogan <deniz@dogan.se>
6856
6857 * net/rcirc.el: Delete trailing whitespaces once and for all.
6858
6859 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6860
6861 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6862
6863 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
6864
6865 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6866
6867 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6868
6869 2011-06-19 Martin Rudalics <rudalics@gmx.at>
6870
6871 * window.el (display-buffer-other-window-means-other-frame):
6872 Call display-buffer-normalize-alist.
6873 (display-buffer-normalize-specifiers-1): Rename to
6874 display-buffer-normalize-argument. New argument other-frame.
6875 Rewrite.
6876 (display-buffer-normalize-specifiers-2): Rename to
6877 display-buffer-normalize-options.
6878 (display-buffer-normalize-alist-1): New function.
6879 (display-buffer-normalize-specifiers-3): Rename to
6880 display-buffer-normalize-alist.
6881 Call display-buffer-normalize-alist-1.
6882 (display-buffer-normalize-options-inhibit): New variable.
6883 (display-buffer-normalize-specifiers): Rewrite calling
6884 display-buffer-normalize-alist,
6885 display-buffer-normalize-argument, and
6886 display-buffer-normalize-options. Don't call the latter if
6887 display-buffer-normalize-options-inhibit is non-nil.
6888 (frame-auto-delete): New option.
6889 (window-deletable-p): Use frame-auto-delete.
6890 (window-list-no-nils, window-state-ignored-parameters)
6891 (window-state-get-1, window-state-get, window-state-put-list)
6892 (window-state-put-1, window-state-put-2, window-state-put):
6893 New functions.
6894 (display-buffer-normalize-options): Move special-display-p group
6895 after pop-up-frame group (Bug#8851) and (Bug#8856).
6896
6897 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
6898
6899 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6900 groups (Bug#8776).
6901 (rx-submatch-n): New function.
6902 (rx): Document it.
6903
6904 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6905 (Bug#8768).
6906
6907 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6908
6909 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6910
6911 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6912 anytime existing face settings are present (Bug#8889).
6913
6914 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6915 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6916 Remove unused argument.
6917
6918 2011-06-18 Martin Rudalics <rudalics@gmx.at>
6919
6920 * window.el (display-buffer-default-specifiers):
6921 Remove pop-up-frame. Add pop-up-window-min-height,
6922 pop-up-window-min-width, and another reuse-window specifier
6923 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
6924 (display-buffer-normalize-specifiers-2):
6925 Handle split-height-threshold and split-width-threshold also when
6926 pop-up-windows is unset. Add a reuse-window specifier for the
6927 case popping up a new window fails.
6928 (special-display-popup-frame): Remove double quoting.
6929 (display-buffer-normalize-specifiers-1): Fix thinko.
6930
6931 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6934 according to comint-completion-addsuffix.
6935
6936 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6937 (pcomplete-suffix-list): Mark as obsolete.
6938 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6939 pcomplete-seen in the closure.
6940 (pcomplete-comint-setup): Setup completion-at-point as well.
6941 (pcomplete--entries): New function.
6942 (pcomplete--env-regexp): New var.
6943 (pcomplete-entries): Rewrite to work with partial-completion and
6944 without relying on pcomplete-suffix-list.
6945 (pcomplete-pare-list): Remove, unused.
6946
6947 2011-06-17 Martin Rudalics <rudalics@gmx.at>
6948
6949 * window.el (display-buffer-alist): Set pop-up-window-min-height
6950 and pop-up-window-min-width in default value. Reported by
6951 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6952 other-window-means-other-frame.
6953 (display-buffer-macro-specifiers): Comment out entry for
6954 other-window specifier.
6955 (display-buffer-other-window-means-other-frame): New function.
6956 (display-buffer-normalize-specifiers-1): New arguments
6957 buffer-name and label. Treat other-window case specially.
6958 (display-buffer-normalize-specifiers-2): Treat other-window case
6959 specially.
6960 (display-buffer-normalize-specifiers-3): New function.
6961 (display-buffer-normalize-specifiers):
6962 Call display-buffer-normalize-specifiers-3.
6963
6964 2011-06-17 Martin Rudalics <rudalics@gmx.at>
6965
6966 * window.el (same-window-p): Fix two typos introduced when
6967 adding with-no-warnings.
6968 (display-buffer-normalize-specifiers-1): Don't check
6969 pop-up-frames for 'unset initialization.
6970 (display-buffer-normalize-specifiers-2): Major rewrite using
6971 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6972 (pop-up-frames, display-buffer-reuse-frames)
6973 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6974 Suggested by David Engster <deng@randomsample.de>.
6975 (even-window-heights): Initialize to 'unset.
6976 (display-buffer-alist-set): Handle new 'unset initializations.
6977 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6978 other window case.
6979
6980 2011-06-16 Martin Rudalics <rudalics@gmx.at>
6981
6982 * window.el (display-buffer-normalize-specifiers-1):
6983 Respect current value of pop-up-frames for most reasonable values of
6984 second argument of display-buffer (Bug#8865).
6985 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6986 (switch-to-buffer-other-window-same-frame)
6987 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6988 Adams (Bug#8875).
6989 (display-buffer): Don't check noninteractive when calling
6990 display-buffer-pop-up-frame.
6991 (display-buffer-pop-up-frame): Never pop up a frame in
6992 noninteractive mode (Bug#8857).
6993 (enlarge-window, shrink-window): Don't report an error when the
6994 window can't be resized as requested (Bug#8862).
6995
6996 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6999
7000 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7001
7002 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7003
7004 2011-06-15 Alan Mackenzie <acm@muc.de>
7005
7006 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7007 for declarators, disable knr checking to speed up for normal files.
7008 2: Refactor, replacing a sequence of nested if forms by a cond form.
7009
7010 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7011
7012 * net/network-stream.el (open-network-stream): Add the keyword
7013 :always-query-capabilities for the case where you want to force a
7014 `plain' network connection, but the protocol still requires the
7015 capabilitiy command (i.e., SMTP and EHLO).
7016
7017 * subr.el (process-live-p): Rename from `process-alive-p' for
7018 consistency with other `-live-p' functions.
7019
7020 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * window.el (same-window-buffer-names, same-window-regexps)
7023 (special-display-frame-alist, special-display-popup-frame)
7024 (special-display-function, special-display-buffer-names)
7025 (special-display-regexps, pop-up-frame-alist)
7026 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7027 (pop-up-windows, split-window-preferred-function)
7028 (split-height-threshold, split-width-threshold, even-window-heights)
7029 (display-buffer-mark-dedicated): Don't encourage the use of
7030 display-buffer-alist from Elisp code.
7031
7032 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7033
7034 * progmodes/python.el (python-mode): Derive from prog-mode.
7035 * progmodes/ps-mode.el (ps-mode):
7036 * progmodes/mixal-mode.el (mixal-mode):
7037 * progmodes/cfengine.el (cfengine-mode):
7038 * progmodes/ld-script.el (ld-script-mode): Likewise.
7039
7040 2011-06-15 Martin Rudalics <rudalics@gmx.at>
7041
7042 * window.el (display-buffer-alist): Trim default value to avoid
7043 popping up a new frame (Bug#8857) or reusing an arbitrary window
7044 on another frame.
7045 (display-buffer): Do not fall back on popping up a new frame in
7046 batch mode (Bug#8857).
7047
7048 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
7049
7050 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7051 (custom-theme-summary): New function.
7052 (customize-themes): Use it.
7053
7054 2011-06-13 Glenn Morris <rgm@gnu.org>
7055
7056 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7057
7058 2011-06-13 Martin Rudalics <rudalics@gmx.at>
7059
7060 * help.el (help-window): Remove variable.
7061 (help-window-point-marker, temp-buffer-max-height)
7062 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7063 (help-print-return-message): Don't set help-window.
7064 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7065 (help-window-setup-finish): Remove.
7066 (help-window-display-message, help-window-setup)
7067 (with-help-window): Major rewrite based on new
7068 display-buffer-window variable.
7069
7070 * help-mode.el (help-mode-finish): Remove help-window related
7071 code.
7072
7073 * view.el (view-exits-all-viewing-windows): Remove reference to
7074 view-return-to-alist in doc-string.
7075 (view-return-to-alist): Make obsolete.
7076 (view-buffer): Call pop-to-buffer-same-window and remove
7077 undo-window code.
7078 (view-buffer-other-window): Call pop-to-buffer-other-window and
7079 simplify code. Ignore second argument.
7080 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7081 simplify code. Ignore second argument.
7082 (view-return-to-alist-update): Make obsolete.
7083 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7084 Rewrite using quit-restore window parameters.
7085 (view-mode-exit): Rename second argument to EXIT-ONLY.
7086 Rewrite using quit-restore-window.
7087 (View-exit, View-exit-and-edit, View-leave, View-quit)
7088 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7089 appropriate arguments.
7090 (view-end-message): Use quit-restore window parameter.
7091
7092 * window.el (display-buffer-function): Rewrite doc-string.
7093 (display-buffer-window, display-buffer-alist): New variables.
7094 (display-buffer-split-specifiers)
7095 (display-buffer-side-specifiers)
7096 (display-buffer-macro-specifiers): New constants.
7097 (display-buffer-even-window-sizes, display-buffer-set-height)
7098 (display-buffer-set-width, display-buffer-select-window)
7099 (display-buffer-in-window, display-buffer-reuse-window)
7100 (display-buffer-split-window-1, display-buffer-split-window)
7101 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7102 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7103 (display-buffer-in-side-window, normalize-buffer-to-display)
7104 (display-buffer-normalize-specifiers-1)
7105 (display-buffer-normalize-specifiers-2)
7106 (display-buffer-normalize-specifiers, display-buffer-frame):
7107 New functions.
7108 (display-buffer): Major rewrite.
7109 (display-buffer-other-window, display-buffer-other-frame)
7110 (pop-to-buffer, switch-to-buffer-other-window)
7111 (switch-to-buffer-other-frame): Rewrite.
7112 (display-buffer-same-window, display-buffer-same-frame)
7113 (display-buffer-same-frame-other-window)
7114 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7115 (pop-to-buffer-other-window)
7116 (pop-to-buffer-same-frame-other-window)
7117 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7118 (switch-to-buffer-other-window-same-frame): New functions.
7119 (same-window-p, special-display-p): Rewrite disabling warnings.
7120 Make obsolete.
7121 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7122 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7123 Make obsolete
7124 (same-window-buffer-names, same-window-regexps)
7125 (special-display-frame-alist, special-display-popup-frame)
7126 (special-display-function, special-display-buffer-names)
7127 (special-display-regexps, pop-up-frame-alist)
7128 (pop-up-frame-function, split-window-preferred-function)
7129 (split-height-threshold, split-width-threshold)
7130 (even-window-heights): Make obsolete.
7131
7132 2011-06-12 Glenn Morris <rgm@gnu.org>
7133
7134 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7135 Misc simplifications.
7136
7137 2011-06-12 Martin Rudalics <rudalics@gmx.at>
7138
7139 * window.el (window-safely-shrinkable-p): Restore function which
7140 was inadvertently removed in change from 2011-06-11. Declare as
7141 obsolete.
7142
7143 * calendar/calendar.el (calendar-generate-window):
7144 Use window-iso-combined-p instead of combination of one-window-p and
7145 window-safely-shrinkable-p.
7146
7147 2011-06-12 Glenn Morris <rgm@gnu.org>
7148
7149 * progmodes/fortran.el (fortran-mode-syntax-table):
7150 * progmodes/f90.el (f90-mode-syntax-table):
7151 Set % to punctuation. (Bug#8820)
7152 (f90-find-tag-default): Remove, no longer needed.
7153
7154 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7155
7156 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7157
7158 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
7159
7160 * image.el (image-animated-p): Return animation delay in seconds.
7161 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7162 (image-animate-timeout): Remove DELAY argument. Don't assume
7163 every subimage has the same delay; get it from image-animated-p.
7164 (image-animate): Caller changed.
7165
7166 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
7167
7168 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7169 to ignored backtrace functions.
7170
7171 2011-06-11 Glenn Morris <rgm@gnu.org>
7172
7173 * calendar/appt.el (appt-disp-window-function): Doc fix.
7174 (appt-check): Handle overlapping appointments. (Bug#8337)
7175
7176 2011-06-11 Martin Rudalics <rudalics@gmx.at>
7177
7178 * window.el (window-tree-1, window-tree): New functions, moving
7179 the latter to window.el.
7180 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7181 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7182 (bw-refresh-edges): Remove.
7183 (balance-windows-1, balance-windows-2): New functions.
7184 (balance-windows): Rewrite in terms of window tree functions,
7185 balance-windows-1 and balance-windows-2.
7186 (bw-adjust-window): Remove.
7187 (balance-windows-area-adjust): New function with functionality of
7188 bw-adjust-window but using resize-window.
7189 (set-window-text-height): Rewrite doc-string.
7190 Use normalize-live-window and resize-window.
7191 (enlarge-window-horizontally, shrink-window-horizontally):
7192 Rename argument to DELTA.
7193 (window-buffer-height): New function.
7194 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7195 Rewrite using new window resize routines.
7196 (kill-buffer-and-window, mouse-autoselect-window-select):
7197 Use ignore-errors instead of condition-case.
7198 (quit-window): Call delete-frame instead of delete-windows-on
7199 for the only buffer on frame.
7200
7201 2011-06-10 Martin Rudalics <rudalics@gmx.at>
7202
7203 * loadup.el (top-level): Load window before files for the sake
7204 of replace-buffer-in-windows.
7205
7206 * files.el (read-buffer-to-switch)
7207 (switch-to-buffer-other-window)
7208 (switch-to-buffer-other-frame, display-buffer-other-frame):
7209 Move to window.el.
7210
7211 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7212 (previous-buffer): Move to window.el.
7213
7214 * bindings.el (unbury-buffer): Move to window.el.
7215
7216 * window.el (delete-other-windows-vertically): Move after
7217 definition of delete-other-windows.
7218 (other-window, delete-windows-on, replace-buffer-in-windows):
7219 Move here from window.c.
7220 (record-window-buffer, unrecord-window-buffer)
7221 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7222 (switch-to-next-buffer): New functions.
7223 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7224 from simple.el. Call switch-to-next-buffer.
7225 (previous-buffer): Move here from simple.el.
7226 Call switch-to-prev-buffer.
7227 (bury-buffer): Move here from buffer.c. Switch to previous
7228 buffer when window cannot be deleted.
7229 (unbury-buffer): Move here from bindings.el.
7230 (ctl-x-map): Move binding for other-window from window.c to
7231 here.
7232 (read-buffer-to-switch, switch-to-buffer-other-window)
7233 (switch-to-buffer-other-frame): Move here from files.el.
7234 (normalize-buffer-to-switch-to): New functions.
7235 (switch-to-buffer): Move here from buffer.c.
7236 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
7237
7238 2011-06-10 Martin Rudalics <rudalics@gmx.at>
7239
7240 * window.el (window-min-height, window-min-width): Move here
7241 from window.c. Add defcustoms and rewrite doc-strings.
7242 (resize-mini-window, resize-window): New functions.
7243 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7244 Move here from window.c.
7245 (maximize-window, minimize-window): New functions.
7246 (delete-window, delete-other-windows, split-window): Move here
7247 from window.c.
7248 (window-split-min-size): New function.
7249 (split-window-keep-point): Mention split-window-above-each-other
7250 instead of split-window-vertically.
7251 (split-window-above-each-other, split-window-vertically):
7252 Rename split-window-vertically to split-window-above-each-other
7253 and provide defalias for old definition.
7254 (split-window-side-by-side, split-window-horizontally):
7255 Rename split-window-horizontally to split-window-side-by-side
7256 and provide defalias for the old definition.
7257 (ctl-x-map): Move bindings for delete-window,
7258 delete-other-windows and enlarge-window here from window.c.
7259 Replace bindings for split-window-vertically and
7260 split-window-horizontally by bindings for
7261 split-window-above-each-other and split-window-side-by-side.
7262
7263 * cus-start.el (all): Remove entries for window-min-height and
7264 window-min-width. Add entries for window-splits and
7265 window-nest.
7266
7267 2011-06-09 Glenn Morris <rgm@gnu.org>
7268
7269 * calendar/appt.el (appt-mode-line): New function.
7270 (appt-check, appt-disp-window): Use it.
7271
7272 * files.el (hack-one-local-variable-eval-safep):
7273 Allow minor-modes with explicit +/-1 arguments.
7274
7275 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7276
7277 * term/xterm.el (xterm): Add defgroup.
7278 (xterm-extra-capabilities): Add defcustom to supply known xterm
7279 capabilities, skip querying them, or query them (default).
7280 (terminal-init-xterm): Use it.
7281 (terminal-init-xterm-modify-other-keys): New function to set up
7282 modifyOtherKeys support to simplify `terminal-init-xterm'.
7283
7284 2011-06-09 Martin Rudalics <rudalics@gmx.at>
7285
7286 * window.el (resize-window-reset, resize-window-reset-1)
7287 (resize-subwindows-skip-p, resize-subwindows-normal)
7288 (resize-subwindows, resize-other-windows, resize-this-window)
7289 (resize-root-window, resize-root-window-vertically)
7290 (window-deletable-p, window-or-subwindow-p)
7291 (frame-root-window-p): New functions.
7292
7293 2011-06-09 Glenn Morris <rgm@gnu.org>
7294
7295 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7296 (ange-ftp-get-files): Use it.
7297
7298 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7299
7300 * mail/sendmail.el (mail-recover-1, mail-recover):
7301 * files.el (recover-file, recover-session):
7302 Handle dired-listing-switches not being just a single short option.
7303
7304 2011-06-09 Glenn Morris <rgm@gnu.org>
7305
7306 * calendar/appt.el (appt-display-message, appt-disp-window):
7307 Handle lists of appointments.
7308
7309 2011-06-08 Martin Rudalics <rudalics@gmx.at>
7310
7311 * window.el (one-window-p): Move down in code.
7312 Rewrite doc-string.
7313 (window-current-scroll-bars): Rewrite doc-string.
7314 Normalize live window argument.
7315 (walk-windows, get-window-with-predicate, count-windows):
7316 Rewrite doc-string. Use window-list-1.
7317 (window-in-direction-2, window-in-direction, get-mru-window):
7318 New functions.
7319
7320 2011-06-08 Reuben Thomas <rrt@sc3d.org>
7321
7322 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7323 Doc fix (Bug#8713).
7324
7325 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
7326
7327 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7328
7329 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
7330
7331 * loadhist.el (unload-feature-special-hooks):
7332 Add `comint-output-filter-functions'.
7333
7334 2011-06-08 Ivan Kanis <gnu@kanis.fr>
7335
7336 * calendar/appt.el (appt-check): Move some initializations into the let.
7337
7338 2011-06-08 Martin Rudalics <rudalics@gmx.at>
7339
7340 * window.el (window-height): Defalias to window-total-height.
7341 (window-width): Defalias to window-body-width.
7342
7343 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
7344
7345 * image-mode.el (image-toggle-animation): New command.
7346 (image-mode-map): Bind it to RET.
7347 (image-mode): Update message.
7348 (image-toggle-display-image): Avoid a spurious cache flush.
7349 (image-transform-rotation): Doc fix.
7350 (image-transform-properties): Return quickly in the normal case.
7351 (image-animate-loop): Rename from image-animate-max-time.
7352
7353 * image.el (image-animate-max-time): Move to image-mode.el.
7354 (create-animated-image): Remove unnecessary function.
7355 (image-animate): Rename from image-animate-start. New arg.
7356 (image-animate-stop): Remove; just use image-animate-timer.
7357 (image-animate-timer): Use car-safe.
7358 (image-animate-timeout): Rename argument.
7359
7360 2011-06-07 Martin Rudalics <rudalics@gmx.at>
7361
7362 * window.el (get-lru-window, get-largest-window): Move here from
7363 window.c. Rename first argument to ALL-FRAMES.
7364 Rephrase doc-strings.
7365 (get-buffer-window-list): Rewrite using window-list-1.
7366 Rephrase doc-string.
7367 (window-safe-min-height, window-safe-min-width): New constants.
7368 (window-size-ignore, window-min-size, window-min-size-1)
7369 (window-sizable, window-sizable-p, window-size-fixed-1)
7370 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7371 (window-max-delta-1, window-max-delta, window-resizable)
7372 (window-resizable-p, window-total-height, window-total-width)
7373 (window-body-width): New functions.
7374 (window-full-height-p, window-full-width-p): Rewrite using
7375 window-total-size.
7376 (window-body-height): Rewrite using window-body-size.
7377
7378 2011-06-06 Martin Rudalics <rudalics@gmx.at>
7379
7380 * window.el (window-right, window-left, window-child)
7381 (window-child-count, window-last-child, window-any-p)
7382 (normalize-live-buffer, normalize-live-frame)
7383 (normalize-any-window, normalize-live-window)
7384 (window-iso-combination-p, window-iso-combined-p)
7385 (window-iso-combinations)
7386 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7387 (windows-with-parameter, window-with-parameter)
7388 (window-atom-root, make-window-atom, window-atom-check-1)
7389 (window-atom-check, window-side-check, window-check):
7390 New functions.
7391 (ignore-window-parameters, window-sides, window-sides-vertical)
7392 (window-sides-slots): New variables.
7393 (window-size-fixed): Move down in code. Minor doc-string fix.
7394
7395 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7396
7397 * comint.el (comint-dynamic-complete-as-filename)
7398 (comint-dynamic-complete-filename): Correctly call
7399 completion-in-region.
7400
7401 2011-06-05 Deniz Dogan <deniz@dogan.se>
7402
7403 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7404 in last change.
7405
7406 2011-06-05 Deniz Dogan <deniz@dogan.se>
7407
7408 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7409 (rcirc): Use it to prompt for encryption.
7410
7411 2011-06-05 Roland Winkler <winkler@gnu.org>
7412
7413 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7414 (bibtex-search-entries): New command bound to C-c C-a.
7415 (bibtex-display-entries): New function.
7416
7417 2011-06-05 Roland Winkler <winkler@gnu.org>
7418
7419 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7420 (bibtex-insert-kill): After yanking insert newline if necessary.
7421 (bibtex-initialize): Call bibtex-string-files-init only once.
7422 (bibtex-mode): Do not call easy-menu-add.
7423 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7424 (bibtex-yank): Set arg properly if nil.
7425
7426 2011-06-05 Roland Winkler <winkler@gnu.org>
7427
7428 * textmodes/bibtex.el (bibtex-search-entry-globally):
7429 New variable.
7430 (bibtex-search-entry): Use it.
7431
7432 2011-06-05 Roland Winkler <winkler@gnu.org>
7433
7434 * textmodes/bibtex.el (bibtex-entry-format): New option
7435 sort-fields.
7436 (bibtex-format-entry, bibtex-reformat): Honor this option.
7437 (bibtex-parse-entry): Return fields in proper order.
7438
7439 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
7440
7441 * doc-view.el (doc-view-remove-if): Move computation of result out
7442 of `dolist' to silence misleading lexical-binding warning.
7443
7444 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
7445
7446 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7447 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7448
7449 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
7450
7451 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7452 "SunOS 5.10".
7453
7454 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
7455
7456 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7457 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7458 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7459 (tramp-parse-putty):
7460 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7461 (tramp-completion-function-alist-ssh)
7462 (tramp-completion-function-alist-telnet)
7463 (tramp-completion-function-alist-su)
7464 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7465 cookie.
7466
7467 * net/tramp-ftp.el:
7468 * net/tramp-sh.el:
7469 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7470 load "tramp.el" `tramp-set-completion-function'.
7471
7472 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * shell.el: Require and use pcomplete.
7475 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7476 (shell-completion-vars): Set pcomplete-default-completion-function.
7477
7478 2011-06-04 Deniz Dogan <deniz@dogan.se>
7479
7480 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7481 `memq' (Bug#8799).
7482
7483 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7486
7487 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7490 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7491 * vc/log-view.el (log-view-beginning-of-defun):
7492 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7493 (smerge-refine-forward, smerge-refine-chopup-region):
7494 Silence warning for unused `dotimes' counter variables.
7495
7496 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7497
7498 * net/tramp.el (tramp-with-progress-reporter): Rename from
7499 with-progress-reporter. Use `declare'.
7500 * net/tramp-smb.el:
7501 * net/tramp-sh.el:
7502 * net/tramp-gvfs.el: Update all uses.
7503
7504 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7505
7506 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7507 buffer isn't killed before making it current.
7508
7509 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7510
7511 Silence various byte-compiler warnings.
7512 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7513 `access-type' and new obsolescence format.
7514 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7515 new format.
7516 (byte-compile-check-variable): New `access-type' argument.
7517 Only warn if the access-type is obsolete.
7518 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7519 (byte-compile-variable-set): Adjust callers.
7520 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7521 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7522 setting it as obsolete.
7523 * simple.el (minibuffer-completing-symbol):
7524 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7525 access as obsolete.
7526 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7527 obsolete yet.
7528 * international/quail.el (quail-mouse-choose-completion): Remove unused
7529 code referring to obsolete var.
7530 (quail-choose-completion-string): Remove.
7531 * server.el (server-clients-with, server-kill-buffer-query-function)
7532 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7533 * proced.el (proced-send-signal):
7534 * emacs-lisp/lisp.el (lisp-complete-symbol):
7535 Replace completion-annotate-function with completion-extra-properties.
7536
7537 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7538
7539 * simple.el (goto-line): Use read-number.
7540 (overriding-map-is-bound): Remove.
7541 (saved-overriding-map): Change default.
7542 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7543 Take the map as argument.
7544 (universal-argument, negative-argument, digit-argument): Use it.
7545 (restore-overriding-map): Adjust.
7546 (do-auto-fill): Use fill-forward-paragraph.
7547 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7548
7549 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7550 (minibuffer-inactive-mode): New major mode.
7551 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7552 the *Messages* buffer" hack.
7553 (mouse-popup-menubar): Don't burp if the event is a normal key.
7554
7555 Miscellaneous tweaks.
7556 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7557 lexical scoping as in subr.el's dolist and dotimes.
7558 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7559 Silence compiler warning.
7560 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7561 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7562 * international/ccl.el (ccl-compile): Trivial simplification.
7563 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7564 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7565 `printflag' argument.
7566 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7567 Purecopy the whole obsolescence data.
7568
7569 2011-06-01 Leo Liu <sdl.web@gmail.com>
7570
7571 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7572 improve doc-string as suggested by Marco Pessotto
7573 <melmothx@gmail.com>.
7574 (rcirc-print): Fix last change.
7575
7576 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * minibuffer.el (complete-with-action): Return nil for the metadata and
7579 boundaries of non-functional tables.
7580 (completion-table-dynamic): Return nil for the metadata.
7581 (completion-table-with-terminator): Add default case, using
7582 complete-with-action.
7583 (completion--metadata): New function.
7584 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7585 to try and avoid pathological performance problems.
7586 (completion--embedded-envvar-table): Return `category' metadata.
7587
7588 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7589
7590 * subr.el (process-alive-p): New tiny convenience function.
7591
7592 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7595 content but also its previous major mode.
7596
7597 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
7598
7599 * emacs-lisp/debug.el (debug): Restore the previous content of the
7600 *Backtrace* buffer when we exit with C-M-c.
7601
7602 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * minibuffer.el: Add metadata method to completion tables.
7605 (completion-category-overrides): New defcustom.
7606 (completion-metadata, completion--field-metadata)
7607 (completion-metadata-get, completion--styles)
7608 (completion--cycle-threshold): New functions.
7609 (completion-try-completion, completion-all-completions):
7610 Add `metadata' argument to choose completion-styles.
7611 (completion--do-completion): Use metadata to choose cycling.
7612 (completion-all-sorted-completions): Use metadata for sorting.
7613 Remove :completion-cycle-penalty which is not needed any more.
7614 (completion--try-word-completion): Add `metadata' argument.
7615 (minibuffer-completion-help): Check metadata for annotation function
7616 and sorting.
7617 (completion-file-name-table): Return `category' metadata.
7618 (minibuffer-completing-file-name): Make obsolete.
7619 * simple.el (minibuffer-completing-symbol): Make obsolete.
7620 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7621 completion-try-completion.
7622
7623 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7626
7627 2011-05-30 Leo Liu <sdl.web@gmail.com>
7628
7629 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
7630 (rcirc-print): Decode all incoming messages (bug#8744).
7631 (rcirc-decode-coding-system): Allow value nil for automatic coding
7632 system detection.
7633
7634 2011-06-01 Glenn Morris <rgm@gnu.org>
7635
7636 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7637
7638 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7639
7640 * image.el (image-animate-max-time): Allow nil and t values.
7641 Default to nil.
7642 (create-animated-image): Doc fix.
7643 (image-animate-start): Remove second arg; just use
7644 image-animate-max-time.
7645 (image-animate-timeout): Doc fix. Args changed.
7646
7647 * image-mode.el (image-toggle-display-image): Ensure that the
7648 image spec passed to the animate timer is the same object as in
7649 the buffer's display property (Bug#6981).
7650 (image-transform-properties): Doc fix.
7651
7652 * image.el (image-animate-max-time): Default to nil.
7653
7654 2011-05-29 Martin Rudalics <rudalics@gmx.at>
7655
7656 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7657 entire buffer list (Bug#8184).
7658
7659 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7660
7661 * image.el (imagemagick-types-inhibit)
7662 (imagemagick-register-types): Doc fix.
7663
7664 2011-05-29 Deniz Dogan <deniz@dogan.se>
7665
7666 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7667 default.
7668
7669 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7670
7671 * select.el: Don't perform clipboard-manager saving in hooks;
7672 leave the hooks empty.
7673
7674 2011-05-28 Leo Liu <sdl.web@gmail.com>
7675
7676 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7677 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7678 (occur-edit-mode): New major mode (Bug#8463).
7679 (occur-after-change-function): New function.
7680 (occur-engine): Give Occur tags a read-only property.
7681
7682 2011-05-28 Kevin Ryde <user42@zip.com.au>
7683
7684 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7685
7686 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7687
7688 * bindings.el (help-echo): Make the initial non-indicator dash
7689 empty on graphical terminals (Bug#7295).
7690
7691 * files.el (auto-mode-alist): Move config rule after the
7692 in-stripping one (Bug#8547).
7693
7694 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7695
7696 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7697 setting (Bug#8740).
7698
7699 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7700
7701 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7702 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7703 (Bug#8539).
7704
7705 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7706
7707 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7708
7709 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7710
7711 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7712 (hs-hide-block-at-point, hs-find-block-beginning)
7713 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7714 (Bug#8279).
7715
7716 2011-05-28 Glenn Morris <rgm@gnu.org>
7717
7718 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7719
7720 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7721
7722 * help-fns.el (describe-function-1): If the function is a derived
7723 major mode, print the parent mode.
7724
7725 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7726 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7727
7728 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * minibuffer.el (completion--capf-wrapper): Check applicability before
7731 returning non-nil for non-exclusive completion data.
7732 * progmodes/etags.el (tags-completion-at-point-function):
7733 * info-look.el (info-lookup-completions-at-point): Mark as
7734 non-exclusive.
7735 (info-complete): Adjust accordingly.
7736
7737 * info-look.el: Convert to lexical-binding and completion-at-point.
7738 (info-lookup-completions-at-point): New function.
7739 (info-complete): Use it and completion-in-region.
7740
7741 2011-05-28 Drew Adams <drew.adams@oracle.com>
7742
7743 * isearch.el: Let M-e start with point at the first mismatched char.
7744 (isearch-fail-pos): New function.
7745 (isearch-edit-string): Use it.
7746
7747 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7748
7749 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7750
7751 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7752
7753 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7754 traversal functions for avl-trees.
7755 (avl-tree--stack): New struct.
7756 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7757 (avl-tree-enter): Add optional `updatefun' arg.
7758 (avl-tree--do-enter): Add optional `updatefun' arg.
7759 Change return value.
7760 (avl-tree-delete): Add optional `test' and `nilflag' args.
7761 (avl-tree--do-delete): Add `test' and `nilflag' args.
7762 Change return value.
7763 (avl-tree-member): Add optional `nilflag'
7764 (avl-tree-member-p): New function.
7765 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7766 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7767 (avl-tree-stack-empty-p): New functions.
7768
7769 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7770
7771 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7772 avl-tree--del-balance1 and make it work both ways.
7773 (avl-tree--del-balance2): Remove.
7774 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7775 make it work both ways.
7776 (avl-tree--enter-balance2): Remove.
7777 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7778 New macros.
7779 (avl-tree--mapc, avl-tree-map): Add direction argument.
7780
7781 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7782
7783 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7784
7785 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
7786
7787 * select.el: Support clipboard managers with built-in function
7788 x-clipboard-manager-save, via delete-frame-functions and
7789 kill-emacs-hook.
7790 (xselect-convert-to-targets): Add MULTIPLE target to list.
7791 (xselect-convert-to-save-targets): New function.
7792
7793 2011-05-27 Kenichi Handa <handa@m17n.org>
7794
7795 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7796 let-binding rfc2047-encode-encoded-words to nil.
7797
7798 2011-05-27 Glenn Morris <rgm@gnu.org>
7799
7800 * mail/emacsbug.el: Don't require url-util.
7801
7802 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7803
7804 * files.el (set-auto-mode):
7805 Also respect mode: entries at the end of the file. (Bug#8586)
7806
7807 2011-05-26 Glenn Morris <rgm@gnu.org>
7808
7809 * files.el (hack-local-variables-prop-line, hack-local-variables):
7810 Downcase mode names, as seems to be traditional.
7811 (hack-local-variables, hack-local-variables-apply): Doc fixes.
7812
7813 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7814 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7815
7816 2011-05-25 Julien Danjou <julien@danjou.info>
7817
7818 * textmodes/rst.el (rst-define-level-faces): Do not define face
7819 symbol if it is already defined.
7820
7821 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7822
7823 * play/5x5.el (5x5-new-game, 5x5-randomize):
7824 Reset 5x5-solver-output to nil when a new grid is cast.
7825 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7826 these debugging traces, as defmacro breaks the compiled code.
7827
7828 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7829
7830 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7831
7832 2011-05-24 Leo Liu <sdl.web@gmail.com>
7833
7834 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7835 (vc-bzr-sha1): Adapt.
7836
7837 * sha1.el: Remove. Function `sha1' is now builtin.
7838
7839 * bindings.el: Provide sha1 feature.
7840
7841 2011-05-24 Kenichi Handa <handa@m17n.org>
7842
7843 * mail/sendmail.el: Require `rfc2047'.
7844 (mail-insert-from-field): Do not perform RFC2047 encoding.
7845 (mail-encode-header): New function.
7846 (sendmail-send-it): Set buffer-file-coding-system of the work
7847 buffer to the return value of select-message-coding-system.
7848 Call mail-encode-header.
7849
7850 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7851
7852 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7853
7854 * mail/supercite.el (sc-default-cite-frame):
7855 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7856
7857 2011-05-24 Glenn Morris <rgm@gnu.org>
7858
7859 * progmodes/python.el (brm-menu): Declare.
7860
7861 * emulation/viper.el (viper-set-hooks): Declare.
7862
7863 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7864 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7865 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7866 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7867 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7868 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7869
7870 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 Add an :exit-function for completion-at-point.
7873
7874 * minibuffer.el (completion--done): New fun.
7875 (completion--do-completion): Use it. New arg `expect-exact'.
7876 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7877 since completion--do-completion does it for us now.
7878 (minibuffer-force-complete): Use completion--done and
7879 completion--replace. Handle sole-completion case with more care.
7880 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7881 (completion-extra-properties): New var.
7882 (completion-annotate-function): Make obsolete.
7883 (minibuffer-completion-help): Adjust accordingly.
7884 Use completion-list-insert-choice-function.
7885 (completion-at-point, completion-help-at-point):
7886 Bind completion-extra-properties.
7887 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7888 * simple.el (completion-list-insert-choice-function): New var.
7889 (completion-setup-function): Preserve it.
7890 (choose-completion): Pay attention to it, shuffle the code a bit.
7891 (choose-completion-string): New arg `insert-function'.
7892
7893 * textmodes/bibtex.el: Convert to lexical binding.
7894 (bibtex-mode-map): Use completion-at-point.
7895 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7896 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7897 (bibtex-complete): Define as obsolete alias.
7898 (bibtex-complete-internal): Remove.
7899 (bibtex-format-entry): Remove unused sub-group in regexp.
7900 * shell.el (shell--command-completion-data)
7901 (shell-environment-variable-completion):
7902 * pcomplete.el (pcomplete-completions-at-point):
7903 * comint.el (comint--complete-file-name-data): Use :exit-function
7904 instead of completion-table-with-terminator so it also works for
7905 choose-completion.
7906
7907 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7910
7911 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7912 (bug#8710).
7913
7914 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7915
7916 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7917
7918 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7919 customization variable and implement: If non-nil, auto-fill will
7920 be inhibited while on topic's header line.
7921
7922 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7923
7924 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
7925 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
7926 always have a solution in grid size = 5 cases.
7927 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7928 (5x5-solver-output, 5x5-log-buffer): New vars.
7929 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7930 Make these variables buffer local to achieve 5x5 multi-session-ness.
7931 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7932 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7933 (5x5-solve-suggest): New funs.
7934 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7935 randomize a grid so that we ensure that there is always a solution.
7936 (5x5-make-random-grid): Allow other movement than flipping.
7937
7938 2011-05-23 Kevin Ryde <user42@zip.com.au>
7939
7940 * emacs-lisp/advice.el (ad-read-advised-function):
7941 Use `function-called-at-point' as the default, if it has
7942 advice and passes PREDICATE.
7943
7944 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7945
7946 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7947 byte-compile-lambda if it's actually a lambda.
7948
7949 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7950 Fix function quoting. Use backquote better.
7951
7952 2011-05-22 Yuanle Song <sylecn@gmail.com>
7953
7954 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7955 matching (Bug#8516).
7956
7957 2011-01-22 Jari Aalto <jari.aalto@cante.net>
7958
7959 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7960 different face (Bug#8178).
7961
7962 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
7963
7964 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7965 defface (Bug#8144).
7966
7967 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7970 funcall as well (bug#8712). Warn when performing those conversions.
7971 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7972
7973 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7974
7975 2011-05-22 Glenn Morris <rgm@gnu.org>
7976
7977 * files.el (hack-local-variables-prop-line): Small simplifications.
7978 (hack-local-variables, hack-local-variables-prop-line):
7979 If MODE-ONLY, return the mode, rather than just `t'.
7980
7981 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7984
7985 2011-05-21 Glenn Morris <rgm@gnu.org>
7986
7987 * files.el (hack-local-variables-prop-line, hack-local-variables):
7988 If only interested in the mode, don't bother doing the other stuff.
7989
7990 * image-mode.el (image-after-revert-hook):
7991 Redraw all frames on which the image is visible. (Bug#8567)
7992
7993 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7994
7995 * wid-edit.el (widget-checklist-match-inline):
7996 Fix 2011-04-19 change. (Bug#8649)
7997
7998 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8001 Also allow singlespace after single-letter capitals followed by a dot.
8002
8003 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8004 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8005
8006 2011-05-20 Nix <nix@esperi.org.uk>
8007
8008 * files.el (basic-save-buffer-2):
8009 Fix handling of break-hardlink-on-save with non-existent files.
8010
8011 2011-05-19 Deniz Dogan <deniz@dogan.se>
8012
8013 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
8014 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
8015
8016 2011-05-19 Glenn Morris <rgm@gnu.org>
8017
8018 * progmodes/f90.el (f90-type-def-re):
8019 Handle "type, bind(c)". (Bug#8691)
8020
8021 * emacs-lisp/autoload.el (batch-update-autoloads):
8022 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8023
8024 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
8025
8026 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8027 property for the correct connection in case of multihops.
8028
8029 2011-05-18 Glenn Morris <rgm@gnu.org>
8030
8031 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
8032 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8033
8034 Rationalize calendar handling of day and month abbrev-arrays.
8035 * calendar/calendar.el (calendar-customized-p): New function.
8036 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8037 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8038 Add :set function.
8039 (calendar-abbrev-length, calendar-day-abbrev-array)
8040 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8041 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8042 Elements may no longer be nil.
8043 (calendar-day-name, calendar-month-name):
8044 Update for changed nature of abbrev arrays.
8045 * calendar/diary-lib.el (diary-name-pattern):
8046 Update for changed nature of abbrev arrays.
8047 (diary-mark-entries-1): Update calendar-make-alist calls.
8048 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8049 * calendar/cal-html.el (cal-html-day-abbrev-array):
8050 Simply inherit from calendar-day-abbrev-array.
8051
8052 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * progmodes/grep.el (grep-mode): Disable default
8055 compilation-directory-matcher setting (bug#8684).
8056
8057 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
8058
8059 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8060 instead of "head" and "tail". There were problems with SunOS 5.9,
8061 and it performs better.
8062
8063 2011-05-17 Glenn Morris <rgm@gnu.org>
8064
8065 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8066
8067 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8068 Replace obsolete function.
8069
8070 * shell.el (pcomplete-parse-arguments-function): Declare.
8071
8072 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8073 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8074 (appt-check): Doc fixes.
8075 (appt-disp-window-function, appt-delete-window-function):
8076 Remove needless special case in custom :type.
8077 (appt-display-count): Default to 0, not nil.
8078 (appt-check): Reset appt-display-count to 0, not nil.
8079
8080 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * progmodes/python.el (python-font-lock-keywords):
8083 Add the Python 3.X keyword "nonlocal" (bug#8639).
8084
8085 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8088
8089 2011-05-16 Kevin Ryde <user42@zip.com.au>
8090
8091 * info-look.el (makefile-automake-mode): New setups, looking in
8092 automake manual, then makefile-mode.
8093 (makefile-mode): Remove automake manual, have it just in
8094 makefile-automake-mode since there's various things different or
8095 not relevant to plain make.
8096 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8097 believe a hypothetical automake-mode would go to makefile-mode,
8098 not the other way around.
8099
8100 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
8101
8102 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8103 hunk-end tags (Bug#8672).
8104
8105 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8106 vc-annotate-show-diff-revision-at-line (Bug#8671).
8107
8108 2011-05-14 Glenn Morris <rgm@gnu.org>
8109
8110 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8111 in the middle of an existing one with multiple authors. (Bug#8645)
8112 (change-log-font-lock-keywords): Also handle multiple author lines
8113 with leading tabs. (Bug#8644)
8114
8115 * calendar/appt.el (appt-check): Rename some local variables.
8116 Some simplification/reordering.
8117
8118 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8119 (feedmail-sendmail-f-doesnt-sell-me-out)
8120 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8121 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8122 (feedmail-queue-runner-message-sender): Set :version.
8123 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8124 (bbdb-dwim-net-address, vm-mail): Declare.
8125 (feedmail-binmail-gnulinuxish-template):
8126 Rename from feedmail-binmail-linuxish-template.
8127 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8128 Use insert-buffer-substring.
8129
8130 2011-05-14 Bill Carpenter <bill@carpenter.org>
8131
8132 * mail/feedmail.el (feedmail-patch-level): Increase.
8133 (feedmail-debug): New custom group.
8134 (feedmail-confirm-outgoing-timeout)
8135 (feedmail-sendmail-f-doesnt-sell-me-out)
8136 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8137 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8138 (feedmail-sender-line, feedmail-from-line)
8139 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
8140 (feedmail-spray-this-address)
8141 (feedmail-spray-address-fiddle-plex-list)
8142 (feedmail-queue-use-send-time-for-date)
8143 (feedmail-queue-use-send-time-for-message-id)
8144 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8145 (feedmail-buffer-eating-function):
8146 Doc fixes.
8147 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8148 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8149 (feedmail-message-action-scroll-down): New functions.
8150 (feedmail-queue-directory, feedmail-queue-draft-directory):
8151 Use expand-file-name.
8152 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8153 Remove C-v help entry.
8154 (feedmail-queue-buffer-file-name): New variable.
8155 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8156 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8157 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8158 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8159 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8160 (feedmail-message-action-toggle-spray)
8161 (feedmail-run-the-queue-no-prompts)
8162 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8163 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8164 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8165 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8166 (feedmail-envelope-deducer, feedmail-fiddle-from)
8167 (feedmail-fiddle-sender, feedmail-default-date-generator)
8168 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8169 (feedmail-fiddle-spray-address)
8170 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8171 (feedmail-fiddle-list-of-fiddle-plexes)
8172 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8173 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8174 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8175 Change default. Doc fix.
8176 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8177 (feedmail-binmail-linuxish-template): New constant.
8178 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8179 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8180 (feedmail-send-it): Add debug call.
8181 Use feedmail-queue-buffer-file-name, and
8182 feedmail-send-it-immediately-wrapper.
8183 (feedmail-message-action-send): Add debug call.
8184 Use feedmail-send-it-immediately-wrapper.
8185 (feedmail-queue-express-to-queue): Add debug call.
8186 Run feedmail-queue-express-hook.
8187 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8188 (feedmail-message-action-help-blat):
8189 Rename from feedmail-queue-send-edit-prompt-help-first.
8190 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8191 Check line-endings. Handle errors better.
8192 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8193 Doc fix. Add debug call.
8194 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8195 Use feedmail-queue-send-edit-prompt-inner.
8196 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8197 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8198 from feedmail-queue-send-edit-prompt.
8199 (feedmail-queue-send-edit-prompt-help)
8200 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8201 (feedmail-tidy-up-slug): Add debug call.
8202 Respect feedmail-queue-slug-suspect-regexp.
8203 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8204 (feedmail-dump-message-to-queue): Add debug call.
8205 Expand queue-directory.
8206 (feedmail-dump-message-to-queue): Change message slightly.
8207 Use feedmail-say-chatter.
8208 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8209 (feedmail-send-it-immediately-wrapper): New function.
8210 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8211 Insert empty string rather than newline. Handle full-frame case.
8212 Use catch/throw. Use feedmail-say-chatter.
8213 (feedmail-fiddle-from): Try mail-host-address.
8214 (feedmail-default-message-id-generator): Doc fix.
8215 Bind system-time-locale. Handle missing end.
8216 (feedmail-fiddle-x-mailer): Add debug call.
8217 Handle feedmail-x-mailer-line being nil.
8218 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8219 Add debug call. Use buffer-substring-no-properties.
8220 (feedmail-say-debug, feedmail-say-chatter): New functions.
8221 (feedmail-find-eoh): Give an explicit error.
8222
8223 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
8224
8225 * net/newst-treeview.el (newsticker-treeview-face): Change default
8226 family from helvetica to sans.
8227 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
8228 etc/images/newsticker.
8229
8230 * net/newst-reader.el (newsticker-feed-face): Change default
8231 family from helvetica to sans.
8232
8233 * net/newst-plainview.el (newsticker-new-item-face)
8234 (newsticker-old-item-face, newsticker-immortal-item-face)
8235 (newsticker-obsolete-item-face, newsticker-date-face)
8236 (newsticker-statistics-face): Change default family from
8237 helvetica to sans.
8238 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
8239 etc/images/newsticker.
8240
8241 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8242 (newsticker--process-auto-mark-filter-match): : Tell user about
8243 auto-marking.
8244
8245 2011-05-13 Didier Verna <didier@xemacs.org>
8246
8247 Common Lisp indentation improvements on defmethod and lambda-lists.
8248 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8249 TODO entries.
8250 (lisp-lambda-list-keyword-parameter-indentation)
8251 (lisp-lambda-list-keyword-parameter-alignment)
8252 (lisp-lambda-list-keyword-alignment): New customizable user options.
8253 (lisp-indent-defun-method): Improve docstring.
8254 (extended-loop-p): Fix comment.
8255 (lisp-indent-lambda-list-keywords-regexp): New variable.
8256 (lisp-indent-lambda-list): New function.
8257 (lisp-indent-259): Use it.
8258 (lisp-indent-defmethod): Support for more than one
8259 method qualifier and properly indent methods lambda-lists.
8260 (defgeneric): Provide a missing common-lisp-indent-function property.
8261
8262 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8265 bounds for the empty string (bug#8667).
8266
8267 2011-05-13 Glenn Morris <rgm@gnu.org>
8268
8269 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8270
8271 * mail/sendmail.el (sendmail-program): Try executable-find first.
8272 (sendmail-send-it): `sendmail-program' cannot be unbound.
8273
8274 * calendar/appt.el (appt-make-list): Simplify.
8275 (appt-time-msg-list): Doc fix.
8276 (appt-check): Change mode-line message at the time of the appointment.
8277
8278 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8279
8280 * progmodes/ld-script.el (ld-script-keywords)
8281 (ld-script-builtins): Update keywords list.
8282
8283 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8286
8287 * shell.el (shell-completion-vars): New function.
8288 (shell-mode):
8289 * simple.el (read-shell-command): Use it.
8290 (blink-matching-open): No need for " [...]" in minibuffer-message.
8291
8292 2011-05-12 Glenn Morris <rgm@gnu.org>
8293
8294 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8295 (appt-check): Simplify.
8296
8297 2011-05-12 Eli Zaretskii <eliz@gnu.org>
8298
8299 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
8300 literal "/dev/null".
8301
8302 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8305 Fix typo.
8306
8307 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
8308
8309 * progmodes/which-func.el (which-function):
8310 Use add-log-current-defun instead of add-log-current-defun-function,
8311 which might not be defined (Bug#8260).
8312
8313 2011-05-12 Glenn Morris <rgm@gnu.org>
8314
8315 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8316 Let byte-compile-initial-macro-environment always take precedence.
8317
8318 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * net/rcirc.el: Add support for SSL/TLS connections.
8321 (rcirc-server-alist): New field `encryption'.
8322 (rcirc): Check `encryption' settings.
8323 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8324 Merge make-local-variable into `set'.
8325 (rcirc--connection-open-p): New function.
8326 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8327 the process is not a network process (e.g. running gnutls-cli).
8328 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8329 Make rcirc-(en|de)code-coding-system local here.
8330 (rcirc-mode): Merge make-local-variable into `set'.
8331 (rcirc-parent-buffer): Make permanent buffer-local.
8332 (rcirc-multiline-minor-mode): Don't do it here.
8333 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8334 there's no server buffer.
8335
8336 2011-05-11 Glenn Morris <rgm@gnu.org>
8337
8338 * newcomment.el (comment-kill): Prefix "unused" local.
8339
8340 * term/w32console.el (get-screen-color): Declare.
8341
8342 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8343 Handle symbol elements of byte-compile-initial-macro-environment.
8344
8345 2011-05-10 Leo Liu <sdl.web@gmail.com>
8346
8347 * bookmark.el (bookmark-bmenu-mode-map):
8348 Bind bookmark-bmenu-search to `/'.
8349
8350 * mail/footnote.el: Convert to utf-8 encoding.
8351 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8352 (Footnote-unicode): New function.
8353 (footnote-style-alist): Add unicode style to the list.
8354 (footnote-style): Doc fix.
8355
8356 2011-05-10 Jim Meyering <meyering@redhat.com>
8357
8358 Fix doubled-word typos.
8359 * international/quail.el (quail-insert-kbd-layout): and and -> and
8360 * kermit.el: and and -> and
8361 * net/ldap.el (ldap-search-internal): to to -> to
8362 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8363 * progmodes/js.el (js-mode): and and -> and
8364 * textmodes/artist.el (artist-move-to-xy): at at -> at
8365 (artist-draw-region-trim-line-endings): if if -> if
8366 And Safetyc -> Safety.
8367 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8368
8369 2011-05-10 Glenn Morris <rgm@gnu.org>
8370 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * files.el (hack-one-local-variable-eval-safep):
8373 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8374
8375 2011-05-10 Glenn Morris <rgm@gnu.org>
8376
8377 * calendar/diary-lib.el (diary-list-entries-hook)
8378 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8379 (diary-nongregorian-marking-hook, diary-list-entries)
8380 (diary-include-other-diary-files, diary-mark-entries)
8381 (diary-mark-included-diary-files): Doc fixes.
8382
8383 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
8384
8385 * misc.el: Require tabulated-list.el during compilation.
8386
8387 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
8388
8389 * progmodes/compile.el (compilation-start):
8390 Run compilation-filter-hook for the async case too.
8391 (compilation-filter-hook): Doc fix.
8392
8393 2011-05-09 Deniz Dogan <deniz@dogan.se>
8394
8395 * wdired.el: Remove outdated installation comment. Fix usage
8396 comment.
8397
8398 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * misc.el: Implement new command `list-dynamic-libraries'.
8401 (list-dynamic-libraries--loaded-only-p): New variable.
8402 (list-dynamic-libraries--refresh): New function.
8403 (list-dynamic-libraries): New command.
8404
8405 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
8406
8407 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8408 Fix the ant regexp to handle end-line and end-column info from jikes.
8409 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8410 higher priority to avoid clobbering by gnu.
8411
8412 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8415 if the face has existing theme settings (Bug#8454).
8416
8417 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8418
8419 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8420 Only match variables declared via `my' or `our' (Bug#8261).
8421
8422 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8423 special file names `.' and `..' (Bug#8259).
8424
8425 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
8426
8427 * progmodes/grep.el (grep-mode-font-lock-keywords):
8428 Remove buffer-changing entries.
8429 (grep-filter): New function.
8430 (grep-mode): Add it to compilation-filter-hook.
8431
8432 * progmodes/compile.el (compilation-filter-hook)
8433 (compilation-filter-start): New defvars.
8434 (compilation-filter): Call compilation-filter-hook prior to
8435 updating the process mark.
8436
8437 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8440
8441 2011-05-07 Eli Zaretskii <eliz@gnu.org>
8442
8443 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8444 mailclient-send-it even if window-system is nil. (Bug#8595)
8445
8446 * term/w32console.el (terminal-init-w32console):
8447 Call get-screen-color and use its output to set the frame
8448 background-mode. (Bug#8597)
8449
8450 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8453 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8454 New functions.
8455 (defgeneric, eieio--defmethod): Use them.
8456 (eieio-defgeneric): Remove.
8457 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8458
8459 2011-05-07 Glenn Morris <rgm@gnu.org>
8460
8461 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8462 Use let rather than let*.
8463 (timeclock-find-discrep): Remove unused local.
8464
8465 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8466
8467 * calendar/appt.el (appt-time-msg-list): Doc fix.
8468
8469 2011-05-06 Noah Friedman <friedman@splode.com>
8470
8471 * apropos.el (apropos-print-doc): Only use
8472 emacs-lisp-docstring-fill-column when it is bound to an integer,
8473 per that variable's documentation.
8474
8475 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
8478 and warnings are not silently discarded (e.g. use -d instead of -P).
8479
8480 2011-05-06 Glenn Morris <rgm@gnu.org>
8481
8482 * calendar/appt.el (appt-message-warning-time): Doc fix.
8483 (appt-warning-time-regexp): New option.
8484 (appt-make-list): Respect appt-message-warning-time.
8485
8486 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8487 New options.
8488 (diary-add-to-list): Strip comments from the displayed string.
8489 (diary-mode): Set comment-start and comment-end.
8490
8491 * vc/diff-mode.el (smerge-refine-subst): Declare.
8492 (diff-refine-hunk): Don't require smerge-mode when compiling.
8493
8494 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
8495
8496 * simple.el (list-processes): Return nil as the docstring says.
8497
8498 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
8499
8500 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8501 to "".
8502 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8503 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8504 determining of binary transfer. (Bug#7383)
8505
8506 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
8507
8508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8509 Fix port computation bug. (Bug#8618)
8510
8511 2011-05-05 Glenn Morris <rgm@gnu.org>
8512
8513 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8514
8515 * simple.el (shell-dynamic-complete-functions)
8516 (comint-dynamic-complete-functions): Declare.
8517
8518 * net/network-stream.el (gnutls-negotiate):
8519 * simple.el (tabulated-list-print): Fix declarations.
8520
8521 * progmodes/gud.el (syntax-symbol, syntax-point):
8522 Remove unnecessary and incorrect declarations.
8523
8524 * emacs-lisp/check-declare.el (check-declare-scan):
8525 Handle byte-compile-initial-macro-environment in bytecomp.el
8526
8527 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 Fix earlier half-done eieio-defmethod change (bug#8338).
8530 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8531 Streamline and change calling convention.
8532 (defmethod): Adjust accordingly and simplify.
8533 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8534 new eieio--defmethod.
8535 (slot-boundp): Minor CSE simplification.
8536
8537 2011-05-05 Milan Zamazal <pdm@zamazal.org>
8538
8539 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8540 (glasses-make-readable): Use glasses-separate-capital-groups.
8541
8542 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8545 (warning-series): Doc fix.
8546 (display-warning): Don't try to create the buffer if we just found it.
8547
8548 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
8549
8550 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8551 (autoload-find-generated-file): New function.
8552 (generate-file-autoloads): Bind generated-autoload-file to
8553 buffer-file-name.
8554 (update-file-autoloads, update-directory-autoloads):
8555 Use autoload-find-generated-file. If called interactively, prompt for
8556 output file (Bug#7989).
8557 (batch-update-autoloads): Doc fix.
8558
8559 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8562
8563 2011-05-04 Glenn Morris <rgm@gnu.org>
8564
8565 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8566 function, so it follows changes in calendar-date-style.
8567 (diary-fancy-date-matcher): New function.
8568 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8569 (diary-fancy-font-lock-fontify-region-function):
8570 Use diary-fancy-date-pattern as a function.
8571
8572 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8573 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8574
8575 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8576
8577 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8578 instead of positional arguments. Allow :keylist and :crlfiles
8579 arguments.
8580 (open-gnutls-stream): Call it.
8581
8582 * net/network-stream.el (network-stream-open-starttls): Adjust to
8583 call `gnutls-negotiate' with :process and :hostname arguments.
8584
8585 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8586
8587 * minibuffer.el (completion--message): New function.
8588 (completion--do-completion, minibuffer-complete)
8589 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8590 (completion--do-completion): Don't ignore completion-auto-help when in
8591 icomplete-mode.
8592
8593 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8594 internal encoding (e.g. tibetan zero is not whitespace).
8595 (global-whitespace-mode): Prefer save-current-buffer.
8596 (whitespace-trailing-regexp): Remove useless save-match-data.
8597 (whitespace-empty-at-bob-regexp): Minor simplification.
8598
8599 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
8600
8601 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8602
8603 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8604
8605 * textmodes/ispell.el (ispell-add-per-file-word-list):
8606 Use `concat' to create string for insertion.
8607
8608 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8611 Avoid open-line which runs post-self-insert-hook.
8612 (bibtex-fill-entry): Remove unused `end' var.
8613
8614 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8615
8616 * textmodes/ispell.el (ispell-add-per-file-word-list):
8617 Protect against `nil' value of `comment-start' (Bug#8579).
8618
8619 2011-05-03 Leo Liu <sdl.web@gmail.com>
8620
8621 * isearch.el (isearch-yank-pop): New command.
8622 (isearch-mode-map): Bind it to `M-y'.
8623 (isearch-forward): Mention it.
8624
8625 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * simple.el (minibuffer-complete-shell-command): Remove.
8628 (minibuffer-local-shell-command-map): Use completion-at-point.
8629 (read-shell-command): Setup completion vars here instead.
8630 (read-expression-map): Bind TAB to symbol completion.
8631
8632 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8633 error directly rather via storing it into `results'.
8634
8635 2011-05-02 Leo Liu <sdl.web@gmail.com>
8636
8637 * vc/diff.el: Fix description.
8638
8639 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8640
8641 * server.el (server-eval-at): New function.
8642
8643 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
8645 * net/network-stream.el (open-network-stream): Take a :nowait
8646 parameter and pass it on to `make-network-process'.
8647 (network-stream-open-plain): Ditto.
8648
8649 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8650
8651 * faces.el (face-spec-set-match-display): Don't match toolkit
8652 options on terminal frames.
8653
8654 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * progmodes/pascal.el: Use lexical binding.
8657 (pascal-mode-map): Remove author preferences.
8658
8659 * pcomplete.el (pcomplete-std-complete): Don't abuse
8660 completion-at-point.
8661
8662 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
8663
8664 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8665 removing code that has been dead since 1991 or so.
8666
8667 * startup.el (command-line): When warning about "_emacs", use a
8668 delayed warning to allow the user to filter it out.
8669
8670 2011-04-28 Deniz Dogan <deniz@dogan.se>
8671
8672 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8673 user has not joined.
8674
8675 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8676
8677 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8678 aren't any completions at point.
8679
8680 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
8681
8682 * subr.el (display-delayed-warnings): New function.
8683 (delayed-warnings-hook): New variable.
8684
8685 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * minibuffer.el (completion-at-point, completion-help-at-point):
8688 Don't presume that a given completion-at-point-function will always
8689 use the same calling convention.
8690
8691 * pcomplete.el (pcomplete-completions-at-point):
8692 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8693 pcomplete-seen is non-nil.
8694 (pcomplete-comint-setup): Also recognize the new comint/shell
8695 completion functions.
8696 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8697 pcomplete-seen is non-nil.
8698
8699 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
8700
8701 * calendar/icalendar.el (diary-lib): Add require statement.
8702 (icalendar--create-uid): Read out a uid from a text-property on
8703 the first character in the entry. This allows for code to add its
8704 own uid to the entry.
8705 (icalendar--convert-float-to-ical): Add export of
8706 `diary-float'-entries save for those with the optional DAY
8707 argument.
8708
8709 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8710
8711 * subr.el (shell-quote-argument): Use alternate escaping strategy
8712 when we spot a variable reference in a string.
8713
8714 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8715
8716 * cus-start.el (all): Define customization for debug-on-event.
8717
8718 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8719
8720 * subr.el (shell-quote-argument): Escape correctly under Windows.
8721
8722 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8725
8726 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
8727
8728 * net/tramp.el (tramp-process-actions): Add POS argument.
8729 Delete region between POS and (pos).
8730
8731 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8732 Use `nil' position in `tramp-process-actions' call.
8733 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8734
8735 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8736 position in `tramp-process-actions' call.
8737
8738 * net/trampver.el: Update release number.
8739
8740 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * custom.el (defcustom): Obey lexical-binding.
8743
8744 Fix octave-inf completion problems reported by Alexander Klimov.
8745 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8746 Inherit from octave-mode-syntax-table.
8747 (inferior-octave-mode): Set info-lookup-mode.
8748 (inferior-octave-completion-at-point): New function.
8749 (inferior-octave-complete): Use it and completion-in-region.
8750 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8751 comint-filename-completion.
8752 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8753 symbol elements which shouldn't be word elements.
8754 (octave-font-lock-keywords, octave-beginning-of-defun)
8755 (octave-function-header-regexp): Adjust regexps accordingly.
8756 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8757
8758 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
8759
8760 * net/gnutls.el (gnutls-errorp): Declare before first use.
8761
8762 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8763
8764 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8765 verify-error, and verify-hostname-error parameters. Check whether
8766 default trustfile exists before going to use it. Add missing
8767 argument to gnutls-message-maybe call. Return value.
8768 Reported by Claudio Bley <claudio.bley@gmail.com>.
8769 (open-gnutls-stream): Add usage example.
8770
8771 * net/network-stream.el (network-stream-open-starttls): Give host
8772 parameter to `gnutls-negotiate'.
8773 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8774 * subr.el (shell-quote-argument): Escape correctly under Windows.
8775
8776 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
8777
8778 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8779 Use correct match group (bug#8438).
8780
8781 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
8782
8783 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8784 (package-menu--generate): New arg specifying packages to show.
8785 (package-menu-refresh, package-menu-execute, list-packages):
8786 Callers changed.
8787 (package-show-package-list): New function, replacing deleted
8788 package--list-packages (renamed because it is non-internal).
8789
8790 * finder.el (finder-list-matches): Use package-show-package-list
8791 instead of deleted package--list-packages.
8792
8793 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8794 Based on a previous implementation by Juanma Barranquero (Bug#8366).
8795 (vc-annotate-mode-map): Bind it to RET.
8796
8797 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8798
8799 * progmodes/etags.el (next-file): Don't use set-buffer to change
8800 buffers (Bug#8478).
8801
8802 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
8803
8804 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8805
8806 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8807 (apropos-accumulator): Doc fix.
8808 (apropos-function, apropos-macro, apropos-command)
8809 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8810 (apropos-plist): Add face property.
8811 (apropos-symbols-internal): Fix indentation.
8812 (apropos-print): Simplify help, and recognize apropos-multi-type.
8813 (apropos-print-doc): Use button-type-get to extract the button's
8814 face property. Fill docstring (Bug#8352).
8815
8816 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
8817
8818 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8819
8820 * play/mpuz.el (mpuz-silent): Doc fix.
8821 (mpuz-mode-map): Use mapc.
8822 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8823 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8824 Fix typos in docstrings.
8825
8826 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8827 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8828
8829 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8830
8831 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
8832
8833 * minibuffer.el (completion--do-completion): Avoid the "Next char
8834 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8835
8836 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8837 mouse-2 into unread-command-events, it is interpreted correctly.
8838
8839 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
8840 (image-toggle-display): Doc fix.
8841
8842 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
8843
8844 * textmodes/page.el (what-page): Use line-number-at-pos to
8845 calculate line number (Bug#6825).
8846
8847 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
8848
8849 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8850 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8851 Pass argument NO-DEFAULT to `find-tag-interactive'.
8852
8853 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
8854
8855 Lexical-binding cleanup.
8856
8857 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8858 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8859 * progmodes/ada-prj.el (ada-prj-initialize-values)
8860 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8861 (ada-prj-show-value):
8862 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8863 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8864 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8865 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8866 * progmodes/bug-reference.el (bug-reference-push-button):
8867 * progmodes/fortran.el (fortran-line-length):
8868 * progmodes/glasses.el (glasses-change):
8869 * progmodes/octave-mod.el (octave-fill-paragraph):
8870 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8871 (python-pdbtrack-grub-for-buffer, python-sentinel):
8872 * progmodes/sql.el (sql-save-connection):
8873 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8874 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8875 Mark unused parameters.
8876
8877 * progmodes/compile.el (compilation--flush-directory-cache)
8878 (compilation--flush-parse, compile-internal): Mark unused parameters.
8879 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8880 (compilation-next-error-function): Remove unused variable `timestamp'.
8881
8882 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8883 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8884
8885 * progmodes/dcl-mode.el (dcl-end-of-command):
8886 Remove unused variable `start'.
8887 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8888 (dcl-option-value-basic, dcl-option-value-offset)
8889 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8890 Mark unused parameters.
8891 (dcl-save-local-variable): Remove unused variable `val'.
8892 (mode): Declare.
8893
8894 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8895 Mark unused parameters.
8896 (delphi-ignore-changes): Move before first use.
8897 (delphi-charset-token-at): Remove unused variable `start'.
8898 (delphi-else-start): Remove unused variable `if-count'.
8899 (delphi-comment-block-start, delphi-comment-block-end):
8900 Remove unused variable `kind'.
8901 (delphi-indent-line): Remove unused variable `new-point'.
8902
8903 * progmodes/ebrowse.el (ebrowse-files-list)
8904 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8905 Mark unused parameters. Don't quote `lambda'.
8906 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8907 Don't quote `lambda'.
8908 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8909 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8910 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8911 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8912 Use `ignore-errors'.
8913 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8914 (ebrowse-view/find-file-and-search-pattern)
8915 (ebrowse-view/find-member-declaration/definition):
8916 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8917 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8918 Rename parameter PREFIX-ARG to PREFIX.
8919 (ebrowse-tags-read-name): Remove unused variables `start' and
8920 `member-info'.
8921 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8922 to `tags-file'.
8923
8924 * progmodes/etags.el (local-find-tag-hook): Declare.
8925 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8926 Mark unused parameters.
8927
8928 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8929 (executable-interpret): Mark unused parameter.
8930
8931 * progmodes/flymake.el (flymake-process-sentinel)
8932 (flymake-after-change-function)
8933 (flymake-create-temp-with-folder-structure)
8934 (flymake-get-include-dirs-dot): Mark unused parameters.
8935 (flymake-safe-delete-directory): Remove unused variable `err'.
8936
8937 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8938 (speedbar-timer-fn, speedbar-line-text)
8939 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8940 (speedbar-center-buffer-smartly): Declare functions.
8941 (gdb-find-watch-expression): Remove unused variable `array'.
8942 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8943 (gdb-starting): Mark unused parameters.
8944 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8945 (gdb-table-string): Remove unused variable `res'.
8946 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8947 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8948 (gdb-display-buffer): Remove unused variable `cur-size'.
8949
8950 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8951 allow lexical-binding compilation.
8952 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8953 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8954 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8955 Mark unused parameters.
8956 (gud-gdb-marker-filter): Remove unused variable `match'.
8957 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8958 lambda expressions and funcall them, instead of using `fset'.
8959
8960 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8961 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8962
8963 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8964 variable `header-beg'; use `let'.
8965
8966 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8967 `restart', `last-sexp' and `at-do'.
8968
8969 * progmodes/js.el (js--debug): Mark unused parameter.
8970 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8971 (js--splice-into-items): Remove unused variable `item'.
8972 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8973
8974 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8975 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8976 (makefile-complete): Remove unused variable `try'.
8977 (makefile-fill-paragraph, makefile-match-function-end):
8978 Mark unused parameters.
8979
8980 * progmodes/octave-inf.el (inferior-octave-complete):
8981 Remove unused variable `proc'.
8982 (inferior-octave-output-digest): Mark unused parameter.
8983
8984 * progmodes/perl-mode.el (perl-calculate-indent):
8985 Remove unused variable `err'.
8986
8987 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8988 (prolog-indent-line): Mark unused parameters.
8989 (prolog-indent-line): Remove unused variable `beg'.
8990
8991 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8992 (reporter-dont-compact-list): Declare.
8993
8994 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8995 Remove unused variable `char'.
8996 (sh-debug): Mark unused parameter.
8997 (sh-get-indent-info): Remove unused variable `start'.
8998 (sh-calculate-indent): Remove unused variable `var'.
8999
9000 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9001 (simula-electric-keyword): Remove unused variable `null'.
9002 (simula-search-backward, simula-search-forward): Remove unused
9003 variables `begin' and `end'.
9004
9005 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9006 Remove unused variable `pos'.
9007 (vera-electric-tab, vera-comment-uncomment-region):
9008 Mark unused parameters.
9009 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9010
9011 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
9012
9013 * emacs-lisp/package.el (package--builtins, package-alist)
9014 (package-load-descriptor, package-built-in-p, package-activate)
9015 (define-package, package-installed-p)
9016 (package-compute-transaction, package-buffer-info)
9017 (package--push): Doc fix. Distinguish more clearly between
9018 version strings and version lists.
9019
9020 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
9021
9022 Lexical-binding cleanup.
9023
9024 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9025 (5x5-make-mutate-best):
9026 * play/fortune.el (fortune-in-buffer):
9027 * play/gomoku.el (gomoku-init-display):
9028 * play/solitaire.el (solitaire, solitaire-do-check):
9029 * play/tetris.el (tetris-default-update-speed-function):
9030 Mark unused parameters.
9031
9032 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9033 (bubbles--shift): Remove unused variable `char-org'.
9034 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9035 (bubbles--show-images): Remove unused variable `char'.
9036
9037 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9038 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9039 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9040 (decipher-analyze-buffer): Use ?\s.
9041 (decipher-make-checkpoint): Remove unused variable `mapping'.
9042
9043 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9044
9045 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9046 Remove unused variable `result'; use `let'.
9047
9048 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9049 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9050 (gametree-children-shown-p, gametree-compute-reduced-score):
9051 Use `ignore-errors'.
9052
9053 * play/handwrite.el (ps-lpr-switches): Declare.
9054 (handwrite): Remove unused variables `pmin' and `lastp'.
9055
9056 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9057
9058 * play/landmark.el (landmark-init-display)
9059 (landmark-update-naught-weights): Mark unused parameters.
9060 (landmark-y): Remove unused variable `noise'. Simplify.
9061 (landmark-human-plays): Remove unused variable `score'.
9062
9063 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9064 (mpuz-try-proposal): Remove unused variable `game'.
9065
9066 * play/zone.el (life-patterns): Declare.
9067
9068 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
9069
9070 * vc/vc.el (ediff-vc-internal): Declare function.
9071
9072 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * shell.el: Use lexical-binding and std completion UI.
9075 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9076 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9077 comint-preoutput-filter-functions rather than on
9078 comint-output-filter-functions.
9079 (shell-command-completion, shell--command-completion-data)
9080 (shell-filename-completion, shell-environment-variable-completion)
9081 (shell-c-a-p-replace-by-expanded-directory): New functions.
9082 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9083 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9084 (shell-dynamic-complete-environment-variable): Use them.
9085 (shell-dynamic-complete-as-environment-variable)
9086 (shell-dynamic-complete-as-command): Remove.
9087 (shell-match-partial-variable): Match past point.
9088 * comint.el: Clean up use of completion-at-point-functions.
9089 (comint-completion-at-point): New function.
9090 (comint-mode): Use it completion-at-point-functions.
9091 (comint-dynamic-complete): Make it obsolete.
9092 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9093 (comint-c-a-p-replace-by-expanded-history): New function.
9094 (comint-dynamic-complete-functions)
9095 (comint-replace-by-expanded-history): Use it.
9096 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9097 termination strings. Try harder to avoid second try-completion.
9098 (completion-in-region-mode-map): Disable bindings that don't work yet.
9099
9100 * comint.el: Use lexical-binding. Require CL.
9101 (comint-dynamic-complete-functions): Use comint-filename-completion.
9102 (comint-completion-addsuffix): Tweak custom type.
9103 (comint-filename-completion, comint--common-suffix)
9104 (comint--common-quoted-suffix, comint--table-subvert)
9105 (comint--complete-file-name-data): New functions.
9106 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9107 (comint-dynamic-list-filename-completions): Use them.
9108 (comint-dynamic-simple-complete): Make obsolete.
9109
9110 * minibuffer.el (completion-in-region-mode):
9111 Keep completion-in-region-mode--predicate global.
9112 (completion-in-region--postch):
9113 Assume completion-in-region-mode--predicate is not null.
9114
9115 * progmodes/flymake.el (flymake-start-syntax-check-process):
9116 Obey `dir'. Simplify.
9117
9118 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9119 we're in VC after all.
9120
9121 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9122
9123 * vc/vc.el (vc-diff-build-argument-list-internal)
9124 (vc-version-ediff, vc-ediff): New commands.
9125 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9126
9127 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9130 add sanity check.
9131
9132 * obsolete/erc-hecomplete.el: Make obsolete.
9133 * obsolete/: Standardize obsolescence info in the header.
9134
9135 2011-04-20 Glenn Morris <rgm@gnu.org>
9136
9137 * calendar/solar.el (solar-horizontal-coordinates):
9138 Use the longitude argument rather than `calendar-longitude'.
9139 (solar-date-next-longitude): Remove unused locals.
9140
9141 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9142
9143 * whitespace.el: New version 13.2.1.
9144
9145 2011-04-20 felix <EmacsWiki> (tiny change)
9146
9147 * whitespace.el (global-whitespace-mode): Keep highlight when
9148 switching between major modes on a file.
9149
9150 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9153 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9154 multi-line comments as well.
9155
9156 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
9157
9158 Lexical-binding cleanup.
9159
9160 * arc-mode.el (archive-mode-revert):
9161 * cmuscheme.el (scheme-interactively-start-process):
9162 * custom.el (custom-initialize-delay):
9163 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9164 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9165 * emacs-lock.el (emacs-lock-clear-sentinel):
9166 * ezimage.el (defezimage):
9167 * follow.el (follow-avoid-tail-recenter):
9168 * fringe.el (set-fringe-mode-1):
9169 * generic-x.el (bat-generic-mode-compile):
9170 * help-mode.el (help-info-variable, help-do-xref)
9171 (help-mode-revert-buffer):
9172 * help.el (view-emacs-todo):
9173 * iswitchb.el (iswitchb-completion-help):
9174 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9175 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9176 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9177 * locate.el (locate-update):
9178 * longlines.el (longlines-encode-region)
9179 (longlines-after-change-function):
9180 * outline.el (outline-isearch-open-invisible):
9181 * ps-def.el (declare-function, charset-dimension, char-width)
9182 (encode-char):
9183 * ps-mule.el (ps-mule-plot-string):
9184 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9185 (recentf-edit-list-select, recentf-edit-list-validate)
9186 (recentf-open-files-action):
9187 * rect.el (delete-whitespace-rectangle-line)
9188 (rectangle-number-line-callback):
9189 * register.el (window-configuration-to-register)
9190 (frame-configuration-to-register):
9191 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9192 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9193 (xselect-convert-to-targets, xselect-convert-to-delete)
9194 (xselect-convert-to-filename, xselect-convert-to-charpos)
9195 (xselect-convert-to-lineno, xselect-convert-to-colno)
9196 (xselect-convert-to-os, xselect-convert-to-host)
9197 (xselect-convert-to-user, xselect-convert-to-class)
9198 (xselect-convert-to-name, xselect-convert-to-integer)
9199 (xselect-convert-to-atom, xselect-convert-to-identity):
9200 * subr.el (declare, ignore, process-kill-without-query)
9201 (text-clone-maintain):
9202 * terminal.el (te-get-char, te-tic-sentinel):
9203 * tool-bar.el (tool-bar-make-keymap):
9204 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9205 * type-break.el (type-break-mode, type-break-noninteractive-query):
9206 * view.el (View-back-to-mark):
9207 * wid-browse.el (widget-browse-action, widget-browse-widget)
9208 (widget-browse-widgets, widget-browse-sexp):
9209 * widget.el (define-widget-keywords):
9210 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9211 Mark unused parameters.
9212
9213 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9214 (align-areas): Remove unused variable `look'.
9215 (align-region): Remove unused variables `real-end' and `pos-list'.
9216
9217 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9218
9219 * bindings.el (mode-line-modified, mode-line-remote):
9220 Mark unused parameters.
9221 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9222
9223 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9224 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9225
9226 * comint.el (comint-history-isearch-pop-state)
9227 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9228 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9229 (comint-substitute-in-file-name): Doc fix.
9230
9231 * completion.el (cmpl-statistics-block): Mark unused parameter.
9232 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9233 (save-completions-to-file, load-completions-from-file):
9234 Remove unused local variable `e'.
9235
9236 * composite.el (compose-chars): Remove unused variable `len'.
9237 (lgstring-insert-glyph): Remove unused variable `g'.
9238 (compose-glyph-string): Remove unused variables `ascent',
9239 `descent', `lbearing' and `rbearing'.
9240 (compose-glyph-string-relative): Remove unused variables
9241 `lbearing', `rbearing' and `wadjust'.
9242 (compose-gstring-for-graphic): Remove unused variables `header',
9243 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
9244 (compose-gstring-for-terminal): Remove unused variables `header'
9245 and `nchars'. Use `let', not `let*'.
9246
9247 * cus-edit.el (Custom-set, Custom-save, custom-reset)
9248 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9249 (Custom-buffer-done, custom-buffer-create-internal)
9250 (custom-browse-visibility-action, custom-browse-group-tag-action)
9251 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9252 (widget-magic-mouse-down-action, custom-toggle-parent)
9253 (custom-add-parent-links, custom-toggle-hide-variable)
9254 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9255 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9256 (custom-face-menu-create, custom-variable-menu-create, get)
9257 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9258 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9259 (customize-apropos): Remove unused variable `tests'.
9260 (custom-group-value-create): Remove unused variable `hidden-p'.
9261 (sort-fold-case): Declare.
9262
9263 * cus-theme.el (custom-reset-standard-faces-list)
9264 (custom-reset-standard-variables-list): Declare.
9265 (customize-create-theme, custom-theme-revert, custom-theme-write)
9266 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9267 Mark unused parameters.
9268
9269 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9270
9271 * delim-col.el (delimit-columns-max): Move defvar before first use.
9272
9273 * descr-text.el (describe-char-categories): Don't quote `lambda'.
9274 (describe-char): Don't quote `lambda'. Mark unused parameter.
9275
9276 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9277 (auto-insert): Declare.
9278 (desktop-restore-file-buffer): Rename desktop-* parameters;
9279 mark unused ones.
9280 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9281 (desktop-buffer): Rename desktop-* parameters.
9282
9283 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9284 (dframe-reposition-frame-xemacs, dframe-help-echo)
9285 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9286 Mark unused parameters.
9287
9288 * dired-aux.el (backup-extract-version-start, overwrite-query)
9289 (overwrite-backup-query, rename-regexp-query)
9290 (rename-non-directory-query): Declare.
9291 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9292 (dired-add-entry): Remove unused variable `orig-file-name'.
9293 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9294 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9295 `dired-copy-preserve-time' directly.
9296 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9297 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9298
9299 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9300 (dired-virtual-revert, dired-make-relative-symlink):
9301 Mark unused parameters.
9302 (manual-program): Declare.
9303 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9304 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9305 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9306
9307 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9308
9309 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9310
9311 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9312 Declare.
9313
9314 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9315
9316 * electric.el (Electric-command-loop): Rename parameter
9317 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9318
9319 * expand.el (expand-in-literal): Remove unused variable `here'.
9320
9321 * facemenu.el (facemenu-add-new-color):
9322 Remove unused variable `docstring'.
9323
9324 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9325 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9326 (face-attr-construct): Mark unused parameter. Doc fix.
9327 (read-color): Remove unused variable `hex-string'.
9328
9329 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9330 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9331 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9332 (display-buffer-other-frame): Remove unused variable `old-window'.
9333 (kill-buffer-hook): Declare.
9334 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9335 Mark unused parameters.
9336 (after-find-file): Pass 1 to `auto-save-mode', not t.
9337
9338 * files-x.el (auto-insert): Declare.
9339 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9340
9341 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
9342 variable `buf'. Mark unused parameter.
9343 (find-lisp-insert-directory): Mark unused parameter.
9344
9345 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9346 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9347 (format-common-tail): Remove, unused.
9348 (format-deannotate-region): Remove unused variable `loc'.
9349 (format-annotate-region): Remove unused variable `p'.
9350 (format-annotate-single-property-change): Remove unused variables
9351 `default' and `tail'.
9352
9353 * forms.el (read-file-filter): Declare.
9354 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9355
9356 * frame.el (frame-creation-function-alist): Mark unused parameter.
9357 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9358
9359 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9360 Remove unused parameters.
9361 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9362 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9363
9364 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9365 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9366 (hfy-prepare-tag-map): Mark unused parameters.
9367 (htmlfontify-buffer): Use `called-interactively-p'.
9368
9369 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9370 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9371 (ibuffer-do-occur): Mark unused parameters.
9372 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9373 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9374
9375 * ibuffer.el: Don't quote `lambda'.
9376 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9377 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9378 Mark unused parameters.
9379
9380 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9381 (ido-completing-read): Mark unused parameters.
9382 (ido-copy-current-word): Mark unused parameters;
9383 remove unused variable `name'.
9384 (ido-sort-merged-list): Remove unused parameter `dirs'.
9385
9386 * ielm.el (ielm-input-sender): Mark unused parameter.
9387 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9388 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9389 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9390 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9391 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9392
9393 * image-dired.el (image-dired-display-thumbs): Remove unused
9394 variables `curr-file' and `count'.
9395 (image-dired-remove-tag): Remove unused variable `start'.
9396 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9397 variable `curr-file'
9398 (image-dired-rotate-original): Remove unused variable `temp-file'.
9399 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9400 Remove unused variable `file'.
9401 (image-dired-gallery-generate): Remove unused variable `curr'.
9402 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9403
9404 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9405
9406 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9407
9408 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9409
9410 * isearch.el (minibuffer-history-symbol): Declare.
9411 (isearch-edit-string): Remove unused variable `err'.
9412 (isearch-message-prefix, isearch-message-suffix):
9413 Mark unused parameters.
9414
9415 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9416
9417 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9418
9419 * makesum.el (double-column): Remove unused variable `cnt'.
9420
9421 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9422 (ido-ignore-item-temp-list): Declare.
9423
9424 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9425 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9426 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9427 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9428 `mouse-col-delta'.
9429
9430 * mouse-sel.el (mouse-extend-internal):
9431 Remove unused variable `orig-window-frame'.
9432
9433 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9434 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9435 Move declarations before first use.
9436 (pcomplete-opt): Mark unused parameters; doc fix.
9437
9438 * proced.el (proced-revert): Mark unused parameter.
9439 (proced-send-signal): Remove unused variable `err'.
9440
9441 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9442 Rename parameter PREFIX-ARG to ARG.
9443 (ps-basic-plot-string, ps-basic-plot-whitespace):
9444 Mark unused parameters.
9445
9446 * replace.el (replace-count): Define.
9447 (occur-revert-function): Mark unused parameters.
9448 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9449 (isearch-case-fold-search, isearch-string): Declare.
9450 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9451 bind `case-fold-search'. Remove unused variables `beg' and `end',
9452 and simplify.
9453 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9454 COUNT and bind `replace-count'.
9455 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9456 to COUNT.
9457
9458 * savehist.el (print-readably, print-string-length): Declare.
9459
9460 * shadowfile.el (shadow-expand-cluster-in-file-name):
9461 Remove unused variable `cluster'.
9462 (shadow-copy-file): Remove unused variable `i'.
9463 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9464 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9465 (shadow-define-literal-group, shadow-define-regexp-group)
9466 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9467
9468 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9469 (shell): Use `called-interactively-p'.
9470 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9471
9472 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9473 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9474 (delete-backward-char): Remove unused variable `ocol'.
9475 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9476 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9477 (event-apply-hyper-modifier, event-apply-shift-modifier)
9478 (event-apply-control-modifier, event-apply-meta-modifier):
9479 Mark unused parameters.
9480 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9481 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9482
9483 * speedbar.el (speedbar-ignored-directory-expressions)
9484 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9485 (speedbar-find-file, speedbar-dir-follow)
9486 (speedbar-directory-buttons-follow, speedbar-tag-find)
9487 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9488 (speedbar-buffers-line-directory, speedbar-buffer-click):
9489 Mark unused parameters.
9490 (speedbar-tag-file): Remove unused variable `mode'.
9491 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9492
9493 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9494
9495 * talk.el (talk): Remove unused variable `display'.
9496
9497 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9498 (tar-write-region-annotate): Mark unused parameter.
9499
9500 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9501 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9502 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9503 warning by another.
9504
9505 * time-stamp.el (time-stamp-string-preprocess):
9506 Remove unused variable `require-padding'.
9507
9508 * tree-widget.el (widget-glyph-enable): Declare.
9509 (tree-widget-action): Mark unused parameter.
9510
9511 * w32-fns.el (x-get-selection): Mark unused parameter.
9512 (autoload-make-program, generated-autoload-file): Declare.
9513
9514 * wdired.el (wdired-revert): Mark unused parameters.
9515 (wdired-xcase-word): Remove unused variable `err'.
9516
9517 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9518 (whitespace-help-scroll): Remove unused variable `data-help'.
9519
9520 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9521 (widget-image-insert, widget-after-change, default)
9522 (widget-default-format-handler, widget-default-notify)
9523 (widget-default-prompt-value, widget-info-link-action)
9524 (widget-url-link-action, widget-function-link-action)
9525 (widget-variable-link-action, widget-file-link-action)
9526 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9527 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9528 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9529 (widget-insert-button-action, widget-delete-button-action, visibility)
9530 (widget-documentation-link-action, widget-documentation-string-action)
9531 (widget-const-prompt-value, widget-regexp-match, symbol)
9532 (widget-coding-system-prompt-value)
9533 (widget-key-sequence-value-to-external, sexp)
9534 (widget-sexp-value-to-internal, character, vector, cons)
9535 (widget-choice-prompt-value, widget-boolean-prompt-value)
9536 (widget-color--choose-action): Mark unused parameters.
9537 (widget-item-match-inline, widget-choice-match-inline)
9538 (widget-checklist-match, widget-checklist-match-inline)
9539 (widget-group-match): Rename parameter VALUES to VALS.
9540 (widget-field-value-set): Remove unused variable `size'.
9541 (widget-color-action): Remove unused variables `value' and `start'.
9542
9543 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
9544 variable `dir'. Doc fix.
9545 (windmove-find-other-window): Don't pass it.
9546
9547 * window.el (count-windows): Mark unused parameter.
9548 (bw-adjust-window): Remove unused variable `err'.
9549
9550 * woman.el (woman-file-name): Remove unused variable `default'.
9551 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9552 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9553 (global-font-lock-mode): Declare.
9554 (woman-decode-region): Mark unused parameter.
9555 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9556
9557 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9558 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9559 (x-dnd-handle-moz-url): Remove unused variable `title'.
9560 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9561
9562 * xml.el (xml-parse-tag, xml-parse-attlist):
9563 Remove unused variable `pos'.
9564
9565 2011-04-19 Glenn Morris <rgm@gnu.org>
9566
9567 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9568 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9569 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9570 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9571 * calendar/cal-html.el (cal-html-insert-minical):
9572 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9573 (calendar-mark-date-pattern):
9574 Prefix "unused" locals.
9575
9576 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9577 optional argument `style'.
9578
9579 * calendar/appt.el (appt-make-list):
9580 * calendar/cal-china.el (calendar-chinese-date-string):
9581 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9582 (diary-hebrew-yahrzeit):
9583 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9584 * calendar/calendar.el (calendar-generate-window):
9585 * calendar/time-date.el (time-to-days):
9586 Remove unused local variables.
9587
9588 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
9589
9590 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9591 glyphless-char-display table.
9592 (tabulated-list-glyphless-char-display): New var.
9593
9594 2011-04-18 Sam Steingold <sds@gnu.org>
9595
9596 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9597 to acknowledgments.
9598
9599 2011-04-17 Glenn Morris <rgm@gnu.org>
9600
9601 * calendar/diary-lib.el (diary-sexp-entry):
9602 * calendar/holidays.el (holiday-sexp):
9603 Set debug-on-error rather than the removed stack-trace-on-error.
9604
9605 2011-04-16 Glenn Morris <rgm@gnu.org>
9606
9607 * progmodes/f90.el: Use lexical-binding.
9608 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9609
9610 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9613 (mail-mode): Setup mailalias completion here instead.
9614 * mail/mailalias.el: Use lexical-binding.
9615 (pattern, mailalias-done): Declare dynamic.
9616 (mail-completion-at-point-function): New function, from mail-complete.
9617 (mail-complete): Use it.
9618 (mail-completion-expand): New function.
9619 (mail-get-names): Use it.
9620 (mail-directory, mail-directory-process, mail-directory-stream):
9621 Don't use `pattern' for lexically bound arg.
9622
9623 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9624
9625 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9626 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9627 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9628
9629 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9630 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9631 (byte-interactive-p): Define them again, for use when inlining
9632 old code.
9633
9634 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
9635
9636 * loadup.el: Use `string-to-number', not `string-to-int'.
9637
9638 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9641 gud-gdb-complete-command.
9642 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9643 (gud-gdb-completion-at-point): New function.
9644 (gud-gdb-completions): Remove.
9645
9646 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
9647
9648 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9649 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9650 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9651 whether `executable-find' is bound.
9652
9653 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9654
9655 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * minibuffer.el (completion-in-region-mode-predicate)
9658 (completion-in-region-mode--predicate): New vars.
9659 (completion-in-region, completion-in-region--postch)
9660 (completion-in-region-mode): Use them.
9661 (completion--capf-wrapper): Also return the hook function.
9662 (completion-at-point, completion-help-at-point):
9663 Adjust and provide a predicate.
9664
9665 Preserve arg names for advice of subr and lexical functions (bug#8457).
9666 * help-fns.el (help-function-arglist): Consolidate the subr and
9667 new-byte-code cases. Add argument `preserve-names' to extract names
9668 from the docstring when needed.
9669 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9670 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9671 (ad-arglist): Use help-function-arglist's new arg.
9672 (ad-definition-type): Use cond.
9673
9674 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
9675
9676 * autorevert.el (auto-revert-handler):
9677 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9678 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9679 Don't quote lambda.
9680
9681 * image-mode.el (image-transform-set-scale):
9682 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9683
9684 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9685
9686 * net/network-stream.el (network-stream-open-starttls): Only do
9687 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
9688 Upgrades via gnutls-cli are too slow to be done opportunistically.
9689
9690 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
9691
9692 * dframe.el (dframe-current-frame): Remove spurious quote.
9693
9694 2011-04-12 Glenn Morris <rgm@gnu.org>
9695
9696 * calendar/cal-tex.el (cal-tex-end-document):
9697 Try to automatically use latin1 input if needed.
9698
9699 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9700 Don't try to cons a mark onto an empty element.
9701
9702 2011-04-11 Leo Liu <sdl.web@gmail.com>
9703
9704 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9705 buffers.
9706 (ido-kill-buffer-at-head): Support killing virtual buffers.
9707
9708 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
9709
9710 * minibuffer.el (completion-show-inline-help): New var.
9711 (completion--do-completion, minibuffer-complete)
9712 (minibuffer-force-complete, minibuffer-complete-word):
9713 Inhibit minibuffer messages if completion-show-inline-help is nil.
9714
9715 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9716 to avoid interference from inline help (Bug#5849).
9717
9718 2011-04-10 Leo Liu <sdl.web@gmail.com>
9719
9720 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9721 Fix typo.
9722
9723 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
9724
9725 * image-mode.el (image-toggle-display-image): Signal an error if
9726 not in Image mode.
9727 (image-transform-mode, image-transform-resize)
9728 (image-transform-set-rotation): Doc fix.
9729 (image-transform-set-resize): Delete.
9730 (image-transform-set-scale, image-transform-fit-to-height)
9731 (image-transform-fit-to-width): Handle image-toggle-display-image
9732 and image-transform-resize directly.
9733
9734 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
9735
9736 * doc-view.el (doc-view-fit-width-to-window)
9737 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9738 New functions for fitting the shown image to the Emacs window size.
9739 (doc-view-mode-map): Add bindings for the new functions.
9740
9741 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
9742
9743 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
9744 Fix typo in docstring.
9745
9746 2011-04-08 Eli Zaretskii <eliz@gnu.org>
9747
9748 * files.el (file-size-human-readable): Produce one digit after
9749 decimal, like "ls -lh" does.
9750
9751 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9752 the file size representation.
9753
9754 * simple.el (list-processes): If async subprocesses are not
9755 available, error out with a clear error message.
9756
9757 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
9758
9759 * help.el (help-form-show): New function, to be called from C.
9760 Put help-form output in a buffer named differently than *Help*.
9761
9762 2011-04-08 Eli Zaretskii <eliz@gnu.org>
9763
9764 * files.el (file-size-human-readable): New function.
9765
9766 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9767 computing the representation inline. Don't require `cl'.
9768
9769 2011-04-08 Glenn Morris <rgm@gnu.org>
9770
9771 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9772
9773 * net/browse-url.el (browse-url-firefox):
9774 Test system-type, not system-configuration.
9775
9776 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9777 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9778 Use log-edit-empty-buffer-p. (Bug#7598)
9779
9780 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9781 (rlogin-mode-map): Initialize in the defvar.
9782 (rlogin): Use ignore-errors.
9783
9784 * replace.el (occur-mode-map): Some fixes for menu items.
9785
9786 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9787
9788 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9789
9790 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9791
9792 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9793 issuing unused warnings.
9794
9795 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9796 macro directly.
9797
9798 * simple.el: Lisp reimplement of list-processes. Based on an
9799 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9800 (process-menu-mode): New major mode.
9801 (list-processes--refresh, list-processes):
9802 (process-menu-visit-buffer): New functions.
9803
9804 * files.el (save-buffers-kill-emacs): Don't assume any return
9805 value of list-processes, which is undocumented anyway.
9806
9807 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9808
9809 * emacs-lisp/tabulated-list.el: New file.
9810
9811 * emacs-lisp/package.el: Use Tabulated List mode.
9812 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9813 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9814 table format using Tabulated List mode variables.
9815 (package--push): New macro, replacing package-list-maybe-add.
9816 (package-menu--generate): Use package--push. Renamed from
9817 package--generate-package-list.
9818 (package-menu-refresh, list-packages): Use it.
9819 (package-menu--print-info): Rename from package-print-package.
9820 Return insertion data instead of inserting it directly.
9821 (package-menu-describe-package, package-menu-execute):
9822 Use tabulated-list-get-id.
9823 (package-menu-mark-delete, package-menu-mark-install)
9824 (package-menu-mark-unmark, package-menu-backup-unmark)
9825 (package-menu-mark-obsolete-for-deletion):
9826 Use tabulated-list-put-tag.
9827 (package--list-packages, package-menu-revert)
9828 (package-menu-get-package, package-menu-get-version)
9829 (package-menu-sort-by-column): Functions deleted.
9830 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9831 (package-menu--status-predicate, package-menu--version-predicate)
9832 (package-menu--name-predicate)
9833 (package-menu--description-predicate): Handle arguments in the
9834 Tabulated List format.
9835 (package-list-packages-no-fetch): Call list-packages.
9836
9837 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
9838
9839 * files.el (after-find-file-from-revert-buffer): Remove variable.
9840 (after-find-file): Don't bind it.
9841 (revert-buffer-in-progress-p): New variable.
9842 (revert-buffer): Bind it.
9843 Pass nil for `after-find-file-from-revert-buffer'.
9844
9845 * saveplace.el (save-place-find-file-hook): Use new variable
9846 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9847
9848 2011-04-06 Glenn Morris <rgm@gnu.org>
9849
9850 * Makefile.in (AUTOGEN_VCS): New variable.
9851 (autoloads): Use $AUTOGEN_VCS.
9852
9853 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9854 * calendar/calendar.el (calendar-mode-map):
9855 Check for toolkit scroll bars. (Bug#8305)
9856
9857 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
9858
9859 * minibuffer.el (completion-in-region--postch)
9860 (completion-in-region-mode): Remove unnecessary messages.
9861
9862 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
9863
9864 * font-lock.el (font-lock-refresh-defaults):
9865 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9866 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9867
9868 * info.el (Info-directory-list, Info-read-node-name-2)
9869 (Info-split-parameter-string): Doc fixes.
9870 (Info-virtual-nodes): Reflow docstring.
9871 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9872 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9873 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9874 Fix typos in docstrings.
9875 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9876 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9877 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9878 (Info-restore-desktop-buffer): Mark unused parameters.
9879 (Info-directory-find-file, Info-directory-find-node)
9880 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9881 (Info-virtual-index-find-node, Info-apropos-find-file)
9882 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
9883 Mark unused parameters; fix typos in docstrings.
9884 (Info-virtual-index): Remove unused local variable `nodename'.
9885
9886 2011-04-05 Deniz Dogan <deniz@dogan.se>
9887
9888 * net/rcirc.el: Update my e-mail address.
9889 (rcirc-mode-map): Remove M-o binding.
9890
9891 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
9892
9893 * startup.el (command-line): Save the cursor's theme-face
9894 directly, instead of using face-override-spec.
9895
9896 * custom.el (load-theme): Minor optimization in assigning faces.
9897
9898 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
9899
9900 * help-fns.el (describe-variable): Complete all variables having
9901 documentation, including keywords.
9902 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9903
9904 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
9905
9906 Convert to lexical-binding.
9907
9908 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9909 (bs--get-marked-string, bs--get-modified-string)
9910 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9911 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9912 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9913
9914 * ehelp.el (electric-help-execute-extended)
9915 (electric-help-ctrl-x-prefix):
9916 * hexl.el (hexl-revert-buffer-function):
9917 * linum.el (linum-after-change, linum-after-scroll):
9918 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9919
9920 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9921
9922 2011-04-04 Daiki Ueno <ueno@unixuser.org>
9923
9924 * epa-dired.el:
9925 * epa-mail.el:
9926 * epa-hook.el:
9927 * epa-file.el:
9928 * epa.el:
9929 * epg.el: Use lexical binding.
9930
9931 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
9932
9933 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9934
9935 * textmodes/flyspell.el (flyspell-word): Recognize default
9936 dictionary case for flyspell-mark-duplications-exceptions.
9937 Use regexp matching for languages.
9938 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9939 default dictionary (Bug#7926).
9940
9941 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
9942
9943 * emacs-lisp/package.el (package--with-work-buffer):
9944 Recognize https URLs.
9945
9946 * net/network-stream.el: Move from gnus/proto-stream.el.
9947 Change prefix to network-stream throughout.
9948 (open-protocol-stream): Merge into open-network-stream, leaving
9949 open-protocol-stream as an alias. Handle nil BUFFER args.
9950
9951 * subr.el (open-network-stream): Move to net/network-stream.el.
9952
9953 2011-04-02 Glenn Morris <rgm@gnu.org>
9954
9955 * find-dired.el (find-exec-terminator): New option.
9956 (find-ls-option): Test for -ls support.
9957 (find-ls-subdir-switches): Test for -b in find-ls-option.
9958 (find-dired, find-grep-dired): Doc fixes.
9959 (find-dired): Use find-exec-terminator.
9960
9961 * find-dired.el (find-ls-option, find-ls-subdir-switches)
9962 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9963 (find-name-arg): Remove purecopy.
9964
9965 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9966 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9967 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9968 accordingly. Don't add the null-device if not needed.
9969
9970 * files.el (save-some-buffers): Doc fix.
9971
9972 2011-04-02 Eli Zaretskii <eliz@gnu.org>
9973
9974 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9975
9976 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
9977
9978 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9979 Use `dolist' rather than `mapcar'.
9980
9981 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 Add lexical binding.
9984
9985 * subr.el (apply-partially): Use new closures rather than CL.
9986 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9987 (dolist, dotimes): Use slightly different expansion for lexical code.
9988 (functionp): Move to C.
9989 (letrec): New macro.
9990 (with-wrapper-hook): Use it and apply-partially instead of CL.
9991 (eval-after-load): Preserve lexical-binding.
9992 (save-window-excursion, with-output-to-temp-buffer): Turn them
9993 into macros.
9994
9995 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9996
9997 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9998 than the arglist.
9999 (help-add-fundoc-usage): Don't add `Not documented'.
10000 (help-function-arglist): Handle closures, subroutines, and new
10001 byte-code-functions.
10002 (help-make-usage): Remove leading underscores.
10003 (describe-function-1): Handle closures.
10004 (describe-variable): Use special-variable-p for completion.
10005
10006 * files.el (lexical-binding): Declare safe.
10007
10008 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10009 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10010 (pcase): Add `let' pattern.
10011 Change memoization so it actually works.
10012 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10013 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10014 <let>: New case.
10015
10016 * emacs-lisp/macroexp.el: Use lexical binding.
10017 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10018 Don't convert ' to #' without checking that it's indeed quoting
10019 a lambda.
10020
10021 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
10022 Use eval-sexp-add-defvars.
10023 (eval-sexp-add-defvars): New fun.
10024
10025 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10026
10027 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10028 Don't autoload.
10029 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10030 than the internal `byte-compile-lambda'.
10031 (defmethod): Don't hide code under quotes.
10032 (eieio-defmethod): New `code' argument.
10033
10034 * emacs-lisp/eieio-comp.el: Remove.
10035
10036 * emacs-lisp/edebug.el (edebug-eval-defun)
10037 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10038 (edebug-toggle): Avoid `eval'.
10039
10040 * emacs-lisp/disass.el (disassemble-internal): Handle new
10041 `closure' objects.
10042 (disassemble-1): Handle new byte codes.
10043
10044 * emacs-lisp/cl.el (pushnew): Silence warning.
10045
10046 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10047 (cl-byte-compile-throw): Remove.
10048 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10049
10050 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10051 closures.
10052
10053 * emacs-lisp/cconv.el: New file.
10054
10055 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10056 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10057 (byte-compile-initial-macro-environment):
10058 Handle declare-function here.
10059 (byte-compile--lexical-environment): New var.
10060 (byte-stack-ref, byte-stack-set, byte-discardN)
10061 (byte-discardN-preserve-tos): New lap codes.
10062 (byte-interactive-p): Don't use any more.
10063 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10064 New macros.
10065 (byte-compile-lapcode): Use them and handle new lap codes.
10066 (byte-compile-obsolete): Remove.
10067 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10068 (byte-compile-arglist-warn): Check late def of inlinable funs.
10069 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10070 since they should have been expanded by now.
10071 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10072 (byte-compile-from-buffer): Remove unused second arg.
10073 (byte-compile-preprocess): New function.
10074 (byte-compile-toplevel-file-form): New function to distinguish
10075 file-form calls from outside from file-form calls from hunk-handlers.
10076 (byte-compile-file-form): Simplify.
10077 (byte-compile-file-form-defsubst): Remove.
10078 (byte-compile-file-form-defmumble): Simplify now that
10079 byte-compile-lambda always returns a byte-code-function.
10080 (byte-compile): Preprocess.
10081 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10082 Remove, not used any more.
10083 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10084 (byte-compile-make-args-desc): New funs.
10085 (byte-compile-lambda): Handle lexical functions. Always return
10086 a byte-code-function.
10087 (byte-compile-reserved-constants): New var, to make up room for
10088 closed-over variables.
10089 (byte-compile-constants-vector): Obey it.
10090 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10091 (byte-compile-macroexpand-declare-function): New function.
10092 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10093 byte-code-functions.
10094 (byte-compile-form): Check obsolescence here.
10095 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10096 (byte-compile-variable-ref): Remove.
10097 (byte-compile-dynamic-variable-op): New fun.
10098 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10099 (byte-compile-variable-set): New funs.
10100 (byte-compile-discard): Add 2 args.
10101 (byte-compile-stack-ref, byte-compile-stack-set)
10102 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10103 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10104 macroexpand-all instead.
10105 (byte-compile-quote-form): Remove.
10106 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10107 (byte-compile-bind, byte-compile-unbind): New funs.
10108 (byte-compile-let): Handle let* and lexical binding.
10109 (byte-compile-let*): Remove.
10110 (byte-compile-catch, byte-compile-unwind-protect)
10111 (byte-compile-track-mouse, byte-compile-condition-case):
10112 Handle a new :fun-body form, used for lexical scoping.
10113 (byte-compile-save-window-excursion)
10114 (byte-compile-with-output-to-temp-buffer): Remove.
10115 (byte-compile-defun): Simplify.
10116 (byte-compile-stack-adjustment): New fun.
10117 (byte-compile-out): Use it.
10118 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10119
10120 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10121 handler any more.
10122
10123 * emacs-lisp/byte-opt.el: Use lexical binding.
10124 (byte-inline-lapcode): Remove (to bytecomp).
10125 (byte-compile-inline-expand): Pay attention to inlining to/from
10126 lexically bound code.
10127 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10128 any more.
10129 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10130 any more and don't call compiler-macros.
10131 (byte-compile-splice-in-already-compiled-code): Remove.
10132 (byte-code): Don't inline any more.
10133 (disassemble-offset): Receive `bytes' as argument rather than via
10134 dynamic scoping.
10135 (byte-compile-tag-number): Declare before first use.
10136 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10137 `return' even if make-spliceable.
10138 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10139 obsolete interactive-p.
10140 (byte-optimize-lapcode): Optimize new lap-codes.
10141 Don't trip up on new form of `byte-constant' lap code.
10142
10143 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10144
10145 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10146
10147 * custom.el (custom-initialize-default, custom-declare-variable):
10148 Use `defvar'.
10149
10150 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10151 New variables.
10152 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10153 (COMPILE_FIRST): Add macroexp and cconv.
10154 * makefile.w32-in: Mirror changes in Makefile.in.
10155
10156 * vc/cvs-status.el:
10157 * vc/diff-mode.el:
10158 * vc/log-edit.el:
10159 * vc/log-view.el:
10160 * vc/smerge-mode.el:
10161 * textmodes/bibtex-style.el:
10162 * textmodes/css.el:
10163 * startup.el:
10164 * uniquify.el:
10165 * minibuffer.el:
10166 * newcomment.el:
10167 * reveal.el:
10168 * server.el:
10169 * mpc.el:
10170 * emacs-lisp/smie.el:
10171 * doc-view.el:
10172 * dired.el:
10173 * abbrev.el: Use lexical binding.
10174
10175 2011-04-01 Eli Zaretskii <eliz@gnu.org>
10176
10177 * info.el (info-display-manual): New function.
10178
10179 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10182
10183 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10184
10185 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
10186 an entry for that server in rcirc-authinfo. (Bug#8385)
10187
10188 2011-03-31 Glenn Morris <rgm@gnu.org>
10189
10190 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10191
10192 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10193
10194 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10195
10196 * progmodes/python.el (python-default-interpreter)
10197 (python-python-command-args, python-jython-command-args)
10198 (python-which-shell, python-which-args, python-which-bufname)
10199 (python-file-queue, python-comint-output-filter-function)
10200 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10201 variables and functions.
10202
10203 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10206 (completion-in-region-mode): New minor mode.
10207 (completion-in-region): Use it.
10208 (completion-in-region--data, completion-in-region-mode-map): New vars.
10209 (completion-in-region--postch): New function.
10210 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10211 New vars.
10212 (completion--capf-wrapper): New function.
10213 (completion-at-point): Use it to track well-behavedness of
10214 hook functions.
10215 (completion-help-at-point): New command.
10216
10217 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10218
10219 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10220 syntax class to search for whitespace on a single line
10221 (Message-ID: <4D938140.4030905@redhat.com>).
10222
10223 2011-03-30 Leo Liu <sdl.web@gmail.com>
10224
10225 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10226 New commands.
10227 (edit-abbrevs-map): Bind them here.
10228 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10229
10230 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10231
10232 * allout.el (allout-hide-by-annotation, allout-flag-region):
10233 Reduce possibility of overlay leakage by making them volatile.
10234
10235 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10236 hash is not shared between buffers. Mode initialization is
10237 responsible for giving it a useful starting value.
10238 (allout-item-span): Reduce possibility of overlay leakage by
10239 making them volatile.
10240 (allout-widgets-count-buttons-in-region): Add diagnostic function
10241 for tracking down button overlay leaks.
10242
10243 2011-03-29 Leo Liu <sdl.web@gmail.com>
10244
10245 * ido.el (ido-read-internal): Use the default history var
10246 minibuffer-history if no HISTORY is specified.
10247
10248 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10249
10250 * net/imap.el (imap-shell-open, imap-process-connection-type):
10251 Use imap-process-connection-type for 'shell' streams as well as
10252 Kerberos, SSL, other subprocesses.
10253
10254 2011-03-28 Leo Liu <sdl.web@gmail.com>
10255
10256 * abbrev.el (abbrev-table-empty-p): New function.
10257 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10258 nonempty ones. (Bug#5937)
10259
10260 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10261
10262 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10263
10264 2011-03-27 Leo Liu <sdl.web@gmail.com>
10265
10266 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10267 for foreground and background colors.
10268 (ansi-color-make-color-map): Adapt.
10269
10270 2011-03-25 Leo Liu <sdl.web@gmail.com>
10271
10272 * midnight.el (midnight-time-float): Remove. Note it calculates
10273 the microsecond component incorrectly and seconds-to-time does the
10274 same job.
10275 Remove redundant (require 'timer).
10276
10277 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10278 (ido-completions): Remove unused arguments. (Bug#8329)
10279
10280 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 * minibuffer.el (completion--flush-all-sorted-completions):
10283 Remove itself from hook.
10284 (completion-at-point): Let the functions perform the completion
10285 immediately and return nil or t.
10286 * comint.el (comint-dynamic-complete-functions): Now identical to
10287 completion-at-point-functions.
10288 (comint-dynamic-list-input-ring): Remove unused var `index'.
10289 (comint--match-partial-filename, comint--unquote&expand-filename):
10290 New funs, split from comint-match-partial-filename.
10291 (comint-dynamic-complete): Use completion-at-point.
10292 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10293
10294 2011-03-24 Drew Adams <drew.adams@oracle.com>
10295
10296 * thingatpt.el: Support `defun'.
10297
10298 2011-03-23 Leo Liu <sdl.web@gmail.com>
10299
10300 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10301
10302 * help-mode.el (help-mode-finish): Tweak regexp.
10303
10304 2011-03-23 Glenn Morris <rgm@gnu.org>
10305
10306 * eshell/esh-opt.el (eshell-eval-using-options):
10307 Do not bind unused local variable `eshell-option-stub'.
10308
10309 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10310
10311 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
10312
10313 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10314 keymap variable in `with-no-warnings' to avoid a warning when the
10315 keymap has been already `defconst'ed.
10316
10317 2011-03-22 Leo Liu <sdl.web@gmail.com>
10318
10319 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10320 encode all chars in abbrevs; otherwise use emacs-mule or
10321 utf-8-emacs. (Bug#8308)
10322
10323 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
10324
10325 * simple.el (backward-delete-char-untabify):
10326 Avoid warning about using `delete-backward-char'.
10327
10328 * image.el (image-type-file-name-regexps): Make it variable.
10329 `imagemagick-register-types' modifies it, and the user may want
10330 to add new extensions for known image types.
10331 (imagemagick-register-types): Throw error if not using ImageMagick.
10332
10333 2011-03-22 Leo Liu <sdl.web@gmail.com>
10334
10335 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10336 located before rcirc-prompt-end-marker.
10337 (rcirc-complete): Error if point is not after rcirc prompt.
10338 Handle the case when table is nil.
10339 (rcirc-user-authenticated): Define to fix compiler warning.
10340
10341 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
10342
10343 * custom.el (custom--inhibit-theme-enable): Make it affect only
10344 custom-theme-set-variables and custom-theme-set-faces.
10345 (provide-theme): Ignore custom--inhibit-theme-enable.
10346 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10347 (custom-enabling-themes): Delete variable.
10348 (enable-theme): Accept only loaded themes as arguments.
10349 Ignore the special custom-enabled-themes variable.
10350 (custom-enabled-themes): Forbid themes from setting this.
10351 Eliminate use of custom-enabling-themes.
10352 (custom-push-theme): Quote "changed" custom var entry.
10353
10354 2011-03-21 Leo Liu <sdl.web@gmail.com>
10355
10356 * ido.el (ido-read-internal): Add ido-selected to history instead
10357 of user input.
10358
10359 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10360
10361 * subr.el (deferred-action-list, deferred-action-function):
10362 Mark obsolete.
10363
10364 2011-03-21 Leo Liu <sdl.web@gmail.com>
10365
10366 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10367 change on 2011-02-13 (bug#8309).
10368
10369 * minibuffer.el (read-file-name-function): Change default value.
10370 (read-file-name--defaults): Rename from read-file-name-defaults.
10371 (read-file-name-default): Rename from read-file-name.
10372 (read-file-name): Call read-file-name-function.
10373
10374 2011-03-21 Glenn Morris <rgm@gnu.org>
10375
10376 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10377 Doc fixes.
10378
10379 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
10380
10381 * cus-theme.el: Add missing provide statement.
10382 (customize-create-theme): Extract theme value correctly.
10383 (custom-theme-visit-theme): Autoload.
10384 (customize-create-theme): Prompt before inserting default faces.
10385
10386 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10387
10388 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10389 units and musical notes.
10390
10391 2011-03-20 Leo Liu <sdl.web@gmail.com>
10392
10393 * ido.el (ido-read-internal): Use completing-read-default.
10394 (ido-completing-read): Fix compatibility with completing-read.
10395
10396 2011-03-20 Christian Ohler <ohler@gnu.org>
10397
10398 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10399 (ert-delete-all-tests): Use `called-interactively-p' rather than
10400 `interactive-p'.
10401 (ert--make-xrefs-region): Respect END.
10402
10403 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
10404
10405 * dired-aux.el (dired-create-directory): Signal an error if the
10406 directory already exists (Bug#8246).
10407
10408 * facemenu.el (list-colors-display): Call list-faces-display
10409 inside with-help-window.
10410 (list-colors-print): Use display property to align the final
10411 column, instead of checking window-width.
10412
10413 2011-03-19 Eli Zaretskii <eliz@gnu.org>
10414
10415 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
10416 windows-nt systems.
10417 (emerge-protect-metachars): Quote correctly for ms-dos and
10418 windows-nt systems.
10419
10420 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
10421
10422 * info.el (info-initialize): Replace all uses of `:' with
10423 path-separator for compatibility with non-Unix systems.
10424 Cache quoting of path-separator. (Bug#8258)
10425
10426 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
10427
10428 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10429 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10430 (mouse-avoidance-mode): Fix typos in docstrings.
10431
10432 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
10433
10434 * startup.el (package-subdirectory-regexp): Move from package.el.
10435 Omit \\` and \\', and let callers add them.
10436
10437 * emacs-lisp/package.el (package-strip-version)
10438 (package-load-all-descriptors): Add \\` and \\' to
10439 package-subdirectory-regexp before using it.
10440 (package-untar-buffer): New arg DIR; ensure that file untars only
10441 into this expected directory. Remove superfluous delete-region.
10442 (package-unpack): Caller changed.
10443 (package-tar-file-info): Use package-subdirectory-regexp.
10444
10445 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10448 diff-mode-shared-map (bug#8284).
10449 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
10450
10451 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10452
10453 * calendar/time-date.el (format-seconds): Use assoc instead of
10454 assoc-string, since assoc-string doesn't exist in XEmacs.
10455
10456 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
10457
10458 * custom.el (custom-known-themes): Reflow docstring.
10459 (custom-theme-load-path): Fix typo in docstring.
10460 (load-theme): Fix typo in error message.
10461 (custom-available-themes, custom-variable-theme-value):
10462 Use `let', not `let*'.
10463
10464 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10465
10466 * calc/README: Mention inclusion of musical notes.
10467
10468 * calc/calc-units.el (calc-lu-quant): Rename from
10469 `calc-logunits-quantity'.
10470 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10471 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10472 (calc-db): Rename from `calc-dblevel'.
10473 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10474 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10475 (calc-np): Rename from `calc-nplevel'.
10476 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10477 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10478 (calc-lu-plus): Rename from `calc-logunits-add'.
10479 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10480 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10481 (calc-lu-minus): Rename from `calc-logunits-sub'.
10482 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10483 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10484 (calc-lu-times): Rename from `calc-logunits-mul'.
10485 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10486 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10487 (calc-lu-divide): Rename from `calc-logunits-div'.
10488 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10489 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10490
10491 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10492 functions being autoloaded.
10493
10494 * calc/calc.el (calc-lu-power-reference): Rename from
10495 `calc-logunits-power-reference'.
10496 (calc-lu-field-reference): Rename from
10497 `calc-logunits-field-reference'.
10498
10499 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10500
10501 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * minibuffer.el (completion-all-sorted-completions):
10504 Use :completion-cycle-penalty text property if present.
10505
10506 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10507
10508 * allout.el (allout-yank-processing): Adjust for new rebulleting
10509 regime so bullet being yanked is used without prompting the user
10510 for a choice.
10511
10512 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * startup.el (command-line): Warn the user that _emacs is deprecated.
10515
10516 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
10517
10518 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10519 (delphi-verbose, delphi-comment-face, delphi-string-face)
10520 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10521 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10522 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10523 (delphi-new-comment-line, delphi-font-lock-defaults)
10524 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10525 Fix typos in docstrings.
10526
10527 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10528
10529 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
10530 Invert the roles of character and string values for INSTEAD, so a
10531 string is used for the more common case of a defaulting prompt.
10532
10533 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * progmodes/ruby-mode.el (ruby-backward-sexp):
10536 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10537 * play/gamegrid.el (gamegrid-make-face):
10538 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10539 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10540 * notifications.el (notifications-notify):
10541 * net/xesam.el (xesam-search-engines):
10542 * net/quickurl.el (quickurl-list-insert):
10543 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10544
10545 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
10546
10547 * startup.el (command-line): Update package subdirectory regexp.
10548
10549 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * allout.el (allout-abbreviate-flattened-numbering)
10552 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10553
10554 * subr.el (read-char-choice): Only show the cursor after the prompt,
10555 not after the answer.
10556
10557 2011-03-15 Kevin Ryde <user42@zip.com.au>
10558
10559 * help-fns.el (variable-at-point): Skip leading quotes, if any
10560 (bug#8253).
10561
10562 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10565 warning message.
10566
10567 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
10568
10569 * shell.el (shell): When called interactively, offer to change the
10570 shell file name on remote hosts.
10571
10572 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10573
10574 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10575 integration for LDAP parameters. The host, base, user or binddn,
10576 and secret tokens can be specified in a netrc file, for instance.
10577 This is optional because an `auth-source' parameter must be
10578 specified in the search attributes.
10579
10580 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
10581
10582 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10583
10584 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10587 into declaration. Remove redundant and harmful binding.
10588
10589 2011-03-12 Eli Zaretskii <eliz@gnu.org>
10590
10591 * files.el (file-ownership-preserved-p): Pass `integer' as an
10592 explicit 2nd argument to `file-attributes'. If the file's owner
10593 is the Administrators group on Windows, and the current user is
10594 Administrator, consider that a match.
10595
10596 * server.el (server-ensure-safe-dir): Consider server directory
10597 safe on MS-Windows if its owner is the Administrators group while
10598 the current Emacs user is Administrator. Use `=' to compare
10599 numerical UIDs, since they could be integers or floats.
10600
10601 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
10602
10603 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10604
10605 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
10606
10607 Sync with Tramp 2.2.1.
10608
10609 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10610
10611 * net/trampver.el: Update release number.
10612
10613 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * progmodes/compile.el (compilation--previous-directory): Fix up
10616 various nil/dead-marker mismatches (bug#8014).
10617 (compilation-directory-properties, compilation-error-properties):
10618 Don't call it at a position past the one we're about to change.
10619
10620 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10621 Disable obsolescence warnings in the file that declares it.
10622
10623 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10624
10625 * allout-widgets.el (allout-widgets-tally):
10626 Initialize allout-widgets-tally as a hash table rather than nil to
10627 prevent mode-line redisplay warnings. Also, clarify the module
10628 description and fix a comment typo.
10629
10630 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
10631
10632 * help-fns.el (describe-variable): Don't complete keywords.
10633 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10634
10635 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
10636
10637 * emacs-lisp/package.el (package-version-join): Impose a standard
10638 string representation for pre/alpha/beta version lists.
10639 (package-unpack-single): Standardize the directory name by passing
10640 it through package-version-join.
10641 (package-strip-rcs-id): Accept any version string that does not
10642 signal an error in version-to-list.
10643
10644 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
10645
10646 * simple.el (delete-trailing-whitespace): Return nil for the
10647 benefit of `write-file-functions'.
10648
10649 2011-03-10 Glenn Morris <rgm@gnu.org>
10650
10651 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10652
10653 * vc/vc-git.el (vc-git-program): New option.
10654 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10655 (vc-git--call): Use it.
10656
10657 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10658
10659 * cus-edit.el (Custom-newline): If no button at point, look
10660 for a subgroup button at start-of-line. (Bug#2298)
10661
10662 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10663
10664 2011-03-10 Julien Danjou <julien@danjou.info>
10665
10666 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10667 `cursor-type' is nil.
10668
10669 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10670
10671 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10672
10673 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10674
10675 * allout.el Summary: Change so yank of distinctive-bullet items
10676 preserves the existing header prefix, rebulleting it if necessary,
10677 rather than replacing it. This is necessary for proper operation
10678 of cooperative addons like allout-widgets.
10679 (allout-make-topic-prefix, allout-rebullet-heading):
10680 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10681 value as alternate bullet to be used, instead of prompting the user
10682 for a bullet character.
10683
10684 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
10685
10686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10687 Do not use `tramp-file-name-port', because this returns also
10688 `tramp-default-port'.
10689
10690 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10691
10692 * net/rcirc.el (rcirc-handler-001): Remove useless
10693 with-rcirc-process-buffer.
10694 (rcirc-check-auth-status): Swap arguments to string-match.
10695
10696 2011-03-09 Glenn Morris <rgm@gnu.org>
10697
10698 * shell.el (shell-mode):
10699 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10700
10701 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10702 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10703
10704 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
10705
10706 * emacs-lisp/package.el (package-refresh-contents)
10707 (package-menu-execute): Use condition-case-no-debug.
10708
10709 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
10710
10711 * simple.el (shell-command-to-string): Use `process-file'.
10712
10713 * emacs-lisp/package.el (package-tar-file-info): Handle also
10714 remote files.
10715
10716 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10717 Use `equal' for upload base check.
10718
10719 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10720
10721 * textmodes/texinfo.el (texinfo-environments):
10722 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10723
10724 2011-03-08 Glenn Morris <rgm@gnu.org>
10725
10726 * cus-start.el (cursor-in-non-selected-windows):
10727 Fix :set quoting oddness. (Bug#8192)
10728
10729 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10730 in some setf expressions. (Bug#2159)
10731
10732 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
10733
10734 * custom.el (custom-available-themes): Return themes in
10735 alphabetical order.
10736
10737 See ChangeLog.15 for earlier changes.
10738
10739 ;; Local Variables:
10740 ;; coding: utf-8
10741 ;; End:
10742
10743 Copyright (C) 2011-2012 Free Software Foundation, Inc.
10744
10745 This file is part of GNU Emacs.
10746
10747 GNU Emacs is free software: you can redistribute it and/or modify
10748 it under the terms of the GNU General Public License as published by
10749 the Free Software Foundation, either version 3 of the License, or
10750 (at your option) any later version.
10751
10752 GNU Emacs is distributed in the hope that it will be useful,
10753 but WITHOUT ANY WARRANTY; without even the implied warranty of
10754 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10755 GNU General Public License for more details.
10756
10757 You should have received a copy of the GNU General Public License
10758 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.