]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
upstream
[gnu-emacs] / lisp / ChangeLog
1 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4
5 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6
7 * window.el (quit-window): Call unrecord-window-buffer after
8 showing another buffer in the window. (Bug#9937)
9 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10
11 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12
13 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14 Accept status with more than 9 shelves. (Bug#9935)
15 Reported by Colin D Bennett <colin@gibibit.com>.
16
17 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18
19 * help.el (with-help-window): Don't reference
20 temp-buffer-show-specifiers in doc-string.
21
22 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
23
24 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
25 menu-item.
26
27 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
28
29 * whitespace.el: New version 13.2.2.
30 (whitespace-newline-mode): Disable properly. Reported by Sarah
31 <EmacsWiki>.
32
33 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
34
35 * net/newst-treeview.el: Remove "Time-stamp".
36 (newsticker--group-manage-orphan-feeds): Do not call
37 newsticker--treeview-tree-update.
38 (newsticker-treeview-update, newsticker-treeview):
39 Call newsticker--treeview-tree-update if necessary.
40
41 2011-10-30 Martin Rudalics <rudalics@gmx.at>
42
43 * window.el (window-iso-combination-p, window-iso-combined-p)
44 (window-iso-combinations): Remove "iso-" infix.
45 Suggested by Chong Yidong.
46 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
47 (window-max-delta-1, window-resize, window--resize-siblings)
48 (window--resize-this-window, adjust-window-trailing-edge)
49 (split-window, balance-windows-1)
50 (shrink-window-if-larger-than-buffer):
51 * calendar/calendar.el (calendar-generate-window):
52 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
53
54 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
57 in place (bug#9907).
58 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
59 (eshell-rewrite-if-command, eshell-rewrite-for-command)
60 (eshell-structure-basic-command, eshell-rewrite-while-command)
61 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
62 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
63 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
64 (eshell-do-pipelines-synchronously, eshell-eval-command):
65 Use backquotes and prefer setq to set.
66 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
67 (eshell-macrop): Use functionp.
68 (eshell-do-eval): Handle multiple expressions in `while' body.
69
70 2011-10-30 Chong Yidong <cyd@gnu.org>
71
72 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
73 instead of set-mark (Bug#9810).
74
75 2011-10-30 Chong Yidong <cyd@gnu.org>
76
77 * window.el (split-window-below, split-window-right): Rename from
78 split-window-above-each-other and split-window-side-by-side
79 respectively. All callers changed.
80 (split-window-sensibly, split-window-sensibly): Use them.
81 (split-window-keep-point): Doc fix.
82
83 * isearch.el: Add isearch-scroll property to split-window-below
84 and split-window-right.
85
86 * follow.el (follow-mode):
87 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
88 * progmodes/ada-xref.el (ada-gdb-application):
89 * emulation/vip.el (vip-buffer-in-two-windows):
90 * image-dired.el (image-dired-dired-with-window-configuration):
91 * dired-x.el (dired-do-find-marked-files):
92 * dired.el (dired-pop-to-buffer):
93 * bs.el (bs--show-with-configuration):
94 * vc/emerge.el (emerge-setup-windows):
95 * textmodes/two-column.el (2C-two-columns):
96 * textmodes/reftex-toc.el (reftex-toc):
97 * progmodes/gdb-mi.el (gdb-setup-windows):
98 * progmodes/fortran.el (fortran-window-create):
99 * net/newst-treeview.el (newsticker--treeview-window-init):
100 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
101 * emulation/tpu-edt.el (tpu-gold-map):
102 * emulation/crisp.el (crisp-mode-map):
103 * calendar/calendar.el (calendar-basic-setup): Callers changed.
104
105 2011-10-29 Chong Yidong <cyd@gnu.org>
106
107 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
108
109 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
110
111 * textmodes/flyspell.el (flyspell-word): Fix char offset for
112 forged Ispell output (Bug#7904).
113
114 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
115
116 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 * doc-view.el: Avoid ugly errors about not finding nil.
119 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
120 (doc-view-dvipdf-program, doc-view-unoconv-program)
121 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
122 Avoid nil or absolute file name as default value.
123 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
124
125 2011-10-28 Alan Mackenzie <acm@muc.de>
126
127 * progmodes/cc-defs.el (c-version): -> 5.32.2.
128
129 2011-10-28 Alan Mackenzie <acm@muc.de>
130
131 Amend the handling of c-beginning/end-of-defun in nested declaration
132 scopes.
133
134 * progmodes/cc-vars.el (c-defun-tactic): Move here from
135 cc-langs.el. Change it to a defcustom.
136
137 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
138 cc-vars.el.
139 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
140
141 * progmodes/cc-engine.el (c-beginning-of-statement-1):
142 Prevent "class foo : bar" being spuriously recognized as a label.
143
144 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
145 Add parameter `inclusive' (to include enclosing braces in the region).
146 (c-widen-to-enclosing-decl-scope): New function.
147 (c-while-widening-to-decl-block): New macro.
148 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
149 outward for defun boundaries, and correspondingly change symbol
150 `respect-enclosure' to `go-outward'.
151 (c-declaration-limits): Change algorithm to report only the "innermost"
152 defun's boundaries.
153
154 2011-10-28 Deniz Dogan <deniz@dogan.se>
155
156 * net/rcirc.el (rcirc-mode): Use hard newlines.
157
158 2011-10-28 Alan Mackenzie <acm@muc.de>
159
160 Amend to indent and fontify macros "which include their own semicolon"
161 correctly, using the "virtual semicolon" mechanism.
162
163 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
164
165 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
166 Recode to scan one line at at time rather than having \n and \r
167 explicitly in c-stmt-delim-chars
168 (for some modes, e.g. AWK).
169 (c-forward-label): Amend for virtual semicolons.
170 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
171
172 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
173 of the new C macros.
174
175 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
176 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
177 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
178 (c-opt-cpp-macro-define): Make into a full language variable.
179 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
180 AWK Mode (including \n, \r) removed, no longer needed.
181
182 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
183 Invoke c-make-macro-with-semi-re.
184
185 * progmodes/cc-vars.el (c-macro-with-semi-re):
186 (c-macro-names-with-semicolon): New variables.
187 (c-make-macro-with-semi-re): New function
188
189 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * vc/log-edit.el: Fill empty field rather than adding new one.
192 (log-edit-add-field): New function.
193 (log-edit-insert-changelog): Use it.
194
195 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
196
197 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
198
199 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
202 (gdb--check-interpreter): New function.
203 (gdb): Use it.
204
205 2011-10-27 Glenn Morris <rgm@gnu.org>
206
207 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
208 (least-positive-float, least-negative-float)
209 (least-positive-normalized-float, least-negative-normalized-float)
210 (float-epsilon, float-negative-epsilon):
211 Remove unnecessary declarations.
212
213 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
214 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
215 (least-positive-float, least-negative-float)
216 (least-positive-normalized-float, least-negative-normalized-float)
217 (float-epsilon, float-negative-epsilon): Add doc-strings,
218 based on those in cl.texi.
219
220 * files.el (set-visited-file-name): If the major-mode changed,
221 reload the local variables. (Bug#9796)
222
223 2011-10-27 Chong Yidong <cyd@gnu.org>
224
225 * subr.el (change-major-mode-after-body-hook): New hook.
226 (run-mode-hooks): Run it.
227
228 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
229 Use change-major-mode-before-body-hook.
230
231 * simple.el (fundamental-mode):
232 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
233 change introducing fundamental-mode-hook.
234
235 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
236
237 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
238
239 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
240
241 * ido.el (ido-file-name-all-completions-1): Do not require
242 tramp.el explicitely. (Bug#7583)
243
244 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * progmodes/octave-mod.el:
247 * progmodes/octave-inf.el: Update maintainer.
248
249 2011-10-26 Chong Yidong <cyd@gnu.org>
250
251 * subr.el (with-wrapper-hook): Rewrite doc.
252
253 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
254
255 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
256 filenames "/method:foo:". (Bug#9793)
257
258 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
261 (bug#9865).
262
263 2011-10-24 Glenn Morris <rgm@gnu.org>
264
265 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
266
267 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
268
269 * notifications.el: Add the requirement of a running D-Bus session
270 bus to the Commentary.
271
272 2011-10-24 Juri Linkov <juri@jurta.org>
273
274 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
275 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
276 (Bug#9364)
277
278 2011-10-24 Juri Linkov <juri@jurta.org>
279
280 * info.el (Info-following-node-name-re): Add newline to the list
281 of allowed characters for leading space. (Bug#9824)
282
283 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * progmodes/octave-inf.el (inferior-octave-mode-map):
286 Fix C-c C-h binding.
287 * progmodes/octave-mod.el (octave-help): Remove.
288
289 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
290
291 Sync with Tramp 2.2.3.
292
293 * net/tramp-cache.el (top): Pacify byte-compiler using
294 `init-file-user' and `site-run-file'.
295
296 * net/trampver.el: Update release number.
297
298 2011-10-23 Chong Yidong <cyd@gnu.org>
299
300 * files.el (toggle-read-only): Remove obsolete comment about
301 version control.
302
303 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
304 for toggle-read-only. Note that this hasn't called vc-next-action
305 since 2008-05-02, though it wasn't documented at the time.
306
307 * vc/ediff-init.el (ediff-toggle-read-only-function):
308 Use toggle-read-only.
309
310 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
311
312 Fix bug #9560, sporadic wrong indentation; improve instrumentation
313 of c-parse-state.
314
315 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
316 correct faulty logical expression.
317 (c-parse-state-state, c-record-parse-state-state):
318 (c-replay-parse-state-state): New defvar/defuns.
319 (c-debug-parse-state): Use new functions.
320
321 2011-10-22 Martin Rudalics <rudalics@gmx.at>
322
323 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
324 last fix. Use window-in-direction correctly.
325
326 2011-10-21 Chong Yidong <cyd@gnu.org>
327
328 * progmodes/idlwave.el (idlwave-mode):
329 * progmodes/vera-mode.el (vera-mode): No need to set
330 require-final-newline; that's done in prog-mode.
331 Suggested by Stefan Monnier.
332
333 2011-10-21 Martin Rudalics <rudalics@gmx.at>
334
335 * mouse.el (mouse-drag-window-above)
336 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
337 (mouse-drag-mode-line-1, mouse-drag-header-line)
338 (mouse-drag-vertical-line-rightward-window): Remove.
339 (mouse-drag-line): New function.
340 (mouse-drag-mode-line, mouse-drag-header-line)
341 (mouse-drag-vertical-line): Call mouse-drag-line.
342 * window.el (window-at-side-p, windows-at-side): New functions.
343
344 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
345
346 * tar-mode.el (tar-grind-file-mode):
347 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
348
349 2011-10-21 Chong Yidong <cyd@gnu.org>
350
351 * progmodes/idlwave.el (idlwave-mode):
352 * progmodes/vera-mode.el (vera-mode):
353 Use mode-require-final-newline.
354
355 2011-10-20 Glenn Morris <rgm@gnu.org>
356
357 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
358
359 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
360
361 * emulation/cua-base.el (cua-set-mark): Fix case of string.
362
363 2011-10-20 Chong Yidong <cyd@gnu.org>
364
365 * emulation/cua-base.el (cua-mode):
366 * mail/footnote.el (footnote-mode):
367 * mail/mailabbrev.el (mail-abbrevs-mode):
368 * net/xesam.el (xesam-minor-mode):
369 * progmodes/bug-reference.el (bug-reference-mode):
370 * progmodes/cap-words.el (capitalized-words-mode):
371 * progmodes/compile.el (compilation-minor-mode)
372 (compilation-shell-minor-mode):
373 * progmodes/gud.el (gud-tooltip-mode):
374 * progmodes/hideif.el (hide-ifdef-mode):
375 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
376 * progmodes/subword.el (subword-mode):
377 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
378 * progmodes/which-func.el (which-function-mode):
379 * term/tvi970.el (tvi970-set-keypad-mode):
380 * term/vt100.el (vt100-wide-mode):
381 * textmodes/flyspell.el (flyspell-mode):
382 * textmodes/ispell.el (ispell-minor-mode):
383 * textmodes/nroff-mode.el (nroff-electric-mode):
384 * textmodes/paragraphs.el (use-hard-newlines):
385 * textmodes/refill.el (refill-mode):
386 * textmodes/reftex.el (reftex-mode):
387 * textmodes/rst.el (rst-minor-mode):
388 * textmodes/sgml-mode.el (html-autoview-mode)
389 (sgml-electric-tag-pair-mode):
390 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
391 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
392 * emulation/crisp.el (crisp-mode):
393 * emacs-lisp/eldoc.el (eldoc-mode):
394 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
395 minor mode behavior.
396
397 2011-10-19 Juri Linkov <juri@jurta.org>
398
399 * descr-text.el (describe-char): Add #x2010 and #x2011 to
400 the list of hard-coded chars with escape-glyph face.
401
402 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
405
406 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
407
408 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
409 running process.
410
411 2011-10-19 Glenn Morris <rgm@gnu.org>
412
413 * vc/vc-bzr.el (vc-bzr-after-dir-status):
414 Ignore ignored files. (Bug#9726)
415
416 2011-10-19 Chong Yidong <cyd@gnu.org>
417
418 Doc fix for minor modes, stating that an omitted argument enables
419 the mode unconditionally when called from Lisp.
420
421 * abbrev.el (abbrev-mode):
422 * allout.el (allout-mode):
423 * autoinsert.el (auto-insert-mode):
424 * autoarg.el (autoarg-mode, autoarg-kp-mode):
425 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
426 (global-auto-revert-mode):
427 * battery.el (display-battery-mode):
428 * composite.el (global-auto-composition-mode)
429 (auto-composition-mode):
430 * delsel.el (delete-selection-mode):
431 * desktop.el (desktop-save-mode):
432 * dired-x.el (dired-omit-mode):
433 * dirtrack.el (dirtrack-mode):
434 * doc-view.el (doc-view-minor-mode):
435 * double.el (double-mode):
436 * electric.el (electric-indent-mode, electric-pair-mode):
437 * emacs-lock.el (emacs-lock-mode):
438 * epa-hook.el (auto-encryption-mode):
439 * follow.el (follow-mode):
440 * font-core.el (font-lock-mode):
441 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
442 * help.el (temp-buffer-resize-mode):
443 * hilit-chg.el (highlight-changes-mode)
444 (highlight-changes-visible-mode):
445 * hi-lock.el (hi-lock-mode):
446 * hl-line.el (hl-line-mode, global-hl-line-mode):
447 * icomplete.el (icomplete-mode):
448 * ido.el (ido-everywhere):
449 * image-file.el (auto-image-file-mode):
450 * image-mode.el (image-minor-mode):
451 * iswitchb.el (iswitchb-mode):
452 * jka-cmpr-hook.el (auto-compression-mode):
453 * linum.el (linum-mode):
454 * longlines.el (longlines-mode):
455 * master.el (master-mode):
456 * mb-depth.el (minibuffer-depth-indicate-mode):
457 * menu-bar.el (menu-bar-mode):
458 * minibuf-eldef.el (minibuffer-electric-default-mode):
459 * mouse-sel.el (mouse-sel-mode):
460 * msb.el (msb-mode):
461 * mwheel.el (mouse-wheel-mode):
462 * outline.el (outline-minor-mode):
463 * paren.el (show-paren-mode):
464 * recentf.el (recentf-mode):
465 * reveal.el (reveal-mode, global-reveal-mode):
466 * rfn-eshadow.el (file-name-shadow-mode):
467 * ruler-mode.el (ruler-mode):
468 * savehist.el (savehist-mode):
469 * scroll-all.el (scroll-all-mode):
470 * scroll-bar.el (scroll-bar-mode):
471 * server.el (server-mode):
472 * shell.el (shell-dirtrack-mode):
473 * simple.el (auto-fill-mode, transient-mark-mode)
474 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
475 (line-number-mode, column-number-mode, size-indication-mode)
476 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
477 * strokes.el (strokes-mode):
478 * time.el (display-time-mode):
479 * t-mouse.el (gpm-mouse-mode):
480 * tool-bar.el (tool-bar-mode):
481 * tooltip.el (tooltip-mode):
482 * type-break.el (type-break-mode-line-message-mode)
483 (type-break-query-mode):
484 * view.el (view-mode):
485 * whitespace.el (whitespace-mode, whitespace-newline-mode)
486 (global-whitespace-mode, global-whitespace-newline-mode):
487 * xt-mouse.el (xterm-mouse-mode): Doc fix.
488
489 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
490 Fix autogenerated docstring.
491
492 2011-10-19 Juri Linkov <juri@jurta.org>
493
494 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
495 by checking environment variables "DESKTOP_SESSION" and
496 "XDG_CURRENT_DESKTOP". (Bug#9779)
497
498 2011-10-19 Juri Linkov <juri@jurta.org>
499
500 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
501 (browse-url-chromium-program, browse-url-chromium-arguments):
502 New defcustoms.
503 (browse-url-default-browser): Check for `browse-url-chromium' and
504 call `browse-url-chromium-program'.
505 (browse-url-chromium): New command. (Bug#9779)
506
507 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
508
509 * facemenu.el (list-colors-duplicates): On Windows, detect more
510 duplicates by assuming that only colors matching "^System" are
511 special "system colors". (Bug#9722)
512
513 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
516 to distinguish the author from the committer.
517
518 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
521
522 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
523
524 * international/mule.el (sgml-html-meta-auto-coding-function):
525 Add support for detecting encoding in HTML5 specified only as
526 <meta charset="UTF-8">. Implementation just makes http-equiv and
527 content-type parts from HTML4 encoding string optional. (Bug#9716)
528
529 2011-10-18 Glenn Morris <rgm@gnu.org>
530
531 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
532
533 2011-10-18 Chong Yidong <cyd@gnu.org>
534
535 * faces.el (cursor): Doc fix.
536
537 2011-10-17 Chong Yidong <cyd@gnu.org>
538
539 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
540
541 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
542
543 * dirtrack.el (dirtrack): Support shell buffers with path
544 prefixes, e.g. tramp-based remote shells. (Bug#9647)
545
546 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
547
548 * json.el: Bump version to 1.3 and note change in History.
549 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
550
551 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * comint.el (comint-insert-input, comint-send-input)
554 (comint-get-old-input-default, comint-backward-matching-input)
555 (comint-next-prompt): Use nil instead of `input' for field property of
556 past user input (bug#114).
557
558 * minibuffer.el (completion--replace): Inherit surrounding properties
559 (bug#114).
560 (minibuffer-complete-and-exit): Use it.
561
562 * comint.el (comint--table-subvert): Quote the all-completions output
563 (bug#9160).
564
565 2011-10-17 Martin Rudalics <rudalics@gmx.at>
566
567 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
568
569 * menu-bar.el (menu-bar-file-menu): Add entry for making new
570 window on right of selected. (Bug#9350) Reword other window
571 entries and separate them from frame entries.
572
573 2011-10-15 Glenn Morris <rgm@gnu.org>
574
575 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
576 Doc fixes.
577
578 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
579
580 * net/network-stream.el (network-stream-open-starttls):
581 Improve detection of failure due to lack of TLS support.
582
583 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
584 putting the input text in front and in bold.
585
586 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
589
590 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
591 empty buffer.
592
593 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
594 unread-command-events rather than pushing yet-another event.
595
596 2011-10-14 Eli Zaretskii <eliz@gnu.org>
597
598 * mail/sendmail.el (sendmail-query-once): Improve the wording of
599 the explanation of the possible choices. Make the options passed
600 to completing-read shorter.
601
602 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
603
604 * textmodes/flyspell.el (flyspell-large-region): Make sure
605 extended character mode is used if defined (Bug#1339).
606
607 2011-10-13 Eli Zaretskii <eliz@gnu.org>
608
609 * simple.el (what-cursor-position): Fix the display of the
610 character info for LRE, LRO, RLE, and RLO characters by appending
611 an invisible PDF.
612
613 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
616 even in case of error; add debug spec; simplify data flow.
617 (with-timeout-handler): Remove.
618
619 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
620
621 Fix Bug#6019, Bug#9315.
622
623 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
624 complete `buffer-file-name', the local file name part could look
625 remotely (for example on VMS).
626
627 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
628 `tramp-run-real-handler'.
629 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
630 already quoted by '"'.
631
632 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
633 Let `file-name-handler-alist' be nil, the local file name part
634 could look remotely (for example on VMS).
635
636 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
639 from here...
640 (flyspell-post-command-hook): ...to here.
641
642 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
645 if not needed.
646 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
647 using completion. Protect against "slow" callers.
648 Remove the "message hack".
649
650 2011-10-11 Juri Linkov <juri@jurta.org>
651
652 * isearch.el (isearch-lazy-highlight-word): New variable.
653 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
654 Use it. (Bug#9727)
655
656 2011-10-11 Glenn Morris <rgm@gnu.org>
657
658 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
659 like f90-previous-statement does.
660
661 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
662
663 * eshell/eshell.el (eshell-command): History should be saved
664 only in interactive use, to avoid error.
665
666 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * minibuffer.el (completion-file-name-table): Fix last change,
669 i.e. ignore normal errors but not the other ones.
670
671 2011-10-10 Martin Rudalics <rudalics@gmx.at>
672
673 * window.el (special-display-buffer-names)
674 (special-display-regexps): Remove some remnants of earlier
675 changes from doc-strings.
676 (quit-windows-on): New function.
677
678 * vc/vc.el (vc-revert, vc-rollback):
679 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
680 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
681 (Bug#6183) (Bug#7074) (Bug#7447)
682
683 2011-10-09 Martin Rudalics <rudalics@gmx.at>
684
685 * window.el (frame-auto-hide-function): Add version tag.
686 (Bug#9699)
687
688 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
689
690 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
691 condition.
692
693 2011-10-09 Leo Liu <sdl.web@gmail.com>
694
695 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
696 (Bug#9701)
697
698 2011-10-08 Glenn Morris <rgm@gnu.org>
699
700 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
701 before the first code statement zero indent. (Bug#9690)
702
703 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
704
705 * simple.el (count-words-region): Always count in the region.
706 Report the number of lines and characters too.
707 (count-words): New command, which counts in the buffer if the
708 region is inactive, as count-words-region used to.
709 (count-words--message): New function. Handle plurals.
710 (count-lines-region): Make it an alias for count-words-region.
711
712 * bindings.el (esc-map): Replace count-lines-region with
713 count-words-region.
714
715 2011-10-08 Martin Rudalics <rudalics@gmx.at>
716
717 * window.el (window--delete): Delete dedicated frame
718 unconditionally when argument KILL is non-nil. (Bug#9699)
719 (switch-to-buffer): Fix doc-string typo.
720
721 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
722
723 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
724
725 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
726
727 * bindings.el ([M-left],[M-right]): Bind to left-word and
728 right-word respectively.
729
730 2011-10-07 Glenn Morris <rgm@gnu.org>
731
732 * cus-start.el (debug-on-quit): Fix custom type.
733
734 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
735
736 * subr.el (define-key-after): Clarify that the function is not
737 useful for non-menu keymaps.
738
739 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
740
741 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
742
743 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
744 in current minibuffer (Fix bug with recursive minibuffers).
745
746 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
747
748 * progmodes/gdb-mi.el (gdb): Doc fix.
749
750 2011-10-05 Martin Rudalics <rudalics@gmx.at>
751
752 * window.el (frame-auto-hide-function): New option replacing
753 frame-auto-delete. Suggested by Stefan Monnier.
754 (window--delete): Call frame-auto-hide-function instead of
755 investigating frame-auto-delete.
756 (window-point-1, set-window-point-1): New functions.
757 (window-in-direction, record-window-buffer, window-state-get-1)
758 (display-buffer-record-window): Use window-point-1 instead of
759 window-point.
760 (set-window-buffer-start-and-point): Use set-window-point-1.
761
762 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
765
766 2011-10-05 Glenn Morris <rgm@gnu.org>
767
768 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
769 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
770
771 2011-10-05 Leo Liu <sdl.web@gmail.com>
772
773 * subr.el (read-char-choice): Fix argument to buffer-live-p which
774 works with buffer object.
775
776 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * mpc.el (mpc-tool-bar-map): Add labels.
779
780 2011-10-04 Glenn Morris <rgm@gnu.org>
781
782 * calendar/holidays.el (calendar-check-holidays): Doc fix.
783
784 2011-10-04 Martin Rudalics <rudalics@gmx.at>
785
786 * window.el (window--delete): New function.
787 (frame-auto-delete): Resuscitate option.
788 (bury-buffer, replace-buffer-in-windows)
789 (quit-window): Rewrite using window--delete.
790 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
791 Pass display-buffer-mark-dedicated to window--display-buffer-2
792 (Bug#9639).
793
794 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
797 returns a list (bug#9554). Add remote file name completion.
798 * comint.el (comint--table-subvert): Curry and get quote&unquote
799 functions as arguments.
800 (comint--complete-file-name-data): Adjust call accordingly.
801 * pcomplete.el (pcomplete--table-subvert): Remove.
802 (pcomplete-completions-at-point): Use comint--table-subvert instead.
803
804 * minibuffer.el (completion-table-case-fold): Use currying.
805 (completion--styles-type, completion--cycling-threshold-type):
806 New constants.
807 (completion-styles, completion-category-overrides)
808 (completion-cycle-threshold): Use them.
809 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
810 completion-table-case-fold.
811
812 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
813
814 * minibuffer.el (completion-category-overrides): Fix type of styles
815 and add more user friendly tags (bug#9660).
816
817 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
820 (mule-input-method-string): New widget.
821 (default-input-method, language-info-custom-alist): Use it.
822
823 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * pcomplete.el: Require comint.
826 (pcomplete--common-suffix): Remove.
827 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
828 (pcomplete--table-subvert): Sync with comint--table-subvert.
829 (pcomplete--entries): Use comint-completion-file-name-table.
830 * comint.el (comint-unquote-filename): Simplify.
831 (comint-completion-file-name-table): New function (bug#9616).
832 (comint--complete-file-name-data): Use it.
833
834 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
835 (pcmpl-gnu-tar-buffer): Remove.
836 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
837 around. Make sure pcomplete-suffix-list is only changed temporarily.
838 Don't look inside the tar's file if it's too large.
839
840 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
841
842 * cus-edit.el (custom-mode-map):
843 * epa.el (epa-key-list-mode-map):
844 * man.el (Man-mode-map):
845 * startup.el (splash-screen-keymap):
846 * simple.el (special-mode-map): Use scroll-up-command and
847 scroll-down-command.
848
849 * progmodes/idlw-help.el (idlwave-help-mode-map):
850 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
851 * net/newst-plainview.el (newsticker-mode-map):
852 * emulation/ws-mode.el (wordstar-mode-map):
853 * emulation/vi.el (vi-com-map):
854 * calc/calc-graph.el (calc-graph-show-dumb):
855 * term/sun.el (terminal-init-sun):
856 * term/ns-win.el (global-map):
857 * progmodes/grep.el (grep-mode-map):
858 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
859 * mail/rmail.el (rmail-mode-map):
860 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
861
862 * custom.el (custom-safe-themes, load-theme): Treat value of t for
863 custom-safe-themes as special.
864
865 2011-10-01 Julien Danjou <julien@danjou.info>
866
867 * notifications.el (notifications-notify): Fix docstring.
868
869 2011-10-01 Per Starbäck <per@starback.se>
870
871 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
872
873 2011-09-30 Martin Rudalics <rudalics@gmx.at>
874
875 * startup.el (command-line-1): Fix last fix by inserting
876 initial-scratch-message into *scratch* before displaying it.
877 (Bug#9605) and (Bug#9636)
878
879 2011-09-29 Eli Zaretskii <eliz@gnu.org>
880
881 * simple.el (line-move): If auto-hscroll-mode is disabled and the
882 window is hscrolled, move by logical lines. (Bug#9607)
883 (line-move-visual): Update the doc string to the above effect.
884
885 2011-09-29 Martin Rudalics <rudalics@gmx.at>
886
887 * window.el (display-buffer-record-window): When WINDOW is the
888 selected window use `point' instead of `window-point'. (Bug#9626)
889
890 * startup.el (command-line-1): Use insert-before-markers when
891 inserting initial-scratch-message. (Bug#9605)
892
893 * help.el (help-window): Remove variable.
894
895 2011-09-29 Glenn Morris <rgm@gnu.org>
896
897 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
898
899 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
900
901 * descr-text.el (describe-char-categories): Accept category
902 descriptions more than one line long.
903
904 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * simple.el (delete-trailing-whitespace): Fix last change.
907
908 * progmodes/perl-mode.el (perl-syntax-propertize-function):
909 Don't confuse "y => 3" as the beginning of a `y' operation.
910
911 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
912 object has more than 4 slots (bug#9613).
913
914 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
915
916 * subr.el (with-output-to-temp-buffer):
917 * net/quickurl.el (quickurl, quickurl-browse-url):
918 Fix typos in docstrings.
919
920 2011-09-27 Eli Zaretskii <eliz@gnu.org>
921
922 * minibuffer.el (completion-styles)
923 (completion-category-overrides): Cross reference each other in doc
924 strings.
925
926 2011-09-27 Glenn Morris <rgm@gnu.org>
927
928 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
929 to split-string. (Bug#9606)
930
931 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
932
933 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
934 (bug#9615).
935
936 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
937
938 * emacs-lisp/package.el (list-packages): Fix echo area message.
939
940 2011-09-27 Leo Liu <sdl.web@gmail.com>
941
942 * ido.el (ido-read-internal): Accept cons cell HIST arg.
943
944 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
945
946 * net/dbus.el (dbus-unregister-object): Don't release services for
947 registered signals. (Bug#9581)
948
949 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
950
951 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
952 function that picks between cfengine 2 and 3 support
953 automatically. Update docs accordingly.
954
955 2011-09-22 Kenichi Handa <handa@m17n.org>
956
957 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
958 ZERO.
959 (indian-itrans-v5-table-for-tamil): New variable.
960 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
961
962 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
963
964 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
965 that's true if the current command involved collapsing of text.
966 It's reset to false at the beginning of the next command.
967 (allout-post-command-business): Move the cursor to the beginning
968 of entry if the cursor is hidden and collapsing activity just
969 happened.
970
971 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
972
973 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
974 tracking (Bug#9541).
975
976 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
977
978 * net/newst-reader.el (newsticker-html-renderer)
979 (newsticker-show-news): Automatically
980 load html rendering package if newsticker-html-renderer is set.
981 Fixes "Warning: defvar ignored because w3m-fill-column is
982 let-bound" and the error "Symbol's value as variable is void:
983 w3m-fill-column".
984
985 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
986
987 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
988 Release services only if they are defined. (Bug#9581)
989
990 2011-09-23 Richard Stallman <rms@gnu.org>
991
992 * textmodes/paragraphs.el (forward-sentence): For backwards case,
993 distinguish start of paragraph from start of its text.
994
995 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
996
997 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
998 (rmail-generate-viewer-buffer): Put that hook on view buffer.
999 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1000
1001 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1002
1003 * international/mule-diag.el (mule-diag): Insert a newline after
1004 each fontset description.
1005
1006 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * simple.el (delete-trailing-whitespace):
1009 Document last change; simplify.
1010
1011 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1012
1013 * simple.el (delete-trailing-whitespace): Also delete
1014 extra newlines at the end of the buffer.
1015
1016 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1017 (picture-newline): Use forward-line so as to ignore fields.
1018
1019 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * subr.el (with-wrapper-hook): Fix edebug spec.
1022
1023 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1024
1025 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1026 (bug#4538).
1027
1028 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
1029
1030 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1031 Fix nasty bug using wrong cached values.
1032
1033 2011-09-23 Alan Mackenzie <acm@muc.de>
1034
1035 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1036
1037 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
1038
1039 * window.el (pop-to-buffer): Ensure right window is selected if we
1040 chose another frame.
1041
1042 2011-09-22 Eli Zaretskii <eliz@gnu.org>
1043
1044 * simple.el (what-cursor-position): Use get-char-property-change
1045 and next-single-char-property-change, to be able to show display
1046 properties that come from overlays as well as text properties.
1047
1048 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
1049
1050 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1051
1052 * cmuscheme.el (run-scheme, switch-to-scheme):
1053 * cus-edit.el (customize-group, custom-buffer-create)
1054 (customize-browse):
1055 * info.el (info):
1056 * shell.el (shell):
1057 * mail/sendmail.el (mail):
1058 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1059
1060 2011-09-22 Richard Stallman <rms@gnu.org>
1061
1062 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1063 move back only to line beg, don't move back over blank lines.
1064
1065 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
1066
1067 * files.el (copy-directory): Set directory attributes only in case
1068 they could be retrieved from the source directory. (Bug#9565)
1069
1070 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1071
1072 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1073 (hs-find-block-beginning, hs-hide-level-recursive):
1074 Ignore strings as well as comments. (Bug#9502)
1075
1076 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1077
1078 * progmodes/sql.el (sql-comint-postgres):
1079 Convert port number to a string. (Bug#9566)
1080
1081 2011-09-22 Martin Rudalics <rudalics@gmx.at>
1082
1083 * window.el (quit-window): Undedicate window when switching to
1084 previous buffer. Reported by Thierry Volpiatto
1085 <thierry.volpiatto@gmail.com>.
1086 (special-display-popup-frame): When popping up a new frame reset
1087 its previous buffers to nil. Simplify code.
1088
1089 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
1090
1091 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1092 and process filter, as done also in `shell-command'.
1093
1094 2011-09-21 Martin Rudalics <rudalics@gmx.at>
1095
1096 * window.el (set-window-buffer-start-and-point):
1097 Call set-window-start with NOFORCE argument t. Suggested by Thierry
1098 Volpiatto <thierry.volpiatto@gmail.com>.
1099 (quit-window): Reword doc-string. Handle new format of
1100 quit-restore parameter. Don't delete window if it has a
1101 previous buffer we can show instead of the present one.
1102 (display-buffer-record-window): Rewrite using a new format for
1103 the quit-restore window parameter
1104 (special-display-popup-frame, display-buffer-same-window)
1105 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1106 (display-buffer-pop-up-window, display-buffer-use-some-window):
1107 Adapt symbol passed to display-buffer-record-window.
1108 * help.el (help-window-setup): Handle new format of quit-restore
1109 parameter.
1110
1111 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * faces.el (face-list): Fix docstring (bug#9564).
1114
1115 * window.el (display-buffer--action-function-custom-type):
1116 Don't include internal functions in the Custom interface.
1117
1118 2011-09-20 Juri Linkov <juri@jurta.org>
1119
1120 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1121 (Info-forward-node, Info-backward-node, Info-next-preorder)
1122 (Info-last-preorder): Use it. (Bug#9528)
1123
1124 2011-09-20 Juri Linkov <juri@jurta.org>
1125
1126 * info.el (Info-last-preorder): Visit last menu item only when
1127 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1128
1129 2011-09-20 Julien Danjou <julien@danjou.info>
1130
1131 * password-cache.el (password-cache-remove): Remove entries even if the
1132 value is nil, so that password with a nil value (negative caching) is
1133 possible to invalidate.
1134
1135 2011-09-20 Lawrence Mitchell <wence@gmx.li>
1136
1137 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1138 all whitespace around breakpoint. (Bug#9553)
1139 (f90-find-breakpoint): Only break at whitespace inside a comment.
1140
1141 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * minibuffer.el (completion-file-name-table): Keep track of errors.
1144 (completion-table-with-predicate): Handle the case where pred1 is nil.
1145 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1146
1147 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1150 (debugger-return-value): Signal an error if the debugging context does
1151 not await any return value.
1152
1153 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1154 * image-mode.el (image-toggle-display-text)
1155 (image-toggle-display-image): Stay away from evil `intangible'.
1156
1157 2011-09-19 Leo Liu <sdl.web@gmail.com>
1158
1159 * replace.el (occur-revert-arguments): Make it permanent-local.
1160 (occur-mode): Don't call font-lock-defontify.
1161
1162 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
1163
1164 * net/ldap.el (ldap-search-internal): Don't push empty search
1165 result (Bug#9508).
1166
1167 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1170
1171 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
1172
1173 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1174 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1175
1176 2011-09-18 Juri Linkov <juri@jurta.org>
1177
1178 * buff-menu.el (Buffer-menu-mode-map):
1179 * dired.el (dired-mode-map):
1180 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1181 (lisp-interaction-mode-map):
1182 * emacs-lisp/package.el (package-menu-mode-map):
1183 * epa.el (epa-key-list-mode-map):
1184 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1185 (menu-bar-options-menu):
1186 * outline.el (outline-mode-menu-bar-map):
1187 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1188 * vc/vc-dir.el (vc-dir-menu-map):
1189 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1190 Capitalize non-function content words in menu item strings.
1191
1192 * dired.el (dired-mode-map): Add menu item for
1193 `image-dired-dired-toggle-marked-thumbs'.
1194
1195 2011-09-18 Juri Linkov <juri@jurta.org>
1196
1197 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1198 to `isearch-case-fold-search' and restore its original value
1199 after the `isearch-mode' call.
1200
1201 2011-09-18 Juri Linkov <juri@jurta.org>
1202
1203 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1204 because `zgrep' returns 1 for successful matches (bug#9226).
1205
1206 2011-09-18 Juri Linkov <juri@jurta.org>
1207
1208 * info.el (Info-extract-menu-node-name): Check the second match
1209 for empty string (second test-case of bug#9528).
1210 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1211 intermediate nodes to the history (first test-case of bug#9528).
1212
1213 2011-09-18 Juri Linkov <juri@jurta.org>
1214
1215 * info.el (Info-mode-syntax-table): New variable.
1216 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1217
1218 2011-09-18 Juri Linkov <juri@jurta.org>
1219
1220 * info.el (Info-file-supports-index-cookies): Increment
1221 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1222 one more line for long file names (bug#4142).
1223
1224 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
1225
1226 * newcomment.el (comment-normalize-vars): If prompting for
1227 comment-start, set comment-start-skip too (Bug#8424).
1228
1229 2011-09-18 Johan Bockgård <bojohan@gnu.org>
1230
1231 * icomplete.el: Fix previous fix of Bug#5849.
1232 (icomplete-mode): Don't set completion-show-inline-help.
1233 (icomplete-minibuffer-setup): Set completion-show-inline-help
1234 locally during icompletion.
1235
1236 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
1237
1238 * woman.el (woman2-process-escapes): Don't delete unrecognized
1239 escapes (Bug#7843).
1240
1241 * files.el (inhibit-first-line-modes-regexps): Add image files.
1242 (hack-local-variables-prop-line): Return nil for malformed
1243 prop-lines (Bug#9044).
1244
1245 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
1246
1247 * net/tramp.el (top): Don't require 'shell.
1248 (tramp-methods): Fix docstring.
1249 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
1250 Return complete remote file name. Handle "smb" case.
1251 Use `tramp-tmpdir', if defined for the respective method.
1252 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1253
1254 * net/tramp-compat.el (top): Require 'shell.
1255
1256 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1257 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1258 `tramp-current-host'.
1259 (tramp-get-remote-tmpdir): Remove.
1260
1261 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1262 `tramp-tmpdir' entries.
1263 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1264 (tramp-smb-handle-file-attributes): Ignore errors.
1265 (tramp-smb-wait-for-output): Check also for process end.
1266
1267 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1268
1269 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1270 when sending QUIT (bug#9312).
1271
1272 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
1273
1274 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1275 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1276 occur-mode-display-occurrence.
1277 (occur-edit-mode): Add usage message.
1278 (occur-cease-edit): New command.
1279 (occur-after-change-function): Use text properties to find the
1280 position of the prefix text.
1281 (occur-engine): Set stickiness of prefix text properties.
1282
1283 2011-09-17 Glenn Morris <rgm@gnu.org>
1284
1285 * progmodes/etags.el (complete-tag):
1286 Fix call to completion-in-region. (Bug#9526)
1287
1288 2011-09-17 Juri Linkov <juri@jurta.org>
1289
1290 * textmodes/ispell.el (ispell-word): Add to the error message
1291 the word, ispell program name and current dictionary (bug#9121).
1292 (ispell-tex-arg-end): Capitalize "error" in the error message.
1293
1294 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1297 check. (Bug#4251)
1298
1299 2011-09-17 Juri Linkov <juri@jurta.org>
1300
1301 * window.el (window-safe-min-height, window-safe-min-width):
1302 Fix typos (followup to bug#9522).
1303
1304 2011-09-17 Sven Joachim <svenjoac@gmx.de>
1305
1306 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1307
1308 2011-09-16 Eli Zaretskii <eliz@gnu.org>
1309
1310 * simple.el (line-move): If goal-column is set, move by logical
1311 lines, not by display lines. (Bug#971)
1312 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1313 to reflect the above change.
1314
1315 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * image.el (imagemagick-register-types): Use regexp-opt.
1318
1319 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
1320
1321 * window.el (display-buffer-base-action): Rename from
1322 display-buffer-default-action. Make default value empty.
1323 (display-buffer-overriding-action): Convert to defvar.
1324 (display-buffer-fallback-action): New var.
1325
1326 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
1327
1328 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1329 declaration.
1330 (package--add-to-archive-contents): If there is a duplicate entry
1331 with an older version, remove it.
1332 (package-menu-mark-delete, package-menu-mark-install)
1333 (package-menu-mark-unmark): Make unused args optional.
1334 (package-menu-mark-obsolete-for-deletion):
1335 Use package-menu-get-status instead of a regexp search.
1336 (package-menu-get-status): Use tabulated-list-entry.
1337 (package-menu-mark-upgrades): New command.
1338 (package-menu-mode-map): Bind it to U. Add it to menu bar.
1339 (package-menu-execute): Do installation before deletion.
1340 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1341 instead of checking major-mode.
1342 (package-menu--find-upgrades): New function.
1343
1344 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1345
1346 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1347 passwords in the log buffer.
1348 (smtpmail-process-filter): Update the process marker so that the
1349 "broken by peer" status message is inserted in the right place.
1350
1351 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1354 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1355 bibtex-completion-at-point-function.
1356 (bibtex-completion-at-point-function): Use them.
1357
1358 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1359
1360 * mpc.el (mpc-constraints-tag-lookup): New function.
1361 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1362 also to browser "album|playlist".
1363
1364 2011-09-14 Juri Linkov <juri@jurta.org>
1365
1366 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1367 (isearch-edit-string): Use length of `isearch-string' when
1368 `isearch-fail-pos' returns nil.
1369 (isearch-message): Remove duplicate code and call
1370 `isearch-fail-pos' with arg `t'.
1371
1372 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
1373
1374 * replace.el (occur-mode-goto-occurrence): Don't force using other
1375 window (Bug#9499).
1376
1377 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1378
1379 2011-09-14 Martin Rudalics <rudalics@gmx.at>
1380
1381 * window.el (display-buffer-window): Remove.
1382 (display-buffer-record-window): Use help-setup window parameter
1383 instead of variable display-buffer-window.
1384 (display-buffer-function, special-display-buffer-names)
1385 (special-display-function): Mention help-setup parameter instead
1386 of display-buffer-window in doc-string.
1387 * help.el (help-window-setup): New argument help-window.
1388 Use help-window-setup parameter instead of display-buffer-window.
1389 Reword some messages.
1390 (with-help-window): Pass window used for displaying the buffer
1391 to help-window-setup. Don't set display-buffer-window.
1392
1393 2011-09-13 Glenn Morris <rgm@gnu.org>
1394
1395 * emacs-lisp/debug.el (debugger-make-xrefs):
1396 Preserve point. (Bug#9462)
1397
1398 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
1399
1400 * window.el (window-deletable-p): Use next-frame.
1401
1402 2011-09-13 Martin Rudalics <rudalics@gmx.at>
1403
1404 * window.el (window-auto-delete): Remove.
1405 (window-deletable-p): Remove argument FORCE. Don't deal with
1406 dedicatedness and previous buffers.
1407 (switch-to-prev-buffer): Don't delete window.
1408 (delete-windows-on): Delete a window's frame if and only if the
1409 window is dedicated.
1410 (replace-buffer-in-windows): Delete buffer's window or frame if
1411 and only if window is dedicated.
1412 (quit-window): Handle quit-restore as before last change.
1413 (bury-buffer): Delete window only if window-deletable-p returns t.
1414
1415 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
1416
1417 * window.el (window-deletable-p): Never delete the last frame on a
1418 given terminal.
1419
1420 2011-09-13 Glenn Morris <rgm@gnu.org>
1421
1422 * help.el (describe-key-briefly): Copy previous standard-output change.
1423
1424 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
1425
1426 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1427
1428 2011-09-13 Glenn Morris <rgm@gnu.org>
1429
1430 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1431 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1432
1433 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
1434
1435 * dired-aux.el (dired-mark-read-string): Don't return default
1436 value on empty input (Bug#9361).
1437 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1438 Omit initial minibuffer contents.
1439 (dired-do-chmod): Signal an error on empty input.
1440 (dired-mark-read-string): Don't return default on empty input.
1441
1442 * files.el (file-modes-symbolic-to-number): Doc fix.
1443
1444 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * international/mule-cmds.el (ucs-completions): Remove.
1447 (read-char-by-name): Use complete-with-action instead; add metadata.
1448
1449 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
1450
1451 * window.el (display-buffer--action-function-custom-type)
1452 (display-buffer--action-custom-type): New vars.
1453 (display-buffer-alist, display-buffer-default-action)
1454 (display-buffer-overriding-action): Add defcustom types.
1455
1456 * frame.el (delete-other-frames): Doc fix (Bug#276).
1457
1458 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1459
1460 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1461
1462 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
1463
1464 Change modes that used same-window-* vars to use switch-to-buffer.
1465
1466 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1467 Use switch-to-buffer.
1468
1469 * cus-edit.el (customize-group, custom-buffer-create)
1470 (customize-browse, custom-buffer-create-other-window):
1471 Use switch-to-buffer or switch-to-buffer-other-window.
1472
1473 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1474 (Info-prev, Info-up, Info-speedbar-goto-node)
1475 (info-display-manual): Use switch-to-buffer.
1476 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1477
1478 * mail/sendmail.el (mail): Use switch-to-buffer.
1479 (mail-recover): Use switch-to-buffer-other-window.
1480
1481 * cmuscheme.el (run-scheme, switch-to-scheme):
1482 * ielm.el (ielm):
1483 * shell.el (shell):
1484 * net/rlogin.el (rlogin):
1485 * net/telnet.el (telnet, rsh):
1486 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1487
1488 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1489
1490 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1491
1492 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1493
1494 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1495 so don't mention it (bug#9301).
1496 (dired-sort-toggle-or-edit): Clarify string further.
1497
1498 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1499 match `x', `w32' and `ns', like the manual says (bug#9029).
1500
1501 * subr.el (eval-after-load): Doc string clarification (bug#9125).
1502 (process-kill-buffer-query-function): Mention the buffer name in
1503 the query.
1504
1505 * image-mode.el (image-next-line): The line parameter is mandatory
1506 (bug#9258).
1507
1508 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1509 which can be useful (bug#9301).
1510
1511 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1512
1513 * subr.el (match-string): Mention that the current buffer should
1514 be the same as the search was done in (bug#9282).
1515
1516 * facemenu.el: Disable the remove-* commands if the mark isn't
1517 active (bug#9162).
1518
1519 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
1520
1521 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1522 of display-buffer.
1523 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1524
1525 * replace.el (occur-mode-goto-occurrence)
1526 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1527 and display-buffer.
1528
1529 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1530 display-buffer.
1531
1532 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1533 special-display and same-window variables.
1534 (mail-other-window): Use switch-to-buffer-other-window.
1535 (mail-other-frame): USe switch-to-buffer-other-frame.
1536
1537 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1538 Use display-buffer-other-frame.
1539 (gdb-display-gdb-buffer): Use pop-to-buffer.
1540
1541 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1542
1543 * progmodes/python.el: Don't set same-window-buffer-names.
1544
1545 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1546
1547 * window.el (display-buffer-alist): Add *Python*.
1548
1549 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
1550
1551 * window.el (display-buffer-alist): Add entry for buffers
1552 previously handled same-window-*.
1553 (display-buffer-alist, display-buffer-default-action)
1554 (display-buffer-overriding-action): Mark as risky.
1555 (display-buffer-alist): Document action function changes.
1556 (display-buffer--same-window-action)
1557 (display-buffer--other-frame-action): New variables.
1558 (switch-to-buffer, display-buffer-other-frame): Use them.
1559 (display-buffer): Rename reuse-frame entry to reusable-frames.
1560 (display-buffer-reuse-selected-window): Function deleted.
1561 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1562 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1563 (display-buffer-special): New function.
1564 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1565 display-buffer-reuse-or-pop-window. Split off special-display
1566 part into display-buffer-special.
1567 (display-buffer-use-some-window): Don't perform any special
1568 pop-up-frames handling.
1569 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
1570 (display-buffer--maybe-same-window): Rename from
1571 display-buffer-maybe-same-window.
1572
1573 * info.el: Don't set same-window-regexps.
1574 (info-setup): New function.
1575 (info-other-window, info): Call it.
1576
1577 * cus-edit.el: Don't set same-window-regexps.
1578 (customize-group): New argument.
1579 (customize-group-other-window): Use it.
1580 (customize-face, customize-face-other-window): Likewise.
1581 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1582
1583 * net/rlogin.el:
1584 * net/telnet.el:
1585 * progmodes/gud.el: Don't set same-window-regexps.
1586
1587 * cmuscheme.el:
1588 * ielm.el:
1589 * shell.el:
1590 * mail/sendmail.el:
1591 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1592
1593 2011-09-10 Juri Linkov <juri@jurta.org>
1594
1595 * isearch.el (isearch-edit-string): Remove obsolete mention of
1596 `C-w' (`isearch-yank-word-or-char') from docstring.
1597 (isearch-query-replace): Fix typo in docstring (bug#9466).
1598
1599 2011-09-10 Juri Linkov <juri@jurta.org>
1600
1601 * paren.el (show-paren-function): Don't show escaped parens.
1602 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1603
1604 2011-09-10 Eli Zaretskii <eliz@gnu.org>
1605
1606 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1607 (mm-default-file-encoding): Remove autoload forms, they are
1608 replaced with autoload cookies in mml.el and mm-encode.el.
1609 (mail-add-attachment): New command.
1610 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1611 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1612 the doc string.
1613 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1614
1615 2011-09-10 Reuben Thomas <rrt@sc3d.org>
1616
1617 * simple.el (count-words-region): Use buffer if there's no region
1618 (bug#9429).
1619
1620 2011-09-09 Juri Linkov <juri@jurta.org>
1621
1622 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1623 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1624 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1625
1626 2011-09-09 Alan Mackenzie <acm@muc.de>
1627
1628 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1629 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1630
1631 2011-09-09 Eli Zaretskii <eliz@gnu.org>
1632
1633 Fix for Savannah bug#9392.
1634 * simple.el (mail-encode-mml): New defvar.
1635
1636 * mail/rmail.el (mail-encode-mml): Add a defvar.
1637 (rmail-enable-mime-composing): Default to t.
1638 (rmail-forward): Use MIME method of forwarding only if both
1639 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1640 Set mail-encode-mml non-nil if the MIME method was used.
1641
1642 * mail/sendmail.el (mml-to-mime): Add autoload form.
1643 (mail-encode-mml): Add a defvar.
1644 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1645 to nil.
1646 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1647 message through mml-to-mime, and reset mail-encode-mml to nil.
1648
1649 2011-09-09 Glenn Morris <rgm@gnu.org>
1650
1651 * woman.el (woman-if-body): When processing an .el block,
1652 do not delete the next .el block as well. (Bug#9447)
1653 (woman-special-characters): Add oq, cq, and hy characters.
1654
1655 2011-09-08 Martin Rudalics <rudalics@gmx.at>
1656
1657 * window.el (window-deletable-p): Make sure window is live before
1658 invoking window-prev-buffers.
1659
1660 2011-09-08 Leo Liu <sdl.web@gmail.com>
1661
1662 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1663
1664 2011-09-08 Juri Linkov <juri@jurta.org>
1665
1666 * progmodes/compile.el (compilation-environment): Make it
1667 a defcustom (bug#8340).
1668
1669 2011-09-08 Martin Rudalics <rudalics@gmx.at>
1670
1671 * window.el (frame-auto-delete): Rename to window-auto-delete.
1672 Make it control auto-deletion of windows and/or frames.
1673 (window-deletable-p): New argument FORCE. Rewrite conditions
1674 for deleting window/frame. (Bug#9419)
1675 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1676 Rewrite handling of case when window/frame can be deleted.
1677 (delete-windows-on): Call window-deletable-p with new FORCE
1678 argument t. (Bug#9456)
1679
1680 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
1681
1682 * help-mode.el (help-mode): Restore autoload.
1683
1684 2011-09-07 Juri Linkov <juri@jurta.org>
1685
1686 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1687 `compilation-environment'. Set buffer-local
1688 `compilation-environment' to `thisenv' later after (funcall mode).
1689 (Bug#8340)
1690
1691 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1692 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1693 instead of replacing its value. (Bug#8340)
1694
1695 2011-09-07 Juri Linkov <juri@jurta.org>
1696
1697 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1698 based on text properties put by `grep-filter' instead of matching
1699 escape sequences.
1700 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1701 to the value of `grep-error-screen-columns' (bug#9438).
1702
1703 2011-09-07 Juri Linkov <juri@jurta.org>
1704
1705 * simple.el (next-error-highlight, next-error-highlight-no-select):
1706 Doc fix (bug#9432).
1707
1708 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1709
1710 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1711 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1712
1713 2011-09-07 Leo Liu <sdl.web@gmail.com>
1714
1715 * net/rcirc.el (rcirc-mode): Conditionally initialize
1716 rcirc-input-ring.
1717
1718 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * emacs-lisp/find-func.el (find-function-C-source): Only set
1721 find-function-C-source-directory after checking that we found a source
1722 file there (bug#9440).
1723
1724 2011-09-06 Alan Mackenzie <acm@muc.de>
1725
1726 * isearch.el (isearch-other-meta-char): Wherever a key list is
1727 unread, "unread" the prefix arg, too. This fixes bug #8901.
1728
1729 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1730
1731 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1732
1733 2011-09-05 Juri Linkov <juri@jurta.org>
1734
1735 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1736
1737 2011-09-05 Juri Linkov <juri@jurta.org>
1738
1739 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1740 keeping point where processing of grep matches begins, and
1741 continue to delete remaining escape sequences from the same point.
1742 (grep-filter): Make leading zero optional in "0?1;31m" because
1743 git-grep emits "\033[1;31m" escape sequences unlike expected
1744 "\033[01;31m" as GNU Grep does (bug#9408).
1745 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1746
1747 2011-09-05 Juri Linkov <juri@jurta.org>
1748
1749 * subr.el (y-or-n-p): Capitalize "yes".
1750
1751 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
1752
1753 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1754 `tramp-cache-unload-hook' where appropriate.
1755 (tramp-methods): Rename `tramp-remote-sh' to
1756 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1757 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1758
1759 * net/tramp-sh.el (top): Don't require 'shell.
1760 (tramp-methods): Add `tramp-remote-shell' and
1761 `tramp-remote-shell-args' entries.
1762 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1763 (tramp-sh-handle-shell-command): Remove.
1764 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1765 Use `tramp-remote-shell'.
1766
1767 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
1768
1769 * mail/sendmail.el (sendmail-query-once-function): Delete.
1770 (sendmail-query-once): Save directly to send-mail-function.
1771 Update message-send-mail-function too.
1772
1773 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1774
1775 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1776
1777 * progmodes/python.el (python-mode-map): Use correct function to
1778 start python interpreter from menu-bar (as reported by Geert
1779 Kloosterman).
1780 (inferior-python-mode-map): Fix typo.
1781 (python-shell-map): Remove.
1782
1783 2011-09-03 Deniz Dogan <deniz@dogan.se>
1784
1785 * net/rcirc.el (rcirc-print): Simplify code for
1786 rcirc-scroll-show-maximum-output. There is no need to walk
1787 through all windows to find the right one.
1788
1789 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1790
1791 * help.el (help-return-method): Doc fix.
1792
1793 2011-09-03 Martin Rudalics <rudalics@gmx.at>
1794
1795 * window.el (window-deletable-p): Don't return a non-nil value
1796 when there's a buffer that was shown in the window before.
1797 (Bug#9419)
1798 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1799 Set window's previous buffers to nil.
1800
1801 2011-09-03 Eli Zaretskii <eliz@gnu.org>
1802
1803 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1804 newline before and after the tag line, so it doesn't interfere
1805 with determining the paragraph direction of bidirectional text.
1806
1807 2011-09-03 Leo Liu <sdl.web@gmail.com>
1808
1809 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1810
1811 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
1812
1813 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
1814 (pop-to-buffer): Change interactive spec. Pass second argument
1815 directly to display-buffer.
1816 (display-buffer): Fix interactive spec. Use functionp to
1817 distinguish between a function and a list of functions.
1818
1819 * abbrev.el (edit-abbrevs):
1820 * arc-mode.el (archive-extract):
1821 * autoinsert.el (auto-insert):
1822 * bookmark.el (bookmark-bmenu-list):
1823 * files.el (find-file):
1824 * view.el (view-buffer):
1825 * progmodes/compile.el (compilation-goto-locus):
1826 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1827
1828 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
1829
1830 * window.el (display-buffer-alist): Doc fix.
1831 (display-buffer): Add docstring. Don't treat
1832 display-buffer-default specially.
1833 (display-buffer-reuse-selected-window)
1834 (display-buffer-same-window, display-buffer-maybe-same-window)
1835 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1836 (display-buffer-pop-up-window)
1837 (display-buffer-reuse-or-pop-window)
1838 (display-buffer-use-some-window): New functions.
1839 (display-buffer-default-action): Use them.
1840 (display-buffer-default): Delete.
1841 (pop-to-buffer-1): Fix choice of actions.
1842
1843 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * minibuffer.el (completion--insert-strings): Don't get confused by
1846 completion entries that end with an LF char.
1847
1848 2011-09-01 Eli Zaretskii <eliz@gnu.org>
1849
1850 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1851
1852 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
1853
1854 * window.el (display-buffer): Restore interactive spec.
1855 (display-buffer-same-window, display-buffer-other-window):
1856 New functions.
1857 (pop-to-buffer-1): New function. Use the above.
1858 (pop-to-buffer, pop-to-buffer-same-window): Use it.
1859 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
1860
1861 * view.el (view-buffer-other-window, view-buffer-other-frame):
1862 Just use pop-to-buffer.
1863
1864 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1865
1866 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1867
1868 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1869
1870 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1871
1872 2011-08-31 Richard Stallman <rms@gnu.org>
1873
1874 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1875 of the separation of rmail-view-buffer from rmail-buffer.
1876 If you say no to "replace original", the decrypt is in the
1877 view buffer. If you say yes, the decrypt goes into the
1878 rmail buffer also.
1879
1880 2011-08-31 Martin Rudalics <rudalics@gmx.at>
1881
1882 * window.el (display-buffer-window): Rewrite doc-string.
1883 (display-buffer-record-window): New function.
1884 (display-buffer-macro-specifiers)
1885 (display-buffer-even-window-sizes, display-buffer-set-height)
1886 (display-buffer-set-width, display-buffer-in-window)
1887 (display-buffer-reuse-window, display-buffer-split-specifiers)
1888 (display-buffer-side-specifiers, display-buffer-split-window-1)
1889 (display-buffer-split-window, display-buffer-split-atom-window)
1890 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1891 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1892 (display-buffer-other-window-means-other-frame)
1893 (display-buffer-normalize-special)
1894 (display-buffer-normalize-default)
1895 (display-buffer-normalize-argument)
1896 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1897 (display-buffer-normalize-specifiers, display-buffer-frame)
1898 (display-buffer-same-window, display-buffer-same-frame)
1899 (display-buffer-other-window)
1900 (display-buffer-same-frame-other-window)
1901 (display-buffer-other-frame, pop-to-buffer-same-window)
1902 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1903 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1904 (switch-to-buffer-same-frame)
1905 (switch-to-buffer-other-window-same-frame)
1906 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1907 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1908 (display-buffer-alist-set): Remove.
1909 (display-buffer-function, special-display-buffer-names)
1910 (special-display-regexps, special-display-function):
1911 In doc-string refer to display-buffer-window and quit-restore
1912 parameter.
1913 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1914 (special-display-frame-alist, special-display-popup-frame)
1915 (same-window-buffer-names, same-window-regexps, same-window-p)
1916 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1917 (split-window-preferred-function, split-height-threshold)
1918 (split-width-threshold, window-splittable-p)
1919 (split-window-sensibly, window--try-to-split-window)
1920 (window--frame-usable-p, even-window-heights)
1921 (window--even-window-heights, window--display-buffer-1)
1922 (window--display-buffer-2, display-buffer-other-frame):
1923 Restore old Emacs 23 code, order and doc-strings where applicable.
1924 (display-buffer-default, display-buffer-assq-regexp): New functions.
1925 (display-buffer-alist): Rewrite doc-string.
1926 (display-buffer-default-action)
1927 (display-buffer-overriding-action): New variables.
1928 (display-buffer, switch-to-buffer): Rewrite.
1929 (pop-to-buffer): Restore Emacs 23 behavior but use
1930 window-normalize-buffer-to-display.
1931 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1932 Restore Emacs 23 behavior but use
1933 window-normalize-buffer-to-switch-to.
1934 (pop-to-buffer-same-window): Rewrite.
1935 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1936 Rewrite using Emacs 23 options.
1937
1938 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/tramp.el (tramp-root-regexp): Remove.
1941 (tramp-completion-file-name-regexp-unified)
1942 (tramp-completion-file-name-regexp-separate)
1943 (tramp-completion-file-name-regexp-url): Don't use leading volume
1944 letter on win32 systems. (Bug#5303, Bug#9311)
1945 (tramp-drop-volume-letter): Simplify definition.
1946 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1947
1948 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1951 (bug#9356).
1952
1953 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1954
1955 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
1956
1957 2011-08-29 Juri Linkov <juri@jurta.org>
1958
1959 * isearch.el (isearch-done): Don't display message "Mark saved"
1960 when arg `edit' is non-nil to prevent its flicker in the echo area.
1961
1962 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
1963
1964 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1965 obsolete packages for deletion.
1966
1967 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1968
1969 * help-mode.el (help-mode-map): Add special-mode-map to parent.
1970 (help-mode): Derive help-mode from special-mode. Don't invoke
1971 view-mode from help-mode.
1972 (help-xref-override-view-map): Remove.
1973 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1974 view-mode is not used anymore.
1975
1976 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
1977
1978 * server.el (server-port): Doc fix.
1979
1980 * cus-theme.el (custom-theme-choose-mode): Inherit from
1981 special-mode (Bug#9124).
1982 (custom-theme-choose-mode-map): Add special-mode to parent.
1983
1984 2011-08-28 Alan Mackenzie <acm@muc.de>
1985
1986 * progmodes/cc-fonts.el
1987 (c-make-font-lock-BO-decl-search-function): New function.
1988 (c-basic-matchers-after - "Fontify the clauses after various
1989 keywords"): Extract the three keyword lists for the 3 erroneous
1990 constructs from the list of four, and use the new function above
1991 in place of an old one.
1992
1993 2011-08-28 Deniz Dogan <deniz@dogan.se>
1994
1995 * net/rcirc.el (rcirc-insert-prev-input)
1996 (rcirc-insert-next-input): Remove unused argument.
1997
1998 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2001
2002 2011-08-27 Alan Mackenzie <acm@muc.de>
2003
2004 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2005 handle function pointer parameters properly.
2006
2007 2011-08-27 Martin Rudalics <rudalics@gmx.at>
2008
2009 * window.el (display-buffer-reuse-window): Fix case where
2010 selected window was reused with non-nil OTHER-WINDOW argument.
2011 (Bug#9381)
2012
2013 2011-08-27 Deniz Dogan <deniz@dogan.se>
2014
2015 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2016 oftc's NickServ messages.
2017
2018 2011-08-27 Glenn Morris <rgm@gnu.org>
2019
2020 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2021
2022 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
2023
2024 * emacs-lisp/package.el (package-install): Call package-initialize
2025 if called interactively.
2026
2027 2011-08-26 Leo Liu <sdl.web@gmail.com>
2028
2029 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2030
2031 2011-08-25 Juri Linkov <juri@jurta.org>
2032
2033 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2034 `search-whitespace-regexp' (bug#9364).
2035
2036 2011-08-25 Juri Linkov <juri@jurta.org>
2037
2038 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2039 `regexp-search-ring' to their global values to protect from
2040 updating by `read-from-minibuffer' (bug#9185).
2041
2042 2011-08-25 Juri Linkov <juri@jurta.org>
2043
2044 * textmodes/ispell.el (ispell-command-loop): Add newline
2045 at the end of the "Use option `i'..." line.
2046
2047 2011-08-25 Juri Linkov <juri@jurta.org>
2048
2049 * battery.el (display-battery-mode): If `battery-status-function'
2050 or `battery-mode-line-format' is nil, display the message and set
2051 `display-battery-mode' to nil (bug#9363).
2052
2053 2011-08-25 Eli Zaretskii <eliz@gnu.org>
2054
2055 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2056 bidi-string-mark-left-to-right; they are unnecessary now.
2057
2058 2011-08-25 Deniz Dogan <deniz@dogan.se>
2059
2060 * net/quickurl.el: Documentation typo fixes.
2061
2062 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
2063
2064 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2065
2066 2011-08-25 Glenn Morris <rgm@gnu.org>
2067
2068 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2069
2070 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2071 (smtpmail-via-smtp): Handle nil response from smtp.
2072
2073 2011-08-24 Juri Linkov <juri@jurta.org>
2074
2075 * proced.el (proced-marked): Inherit from `error' instead of
2076 `font-lock-warning-face'.
2077
2078 * ibuffer.el (ibuffer-marked-face): Change default face from
2079 `font-lock-warning-face' to `warning'.
2080 (ibuffer-deletion-face): Change default face from
2081 `font-lock-type-face' to `error'.
2082
2083 * battery.el (battery-update): Use the face `error' instead of
2084 `font-lock-warning-face' (bug#6117).
2085
2086 2011-08-24 Juri Linkov <juri@jurta.org>
2087
2088 * faces.el (success): Change face color from "Green3" to
2089 "ForestGreen" on light background (bug#9353).
2090
2091 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
2092
2093 * window.el (quit-window): Rename from quit-restore-window.
2094 Use same arglist as old quit-window.
2095 (frame-auto-delete): Doc fix.
2096
2097 * view.el (view-mode-exit): Use quit-window.
2098
2099 2011-08-24 Juri Linkov <juri@jurta.org>
2100
2101 * isearch.el (isearch-ring-adjust1): Start visiting previous
2102 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2103 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2104 for empty search string (when the last search string is reused
2105 automatically) to adjust the isearch ring to the last element and
2106 prepare the correct index for further M-p commands (bug#9185).
2107
2108 2011-08-24 Kenichi Handa <handa@m17n.org>
2109
2110 * international/ucs-normalize.el: If decomposition property of
2111 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2112 nil.
2113 (nfd, nfkd): Likewise.
2114
2115 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2118 from process filters aren't reliably transmitted to the surrounding
2119 accept-process-output.
2120 (mpc-proc-check): New function.
2121 (mpc-proc-sync): Use it (bug#8293)
2122
2123 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2126 Add compatibility functions (bug#9313).
2127
2128 2011-08-23 Eli Zaretskii <eliz@gnu.org>
2129
2130 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2131
2132 * international/uni-bidi.el: Regenerated.
2133
2134 2011-08-23 Kenichi Handa <handa@m17n.org>
2135
2136 * international/charprop.el:
2137 * international/uni-bidi.el:
2138 * international/uni-category.el:
2139 * international/uni-combining.el:
2140 * international/uni-comment.el:
2141 * international/uni-decimal.el:
2142 * international/uni-decomposition.el:
2143 * international/uni-digit.el:
2144 * international/uni-lowercase.el:
2145 * international/uni-mirrored.el:
2146 * international/uni-name.el:
2147 * international/uni-numeric.el:
2148 * international/uni-old-name.el:
2149 * international/uni-titlecase.el:
2150 * international/uni-uppercase.el: Regenerate.
2151
2152 2011-08-23 Martin Rudalics <rudalics@gmx.at>
2153
2154 * help.el (help-window-setup): Fix message displayed when other
2155 window is reused. (Bug#9341)
2156
2157 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2160 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2161
2162 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2163 Mark obsolete.
2164 * shell.el (shell-parse-pcomplete-arguments): New function.
2165 (shell-completion-vars): Use it instead (bug#9160).
2166
2167 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2170 strings and comments (bug#9333).
2171
2172 * emacs-lisp/debug.el (debug-arglist): New function.
2173 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2174 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2175
2176 2011-08-22 Juri Linkov <juri@jurta.org>
2177
2178 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2179 Revert regexp that highlights output switches to its old
2180 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2181
2182 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2183 to check for empty output (bug#9226).
2184
2185 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
2186
2187 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2188 symbol-constituent as the default, as that stops font-lock from
2189 working properly (Bug#8843).
2190
2191 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2192
2193 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2194 `coding-system-for-*' around the process open call to avoid
2195 auth-source side effects.
2196 (smtpmail-try-auth-methods): Expand the secret password.
2197 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2198 probe hangs.
2199
2200 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
2201
2202 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2203
2204 * emacs-lisp/find-func.el (find-function-noselect): New arg
2205 lisp-only.
2206
2207 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2208 signal an error for built-in functions (Bug#6664).
2209
2210 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2211
2212 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2213 (smtpmail-try-auth-methods): Use it.
2214
2215 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
2216
2217 * font-lock.el (font-lock-fontify-region)
2218 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2219 (font-lock-default-unfontify-buffer)
2220 (font-lock-default-fontify-region)
2221 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2222
2223 * progmodes/compile.el (compilation-error-properties):
2224 Fix confusion between file struct and message struct (Bug#9319).
2225 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2226 `ant' regexp.
2227
2228 * net/browse-url.el (browse-url-firefox): Don't call
2229 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2230
2231 2011-08-20 Glenn Morris <rgm@gnu.org>
2232
2233 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2234
2235 * tutorial.el (tutorial--default-keys): Update some default bindings.
2236
2237 * files.el (hack-local-variables): Fully ignore case for "mode:".
2238
2239 2011-08-20 Alan Mackenzie <acm@muc.de>
2240
2241 Resolve invalid use of a regexp in regexp-opt.
2242
2243 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2244 detection for a java annotation.
2245
2246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
2247 detection for a java annotation.
2248
2249 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2250 handling for java.
2251 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2252
2253 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
2254
2255 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2256 (Bug#9274).
2257
2258 2011-08-20 Alan Mackenzie <acm@muc.de>
2259
2260 * Fontify CPP expressions correctly when starting in the middle of
2261 such a construct. Mainly for when jit-lock etc. starts a chunk
2262 here.
2263
2264 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2265 variable.
2266 (c-make-font-lock-search-form): new function, extracted from
2267 c-make-font-lock-search-function.
2268 (c-make-font-lock-search-function): Use the above function.
2269 (c-make-font-lock-context-search-function): New function.
2270 (c-cpp-matchers): Enhance the preprocessor expression case with
2271 the above function
2272 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2273 which takes an expression.
2274
2275 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2276
2277 2011-08-20 Martin Rudalics <rudalics@gmx.at>
2278
2279 * window.el (display-buffer-reuse-window)
2280 (display-buffer-pop-up-window): Don't reuse or split a side
2281 window.
2282
2283 2011-08-19 Glenn Morris <rgm@gnu.org>
2284
2285 * files.el (hack-local-variables-prop-line, hack-local-variables):
2286 Downcase "Mode:". (Bug#9331)
2287
2288 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
2289
2290 * international/characters.el: Add L and R categories.
2291
2292 * subr.el (bidi-string-mark-left-to-right): Rename from
2293 string-mark-left-to-right. Use category search.
2294
2295 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2296
2297 2011-08-18 Juri Linkov <juri@jurta.org>
2298
2299 * faces.el (error, warning, success): New faces with definitions
2300 copied from old default values of `font-lock-warning-face',
2301 `compilation-warning', `compilation-info' (bug#6117).
2302
2303 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2304
2305 * progmodes/compile.el (compilation-error): Inherit from `error'.
2306 (compilation-warning): Inherit from `warning'.
2307 (compilation-info): Inherit from `success'.
2308
2309 * dired.el (dired-marked): Inherit from `warning'.
2310 (dired-flagged): Inherit from `error'.
2311
2312 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2313
2314 * mail/smtpmail.el (auth-source): Require to avoid problems with
2315 binding variables (bug#9298). Also clean up some unused
2316 autoloads.
2317
2318 * net/network-stream.el (network-stream-open-starttls):
2319 Support using starttls.el without using gnutls-cli.
2320
2321 2011-08-17 Juri Linkov <juri@jurta.org>
2322
2323 * progmodes/grep.el (rgrep): Handle the case when
2324 `grep-find-command' is a cons cell (bug#9278).
2325
2326 2011-08-17 Martin Rudalics <rudalics@gmx.at>
2327
2328 * window.el (display-buffer-pop-up-frame): Run frame creation
2329 function with BUFFER current (as special-display-popup-frame
2330 does). Reported by Drew Adams.
2331
2332 2011-08-17 Daiki Ueno <ueno@unixuser.org>
2333
2334 * epa-mail.el: Simplify GnuPG group expansion using
2335 epg-expand-group.
2336 (epa-mail-group-alist, epa-mail-group-modtime)
2337 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2338 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2339 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2340 Remove.
2341
2342 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
2343
2344 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2345
2346 2011-08-16 Alan Mackenzie <acm@muc.de>
2347
2348 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2349 Correct, to avoid the inside of macros.
2350
2351 2011-08-16 Richard Stallman <rms@gnu.org>
2352
2353 * epa-mail.el: Handle GnuPG group definitions.
2354 (epa-mail-group-alist, epa-mail-group-modtime)
2355 (epa-mail-gnupg-conf-file): New variables.
2356 (epa-mail-parse-groups, epa-mail-sync-groups)
2357 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2358 (epa-mail-expand-recipients): New functions.
2359 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2360
2361 * mail/rmail.el (rmail-epa-decrypt): New command.
2362
2363 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2364 Don't bind buffer-read-only, just inhibit-read-only.
2365 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2366 (epa-decrypt-armor-in-region): Make error message clearer.
2367
2368 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2371 and "a2b" to "ab" for `prefix'.
2372
2373 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
2374
2375 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2376 filter groups.
2377 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2378 Fourquet (Bug#8804).
2379
2380 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
2381
2382 * startup.el (argi): Declare as global variable (bug#9275).
2383
2384 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
2385
2386 * subr.el (string-mark-left-to-right): Search the entire string
2387 for RTL script, not just the terminating character. Doc fix.
2388
2389 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2392 New function.
2393 (js--regexp-literal, js-syntax-propertize-function): Remove.
2394 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2395 (js-mode-map): Don't rebind electric keys.
2396 (js-insert-and-indent): Remove.
2397 (js-mode): Setup electric-layout and electric-indent instead.
2398
2399 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2400
2401 2011-08-12 Daiki Ueno <ueno@unixuser.org>
2402
2403 * epa.el (epa-progress-callback-function): Fix the logic of
2404 displaying progress.
2405 * epa-file.el (epa-file-insert-file-contents): Make progress
2406 display more user-friendly.
2407 (epa-file-write-region): Ditto.
2408
2409 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
2410
2411 * subr.el (string-mark-left-to-right): New function.
2412
2413 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2414 Use string-mark-left-to-right.
2415 (list-buffers-noselect): Caller changed.
2416
2417 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2418 Use string-mark-left-to-right.
2419 (tabulated-list-print): Recenter after moving point.
2420
2421 2011-08-10 Juri Linkov <juri@jurta.org>
2422
2423 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2424 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2425 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2426
2427 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
2428
2429 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2430 (Bug#7554).
2431
2432 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2433
2434 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2435 character. (Bug#6594)
2436
2437 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
2438
2439 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2440 (image-dired--with-db-file): New macro.
2441 (image-dired-write-tags, image-dired-remove-tag)
2442 (image-dired-create-gallery-lists, image-dired-write-comments)
2443 (image-dired-get-comment, image-dired-mark-tagged-files)
2444 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2445 (image-dired-gallery-generate): Use insert-file-contents.
2446
2447 * time.el (display-time-world-list, display-time-world-display):
2448 * time-stamp.el (time-stamp-string):
2449 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2450 set-time-zone-rule (Bug#7337).
2451
2452 2011-08-08 Daiki Ueno <ueno@unixuser.org>
2453
2454 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2455 (epg-error-to-string, epg-errors-to-string): New function.
2456 (epg-wait-for-completion): Reverse errors list.
2457 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2458 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2459 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2460 (epg-sign-keys, epg-generate-key-from-file)
2461 (epg-generate-key-from-string): Format errors by using
2462 epg-errors-to-string (bug#9255).
2463 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2464
2465 2011-08-07 Juri Linkov <juri@jurta.org>
2466
2467 * faces.el (list-faces-display): Remove extra angle bracket
2468 from `help-mode-map'.
2469
2470 * info.el (Info-history-toc-nodes): Doc fix.
2471
2472 * longlines.el (longlines-mode): Doc fix.
2473
2474 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2477 of statements and in a few more cases (bug#9183).
2478
2479 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2480 New functions.
2481 (cl-transform-lambda): Use them (bug#9239).
2482
2483 2011-08-05 Martin Rudalics <rudalics@gmx.at>
2484
2485 * window.el (display-buffer-same-window)
2486 (display-buffer-same-frame, display-buffer-other-window)
2487 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2488 (pop-to-buffer-other-window)
2489 (pop-to-buffer-same-frame-other-window)
2490 (pop-to-buffer-other-frame): Make them defuns.
2491 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2492
2493 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * subr.el (make-composed-keymap): Move from C. Change calling
2496 convention, and improve docstring to bring attention to a subtle point.
2497 * minibuffer.el (completing-read-default): Adjust accordingly.
2498
2499 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
2500
2501 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2502 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2503
2504 * net/trampver.el: Update release number.
2505
2506 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2509 "in" (bug#9190).
2510
2511 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2512
2513 * mail/sendmail.el (sendmail-query-once): Restore the current
2514 buffer after querying (bug#9074).
2515
2516 * dired.el (dired-flagged): Use different faces for marked and
2517 flagged files (bug#6117).
2518
2519 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2520 (bug#4433).
2521
2522 * ido.el (ido-mode): Switch off the message if called
2523 non-interactively.
2524
2525 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2526 before 587, since it appears that that's more likely to work for
2527 more people.
2528
2529 * cus-edit.el (custom-file): When running under emacs -q, always
2530 refuse to save the customisations, even if the .emacs file doesn't
2531 exist.
2532
2533 * info.el: Remove the `Info-beginning-of-buffer' function
2534 (bug#8325).
2535
2536 * net/network-stream.el (network-stream-open-starttls):
2537 Use `starttls-available-p' to see whether starttls.el can be used.
2538
2539 2011-08-01 Martin Rudalics <rudalics@gmx.at>
2540
2541 * window.el (display-buffer-in-window): Don't set dedicated status
2542 of window here (Bug#9215).
2543 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2544 (display-buffer-pop-up-side-window)
2545 (display-buffer-in-side-window): Set dedicated status of window here.
2546
2547 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2550 before binding generated-autoload-file.
2551
2552 2011-08-01 Deniz Dogan <deniz@dogan.se>
2553
2554 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2555
2556 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
2557
2558 Sync with Tramp 2.2.2.
2559
2560 * net/trampver.el: Update release number.
2561
2562 2011-07-30 Juri Linkov <juri@jurta.org>
2563
2564 * dired-aux.el (dired-touch-initial): Remove function.
2565 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2566 current time, and `default' to the last modification time of the
2567 current marked file (bug#6887).
2568
2569 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2570
2571 * simple.el (goto-line): Use string-to-number to provide a
2572 numeric argument to read-number (bug#9163).
2573
2574 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2577 connection process, it could be nil.
2578
2579 2011-07-27 Leo Liu <sdl.web@gmail.com>
2580
2581 Simplify url handling in rcirc-mode.
2582
2583 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2584 (rcirc-browse-url-at-mouse): Remove.
2585 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2586
2587 2011-07-26 Alan Mackenzie <acm@muc.de>
2588
2589 Fontify bitfield declarations properly.
2590
2591 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2592 (c-symbol-chars): Now exported as a lang variable.
2593 (c-not-primitive-type-keywords): New lang variable.
2594
2595 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2596 QT keyword "more" to prevent "more slots: ...." being spuriously
2597 parsed as a bitfield declaraion.
2598
2599 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2600 Refactor and enhance to handle bitfield declarations.
2601 (c-punctuation-in): New function.
2602 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2603 declarations properly.
2604
2605 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
2606
2607 * calendar/icalendar.el (icalendar--all-events): Take care of
2608 multiple vcalendars in a single file.
2609 (icalendar--convert-float-to-ical): Checkdoc fixes.
2610
2611 2011-07-25 Deniz Dogan <deniz@dogan.se>
2612
2613 * image.el (insert-image): Clarifying docstring.
2614
2615 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
2616
2617 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2618 `tramp-send-command-and-check' if there is no error.
2619 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2620
2621 2011-07-22 Alan Mackenzie <acm@muc.de>
2622
2623 Prevent cc-langs.elc being loaded at run time.
2624
2625 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2626 cc-langs.
2627
2628 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
2629 "(require 'cc-langs)". Quote a form so it will evaluate at
2630 (cc-mode's) compilation time.
2631
2632 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
2633
2634 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2635 loading. (Bug#9114)
2636
2637 2011-07-21 Martin Rudalics <rudalics@gmx.at>
2638
2639 * window.el (display-buffer-pop-up-window)
2640 (display-buffer-pop-up-side-window)
2641 (display-buffer-in-side-window): Call display-buffer-set-height
2642 and display-buffer-set-width after setting the new window's
2643 buffer so `fit-window-to-buffer' and friends work on the right buffer.
2644
2645 2011-07-20 Sam Steingold <sds@gnu.org>
2646
2647 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2648 (etags-tags-included-tables): Call `convert-standard-filename' on
2649 the file names contained in TAGS so that windows Emacs can handle
2650 TAGS files created by cygwin ctags.
2651
2652 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2653
2654 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2655 which apparently didn't work.
2656
2657 2011-07-19 Roland Winkler <winkler@gnu.org>
2658
2659 * proced.el (proced-send-signal): For *Marked Processes* buffer
2660 put point at beginning of buffer.
2661
2662 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
2663
2664 * proced.el (proced-format): Make header lines align with the text
2665 (bug#1779).
2666
2667 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2668
2669 * view.el (view-buffer): Allow running in `special' modes if we're
2670 visiting a file (bug#8615).
2671
2672 2011-07-19 Martin Rudalics <rudalics@gmx.at>
2673
2674 * window.el (display-buffer-alist-of-strings-p)
2675 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2676 New functions.
2677 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2678 more accurately.
2679
2680 2011-07-18 Alan Mackenzie <acm@muc.de>
2681
2682 Fontify declarators properly when, e.g., a jit-lock chunk begins
2683 inside a declaration.
2684
2685 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2686
2687 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2688 New function.
2689 (c-complex-decl-matchers): Insert reference to
2690 c-font-lock-enclosing-decls.
2691
2692 * progmodes/cc-engine.el (c-backward-single-comment):
2693 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2694 to nil around calls to (forward-comment -1).
2695
2696 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2697
2698 * image.el (put-image): Doc typo fix.
2699
2700 * progmodes/etags.el (tags-search): Doc typo fix.
2701
2702 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2703 password if we get errors 550 to 554.
2704
2705 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2706
2707 * net/gnutls.el (gnutls-log-level): Remove.
2708
2709 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2710 indentation character (bug#6380).
2711
2712 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2713
2714 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2715 to clarify what the problem is (bug#4291).
2716
2717 * simple.el (current-kill): Clarify what
2718 `interprogram-paste-function' does (bug#7500).
2719 (auto-fill-mode): Document `auto-fill-function' in relation to
2720 `auto-fill-mode' (bug#2470).
2721
2722 2011-07-16 Lawrence Mitchell <wence@gmx.li>
2723
2724 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2725 method if slot is read-only (bug#9035).
2726
2727 2011-07-16 Martin Rudalics <rudalics@gmx.at>
2728
2729 * frame.el (select-frame-set-input-focus): New argument NORECORD.
2730 * window.el (pop-to-buffer): Select window used even if it was
2731 selected before, see discussion of (Bug#8615), (Bug#6954).
2732 Pass argument NORECORD on to select-frame-set-input-focus.
2733
2734 2011-07-15 Glenn Morris <rgm@gnu.org>
2735
2736 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
2737 Respect help-form.
2738
2739 2011-07-09 Lawrence Mitchell <wence@gmx.li>
2740
2741 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2742 (gnutls-negotiate): Use it.
2743
2744 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2745
2746 * net/gnutls.el (gnutls-negotiate):
2747 Upcase `gnutls-algorithm-priority'.
2748
2749 2011-07-15 Glenn Morris <rgm@gnu.org>
2750
2751 * jka-compr.el (jka-compr-verbose): Move from here...
2752 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2753 Add missing :version tag.
2754 * info.el: No need to require jka-compr when compiling.
2755
2756 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2757
2758 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2759 (gnutls-negotiate): Use it.
2760
2761 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2762
2763 * info.el (Info-beginning-of-buffer): New command.
2764 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2765 announcing `b' as the key (bug#8325).
2766 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
2767
2768 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2769
2770 * international/mule-cmds.el
2771 (describe-specified-language-support): Make the error message
2772 clearer (bug#8905).
2773
2774 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2775
2776 * isearch.el (isearch-barrier): Add a doc string, since it's
2777 mentioned in a function doc string (bug#8678).
2778
2779 2011-07-15 Martin Rudalics <rudalics@gmx.at>
2780
2781 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2782 buffer argument (Bug#9083) and self-identifying label argument.
2783
2784 2011-07-15 Glenn Morris <rgm@gnu.org>
2785
2786 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2787
2788 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2789
2790 * man.el (Man-fontify-manpage): Fix message when formatting the
2791 man page (bug#7929).
2792
2793 2011-07-14 Eli Zaretskii <eliz@gnu.org>
2794
2795 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2796 argument LRM; if non-nil, append an invisible LRM character to the
2797 buffer name.
2798 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2799 last argument non-nil, when formatting buffer names.
2800 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2801 paragraph direction.
2802
2803 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2804
2805 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2806 the man page name (bug#7929).
2807
2808 * image.el (put-image): Mention the `put-image' overlay property
2809 (bug#7834).
2810
2811 * scroll-bar.el (set-scroll-bar-mode): Mention that
2812 `scroll-bar-mode' lists the values (bug#7772).
2813
2814 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2815 command (bug#7729).
2816
2817 * rect.el (apply-on-rectangle): Return the point after the last
2818 operation.
2819 (string-rectangle): Go to the point after the last operation
2820 (bug#7522).
2821
2822 * printing.el (pr-toggle-region): Clarify the documentation
2823 slightly (bug#7493).
2824
2825 * time.el (display-time-update):
2826 Allow `display-time-mail-function' to return nil (bug#7158).
2827 Fix suggested by Detlev Zundel.
2828
2829 * vc/diff.el (diff): Clarify the order the file names are read
2830 (bug#7111).
2831
2832 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2833 the doc string (bug#7015).
2834
2835 * font-lock.el (font-lock-maximum-decoration): Mention what
2836 numeric levels mean (bug#6935).
2837
2838 * startup.el (initial-buffer-choice): Don't mention the `none'
2839 selection, which is against policy.
2840
2841 2011-07-14 Martin Rudalics <rudalics@gmx.at>
2842
2843 * window.el (display-buffer-normalize-special):
2844 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
2845
2846 2011-07-14 Eli Zaretskii <eliz@gnu.org>
2847
2848 * subr.el (version<, version<=, version=): Mention "-CVS" and
2849 "-12345" alpha version numbers.
2850
2851 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
2852
2853 * bindings.el: Add advertised binding for set-mark-command
2854 (Bug#5772).
2855
2856 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
2857
2858 * bindings.el (mode-line-other-buffer):
2859 * bookmark.el (bookmark-bmenu-2-window):
2860 * bs.el (bs-cycle-next, bs-cycle-previous):
2861 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2862 switch-to-buffer.
2863
2864 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2865 Delete.
2866
2867 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
2868
2869 * follow.el (follow-debug-message, follow-redisplay):
2870 * jka-cmpr-hook.el (with-auto-compression-mode):
2871 Fix typos in docstrings.
2872
2873 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2874
2875 * subr.el (with-silent-modifications): Clarify somewhat what the
2876 macro inhibits (bug#6525).
2877
2878 * simple.el (eval-expression): Note what it does if called
2879 interactively (bug#6495).
2880
2881 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
2882
2883 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2884 Use pop-to-buffer buffer-or-name if it is nil.
2885
2886 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2887 Remove switch-to-buffer.
2888
2889 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2890
2891 * files.el (make-directory): Clarify that an error will be raised
2892 if there's an error (bug#6397).
2893
2894 * startup.el (initial-buffer-choice): Add `none' as a choice
2895 (bug#6234).
2896
2897 * subr.el (add-hook): Clarify section about buffer-local hooks
2898 (bug#6218).
2899
2900 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2901
2902 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
2903
2904 * tabify.el (untabify): Preserve the current column so that point
2905 doesn't move (bug#6032).
2906
2907 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2908
2909 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2910 Rewrite to avoid awkward possessive "s" (bug#5986).
2911
2912 2011-07-13 Glenn Morris <rgm@gnu.org>
2913
2914 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2915 (dired-insert-directory): Give a message the first time
2916 if ls is found not to support --dired.
2917
2918 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2919
2920 * simple.el (toggle-truncate-lines): Clarify what is toggled
2921 (bug#5580). Text by Drew Adams.
2922
2923 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
2924
2925 * simple.el (blink-matching-open): Make the error message from the
2926 last change less verbose.
2927
2928 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2929
2930 * font-lock.el (font-lock-comment-face): Use the high contrast
2931 "yellow" color for font-lock-comment-face on low color terminals
2932 using a dark background color (bug#4221).
2933
2934 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2935
2936 * dired.el (dired-insert-set-properties): Make the doc string
2937 reflect what it does now (bug#5325).
2938
2939 * simple.el (blink-matching-open): Say that we were unable to find
2940 the match within the limit, if we're limited (bug#5122).
2941
2942 * international/mule-cmds.el (prefer-coding-system): Add an
2943 example (bug#4869).
2944
2945 * progmodes/etags.el (tags-search): Document `file-list-form'
2946 (bug#4731).
2947
2948 2011-07-13 Lawrence Mitchell <wence@gmx.li>
2949
2950 * net/browse-url.el (browse-url-default-browser)
2951 (browse-url-browser-function): Make the default browser choice a
2952 bit more logical (bug#4300). Also clean up the doc string.
2953
2954 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
2955
2956 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2957 binary endings (bug#4440).
2958
2959 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2960
2961 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2962 which can be pretty annoying (bug#8971).
2963
2964 * jka-compr.el (jka-compr-verbose): New variable, and use
2965 throughout (bug#8971).
2966
2967 * info.el (Info-find-file): Fall back on the installation
2968 directory if we can't find the info node anywhere else.
2969
2970 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2971
2972 * vc/vc.el (vc-revert-file):
2973 Don't set file time-stamp in the past. (Bug#5181)
2974
2975 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2976
2977 * files.el (after-find-file): Give a better error message when
2978 trying to find a symlink that points to a file that doesn't exist
2979 (bug#4398).
2980
2981 * progmodes/cc-vars.el: Remove (probably) misleading comment
2982 (bug#4396).
2983
2984 2011-07-12 Johan Bockgård <bojohan@gnu.org>
2985
2986 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2987
2988 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
2989
2990 * mouse-sel.el: Hack restoring functionality, while keeping
2991 compatibility with 2010-07-03 changes to mouse selection.
2992 (mouse-sel-primary-overlay): New var.
2993 (mouse-sel-selection-alist): Use it.
2994 (mouse-sel-mode): Doc fix; remove points that are default features
2995 of mouse.el.
2996
2997 2011-07-12 Johan Bockgård <bojohan@gnu.org>
2998
2999 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3000 Fix previous fix (bug#2490).
3001
3002 2011-07-12 Roland Winkler <winkler@gnu.org>
3003
3004 * textmodes/bibtex.el (bibtex-initialize):
3005 Use pop-to-buffer-same-window.
3006 (bibtex-search-entries): Fix interactive call.
3007
3008 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3009
3010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3011 Fontise bytecomp Error lines more correctly (bug#2490).
3012 Fix suggested by Johan Bockgård.
3013
3014 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3015
3016 * dired-x.el (dired-guess-default): Use `delete-dups'.
3017
3018 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
3019
3020 * dired.el (dired-mark-prompt):
3021 * dired-aux.el (dired-read-shell-command): Doc fix.
3022
3023 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3024
3025 * mail/sendmail.el (sendmail-query-once):
3026 Use `customize-save-variable' unconditionally, now that it works under
3027 emacs -Q.
3028
3029 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3030
3031 * cus-edit.el (custom-file): Take an optional no-error variable.
3032 (customize-save-variable): Set the variable, and give a warning if
3033 running under "emacs -q".
3034
3035 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
3036
3037 * loadhist.el (unload-feature-special-hooks):
3038 Add `auto-coding-functions', `fill-nobreak-predicate' and
3039 `find-directory-functions' (bug#5327).
3040
3041 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3042
3043 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3044
3045 * cus-edit.el (custom-guess-name-alist): -alist variables should
3046 use the `alist' type (bug#3120). Suggested by Drew Adams.
3047
3048 * printing.el: Add documentation to all the `pr-toggle-' commands.
3049
3050 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3051
3052 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3053 backends where it makes sense (bug#2623).
3054
3055 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3056
3057 * dired-x.el (dired-guess-default): Remove duplicate shell command
3058 entries (bug#2028).
3059 (dired-guess-default): Fix grammar in doc string (bug#2028).
3060 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
3061
3062 * subr.el (remove-duplicates): New conveniency function.
3063
3064 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3065
3066 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3067 (bug#1526).
3068
3069 2011-07-10 Martin Rudalics <rudalics@gmx.at>
3070
3071 * window.el (display-buffer-normalize-default): Don't invert
3072 meaning of even-window-heights. Reported by Eli Zaretskii
3073 <eliz@gnu.org>.
3074
3075 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3076
3077 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3078
3079 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
3080
3081 * window.el (display-buffer): Fix arguments to
3082 display-buffer-reuse-window in last change.
3083
3084 * faces.el (link): Use a less saturated blue on light backgrounds.
3085
3086 * startup.el (fancy-startup-text, fancy-about-text)
3087 (fancy-startup-tail): Use font-lock faces, for background safety.
3088
3089 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3090
3091 * emulation/viper-cmd.el (viper-change-state-to-vi):
3092 Limit triggering of abbrev expansion (Bug#9038).
3093
3094 2011-07-09 Martin Rudalics <rudalics@gmx.at>
3095
3096 * window.el (display-buffer-default-specifiers): Remove.
3097 (display-buffer-macro-specifiers): Remove default specifiers.
3098 (display-buffer-alist): Default to nil.
3099 (display-buffer-reuse-window): New optional argument other-window.
3100 (display-buffer-pop-up-window): Allow splitting internal
3101 windows. Check whether a live window was created.
3102 (display-buffer-other-window-means-other-frame)
3103 (display-buffer-normalize-arguments): Rename to
3104 display-buffer-normalize-argument and rewrite. Set the
3105 other-window specifier.
3106 (display-buffer-normalize-special): New function.
3107 (display-buffer-normalize-options): Rename to
3108 display-buffer-normalize-default and rewrite.
3109 (display-buffer-normalize-options-inhibit): Remove.
3110 (display-buffer-normalize-specifiers): Rewrite.
3111 (display-buffer): Process other-window specifier and call
3112 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3113 more faithfully.
3114 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
3115 (display-buffer-alist-set): Don't handle 'unset default values.
3116 (display-buffer-in-window, display-buffer-alist-set):
3117 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
3118 <tassilo@member.fsf.org>.
3119
3120 2011-07-09 Leo Liu <sdl.web@gmail.com>
3121
3122 * register.el (insert-register): Restore accidental change on
3123 2011-06-26. (Bug#9028)
3124
3125 2011-07-09 Glenn Morris <rgm@gnu.org>
3126
3127 * subr.el (remq): Handle the empty list. (Bug#9024)
3128
3129 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3130
3131 * mail/sendmail.el (send-mail-function): No longer delay custom
3132 initialization.
3133 * custom.el (custom-initialize-delay): Doc fix.
3134
3135 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3138
3139 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
3140
3141 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3142 human-friendly prompt.
3143
3144 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3147 provided by a particular plugin.
3148
3149 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3150
3151 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3152 save customizations (with "emacs -Q"), just set the variable
3153 instead of erroring out.
3154
3155 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3156
3157 2011-07-08 Juri Linkov <juri@jurta.org>
3158
3159 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3160 (archive-zip-update-case): Use 7z if found by `executable-find'.
3161 The order of searching the available programs is the same as in
3162 `archive-zip-extract' (bug#8968).
3163
3164 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3165
3166 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3167 (menu-bar-options-menu): Tweak descriptions.
3168
3169 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3170
3171 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3172 menu items into verb phrases (bug#1421). Also refill to fit under
3173 80 columns.
3174
3175 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3176
3177 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3178 (Info-read-node-name): Doc fix (Bug#1084).
3179
3180 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3181 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3182 (end-of-sexp, beginning-of-sexp)
3183 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3184 (forward-symbol, forward-same-syntax, word-at-point)
3185 (sentence-at-point): Doc fix (Bug#1144).
3186
3187 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3188
3189 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3190 should cover it (bug#1281).
3191
3192 * cus-edit.el (custom-show): Mark as obsolete.
3193
3194 * net/network-stream.el (network-stream-open-starttls): If gnutls
3195 negotiation fails, then possibly try again with a non-encrypted
3196 connection (bug#9017).
3197
3198 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3199 be used.
3200
3201 2011-07-07 Richard Stallman <rms@gnu.org>
3202
3203 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3204 property, and handle its changed format.
3205 Look for the correct line number.
3206 Use file's line contents (but not past first =) to find
3207 correct line in message.
3208
3209 2011-07-07 Kenichi Handa <handa@m17n.org>
3210
3211 * international/characters.el (build-unicode-category-table):
3212 Delete it.
3213 (unicode-category-table): Set it by unicode-property-table-internal.
3214
3215 * international/mule-cmds.el (char-code-property-alist): Move to
3216 to src/chartab.c.
3217 (get-char-code-property): Call unicode-property-table-internal to
3218 load a file. Call get-unicode-property-internal where necessary.
3219 (put-char-code-property): Call unicode-property-table-internal to
3220 load a file. Call put-unicode-property-internal where necessary.
3221 put-unicode-property-internal where necessary.
3222 (char-code-property-description):
3223 Call unicode-property-table-internal to load a file.
3224
3225 * international/charprop.el:
3226 * international/uni-bidi.el:
3227 * international/uni-category.el:
3228 * international/uni-combining.el:
3229 * international/uni-comment.el:
3230 * international/uni-decimal.el:
3231 * international/uni-decomposition.el:
3232 * international/uni-digit.el:
3233 * international/uni-lowercase.el:
3234 * international/uni-mirrored.el:
3235 * international/uni-name.el:
3236 * international/uni-numeric.el:
3237 * international/uni-old-name.el:
3238 * international/uni-titlecase.el:
3239 * international/uni-uppercase.el: Regenerate.
3240
3241 * loadup.el: Load international/charprop.el before
3242 international/characters.
3243
3244 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3245
3246 * window.el (next-buffer, previous-buffer): Signal an error if
3247 called from a minibuffer window.
3248
3249 * bindings.el: Revert 2011-07-04 change.
3250
3251 2011-07-06 Richard Stallman <rms@gnu.org>
3252
3253 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3254 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3255 Treat markers like ints.
3256 (rmail-mime-entity): Doc fix.
3257
3258 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3259
3260 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3261 defcustom again for backwards compatibility.
3262
3263 * simple.el (shell-command-on-region): Fill.
3264
3265 * dired-aux.el (dired-kill-line): Add a doc string.
3266
3267 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3268 to "\\sw\\|\\s_" (bug#358).
3269
3270 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3271 (dired-unmark-backward): Ditto.
3272 (dired-flag-backup-files): Ditto.
3273
3274 * dired-x.el (dired-mark-sexp): Ditto.
3275
3276 2011-07-06 Richard Stallman <rms@gnu.org>
3277
3278 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3279 (rmail-mime-entity): New arg TRUNCATED.
3280 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3281 New functions.
3282 (rmail-mime-save): Warn if entity is truncated.
3283 (rmail-mime-toggle-hidden): Likewise, for showing.
3284 (rmail-mime-process-multipart): Record when an entity is truncated.
3285
3286 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3287 if ENTITY is a string.
3288
3289 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3290
3291 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
3292 of faces when `M-C-x'-ing their definitions (bug#8378).
3293 Also clean up the code slightly.
3294
3295 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3296 because that makes the colours go away.
3297
3298 * mail/sendmail.el (send-mail-function): Change the default to
3299 `sendmail-query-once'.
3300 (sendmail-query-once): Add an autoload cookie.
3301
3302 * net/network-stream.el (network-stream-open-starttls): Try using
3303 a plain connection even if the server offered STARTTLS, and we
3304 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3305 capability. This should make smtpmail.el work in slightly more
3306 configurations.
3307
3308 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
3309
3310 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3311 New defun.
3312 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3313
3314 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3315
3316 * progmodes/sql.el: Version 3.0
3317 (sql-product-alist): Add product :completion-object,
3318 :completion-column, and :statement attributes.
3319 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
3320 (sql-mode-syntax-table): Mark all punctuation.
3321 (sql-font-lock-keywords-builder): Temporarily remove fallback on
3322 ansi keywords.
3323 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
3324 (sql-mode-oracle-font-lock-keywords): Improve.
3325 (sql-oracle-show-reserved-words): New function for development.
3326 (sql-product-font-lock): Simplify for source code buffers.
3327 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3328 New functions.
3329 (sql-highlight-product): Set product specific syntax table.
3330 (sql-mode-map): Add statement movement functions.
3331 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3332 New variable.
3333 (sql-statement-regexp, sql-beginning-of-statement)
3334 (sql-end-of-statement, sql-signum): New functions.
3335 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
3336 (sql-show-sqli-buffer): Bug fix.
3337 (sql-interactive-mode): Store connection data as buffer local.
3338 (sql-connect): Add NEW-NAME parameter. Redesign interaction
3339 with sql-interactive-mode.
3340 (sql-save-connection): Save buffer local settings.
3341 (sql-connection-menu-filter): Change menu entry name.
3342 (sql-product-interactive): Bug fix.
3343 (sql-preoutput-hold): New variable.
3344 (sql-interactive-remove-continuation-prompt): Bug fixes.
3345 (sql-debug-redirect): New variable.
3346 (sql-str-literal): New function.
3347 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
3348 Redesign.
3349 (sql-oracle-save-settings, sql-oracle-restore-settings)
3350 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3351 (sql-completion-object, sql-completion-column)
3352 (sql-completion-sqlbuf): New variables.
3353 (sql-build-completions-1, sql-build-completions)
3354 (sql-try-completion): New functions.
3355 (sql-read-table-name): Use them.
3356 (sql-contains-names): New buffer local variable.
3357 (sql-list-all, sql-list-table): Use it.
3358 (sql-oracle-completion-types): New variable.
3359 (sql-oracle-completion-object, sql-sqlite-completion-object)
3360 (sql-postgres-completion-object): New functions.
3361
3362 2011-07-06 Glenn Morris <rgm@gnu.org>
3363
3364 * window.el (pop-to-buffer): Doc fix.
3365
3366 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
3367
3368 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3369
3370 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
3371
3372 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3373
3374 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
3375
3376 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
3377
3378 * button.el (button): Inherit from link face. Suggested by Dan
3379 Nicolaescu.
3380
3381 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * progmodes/gdb-mi.el: Fit in 80 columns.
3384 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3385 switch-to-buffer.
3386
3387 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3388 if imenu is simply not configured (bug#8941).
3389
3390 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3391
3392 * allout.el (allout-post-undo-hook): New allout outline-change
3393 event hook to signal undo activity.
3394 (allout-post-command-business): Run allout-post-undo-hook if an
3395 undo just occurred.
3396 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3397 * allout-widgets.el (allout-widgets-after-undo-function):
3398 Ensure the integrity of the current item's decoration after it has been
3399 in the vicinity of an undo.
3400 (allout-widgets-mode): Include allout-widgets-after-undo-function
3401 on the new allout-post-undo-hook.
3402
3403 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3406 Let define-derived-mode define it.
3407 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3408 cycles of abbrev-table inheritance (bug#8998).
3409
3410 2011-07-05 Roland Winkler <winkler@gnu.org>
3411
3412 * textmodes/bibtex.el: Add support for biblatex.
3413 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3414 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3415 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3416 (bibtex-entry-alist, bibtex-field-alist): New variables.
3417 (bibtex-entry-field-alist): Obsolete alias for
3418 bibtex-BibTeX-entry-alist.
3419 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3420 (bibtex-set-dialect): New command.
3421 (bibtex-entry-type, bibtex-entry-head)
3422 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3423 Bind via bibtex-set-dialect.
3424 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3425 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3426 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3427 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3428 Define via bibtex-set-dialect.
3429 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3430 Obey bibtex-no-opt-remove-re.
3431 (bibtex-vec-push, bibtex-vec-incr): New functions.
3432 (bibtex-format-entry, bibtex-field-list)
3433 (bibtex-print-help-message, bibtex-validate)
3434 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3435
3436 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * progmodes/compile.el (compilation-goto-locus):
3439 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3440 * bs.el (bs-cycle-next, bs-cycle-previous):
3441 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3442 * bindings.el (mode-line-other-buffer):
3443 * autoinsert.el (auto-insert):
3444 * arc-mode.el (archive-extract):
3445 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3446
3447 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3448
3449 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3450 Fix check of `emacs-lock-unlockable-modes'.
3451 Coerce true values of `emacs-lock--try-unlocking' to t.
3452
3453 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3454
3455 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3456 * emacs-lock.el: New file.
3457
3458 2011-07-05 Julien Danjou <julien@danjou.info>
3459
3460 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3461 than `boundp' to check if face is set.
3462
3463 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3464
3465 * register.el (registerv-make):
3466 * window.el (window-min-height): Fix typos in docstrings.
3467
3468 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3469
3470 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3471 Update doc string.
3472
3473 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * server.el (server-execute): Catch quit and call
3476 `server-return-error' to pass the error back to emacsclient and
3477 close the connection (bug#8942).
3478
3479 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3480
3481 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3482 insecure exception for current topic. Also note that auto-saves
3483 are handled differently.
3484
3485 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3486 State variables for tracking auto-save inhibition situation.
3487
3488 (allout-write-contents-hook-handler): Rename from
3489 'allout-write-file-hook-handler', and describe how it depends on
3490 write-contents-functions sensitivity to non-nil value to prevent
3491 file write.
3492
3493 (allout-auto-save-hook-handler): Remove. auto-save does not check
3494 this in individual buffers, only in the starting buffer, so this
3495 is not the right way for us to inhibit auto-save in a buffer
3496 according to its condition.
3497
3498 (allout-mode): Use new allout-write-contents-hook-handler, and
3499 only with write-contents-functions. Remove auto-save provisions -
3500 they're implemented elsewhere.
3501
3502 (allout-before-change-handler): If undo is in progress, note that
3503 for attention of allout-post-command-business.
3504
3505 (allout-post-command-business): If the command we're following was
3506 an undo, check for change in the status of encrypted items and
3507 adjust auto-save inhibitions accordingly.
3508
3509 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3510 according to whether there are or aren't any plain-text topics
3511 pending encryption.
3512
3513 (allout-inhibit-auto-save-info-for-decryption):
3514 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
3515 there are plain-text topics pending encryption.
3516
3517 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3518 buffer-saved-size and some allout state to not inhibit auto-saves
3519 if there are no longer any plain-text topics pending encryption.
3520
3521 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3522 No longer provide for exemption of the current topic.
3523
3524 2011-07-04 Juri Linkov <juri@jurta.org>
3525
3526 Add 7z operations to delete and save changed members (bug#8968).
3527 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3528 New defcustoms.
3529 (archive-7z-write-file-member): New function.
3530 (archive-7z-summarize): Fix the number of dashes in the
3531 listing output.
3532
3533 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3536 (bug#8958).
3537
3538 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
3539
3540 * bindings.el: Ignore next-buffer and previous-buffer in
3541 minibuffer-local-map.
3542
3543 * font-lock.el (font-lock-builtin-face): Change light background
3544 color to dark slate blue (Bug#6693).
3545
3546 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3547
3548 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3549
3550 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3553 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3554 Add switch-to-buffer.
3555
3556 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3557
3558 * isearch.el (isearch-search-fun-function): Clarify further the
3559 meaning of the function returned.
3560
3561 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
3562
3563 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3564
3565 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3566 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3567 Use it.
3568 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3569 `tramp-default-remote-path' does not exist.
3570 (tramp-send-command-and-read): New optional argument NOERROR.
3571 (tramp-open-connection-setup-interactive-shell)
3572 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3573 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3574 (tramp-process-sentinel): Flush also process' connection property.
3575 (tramp-sh-handle-start-file-process): Do not set process
3576 sentinel. It is done now ...
3577 (tramp-maybe-open-connection): ... here. (Bug#8929)
3578
3579 2011-07-04 MON KEY <monkey@sandpframing.com>
3580
3581 * play/animate.el (animate-string): Doc fixes and allow changing
3582 the buffer name (bug#5417).
3583
3584 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
3586 * play/animate.el (animation-buffer-name): Rename from *animate*.
3587
3588 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3589
3590 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3591 This is simpler and helps future-proof the code.
3592 (timer-until): Use time-subtract and float-time.
3593 (timer--time-less-p): Use time-less-p.
3594
3595 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
3596
3597 * type-break.el (timep): Use the value of `float-time' to avoid a
3598 byte-compiler warning.
3599
3600 * server.el (server-eval-and-print): Return any result, even nil.
3601
3602 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3603
3604 * type-break.el: Accept time formats that the builtins accept.
3605 (timep, type-break-time-difference): Accept any format that
3606 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3607 This is simpler and helps future-proof the code.
3608 (type-break-time-difference): Round rather than ignoring
3609 subseconds components.
3610
3611 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3612
3613 * info.el (Info-apropos-matches): Make non-interactive, since it
3614 doesn't seem to do anything useful as a command (bug#8829).
3615
3616 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
3617
3618 * frame.el (frame-background-mode, frame-set-background-mode):
3619 Move from faces.el.
3620 (frame-default-terminal-background): New function.
3621
3622 * custom.el (custom-push-theme): Don't record faces in `changed'
3623 theme; this doesn't work correctly for per-frame face settings.
3624 (disable-theme): Use face-set-after-frame-default to reset faces.
3625 (custom--frame-color-default): New function.
3626
3627 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3628
3629 * dired.el (dired-flagging-regexp): Remove unused variable
3630 (bug#8769).
3631
3632 2011-03-29 Kevin Ryde <user42@zip.com.au>
3633
3634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3635 `perl-Test2' extend to match possible "fail #N" rep count
3636 (bug#8377).
3637
3638 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3639
3640 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3641 `smtpmail-via-smtp' now returns the error instead of nil.
3642
3643 * isearch.el (isearch-search-fun-function): Clarify the doc string
3644 (bug#8101).
3645
3646 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
3647
3648 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3649 unnecessary spaces (bug#8987).
3650
3651 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3652
3653 * net/network-stream.el (open-network-stream): Use the
3654 :end-of-capability command thoughout.
3655
3656 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3657
3658 * net/network-stream.el (open-network-stream): Add the
3659 :end-of-capability command parameter, used by pop3.el.
3660
3661 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3662
3663 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3664
3665 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3666 for list)" (bug#6475).
3667
3668 * files.el (file-expand-wildcards): Ignore non-readable
3669 sub-directories while trying to find matches instead of signalling
3670 an error (bug#6297).
3671
3672 * man.el (Man-reference-regexp): Allow matching possible
3673 word-wrapped references (bug#6289).
3674
3675 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3676 for consistency with the other vc buffers (bug#6197).
3677 (vc-checkin): Ditto.
3678
3679 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3680
3681 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3682
3683 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3684
3685 * custom.el (defcustom): Clarify that :set is only used in the
3686 Customize user interface (bug#6089).
3687
3688 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3689 associated with a file, refuse to run instead of erroring out
3690 (bug#6084).
3691
3692 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3693 the doc string, since it appears that using `fill-column' always
3694 controls the width (bug#7845).
3695
3696 * simple.el (shell-command-on-region): Say where the error output
3697 went if `shell-command-default-error-buffer' is set (bug#6857).
3698
3699 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3700
3701 * allout.el (allout-yank-processing): Adjust cursor position for
3702 backwards-deleted space.
3703
3704 (allout-rebullet-heading): Register changes with
3705 allout-exposure-changed-hook, so the modified topic is properly
3706 decorated.
3707
3708 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3709
3710 * minibuffer.el (completion-in-region): Document PREDICATE
3711 (bug#7136).
3712
3713 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3714 of keyword/argument pairs (bug#6904).
3715
3716 * replace.el (multi-occur):
3717 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
3718
3719 2011-07-02 Drew Adams <drew.adams@oracle.com>
3720
3721 * dired.el (dired-mark-if): Make the message about whether it's
3722 marking or unmarking clearer (bug#8523).
3723
3724 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3725
3726 * disp-table.el (display-table-print-array): New function.
3727 (describe-display-table): Use it to print the vectors more pretty
3728 (Bug#8859).
3729
3730 2011-07-02 Martin Rudalics <rudalics@gmx.at>
3731
3732 * window.el (window-state-get-1): Don't assign clone numbers.
3733 Add clone-of item to list of window parameters.
3734 (window-state-put-2): Don't process clone numbers.
3735 (display-buffer-alist): Fix doc-string.
3736
3737 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * subr.el (remq): Don't allocate if it's not needed.
3740 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3741 (keymap--merge-bindings): New functions.
3742 (keymap-canonicalize): Use them to refine the canonicalization.
3743 * minibuffer.el (minibuffer-local-completion-map)
3744 (minibuffer-local-must-match-map): Move initialization from C.
3745 (minibuffer-local-filename-completion-map): Move initialization from C;
3746 don't inherit from anything here.
3747 (minibuffer-local-filename-must-match-map): Make obsolete.
3748 (completing-read-default): Use make-composed-keymap to combine
3749 minibuffer-local-filename-completion-map with either
3750 minibuffer-local-must-match-map or
3751 minibuffer-local-filename-completion-map.
3752
3753 2011-07-01 Glenn Morris <rgm@gnu.org>
3754
3755 * type-break.el (type-break-time-sum): Use dolist.
3756
3757 * textmodes/flyspell.el (flyspell-word-search-backward):
3758 Replace CL function.
3759
3760 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * mouse.el (mouse--strip-first-event): New function.
3763 (function-key-map): Use it to map fringe clicks to normal clicks
3764 by default.
3765
3766 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3767 (vc-bzr-revision-completion-table): Add support for annotate and date.
3768
3769 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3770 inherit from parent.
3771
3772 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3773
3774 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
3775 (dired-show-file-type): Doc fixup (bug#8818).
3776
3777 * dired.el (dired-mode): Fix up the doc string as suggested by
3778 Drew Adams (bug#8817).
3779
3780 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3781 cookie, since the manual says that it should be possible to add
3782 this function to `find-file-hook' (bug#8709).
3783
3784 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3785
3786 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3787 here. Noted Ted Zlatanov as the maintainer.
3788 (cfengine-common-settings, cfengine-common-syntax): New functions
3789 to set up common things between `cfengine-mode' and
3790 `cfengine3-mode'.
3791 (cfengine3-mode): New mode.
3792 (cfengine3-defuns cfengine3-defuns-regex
3793 (cfengine3-class-selector-regex cfengine3-category-regex)
3794 (cfengine3-vartypes cfengine3-font-lock-keywords)
3795 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
3796 (cfengine3-indent-line): Add from cfengine3.el.
3797
3798 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
3799
3800 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3801
3802 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3803
3804 2011-07-01 Martin Rudalics <rudalics@gmx.at>
3805
3806 * window.el (same-window-buffer-names, same-window-regexps)
3807 (same-window-p, special-display-frame-alist)
3808 (special-display-popup-frame, special-display-function)
3809 (special-display-buffer-names, special-display-regexps)
3810 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3811 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3812 (split-window-preferred-function, split-height-threshold)
3813 (split-width-threshold, even-window-heights)
3814 (display-buffer-mark-dedicated, window-splittable-p)
3815 (split-window-sensibly, window-safely-shrinkable-p):
3816 Un-obsolete.
3817 (display-buffer): Don't spread args with function specifier
3818 because special-display-popup-frame won't like it.
3819
3820 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3821
3822 Time-stamp simplifications and fixes.
3823 These improve accuracy slightly, and future-proof the code
3824 against some potential changes to current-time format.
3825
3826 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3827 by using time-since and float-time.
3828
3829 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3830 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3831 + NNN microseconds".
3832
3833 * type-break.el (type-break-time-sum): Rewrite using time-add.
3834
3835 * play/hanoi.el (hanoi-current-time-float): Remove.
3836 All uses replaced by float-time.
3837
3838 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3839 This yields a more-accurate answer.
3840 (rng-time-to-float): Remove; no longer needed.
3841
3842 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3843
3844 * calendar/timeclock.el (timeclock-seconds-to-time):
3845 Defalias to seconds-to-time, since they're the same thing.
3846
3847 * emacs-lisp/elp.el (elp-elapsed-time):
3848 * emacs-lisp/benchmark.el (benchmark-elapse):
3849 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3850
3851 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * window.el (bury-buffer): Don't iconify the only frame.
3854 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3855 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3856
3857 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
3858
3859 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3860 Add mouse-yank-primary.
3861
3862 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3863
3864 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3865
3866 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3869 (find-library-name): Use it to find relative load names when provided
3870 absolute file name (bug#8803).
3871
3872 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3873
3874 * textmodes/flyspell.el (flyspell-word): Consider words that
3875 differ only in case as potential doublons (bug#5687).
3876
3877 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3878 Remove two rather uninteresting debugging-like messages to make
3879 debbugs.el more silent.
3880
3881 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3882 a password-like phrase.
3883
3884 2011-06-30 Mastake YAMATO <yamato@redhat.com>
3885
3886 * progmodes/cc-guess.el: New file.
3887
3888 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
3889
3890 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3891 derived from `c-basic-common-init'.
3892
3893 * progmodes/cc-mode.el (top-level): Require cc-guess.
3894 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3895
3896 2011-06-30 Lawrence Mitchell <wence@gmx.li>
3897
3898 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3899
3900 2011-06-30 Alan Mackenzie <acm@muc.de>
3901
3902 * progmodes/cc-engine.el (c-guess-continued-construct):
3903 Correct the handling of template-args-cont, particularly for when font
3904 lock is disabled. Name this case as "CASE G".
3905
3906 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3907
3908 * allout.el (allout-yank-processing): Fix injection of extra space
3909 between bullet and non-whitespace character in first topic when
3910 pasting, ensuring that the actual spacing in the pasted topic
3911 following the bullet char is preserved. This extra space was
3912 causing pasted encrypted topics to get a decrypted status even
3913 when the content was actually still encrypted. Now the decryption
3914 status from before the paste is preserved.
3915
3916 (allout-flag-region): Set all allout overlays so they evaporate
3917 when reduced to zero length (evanescent), to prevent overlay
3918 leakage.
3919
3920 2011-06-30 Glenn Morris <rgm@gnu.org>
3921
3922 * w32-fns.el (w32-charset-info-alist): Declare.
3923
3924 * find-dired.el (find-grep-options): Simplify.
3925
3926 * term/ns-win.el (ns-set-resource): Declare.
3927
3928 * ses.el (row, col): Declare dynamic variables honestly.
3929
3930 * textmodes/reftex-parse.el (index-tags): Declare.
3931
3932 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
3933
3934 * cus-edit.el (customize-push-and-save): New function.
3935
3936 * files.el (hack-local-variables-confirm): Use it.
3937
3938 * custom.el (load-theme): New arg NO-CONFIRM.
3939 Use customize-push-and-save (Bug#8720).
3940 (custom-enabled-themes): Doc fix.
3941
3942 * cus-theme.el (customize-create-theme)
3943 (custom-theme-merge-theme): Callers to load-theme changed.
3944
3945 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3946
3947 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3948 short URLs have at least one dot in them (bug #7614).
3949
3950 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3951 nil, because using a pty is apparently too slow (bug #895).
3952
3953 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3954
3955 * mail/sendmail.el (sendmail-query-once): New function.
3956 (sendmail-query-once-function): New variable.
3957
3958 2011-06-29 Glenn Morris <rgm@gnu.org>
3959
3960 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3961
3962 * ses.el (top-level): Require cl when compiling.
3963 (ses-set-localvars): Fix error statement.
3964 Call it at compile time to silence a storm of warnings.
3965
3966 2011-06-29 Martin Rudalics <rudalics@gmx.at>
3967
3968 * window.el (normalize-live-buffer): Rename to
3969 window-normalize-buffer.
3970 (normalize-live-frame): Rename to window-normalize-frame.
3971 (normalize-any-window): Rename to window-normalize-any-window.
3972 (normalize-live-window): Rename to window-normalize-live-window.
3973 (make-window-atom): Rename to window-make-atom.
3974 (window-resize-reset): Rename to window--resize-reset.
3975 (window-resize-reset-1): Rename to window--resize-reset-1.
3976 (resize-mini-window): Rename to window--resize-mini-window.
3977 (resize-subwindows-skip-p): Rename to
3978 window--resize-subwindows-skip-p.
3979 (resize-subwindows-normal): Rename to
3980 window--resize-subwindows-normal.
3981 (resize-subwindows): Rename to window--resize-subwindows.
3982 (resize-other-windows): Rename to window--resize-siblings.
3983 (resize-this-window): Rename to window--resize-this-window.
3984 (resize-root-window): Rename to window--resize-root-window.
3985 (resize-root-window-vertically): Rename to
3986 window--resize-root-window-vertically.
3987 (normalize-buffer-to-display): Rename to
3988 window-normalize-buffer-to-display.
3989 (normalize-buffer-to-switch-to): Rename to
3990 window-normalize-buffer-to-switch-to.
3991 Correspondingly update all callers of the functions listed
3992 above.
3993 (display-buffer-alist, display-buffer-normalize-arguments)
3994 (display-buffer-normalize-options, display-buffer)
3995 (display-buffer-alist-set): Use "function" instead of
3996 "fun-with-args".
3997
3998 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
3999
4000 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4001 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4002 debbugs.gnu.org. Mention acknowledgment email.
4003
4004 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005
4006 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4007 buffer multibyteness, since it shouldn't matter.
4008
4009 2011-06-28 Martin Rudalics <rudalics@gmx.at>
4010
4011 * window.el (display-buffer-in-side-window): Handle dedicated
4012 windows as in display-buffer-reuse-window.
4013 (display-buffer-normalize-alist): Use value of override
4014 specifier.
4015 (display-buffer-normalize-specifiers): Use value of
4016 other-window-means-other-frame specifier.
4017 (display-buffer-alist): Rewrite some texts in widgets.
4018 (display-buffer): Spread arguments when calling function
4019 specified by fun-with-args.
4020
4021 2011-06-28 Deniz Dogan <deniz@dogan.se>
4022
4023 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4024 Unnest `let'.
4025
4026 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4027 selectors (Bug#5732).
4028 (css-proprietary-nmstart-re): Use `regexp-opt'.
4029
4030 2011-06-27 Jari Aalto <jari.aalto@cante.net>
4031
4032 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4033 (eshell-ls-date-format): New defcustom.
4034 (eshell-ls-file): Use it.
4035
4036 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4039
4040 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4041
4042 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4043 (ange-ftp-make-tmp-name): New arg.
4044 (ange-ftp-file-local-copy): Use it.
4045
4046 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
4047
4048 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4049 no-conversion (Bug#8870).
4050
4051 2011-06-27 Martin Rudalics <rudalics@gmx.at>
4052
4053 * window.el (window-right, window-left, window-child)
4054 (window-child-count, window-last-child)
4055 (window-iso-combination-p, walk-window-tree-1)
4056 (window-atom-check-1, window-tree-1, delete-window)
4057 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4058 new naming conventions - window-vchild, window-hchild,
4059 window-next and window-prev are now called window-top-child,
4060 window-left-child, window-next-sibling and window-prev-sibling
4061 respectively.
4062 (resize-window-reset): Rename to window-resize-reset.
4063 (resize-window-reset-1): Rename to window-resize-reset-1.
4064 (resize-window): Rename to window-resize.
4065 (window-min-height, window-min-width)
4066 (resize-mini-window, resize-this-window, resize-root-window)
4067 (resize-root-window-vertically, adjust-window-trailing-edge)
4068 (enlarge-window, shrink-window, maximize-window)
4069 (minimize-window, delete-window, quit-restore-window)
4070 (split-window, balance-windows, balance-windows-area-adjust)
4071 (balance-windows-area, window-state-put-2)
4072 (display-buffer-even-window-sizes, display-buffer-set-height)
4073 (display-buffer-set-width, set-window-text-height)
4074 (fit-window-to-buffer): Rename all "resize-window" prefixed
4075 calls to use the "window-resize" prefix convention.
4076 (display-buffer-alist): Fix symbol for label specifier.
4077 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4078 corresponding specifier.
4079 Reported by Juanma Barranquero <lekktu@gmail.com>.
4080
4081 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4082
4083 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4084 convention.
4085 (ses-call-printer): Does not pass an empty string to formatter when the
4086 cell is empty to keep from barking printer Calc math-format-value.
4087
4088 2011-06-27 Richard Stallman <rms@gnu.org>
4089
4090 * battery.el (battery-mode-line-limit): New variable.
4091 (battery-update): Handle it.
4092
4093 * mail/rmailmm.el (rmail-mime-process-multipart):
4094 Handle truncated messages.
4095
4096 2011-06-27 Glenn Morris <rgm@gnu.org>
4097
4098 * progmodes/flymake.el (flymake-err-line-patterns):
4099 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4100
4101 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4102
4103 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
4104 (ses--clean-!, ses--clean-_): New functions.
4105 (ses-range): Add configurability of readout order, and conversion
4106 to Calc vector.
4107
4108 * ses.el (ses-repair-cell-reference-all): New function.
4109 (ses-cell-symbol): Set macro as safe, so that it can be used in
4110 formulas.
4111
4112 * ses.el: Update cycle detection algorithm.
4113 (ses-localvars): Add ses--Dijkstra-attempt-nb and
4114 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
4115 (ses-set-localvars): New function.
4116 (ses-make-cell): Add property-list as a cell element.
4117 (ses-cell-property-get-fun, ses-cell-property-get)
4118 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
4119 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4120 New functions.
4121 (ses-cell-property-set, ses-cell-property-pop)
4122 (ses-cell-property-get-handle): New macro.
4123 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4124 New aliases, used for code readability.
4125 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4126 cycle detection.
4127 (ses-self-reference-early-detection): New defcustom.
4128 (ses-formula-references): Robustify against self-refering cells.
4129 (ses-mode): Use ses-set-localvars.
4130 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4131 before lauching the update processing.
4132 (ses-initialize-Dijkstra-attempt): New function.
4133 (ses-recalculate-cell): Update for cycle detection based on
4134 Dijkstra algorithm.
4135
4136 * ses.el: Fix commenting and indenting convention.
4137
4138 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * bs.el (bs-cycle-next): Complete last change.
4141
4142 2011-06-27 Drew Adams <drew.adams@oracle.com>
4143
4144 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4145
4146 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147
4148 * net/network-stream.el (network-stream-open-starttls):
4149 Don't re-get capabilities unless we've reestablished connection.
4150 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4151
4152 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4153 to binary to possibly avoid line encoding issues on Windows (among
4154 other things).
4155
4156 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4157
4158 * net/network-stream.el (open-network-stream): Return an :error
4159 saying what the problem was, if possible.
4160
4161 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4162 server.
4163
4164 * net/network-stream.el (network-stream-open-starttls): If we
4165 wanted to use STARTTLS, and the server offered it, but we weren't
4166 able to because we had no STARTTLS support, then close the connection.
4167 (open-network-stream): Return an :error element, if present.
4168
4169 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
4170
4171 * hl-line.el (hl-line-sticky-flag): Doc fix.
4172 (global-hl-line-sticky-flag): New option (Bug#8323).
4173 (global-hl-line-highlight): Obey it.
4174
4175 * vc/vc.el (vc-revert-show-diff): Default to t.
4176
4177 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4178
4179 * allout-widgets.el (allout-widgets-post-command-business):
4180 Stop decorating intermediate isearch matches. They're not being
4181 undecorated when an isearch is continued past, and isearch
4182 automatically collapses them. This leads to "widget leaks", where
4183 decorated items accumulate in collapsed areas. Lines with lots of
4184 hidden widgets can slow down cursor travel, substantially.
4185 Too much complicated machinery would be needed to ensure undecoration,
4186 so we're doing without this nicety.
4187
4188 (allout-widgets-tally-string): Don't try to do a hash-table-count
4189 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4190 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4191 *Messages* when allout-widgets-maintain-tally is t.
4192
4193 2011-06-26 Martin Rudalics <rudalics@gmx.at>
4194
4195 * window.el (display-buffer-normalize-argument): Rename to
4196 display-buffer-normalize-arguments. Handle special meaning of
4197 LABEL argument. Respect special-display-function when popping up
4198 a new frame. Fix code searching for a window showing the buffer
4199 on another frame.
4200 (display-buffer-normalize-specifiers):
4201 Call display-buffer-normalize-arguments.
4202 (display-buffer-in-window): Don't undedicate the window if its
4203 buffer remains the same.
4204 Reported by Drew Adams <drew.adams@oracle.com>.
4205 (display-buffer-alist): Add choice for same-window macro
4206 specfier.
4207 (display-buffer): Mention special meaning of LABEL argument in
4208 doc-string. Fix quoting. Don't pop up a new frame even as
4209 fallback.
4210
4211 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
4212
4213 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4214 avoid deleting the current window in some cases (bug#8911).
4215
4216 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4217
4218 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4219 (Bug#8934)
4220
4221 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222
4223 * net/network-stream.el (network-stream-open-starttls):
4224 Use built-in TLS support if `gnutls-available-p' is true.
4225 (network-stream-open-tls): Ditto.
4226
4227 2011-06-26 Leo Liu <sdl.web@gmail.com>
4228
4229 * register.el (registerv): New struct.
4230 (registerv-make): New function.
4231 (jump-to-register, describe-register-1, insert-register):
4232 Support the jump-func, print-func and insert-func slot of a registerv
4233 struct. (Bug#8415)
4234
4235 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
4236
4237 * vc/vc.el (vc-revert-show-diff): New defcustom.
4238 (vc-diff-internal): New arg specifying diff buffer.
4239 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4240 reuse an existing *vc-diff* buffer (Bug#8927).
4241
4242 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4243
4244 2011-06-26 Glenn Morris <rgm@gnu.org>
4245
4246 * progmodes/f90.el (f90-critical-indent): New option.
4247 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4248 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4249 (f90-mode): Doc fix.
4250 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4251 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4252 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4253 (f90-match-end): Handle block, critical.
4254
4255 2011-06-25 Glenn Morris <rgm@gnu.org>
4256
4257 * calendar/diary-lib.el (diary-included-files): Doc fix.
4258 (diary-include-files): New function, extracted from
4259 diary-include-other-diary-files and diary-mark-included-diary-files.
4260 (diary-include-other-diary-files, diary-mark-included-diary-files):
4261 Just call diary-include-files.
4262 (diary-mark-entries): Reset diary-included-files on first call.
4263
4264 * calendar/diary-lib.el (diary-mark-entries)
4265 (diary-mark-included-diary-files):
4266 Visit included diary-files in temp buffers.
4267
4268 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4269 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4270 (f90-start-block-re, f90-imenu-generic-expression)
4271 (f90-looking-at-program-block-start, f90-no-block-limit):
4272 Add support for submodules.
4273
4274 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4275 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
4276
4277 2011-06-25 Eli Zaretskii <eliz@gnu.org>
4278
4279 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4280 buffer-file-type before setting its value, to avoid disastrous
4281 global effects on decoding files for DOS/Windows systems. (Bug#8780)
4282
4283 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
4284
4285 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4286
4287 * ses.el (ses-unload-function):
4288 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4289
4290 * proced.el (proced-unload-function):
4291 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4292
4293 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4294
4295 * server.el (server-create-window-system-frame): Add parameters arg.
4296 (server-process-filter): Doc fix. Handle frame-parameters.
4297
4298 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
4299
4300 Fix bug#8730, bug#8781.
4301
4302 * loadhist.el (unload--set-major-mode): New function.
4303 (unload-feature): Use it.
4304
4305 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4306 (python-unload-function): New function.
4307
4308 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4311
4312 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4313
4314 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4315 the candidates list.
4316
4317 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
4318
4319 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4320
4321 2011-06-23 Richard Stallman <rms@gnu.org>
4322
4323 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4324 (rmail-variables): Set next-error-move-function.
4325 (rmail-what-message): Take argument POS.
4326 (rmail-next-error-move): New function.
4327
4328 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4331 messages for adjacent non-terminals.
4332
4333 2011-06-23 Richard Stallman <rms@gnu.org>
4334
4335 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
4336 (rmail-show-message-1): Preserve buffer modified flag.
4337 (rmail-start-mail): Don't specify use of rmail-mail-return;
4338 that's done by mail-bury now.
4339 (rmail-mail-return): Handle arg NEWBUF.
4340
4341 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4344 SIZE is a number.
4345
4346 2011-06-23 Martin Rudalics <rudalics@gmx.at>
4347
4348 * window.el (get-lru-window, get-mru-window)
4349 (get-largest-window): Never return a minibuffer window.
4350 (display-buffer-pop-up-window): Fix a bug that could lead to
4351 reusing the minibuffer window.
4352 (display-buffer): Pass original specifier argument to
4353 display-buffer-function instead of the normalized one.
4354 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4355
4356 2011-06-22 Leo Liu <sdl.web@gmail.com>
4357
4358 * minibuffer.el (completing-read-function)
4359 (completing-read-default): Move from minibuf.c
4360
4361 2011-06-22 Richard Stallman <rms@gnu.org>
4362
4363 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4364 to Rmail even if not started by a special Rmail command.
4365
4366 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4367 Copy the buffer currently showing just one message.
4368
4369 2011-06-22 Roland Winkler <winkler@gnu.org>
4370
4371 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4372 (bibtex-clean-entry): First delete the old key so that a
4373 customized algorithm for generating the new key does not get
4374 confused by the old key.
4375 (bibtex-url): Obey regexp of first step.
4376 (bibtex-search-entries): Do not use add-to-list with local
4377 list-var.
4378
4379 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4380
4381 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4382 stored a user name, then query for the password first, instead of
4383 waiting for SMTP to give an error message and the trying again.
4384
4385 2011-06-22 Lawrence Mitchell <wence@gmx.li>
4386
4387 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4388 BUFFER in call-process.
4389
4390 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4391
4392 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4393 QUIT twice.
4394 (smtpmail-try-auth-methods): Require user name and password from
4395 auth-source.
4396
4397 2011-06-22 Martin Rudalics <rudalics@gmx.at>
4398
4399 * window.el (display-buffer-default-specifiers)
4400 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4401 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4402 (split-window): Normalize SIDE argument (Bug#8916).
4403
4404 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4405 (special-display-frame-alist, special-display-popup-frame):
4406 Remove duplicate declarations. These are now in window.el.
4407
4408 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4409
4410 * mail/smtpmail.el (smtpmail-via-smtp):
4411 Set :use-starttls-if-possible so that we always use STARTTLS if the
4412 server supports it. SMTP servers that support STARTTLS commonly
4413 require it.
4414
4415 * net/network-stream.el (network-stream-open-starttls): Support
4416 upgrading to STARTTLS always, even if we don't have built-in support.
4417 (open-network-stream): Add the :always-query-capabilies keyword.
4418
4419 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4420 upgrades with `open-network-stream', and rely solely on
4421 auth-source for all credentials. Big changes throughout the file,
4422 but in particular:
4423 (smtpmail-auth-credentials): Remove.
4424 (smtpmail-starttls-credentials): Remove.
4425 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4426 MAIL FROM, too.
4427
4428 * net/network-stream.el (network-stream-open-starttls):
4429 Provide support for client certificates both for external and built-in
4430 STARTTLS.
4431 (auth-source): Require.
4432 (open-network-stream): Document the :client-certificate keyword.
4433 (network-stream-certificate): Change cert-cert to cert and
4434 cert-key to key.
4435
4436 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * net/tramp-cache.el (top): Don't load the persistency file when
4439 "emacs -Q" has been called.
4440
4441 2011-06-21 Tim Harper <timcharper@gmail.com>
4442
4443 * term/ns-win.el (ns-initialize-window-system):
4444 Set application-specific `ApplePressAndHoldEnabled' system
4445 resource to NO as it is not yet supported by the NS port.
4446
4447 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
4448
4449 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4450 (list-dynamic-libraries): ...not here.
4451
4452 2011-06-21 Leo Liu <sdl.web@gmail.com>
4453
4454 * subr.el (sha1): Implement sha1 using secure-hash.
4455
4456 2011-06-21 Martin Rudalics <rudalics@gmx.at>
4457
4458 * window.el (display-buffer-alist): In default value do not
4459 enforce searching a window on any but the selected frame.
4460 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4461 (display-buffer-select-window): Remove function.
4462 (display-buffer-in-window): When a window on another frame gets
4463 reused, do not select it any more but just raise its frame if
4464 necessary (Bug#8851) and (Bug#8856).
4465 (display-buffer-normalize-options): Handle pop-up-frames related
4466 options more faithfully.
4467 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4468 window if it is on another frame.
4469 (display-buffer-alist, display-buffer-default-specifiers):
4470 Don't make new frame unsplittable by default.
4471 (display-buffer-normalize-argument): Fix doc-string typo and use
4472 'same-frame-other-window instead of 'other-window when associating
4473 with display-buffer-macro-specifiers.
4474
4475 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4476
4477 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4478 New functions.
4479 (5x5-mode-map, 5x5-mode-menu): Bind them.
4480 (5x5-draw-grid): Tweak the solver's rendering.
4481
4482 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4485 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4486
4487 2011-06-21 Drew Adams <drew.adams@oracle.com>
4488
4489 * menu-bar.el: Use function variable instead of switch-to-buffer.
4490 (menu-bar-select-buffer-function): New variable.
4491 (menu-bar-update-buffers): Use it (bug#8876).
4492
4493 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4496 variable's status.
4497
4498 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4499
4500 * x-dnd.el (x-dnd-version-from-flags)
4501 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4502 and long as number (Bug#8899).
4503 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4504
4505 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4508 (completion-try-completion, completion-all-completions): Compute the
4509 metadata argument if it's missing; make it optional (bug#8795).
4510
4511 * wid-edit.el: Use lex-bind and move towards completion-at-point.
4512 (widget-complete): Use new :completion-function property.
4513 (widget-completions-at-point): New function.
4514 (default): Use :completion-function instead of :complete.
4515 (widget-default-completions): Rename from widget-default-complete;
4516 Rewrite.
4517 (widget-string-complete, widget-file-complete, widget-color-complete):
4518 Remove functions.
4519 (file, symbol, function, variable, coding-system, color):
4520 * international/mule-cmds.el (default-input-method, charset)
4521 (language-info-custom-alist):
4522 * cus-edit.el (face): Use new property :completions.
4523
4524 * progmodes/pascal.el (pascal-completions-at-point): New function.
4525 (pascal-mode): Use it.
4526 (pascal-mode-map): Use completion-at-point.
4527 (pascal-toggle-completions): Make obsolete.
4528 (pascal-complete-word, pascal-show-completions):
4529 * progmodes/octave-mod.el (octave-complete-symbol):
4530 Redefine as obsolete alias.
4531 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4532 Signal absence of completion info for old Octave,
4533 (inferior-octave-complete): Redefine as obsolete alias.
4534 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4535 (meta-completions-at-point): Rename from meta-complete-symbol and
4536 adapt it for use on completion-at-point-functions.
4537 (meta-common-mode): Use it.
4538 (meta-looking-at-backward, meta-match-buffer): Remove.
4539 (meta-complete-symbol): Redefine as obsolete alias.
4540 (meta-common-mode-map): Use completion-at-point.
4541 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4542 (makefile-mode-map): Use completion-at-point.
4543 (makefile-completions-at-point): Rename from makefile-complete and
4544 adapt it for use on completion-at-point-functions.
4545 (makefile-mode): Use it.
4546 (makefile-complete): Redefine as obsolete alias.
4547
4548 2011-06-20 Deniz Dogan <deniz@dogan.se>
4549
4550 * net/rcirc.el: Delete trailing whitespaces once and for all.
4551
4552 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4553
4554 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4555
4556 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
4557
4558 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4559
4560 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4561
4562 2011-06-19 Martin Rudalics <rudalics@gmx.at>
4563
4564 * window.el (display-buffer-other-window-means-other-frame):
4565 Call display-buffer-normalize-alist.
4566 (display-buffer-normalize-specifiers-1): Rename to
4567 display-buffer-normalize-argument. New argument other-frame.
4568 Rewrite.
4569 (display-buffer-normalize-specifiers-2): Rename to
4570 display-buffer-normalize-options.
4571 (display-buffer-normalize-alist-1): New function.
4572 (display-buffer-normalize-specifiers-3): Rename to
4573 display-buffer-normalize-alist.
4574 Call display-buffer-normalize-alist-1.
4575 (display-buffer-normalize-options-inhibit): New variable.
4576 (display-buffer-normalize-specifiers): Rewrite calling
4577 display-buffer-normalize-alist,
4578 display-buffer-normalize-argument, and
4579 display-buffer-normalize-options. Don't call the latter if
4580 display-buffer-normalize-options-inhibit is non-nil.
4581 (frame-auto-delete): New option.
4582 (window-deletable-p): Use frame-auto-delete.
4583 (window-list-no-nils, window-state-ignored-parameters)
4584 (window-state-get-1, window-state-get, window-state-put-list)
4585 (window-state-put-1, window-state-put-2, window-state-put):
4586 New functions.
4587 (display-buffer-normalize-options): Move special-display-p group
4588 after pop-up-frame group (Bug#8851) and (Bug#8856).
4589
4590 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
4591
4592 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4593 groups (Bug#8776).
4594 (rx-submatch-n): New function.
4595 (rx): Document it.
4596
4597 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4598 (Bug#8768).
4599
4600 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4601
4602 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4603
4604 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4605 anytime existing face settings are present (Bug#8889).
4606
4607 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4608 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4609 Remove unused argument.
4610
4611 2011-06-18 Martin Rudalics <rudalics@gmx.at>
4612
4613 * window.el (display-buffer-default-specifiers):
4614 Remove pop-up-frame. Add pop-up-window-min-height,
4615 pop-up-window-min-width, and another reuse-window specifier
4616 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
4617 (display-buffer-normalize-specifiers-2):
4618 Handle split-height-threshold and split-width-threshold also when
4619 pop-up-windows is unset. Add a reuse-window specifier for the
4620 case popping up a new window fails.
4621 (special-display-popup-frame): Remove double quoting.
4622 (display-buffer-normalize-specifiers-1): Fix thinko.
4623
4624 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4627 according to comint-completion-addsuffix.
4628
4629 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4630 (pcomplete-suffix-list): Mark as obsolete.
4631 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4632 pcomplete-seen in the closure.
4633 (pcomplete-comint-setup): Setup completion-at-point as well.
4634 (pcomplete--entries): New function.
4635 (pcomplete--env-regexp): New var.
4636 (pcomplete-entries): Rewrite to work with partial-completion and
4637 without relying on pcomplete-suffix-list.
4638 (pcomplete-pare-list): Remove, unused.
4639
4640 2011-06-17 Martin Rudalics <rudalics@gmx.at>
4641
4642 * window.el (display-buffer-alist): Set pop-up-window-min-height
4643 and pop-up-window-min-width in default value. Reported by
4644 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4645 other-window-means-other-frame.
4646 (display-buffer-macro-specifiers): Comment out entry for
4647 other-window specifier.
4648 (display-buffer-other-window-means-other-frame): New function.
4649 (display-buffer-normalize-specifiers-1): New arguments
4650 buffer-name and label. Treat other-window case specially.
4651 (display-buffer-normalize-specifiers-2): Treat other-window case
4652 specially.
4653 (display-buffer-normalize-specifiers-3): New function.
4654 (display-buffer-normalize-specifiers):
4655 Call display-buffer-normalize-specifiers-3.
4656
4657 2011-06-17 Martin Rudalics <rudalics@gmx.at>
4658
4659 * window.el (same-window-p): Fix two typos introduced when
4660 adding with-no-warnings.
4661 (display-buffer-normalize-specifiers-1): Don't check
4662 pop-up-frames for 'unset initialization.
4663 (display-buffer-normalize-specifiers-2): Major rewrite using
4664 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4665 (pop-up-frames, display-buffer-reuse-frames)
4666 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4667 Suggested by David Engster <deng@randomsample.de>.
4668 (even-window-heights): Initialize to 'unset.
4669 (display-buffer-alist-set): Handle new 'unset initializations.
4670 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4671 other window case.
4672
4673 2011-06-16 Martin Rudalics <rudalics@gmx.at>
4674
4675 * window.el (display-buffer-normalize-specifiers-1):
4676 Respect current value of pop-up-frames for most reasonable values of
4677 second argument of display-buffer (Bug#8865).
4678 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4679 (switch-to-buffer-other-window-same-frame)
4680 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4681 Adams (Bug#8875).
4682 (display-buffer): Don't check noninteractive when calling
4683 display-buffer-pop-up-frame.
4684 (display-buffer-pop-up-frame): Never pop up a frame in
4685 noninteractive mode (Bug#8857).
4686 (enlarge-window, shrink-window): Don't report an error when the
4687 window can't be resized as requested (Bug#8862).
4688
4689 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4692
4693 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4694
4695 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4696
4697 2011-06-15 Alan Mackenzie <acm@muc.de>
4698
4699 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4700 for declarators, disable knr checking to speed up for normal files.
4701 2: Refactor, replacing a sequence of nested if forms by a cond form.
4702
4703 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4704
4705 * net/network-stream.el (open-network-stream): Add the keyword
4706 :always-query-capabilities for the case where you want to force a
4707 `plain' network connection, but the protocol still requires the
4708 capabilitiy command (i.e., SMTP and EHLO).
4709
4710 * subr.el (process-live-p): Rename from `process-alive-p' for
4711 consistency with other `-live-p' functions.
4712
4713 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * window.el (same-window-buffer-names, same-window-regexps)
4716 (special-display-frame-alist, special-display-popup-frame)
4717 (special-display-function, special-display-buffer-names)
4718 (special-display-regexps, pop-up-frame-alist)
4719 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4720 (pop-up-windows, split-window-preferred-function)
4721 (split-height-threshold, split-width-threshold, even-window-heights)
4722 (display-buffer-mark-dedicated): Don't encourage the use of
4723 display-buffer-alist from Elisp code.
4724
4725 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4726
4727 * progmodes/python.el (python-mode): Derive from prog-mode.
4728 * progmodes/ps-mode.el (ps-mode):
4729 * progmodes/mixal-mode.el (mixal-mode):
4730 * progmodes/cfengine.el (cfengine-mode):
4731 * progmodes/ld-script.el (ld-script-mode): Likewise.
4732
4733 2011-06-15 Martin Rudalics <rudalics@gmx.at>
4734
4735 * window.el (display-buffer-alist): Trim default value to avoid
4736 popping up a new frame (Bug#8857) or reusing an arbitrary window
4737 on another frame.
4738 (display-buffer): Do not fall back on popping up a new frame in
4739 batch mode (Bug#8857).
4740
4741 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
4742
4743 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4744 (custom-theme-summary): New function.
4745 (customize-themes): Use it.
4746
4747 2011-06-13 Glenn Morris <rgm@gnu.org>
4748
4749 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4750
4751 2011-06-13 Martin Rudalics <rudalics@gmx.at>
4752
4753 * help.el (help-window): Remove variable.
4754 (help-window-point-marker, temp-buffer-max-height)
4755 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4756 (help-print-return-message): Don't set help-window.
4757 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4758 (help-window-setup-finish): Remove.
4759 (help-window-display-message, help-window-setup)
4760 (with-help-window): Major rewrite based on new
4761 display-buffer-window variable.
4762
4763 * help-mode.el (help-mode-finish): Remove help-window related
4764 code.
4765
4766 * view.el (view-exits-all-viewing-windows): Remove reference to
4767 view-return-to-alist in doc-string.
4768 (view-return-to-alist): Make obsolete.
4769 (view-buffer): Call pop-to-buffer-same-window and remove
4770 undo-window code.
4771 (view-buffer-other-window): Call pop-to-buffer-other-window and
4772 simplify code. Ignore second argument.
4773 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4774 simplify code. Ignore second argument.
4775 (view-return-to-alist-update): Make obsolete.
4776 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4777 Rewrite using quit-restore window parameters.
4778 (view-mode-exit): Rename second argument to EXIT-ONLY.
4779 Rewrite using quit-restore-window.
4780 (View-exit, View-exit-and-edit, View-leave, View-quit)
4781 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4782 appropriate arguments.
4783 (view-end-message): Use quit-restore window parameter.
4784
4785 * window.el (display-buffer-function): Rewrite doc-string.
4786 (display-buffer-window, display-buffer-alist): New variables.
4787 (display-buffer-split-specifiers)
4788 (display-buffer-side-specifiers)
4789 (display-buffer-macro-specifiers): New constants.
4790 (display-buffer-even-window-sizes, display-buffer-set-height)
4791 (display-buffer-set-width, display-buffer-select-window)
4792 (display-buffer-in-window, display-buffer-reuse-window)
4793 (display-buffer-split-window-1, display-buffer-split-window)
4794 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4795 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4796 (display-buffer-in-side-window, normalize-buffer-to-display)
4797 (display-buffer-normalize-specifiers-1)
4798 (display-buffer-normalize-specifiers-2)
4799 (display-buffer-normalize-specifiers, display-buffer-frame):
4800 New functions.
4801 (display-buffer): Major rewrite.
4802 (display-buffer-other-window, display-buffer-other-frame)
4803 (pop-to-buffer, switch-to-buffer-other-window)
4804 (switch-to-buffer-other-frame): Rewrite.
4805 (display-buffer-same-window, display-buffer-same-frame)
4806 (display-buffer-same-frame-other-window)
4807 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4808 (pop-to-buffer-other-window)
4809 (pop-to-buffer-same-frame-other-window)
4810 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4811 (switch-to-buffer-other-window-same-frame): New functions.
4812 (same-window-p, special-display-p): Rewrite disabling warnings.
4813 Make obsolete.
4814 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4815 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4816 Make obsolete
4817 (same-window-buffer-names, same-window-regexps)
4818 (special-display-frame-alist, special-display-popup-frame)
4819 (special-display-function, special-display-buffer-names)
4820 (special-display-regexps, pop-up-frame-alist)
4821 (pop-up-frame-function, split-window-preferred-function)
4822 (split-height-threshold, split-width-threshold)
4823 (even-window-heights): Make obsolete.
4824
4825 2011-06-12 Glenn Morris <rgm@gnu.org>
4826
4827 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
4828 Misc simplifications.
4829
4830 2011-06-12 Martin Rudalics <rudalics@gmx.at>
4831
4832 * window.el (window-safely-shrinkable-p): Restore function which
4833 was inadvertently removed in change from 2011-06-11. Declare as
4834 obsolete.
4835
4836 * calendar/calendar.el (calendar-generate-window):
4837 Use window-iso-combined-p instead of combination of one-window-p and
4838 window-safely-shrinkable-p.
4839
4840 2011-06-12 Glenn Morris <rgm@gnu.org>
4841
4842 * progmodes/fortran.el (fortran-mode-syntax-table):
4843 * progmodes/f90.el (f90-mode-syntax-table):
4844 Set % to punctuation. (Bug#8820)
4845 (f90-find-tag-default): Remove, no longer needed.
4846
4847 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4848
4849 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4850
4851 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
4852
4853 * image.el (image-animated-p): Return animation delay in seconds.
4854 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4855 (image-animate-timeout): Remove DELAY argument. Don't assume
4856 every subimage has the same delay; get it from image-animated-p.
4857 (image-animate): Caller changed.
4858
4859 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
4860
4861 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4862 to ignored backtrace functions.
4863
4864 2011-06-11 Glenn Morris <rgm@gnu.org>
4865
4866 * calendar/appt.el (appt-disp-window-function): Doc fix.
4867 (appt-check): Handle overlapping appointments. (Bug#8337)
4868
4869 2011-06-11 Martin Rudalics <rudalics@gmx.at>
4870
4871 * window.el (window-tree-1, window-tree): New functions, moving
4872 the latter to window.el.
4873 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4874 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4875 (bw-refresh-edges): Remove.
4876 (balance-windows-1, balance-windows-2): New functions.
4877 (balance-windows): Rewrite in terms of window tree functions,
4878 balance-windows-1 and balance-windows-2.
4879 (bw-adjust-window): Remove.
4880 (balance-windows-area-adjust): New function with functionality of
4881 bw-adjust-window but using resize-window.
4882 (set-window-text-height): Rewrite doc-string.
4883 Use normalize-live-window and resize-window.
4884 (enlarge-window-horizontally, shrink-window-horizontally):
4885 Rename argument to DELTA.
4886 (window-buffer-height): New function.
4887 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4888 Rewrite using new window resize routines.
4889 (kill-buffer-and-window, mouse-autoselect-window-select):
4890 Use ignore-errors instead of condition-case.
4891 (quit-window): Call delete-frame instead of delete-windows-on
4892 for the only buffer on frame.
4893
4894 2011-06-10 Martin Rudalics <rudalics@gmx.at>
4895
4896 * loadup.el (top-level): Load window before files for the sake
4897 of replace-buffer-in-windows.
4898
4899 * files.el (read-buffer-to-switch)
4900 (switch-to-buffer-other-window)
4901 (switch-to-buffer-other-frame, display-buffer-other-frame):
4902 Move to window.el.
4903
4904 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4905 (previous-buffer): Move to window.el.
4906
4907 * bindings.el (unbury-buffer): Move to window.el.
4908
4909 * window.el (delete-other-windows-vertically): Move after
4910 definition of delete-other-windows.
4911 (other-window, delete-windows-on, replace-buffer-in-windows):
4912 Move here from window.c.
4913 (record-window-buffer, unrecord-window-buffer)
4914 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4915 (switch-to-next-buffer): New functions.
4916 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4917 from simple.el. Call switch-to-next-buffer.
4918 (previous-buffer): Move here from simple.el.
4919 Call switch-to-prev-buffer.
4920 (bury-buffer): Move here from buffer.c. Switch to previous
4921 buffer when window cannot be deleted.
4922 (unbury-buffer): Move here from bindings.el.
4923 (ctl-x-map): Move binding for other-window from window.c to
4924 here.
4925 (read-buffer-to-switch, switch-to-buffer-other-window)
4926 (switch-to-buffer-other-frame): Move here from files.el.
4927 (normalize-buffer-to-switch-to): New functions.
4928 (switch-to-buffer): Move here from buffer.c.
4929 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
4930
4931 2011-06-10 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (window-min-height, window-min-width): Move here
4934 from window.c. Add defcustoms and rewrite doc-strings.
4935 (resize-mini-window, resize-window): New functions.
4936 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4937 Move here from window.c.
4938 (maximize-window, minimize-window): New functions.
4939 (delete-window, delete-other-windows, split-window): Move here
4940 from window.c.
4941 (window-split-min-size): New function.
4942 (split-window-keep-point): Mention split-window-above-each-other
4943 instead of split-window-vertically.
4944 (split-window-above-each-other, split-window-vertically):
4945 Rename split-window-vertically to split-window-above-each-other and
4946 provide defalias for old definition.
4947 (split-window-side-by-side, split-window-horizontally): Rename
4948 split-window-horizontally to split-window-side-by-side and provide
4949 defalias for the old definition.
4950 (ctl-x-map): Move bindings for delete-window,
4951 delete-other-windows and enlarge-window here from window.c.
4952 Replace bindings for split-window-vertically and
4953 split-window-horizontally by bindings for
4954 split-window-above-each-other and split-window-side-by-side.
4955
4956 * cus-start.el (all): Remove entries for window-min-height and
4957 window-min-width. Add entries for window-splits and
4958 window-nest.
4959
4960 2011-06-09 Glenn Morris <rgm@gnu.org>
4961
4962 * calendar/appt.el (appt-mode-line): New function.
4963 (appt-check, appt-disp-window): Use it.
4964
4965 * files.el (hack-one-local-variable-eval-safep):
4966 Allow minor-modes with explicit +/-1 arguments.
4967
4968 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4969
4970 * term/xterm.el (xterm): Add defgroup.
4971 (xterm-extra-capabilities): Add defcustom to supply known xterm
4972 capabilities, skip querying them, or query them (default).
4973 (terminal-init-xterm): Use it.
4974 (terminal-init-xterm-modify-other-keys): New function to set up
4975 modifyOtherKeys support to simplify `terminal-init-xterm'.
4976
4977 2011-06-09 Martin Rudalics <rudalics@gmx.at>
4978
4979 * window.el (resize-window-reset, resize-window-reset-1)
4980 (resize-subwindows-skip-p, resize-subwindows-normal)
4981 (resize-subwindows, resize-other-windows, resize-this-window)
4982 (resize-root-window, resize-root-window-vertically)
4983 (window-deletable-p, window-or-subwindow-p)
4984 (frame-root-window-p): New functions.
4985
4986 2011-06-09 Glenn Morris <rgm@gnu.org>
4987
4988 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4989 (ange-ftp-get-files): Use it.
4990
4991 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4992
4993 * mail/sendmail.el (mail-recover-1, mail-recover):
4994 * files.el (recover-file, recover-session):
4995 Handle dired-listing-switches not being just a single short option.
4996
4997 2011-06-09 Glenn Morris <rgm@gnu.org>
4998
4999 * calendar/appt.el (appt-display-message, appt-disp-window):
5000 Handle lists of appointments.
5001
5002 2011-06-08 Martin Rudalics <rudalics@gmx.at>
5003
5004 * window.el (one-window-p): Move down in code.
5005 Rewrite doc-string.
5006 (window-current-scroll-bars): Rewrite doc-string.
5007 Normalize live window argument.
5008 (walk-windows, get-window-with-predicate, count-windows):
5009 Rewrite doc-string. Use window-list-1.
5010 (window-in-direction-2, window-in-direction, get-mru-window):
5011 New functions.
5012
5013 2011-06-08 Reuben Thomas <rrt@sc3d.org>
5014
5015 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5016 Doc fix (Bug#8713).
5017
5018 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
5019
5020 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5021
5022 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
5023
5024 * loadhist.el (unload-feature-special-hooks):
5025 Add `comint-output-filter-functions'.
5026
5027 2011-06-08 Ivan Kanis <gnu@kanis.fr>
5028
5029 * calendar/appt.el (appt-check): Move some initializations into the let.
5030
5031 2011-06-08 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (window-height): Defalias to window-total-height.
5034 (window-width): Defalias to window-body-width.
5035
5036 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
5037
5038 * image-mode.el (image-toggle-animation): New command.
5039 (image-mode-map): Bind it to RET.
5040 (image-mode): Update message.
5041 (image-toggle-display-image): Avoid a spurious cache flush.
5042 (image-transform-rotation): Doc fix.
5043 (image-transform-properties): Return quickly in the normal case.
5044 (image-animate-loop): Rename from image-animate-max-time.
5045
5046 * image.el (image-animate-max-time): Move to image-mode.el.
5047 (create-animated-image): Remove unnecessary function.
5048 (image-animate): Rename from image-animate-start. New arg.
5049 (image-animate-stop): Remove; just use image-animate-timer.
5050 (image-animate-timer): Use car-safe.
5051 (image-animate-timeout): Rename argument.
5052
5053 2011-06-07 Martin Rudalics <rudalics@gmx.at>
5054
5055 * window.el (get-lru-window, get-largest-window): Move here from
5056 window.c. Rename first argument to ALL-FRAMES.
5057 Rephrase doc-strings.
5058 (get-buffer-window-list): Rewrite using window-list-1.
5059 Rephrase doc-string.
5060 (window-safe-min-height, window-safe-min-width): New constants.
5061 (window-size-ignore, window-min-size, window-min-size-1)
5062 (window-sizable, window-sizable-p, window-size-fixed-1)
5063 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5064 (window-max-delta-1, window-max-delta, window-resizable)
5065 (window-resizable-p, window-total-height, window-total-width)
5066 (window-body-width): New functions.
5067 (window-full-height-p, window-full-width-p): Rewrite using
5068 window-total-size.
5069 (window-body-height): Rewrite using window-body-size.
5070
5071 2011-06-06 Martin Rudalics <rudalics@gmx.at>
5072
5073 * window.el (window-right, window-left, window-child)
5074 (window-child-count, window-last-child, window-any-p)
5075 (normalize-live-buffer, normalize-live-frame)
5076 (normalize-any-window, normalize-live-window)
5077 (window-iso-combination-p, window-iso-combined-p)
5078 (window-iso-combinations)
5079 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5080 (windows-with-parameter, window-with-parameter)
5081 (window-atom-root, make-window-atom, window-atom-check-1)
5082 (window-atom-check, window-side-check, window-check):
5083 New functions.
5084 (ignore-window-parameters, window-sides, window-sides-vertical)
5085 (window-sides-slots): New variables.
5086 (window-size-fixed): Move down in code. Minor doc-string fix.
5087
5088 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5089
5090 * comint.el (comint-dynamic-complete-as-filename)
5091 (comint-dynamic-complete-filename): Correctly call
5092 completion-in-region.
5093
5094 2011-06-05 Deniz Dogan <deniz@dogan.se>
5095
5096 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5097 in last change.
5098
5099 2011-06-05 Deniz Dogan <deniz@dogan.se>
5100
5101 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5102 (rcirc): Use it to prompt for encryption.
5103
5104 2011-06-05 Roland Winkler <winkler@gnu.org>
5105
5106 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5107 (bibtex-search-entries): New command bound to C-c C-a.
5108 (bibtex-display-entries): New function.
5109
5110 2011-06-05 Roland Winkler <winkler@gnu.org>
5111
5112 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5113 (bibtex-insert-kill): After yanking insert newline if necessary.
5114 (bibtex-initialize): Call bibtex-string-files-init only once.
5115 (bibtex-mode): Do not call easy-menu-add.
5116 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5117 (bibtex-yank): Set arg properly if nil.
5118
5119 2011-06-05 Roland Winkler <winkler@gnu.org>
5120
5121 * textmodes/bibtex.el (bibtex-search-entry-globally):
5122 New variable.
5123 (bibtex-search-entry): Use it.
5124
5125 2011-06-05 Roland Winkler <winkler@gnu.org>
5126
5127 * textmodes/bibtex.el (bibtex-entry-format): New option
5128 sort-fields.
5129 (bibtex-format-entry, bibtex-reformat): Honor this option.
5130 (bibtex-parse-entry): Return fields in proper order.
5131
5132 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
5133
5134 * doc-view.el (doc-view-remove-if): Move computation of result out
5135 of `dolist' to silence misleading lexical-binding warning.
5136
5137 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
5138
5139 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5140 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5141
5142 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
5143
5144 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5145 "SunOS 5.10".
5146
5147 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
5148
5149 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5150 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5151 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5152 (tramp-parse-putty):
5153 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5154 (tramp-completion-function-alist-ssh)
5155 (tramp-completion-function-alist-telnet)
5156 (tramp-completion-function-alist-su)
5157 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5158 cookie.
5159
5160 * net/tramp-ftp.el:
5161 * net/tramp-sh.el:
5162 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5163 load "tramp.el" `tramp-set-completion-function'.
5164
5165 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * shell.el: Require and use pcomplete.
5168 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5169 (shell-completion-vars): Set pcomplete-default-completion-function.
5170
5171 2011-06-04 Deniz Dogan <deniz@dogan.se>
5172
5173 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5174 `memq' (Bug#8799).
5175
5176 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5179
5180 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
5181
5182 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5183 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5184 * vc/log-view.el (log-view-beginning-of-defun):
5185 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5186 (smerge-refine-forward, smerge-refine-chopup-region):
5187 Silence warning for unused `dotimes' counter variables.
5188
5189 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * net/tramp.el (tramp-with-progress-reporter): Rename from
5192 with-progress-reporter. Use `declare'.
5193 * net/tramp-smb.el:
5194 * net/tramp-sh.el:
5195 * net/tramp-gvfs.el: Update all uses.
5196
5197 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5198
5199 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5200 buffer isn't killed before making it current.
5201
5202 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 Silence various byte-compiler warnings.
5205 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5206 `access-type' and new obsolescence format.
5207 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5208 new format.
5209 (byte-compile-check-variable): New `access-type' argument.
5210 Only warn if the access-type is obsolete.
5211 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5212 (byte-compile-variable-set): Adjust callers.
5213 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5214 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5215 setting it as obsolete.
5216 * simple.el (minibuffer-completing-symbol):
5217 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5218 access as obsolete.
5219 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5220 obsolete yet.
5221 * international/quail.el (quail-mouse-choose-completion): Remove unused
5222 code referring to obsolete var.
5223 (quail-choose-completion-string): Remove.
5224 * server.el (server-clients-with, server-kill-buffer-query-function)
5225 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5226 * proced.el (proced-send-signal):
5227 * emacs-lisp/lisp.el (lisp-complete-symbol):
5228 Replace completion-annotate-function with completion-extra-properties.
5229
5230 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * simple.el (goto-line): Use read-number.
5233 (overriding-map-is-bound): Remove.
5234 (saved-overriding-map): Change default.
5235 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5236 Take the map as argument.
5237 (universal-argument, negative-argument, digit-argument): Use it.
5238 (restore-overriding-map): Adjust.
5239 (do-auto-fill): Use fill-forward-paragraph.
5240 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5241
5242 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5243 (minibuffer-inactive-mode): New major mode.
5244 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5245 the *Messages* buffer" hack.
5246 (mouse-popup-menubar): Don't burp if the event is a normal key.
5247
5248 Miscellaneous tweaks.
5249 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5250 lexical scoping as in subr.el's dolist and dotimes.
5251 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5252 Silence compiler warning.
5253 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5254 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5255 * international/ccl.el (ccl-compile): Trivial simplification.
5256 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5257 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5258 `printflag' argument.
5259 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5260 Purecopy the whole obsolescence data.
5261
5262 2011-06-01 Leo Liu <sdl.web@gmail.com>
5263
5264 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5265 improve doc-string as suggested by Marco Pessotto
5266 <melmothx@gmail.com>.
5267 (rcirc-print): Fix last change.
5268
5269 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * minibuffer.el (complete-with-action): Return nil for the metadata and
5272 boundaries of non-functional tables.
5273 (completion-table-dynamic): Return nil for the metadata.
5274 (completion-table-with-terminator): Add default case, using
5275 complete-with-action.
5276 (completion--metadata): New function.
5277 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5278 to try and avoid pathological performance problems.
5279 (completion--embedded-envvar-table): Return `category' metadata.
5280
5281 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5282
5283 * subr.el (process-alive-p): New tiny convenience function.
5284
5285 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5288 content but also its previous major mode.
5289
5290 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
5291
5292 * emacs-lisp/debug.el (debug): Restore the previous content of the
5293 *Backtrace* buffer when we exit with C-M-c.
5294
5295 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * minibuffer.el: Add metadata method to completion tables.
5298 (completion-category-overrides): New defcustom.
5299 (completion-metadata, completion--field-metadata)
5300 (completion-metadata-get, completion--styles)
5301 (completion--cycle-threshold): New functions.
5302 (completion-try-completion, completion-all-completions):
5303 Add `metadata' argument to choose completion-styles.
5304 (completion--do-completion): Use metadata to choose cycling.
5305 (completion-all-sorted-completions): Use metadata for sorting.
5306 Remove :completion-cycle-penalty which is not needed any more.
5307 (completion--try-word-completion): Add `metadata' argument.
5308 (minibuffer-completion-help): Check metadata for annotation function
5309 and sorting.
5310 (completion-file-name-table): Return `category' metadata.
5311 (minibuffer-completing-file-name): Make obsolete.
5312 * simple.el (minibuffer-completing-symbol): Make obsolete.
5313 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5314 completion-try-completion.
5315
5316 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5319
5320 2011-05-30 Leo Liu <sdl.web@gmail.com>
5321
5322 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5323 (rcirc-print): Decode all incoming messages (bug#8744).
5324 (rcirc-decode-coding-system): Allow value nil for automatic coding
5325 system detection.
5326
5327 2011-06-01 Glenn Morris <rgm@gnu.org>
5328
5329 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5330
5331 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5332
5333 * image.el (image-animate-max-time): Allow nil and t values.
5334 Default to nil.
5335 (create-animated-image): Doc fix.
5336 (image-animate-start): Remove second arg; just use
5337 image-animate-max-time.
5338 (image-animate-timeout): Doc fix. Args changed.
5339
5340 * image-mode.el (image-toggle-display-image): Ensure that the
5341 image spec passed to the animate timer is the same object as in
5342 the the buffer's display property (Bug#6981).
5343 (image-transform-properties): Doc fix.
5344
5345 * image.el (image-animate-max-time): Default to nil.
5346
5347 2011-05-29 Martin Rudalics <rudalics@gmx.at>
5348
5349 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5350 entire buffer list (Bug#8184).
5351
5352 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5353
5354 * image.el (imagemagick-types-inhibit)
5355 (imagemagick-register-types): Doc fix.
5356
5357 2011-05-29 Deniz Dogan <deniz@dogan.se>
5358
5359 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5360 default.
5361
5362 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5363
5364 * select.el: Don't perform clipboard-manager saving in hooks;
5365 leave the hooks empty.
5366
5367 2011-05-28 Leo Liu <sdl.web@gmail.com>
5368
5369 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5370 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5371 (occur-edit-mode): New major mode (Bug#8463).
5372 (occur-after-change-function): New function.
5373 (occur-engine): Give Occur tags a read-only property.
5374
5375 2011-05-28 Kevin Ryde <user42@zip.com.au>
5376
5377 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5378
5379 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5380
5381 * bindings.el (help-echo): Make the initial non-indicator dash
5382 empty on graphical terminals (Bug#7295).
5383
5384 * files.el (auto-mode-alist): Move config rule after the
5385 in-stripping one (Bug#8547).
5386
5387 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5388
5389 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5390 setting (Bug#8740).
5391
5392 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5393
5394 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5395 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5396 (Bug#8539).
5397
5398 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5399
5400 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5401
5402 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5403
5404 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5405 (hs-hide-block-at-point, hs-find-block-beginning)
5406 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5407 (Bug#8279).
5408
5409 2011-05-28 Glenn Morris <rgm@gnu.org>
5410
5411 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5412
5413 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5414
5415 * help-fns.el (describe-function-1): If the function is a derived
5416 major mode, print the parent mode.
5417
5418 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5419 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5420
5421 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * minibuffer.el (completion--capf-wrapper): Check applicability before
5424 retuning non-nil for non-exclusive completion data.
5425 * progmodes/etags.el (tags-completion-at-point-function):
5426 * info-look.el (info-lookup-completions-at-point): Mark as
5427 non-exclusive.
5428 (info-complete): Adjust accordingly.
5429
5430 * info-look.el: Convert to lexical-binding and completion-at-point.
5431 (info-lookup-completions-at-point): New function.
5432 (info-complete): Use it and completion-in-region.
5433
5434 2011-05-28 Drew Adams <drew.adams@oracle.com>
5435
5436 * isearch.el: Let M-e start with point at the first mismatched char.
5437 (isearch-fail-pos): New function.
5438 (isearch-edit-string): Use it.
5439
5440 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5441
5442 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5443
5444 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5445
5446 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5447 traversal functions for avl-trees.
5448 (avl-tree--stack): New struct.
5449 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5450 (avl-tree-enter): Add optional `updatefun' arg.
5451 (avl-tree--do-enter): Add optional `updatefun' arg.
5452 Change return value.
5453 (avl-tree-delete): Add optional `test' and `nilflag' args.
5454 (avl-tree--do-delete): Add `test' and `nilflag' args.
5455 Change return value.
5456 (avl-tree-member): Add optional `nilflag'
5457 (avl-tree-member-p): New function.
5458 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5459 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5460 (avl-tree-stack-empty-p): New functions.
5461
5462 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5463
5464 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5465 avl-tree--del-balance1 and make it work both ways.
5466 (avl-tree--del-balance2): Remove.
5467 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5468 make it work both ways.
5469 (avl-tree--enter-balance2): Remove.
5470 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5471 New macros.
5472 (avl-tree--mapc, avl-tree-map): Add direction argument.
5473
5474 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
5475
5476 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5477
5478 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
5479
5480 * select.el: Support clipboard managers with built-in function
5481 x-clipboard-manager-save, via delete-frame-functions and
5482 kill-emacs-hook.
5483 (xselect-convert-to-targets): Add MULTIPLE target to list.
5484 (xselect-convert-to-save-targets): New function.
5485
5486 2011-05-27 Kenichi Handa <handa@m17n.org>
5487
5488 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5489 let-binding rfc2047-encode-encoded-words to nil.
5490
5491 2011-05-27 Glenn Morris <rgm@gnu.org>
5492
5493 * mail/emacsbug.el: Don't require url-util.
5494
5495 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5496
5497 * files.el (set-auto-mode):
5498 Also respect mode: entries at the end of the file. (Bug#8586)
5499
5500 2011-05-26 Glenn Morris <rgm@gnu.org>
5501
5502 * files.el (hack-local-variables-prop-line, hack-local-variables):
5503 Downcase mode names, as seems to be traditional.
5504 (hack-local-variables, hack-local-variables-apply): Doc fixes.
5505
5506 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5507 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5508
5509 2011-05-25 Julien Danjou <julien@danjou.info>
5510
5511 * textmodes/rst.el (rst-define-level-faces): Do not define face
5512 symbol if it is already defined.
5513
5514 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5515
5516 * play/5x5.el (5x5-new-game, 5x5-randomize):
5517 Reset 5x5-solver-output to nil when a new grid is cast.
5518 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5519 these debugging traces, as defmacro breaks the compiled code.
5520
5521 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5522
5523 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5524
5525 2011-05-24 Leo Liu <sdl.web@gmail.com>
5526
5527 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5528 (vc-bzr-sha1): Adapt.
5529
5530 * sha1.el: Remove. Function `sha1' is now builtin.
5531
5532 * bindings.el: Provide sha1 feature.
5533
5534 2011-05-24 Kenichi Handa <handa@m17n.org>
5535
5536 * mail/sendmail.el: Require `rfc2047'.
5537 (mail-insert-from-field): Do not perform RFC2047 encoding.
5538 (mail-encode-header): New function.
5539 (sendmail-send-it): Set buffer-file-coding-system of the work
5540 buffer to the return value of select-message-coding-system.
5541 Call mail-encode-header.
5542
5543 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5544
5545 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
5546
5547 * mail/supercite.el (sc-default-cite-frame):
5548 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
5549
5550 2011-05-24 Glenn Morris <rgm@gnu.org>
5551
5552 * progmodes/python.el (brm-menu): Declare.
5553
5554 * emulation/viper.el (viper-set-hooks): Declare.
5555
5556 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5557 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5558 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5559 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5560 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5561 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5562
5563 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 Add an :exit-function for completion-at-point.
5566
5567 * minibuffer.el (completion--done): New fun.
5568 (completion--do-completion): Use it. New arg `expect-exact'.
5569 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5570 since completion--do-completion does it for us now.
5571 (minibuffer-force-complete): Use completion--done and
5572 completion--replace. Handle sole-completion case with more care.
5573 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5574 (completion-extra-properties): New var.
5575 (completion-annotate-function): Make obsolete.
5576 (minibuffer-completion-help): Adjust accordingly.
5577 Use completion-list-insert-choice-function.
5578 (completion-at-point, completion-help-at-point):
5579 Bind completion-extra-properties.
5580 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5581 * simple.el (completion-list-insert-choice-function): New var.
5582 (completion-setup-function): Preserve it.
5583 (choose-completion): Pay attention to it, shuffle the code a bit.
5584 (choose-completion-string): New arg `insert-function'.
5585
5586 * textmodes/bibtex.el: Convert to lexical binding.
5587 (bibtex-mode-map): Use completion-at-point.
5588 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5589 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5590 (bibtex-complete): Define as obsolete alias.
5591 (bibtex-complete-internal): Remove.
5592 (bibtex-format-entry): Remove unused sub-group in regexp.
5593 * shell.el (shell--command-completion-data)
5594 (shell-environment-variable-completion):
5595 * pcomplete.el (pcomplete-completions-at-point):
5596 * comint.el (comint--complete-file-name-data): Use :exit-function
5597 instead of completion-table-with-terminator so it also works for
5598 choose-completion.
5599
5600 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5603
5604 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5605 (bug#8710).
5606
5607 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5608
5609 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5610
5611 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5612 customization variable and implement: If non-nil, auto-fill will
5613 be inhibited while on topic's header line.
5614
5615 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5616
5617 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
5618 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
5619 always have a solution in grid size = 5 cases.
5620 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5621 (5x5-solver-output, 5x5-log-buffer): New vars.
5622 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5623 Make these variables buffer local to achieve 5x5 multi-session-ness.
5624 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5625 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5626 (5x5-solve-suggest): New funs.
5627 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5628 randomize a grid so that we ensure that there is always a solution.
5629 (5x5-make-random-grid): Allow other movement than flipping.
5630
5631 2011-05-23 Kevin Ryde <user42@zip.com.au>
5632
5633 * emacs-lisp/advice.el (ad-read-advised-function):
5634 Use `function-called-at-point' as the default default, if it has
5635 advice and passes PREDICATE.
5636
5637 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5638
5639 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5640 byte-compile-lambda if it's actually a lambda.
5641
5642 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5643 Fix function quoting. Use backquote better.
5644
5645 2011-05-22 Yuanle Song <sylecn@gmail.com>
5646
5647 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5648 matching (Bug#8516).
5649
5650 2011-01-22 Jari Aalto <jari.aalto@cante.net>
5651
5652 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5653 different face (Bug#8178).
5654
5655 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
5656
5657 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5658 defface (Bug#8144).
5659
5660 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5662 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5663 funcall as well (bug#8712). Warn when performing those conversions.
5664 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5665
5666 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5667
5668 2011-05-22 Glenn Morris <rgm@gnu.org>
5669
5670 * files.el (hack-local-variables-prop-line): Small simplifications.
5671 (hack-local-variables, hack-local-variables-prop-line):
5672 If MODE-ONLY, return the mode, rather than just `t'.
5673
5674 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5677
5678 2011-05-21 Glenn Morris <rgm@gnu.org>
5679
5680 * files.el (hack-local-variables-prop-line, hack-local-variables):
5681 If only interested in the mode, don't bother doing the other stuff.
5682
5683 * image-mode.el (image-after-revert-hook):
5684 Redraw all frames on which the image is visible. (Bug#8567)
5685
5686 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5687
5688 * wid-edit.el (widget-checklist-match-inline):
5689 Fix 2011-04-19 change. (Bug#8649)
5690
5691 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5694 Also allow singlespace after single-letter capitals followed by a dot.
5695
5696 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5697 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5698
5699 2011-05-20 Nix <nix@esperi.org.uk>
5700
5701 * files.el (basic-save-buffer-2):
5702 Fix handling of break-hardlink-on-save with non-existent files.
5703
5704 2011-05-19 Deniz Dogan <deniz@dogan.se>
5705
5706 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
5707 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
5708
5709 2011-05-19 Glenn Morris <rgm@gnu.org>
5710
5711 * progmodes/f90.el (f90-type-def-re):
5712 Handle "type, bind(c)". (Bug#8691)
5713
5714 * emacs-lisp/autoload.el (batch-update-autoloads):
5715 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5716
5717 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
5718
5719 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5720 property for the correct connection in case of multihops.
5721
5722 2011-05-18 Glenn Morris <rgm@gnu.org>
5723
5724 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
5725 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5726
5727 Rationalize calendar handling of day and month abbrev-arrays.
5728 * calendar/calendar.el (calendar-customized-p): New function.
5729 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5730 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5731 Add :set function.
5732 (calendar-abbrev-length, calendar-day-abbrev-array)
5733 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5734 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5735 Elements may no longer be nil.
5736 (calendar-day-name, calendar-month-name):
5737 Update for changed nature of abbrev arrays.
5738 * calendar/diary-lib.el (diary-name-pattern):
5739 Update for changed nature of abbrev arrays.
5740 (diary-mark-entries-1): Update calendar-make-alist calls.
5741 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5742 * calendar/cal-html.el (cal-html-day-abbrev-array):
5743 Simply inherit from calendar-day-abbrev-array.
5744
5745 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * progmodes/grep.el (grep-mode): Disable default
5748 compilation-directory-matcher setting (bug#8684).
5749
5750 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
5751
5752 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5753 instead of "head" and "tail". There were problems with SunOS 5.9,
5754 and it performs better.
5755
5756 2011-05-17 Glenn Morris <rgm@gnu.org>
5757
5758 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5759
5760 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5761 Replace obsolete function.
5762
5763 * shell.el (pcomplete-parse-arguments-function): Declare.
5764
5765 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5766 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5767 (appt-check): Doc fixes.
5768 (appt-disp-window-function, appt-delete-window-function):
5769 Remove needless special case in custom :type.
5770 (appt-display-count): Default to 0, not nil.
5771 (appt-check): Reset appt-display-count to 0, not nil.
5772
5773 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
5774
5775 * progmodes/python.el (python-font-lock-keywords):
5776 Add the Python 3.X keyword "nonlocal" (bug#8639).
5777
5778 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5781
5782 2011-05-16 Kevin Ryde <user42@zip.com.au>
5783
5784 * info-look.el (makefile-automake-mode): New setups, looking in
5785 automake manual, then makefile-mode.
5786 (makefile-mode): Remove automake manual, have it just in
5787 makefile-automake-mode since there's various things different or
5788 not relevant to plain make.
5789 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5790 believe a hypothetical automake-mode would go to makefile-mode,
5791 not the other way around.
5792
5793 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
5794
5795 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5796 hunk-end tags (Bug#8672).
5797
5798 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5799 vc-annotate-show-diff-revision-at-line (Bug#8671).
5800
5801 2011-05-14 Glenn Morris <rgm@gnu.org>
5802
5803 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5804 in the middle of an existing one with multiple authors. (Bug#8645)
5805 (change-log-font-lock-keywords): Also handle multiple author lines
5806 with leading tabs. (Bug#8644)
5807
5808 * calendar/appt.el (appt-check): Rename some local variables.
5809 Some simplification/reordering.
5810
5811 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5812 (feedmail-sendmail-f-doesnt-sell-me-out)
5813 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5814 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5815 (feedmail-queue-runner-message-sender): Set :version.
5816 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5817 (bbdb-dwim-net-address, vm-mail): Declare.
5818 (feedmail-binmail-gnulinuxish-template):
5819 Rename from feedmail-binmail-linuxish-template.
5820 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5821 Use insert-buffer-substring.
5822
5823 2011-05-14 Bill Carpenter <bill@carpenter.org>
5824
5825 * mail/feedmail.el (feedmail-patch-level): Increase.
5826 (feedmail-debug): New custom group.
5827 (feedmail-confirm-outgoing-timeout)
5828 (feedmail-sendmail-f-doesnt-sell-me-out)
5829 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5830 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5831 (feedmail-sender-line, feedmail-from-line)
5832 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
5833 (feedmail-spray-this-address)
5834 (feedmail-spray-address-fiddle-plex-list)
5835 (feedmail-queue-use-send-time-for-date)
5836 (feedmail-queue-use-send-time-for-message-id)
5837 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5838 (feedmail-buffer-eating-function):
5839 Doc fixes.
5840 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5841 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5842 (feedmail-message-action-scroll-down): New functions.
5843 (feedmail-queue-directory, feedmail-queue-draft-directory):
5844 Use expand-file-name.
5845 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5846 Remove C-v help entry.
5847 (feedmail-queue-buffer-file-name): New variable.
5848 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5849 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5850 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5851 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5852 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5853 (feedmail-message-action-toggle-spray)
5854 (feedmail-run-the-queue-no-prompts)
5855 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5856 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5857 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5858 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5859 (feedmail-envelope-deducer, feedmail-fiddle-from)
5860 (feedmail-fiddle-sender, feedmail-default-date-generator)
5861 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5862 (feedmail-fiddle-spray-address)
5863 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5864 (feedmail-fiddle-list-of-fiddle-plexes)
5865 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5866 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5867 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5868 Change default. Doc fix.
5869 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5870 (feedmail-binmail-linuxish-template): New constant.
5871 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5872 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5873 (feedmail-send-it): Add debug call.
5874 Use feedmail-queue-buffer-file-name, and
5875 feedmail-send-it-immediately-wrapper.
5876 (feedmail-message-action-send): Add debug call.
5877 Use feedmail-send-it-immediately-wrapper.
5878 (feedmail-queue-express-to-queue): Add debug call.
5879 Run feedmail-queue-express-hook.
5880 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5881 (feedmail-message-action-help-blat):
5882 Rename from feedmail-queue-send-edit-prompt-help-first.
5883 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5884 Check line-endings. Handle errors better.
5885 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5886 Doc fix. Add debug call.
5887 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5888 Use feedmail-queue-send-edit-prompt-inner.
5889 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5890 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5891 from feedmail-queue-send-edit-prompt.
5892 (feedmail-queue-send-edit-prompt-help)
5893 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5894 (feedmail-tidy-up-slug): Add debug call.
5895 Respect feedmail-queue-slug-suspect-regexp.
5896 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5897 (feedmail-dump-message-to-queue): Add debug call.
5898 Expand queue-directory.
5899 (feedmail-dump-message-to-queue): Change message slightly.
5900 Use feedmail-say-chatter.
5901 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5902 (feedmail-send-it-immediately-wrapper): New function.
5903 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5904 Insert empty string rather than newline. Handle full-frame case.
5905 Use catch/throw. Use feedmail-say-chatter.
5906 (feedmail-fiddle-from): Try mail-host-address.
5907 (feedmail-default-message-id-generator): Doc fix.
5908 Bind system-time-locale. Handle missing end.
5909 (feedmail-fiddle-x-mailer): Add debug call.
5910 Handle feedmail-x-mailer-line being nil.
5911 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5912 Add debug call. Use buffer-substring-no-properties.
5913 (feedmail-say-debug, feedmail-say-chatter): New functions.
5914 (feedmail-find-eoh): Give an explicit error.
5915
5916 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
5917
5918 * net/newst-treeview.el (newsticker-treeview-face): Change default
5919 family from helvetica to sans.
5920 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
5921 etc/images/newsticker.
5922
5923 * net/newst-reader.el (newsticker-feed-face): Change default
5924 family from helvetica to sans.
5925
5926 * net/newst-plainview.el (newsticker-new-item-face)
5927 (newsticker-old-item-face, newsticker-immortal-item-face)
5928 (newsticker-obsolete-item-face, newsticker-date-face)
5929 (newsticker-statistics-face): Change default family from
5930 helvetica to sans.
5931 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
5932 etc/images/newsticker.
5933
5934 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5935 (newsticker--process-auto-mark-filter-match): : Tell user about
5936 auto-marking.
5937
5938 2011-05-13 Didier Verna <didier@xemacs.org>
5939
5940 Common Lisp indentation improvements on defmethod and lambda-lists.
5941 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5942 TODO entries.
5943 (lisp-lambda-list-keyword-parameter-indentation)
5944 (lisp-lambda-list-keyword-parameter-alignment)
5945 (lisp-lambda-list-keyword-alignment): New customizable user options.
5946 (lisp-indent-defun-method): Improve docstring.
5947 (extended-loop-p): Fix comment.
5948 (lisp-indent-lambda-list-keywords-regexp): New variable.
5949 (lisp-indent-lambda-list): New function.
5950 (lisp-indent-259): Use it.
5951 (lisp-indent-defmethod): Support for more than one
5952 method qualifier and properly indent methods lambda-lists.
5953 (defgeneric): Provide a missing common-lisp-indent-function property.
5954
5955 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5958 bounds for the empty string (bug#8667).
5959
5960 2011-05-13 Glenn Morris <rgm@gnu.org>
5961
5962 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5963
5964 * mail/sendmail.el (sendmail-program): Try executable-find first.
5965 (sendmail-send-it): `sendmail-program' cannot be unbound.
5966
5967 * calendar/appt.el (appt-make-list): Simplify.
5968 (appt-time-msg-list): Doc fix.
5969 (appt-check): Change mode-line message at the time of the appointment.
5970
5971 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5972
5973 * progmodes/ld-script.el (ld-script-keywords)
5974 (ld-script-builtins): Update keywords list.
5975
5976 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5979
5980 * shell.el (shell-completion-vars): New function.
5981 (shell-mode):
5982 * simple.el (read-shell-command): Use it.
5983 (blink-matching-open): No need for " [...]" in minibuffer-message.
5984
5985 2011-05-12 Glenn Morris <rgm@gnu.org>
5986
5987 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5988 (appt-check): Simplify.
5989
5990 2011-05-12 Eli Zaretskii <eliz@gnu.org>
5991
5992 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
5993 literal "/dev/null".
5994
5995 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5998 Fix typo.
5999
6000 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6001
6002 * progmodes/which-func.el (which-function):
6003 Use add-log-current-defun instead of add-log-current-defun-function,
6004 which might not be defined (Bug#8260).
6005
6006 2011-05-12 Glenn Morris <rgm@gnu.org>
6007
6008 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6009 Let byte-compile-initial-macro-environment always take precedence.
6010
6011 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * net/rcirc.el: Add support for SSL/TLS connections.
6014 (rcirc-server-alist): New field `encryption'.
6015 (rcirc): Check `encryption' settings.
6016 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6017 Merge make-local-variable into `set'.
6018 (rcirc--connection-open-p): New function.
6019 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6020 the process is not a network process (e.g. running gnutls-cli).
6021 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6022 Make rcirc-(en|de)code-coding-system local here.
6023 (rcirc-mode): Merge make-local-variable into `set'.
6024 (rcirc-parent-buffer): Make permanent buffer-local.
6025 (rcirc-multiline-minor-mode): Don't do it here.
6026 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6027 there's no server buffer.
6028
6029 2011-05-11 Glenn Morris <rgm@gnu.org>
6030
6031 * newcomment.el (comment-kill): Prefix "unused" local.
6032
6033 * term/w32console.el (get-screen-color): Declare.
6034
6035 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6036 Handle symbol elements of byte-compile-initial-macro-environment.
6037
6038 2011-05-10 Leo Liu <sdl.web@gmail.com>
6039
6040 * bookmark.el (bookmark-bmenu-mode-map):
6041 Bind bookmark-bmenu-search to `/'.
6042
6043 * mail/footnote.el: Convert to utf-8 encoding.
6044 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6045 (Footnote-unicode): New function.
6046 (footnote-style-alist): Add unicode style to the list.
6047 (footnote-style): Doc fix.
6048
6049 2011-05-10 Jim Meyering <meyering@redhat.com>
6050
6051 Fix doubled-word typos.
6052 * international/quail.el (quail-insert-kbd-layout): and and -> and
6053 * kermit.el: and and -> and
6054 * net/ldap.el (ldap-search-internal): to to -> to
6055 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6056 * progmodes/js.el (js-mode): and and -> and
6057 * textmodes/artist.el (artist-move-to-xy): at at -> at
6058 (artist-draw-region-trim-line-endings): if if -> if
6059 And Safetyc -> Safety.
6060 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6061
6062 2011-05-10 Glenn Morris <rgm@gnu.org>
6063 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * files.el (hack-one-local-variable-eval-safep):
6066 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6067
6068 2011-05-10 Glenn Morris <rgm@gnu.org>
6069
6070 * calendar/diary-lib.el (diary-list-entries-hook)
6071 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6072 (diary-nongregorian-marking-hook, diary-list-entries)
6073 (diary-include-other-diary-files, diary-mark-entries)
6074 (diary-mark-included-diary-files): Doc fixes.
6075
6076 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
6077
6078 * misc.el: Require tabulated-list.el during compilation.
6079
6080 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
6081
6082 * progmodes/compile.el (compilation-start):
6083 Run compilation-filter-hook for the async case too.
6084 (compilation-filter-hook): Doc fix.
6085
6086 2011-05-09 Deniz Dogan <deniz@dogan.se>
6087
6088 * wdired.el: Remove outdated installation comment. Fix usage
6089 comment.
6090
6091 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
6092
6093 * misc.el: Implement new command `list-dynamic-libraries'.
6094 (list-dynamic-libraries--loaded-only-p): New variable.
6095 (list-dynamic-libraries--refresh): New function.
6096 (list-dynamic-libraries): New command.
6097
6098 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
6099
6100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6101 Fix the ant regexp to handle end-line and end-column info from jikes.
6102 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6103 higher priority to avoid clobbering by gnu.
6104
6105 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
6106
6107 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6108 if the face has existing theme settings (Bug#8454).
6109
6110 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6111
6112 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6113 Only match variables declared via `my' or `our' (Bug#8261).
6114
6115 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6116 special file names `.' and `..' (Bug#8259).
6117
6118 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
6119
6120 * progmodes/grep.el (grep-mode-font-lock-keywords):
6121 Remove buffer-changing entries.
6122 (grep-filter): New function.
6123 (grep-mode): Add it to compilation-filter-hook.
6124
6125 * progmodes/compile.el (compilation-filter-hook)
6126 (compilation-filter-start): New defvars.
6127 (compilation-filter): Call compilation-filter-hook prior to
6128 updating the process mark.
6129
6130 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6133
6134 2011-05-07 Eli Zaretskii <eliz@gnu.org>
6135
6136 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6137 mailclient-send-it even if window-system is nil. (Bug#8595)
6138
6139 * term/w32console.el (terminal-init-w32console):
6140 Call get-screen-color and use its output to set the frame
6141 background-mode. (Bug#8597)
6142
6143 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6144
6145 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6146 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6147 New functions.
6148 (defgeneric, eieio--defmethod): Use them.
6149 (eieio-defgeneric): Remove.
6150 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6151
6152 2011-05-07 Glenn Morris <rgm@gnu.org>
6153
6154 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6155 Use let rather than let*.
6156 (timeclock-find-discrep): Remove unused local.
6157
6158 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6159
6160 * calendar/appt.el (appt-time-msg-list): Doc fix.
6161
6162 2011-05-06 Noah Friedman <friedman@splode.com>
6163
6164 * apropos.el (apropos-print-doc): Only use
6165 emacs-lisp-docstring-fill-column when it is bound to an integer,
6166 per that variable's documentation.
6167
6168 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
6171 and warnings are not silently discarded (e.g. use -d instead of -P).
6172
6173 2011-05-06 Glenn Morris <rgm@gnu.org>
6174
6175 * calendar/appt.el (appt-message-warning-time): Doc fix.
6176 (appt-warning-time-regexp): New option.
6177 (appt-make-list): Respect appt-message-warning-time.
6178
6179 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6180 New options.
6181 (diary-add-to-list): Strip comments from the displayed string.
6182 (diary-mode): Set comment-start and comment-end.
6183
6184 * vc/diff-mode.el (smerge-refine-subst): Declare.
6185 (diff-refine-hunk): Don't require smerge-mode when compiling.
6186
6187 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
6188
6189 * simple.el (list-processes): Return nil as the docstring says.
6190
6191 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6194 to "".
6195 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6196 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6197 determining of binary transfer. (Bug#7383)
6198
6199 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
6200
6201 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6202 Fix port computation bug. (Bug#8618)
6203
6204 2011-05-05 Glenn Morris <rgm@gnu.org>
6205
6206 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6207
6208 * simple.el (shell-dynamic-complete-functions)
6209 (comint-dynamic-complete-functions): Declare.
6210
6211 * net/network-stream.el (gnutls-negotiate):
6212 * simple.el (tabulated-list-print): Fix declarations.
6213
6214 * progmodes/gud.el (syntax-symbol, syntax-point):
6215 Remove unnecessary and incorrect declarations.
6216
6217 * emacs-lisp/check-declare.el (check-declare-scan):
6218 Handle byte-compile-initial-macro-environment in bytecomp.el
6219
6220 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 Fix earlier half-done eieio-defmethod change (bug#8338).
6223 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6224 Streamline and change calling convention.
6225 (defmethod): Adjust accordingly and simplify.
6226 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6227 new eieio--defmethod.
6228 (slot-boundp): Minor CSE simplification.
6229
6230 2011-05-05 Milan Zamazal <pdm@zamazal.org>
6231
6232 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6233 (glasses-make-readable): Use glasses-separate-capital-groups.
6234
6235 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6238 (warning-series): Doc fix.
6239 (display-warning): Don't try to create the buffer if we just found it.
6240
6241 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
6242
6243 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6244 (autoload-find-generated-file): New function.
6245 (generate-file-autoloads): Bind generated-autoload-file to
6246 buffer-file-name.
6247 (update-file-autoloads, update-directory-autoloads):
6248 Use autoload-find-generated-file. If called interactively, prompt for
6249 output file (Bug#7989).
6250 (batch-update-autoloads): Doc fix.
6251
6252 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6255
6256 2011-05-04 Glenn Morris <rgm@gnu.org>
6257
6258 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6259 function, so it follows changes in calendar-date-style.
6260 (diary-fancy-date-matcher): New function.
6261 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6262 (diary-fancy-font-lock-fontify-region-function):
6263 Use diary-fancy-date-pattern as a function.
6264
6265 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6266 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6267
6268 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6269
6270 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6271 instead of positional arguments. Allow :keylist and :crlfiles
6272 arguments.
6273 (open-gnutls-stream): Call it.
6274
6275 * net/network-stream.el (network-stream-open-starttls): Adjust to
6276 call `gnutls-negotiate' with :process and :hostname arguments.
6277
6278 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * minibuffer.el (completion--message): New function.
6281 (completion--do-completion, minibuffer-complete)
6282 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6283 (completion--do-completion): Don't ignore completion-auto-help when in
6284 icomplete-mode.
6285
6286 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6287 internal encoding (e.g. tibetan zero is not whitespace).
6288 (global-whitespace-mode): Prefer save-current-buffer.
6289 (whitespace-trailing-regexp): Remove useless save-match-data.
6290 (whitespace-empty-at-bob-regexp): Minor simplification.
6291
6292 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
6293
6294 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6295
6296 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6297
6298 * textmodes/ispell.el (ispell-add-per-file-word-list):
6299 Use `concat' to create string for insertion.
6300
6301 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6304 Avoid open-line which runs post-self-insert-hook.
6305 (bibtex-fill-entry): Remove unused `end' var.
6306
6307 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6308
6309 * textmodes/ispell.el (ispell-add-per-file-word-list):
6310 Protect against `nil' value of `comment-start' (Bug#8579).
6311
6312 2011-05-03 Leo Liu <sdl.web@gmail.com>
6313
6314 * isearch.el (isearch-yank-pop): New command.
6315 (isearch-mode-map): Bind it to `M-y'.
6316 (isearch-forward): Mention it.
6317
6318 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * simple.el (minibuffer-complete-shell-command): Remove.
6321 (minibuffer-local-shell-command-map): Use completion-at-point.
6322 (read-shell-command): Setup completion vars here instead.
6323 (read-expression-map): Bind TAB to symbol completion.
6324
6325 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6326 error directly rather via storing it into `results'.
6327
6328 2011-05-02 Leo Liu <sdl.web@gmail.com>
6329
6330 * vc/diff.el: Fix description.
6331
6332 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6333
6334 * server.el (server-eval-at): New function.
6335
6336 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6337
6338 * net/network-stream.el (open-network-stream): Take a :nowait
6339 parameter and pass it on to `make-network-process'.
6340 (network-stream-open-plain): Ditto.
6341
6342 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6343
6344 * faces.el (face-spec-set-match-display): Don't match toolkit
6345 options on terminal frames.
6346
6347 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * progmodes/pascal.el: Use lexical binding.
6350 (pascal-mode-map): Remove author preferences.
6351
6352 * pcomplete.el (pcomplete-std-complete): Don't abuse
6353 completion-at-point.
6354
6355 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6358 removing code that has been dead since 1991 or so.
6359
6360 * startup.el (command-line): When warning about "_emacs", use a
6361 delayed warning to allow the user to filter it out.
6362
6363 2011-04-28 Deniz Dogan <deniz@dogan.se>
6364
6365 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6366 user has not joined.
6367
6368 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6371 aren't any completions at point.
6372
6373 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * subr.el (display-delayed-warnings): New function.
6376 (delayed-warnings-hook): New variable.
6377
6378 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * minibuffer.el (completion-at-point, completion-help-at-point):
6381 Don't presume that a given completion-at-point-function will always
6382 use the same calling convention.
6383
6384 * pcomplete.el (pcomplete-completions-at-point):
6385 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6386 pcomplete-seen is non-nil.
6387 (pcomplete-comint-setup): Also recognize the new comint/shell
6388 completion functions.
6389 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6390 pcomplete-seen is non-nil.
6391
6392 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
6393
6394 * calendar/icalendar.el (diary-lib): Add require statement.
6395 (icalendar--create-uid): Read out a uid from a text-property on
6396 the first character in the entry. This allows for code to add its
6397 own uid to the entry.
6398 (icalendar--convert-float-to-ical): Add export of
6399 `diary-float'-entries save for those with the optional DAY
6400 argument.
6401
6402 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6403
6404 * subr.el (shell-quote-argument): Use alternate escaping strategy
6405 when we spot a variable reference in a string.
6406
6407 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6408
6409 * cus-start.el (all): Define customization for debug-on-event.
6410
6411 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6412
6413 * subr.el (shell-quote-argument): Escape correctly under Windows.
6414
6415 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6418
6419 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
6420
6421 * net/tramp.el (tramp-process-actions): Add POS argument.
6422 Delete region between POS and (pos).
6423
6424 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6425 Use `nil' position in `tramp-process-actions' call.
6426 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6427
6428 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6429 position in `tramp-process-actions' call.
6430
6431 * net/trampver.el: Update release number.
6432
6433 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * custom.el (defcustom): Obey lexical-binding.
6436
6437 Fix octave-inf completion problems reported by Alexander Klimov.
6438 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6439 Inherit from octave-mode-syntax-table.
6440 (inferior-octave-mode): Set info-lookup-mode.
6441 (inferior-octave-completion-at-point): New function.
6442 (inferior-octave-complete): Use it and completion-in-region.
6443 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6444 comint-filename-completion.
6445 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6446 symbol elements which shouldn't be word elements.
6447 (octave-font-lock-keywords, octave-beginning-of-defun)
6448 (octave-function-header-regexp): Adjust regexps accordingly.
6449 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6450
6451 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
6452
6453 * net/gnutls.el (gnutls-errorp): Declare before first use.
6454
6455 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6456
6457 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6458 verify-error, and verify-hostname-error parameters. Check whether
6459 default trustfile exists before going to use it. Add missing
6460 argument to gnutls-message-maybe call. Return return value.
6461 Reported by Claudio Bley <claudio.bley@gmail.com>.
6462 (open-gnutls-stream): Add usage example.
6463
6464 * net/network-stream.el (network-stream-open-starttls): Give host
6465 parameter to `gnutls-negotiate'.
6466 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
6467 * subr.el (shell-quote-argument): Escape correctly under Windows.
6468
6469 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
6470
6471 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6472 Use correct match group (bug#8438).
6473
6474 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
6475
6476 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6477 (package-menu--generate): New arg specifying packages to show.
6478 (package-menu-refresh, package-menu-execute, list-packages):
6479 Callers changed.
6480 (package-show-package-list): New function, replacing deleted
6481 package--list-packages (renamed because it is non-internal).
6482
6483 * finder.el (finder-list-matches): Use package-show-package-list
6484 instead of deleted package--list-packages.
6485
6486 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6487 Based on a previous implementation by Juanma Barranquero (Bug#8366).
6488 (vc-annotate-mode-map): Bind it to RET.
6489
6490 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6491
6492 * progmodes/etags.el (next-file): Don't use set-buffer to change
6493 buffers (Bug#8478).
6494
6495 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
6496
6497 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6498
6499 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6500 (apropos-accumulator): Doc fix.
6501 (apropos-function, apropos-macro, apropos-command)
6502 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6503 (apropos-plist): Add face property.
6504 (apropos-symbols-internal): Fix indentation.
6505 (apropos-print): Simplify help, and recognize apropos-multi-type.
6506 (apropos-print-doc): Use button-type-get to extract the button's
6507 face property. Fill docstring (Bug#8352).
6508
6509 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
6510
6511 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6512
6513 * play/mpuz.el (mpuz-silent): Doc fix.
6514 (mpuz-mode-map): Use mapc.
6515 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6516 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6517 Fix typos in docstrings.
6518
6519 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6520 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6521
6522 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6523
6524 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
6525
6526 * minibuffer.el (completion--do-completion): Avoid the "Next char
6527 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6528
6529 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6530 mouse-2 into unread-command-events, it is interpreted correctly.
6531
6532 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6533 (image-toggle-display): Doc fix.
6534
6535 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
6536
6537 * textmodes/page.el (what-page): Use line-number-at-pos to
6538 calculate line number (Bug#6825).
6539
6540 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
6541
6542 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6543 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6544 Pass argument NO-DEFAULT to `find-tag-interactive'.
6545
6546 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
6547
6548 Lexical-binding cleanup.
6549
6550 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6551 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6552 * progmodes/ada-prj.el (ada-prj-initialize-values)
6553 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6554 (ada-prj-show-value):
6555 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6556 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6557 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6558 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6559 * progmodes/bug-reference.el (bug-reference-push-button):
6560 * progmodes/fortran.el (fortran-line-length):
6561 * progmodes/glasses.el (glasses-change):
6562 * progmodes/octave-mod.el (octave-fill-paragraph):
6563 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6564 (python-pdbtrack-grub-for-buffer, python-sentinel):
6565 * progmodes/sql.el (sql-save-connection):
6566 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6567 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6568 Mark unused parameters.
6569
6570 * progmodes/compile.el (compilation--flush-directory-cache)
6571 (compilation--flush-parse, compile-internal): Mark unused parameters.
6572 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6573 (compilation-next-error-function): Remove unused variable `timestamp'.
6574
6575 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6576 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6577
6578 * progmodes/dcl-mode.el (dcl-end-of-command):
6579 Remove unused variable `start'.
6580 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6581 (dcl-option-value-basic, dcl-option-value-offset)
6582 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6583 Mark unused parameters.
6584 (dcl-save-local-variable): Remove unused variable `val'.
6585 (mode): Declare.
6586
6587 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6588 Mark unused parameters.
6589 (delphi-ignore-changes): Move before first use.
6590 (delphi-charset-token-at): Remove unused variable `start'.
6591 (delphi-else-start): Remove unused variable `if-count'.
6592 (delphi-comment-block-start, delphi-comment-block-end):
6593 Remove unused variable `kind'.
6594 (delphi-indent-line): Remove unused variable `new-point'.
6595
6596 * progmodes/ebrowse.el (ebrowse-files-list)
6597 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6598 Mark unused parameters. Don't quote `lambda'.
6599 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6600 Don't quote `lambda'.
6601 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6602 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6603 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6604 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6605 Use `ignore-errors'.
6606 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6607 (ebrowse-view/find-file-and-search-pattern)
6608 (ebrowse-view/find-member-declaration/definition):
6609 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6610 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6611 Rename parameter PREFIX-ARG to PREFIX.
6612 (ebrowse-tags-read-name): Remove unused variables `start' and
6613 `member-info'.
6614 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6615 to `tags-file'.
6616
6617 * progmodes/etags.el (local-find-tag-hook): Declare.
6618 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6619 Mark unused parameters.
6620
6621 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6622 (executable-interpret): Mark unused parameter.
6623
6624 * progmodes/flymake.el (flymake-process-sentinel)
6625 (flymake-after-change-function)
6626 (flymake-create-temp-with-folder-structure)
6627 (flymake-get-include-dirs-dot): Mark unused parameters.
6628 (flymake-safe-delete-directory): Remove unused variable `err'.
6629
6630 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6631 (speedbar-timer-fn, speedbar-line-text)
6632 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6633 (speedbar-center-buffer-smartly): Declare functions.
6634 (gdb-find-watch-expression): Remove unused variable `array'.
6635 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6636 (gdb-starting): Mark unused parameters.
6637 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6638 (gdb-table-string): Remove unused variable `res'.
6639 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6640 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6641 (gdb-display-buffer): Remove unused variable `cur-size'.
6642
6643 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6644 allow lexical-binding compilation.
6645 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6646 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6647 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6648 Mark unused parameters.
6649 (gud-gdb-marker-filter): Remove unused variable `match'.
6650 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6651 lambda expressions and funcall them, instead of using `fset'.
6652
6653 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6654 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6655
6656 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6657 variable `header-beg'; use `let'.
6658
6659 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6660 `restart', `last-sexp' and `at-do'.
6661
6662 * progmodes/js.el (js--debug): Mark unused parameter.
6663 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6664 (js--splice-into-items): Remove unused variable `item'.
6665 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6666
6667 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6668 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6669 (makefile-complete): Remove unused variable `try'.
6670 (makefile-fill-paragraph, makefile-match-function-end):
6671 Mark unused parameters.
6672
6673 * progmodes/octave-inf.el (inferior-octave-complete):
6674 Remove unused variable `proc'.
6675 (inferior-octave-output-digest): Mark unused parameter.
6676
6677 * progmodes/perl-mode.el (perl-calculate-indent):
6678 Remove unused variable `err'.
6679
6680 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6681 (prolog-indent-line): Mark unused parameters.
6682 (prolog-indent-line): Remove unused variable `beg'.
6683
6684 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6685 (reporter-dont-compact-list): Declare.
6686
6687 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6688 Remove unused variable `char'.
6689 (sh-debug): Mark unused parameter.
6690 (sh-get-indent-info): Remove unused variable `start'.
6691 (sh-calculate-indent): Remove unused variable `var'.
6692
6693 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6694 (simula-electric-keyword): Remove unused variable `null'.
6695 (simula-search-backward, simula-search-forward): Remove unused
6696 variables `begin' and `end'.
6697
6698 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6699 Remove unused variable `pos'.
6700 (vera-electric-tab, vera-comment-uncomment-region):
6701 Mark unused parameters.
6702 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6703
6704 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
6705
6706 * emacs-lisp/package.el (package--builtins, package-alist)
6707 (package-load-descriptor, package-built-in-p, package-activate)
6708 (define-package, package-installed-p)
6709 (package-compute-transaction, package-buffer-info)
6710 (package--push): Doc fix. Distinguish more clearly between
6711 version strings and version lists.
6712
6713 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
6714
6715 Lexical-binding cleanup.
6716
6717 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6718 (5x5-make-mutate-best):
6719 * play/fortune.el (fortune-in-buffer):
6720 * play/gomoku.el (gomoku-init-display):
6721 * play/solitaire.el (solitaire, solitaire-do-check):
6722 * play/tetris.el (tetris-default-update-speed-function):
6723 Mark unused parameters.
6724
6725 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6726 (bubbles--shift): Remove unused variable `char-org'.
6727 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6728 (bubbles--show-images): Remove unused variable `char'.
6729
6730 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6731 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6732 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6733 (decipher-analyze-buffer): Use ?\s.
6734 (decipher-make-checkpoint): Remove unused variable `mapping'.
6735
6736 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6737
6738 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6739 Remove unused variable `result'; use `let'.
6740
6741 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6742 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6743 (gametree-children-shown-p, gametree-compute-reduced-score):
6744 Use `ignore-errors'.
6745
6746 * play/handwrite.el (ps-lpr-switches): Declare.
6747 (handwrite): Remove unused variables `pmin' and `lastp'.
6748
6749 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6750
6751 * play/landmark.el (landmark-init-display)
6752 (landmark-update-naught-weights): Mark unused parameters.
6753 (landmark-y): Remove unused variable `noise'. Simplify.
6754 (landmark-human-plays): Remove unused variable `score'.
6755
6756 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6757 (mpuz-try-proposal): Remove unused variable `game'.
6758
6759 * play/zone.el (life-patterns): Declare.
6760
6761 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
6762
6763 * vc/vc.el (ediff-vc-internal): Declare function.
6764
6765 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * shell.el: Use lexical-binding and std completion UI.
6768 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6769 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6770 comint-preoutput-filter-functions rather than on
6771 comint-output-filter-functions.
6772 (shell-command-completion, shell--command-completion-data)
6773 (shell-filename-completion, shell-environment-variable-completion)
6774 (shell-c-a-p-replace-by-expanded-directory): New functions.
6775 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6776 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6777 (shell-dynamic-complete-environment-variable): Use them.
6778 (shell-dynamic-complete-as-environment-variable)
6779 (shell-dynamic-complete-as-command): Remove.
6780 (shell-match-partial-variable): Match past point.
6781 * comint.el: Clean up use of completion-at-point-functions.
6782 (comint-completion-at-point): New function.
6783 (comint-mode): Use it completion-at-point-functions.
6784 (comint-dynamic-complete): Make it obsolete.
6785 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6786 (comint-c-a-p-replace-by-expanded-history): New function.
6787 (comint-dynamic-complete-functions)
6788 (comint-replace-by-expanded-history): Use it.
6789 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6790 termination strings. Try harder to avoid second try-completion.
6791 (completion-in-region-mode-map): Disable bindings that don't work yet.
6792
6793 * comint.el: Use lexical-binding. Require CL.
6794 (comint-dynamic-complete-functions): Use comint-filename-completion.
6795 (comint-completion-addsuffix): Tweak custom type.
6796 (comint-filename-completion, comint--common-suffix)
6797 (comint--common-quoted-suffix, comint--table-subvert)
6798 (comint--complete-file-name-data): New functions.
6799 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6800 (comint-dynamic-list-filename-completions): Use them.
6801 (comint-dynamic-simple-complete): Make obsolete.
6802
6803 * minibuffer.el (completion-in-region-mode):
6804 Keep completion-in-region-mode--predicate global.
6805 (completion-in-region--postch):
6806 Assume completion-in-region-mode--predicate is not null.
6807
6808 * progmodes/flymake.el (flymake-start-syntax-check-process):
6809 Obey `dir'. Simplify.
6810
6811 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6812 we're in VC after all.
6813
6814 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6815
6816 * vc/vc.el (vc-diff-build-argument-list-internal)
6817 (vc-version-ediff, vc-ediff): New commands.
6818 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6819
6820 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6823 add sanity check.
6824
6825 * obsolete/erc-hecomplete.el: Make obsolete.
6826 * obsolete/: Standardize obsolescence info in the header.
6827
6828 2011-04-20 Glenn Morris <rgm@gnu.org>
6829
6830 * calendar/solar.el (solar-horizontal-coordinates):
6831 Use the longitude argument rather than `calendar-longitude'.
6832 (solar-date-next-longitude): Remove unused locals.
6833
6834 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6835
6836 * whitespace.el: New version 13.2.1.
6837
6838 2011-04-20 felix <EmacsWiki> (tiny change)
6839
6840 * whitespace.el (global-whitespace-mode): Keep highlight when
6841 switching between major modes on a file.
6842
6843 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6846 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6847 multi-line comments as well.
6848
6849 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
6850
6851 Lexical-binding cleanup.
6852
6853 * arc-mode.el (archive-mode-revert):
6854 * cmuscheme.el (scheme-interactively-start-process):
6855 * custom.el (custom-initialize-delay):
6856 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6857 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6858 * emacs-lock.el (emacs-lock-clear-sentinel):
6859 * ezimage.el (defezimage):
6860 * follow.el (follow-avoid-tail-recenter):
6861 * fringe.el (set-fringe-mode-1):
6862 * generic-x.el (bat-generic-mode-compile):
6863 * help-mode.el (help-info-variable, help-do-xref)
6864 (help-mode-revert-buffer):
6865 * help.el (view-emacs-todo):
6866 * iswitchb.el (iswitchb-completion-help):
6867 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6868 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6869 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6870 * locate.el (locate-update):
6871 * longlines.el (longlines-encode-region)
6872 (longlines-after-change-function):
6873 * outline.el (outline-isearch-open-invisible):
6874 * ps-def.el (declare-function, charset-dimension, char-width)
6875 (encode-char):
6876 * ps-mule.el (ps-mule-plot-string):
6877 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6878 (recentf-edit-list-select, recentf-edit-list-validate)
6879 (recentf-open-files-action):
6880 * rect.el (delete-whitespace-rectangle-line)
6881 (rectangle-number-line-callback):
6882 * register.el (window-configuration-to-register)
6883 (frame-configuration-to-register):
6884 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6885 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6886 (xselect-convert-to-targets, xselect-convert-to-delete)
6887 (xselect-convert-to-filename, xselect-convert-to-charpos)
6888 (xselect-convert-to-lineno, xselect-convert-to-colno)
6889 (xselect-convert-to-os, xselect-convert-to-host)
6890 (xselect-convert-to-user, xselect-convert-to-class)
6891 (xselect-convert-to-name, xselect-convert-to-integer)
6892 (xselect-convert-to-atom, xselect-convert-to-identity):
6893 * subr.el (declare, ignore, process-kill-without-query)
6894 (text-clone-maintain):
6895 * terminal.el (te-get-char, te-tic-sentinel):
6896 * tool-bar.el (tool-bar-make-keymap):
6897 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6898 * type-break.el (type-break-mode, type-break-noninteractive-query):
6899 * view.el (View-back-to-mark):
6900 * wid-browse.el (widget-browse-action, widget-browse-widget)
6901 (widget-browse-widgets, widget-browse-sexp):
6902 * widget.el (define-widget-keywords):
6903 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6904 Mark unused parameters.
6905
6906 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6907 (align-areas): Remove unused variable `look'.
6908 (align-region): Remove unused variables `real-end' and `pos-list'.
6909
6910 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6911
6912 * bindings.el (mode-line-modified, mode-line-remote):
6913 Mark unused parameters.
6914 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6915
6916 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6917 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6918
6919 * comint.el (comint-history-isearch-pop-state)
6920 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6921 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6922 (comint-substitute-in-file-name): Doc fix.
6923
6924 * completion.el (cmpl-statistics-block): Mark unused parameter.
6925 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6926 (save-completions-to-file, load-completions-from-file):
6927 Remove unused local variable `e'.
6928
6929 * composite.el (compose-chars): Remove unused variable `len'.
6930 (lgstring-insert-glyph): Remove unused variable `g'.
6931 (compose-glyph-string): Remove unused variables `ascent',
6932 `descent', `lbearing' and `rbearing'.
6933 (compose-glyph-string-relative): Remove unused variables
6934 `lbearing', `rbearing' and `wadjust'.
6935 (compose-gstring-for-graphic): Remove unused variables `header',
6936 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6937 (compose-gstring-for-terminal): Remove unused variables `header'
6938 and `nchars'. Use `let', not `let*'.
6939
6940 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6941 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6942 (Custom-buffer-done, custom-buffer-create-internal)
6943 (custom-browse-visibility-action, custom-browse-group-tag-action)
6944 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6945 (widget-magic-mouse-down-action, custom-toggle-parent)
6946 (custom-add-parent-links, custom-toggle-hide-variable)
6947 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6948 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6949 (custom-face-menu-create, custom-variable-menu-create, get)
6950 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6951 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6952 (customize-apropos): Remove unused variable `tests'.
6953 (custom-group-value-create): Remove unused variable `hidden-p'.
6954 (sort-fold-case): Declare.
6955
6956 * cus-theme.el (custom-reset-standard-faces-list)
6957 (custom-reset-standard-variables-list): Declare.
6958 (customize-create-theme, custom-theme-revert, custom-theme-write)
6959 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6960 Mark unused parameters.
6961
6962 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6963
6964 * delim-col.el (delimit-columns-max): Move defvar before first use.
6965
6966 * descr-text.el (describe-char-categories): Don't quote `lambda'.
6967 (describe-char): Don't quote `lambda'. Mark unused parameter.
6968
6969 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6970 (auto-insert): Declare.
6971 (desktop-restore-file-buffer): Rename desktop-* parameters;
6972 mark unused ones.
6973 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6974 (desktop-buffer): Rename desktop-* parameters.
6975
6976 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6977 (dframe-reposition-frame-xemacs, dframe-help-echo)
6978 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6979 Mark unused parameters.
6980
6981 * dired-aux.el (backup-extract-version-start, overwrite-query)
6982 (overwrite-backup-query, rename-regexp-query)
6983 (rename-non-directory-query): Declare.
6984 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6985 (dired-add-entry): Remove unused variable `orig-file-name'.
6986 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6987 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6988 `dired-copy-preserve-time' directly.
6989 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6990 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6991
6992 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6993 (dired-virtual-revert, dired-make-relative-symlink):
6994 Mark unused parameters.
6995 (manual-program): Declare.
6996 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6997 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6998 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6999
7000 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7001
7002 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7003
7004 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7005 Declare.
7006
7007 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7008
7009 * electric.el (Electric-command-loop): Rename parameter
7010 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7011
7012 * expand.el (expand-in-literal): Remove unused variable `here'.
7013
7014 * facemenu.el (facemenu-add-new-color):
7015 Remove unused variable `docstring'.
7016
7017 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7018 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7019 (face-attr-construct): Mark unused parameter. Doc fix.
7020 (read-color): Remove unused variable `hex-string'.
7021
7022 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7023 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7024 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7025 (display-buffer-other-frame): Remove unused variable `old-window'.
7026 (kill-buffer-hook): Declare.
7027 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7028 Mark unused parameters.
7029 (after-find-file): Pass 1 to `auto-save-mode', not t.
7030
7031 * files-x.el (auto-insert): Declare.
7032 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7033
7034 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
7035 variable `buf'. Mark unused parameter.
7036 (find-lisp-insert-directory): Mark unused parameter.
7037
7038 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7039 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7040 (format-common-tail): Remove, unused.
7041 (format-deannotate-region): Remove unused variable `loc'.
7042 (format-annotate-region): Remove unused variable `p'.
7043 (format-annotate-single-property-change): Remove unused variables
7044 `default' and `tail'.
7045
7046 * forms.el (read-file-filter): Declare.
7047 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7048
7049 * frame.el (frame-creation-function-alist): Mark unused parameter.
7050 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7051
7052 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7053 Remove unused parameters.
7054 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7055 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7056
7057 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7058 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7059 (hfy-prepare-tag-map): Mark unused parameters.
7060 (htmlfontify-buffer): Use `called-interactively-p'.
7061
7062 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7063 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7064 (ibuffer-do-occur): Mark unused parameters.
7065 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7066 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7067
7068 * ibuffer.el: Don't quote `lambda'.
7069 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7070 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7071 Mark unused parameters.
7072
7073 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7074 (ido-completing-read): Mark unused parameters.
7075 (ido-copy-current-word): Mark unused parameters;
7076 remove unused variable `name'.
7077 (ido-sort-merged-list): Remove unused parameter `dirs'.
7078
7079 * ielm.el (ielm-input-sender): Mark unused parameter.
7080 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7081 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7082 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7083 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7084 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7085
7086 * image-dired.el (image-dired-display-thumbs): Remove unused
7087 variables `curr-file' and `count'.
7088 (image-dired-remove-tag): Remove unused variable `start'.
7089 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7090 variable `curr-file'
7091 (image-dired-rotate-original): Remove unused variable `temp-file'.
7092 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7093 Remove unused variable `file'.
7094 (image-dired-gallery-generate): Remove unused variable `curr'.
7095 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7096
7097 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7098
7099 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7100
7101 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7102
7103 * isearch.el (minibuffer-history-symbol): Declare.
7104 (isearch-edit-string): Remove unused variable `err'.
7105 (isearch-message-prefix, isearch-message-suffix):
7106 Mark unused parameters.
7107
7108 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7109
7110 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7111
7112 * makesum.el (double-column): Remove unused variable `cnt'.
7113
7114 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7115 (ido-ignore-item-temp-list): Declare.
7116
7117 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7118 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7119 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7120 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7121 `mouse-col-delta'.
7122
7123 * mouse-sel.el (mouse-extend-internal):
7124 Remove unused variable `orig-window-frame'.
7125
7126 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7127 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7128 Move declarations before first use.
7129 (pcomplete-opt): Mark unused parameters; doc fix.
7130
7131 * proced.el (proced-revert): Mark unused parameter.
7132 (proced-send-signal): Remove unused variable `err'.
7133
7134 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7135 Rename parameter PREFIX-ARG to ARG.
7136 (ps-basic-plot-string, ps-basic-plot-whitespace):
7137 Mark unused parameters.
7138
7139 * replace.el (replace-count): Define.
7140 (occur-revert-function): Mark unused parameters.
7141 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7142 (isearch-case-fold-search, isearch-string): Declare.
7143 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7144 bind `case-fold-search'. Remove unused variables `beg' and `end',
7145 and simplify.
7146 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7147 COUNT and bind `replace-count'.
7148 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7149 to COUNT.
7150
7151 * savehist.el (print-readably, print-string-length): Declare.
7152
7153 * shadowfile.el (shadow-expand-cluster-in-file-name):
7154 Remove unused variable `cluster'.
7155 (shadow-copy-file): Remove unused variable `i'.
7156 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7157 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7158 (shadow-define-literal-group, shadow-define-regexp-group)
7159 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7160
7161 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7162 (shell): Use `called-interactively-p'.
7163 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7164
7165 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7166 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7167 (delete-backward-char): Remove unused variable `ocol'.
7168 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7169 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7170 (event-apply-hyper-modifier, event-apply-shift-modifier)
7171 (event-apply-control-modifier, event-apply-meta-modifier):
7172 Mark unused parameters.
7173 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7174 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7175
7176 * speedbar.el (speedbar-ignored-directory-expressions)
7177 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7178 (speedbar-find-file, speedbar-dir-follow)
7179 (speedbar-directory-buttons-follow, speedbar-tag-find)
7180 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7181 (speedbar-buffers-line-directory, speedbar-buffer-click):
7182 Mark unused parameters.
7183 (speedbar-tag-file): Remove unused variable `mode'.
7184 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7185
7186 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7187
7188 * talk.el (talk): Remove unused variable `display'.
7189
7190 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7191 (tar-write-region-annotate): Mark unused parameter.
7192
7193 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7194 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7195 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7196 warning by another.
7197
7198 * time-stamp.el (time-stamp-string-preprocess):
7199 Remove unused variable `require-padding'.
7200
7201 * tree-widget.el (widget-glyph-enable): Declare.
7202 (tree-widget-action): Mark unused parameter.
7203
7204 * w32-fns.el (x-get-selection): Mark unused parameter.
7205 (autoload-make-program, generated-autoload-file): Declare.
7206
7207 * wdired.el (wdired-revert): Mark unused parameters.
7208 (wdired-xcase-word): Remove unused variable `err'.
7209
7210 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7211 (whitespace-help-scroll): Remove unused variable `data-help'.
7212
7213 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7214 (widget-image-insert, widget-after-change, default)
7215 (widget-default-format-handler, widget-default-notify)
7216 (widget-default-prompt-value, widget-info-link-action)
7217 (widget-url-link-action, widget-function-link-action)
7218 (widget-variable-link-action, widget-file-link-action)
7219 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7220 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7221 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7222 (widget-insert-button-action, widget-delete-button-action, visibility)
7223 (widget-documentation-link-action, widget-documentation-string-action)
7224 (widget-const-prompt-value, widget-regexp-match, symbol)
7225 (widget-coding-system-prompt-value)
7226 (widget-key-sequence-value-to-external, sexp)
7227 (widget-sexp-value-to-internal, character, vector, cons)
7228 (widget-choice-prompt-value, widget-boolean-prompt-value)
7229 (widget-color--choose-action): Mark unused parameters.
7230 (widget-item-match-inline, widget-choice-match-inline)
7231 (widget-checklist-match, widget-checklist-match-inline)
7232 (widget-group-match): Rename parameter VALUES to VALS.
7233 (widget-field-value-set): Remove unused variable `size'.
7234 (widget-color-action): Remove unused variables `value' and `start'.
7235
7236 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
7237 variable `dir'. Doc fix.
7238 (windmove-find-other-window): Don't pass it.
7239
7240 * window.el (count-windows): Mark unused parameter.
7241 (bw-adjust-window): Remove unused variable `err'.
7242
7243 * woman.el (woman-file-name): Remove unused variable `default'.
7244 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7245 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7246 (global-font-lock-mode): Declare.
7247 (woman-decode-region): Mark unused parameter.
7248 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7249
7250 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7251 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7252 (x-dnd-handle-moz-url): Remove unused variable `title'.
7253 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7254
7255 * xml.el (xml-parse-tag, xml-parse-attlist):
7256 Remove unused variable `pos'.
7257
7258 2011-04-19 Glenn Morris <rgm@gnu.org>
7259
7260 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7261 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7262 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7263 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7264 * calendar/cal-html.el (cal-html-insert-minical):
7265 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7266 (calendar-mark-date-pattern):
7267 Prefix "unused" locals.
7268
7269 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7270 optional argument `style'.
7271
7272 * calendar/appt.el (appt-make-list):
7273 * calendar/cal-china.el (calendar-chinese-date-string):
7274 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7275 (diary-hebrew-yahrzeit):
7276 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7277 * calendar/calendar.el (calendar-generate-window):
7278 * calendar/time-date.el (time-to-days):
7279 Remove unused local variables.
7280
7281 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
7282
7283 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7284 glyphless-char-display table.
7285 (tabulated-list-glyphless-char-display): New var.
7286
7287 2011-04-18 Sam Steingold <sds@gnu.org>
7288
7289 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7290 to acknowledgments.
7291
7292 2011-04-17 Glenn Morris <rgm@gnu.org>
7293
7294 * calendar/diary-lib.el (diary-sexp-entry):
7295 * calendar/holidays.el (holiday-sexp):
7296 Set debug-on-error rather than the removed stack-trace-on-error.
7297
7298 2011-04-16 Glenn Morris <rgm@gnu.org>
7299
7300 * progmodes/f90.el: Use lexical-binding.
7301 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7302
7303 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7304
7305 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7306 (mail-mode): Setup mailalias completion here instead.
7307 * mail/mailalias.el: Use lexical-binding.
7308 (pattern, mailalias-done): Declare dynamic.
7309 (mail-completion-at-point-function): New function, from mail-complete.
7310 (mail-complete): Use it.
7311 (mail-completion-expand): New function.
7312 (mail-get-names): Use it.
7313 (mail-directory, mail-directory-process, mail-directory-stream):
7314 Don't use `pattern' for lexically bound arg.
7315
7316 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7317
7318 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7319 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7320 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7321
7322 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7323 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7324 (byte-interactive-p): Define them again, for use when inlining
7325 old code.
7326
7327 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
7328
7329 * loadup.el: Use `string-to-number', not `string-to-int'.
7330
7331 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7334 gud-gdb-complete-command.
7335 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7336 (gud-gdb-completion-at-point): New function.
7337 (gud-gdb-completions): Remove.
7338
7339 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
7340
7341 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7342 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7343 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7344 whether `executable-find' is bound.
7345
7346 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7347
7348 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * minibuffer.el (completion-in-region-mode-predicate)
7351 (completion-in-region-mode--predicate): New vars.
7352 (completion-in-region, completion-in-region--postch)
7353 (completion-in-region-mode): Use them.
7354 (completion--capf-wrapper): Also return the hook function.
7355 (completion-at-point, completion-help-at-point):
7356 Adjust and provide a predicate.
7357
7358 Preserve arg names for advice of subr and lexical functions (bug#8457).
7359 * help-fns.el (help-function-arglist): Consolidate the subr and
7360 new-byte-code cases. Add argument `preserve-names' to extract names
7361 from the docstring when needed.
7362 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7363 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7364 (ad-arglist): Use help-function-arglist's new arg.
7365 (ad-definition-type): Use cond.
7366
7367 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
7368
7369 * autorevert.el (auto-revert-handler):
7370 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7371 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7372 Don't quote lambda.
7373
7374 * image-mode.el (image-transform-set-scale):
7375 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7376
7377 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7378
7379 * net/network-stream.el (network-stream-open-starttls): Only do
7380 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7381 Upgrades via gnutls-cli are too slow to be done opportunistically.
7382
7383 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
7384
7385 * dframe.el (dframe-current-frame): Remove spurious quote.
7386
7387 2011-04-12 Glenn Morris <rgm@gnu.org>
7388
7389 * calendar/cal-tex.el (cal-tex-end-document):
7390 Try to automatically use latin1 input if needed.
7391
7392 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7393 Don't try to cons a mark onto an empty element.
7394
7395 2011-04-11 Leo Liu <sdl.web@gmail.com>
7396
7397 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7398 buffers.
7399 (ido-kill-buffer-at-head): Support killing virtual buffers.
7400
7401 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
7402
7403 * minibuffer.el (completion-show-inline-help): New var.
7404 (completion--do-completion, minibuffer-complete)
7405 (minibuffer-force-complete, minibuffer-complete-word):
7406 Inhibit minibuffer messages if completion-show-inline-help is nil.
7407
7408 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7409 to avoid interference from inline help (Bug#5849).
7410
7411 2011-04-10 Leo Liu <sdl.web@gmail.com>
7412
7413 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7414 Fix typo.
7415
7416 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
7417
7418 * image-mode.el (image-toggle-display-image): Signal an error if
7419 not in Image mode.
7420 (image-transform-mode, image-transform-resize)
7421 (image-transform-set-rotation): Doc fix.
7422 (image-transform-set-resize): Delete.
7423 (image-transform-set-scale, image-transform-fit-to-height)
7424 (image-transform-fit-to-width): Handle image-toggle-display-image
7425 and image-transform-resize directly.
7426
7427 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
7428
7429 * doc-view.el (doc-view-fit-width-to-window)
7430 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7431 New functions for fitting the shown image to the Emacs window size.
7432 (doc-view-mode-map): Add bindings for the new functions.
7433
7434 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
7435
7436 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
7437 Fix typo in docstring.
7438
7439 2011-04-08 Eli Zaretskii <eliz@gnu.org>
7440
7441 * files.el (file-size-human-readable): Produce one digit after
7442 decimal, like "ls -lh" does.
7443
7444 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7445 the file size representation.
7446
7447 * simple.el (list-processes): If async subprocesses are not
7448 available, error out with a clear error message.
7449
7450 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
7451
7452 * help.el (help-form-show): New function, to be called from C.
7453 Put help-form output in a buffer named differently than *Help*.
7454
7455 2011-04-08 Eli Zaretskii <eliz@gnu.org>
7456
7457 * files.el (file-size-human-readable): New function.
7458
7459 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7460 computing the representation inline. Don't require `cl'.
7461
7462 2011-04-08 Glenn Morris <rgm@gnu.org>
7463
7464 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7465
7466 * net/browse-url.el (browse-url-firefox):
7467 Test system-type, not system-configuration.
7468
7469 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7470 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7471 Use log-edit-empty-buffer-p. (Bug#7598)
7472
7473 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7474 (rlogin-mode-map): Initialize in the defvar.
7475 (rlogin): Use ignore-errors.
7476
7477 * replace.el (occur-mode-map): Some fixes for menu items.
7478
7479 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7480
7481 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7482
7483 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
7484
7485 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7486 issuing unused warnings.
7487
7488 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7489 macro directly.
7490
7491 * simple.el: Lisp reimplement of list-processes. Based on an
7492 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7493 (process-menu-mode): New major mode.
7494 (list-processes--refresh, list-processes):
7495 (process-menu-visit-buffer): New functions.
7496
7497 * files.el (save-buffers-kill-emacs): Don't assume any return
7498 value of list-processes, which is undocumented anyway.
7499
7500 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
7501
7502 * emacs-lisp/tabulated-list.el: New file.
7503
7504 * emacs-lisp/package.el: Use Tabulated List mode.
7505 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7506 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7507 table format using Tabulated List mode variables.
7508 (package--push): New macro, replacing package-list-maybe-add.
7509 (package-menu--generate): Use package--push. Renamed from
7510 package--generate-package-list.
7511 (package-menu-refresh, list-packages): Use it.
7512 (package-menu--print-info): Rename from package-print-package.
7513 Return insertion data instead of inserting it directly.
7514 (package-menu-describe-package, package-menu-execute):
7515 Use tabulated-list-get-id.
7516 (package-menu-mark-delete, package-menu-mark-install)
7517 (package-menu-mark-unmark, package-menu-backup-unmark)
7518 (package-menu-mark-obsolete-for-deletion):
7519 Use tabulated-list-put-tag.
7520 (package--list-packages, package-menu-revert)
7521 (package-menu-get-package, package-menu-get-version)
7522 (package-menu-sort-by-column): Functions deleted.
7523 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7524 (package-menu--status-predicate, package-menu--version-predicate)
7525 (package-menu--name-predicate)
7526 (package-menu--description-predicate): Handle arguments in the
7527 Tabulated List format.
7528 (package-list-packages-no-fetch): Call list-packages.
7529
7530 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
7531
7532 * files.el (after-find-file-from-revert-buffer): Remove variable.
7533 (after-find-file): Don't bind it.
7534 (revert-buffer-in-progress-p): New variable.
7535 (revert-buffer): Bind it.
7536 Pass nil for `after-find-file-from-revert-buffer'.
7537
7538 * saveplace.el (save-place-find-file-hook): Use new variable
7539 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7540
7541 2011-04-06 Glenn Morris <rgm@gnu.org>
7542
7543 * Makefile.in (AUTOGEN_VCS): New variable.
7544 (autoloads): Use $AUTOGEN_VCS.
7545
7546 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7547 * calendar/calendar.el (calendar-mode-map):
7548 Check for toolkit scroll bars. (Bug#8305)
7549
7550 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
7551
7552 * minibuffer.el (completion-in-region--postch)
7553 (completion-in-region-mode): Remove unnecessary messages.
7554
7555 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
7556
7557 * font-lock.el (font-lock-refresh-defaults):
7558 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7559 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7560
7561 * info.el (Info-directory-list, Info-read-node-name-2)
7562 (Info-split-parameter-string): Doc fixes.
7563 (Info-virtual-nodes): Reflow docstring.
7564 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7565 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7566 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7567 Fix typos in docstrings.
7568 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7569 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7570 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7571 (Info-restore-desktop-buffer): Mark unused parameters.
7572 (Info-directory-find-file, Info-directory-find-node)
7573 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7574 (Info-virtual-index-find-node, Info-apropos-find-file)
7575 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
7576 Mark unused parameters; fix typos in docstrings.
7577 (Info-virtual-index): Remove unused local variable `nodename'.
7578
7579 2011-04-05 Deniz Dogan <deniz@dogan.se>
7580
7581 * net/rcirc.el: Update my e-mail address.
7582 (rcirc-mode-map): Remove M-o binding.
7583
7584 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
7585
7586 * startup.el (command-line): Save the cursor's theme-face
7587 directly, instead of using face-override-spec.
7588
7589 * custom.el (load-theme): Minor optimization in assigning faces.
7590
7591 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * help-fns.el (describe-variable): Complete all variables having
7594 documentation, including keywords.
7595 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7596
7597 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
7598
7599 Convert to lexical-binding.
7600
7601 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7602 (bs--get-marked-string, bs--get-modified-string)
7603 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7604 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7605 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7606
7607 * ehelp.el (electric-help-execute-extended)
7608 (electric-help-ctrl-x-prefix):
7609 * hexl.el (hexl-revert-buffer-function):
7610 * linum.el (linum-after-change, linum-after-scroll):
7611 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7612
7613 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7614
7615 2011-04-04 Daiki Ueno <ueno@unixuser.org>
7616
7617 * epa-dired.el:
7618 * epa-mail.el:
7619 * epa-hook.el:
7620 * epa-file.el:
7621 * epa.el:
7622 * epg.el: Use lexical binding.
7623
7624 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
7625
7626 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7627
7628 * textmodes/flyspell.el (flyspell-word): Recognize default
7629 dictionary case for flyspell-mark-duplications-exceptions.
7630 Use regexp matching for languages.
7631 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7632 default dictionary (Bug#7926).
7633
7634 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
7635
7636 * emacs-lisp/package.el (package--with-work-buffer):
7637 Recognize https URLs.
7638
7639 * net/network-stream.el: Move from gnus/proto-stream.el.
7640 Change prefix to network-stream throughout.
7641 (open-protocol-stream): Merge into open-network-stream, leaving
7642 open-protocol-stream as an alias. Handle nil BUFFER args.
7643
7644 * subr.el (open-network-stream): Move to net/network-stream.el.
7645
7646 2011-04-02 Glenn Morris <rgm@gnu.org>
7647
7648 * find-dired.el (find-exec-terminator): New option.
7649 (find-ls-option): Test for -ls support.
7650 (find-ls-subdir-switches): Test for -b in find-ls-option.
7651 (find-dired, find-grep-dired): Doc fixes.
7652 (find-dired): Use find-exec-terminator.
7653
7654 * find-dired.el (find-ls-option, find-ls-subdir-switches)
7655 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7656 (find-name-arg): Remove purecopy.
7657
7658 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7659 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7660 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7661 accordingly. Don't add the null-device if not needed.
7662
7663 * files.el (save-some-buffers): Doc fix.
7664
7665 2011-04-02 Eli Zaretskii <eliz@gnu.org>
7666
7667 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7668
7669 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7672 Use `dolist' rather than `mapcar'.
7673
7674 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 Add lexical binding.
7677
7678 * subr.el (apply-partially): Use new closures rather than CL.
7679 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7680 (dolist, dotimes): Use slightly different expansion for lexical code.
7681 (functionp): Move to C.
7682 (letrec): New macro.
7683 (with-wrapper-hook): Use it and apply-partially instead of CL.
7684 (eval-after-load): Preserve lexical-binding.
7685 (save-window-excursion, with-output-to-temp-buffer): Turn them
7686 into macros.
7687
7688 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7689
7690 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7691 than the arglist.
7692 (help-add-fundoc-usage): Don't add `Not documented'.
7693 (help-function-arglist): Handle closures, subroutines, and new
7694 byte-code-functions.
7695 (help-make-usage): Remove leading underscores.
7696 (describe-function-1): Handle closures.
7697 (describe-variable): Use special-variable-p for completion.
7698
7699 * files.el (lexical-binding): Declare safe.
7700
7701 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7702 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7703 (pcase): Add `let' pattern.
7704 Change memoization so it actually works.
7705 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7706 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7707 <let>: New case.
7708
7709 * emacs-lisp/macroexp.el: Use lexical binding.
7710 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7711 Don't convert ' to #' without checking that it's indeed quoting
7712 a lambda.
7713
7714 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
7715 Use eval-sexp-add-defvars.
7716 (eval-sexp-add-defvars): New fun.
7717
7718 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7719
7720 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7721 Don't autoload.
7722 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7723 than the internal `byte-compile-lambda'.
7724 (defmethod): Don't hide code under quotes.
7725 (eieio-defmethod): New `code' argument.
7726
7727 * emacs-lisp/eieio-comp.el: Remove.
7728
7729 * emacs-lisp/edebug.el (edebug-eval-defun)
7730 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7731 (edebug-toggle): Avoid `eval'.
7732
7733 * emacs-lisp/disass.el (disassemble-internal): Handle new
7734 `closure' objects.
7735 (disassemble-1): Handle new byte codes.
7736
7737 * emacs-lisp/cl.el (pushnew): Silence warning.
7738
7739 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7740 (cl-byte-compile-throw): Remove.
7741 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7742
7743 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7744 closures.
7745
7746 * emacs-lisp/cconv.el: New file.
7747
7748 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7749 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7750 (byte-compile-initial-macro-environment):
7751 Handle declare-function here.
7752 (byte-compile--lexical-environment): New var.
7753 (byte-stack-ref, byte-stack-set, byte-discardN)
7754 (byte-discardN-preserve-tos): New lap codes.
7755 (byte-interactive-p): Don't use any more.
7756 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7757 New macros.
7758 (byte-compile-lapcode): Use them and handle new lap codes.
7759 (byte-compile-obsolete): Remove.
7760 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7761 (byte-compile-arglist-warn): Check late def of inlinable funs.
7762 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7763 since they should have been expanded by now.
7764 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7765 (byte-compile-from-buffer): Remove unused second arg.
7766 (byte-compile-preprocess): New function.
7767 (byte-compile-toplevel-file-form): New function to distinguish
7768 file-form calls from outside from file-form calls from hunk-handlers.
7769 (byte-compile-file-form): Simplify.
7770 (byte-compile-file-form-defsubst): Remove.
7771 (byte-compile-file-form-defmumble): Simplify now that
7772 byte-compile-lambda always returns a byte-code-function.
7773 (byte-compile): Preprocess.
7774 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7775 Remove, not used any more.
7776 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7777 (byte-compile-make-args-desc): New funs.
7778 (byte-compile-lambda): Handle lexical functions. Always return
7779 a byte-code-function.
7780 (byte-compile-reserved-constants): New var, to make up room for
7781 closed-over variables.
7782 (byte-compile-constants-vector): Obey it.
7783 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7784 (byte-compile-macroexpand-declare-function): New function.
7785 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7786 byte-code-functions.
7787 (byte-compile-form): Check obsolescence here.
7788 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7789 (byte-compile-variable-ref): Remove.
7790 (byte-compile-dynamic-variable-op): New fun.
7791 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7792 (byte-compile-variable-set): New funs.
7793 (byte-compile-discard): Add 2 args.
7794 (byte-compile-stack-ref, byte-compile-stack-set)
7795 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7796 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7797 macroexpand-all instead.
7798 (byte-compile-quote-form): Remove.
7799 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7800 (byte-compile-bind, byte-compile-unbind): New funs.
7801 (byte-compile-let): Handle let* and lexical binding.
7802 (byte-compile-let*): Remove.
7803 (byte-compile-catch, byte-compile-unwind-protect)
7804 (byte-compile-track-mouse, byte-compile-condition-case):
7805 Handle a new :fun-body form, used for lexical scoping.
7806 (byte-compile-save-window-excursion)
7807 (byte-compile-with-output-to-temp-buffer): Remove.
7808 (byte-compile-defun): Simplify.
7809 (byte-compile-stack-adjustment): New fun.
7810 (byte-compile-out): Use it.
7811 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7812
7813 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7814 handler any more.
7815
7816 * emacs-lisp/byte-opt.el: Use lexical binding.
7817 (byte-inline-lapcode): Remove (to bytecomp).
7818 (byte-compile-inline-expand): Pay attention to inlining to/from
7819 lexically bound code.
7820 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7821 any more.
7822 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7823 any more and don't call compiler-macros.
7824 (byte-compile-splice-in-already-compiled-code): Remove.
7825 (byte-code): Don't inline any more.
7826 (disassemble-offset): Receive `bytes' as argument rather than via
7827 dynamic scoping.
7828 (byte-compile-tag-number): Declare before first use.
7829 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7830 `return' even if make-spliceable.
7831 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7832 obsolete interactive-p.
7833 (byte-optimize-lapcode): Optimize new lap-codes.
7834 Don't trip up on new form of `byte-constant' lap code.
7835
7836 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7837
7838 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7839
7840 * custom.el (custom-initialize-default, custom-declare-variable):
7841 Use `defvar'.
7842
7843 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7844 New variables.
7845 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7846 (COMPILE_FIRST): Add macroexp and cconv.
7847 * makefile.w32-in: Mirror changes in Makefile.in.
7848
7849 * vc/cvs-status.el:
7850 * vc/diff-mode.el:
7851 * vc/log-edit.el:
7852 * vc/log-view.el:
7853 * vc/smerge-mode.el:
7854 * textmodes/bibtex-style.el:
7855 * textmodes/css.el:
7856 * startup.el:
7857 * uniquify.el:
7858 * minibuffer.el:
7859 * newcomment.el:
7860 * reveal.el:
7861 * server.el:
7862 * mpc.el:
7863 * emacs-lisp/smie.el:
7864 * doc-view.el:
7865 * dired.el:
7866 * abbrev.el: Use lexical binding.
7867
7868 2011-04-01 Eli Zaretskii <eliz@gnu.org>
7869
7870 * info.el (info-display-manual): New function.
7871
7872 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7875
7876 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7877
7878 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
7879 an entry for that server in rcirc-authinfo. (Bug#8385)
7880
7881 2011-03-31 Glenn Morris <rgm@gnu.org>
7882
7883 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7884
7885 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7886
7887 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7888
7889 * progmodes/python.el (python-default-interpreter)
7890 (python-python-command-args, python-jython-command-args)
7891 (python-which-shell, python-which-args, python-which-bufname)
7892 (python-file-queue, python-comint-output-filter-function)
7893 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7894 variables and functions.
7895
7896 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7899 (completion-in-region-mode): New minor mode.
7900 (completion-in-region): Use it.
7901 (completion-in-region--data, completion-in-region-mode-map): New vars.
7902 (completion-in-region--postch): New function.
7903 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7904 New vars.
7905 (completion--capf-wrapper): New function.
7906 (completion-at-point): Use it to track well-behavedness of
7907 hook functions.
7908 (completion-help-at-point): New command.
7909
7910 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7911
7912 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7913 syntax class to search for whitespace on a single line
7914 (Message-ID: <4D938140.4030905@redhat.com>).
7915
7916 2011-03-30 Leo Liu <sdl.web@gmail.com>
7917
7918 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7919 New commands.
7920 (edit-abbrevs-map): Bind them here.
7921 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7922
7923 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7924
7925 * allout.el (allout-hide-by-annotation, allout-flag-region):
7926 Reduce possibility of overlay leakage by making them volatile.
7927
7928 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7929 hash is not shared between buffers. Mode initialization is
7930 responsible for giving it a useful starting value.
7931 (allout-item-span): Reduce possibility of overlay leakage by
7932 making them volatile.
7933 (allout-widgets-count-buttons-in-region): Add diagnostic function
7934 for tracking down button overlay leaks.
7935
7936 2011-03-29 Leo Liu <sdl.web@gmail.com>
7937
7938 * ido.el (ido-read-internal): Use the default history var
7939 minibuffer-history if no HISTORY is specified.
7940
7941 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7942
7943 * net/imap.el (imap-shell-open, imap-process-connection-type):
7944 Use imap-process-connection-type for 'shell' streams as well as
7945 Kerberos, SSL, other subprocesses.
7946
7947 2011-03-28 Leo Liu <sdl.web@gmail.com>
7948
7949 * abbrev.el (abbrev-table-empty-p): New function.
7950 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7951 nonempty ones. (Bug#5937)
7952
7953 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7954
7955 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7956
7957 2011-03-27 Leo Liu <sdl.web@gmail.com>
7958
7959 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7960 for foreground and background colors.
7961 (ansi-color-make-color-map): Adapt.
7962
7963 2011-03-25 Leo Liu <sdl.web@gmail.com>
7964
7965 * midnight.el (midnight-time-float): Remove. Note it calculates
7966 the microsecond component incorrectly and seconds-to-time does the
7967 same job.
7968 Remove redundant (require 'timer).
7969
7970 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7971 (ido-completions): Remove unused arguments. (Bug#8329)
7972
7973 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7974
7975 * minibuffer.el (completion--flush-all-sorted-completions):
7976 Remove itself from hook.
7977 (completion-at-point): Let the functions perform the completion
7978 immediately and return nil or t.
7979 * comint.el (comint-dynamic-complete-functions): Now identical to
7980 completion-at-point-functions.
7981 (comint-dynamic-list-input-ring): Remove unused var `index'.
7982 (comint--match-partial-filename, comint--unquote&expand-filename):
7983 New funs, split from comint-match-partial-filename.
7984 (comint-dynamic-complete): Use completion-at-point.
7985 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7986
7987 2011-03-24 Drew Adams <drew.adams@oracle.com>
7988
7989 * thingatpt.el: Support `defun'.
7990
7991 2011-03-23 Leo Liu <sdl.web@gmail.com>
7992
7993 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7994
7995 * help-mode.el (help-mode-finish): Tweak regexp.
7996
7997 2011-03-23 Glenn Morris <rgm@gnu.org>
7998
7999 * eshell/esh-opt.el (eshell-eval-using-options):
8000 Do not bind unused local variable `eshell-option-stub'.
8001
8002 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8003
8004 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
8005
8006 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8007 keymap variable in `with-no-warnings' to avoid a warning when the
8008 keymap has been already `defconst'ed.
8009
8010 2011-03-22 Leo Liu <sdl.web@gmail.com>
8011
8012 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8013 encode all chars in abbrevs; otherwise use emacs-mule or
8014 utf-8-emacs. (Bug#8308)
8015
8016 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
8017
8018 * simple.el (backward-delete-char-untabify):
8019 Avoid warning about using `delete-backward-char'.
8020
8021 * image.el (image-type-file-name-regexps): Make it variable.
8022 `imagemagick-register-types' modifies it, and the user may want
8023 to add new extensions for known image types.
8024 (imagemagick-register-types): Throw error if not using ImageMagick.
8025
8026 2011-03-22 Leo Liu <sdl.web@gmail.com>
8027
8028 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8029 located before rcirc-prompt-end-marker.
8030 (rcirc-complete): Error if point is not after rcirc prompt.
8031 Handle the case when table is nil.
8032 (rcirc-user-authenticated): Define to fix compiler warning.
8033
8034 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
8035
8036 * custom.el (custom--inhibit-theme-enable): Make it affect only
8037 custom-theme-set-variables and custom-theme-set-faces.
8038 (provide-theme): Ignore custom--inhibit-theme-enable.
8039 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8040 (custom-enabling-themes): Delete variable.
8041 (enable-theme): Accept only loaded themes as arguments.
8042 Ignore the special custom-enabled-themes variable.
8043 (custom-enabled-themes): Forbid themes from setting this.
8044 Eliminate use of custom-enabling-themes.
8045 (custom-push-theme): Quote "changed" custom var entry.
8046
8047 2011-03-21 Leo Liu <sdl.web@gmail.com>
8048
8049 * ido.el (ido-read-internal): Add ido-selected to history instead
8050 of user input.
8051
8052 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * subr.el (deferred-action-list, deferred-action-function):
8055 Mark obsolete.
8056
8057 2011-03-21 Leo Liu <sdl.web@gmail.com>
8058
8059 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8060 change on 2011-02-13 (bug#8309).
8061
8062 * minibuffer.el (read-file-name-function): Change default value.
8063 (read-file-name--defaults): Rename from read-file-name-defaults.
8064 (read-file-name-default): Rename from read-file-name.
8065 (read-file-name): Call read-file-name-function.
8066
8067 2011-03-21 Glenn Morris <rgm@gnu.org>
8068
8069 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8070 Doc fixes.
8071
8072 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
8073
8074 * cus-theme.el: Add missing provide statement.
8075 (customize-create-theme): Extract theme value correctly.
8076 (custom-theme-visit-theme): Autoload.
8077 (customize-create-theme): Prompt before inserting default faces.
8078
8079 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8080
8081 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8082 units and musical notes.
8083
8084 2011-03-20 Leo <sdl.web@gmail.com>
8085
8086 * ido.el (ido-read-internal): Use completing-read-default.
8087 (ido-completing-read): Fix compatibility with completing-read.
8088
8089 2011-03-20 Christian Ohler <ohler@gnu.org>
8090
8091 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8092 (ert-delete-all-tests): Use `called-interactively-p' rather than
8093 `interactive-p'.
8094 (ert--make-xrefs-region): Respect END.
8095
8096 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
8097
8098 * dired-aux.el (dired-create-directory): Signal an error if the
8099 directory already exists (Bug#8246).
8100
8101 * facemenu.el (list-colors-display): Call list-faces-display
8102 inside with-help-window.
8103 (list-colors-print): Use display property to align the final
8104 column, instead of checking window-width.
8105
8106 2011-03-19 Eli Zaretskii <eliz@gnu.org>
8107
8108 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
8109 windows-nt systems.
8110 (emerge-protect-metachars): Quote correctly for ms-dos and
8111 windows-nt systems.
8112
8113 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
8114
8115 * info.el (info-initialize): Replace all uses of `:' with
8116 path-separator for compatibility with non-Unix systems.
8117 Cache quoting of path-separator. (Bug#8258)
8118
8119 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
8120
8121 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8122 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8123 (mouse-avoidance-mode): Fix typos in docstrings.
8124
8125 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
8126
8127 * startup.el (package-subdirectory-regexp): Move from package.el.
8128 Omit \\` and \\', and let callers add them.
8129
8130 * emacs-lisp/package.el (package-strip-version)
8131 (package-load-all-descriptors): Add \\` and \\' to
8132 package-subdirectory-regexp before using it.
8133 (package-untar-buffer): New arg DIR; ensure that file untars only
8134 into this expected directory. Remove superfluous delete-region.
8135 (package-unpack): Caller changed.
8136 (package-tar-file-info): Use package-subdirectory-regexp.
8137
8138 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8141 diff-mode-shared-map (bug#8284).
8142 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
8143
8144 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8145
8146 * calendar/time-date.el (format-seconds): Use assoc instead of
8147 assoc-string, since assoc-string doesn't exist in XEmacs.
8148
8149 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * custom.el (custom-known-themes): Reflow docstring.
8152 (custom-theme-load-path): Fix typo in docstring.
8153 (load-theme): Fix typo in error message.
8154 (custom-available-themes, custom-variable-theme-value):
8155 Use `let', not `let*'.
8156
8157 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8158
8159 * calc/README: Mention inclusion of musical notes.
8160
8161 * calc/calc-units.el (calc-lu-quant): Rename from
8162 `calc-logunits-quantity'.
8163 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8164 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8165 (calc-db): Rename from `calc-dblevel'.
8166 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8167 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8168 (calc-np): Rename from `calc-nplevel'.
8169 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8170 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8171 (calc-lu-plus): Rename from `calc-logunits-add'.
8172 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8173 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8174 (calc-lu-minus): Rename from `calc-logunits-sub'.
8175 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8176 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8177 (calc-lu-times): Rename from `calc-logunits-mul'.
8178 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8179 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8180 (calc-lu-divide): Rename from `calc-logunits-div'.
8181 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8182 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8183
8184 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8185 functions being autoloaded.
8186
8187 * calc/calc.el (calc-lu-power-reference): Rename from
8188 `calc-logunits-power-reference'.
8189 (calc-lu-field-reference): Rename from
8190 `calc-logunits-field-reference'.
8191
8192 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8193
8194 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * minibuffer.el (completion-all-sorted-completions):
8197 Use :completion-cycle-penalty text property if present.
8198
8199 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8200
8201 * allout.el (allout-yank-processing): Adjust for new rebulleting
8202 regime so bullet being yanked is used without prompting the user
8203 for a choice.
8204
8205 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
8206
8207 * startup.el (command-line): Warn the user that _emacs is deprecated.
8208
8209 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8212 (delphi-verbose, delphi-comment-face, delphi-string-face)
8213 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8214 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8215 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8216 (delphi-new-comment-line, delphi-font-lock-defaults)
8217 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8218 Fix typos in docstrings.
8219
8220 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8221
8222 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
8223 Invert the roles of character and string values for INSTEAD, so a
8224 string is used for the more common case of a defaulting prompt.
8225
8226 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * progmodes/ruby-mode.el (ruby-backward-sexp):
8229 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8230 * play/gamegrid.el (gamegrid-make-face):
8231 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8232 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8233 * notifications.el (notifications-notify):
8234 * net/xesam.el (xesam-search-engines):
8235 * net/quickurl.el (quickurl-list-insert):
8236 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8237
8238 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
8239
8240 * startup.el (command-line): Update package subdirectory regexp.
8241
8242 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * allout.el (allout-abbreviate-flattened-numbering)
8245 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8246
8247 * subr.el (read-char-choice): Only show the cursor after the prompt,
8248 not after the answer.
8249
8250 2011-03-15 Kevin Ryde <user42@zip.com.au>
8251
8252 * help-fns.el (variable-at-point): Skip leading quotes, if any
8253 (bug#8253).
8254
8255 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8258 warning message.
8259
8260 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * shell.el (shell): When called interactively, offer to change the
8263 shell file name on remote hosts.
8264
8265 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8266
8267 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8268 integration for LDAP parameters. The host, base, user or binddn,
8269 and secret tokens can be specified in a netrc file, for instance.
8270 This is optional because an `auth-source' parameter must be
8271 specified in the search attributes.
8272
8273 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
8274
8275 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8276
8277 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8280 into declaration. Remove redundant and harmful binding.
8281
8282 2011-03-12 Eli Zaretskii <eliz@gnu.org>
8283
8284 * files.el (file-ownership-preserved-p): Pass `integer' as an
8285 explicit 2nd argument to `file-attributes'. If the file's owner
8286 is the Administrators group on Windows, and the current user is
8287 Administrator, consider that a match.
8288
8289 * server.el (server-ensure-safe-dir): Consider server directory
8290 safe on MS-Windows if its owner is the Administrators group while
8291 the current Emacs user is Administrator. Use `=' to compare
8292 numerical UIDs, since they could be integers or floats.
8293
8294 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
8295
8296 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8297
8298 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
8299
8300 Sync with Tramp 2.2.1.
8301
8302 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8303
8304 * net/trampver.el: Update release number.
8305
8306 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * progmodes/compile.el (compilation--previous-directory): Fix up
8309 various nil/dead-marker mismatches (bug#8014).
8310 (compilation-directory-properties, compilation-error-properties):
8311 Don't call it at a position past the one we're about to change.
8312
8313 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8314 Disable obsolescence warnings in the file that declares it.
8315
8316 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8317
8318 * allout-widgets.el (allout-widgets-tally):
8319 Initialize allout-widgets-tally as a hash table rather than nil to
8320 prevent mode-line redisplay warnings. Also, clarify the module
8321 description and fix a comment typo.
8322
8323 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
8324
8325 * help-fns.el (describe-variable): Don't complete keywords.
8326 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8327
8328 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
8329
8330 * emacs-lisp/package.el (package-version-join): Impose a standard
8331 string representation for pre/alpha/beta version lists.
8332 (package-unpack-single): Standardize the directory name by passing
8333 it through package-version-join.
8334 (package-strip-rcs-id): Accept any version string that does not
8335 signal an error in version-to-list.
8336
8337 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
8338
8339 * simple.el (delete-trailing-whitespace): Return nil for the
8340 benefit of `write-file-functions'.
8341
8342 2011-03-10 Glenn Morris <rgm@gnu.org>
8343
8344 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8345
8346 * vc/vc-git.el (vc-git-program): New option.
8347 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8348 (vc-git--call): Use it.
8349
8350 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8351
8352 * cus-edit.el (Custom-newline): If no button at point, look
8353 for a subgroup button at start-of-line. (Bug#2298)
8354
8355 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8356
8357 2011-03-10 Julien Danjou <julien@danjou.info>
8358
8359 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8360 `cursor-type' is nil.
8361
8362 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8363
8364 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8365
8366 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8367
8368 * allout.el Summary: Change so yank of distinctive-bullet items
8369 preserves the existing header prefix, rebulleting it if necessary,
8370 rather than replacing it. This is necessary for proper operation
8371 of cooperative addons like allout-widgets.
8372 (allout-make-topic-prefix, allout-rebullet-heading): Change
8373 SOLICIT arg to INSTEAD, and interpret additionally a string value
8374 as alternate bullet to be used, instead of prompting the user for
8375 a bullet character.
8376
8377 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
8378
8379 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8380 Do not use `tramp-file-name-port', because this returns also
8381 `tramp-default-port'.
8382
8383 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8384
8385 * net/rcirc.el (rcirc-handler-001): Remove useless
8386 with-rcirc-process-buffer.
8387 (rcirc-check-auth-status): Swap arguments to string-match.
8388
8389 2011-03-09 Glenn Morris <rgm@gnu.org>
8390
8391 * shell.el (shell-mode):
8392 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8393
8394 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8395 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8396
8397 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
8398
8399 * emacs-lisp/package.el (package-refresh-contents)
8400 (package-menu-execute): Use condition-case-no-debug.
8401
8402 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
8403
8404 * simple.el (shell-command-to-string): Use `process-file'.
8405
8406 * emacs-lisp/package.el (package-tar-file-info): Handle also
8407 remote files.
8408
8409 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8410 Use `equal' for upload base check.
8411
8412 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8413
8414 * textmodes/texinfo.el (texinfo-environments):
8415 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8416
8417 2011-03-08 Glenn Morris <rgm@gnu.org>
8418
8419 * cus-start.el (cursor-in-non-selected-windows):
8420 Fix :set quoting oddness. (Bug#8192)
8421
8422 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8423 in some setf expressions. (Bug#2159)
8424
8425 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
8426
8427 * custom.el (custom-available-themes): Return themes in
8428 alphabetical order.
8429
8430 See ChangeLog.15 for earlier changes.
8431
8432 ;; Local Variables:
8433 ;; coding: utf-8
8434 ;; End:
8435
8436 Copyright (C) 2011 Free Software Foundation, Inc.
8437
8438 This file is part of GNU Emacs.
8439
8440 GNU Emacs is free software: you can redistribute it and/or modify
8441 it under the terms of the GNU General Public License as published by
8442 the Free Software Foundation, either version 3 of the License, or
8443 (at your option) any later version.
8444
8445 GNU Emacs is distributed in the hope that it will be useful,
8446 but WITHOUT ANY WARRANTY; without even the implied warranty of
8447 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8448 GNU General Public License for more details.
8449
8450 You should have received a copy of the GNU General Public License
8451 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.