* dbusbind.c (XD_DBUS_VALIDATE_OBJECT): Define only if needed.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dcbf5805
MA
12012-04-22 Michael Albinus <michael.albinus@gmx.de>
2
3 Move functions from C to Lisp. Make non-blocking method calls
4 the default. Implement further D-Bus standard interfaces.
5
6 * net/dbus.el (dbus-message-internal): Declare function. Remove
7 unneeded function declarations.
8 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9 (dbus-message-type-method-return, dbus-message-type-error)
10 (dbus-message-type-signal): Declare variables. Remove local
11 definitions.
12 (dbus-interface-dbus, dbus-interface-peer)
13 (dbus-interface-introspectable, dbus-interface-properties)
14 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15 Adapt docstring.
16 (dbus-interface-objectmanager): New defconst.
17 (dbus-call-method, dbus-call-method-asynchronously)
18 (dbus-send-signal, dbus-method-return-internal)
19 (dbus-method-error-internal, dbus-register-service)
20 (dbus-register-signal, dbus-register-method): New defuns, moved
21 from dbusbind.c
22 (dbus-call-method-handler, dbus-setenv)
23 (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
24 defuns.
25 (dbus-call-method-non-blocking): Make it an obsolete function.
26 (dbus-unregister-object, dbus-unregister-service)
27 (dbus-handle-event, dbus-register-property)
28 (dbus-property-handler): Obey the new structure of
29 `bus-registered-objects'.
30 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
31 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
32 Use `dbus-call-method'.
33
cf20dee0
CY
342012-04-22 Chong Yidong <cyd@gnu.org>
35
36 * cus-edit.el (custom-commands, custom-reset-menu)
37 (Custom-reset-standard): Tweak labels.
38 (custom-reset-button-menu): Change default to t.
39 (custom-buffer-create-internal): For the custom-reset-button-menu
40 case, put the revert button first.
41 (custom-group-subtitle): New face.
42 (custom-group-value-create): Align docstring to a specific column.
43
44 * wid-edit.el (widget-documentation-link-add): Don't handle
45 indentation in this function.
46 (widget-documentation-string-indent-to): New function.
47 (widget-documentation-string-value-create): Use it.
48
49 * autorevert.el (auto-revert):
50 * epg-config.el (epg):
51 * ibuffer.el (ibuffer):
52 * mpc.el (mpc):
53 * ses.el (ses):
54 * eshell/eshell.el (eshell):
55 * net/ange-ftp.el (ange-ftp):
56 * progmodes/ebnf2ps.el (postscript):
57 * progmodes/flymake.el (flymake):
58 * progmodes/prolog.el (prolog):
59 * progmodes/verilog-mode.el (verilog-mode):
60 * progmodes/which-func.el (which-func):
61 * term/xterm.el (xterm):
62 * textmodes/picture.el (picture):
63 * textmodes/tildify.el (tildify):
64 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
65 customization buffers.
66
583e23bd
AM
672012-04-22 Alan Mackenzie <acm@muc.de>
68
69 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
70 Adding a ) can hide the resulting (..) from searches. Fix it.
71 Bound the backward search to the position of the existing (.
72
7dd51bf1
JB
732012-04-21 Juanma Barranquero <lekktu@gmail.com>
74
75 * progmodes/verilog-mode.el (verilog-mode): Check whether
76 which-func-modes is t before adding verilog-mode.
77 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
78
d64a438f
LL
792012-04-21 Leo Liu <sdl.web@gmail.com>
80
7dd51bf1 81 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 82
081e8d65
MV
832012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
84
85 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
86 filling of the last column of a table (Bug#5635).
87 (woman-find-next-control-line): New arg, specifying an additional
88 regexp component for the control line.
89 (woman2-roff-buffer): Use it.
90 (woman-break-table): New function.
91 (woman2-TS): Use it.
92
932012-04-21 Chong Yidong <cyd@gnu.org>
94
95 * woman.el (woman-set-buffer-display-table, woman-decode-region)
96 (woman-horizontal-escapes, woman-negative-vertical-space)
97 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
98 (WoMan-warn-ignored): Use ?\s instead of ?\ .
99
ed571ccb
SM
1002012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * minibuffer.el (completion-file-name-table): Complete user names.
103
39773899
LL
1042012-04-20 Leo Liu <sdl.web@gmail.com>
105
106 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
107 and pcase-let*.
108
de6ff46d
CY
1092012-04-20 Chong Yidong <cyd@gnu.org>
110
111 * server.el (server-execute): Respect initial-buffer-choice if it
112 is a string and there are no files to open (Bug#2825).
113 (server-create-window-system-frame, server-create-tty-frame):
114 Don't switch buffers here.
2d0e8e61
CY
115 (server-process-filter): Only try to open a window system frame if
116 compiled with graphical support (Bug#8314).
de6ff46d 117
54071013
DN
1182012-04-20 Dan Nicolaescu <dann@gnu.org>
119
120 * battery.el (battery-echo-area-format): Display remaining time
121 for sysfs backend too (Bug#11269).
122 (battery-linux-sysfs): Fix conditional for the charge.
123
f30d612a
CY
1242012-04-20 Chong Yidong <cyd@gnu.org>
125
c07a4c0b 126 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
127 (gdb-inferior-io--init-proc): New function.
128 (gdb-init-1): Use it.
129 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
130 responsible for allocating a new pty and hooking it to gdb when
131 the old pty gets an EIO due to process exit.
132 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
133 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
134 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
135
2116e93c
EZ
1362012-04-20 Eli Zaretskii <eliz@gnu.org>
137
138 * window.el (window-min-size, window-sizable, window-min-delta)
139 (window-max-delta, window--resizable, window-resizable)
140 (window-total-size, window-full-height-p, window-full-width-p)
141 (window-in-direction, window--resize-mini-window, window-resize)
142 (window--resize-child-windows-normal)
143 (window--resize-child-windows, window--resize-siblings)
144 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 145 (enlarge-window, shrink-window): Doc fixes.
2116e93c 146
c07a4c0b 1472012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e
CY
148
149 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
150 function to call delete-process on the gdb-inferior buffer's pty.
151 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
152 pty process (Bug#11273).
153 (gdb-update): New arg to suppress talking to the gdb process.
154 (gdb-done-or-error): Use it.
155 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
156 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
157 sentinel not being called.
158
159 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
160
d02766ab
CY
161 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
162
c07a4c0b 1632012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
164
165 * net/network-stream.el (open-network-stream): Doc fix.
166
c07a4c0b 1672012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
168
169 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
170
c07a4c0b 1712012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
172
173 Ensure searching for keywords is case sensitive.
174
175 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
176 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
177 (c-defun-name, c-mark-function, c-cpp-define-name)
178 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 179 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 180
c07a4c0b 181 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
f0f6bc35
AM
182 case-fold-search to nil.
183
c07a4c0b 1842012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
185
186 * mail/sendmail.el (mail-bury): Call return action with the right
187 Rmail buffer (Bug#11242).
188
9a864fa2
CY
189 * server.el (server-process-filter): Handle corner case where both
190 tty and nowait options are present (Bug#11102).
191
539aa513
EZ
1922012-04-20 Eli Zaretskii <eliz@gnu.org>
193
194 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
195 (top level): Put into the executable the ident-style '$Id:' tag on
196 windows-nt as well.
539aa513 197
cfc7d5da
SM
1982012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * electric.el (electric-indent-post-self-insert-function): Check that
201 electric-indent-mode is enabled in current buffer.
202
5b01685c
JB
2032012-04-19 Juanma Barranquero <lekktu@gmail.com>
204
205 * imenu.el (imenu-progress-message): Restore; it is "used" in
206 erc/erc-imenu.el and net/snmp-mode.el.
207
4d6769e1
JB
2082012-04-19 Juanma Barranquero <lekktu@gmail.com>
209
210 * avoid.el (mouse-avoidance-mode): Mark unused arg.
211 (mouse-avoidance-nudge-mouse): Remove unused binding.
212
213 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
214
215 * descr-text.el (describe-char):
216 * progmodes/python.el (python-describe-symbol):
217 Don't call `toggle-read-only', set `buffer-read-only'.
218
219 * imenu.el (imenu-default-goto-function): Mark unused args.
220 (imenu-progress-message): Remove obsolete macro; all callers changed.
221
222 * subr.el (keymap-canonicalize): Remove unused binding.
223 (read-passwd): Mark unused arg.
224
225 * tutorial.el (tutorial--display-changes): Remove unused binding.
226 (tutorial--save-tutorial-to): Remove unused variable.
227
228 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
229 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
230 (package-generate-autoloads, package-menu--generate)
231 (package-menu--find-upgrades): Remove unused bindings.
232
233 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
234 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
235 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
236 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
237 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
238 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
239 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
240 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
241 (cua-delete-char-rectangle): Mark unused args.
242 (cua-align-rectangle): Remove unused binding.
243
244 * mail/rmail.el (compilation--message->loc)
245 (epa--find-coding-system-for-mime-charset): Declare.
246
247 * net/dbus.el (dbus-register-service): Declare.
248 (dbus-name-owner-changed-handler): Remove unused binding.
249
250 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
251 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
252 (nxml-scan-backward-within): Mark unused arg.
253 (nxml-dynamic-markup-word): Remove unused binding.
254
255 * mouse.el (mouse-menu-major-mode-map):
256 * emacs-lisp/authors.el (authors-scan-change-log)
257 (authors-add-to-author-list):
258 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
259 * emacs-lisp/smie.el (smie-auto-fill):
260 * mail/sendmail.el (mail-bury):
261 * mail/unrmail.el (unrmail):
262 * net/tls.el (open-tls-stream):
263 * textmodes/picture.el (picture-mouse-set-point):
264 Remove unused bindings.
265
8c8fc5df
MA
2662012-04-19 Michael Albinus <michael.albinus@gmx.de>
267
268 * net/tramp.el (tramp-action-password): Let-bind
269 `enable-recursive-minibuffers' to t.
270
a77b0ac9
SS
2712012-04-18 Sam Steingold <sds@gnu.org>
272
273 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
274 instead of 'string to accommodate values like [f11].
275 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
276 * progmodes/gdb-mi.el: Likewise.
277
12a106a9
LL
2782012-04-18 Leo Liu <sdl.web@gmail.com>
279
280 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
281 current buffer.
282 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
283 LOCAL is nil.
284
bc6494ef
CY
2852012-04-18 Chong Yidong <cyd@gnu.org>
286
287 * simple.el (line-move): Use forward-line if in batch mode
288 (Bug#11053).
289
c09c46b2
CS
2902012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
291
292 * files.el (after-find-file): Do not try to add a final newline if
293 the buffer is read-only (Bug#11156).
294
5f6530ea
RS
2952012-04-17 Richard Stallman <rms@gnu.org>
296
297 * mail/rmail.el (rmail-start-mail):
298 Pass (rmail-mail-return...) for the return-action.
299 Pass (rmail-yank-current-message...) for the yank-action.
300 (rmail-yank-current-message): New function.
301 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
302 (rmail-reply): Likewise.
303 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
304
305 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 306 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
307 buffer, not newbuf.
308
197b6f3c
JB
3092012-04-17 Juanma Barranquero <lekktu@gmail.com>
310
311 * server.el (server-ensure-safe-dir): Simplify.
312
2311d8e5 3132012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 314
2311d8e5
GM
315 * emacs-lisp/smie.el: Provide smarter auto-filling.
316 (smie-auto-fill): New function.
317 (smie-setup): Use it.
98fb480e 318
2311d8e5
GM
319 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
320
3212012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
322
323 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
324 (comment-indent): Use it.
325
2311d8e5 3262012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
327
328 * ses.el: The overall change is to add cell renaming, that is
329 setting fancy names for cell symbols other than name matching
330 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 331 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 332 (ses-create-cell-variable): New defun.
2311d8e5 333 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
334 (ses-relocate-formula): Relocate formulas only for cells the
335 symbols of which are not renamed, i.e. symbols whose names do not
336 match regexp "\\`[A-Z]+[0-9]+\\'".
337 (ses-relocate-all): Relocate values only for cells the symbols of
338 which are not renamed.
339 (ses-load): Create cells variables as the (ses-cell ...) are read,
340 in order to check row col consistency with cell symbol name only
341 for cells that are not renamed.
342 (ses-replace-name-in-formula): New defun.
343 (ses-rename-cell): New defun.
4bdf2ad2 344
fc72b15c
PO
3452012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
346
347 * progmodes/perl-mode.el (perl-indent-parens-as-block):
348 New option (bug#11118).
349 (perl-calculate-indent): Respect it.
350
12e10e61
GM
3512012-04-17 Glenn Morris <rgm@gnu.org>
352
353 * dired-aux.el (dired-mark-read-string): Doc fix.
354
30009afd
DA
3552012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
356
357 * dired-aux.el (dired-mark-read-string): Offer optional completion.
358 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
359
41f03f4d
GM
3602012-04-17 Glenn Morris <rgm@gnu.org>
361
362 * mouse.el (mouse-drag-track):
363 * speedbar.el (speedbar-frame-mode):
364 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
365
f45f90f3
LL
3662012-04-16 Leo Liu <sdl.web@gmail.com>
367
368 * progmodes/python.el: Trivial cleanup.
369
94ee8db5
GM
3702012-04-16 Glenn Morris <rgm@gnu.org>
371
121b8917
GM
372 * vc/vc.el (vc-string-prefix-p):
373 * vc/pcvs-util.el (cvs-string-prefix-p):
374 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
375 * mpc.el (mpc-string-prefix-p):
376 Make all of these into obsolete aliases for string-prefix-p.
377 Update callers.
378 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
379
1197ecfa
GM
380 * textmodes/two-column.el: Move custom options to the start.
381 (frame-width): Remove compat definition.
382 (2C-associate-buffer, 2C-dissociate):
383 Use with-current-buffer rather than save-excursion.
384 (2C-dissociate): Force a mode-line update.
385 (2C-autoscroll): Use ignore-errors.
386
099e7202
GM
387 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
388 Autoload trivia.
389
bf350d6a
GM
390 * emacs-lisp/cl-extra.el (*random-state*):
391 Remove unnecessary declaration.
392
0e829eab
GM
393 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
394
e3ad7552
GM
395 * play/cookie1.el (cookie-snarf):
396 Give an explicit error if input file cannot be read.
397
68892d27
GM
398 * play/yow.el (yow-file): Use expand-file-name rather than concat.
399
20f0c46d
GM
400 * progmodes/perl-mode.el (c-macro-expand):
401 Remove unnecessary autoload (it is in loaddefs.el).
402
5a0978ce
GM
403 * textmodes/picture.el (picture-desired-column)
404 (picture-update-desired-column): Convert comments to doc-strings.
405 (picture-substitute): Remove function.
406 (picture-mode-map): Initialize in the defvar.
407
6b955486
GM
408 * woman.el: Remove eval-after-load for tar-mode.
409 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
410 (woman-tar-extract-file): Autoload it.
411
94ee8db5
GM
412 * frame.el (automatic-hscrolling): Make this alias obsolete.
413
177eca34
AM
4142012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
415
416 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 417 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
418 (ispell-dictionary-base-alist): Revert to original XEmacs
419 friendly version for default. [:alpha:] will be added in
420 `ispell-set-spellchecker-params' if needed
177eca34 421
c505aaeb
CY
4222012-04-16 Chong Yidong <cyd@gnu.org>
423
424 * image.el (imagemagick--extension-regexp): New variable.
425 (imagemagick-register-types): Use it.
426 (imagemagick-types-inhibit): Add :set function. Allow new value
427 of t to inhibit all types.
428
429 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
430 so we can preload it.
431
432 * loadup.el (fboundp): Preload regexp-opt, needed by
433 imagemagick-register-types.
434
60efac0f
CY
4352012-04-15 Chong Yidong <cyd@gnu.org>
436
437 * frame.el (scrolling): Remove nearly unused customization group.
438
439 * scroll-all.el (scroll-all-mode): Move to windows group.
440
5dd1713e
CY
4412012-04-15 Chong Yidong <cyd@gnu.org>
442
443 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
444
e6fd457e
CY
4452012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 448 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 449
e153c136
GM
4502012-04-15 Glenn Morris <rgm@gnu.org>
451
452 * simple.el (process-file-side-effects): Doc fix.
453
e6fd457e 4542012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
455
456 * international/mule-cmds.el (set-language-environment): Doc fix.
457
3603c3b1
JB
4582012-04-14 Juanma Barranquero <lekktu@gmail.com>
459
460 * server.el (server-auth-key, server-generate-key): Doc fixes.
461 (server-get-auth-key): Doc fix. Use `string-match-p'.
462 (server-start): Reflow docstring.
463
e6de100c
LI
4642012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
465
466 * server.el (server-generate-key): `called-interactively-p'
467 requires a parameter.
468
29734c21
MN
4692012-04-14 Michal Nazarewicz <mina86@mina86.com>
470
471 * server.el (server-auth-key): New variable.
75f1671a 472 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
473 (server-start): Use the new variable and functions to allow
474 setting a permanent server key (bug#9423).
475
d65c9521
LL
4762012-04-14 Leo Liu <sdl.web@gmail.com>
477
478 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
479
5ae255c7
PE
4802012-04-14 Paul Eggert <eggert@cs.ucla.edu>
481
482 Spelling fixes.
483 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
484 Emacs uses American spelling.
485
d5e6342e
JB
4862012-04-14 Juanma Barranquero <lekktu@gmail.com>
487
488 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
489 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
490 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
491 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
492
ab036cd7
SM
4932012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * progmodes/which-func.el (which-func-modes): Change default.
496
35dc09a1 4972012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
498
499 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
500 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
501
35dc09a1 5022012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
503
504 * custom.el (custom-theme-set-variables): Doc fix.
505
35dc09a1 5062012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
507
508 * international/mule.el (set-auto-coding-for-load): Doc fix.
509
35dc09a1 5102012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 511
35dc09a1
GM
512 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
513 imenu work again for Objective C Mode. Correct the *-index values,
514 these having been disturbed by a previous change in 2011-08.
57f845ee 515
0de3da9f
AM
516 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
517 Correct two search limits.
518
35dc09a1 5192012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
520
521 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
522
35dc09a1 5232012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
524
525 * international/characters.el: Fix sorting.
526
35dc09a1 5272012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
528
529 * international/characters.el: Add more missing Latin case pairs.
530
35dc09a1 5312012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
532
533 * files.el (dir-locals-set-class-variables): Doc fix.
534
35dc09a1 5352012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 536
3f1b5bf8
EZ
537 * international/characters.el: Add set-case-syntax-pair call for
538 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
539 counterpart. (Bug#11209)
540
9f847f41
EZ
541 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
542
35dc09a1 5432012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
544
545 * calendar/holidays.el (calendar-check-holidays): Doc fix.
546
35dc09a1 5472012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 548
35dc09a1
GM
549 * textmodes/ispell.el (ispell-dictionary-base-alist):
550 Add data for Hebrew.
e2627d21 551
35dc09a1 5522012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 553
35dc09a1
GM
554 * net/rcirc.el (rcirc-cmd-quit):
555 Revert 2012-03-18 change (Bug#11192).
5c14e333 556
35dc09a1 5572012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
558
559 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
560
35dc09a1 5612012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 562
4517fe3a
SM
563 * minibuffer.el (completion-in-region-mode-map):
564 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 565
b472a594
VD
5662012-04-13 Vivek Dasmohapatra <vivek@etla.org>
567
568 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
569
09b95ce3
MY
5702012-04-13 Masatake YAMATO <yamato@redhat.com>
571
572 * minibuffer.el (minibuffer-local-filename-syntax): New variable
573 to allow `C-M-f' and `C-M-b' to move to the nearest path
574 separator (bug#9511).
575
4b63a9ca
LI
5762012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
577
578 * avoid.el: Require cl when compiling. And also move the
579 `provide' to the end.
580
7b55b8bf
TV
5812012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
582
583 * avoid.el (mouse-avoidance-banish-position): New variable.
584 (mouse-avoidance-banish-destination): Use it (bug#10165).
585
adedaa1f
LL
5862012-04-13 Leo Liu <sdl.web@gmail.com>
587
588 * progmodes/which-func.el (which-func-modes): Add objc-mode.
589
70e74021
KB
5902012-04-13 Ken Brown <kbrown@cornell.edu>
591
592 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 593 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
594 (browse-url-filename-alist): For the same reason, don't modify
595 file:// URLs on Cygwin.
596
e75e89ba
SM
5972012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
600 the region on shift if the binding is already shifted (bug#11221).
601
82f289a4
GM
6022012-04-12 Glenn Morris <rgm@gnu.org>
603
604 * mail/mailpost.el: Move to obsolete/.
605
d333dc4c
DA
6062012-04-12 Drew Adams <drew.adams@oracle.com>
607
608 * imenu.el (imenu--generic-function): Ignore invisible definitions
609 (bug#10123).
610
0d15b5ba
VD
6112012-04-12 Vivek Dasmohapatra <vivek@etla.org>
612
613 * hexl.el (hexl-bits): New variable.
614 (hexl-options): Mention the variable in the doc string.
75f1671a 615 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 616 (hexl-mode): Mention the new variable.
75f1671a
JB
617 (hexl-mode, hexl-current-address, hexl-current-address):
618 Use the displen.
0d15b5ba
VD
619 (hexl-ascii-start-column): New function.
620 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
621 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
622
64a440db
AM
6232012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
624
625 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
626 '("-i" ENCODING), in 2 separate command-line arguments, to specify
627 the encoding, as expected by hunspell.
628
6decb6c2
SM
6292012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * battery.el (battery--linux-sysfs-regexp): New const.
632 (battery-status-function): Use it. Remove yeeloong special case.
633 (battery-yeeloong-sysfs): Remove.
634 (battery-echo-area-format): Remove yeeloong special case.
635
088be6fb
SM
6362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
637
6622e416
SM
638 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
639 Reported by Noah Friedman.
640
088be6fb
SM
641 * subr.el (read-passwd): Use read-string.
642
b49f886e
LMI
6432012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
644
645 * vcursor.el (vcursor-move): Increase the priority of the overlay
646 (bug#9663).
647
a63067fc
DD
6482012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
649
650 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
651 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
652
ac3cf14a
WS
6532012-04-11 William Stevenson <yhvh2000@gmail.com>
654
655 * textmodes/artist.el (artist-mode): Convert artist-mode to use
656 define-minor-mode (bug#10760).
657
c4fc691b 6582012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 659
4d6769e1 660 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
661 that directories matching `grep-find-ignored-files' won't be
662 pruned (bug#10351).
663
af23e2e5
CY
6642012-04-11 Chong Yidong <cyd@gnu.org>
665
666 * startup.el (command-line): Remove support for long-obsolete
667 variable font-lock-face-attributes.
668
ab7ce8c1
GM
6692012-04-11 Glenn Morris <rgm@gnu.org>
670
671 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
672
de8c03dc
SM
6732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * window.el (window--state-get-1): Obey window-point-insertion-type.
676
050cc68b
LB
6772012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
678
679 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
680 to previous function when point is on the first character of a
75f1671a 681 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 682
a38c310c
GM
6832012-04-11 Glenn Morris <rgm@gnu.org>
684
effed0c2
GM
685 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
686 not just file-errors.
687
a38c310c
GM
688 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
689 (vc-bzr-sha1): Use internal sha1.
690
0221e323
SM
6912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
694
43956923
SG
6952012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
696
697 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
698 that start in the middle of the line (bug#10496).
699
6a8c9eaf
DN
7002012-04-10 Dan Nicolaescu <dann@gnu.org>
701
702 * battery.el (battery-linux-proc-acpi): Only one battery is
703 discharged at a time, but that seems to confuse battery.el when
704 computing `rate-type' for the battery not being discharged
705 (bug#10332).
706
1930bf5d
SM
7072012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
708
2a718f6f
SM
709 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
710
599430d0
SM
711 * international/quail.el: Use dolist and simplify.
712 (quail-define-package, quail-update-keyboard-layout)
713 (quail-define-rules): Use dolist.
714 (quail-insert-kbd-layout, quail-get-translation): CSE.
715
a2754b6c
SM
716 * tmm.el: Use dolist, remove left over hook.
717 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
718 Use dolist.
719 (calendar-load-hook): Don't mess with it.
720
1930bf5d
SM
721 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
722 Use derived-mode-p. Run the diff asynchronously.
723
9f67961c
LMI
7242012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
725
726 * obsolete/mouse-sel.el: Add an Obsolete-since header.
727
2a8ce227
JB
7282012-04-10 Juanma Barranquero <lekktu@gmail.com>
729
730 * misc.el: Display absolute path of loaded DLLs (bug#10424).
731 (list-dynamic-libraries--loaded): New function.
732 (list-dynamic-libraries--refresh): Use it.
733
8f33b5f8
NW
7342012-04-10 Nathan Weizenbaum <nweiz@google.com>
735
1930bf5d
SM
736 * progmodes/python.el (python-fill-paragraph):
737 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
738 disabled (bug#7018).
739
b12f0439
L
7402012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
741
1930bf5d 742 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
743 DOS/MS Windows for the Baltic languages. There are still plenty
744 of texts written in this encoding/codepage (bug#6519).
b12f0439 745
57c3bd01
GM
7462012-04-10 Glenn Morris <rgm@gnu.org>
747
748 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
749 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
750
6c3eab30
FA
7512012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
752
1930bf5d 753 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
754 next-line "n" and previous-line "p" in order to make recentf more
755 consistent with ibuffer, dired or org-mode (bug#9387).
756
24d78a88
LMI
7572012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
758
bc72b5d9
LMI
759 * image.el (put-image): Return the overlay created instead of the
760 optional input string (bug#7834). Note that this may break code
761 that is (for some reason or other) depending on `put-image'
762 returning the string.
763
bd2dba5a
LMI
764 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
765
74beb59f
LMI
766 * simple.el (zap-to-char): Allow zapping using input methods
767 (bug#1580).
768
24d78a88
LMI
769 * textmodes/fill.el (fill-region): Leave point and mark where they
770 were before filling (bug#5399).
771
263f20cd
GM
7722012-04-09 Glenn Morris <rgm@gnu.org>
773
774 * version.el (emacs-bzr-get-version):
775 Handle lightweight checkouts of local branches.
776
58d1f797
AS
7772012-04-09 Andreas Schwab <schwab@linux-m68k.org>
778
263f20cd 779 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 780
b4d3bc10
CY
7812012-04-09 Chong Yidong <cyd@gnu.org>
782
783 * custom.el (custom-variable-p): Return nil for non-symbol
784 arguments instead of signaling an error.
785 (user-variable-p): Obsolete alias for custom-variable-p.
786
787 * apropos.el (apropos-variable):
788 * files-x.el (read-file-local-variable):
789 * simple.el (set-variable):
790 * woman.el (woman-mini-help):
791 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
792
fd06db5d
GM
7932012-04-09 Glenn Morris <rgm@gnu.org>
794
e5fcdb5e
GM
795 * startup.el (normal-top-level): Don't look for leim-list.el
796 in places where it will not be found. (Bug#910)
797
fd06db5d
GM
798 * international/mule-cmds.el (set-default-coding-systems):
799 * files.el (normal-mode):
800 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
801 This function was removed with ucs-tables.el in 2008.
802
b39bb7e1
EZ
8032012-04-08 Eli Zaretskii <eliz@gnu.org>
804
805 * textmodes/ispell.el (ispell-check-version): For hunspell, set
806 ispell-encoding8-command to "-i", without a trailing space.
807 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
808 separate command-line arguments, to specify the encoding, since
809 that's how hunspell expects it.
810
5c5b8e23
GM
8112012-04-08 Glenn Morris <rgm@gnu.org>
812
813 * loadup.el: Load bindings before cus-start.
814 This reduces somewhat the number of "rogue" settings in emacs -Q.
815
a1ed8b05
GM
8162012-04-07 Glenn Morris <rgm@gnu.org>
817
818 * version.el (emacs-bzr-get-version): New function.
dfae128a 819 (emacs-bzr-version): New variable.
a1ed8b05
GM
820 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
821 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
822
b142f158
EZ
8232012-04-07 Eli Zaretskii <eliz@gnu.org>
824
dfae128a
GM
825 * international/uni-bidi.el, international/uni-category.el:
826 * international/uni-combining.el, international/uni-decimal.el:
827 * international/uni-decomposition.el, international/uni-digit.el:
828 * international/uni-lowercase.el, international/uni-mirrored.el:
829 * international/uni-name.el, international/uni-numeric.el:
830 * international/uni-titlecase.el, international/uni-uppercase.el:
831 Update for Unicode 6.1.
b142f158 832
9078ead6
EZ
8332012-04-07 Eli Zaretskii <eliz@gnu.org>
834
835 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
836
f23d2c7d
LMI
8372012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
838
839 * window.el (shrink-window): Mention the `window-min-height'
840 variable in the doc string.
841
0a0a3573
BG
8422012-04-05 Bastien Guerry <bzg@altern.org>
843
844 * color.el (color-lighten-name): Fix typo.
845
e5248ac9
SM
8462012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * server.el (server--on-display-p): New function.
849 (server--on-display-p): Use it.
850
b4243e22
GV
8512012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
852
853 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
854 (bug#11145).
855
305d9f44
SM
8562012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * comint.el (comint--common-quoted-suffix): Check string boundary
859 before comparing (bug#11158).
860 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
861
3d439cd1
CY
8622012-04-04 Chong Yidong <cyd@gnu.org>
863
321cc491
CY
864 * minibuffer.el (completion-extra-properties): Doc fix.
865
3d439cd1
CY
866 * subr.el (delayed-warnings-hook): Doc fix.
867
2d562c0f
DU
8682012-04-04 Daiki Ueno <ueno@unixuser.org>
869
870 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
871 selection (Bug#11159).
872 (epa-insert-keys): Inform that the default public key will be
873 exported if no key is selected.
874
4443f204
RS
8752012-04-04 Richard Stallman <rms@gnu.org>
876
877 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
878
529c06b6
CY
8792012-04-03 Chong Yidong <cyd@gnu.org>
880
881 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
882 mail-insert-file, not its obsolete alias mail-attach-file.
883
66b907dc
MA
8842012-04-03 Michael Albinus <michael.albinus@gmx.de>
885
886 * notifications.el (notifications-notify): Fix docstring.
887
c0ea195d
GM
8882012-04-02 Glenn Morris <rgm@gnu.org>
889
890 * emacs-lisp/authors.el (authors-aliases): Another addition.
891
5ca64e00
MA
8922012-04-02 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
895 `tramp-compat-call-process' instead of `tramp-local-call-process'.
896 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
897
42ee526b
CY
8982012-04-01 Chong Yidong <cyd@gnu.org>
899
900 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
901 Handle root directory properly.
902 (copy-directory): Caller changed.
903
904 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
905 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
906
0b021094
GM
9072012-03-31 Glenn Morris <rgm@gnu.org>
908
40f86458
GM
909 * term/xterm.el (xterm-extra-capabilities): Doc fix.
910
7019c177
GM
911 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
912
a1daddd6
GM
913 * calendar/calendar.el (calendar-window-list)
914 (calendar-hide-window): Restore. (Bug#11140)
915 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
916
0b021094
GM
917 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
918
40311efc
TV
9192012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
920
921 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
922 Check if file is a symlink (Bug#10489).
923
924 * files.el (copy-directory): Likewise.
925
5319014e
CY
9262012-03-30 Chong Yidong <cyd@gnu.org>
927
928 * image.el (imagemagick-types-inhibit)
929 (imagemagick-register-types): Doc fix.
930
935d1290
AM
9312012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
932
933 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
934 extended-char-mode for hunspell. hunspell does not support it
935 and treats ~word as ordinary words in pipe mode.
935d1290 936
61c6e8fd
GM
9372012-03-30 Glenn Morris <rgm@gnu.org>
938
939 * tutorial.el (help-with-tutorial): Ensure local variables don't
940 happen to make the buffer read-only. (Bug#11127)
941
81fdff00
SM
9422012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
945 (perl-calculate-indent): Return `noindent' in strings.
946
6e7a6ec0
SS
9472012-03-28 Sam Steingold <sds@gnu.org>
948
949 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
950 instead of the broken adhockery which does not prevent calendar
951 buffers from being displayed at random after exit.
952 (calendar-window-list, calendar-hide-window): Remove the broken
953 adhockery.
954
fee88ca0
GM
9552012-03-28 Glenn Morris <rgm@gnu.org>
956
957 * replace.el (query-replace-map): Doc fix.
958
38de3354
AS
9592012-03-28 Andreas Schwab <schwab@linux-m68k.org>
960
961 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
962 contents. (Bug#11109)
963
b973155e
SM
9642012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
967 (bug#11077).
968 (avl-tree--check, avl-tree--check-node): New funs.
969
dcb6e7b3
MR
9702012-03-27 Martin Rudalics <rudalics@gmx.at>
971
972 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
973 (switch-to-prev-buffer, switch-to-next-buffer):
974 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
975 showing a buffer already is done on the same frame.
976
b4fa35fa
GM
9772012-03-27 Glenn Morris <rgm@gnu.org>
978
979 * startup.el (mail-host-address): Doc fix.
980
f9210e18
SM
9812012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
984 than 197 variables.
985
c0bf7753
AF
9862012-03-26 Ami Fischman <ami@fischman.org>
987
988 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
989
33da7b16
GM
9902012-03-26 Glenn Morris <rgm@gnu.org>
991
02243d9d
GM
992 * files.el (save-buffers-kill-emacs): Doc fix.
993
33da7b16
GM
994 * startup.el (normal-top-level, command-line, command-line-1):
995 Give them doc strings.
996
e5a69fd0
EZ
9972012-03-25 Eli Zaretskii <eliz@gnu.org>
998
999 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1000 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1001
9a69676a
CY
10022012-03-25 Chong Yidong <cyd@gnu.org>
1003
4125cb8b
CY
1004 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1005 theme if it was previously enabled before (Bug#11031).
1006
dd470960
CY
1007 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1008 spec with custom-face-get-current-spec if its :shown-value is not
1009 determined yet (Bug#9337).
4125cb8b 1010 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1011
9a69676a
CY
1012 * button.el (button-at): Minor addition to docstring.
1013
6e7e90fa
SL
10142012-03-24 Simon Leinen <simon.leinen@gmail.com>
1015
1016 * vc/vc.el (vc-merge): Fix a prompt.
1017
f06e2758
CY
10182012-03-24 Chong Yidong <cyd@gnu.org>
1019
1020 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1021 point (Bug#9623).
1022
6e7e90fa
SL
1023 * button.el (button-at): Minor addition to docstring.
1024
b9d0879b
SM
10252012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * newcomment.el (comment-choose-indent): No space after BOL.
1028
e71cebb3
SS
10292012-03-22 Sam Steingold <sds@gnu.org>
1030
1031 * window.el (switch-to-prev-buffer): Revert last patch because the
1032 bug turned out to be an advertised feature (Elisp manual 28.14).
1033
335aff35
GM
10342012-03-22 Glenn Morris <rgm@gnu.org>
1035
1036 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1037 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1038
c676576a
LMI
10392012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1040
1041 * net/network-stream.el (network-stream-open-starttls): Make error
1042 message under Windows be less misleading.
1043
126f3d39
LW
10442012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1045
1046 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1047 understands (bug#9942).
1048
64fee311
CY
10492012-03-22 Chong Yidong <cyd@gnu.org>
1050
1051 * simple.el (end-of-visible-line): Handle return value of
1052 next-single-property-change properly (Bug#9371).
1053
a640d29a
KH
10542012-03-22 Kenichi Handa <handa@m17n.org>
1055
1056 * international/quail.el (quail-insert-kbd-layout): Fix previous
1057 change. To avoid unwanted bidi reordering, use
1058 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1059
39675016
DG
10602012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1061
1062 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1063 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1064 (ruby-beginning-of-indent): Be more careful with the difference
1065 between word-boundary and symbol boundary.
1066 (ruby-mode-syntax-table): Make : a symbol constituent.
1067
0a6934fc 10682012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1069
3d008e4f
SM
1070 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1071
0a6934fc
SM
10722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1073
af67c9d7
SM
1074 * progmodes/etags.el (tags-completion-at-point-function):
1075 Improve last fix.
1076
1acad97c
SM
1077 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1078
e298b5da
SS
10792012-03-21 Sam Steingold <sds@gnu.org>
1080
1081 * progmodes/etags.el (tags-completion-at-point-function):
1082 Avoid the error when point is inside the pattern.
1083
91d82a70
JY
10842012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1085
1086 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1087 line (Bug#10855).
1088
69188b79
CY
10892012-03-21 Drew Adams <drew.adams@oracle.com>
1090
1091 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1092
99fc91fe
AK
10932012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1094
1095 * ido.el (ido-set-current-directory, ido-read-internal)
1096 (ido-choose-completion-string, ido-completion-help): Handle nil
1097 value of ido-completion-buffer (Bug#11008).
1098
087bbb4c
SS
10992012-03-21 Sam Steingold <sds@gnu.org>
1100
1101 * window.el (switch-to-prev-buffer): Do not switch to a visible
1102 window previous buffer, just like with the frame previous buffers.
1103
fb5b8aca
CY
11042012-03-21 Chong Yidong <cyd@gnu.org>
1105
1106 * faces.el (make-face, make-empty-face, copy-face):
1107 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1108 Doc fixes.
1109
dc9924b8
SM
11102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1113 (widget-complete): Remove broken use of it.
1114
f0bcceb9
CY
11152012-03-20 Chong Yidong <cyd@gnu.org>
1116
dc9924b8
SM
1117 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1118 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1119 characters.
1120
ee52ebf3
TH
11212012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1122
1123 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1124 to draw rectangles, not squares. (Regression introduced by revno
1125 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1126
4c5779ab
CY
11272012-03-18 Chong Yidong <cyd@gnu.org>
1128
1129 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1130 it is not yet defined (for temacs).
1131
15360934
LL
11322012-03-18 Leo Liu <sdl.web@gmail.com>
1133
dc9924b8 1134 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1135
d9a8eb66
EZ
11362012-03-17 Eli Zaretskii <eliz@gnu.org>
1137
1138 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1139 (ispell-choices-win-default-height, ispell-silently-savep)
1140 (ispell-dictionary-alist, ispell-encoding8-command)
1141 (ispell-check-version, ispell-aspell-find-dictionary)
1142 (ispell-valid-dictionary-list, ispell-words-keyword)
1143 (ispell-get-word, ispell-internal-change-dictionary)
1144 (ispell-region, ispell-skip-region-list)
1145 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1146 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1147 (ispell-message-text-end, ispell-message)
1148 (ispell-buffer-local-parsing): Doc fix.
1149
f02ff80d
J
11502012-03-13 Jambunathan K <kjambunathan@gmail.com>
1151
1152 * htmlfontify.el: Add support for code block fontification for ODT
1153 export (Bug #9914).
1154 (hfy-optimisations): Define new option
1155 `body-text-only'
1156 (hfy-fontify-buffer): Honor above setting.
1157 (hfy-begin-span, hfy-end-span): New routines factored out form
1158 `hfy-fontify-buffer'.
1159 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1160 that permit insertion of custom tags.
1161 (hfy-fontify-buffer): Use above handlers.
1162 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1163 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1164 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1165 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1166 bind a special variable `hfy-user-sheet-assoc'.
1167 (htmlfontify-string): New defun.
1168 (hfy-compile-face-map): Make sure that the last char in the
1169 buffer is correctly fontified.
1170 (hfy-face-resolve-face): Whitespace only change.
1171
9ac7a13f
EZ
11722012-03-17 Eli Zaretskii <eliz@gnu.org>
1173
1174 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1175 message more clear.
1176
e2b5bdd7
LL
11772012-03-16 Leo Liu <sdl.web@gmail.com>
1178
1179 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1180
2e492df3
AM
11812012-03-16 Alan Mackenzie <acm@muc.de>
1182
1183 Further optimise the handling of large macros.
1184
1185 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1186 limit to a call of `c-literal-limits'.
1187 (c-determine-+ve-limit): New function.
dc9924b8
SM
1188 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1189 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1190 In CASE 5B, restrict a search limit to 500.
1191 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1192
1193 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1194 Restrict macro bounds to +-500 from after-change's BEG END.
1195
50e94f0c
LL
11962012-03-16 Leo Liu <sdl.web@gmail.com>
1197
1198 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1199
6f09f6ed
AH
12002012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1201
1202 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1203 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1204
c7e73d51
GM
12052012-03-16 Glenn Morris <rgm@gnu.org>
1206
da986230
GM
1207 * view.el (view-buffer, view-buffer-other-window)
1208 (view-buffer-other-frame): Doc fixes re special mode-class.
1209
0835f01e
GM
1210 * subr.el (eval-after-load): If named feature is provided not from
1211 a file, run after-load forms. (Bug#10946)
1212
c7e73d51
GM
1213 * calendar/calendar.el (calendar-insert-at-column):
1214 Handle non-unit-width characters a bit better. (Bug#10978)
1215
3f2eafd1
CY
12162012-03-15 Chong Yidong <cyd@gnu.org>
1217
1218 * emacs-lisp/ring.el (ring-extend): New function.
1219 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1220
1221 * comint.el (comint-read-input-ring)
1222 (comint-add-to-input-history): Grow comint-input-ring lazily.
1223
103af3fe
SM
12242012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1225
663b1677
SM
1226 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1227 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1228
103af3fe
SM
1229 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1230 (imenu-add-to-menubar): Don't add a redundant index.
1231 (imenu-update-menubar): Handle a dynamically composed keymap.
1232
899cb7cb
KY
12332012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1234
1235 * mail/sendmail.el (mail-encode-header):
1236 Bind rfc2047-encode-encoded-words to nil.
1237
3809f91d
GM
12382012-03-13 Glenn Morris <rgm@gnu.org>
1239
1240 * calendar/calendar.el (calendar-string-spread):
1241 Handle non-unit-width characters a bit better. (Bug#10978)
1242
9e345a01
LL
12432012-03-13 Leo Liu <sdl.web@gmail.com>
1244
1245 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1246 directory and file as argument (Bug#10822).
1247
4a07df36
KS
12482012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1249
1250 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1251 For dynamically generated code, follow $PC.
1252 (gdb-disassembly-handler-custom): Handle no function name case.
1253
4aaa9356
TL
12542012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1255
1256 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1257 * emulation/ws-mode.el (ws-query-replace):
1258 * sort.el (sort-regexp-fields):
1259 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1260
225979da
SM
12612012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * dabbrev.el: Fix cycle completion order (bug#10963).
1264 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1265 (dabbrev-completion): Don't use an obarray; provide
1266 a cycle-sort-function.
1267
e2f1fdab
LL
12682012-03-12 Leo Liu <sdl.web@gmail.com>
1269
dc9924b8 1270 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1271 (kill-do-not-save-duplicates): Doc fix.
1272
b19490ed
SM
12732012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * dabbrev.el: Fix cycle completion (bug#10963).
1276 Use lexical binding and wrap to 80 columns.
1277 (dabbrev-completion): Delay computing the list of completions.
1278
4b05d722
KH
12792012-03-12 Kenichi Handa <handa@m17n.org>
1280
1281 * international/quail.el (quail-insert-kbd-layout): Surround each
1282 row by LRO and PDF instead of inserting many LRMs. Pad the left
1283 and right of each non-spacing marks. Insert invisible space
1284 between lower and upper characters to prevent composition.
1285
dbbc2e69
SM
12862012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * minibuffer.el (minibuffer-complete): Don't get confused when the
1289 function is run twice via different commands (bug#10958).
1290 (complete-with-action): Fix docstring.
1291
292112ed
CY
12922012-03-12 Chong Yidong <cyd@gnu.org>
1293
5d1ac394
CY
1294 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1295 (nxml-completion-at-point-function): New function.
1296 (nxml-mode): Use it.
1297 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1298
292112ed
CY
1299 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1300 Load generated autoloads file before byte compiling (Bug#10970).
1301 (package--make-autoloads-and-compile): New helper fun.
1302
4098f8f7
CS
13032012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1304
1305 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1306
8f754691
MA
13072012-03-11 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * autorevert.el (auto-revert-handler): Ensure, that
1310 file-readable-p is applied only for local files or in
1311 auto-revert-tail-mode.
1312
e29ab36b
AS
13132012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1314
dbbc2e69
SM
1315 * server.el (server-eval-at): Handle non-tcp connections.
1316 Decode result string.
ad0bf5b6 1317
e29ab36b
AS
1318 * server.el (server-msg-size): New constant.
1319 (server-reply-print): New function.
1320 (server-eval-and-print): Use it.
1321 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1322 Handle -print-nonl.
1323
de5939ba
CS
13242012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1325
1326 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1327 (Bug#10987).
1328
0c93eabf
CY
13292012-03-11 Chong Yidong <cyd@gnu.org>
1330
397a688f
CY
1331 * simple.el (goto-line): Doc fix (Bug#9938).
1332
2cc775f9
CY
1333 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1334
0c93eabf
CY
1335 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1336 when finished (Bug#10963).
1337
c491fa41
MR
13382012-03-11 Martin Rudalics <rudalics@gmx.at>
1339
1340 * window.el (split-window-below): Fix bug in case where
1341 split-window-keep-point is nil (Bug#10971).
1342
300e8fa5
JL
13432012-03-11 Juri Linkov <juri@jurta.org>
1344
1345 * replace.el (replace-highlight): Set isearch-word to nil
1346 unconditionally. (Bug#10887)
1347
dbf6c5a1
EZ
13482012-03-10 Eli Zaretskii <eliz@gnu.org>
1349
1350 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1351 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1352 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1353 (mairix-widget-create-query): Add usage information about mairix
1354 search forms: negating words, searching for substrings, etc.
1355
b9e501de
JP
13562012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1357
1358 * international/fontset.el (font-encoding-alist): Add an entry for
1359 ksx1001 (Bug#5667).
1360
92795c91
RS
13612012-03-10 Richard Stallman <rms@gnu.org>
1362
1694e6c1
RS
1363 * mail/sendmail.el (mail-encode-header):
1364 Set rfc2047-encode-encoded-words.
1365
607e8555
RS
1366 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1367
de3bc99a
RS
1368 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1369 view buffer means not swapped.
1370 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1371 (rmail-write-region-annotate): Error if real text has disappeared.
1372
92795c91
RS
1373 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1374
699bd04e
CY
13752012-03-10 Chong Yidong <cyd@gnu.org>
1376
1377 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1378 * emulation/cua-base.el (cua--init-keymaps):
1379 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1380
570a1714
MR
13812012-03-10 Martin Rudalics <rudalics@gmx.at>
1382
dbbc2e69
SM
1383 * speedbar.el (speedbar-unhighlight-one-tag-line):
1384 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1385
82dcf4e4
CY
13862012-03-10 Chong Yidong <cyd@gnu.org>
1387
7a2c7ca7
CY
1388 * minibuffer.el (completion-in-region, completion-help-at-point):
1389 Give the completion field overlay a high priority (Bug#6830).
1390
82dcf4e4
CY
1391 * dired.el (dired-goto-file): Recognize absolute file name
1392 listings (Bug#7126).
1393 (dired-goto-file-1): New helper function.
1394 (dired-toggle-read-only): Inhibit warnings.
1395
052e28ac
MA
13962012-03-09 Michael Albinus <michael.albinus@gmx.de>
1397
75f1671a 1398 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1399 there are no properties.
1400
95d5e396
LL
14012012-03-09 Leo Liu <sdl.web@gmail.com>
1402
1403 * savehist.el (savehist-printable): Stricter check for string
1404 value (Bug#10937).
1405
3f018d6d
EZ
14062012-03-09 Eli Zaretskii <eliz@gnu.org>
1407
dbbc2e69
SM
1408 * mail/smtpmail.el (smtpmail-send-it):
1409 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1410 valid mbox format.
1411
f7fd3d79
GM
14122012-03-09 Glenn Morris <rgm@gnu.org>
1413
1414 * files.el (dir-locals-find-file):
1415 Don't check result is regular, readable.
1416 (dir-locals-read-from-file): Demote errors.
1417
6ff6e72f
EZ
14182012-03-08 Eli Zaretskii <eliz@gnu.org>
1419
dbbc2e69
SM
1420 * international/quail.el (quail-insert-kbd-layout):
1421 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1422 layout cell, to prevent their reordering by bidi display engine.
1423 For details, see the discussion in
1424 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1425
9cec7834
AM
14262012-03-08 Alan Mackenzie <acm@muc.de>
1427
1428 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1429 the starting position; make it extend the marked region when
1430 invoked repeatedly - all under appropriate circumstances.
1431 Fixes bugs #5525, #10906.
1432
9a40b8d4
GM
14332012-03-08 Glenn Morris <rgm@gnu.org>
1434
1435 * files.el (locate-dominating-file, dir-locals-find-file):
1436 Undo 2012-03-06 change.
1437
7a08ed35
EZ
14382012-03-07 Eli Zaretskii <eliz@gnu.org>
1439
dbbc2e69
SM
1440 * international/quail.el (quail-help):
1441 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1442 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1443 for the reason.
1444
5aca4f71 14452012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1446
1447 Avoid superfluous registering of signals. (Bug#10807)
1448
1449 * notifications.el (notifications-on-action-object)
1450 (notifications-on-close-object): New defvars.
1451 (notifications-on-action-signal, notifications-on-closed-signal):
1452 Unregister the signal if not needed any longer.
1453 (notifications-notify): Register `notifications-action-signal' or
1454 `notifications-closed-signal', if :on-action or :on-close has been
1455 passed as argument.
1456
78e8b10a
CY
14572012-03-07 Chong Yidong <cyd@gnu.org>
1458
1459 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1460 non-X platforms.
1461
69481eb8
GM
14622012-03-06 Glenn Morris <rgm@gnu.org>
1463
1464 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1465 (x-disown-selection-internal, x-get-selection-internal):
1466 Doc fix (add arglist signatures). (Bug#10783)
1467
133b8e11
KS
14682012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1469
1470 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1471 Handle breakpoints with no "type".
1472
99a83064
GM
14732012-03-06 Glenn Morris <rgm@gnu.org>
1474
1475 * files.el (locate-dominating-file): Add optional predicate argument.
1476 (dir-locals-find-file): Make use of above change.
1477
17798e78
TTN
14782012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1479
1480 * info.el (Info-insert-dir): Also try "dir.gz".
1481
eb182446
GM
14822012-03-06 Glenn Morris <rgm@gnu.org>
1483
8f2114ee
GM
1484 * files.el (dir-locals-find-file):
1485 Ignore non-readable or non-regular files. (Bug#10928)
1486
eb182446
GM
1487 * files.el (locate-dominating-file): Doc fix.
1488
24679323
AS
14892012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1490
1491 * calendar/calendar.el (calendar-set-mode-line):
1492 `getenv' returns a string. (Bug#10951)
1493
01d972a9
LL
14942012-03-05 Leo Liu <sdl.web@gmail.com>
1495
109aa8a9
LL
1496 * simple.el (backward-delete-char-untabify): Constrain point to
1497 field (Bug#10939).
1498
01d972a9
LL
1499 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1500
10607bea
CY
15012012-03-05 Chong Yidong <cyd@gnu.org>
1502
1503 * simple.el (count-words): If called from Lisp, return the word
1504 count, for symmetry with `count-lines'. Arglist changed.
1505 (count-words--message): Args changed. Consolidate counting code
1506 from count-words and count-words-region.
1507 (count-words-region): Caller changed.
1508 (count-lines-region): Make it an obsolete alias.
1509
5dd11cfe
TH
15102012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1511
1512 * saveplace.el (save-place-to-alist)
1513 (save-place-ignore-files-regexp): Allow value nil to disable this
1514 feature.
1515
c349f4e6
CY
15162012-03-04 Chong Yidong <cyd@gnu.org>
1517
1518 * faces.el (face-spec-reset-face): For the default face, reset the
1519 attributes to default values (Bug#10748).
1520
e627be4c
LMI
15212012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1522
1523 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1524 previous patch: Check `message-send-mail-function', and not the
1525 default function (bug#10897).
1526
ebeabff4
MA
15272012-03-04 Michael Albinus <michael.albinus@gmx.de>
1528
a41a6cf4
MA
1529 * notifications.el (notifications-on-action-signal)
1530 (notifications-on-closed-signal): Check for unique service name of
1531 incoming event. Fix error in removing entry.
ebeabff4 1532 (top): Register for signals with wildcard service name.
a41a6cf4 1533 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1534
c1ca42b4
CY
15352012-03-04 Chong Yidong <cyd@gnu.org>
1536
dc9924b8 1537 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1538
ea16568d
GM
15392012-03-04 Glenn Morris <rgm@gnu.org>
1540
1541 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1542 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1543 (expand-abbrev, define-abbrev-table): Doc fixes.
1544
fbae4637
LMI
15452012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1546
1547 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1548 `message-default-send-mail-function' and not `send-mail-function'
1549 when doing the prompting for `sendmail-query-once' before sending
1550 in Message buffers (bug#10897).
1551
a1e7225c
LMI
1552 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1553 This is inconsistent with all the other stream functions, which leave
1554 the setting up to the higher levels (if so wanted) (bug#10931).
1555
56d093a9
AM
15562012-03-02 Alan Mackenzie <acm@muc.de>
1557
1558 Depessimize the handling of very large macros.
1559
1560 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1561 (c-macro-cache-syntactic): New variables to implement a one
1562 element macro cache.
1563 (c-invalidate-macro-cache): New function.
1564 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1565 Adapt to use the new cache.
1566 (c-state-safe-place): Use better the cache of safe positions.
1567 (c-state-semi-nonlit-pos-cache)
1568 (c-state-semi-nonlit-pos-cache-limit):
1569 New variables for...
1570 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1571 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1572 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1573 Use c-state-semi-safe-place.
56d093a9 1574
dbbc2e69
SM
1575 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1576 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1577
817e5c3d
MA
15782012-03-02 Michael Albinus <michael.albinus@gmx.de>
1579
dbbc2e69
SM
1580 * jka-compr.el (jka-compr-call-process):
1581 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1582 not remote.
1583
a032a702
MA
15842012-03-01 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1587 access of FILE2, if FILE1 does not exist.
1588
99a54f21
MA
1589 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1590 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1591
1592 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1593 Add "PAGER=" to `process-environment'.
1594
f6561e1f
MM
15952012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1596
1597 * progmodes/sql.el: Bug fix
1598 (sql-get-login-ext): Save login values in globals.
1599 (sql-get-login): Use new version of `sql-get-login-ext'.
1600 (sql-interactive-mode): Set global `sql-connection' to nil.
1601 (sql-connect): Set global values for connection.
1602 (sql-product-interactive): Save global values as buffer local.
1603
2d44d9cc
LL
16042012-02-29 Leo Liu <sdl.web@gmail.com>
1605
1606 * abbrev.el (define-abbrevs): Reset sys to nil.
1607
96b49301 16082012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1609
bf7f9bc5
JB
1610 * files.el (file-equal-p): Rename from `files-equal-p'.
1611 Return nil when one or both files don't exist.
96b49301 1612 (file-subdir-of-p): Now only top directory must exists,
1613 return nil if it doesn't.
bf7f9bc5
JB
1614 (copy-directory): No need to test with `file-subdir-of-p' after
1615 creating dir.
1616 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1617 to `file-equal-p'.
96b49301 1618
44e97401
GM
16192012-02-28 Glenn Morris <rgm@gnu.org>
1620
1621 * shell.el (shell-mode):
1622 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1623 * play/landmark.el (landmark-font-lock-face-O):
1624 * play/handwrite.el (handwrite):
1625 * play/gomoku.el (gomoku-O):
1626 * net/browse-url.el (browse-url-browser-display):
1627 * international/mule.el (define-charset):
1628 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1629 * filesets.el (filesets-find-file-delay):
1630 * eshell/em-xtra.el (eshell-xtra):
1631 * eshell/em-unix.el (eshell-grep):
1632 * emulation/viper.el (viper-mode):
1633 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1634 * emacs-lisp/easymenu.el (easy-menu-define):
1635 * calendar/timeclock.el (timeclock-use-display-time):
1636 * bs.el (bs-mode):
1637 * bookmark.el (bookmark-save-flag):
1638 Doc fix (standardize possessive apostrophe usage).
1639
c98c6276
CY
16402012-02-27 Chong Yidong <cyd@gnu.org>
1641
bf7f9bc5
JB
1642 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1643 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1644
c98c6276
CY
1645 * font-lock.el (font-lock-specified-p): Rename from
1646 font-lock-spec-present. Callers changed.
1647
9c62cd04 16482012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1649
bf7f9bc5
JB
1650 * emacs-lisp/package.el (package-compute-transaction):
1651 Handle holding a package version to t in package-load-list.
8ac9e529 1652
530739c9
MA
16532012-02-26 Michael Albinus <michael.albinus@gmx.de>
1654
1655 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1656 (tramp-get-inode, tramp-get-device): Use cached values.
1657
487915d7
AM
16582012-02-26 Alan Mackenzie <acm@muc.de>
1659
1660 Check there is a font-lock specification before doing initial
1661 fontification.
1662
1663 * font-core.el (font-lock-mode): Move the conditional from
1664 :after-hook to font-lock-initial-fontify.
1665 (font-lock-default-function): Move the check for a specification
1666 to font-lock-spec-present.
1667
dc9924b8 1668 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1669 (font-lock-spec-present): New function.
1670
4fd96557
JB
16712012-02-26 Jim Blandy <jimb@red-bean.com>
1672
1673 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1674 (gdb-send): Apply it to the operand of the '-interpreter-exec
1675 console' command, so that we can pass arguments with (say) quotes
1676 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1677
9a4888c0
CY
16782012-02-26 Chong Yidong <cyd@gnu.org>
1679
07498861
CY
1680 * help-fns.el (describe-function-1): Clarify description of
1681 remapping (Bug#10844).
1682
9a4888c0
CY
1683 * files.el (files-equal-p): Doc fix.
1684 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1685 and quit the loop once a mismatch is found.
1686
ea8fb88d
JB
16872012-02-25 Juanma Barranquero <lekktu@gmail.com>
1688
1689 * bs.el (bs--show-with-configuration): Don't throw an error
1690 if the window cannot be split; otherwise, subsequent calls to
1691 bs-show fail, restoring a stale window config. (Bug#10882)
1692
525795c1
JD
16932012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1694
1695 * term/ns-win.el (global-map): Bind ns-drag-file to
1696 ns-find-file (Bug#5855, Bug#10050).
1697
f008086f
AS
16982012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1699
1700 * calendar/parse-time.el (parse-time-string): Allow extractor to
1701 return nil.
1702
a3fcfa99
MA
17032012-02-25 Michael Albinus <michael.albinus@gmx.de>
1704
91027d08
JB
1705 * net/tramp.el (tramp-file-name-for-operation):
1706 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1707
1708 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1709 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1710 Add COPY-CONTENTS argument.
a3fcfa99 1711
67b0de11
CY
17122012-02-25 Chong Yidong <cyd@gnu.org>
1713
1714 Add custom groups for VC backends, for consistency with vc-bzr.
1715
1716 * vc/vc-arch.el (vc-arch):
1717 * vc/vc-cvs.el (vc-cvs):
1718 * vc/vc-git.el (vc-git):
1719 * vc/vc-hg.el (vc-hg):
1720 * vc/vc-mtn.el (vc-mtn):
1721 * vc/vc-rcs.el (vc-rcs):
1722 * vc/vc-sccs.el (vc-sccs):
1723 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1724 All relevant defcustoms reassigned.
1725
3c9dfce6
CY
17262012-02-25 Chong Yidong <cyd@gnu.org>
1727
1339bf43
CY
1728 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1729
3c9dfce6
CY
1730 * term/x-win.el (x-initialize-window-system): Reduce default for
1731 x-selection-timeout to 5 seconds (Bug#8869).
1732
25b2e303 17332012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1734
ec70a47d
GM
1735 * files.el (files-equal-p, file-subdir-of-p): New functions.
1736 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1737 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1738 * dired-aux.el (dired-copy-file-recursive): Same.
1739 (dired-create-files): Modify destination when source is equal to
1740 dest when copying files.
53a46cd0 1741 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1742
914260cd
MA
17432012-02-24 Michael Albinus <michael.albinus@gmx.de>
1744
1745 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1746 (Bug#10874)
1747
2cb228f7
AM
17482012-02-23 Alan Mackenzie <acm@muc.de>
1749
1750 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1751 parameter "after-hook:" to allow the expansion to run code after
1752 the execution of the mode hooks.
1753
1754 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1755 from font-lock-mode-internal.
2cb228f7 1756
91027d08 1757 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1758 :after-hook.
1759
8f0fde21
SM
17602012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1761
3e88618b
SM
1762 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1763 (completion--cache-all-sorted-completions): New function.
1764 (completion-all-sorted-completions): Use it.
1765 (completion--do-completion, minibuffer-force-complete):
1766 Use it to re-instate the flush hook.
1767
8f0fde21
SM
1768 * icomplete.el (icomplete-completions): Replace last fix with a better
1769 one (bug#10850).
1770
8e911f6f
DG
17712012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1772
1773 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1774 when it might call us back infinitely (bug#10797).
1775
49fe4321
GM
17762012-02-23 Glenn Morris <rgm@gnu.org>
1777
1778 * minibuffer.el (completion-category-overrides): Doc fix.
1779
b291b572
SM
17802012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1781
1782 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1783 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1784
31a9ef2e
GM
17852012-02-23 Glenn Morris <rgm@gnu.org>
1786
5e6e6794 1787 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1788 (authors-obsolete-files-regexps, authors-ignored-files)
1789 (authors-ambiguous-files, authors-renamed-files-alist):
1790 Add more entries.
1791
0bd1e074
JL
17922012-02-23 Juri Linkov <juri@jurta.org>
1793
1794 * isearch.el (isearch-occur): Sync interactive spec with occur's
1795 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1796
b617673c
JL
1797 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1798
19e9789e
JL
17992012-02-22 Juri Linkov <juri@jurta.org>
1800
1801 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1802 (ucs-insert): Doc fix. Check for hex digits in the string.
1803 Don't display `nil' in the error message. (Bug#10857)
1804
f41ce09d
AM
18052012-02-22 Alan Mackenzie <acm@muc.de>
1806
7a71b18d 1807 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1808
ac2eceee
GM
18092012-02-22 Glenn Morris <rgm@gnu.org>
1810
1811 * ffap.el (ffap-c-path):
1812 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1813
abd1f678
CY
18142012-02-22 Chong Yidong <cyd@gnu.org>
1815
1816 * custom.el (load-theme): Doc fix.
1817
f25aef2e
GM
18182012-02-22 Glenn Morris <rgm@gnu.org>
1819
1820 * dired-x.el (dired-guess-shell-alist-default):
1821 Remove escape sequences from nroff output. (Bug#172)
1822
5f8dc2ca
GM
18232012-02-21 Glenn Morris <rgm@gnu.org>
1824
6ff86ec4
GM
1825 * vc/emerge.el (emerge-defvar-local):
1826 Set `permanent-local' property rather than unused `preserved'.
1827
be3223a3 1828 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1829 (picture-mode-map): Use it. (Bug#10860)
1830 (picture-mode): Doc fix.
1831
3fe58f4f
JB
18322012-02-21 Juanma Barranquero <lekktu@gmail.com>
1833
1834 * newcomment.el (uncomment-region-default): Remove unused binding.
1835
f9a998c3
GM
18362012-02-21 Glenn Morris <rgm@gnu.org>
1837
1838 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1839 (picture-self-insert, picture-tab-chars): Doc fix.
1840 (picture-mode-map): Fix C-a, C-e.
1841
c6029348
GM
18422012-02-20 Glenn Morris <rgm@gnu.org>
1843
1844 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1845
ab1ce9d7
LL
18462012-02-20 Leo Liu <sdl.web@gmail.com>
1847
1848 * icomplete.el (icomplete-completions): Check FROM arg before
1849 passing to substring (Bug#10850).
1850
0fd40f89
CY
18512012-02-19 Chong Yidong <cyd@gnu.org>
1852
1853 * comint.el: Require ansi-color.
1854 (comint-output-filter-functions): Add ansi-color-process-output.
1855
1856 * ansi-color.el: Don't set comint-output-filter-functions; it is
1857 now in the initial value defined in comint.el.
1858 (ansi-color-apply-face-function): New variable.
1859 (ansi-color-apply-on-region): Use it.
1860 (ansi-color-apply-overlay-face): New function.
1861
1862 * shell.el (shell): No need to require ansi-color.
1863 (shell-mode): Use ansi-color-apply-face-function to highlight
1864 color escapes using font-lock-face property (Bug#10835).
1865
20af2394
CY
18662012-02-19 Chong Yidong <cyd@gnu.org>
1867
1868 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1869 mode-line formats (Bug#10839).
1870
e23a3fbe
GM
18712012-02-18 Glenn Morris <rgm@gnu.org>
1872
b474519e
GM
1873 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1874
1875 * mail/undigest.el (unforward-rmail-message): Doc fix.
1876
e23a3fbe
GM
1877 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1878
57939ff4
EZ
18792012-02-18 Eli Zaretskii <eliz@gnu.org>
1880
1881 * international/characters.el (script-list): Sync with the latest
1882 Unicode Character Database.
1883
0c23686e
AS
18842012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1885
1886 * international/titdic-cnv.el: Remove duplicate coding tag.
1887 * language/cham.el: Likewise.
1888 * language/tai-viet.el: Likewise.
1889
6818b449
GM
18902012-02-18 Glenn Morris <rgm@gnu.org>
1891
1892 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1893 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1894 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1895 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1896 * calendar/holidays.el (holiday-bahai-holidays)
1897 (calendar-holidays, list-holidays):
1898 Use utf-8 Bahá'í in doc-strings, menus, etc.
1899
0311a3fc
TH
19002012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1901
1902 * saveplace.el (save-place-ignore-files-regexp): New variable
1903 allowing for excluding files from saving their location of point.
1904 The default value matches the temporary commit message editing
1905 files from Git, SVN, Bazaar, and Mercurial.
1906 (save-place-to-alist): Use it.
1907
eb864a71
LM
19082012-02-17 Lawrence Mitchell <wence@gmx.li>
1909 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * newcomment.el (uncomment-region-default): Don't leave extra space
1912 when an arg is provided (bug#8150).
1913
ee0ce425
TZ
19142012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1915
eb864a71 1916 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1917
95ddf442
GM
19182012-02-17 Glenn Morris <rgm@gnu.org>
1919
1920 * net/socks.el: Require network-stream. (Bug#10599)
1921
48dd1e39 19222012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1923
1924 * international/charprop.el:
1925 * international/uni-name.el:
1926 * international/uni-old-name.el:
1927 * international/uni-comment.el: Regenerate.
1928
d68cd087
GM
19292012-02-16 Glenn Morris <rgm@gnu.org>
1930
1931 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1932 Interactively in calendar buffer, give an error if not on a date.
1933
13932042
GM
19342012-02-15 Glenn Morris <rgm@gnu.org>
1935
1936 * shell.el (shell-delimiter-argument-list):
1937 Revert 2011-02-17 change. (Bug#8027)
1938
c3a70e2b
CY
19392012-02-15 Chong Yidong <cyd@gnu.org>
1940
60236b0d
CY
1941 * minibuffer.el (completion-at-point-functions): Doc fix.
1942
c3a70e2b
CY
1943 * custom.el (defcustom): Doc fix; note use of defvar.
1944
9f26dc24
GM
19452012-02-15 Glenn Morris <rgm@gnu.org>
1946
1947 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1948 Doc fixes.
1949
6546b134
GM
19502012-02-14 Glenn Morris <rgm@gnu.org>
1951
1952 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1953
d29b2b4c
LI
19542012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1955
1956 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1957 way the ports list is computed.
835bdcba
LI
1958 (smtpmail-query-smtp-server): Prompt the user for a port number if
1959 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1960
08dcdbc9
TZ
19612012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1962
1963 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1964
2605051a
GM
19652012-02-13 Glenn Morris <rgm@gnu.org>
1966
1967 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1968
7ee99f32
TZ
19692012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1970
1971 * net/gnutls.el (gnutls-trustfiles): New variable.
1972 (gnutls-negotiate): Use it.
1973
5f0af64f
LI
19742012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1975
1976 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1977 does its stuff if Gnus is running.
1978
c14fcc95
AM
19792012-02-13 Alan Mackenzie <acm@muc.de>
1980
1981 Fix a loop in c-set-fl-decl-start.
1982
7a71b18d 1983 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1984 c-backward-syntactic-ws actually moves backwards.
1985
142b4d90
LL
19862012-02-13 Leo Liu <sdl.web@gmail.com>
1987
1988 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1989 beginning so that all \C-o chars are removed.
1990
fa9958a6
TZ
19912012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1992
dc9924b8 1993 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1994
0bc5886a
AM
19952012-02-12 Alan Mackenzie <acm@muc.de>
1996
1997 Fix infinite loop with long macros.
4d6769e1 1998 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 1999
d4bd55e7
CY
20002012-02-12 Chong Yidong <cyd@gnu.org>
2001
2002 * window.el (display-buffer): Doc fix (Bug#10785).
2003
66f3fe22
GM
20042012-02-12 Glenn Morris <rgm@gnu.org>
2005
bd7da63e
GM
2006 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2007 (x-disown-selection-internal, x-get-selection-internal):
2008 Sync docs with the xselect.c versions.
2009
66f3fe22
GM
2010 * allout-widgets.el: Add missing license notice.
2011
3e0d2fa7
GM
20122012-02-11 Glenn Morris <rgm@gnu.org>
2013
cfecdf09
GM
2014 * select.el (x-get-selection-internal, x-own-selection-internal)
2015 (x-disown-selection-internal):
2016 * x-dnd.el (x-get-selection-internal): Update declarations.
2017
6d216d7f
GM
2018 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2019
2bed3f04
GM
2020 * window.el (window-sides-slots):
2021 * tool-bar.el (tool-bar-position):
2022 * term/xterm.el (xterm-extra-capabilities):
2023 * ses.el (ses-self-reference-early-detection):
2024 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2025 (verilog-auto-wire-type)
2026 (verilog-auto-delete-trailing-whitespace)
2027 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2028 (verilog-auto-tieoff-declaration):
2029 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2030 (sql-oracle-statement-starters, sql-oracle-scan-on):
2031 * progmodes/prolog.el (prolog-align-comments-flag)
2032 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2033 (prolog-left-indent-regexp, prolog-paren-indent-p)
2034 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2035 (prolog-types, prolog-mode-specificators)
2036 (prolog-determinism-specificators, prolog-directives)
2037 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2038 (prolog-electric-dot-flag)
2039 (prolog-electric-dot-full-predicate-template)
2040 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2041 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2042 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2043 (prolog-program-switches, prolog-prompt-regexp)
2044 (prolog-debug-on-string, prolog-debug-off-string)
2045 (prolog-trace-on-string, prolog-trace-off-string)
2046 (prolog-zip-on-string, prolog-zip-off-string)
2047 (prolog-use-standard-consult-compile-method-flag)
2048 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2049 (prolog-imenu-max-lines, prolog-info-predicate-index)
2050 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2051 (prolog-char-quote-workaround):
2052 * progmodes/cc-vars.el (c-defun-tactic):
2053 * net/tramp.el (tramp-encoding-command-interactive)
2054 (tramp-local-end-of-line):
2055 * net/soap-client.el (soap-client):
2056 * net/netrc.el (netrc-file):
2057 * net/gnutls.el (gnutls):
2058 * minibuffer.el (completion-category-overrides)
2059 (completion-cycle-threshold)
2060 (completion-pcm-complete-word-inserts-delimiters):
2061 * man.el (Man-name-local-regexp):
2062 * mail/feedmail.el (feedmail-display-full-frame):
2063 * international/characters.el (glyphless-char-display-control):
2064 * eshell/em-ls.el (eshell-ls-date-format):
2065 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2066 (lisp-lambda-list-keyword-parameter-indentation)
2067 (lisp-lambda-list-keyword-parameter-alignment):
2068 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2069 * dired-x.el (dired-omit-verbose):
2070 * cus-theme.el (custom-theme-allow-multiple-selections):
2071 * calc/calc.el (calc-highlight-selections-with-faces)
2072 (calc-lu-field-reference, calc-lu-power-reference)
2073 (calc-note-threshold):
2074 * battery.el (battery-mode-line-limit):
2075 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2076 (archive-7z-update):
2077 * allout.el (allout-prefixed-keybindings)
2078 (allout-unprefixed-keybindings)
2079 (allout-inhibit-auto-fill-on-headline)
2080 (allout-flattened-numbering-abbreviation):
2081 * allout-widgets.el (allout-widgets-auto-activation)
2082 (allout-widgets-icons-dark-subdir)
2083 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2084 (allout-widgets-theme-dark-background)
2085 (allout-widgets-theme-light-background)
2086 (allout-widgets-item-image-properties-emacs)
2087 (allout-widgets-item-image-properties-xemacs)
2088 (allout-widgets-run-unit-tests-on-load)
2089 (allout-widgets-time-decoration-activity)
2090 (allout-widgets-hook-error-post-time)
2091 (allout-widgets-track-decoration):
2092 Add missing :version tags to new defcustoms and defgroups.
2093
5fec1b8e
GM
2094 * progmodes/sql.el (sql-ansi-statement-starters)
2095 (sql-oracle-statement-starters): Add custom type.
2096
3e0d2fa7
GM
2097 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2098 (prolog-system-version): Give it a type.
2099
90b671e2
EZ
21002012-02-11 Eli Zaretskii <eliz@gnu.org>
2101
2102 * term/pc-win.el (x-select-text, x-selection-owner-p)
2103 (x-own-selection-internal, x-disown-selection-internal)
2104 (x-get-selection-internal): Sync doc strings and argument lists
2105 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2106
5eac0c02
LL
21072012-02-11 Leo Liu <sdl.web@gmail.com>
2108
2109 * progmodes/python.el (python-end-of-statement): Fix infinite
2110 loop. (Bug#10788)
2111
f82cb659
GM
21122012-02-10 Glenn Morris <rgm@gnu.org>
2113
2114 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2115 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2116
cc26d239
LI
21172012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2118
2119 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2120 about SMTP before checking the From header.
2121
91027d08 2122 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2123 into own function for reuse by emacsbug.el.
2124
1be3ca5a
LL
21252012-02-10 Leo Liu <sdl.web@gmail.com>
2126
2127 * subr.el (condition-case-unless-debug): Rename from
2128 condition-case-no-debug. All callers changed.
2129 (with-demoted-errors): Fix caller.
2130
2131 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2132 * nxml/rng-valid.el (rng-do-some-validation):
2133 * emacs-lisp/package.el (package-refresh-contents)
2134 (package-menu-execute):
2135 * desktop.el (desktop-create-buffer):
91027d08 2136 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2137
b011fbfe
GM
21382012-02-10 Glenn Morris <rgm@gnu.org>
2139
b2096d72
GM
2140 * textmodes/bibtex.el:
2141 Add missing :version tags for new/changed defcustoms.
2142
b011fbfe
GM
2143 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2144
4c7e65bf
LI
21452012-02-09 Lars Ingebrigtsen <larsi@rusty>
2146
2147 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2148 (smtpmail-via-smtp): Use it, or fall back on the From address.
2149 (smtpmail-send-it): Ditto.
2150
f3934f6f
SM
21512012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2154 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2155 (byte-compile-tmp-var): New const.
2156 (byte-compile-defvar): Use it to minimize .elc size.
2157 Just use `defvar' rather than simulate it (bug#10761).
2158
a075a2c5
GM
21592012-02-09 Glenn Morris <rgm@gnu.org>
2160
cf3aa21b
GM
2161 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2162
354998cd
GM
2163 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2164 Add :version tags.
2165
dc9924b8
SM
2166 * progmodes/compile.el (compilation-error-screen-columns)
2167 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2168
dab3703d
GM
2169 * vc/log-view.el (log-view-toggle-entry-display):
2170 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2171
3f88cd72
GM
2172 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2173 (report-emacs-bug-can-use-xdg-email):
2174 (report-emacs-bug-insert-to-mailer): Doc fixes.
2175 (report-emacs-bug): Message fix.
2176
d95b247d
GM
2177 * net/browse-url.el (browse-url-can-use-xdg-open)
2178 (browse-url-xdg-open): Doc fixes.
2179
a075a2c5
GM
2180 * electric.el (electric-indent-mode, electric-pair-mode)
2181 (electric-layout-rules, electric-layout-mode): Doc fixes.
2182 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2183
ffb6157e
MR
21842012-02-08 Martin Rudalics <rudalics@gmx.at>
2185
2186 * server.el (server-unselect-display): Don't inadvertently kill
2187 the current buffer. (Bug#10729)
2188
e1ac4066
GM
21892012-02-08 Glenn Morris <rgm@gnu.org>
2190
34e8a2da
GM
2191 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2192 (sql-list-table): Doc fixes.
2193
b4ac6e8c
GM
2194 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2195 Comment out (does nothing).
2196
e1ac4066
GM
2197 * completion.el (dynamic-completion-mode):
2198 * dirtrack.el (dirtrack-debug-mode):
2199 * electric.el (electric-layout-mode):
2200 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2201 * face-remap.el (text-scale-mode, buffer-face-mode):
2202 * iimage.el (iimage-mode):
2203 * image-mode.el (image-transform-mode):
2204 * minibuffer.el (completion-in-region-mode):
2205 * scroll-lock.el (scroll-lock-mode):
2206 * simple.el (next-error-follow-minor-mode):
2207 * tar-mode.el (tar-subfile-mode):
2208 * tooltip.el (tooltip-mode):
2209 * vcursor.el (vcursor-use-vcursor-map):
2210 * wid-browse.el (widget-minor-mode):
2211 * emulation/tpu-edt.el (tpu-edt-mode):
2212 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2213 * international/iso-ascii.el (iso-ascii-mode):
2214 * language/thai-util.el (thai-word-mode):
2215 * mail/supercite.el (sc-minor-mode):
2216 * net/goto-addr.el (goto-address-mode):
2217 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2218 * progmodes/cwarn.el (cwarn-mode):
2219 * progmodes/flymake.el (flymake-mode):
2220 * progmodes/glasses.el (glasses-mode):
2221 * progmodes/hideshow.el (hs-minor-mode):
2222 * progmodes/pascal.el (pascal-outline-mode):
2223 * textmodes/enriched.el (enriched-mode):
2224 * vc/smerge-mode.el (smerge-mode):
2225 Doc fixes (minor mode argument).
2226
5e0d957f
EZ
22272012-02-07 Eli Zaretskii <eliz@gnu.org>
2228
2229 * ls-lisp.el (ls-lisp-sanitize): New function.
2230 (ls-lisp-insert-directory): Use it to fix or remove any elements
2231 in file-alist with missing attributes. (Bug#4673)
2232
98d7371e
AM
22332012-02-07 Alan Mackenzie <acm@muc.de>
2234
2235 Fix spurious recognition of c-in-knr-argdecl.
2236
2237 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2238 putative K&R region.
2239
667ced3a
AM
22402012-02-07 Alan Mackenzie <acm@muc.de>
2241
eb864a71
LM
2242 * progmodes/cc-engine.el (c-forward-objc-directive):
2243 Prevent looping in "#pragma mark @implementation".
667ced3a 2244
5b77774d
MA
22452012-02-07 Michael Albinus <michael.albinus@gmx.de>
2246
2247 * notifications.el (notifications-on-closed-signal): Make `reason'
2248 optional. (Bug#10744)
2249
af008560
GM
22502012-02-07 Glenn Morris <rgm@gnu.org>
2251
60d47423
GM
2252 * emacs-lisp/easy-mmode.el (define-minor-mode):
2253 Doc fixes for the macro and the mode it defines.
2254
dd605cc4
GM
2255 * image.el (imagemagick-types-inhibit): Doc fix.
2256
af008560
GM
2257 * cus-start.el (imagemagick-render-type): Add it.
2258
5cc59a37
LI
22592012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2260
4d6769e1
JB
2261 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2262 Set the default at load time, too, so that `font-lock-fontify-buffer'
2263 can be called without setting up the entire mode first. This fixes
2264 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2265
9a6dd747
CY
22662012-02-06 Chong Yidong <cyd@gnu.org>
2267
2d16b285
CY
2268 * simple.el (list-processes--refresh): Delete exited processes
2269 (Bug#8094).
2270
171e9b6e
CY
2271 * comint.el (comint-next-prompt): next-single-char-property-change
2272 and prev-single-char-property-change never return nil (Bug#8657).
2273
9a6dd747
CY
2274 * custom.el (defcustom): Doc fix (Bug#9711).
2275
aa4589a7
CY
22762012-02-05 Chong Yidong <cyd@gnu.org>
2277
5c2a252f
CY
2278 * cus-edit.el (custom-variable-reset-backup): Quote the value
2279 before storing it in the customized-value property (Bug#6712).
4aab9006 2280 (custom-display): Add a customization type tag.
983b9602 2281 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2282
aa4589a7
CY
2283 * wid-edit.el (widget-field-value-get): New optional arg to
2284 suppress trailing whitespace truncation.
2285 (character): Use it (Bug#2689).
2286
1ff980ae
AS
22872012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2288
2289 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2290 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2291
03988c98
CY
22922012-02-05 Chong Yidong <cyd@gnu.org>
2293
eeb6cc88
CY
2294 * cus-edit.el (custom-variable-value-create): For mismatched
2295 types, show the current value (Bug#7600).
2296
03988c98
CY
2297 * custom.el (defcustom): Doc fix.
2298
f8cdeef0
GM
22992012-02-05 Glenn Morris <rgm@gnu.org>
2300
2301 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2302
0696d255
JB
23032012-02-05 Juanma Barranquero <lekktu@gmail.com>
2304
2305 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2306 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2307 (pp-last-sexp): Use `looking-at-p'.
2308
34c99998
GM
23092012-02-04 Glenn Morris <rgm@gnu.org>
2310
8f05da42
GM
2311 * files.el (revert-buffer):
2312 Doc fix (mention revert-buffer-in-progress-p).
2313
f160676e
GM
2314 * emacs-lisp/ert-x.el (ert-simulate-command):
2315 Check deferred-action-list (which is obsolete) is bound.
2316
c7291ad9
GM
2317 * subr.el (with-wrapper-hook): Doc fixes.
2318
34c99998
GM
2319 * simple.el (filter-buffer-substring-functions)
2320 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2321
6283a7d3
LL
23222012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2323
2324 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2325 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2326
e96e3013
LL
23272012-02-04 Leo Liu <sdl.web@gmail.com>
2328
2329 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2330
8ded50f2
GM
23312012-02-04 Glenn Morris <rgm@gnu.org>
2332
82ff1d13
GM
2333 * image.el (image-extension-data): Add obsolete alias.
2334
987a0a16
GM
2335 * isearch.el (isearch-update): Doc fix.
2336
ea32ef46
GM
2337 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2338
8ded50f2
GM
2339 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2340
eea14f31
GM
23412012-02-03 Glenn Morris <rgm@gnu.org>
2342
2343 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2344 (image-animate-timeout): Doc fix.
2345
2346 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2347
12f381b7
GM
23482012-02-02 Glenn Morris <rgm@gnu.org>
2349
953cebf5
GM
2350 * server.el (server-auth-dir): Doc fix.
2351 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2352
12f381b7
GM
2353 * subr.el (run-mode-hooks): Doc fix.
2354
953a8c3b
JL
23552012-02-02 Juri Linkov <juri@jurta.org>
2356
2357 * image-mode.el (image-toggle-display-image): Remove tautological
2358 `major-mode' from the `derived-mode-p' test.
2359
c5d3843c
KH
23602012-02-02 Kenichi Handa <handa@m17n.org>
2361
9f6e692e 2362 * composite.el (compose-region): Cancel previous change.
c5d3843c 2363
159462d4 23642012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2365
2366 * composite.el (compose-region, compose-string): Signal error for
2367 a null string component (Bug#6988).
2368
9f562668
CY
23692012-02-01 Chong Yidong <cyd@gnu.org>
2370
e2cef717
CY
2371 * view.el (view-buffer-other-window, view-buffer-other-frame):
2372 Handle special modes like view-buffer (Bug#10650).
2373 (view-buffer): Simplify.
2374
9f562668
CY
2375 * frame.el (set-frame-font): Tweak meaning of third argument.
2376
9f6e692e
JB
2377 * dynamic-setting.el (font-setting-change-default-font):
2378 Use set-frame-font (Bug#9982).
9f562668 2379
781acb9f
GM
23802012-02-01 Glenn Morris <rgm@gnu.org>
2381
6035be52
GM
2382 * progmodes/compile.el (compilation-internal-error-properties):
2383 Respect compilation-first-column in the "*compilation*" buffer.
2384
781acb9f
GM
2385 * emacs-lisp/easy-mmode.el (define-minor-mode):
2386 Relax :variable's test for a named function.
2387
abbceb00
AM
23882012-01-31 Alan Mackenzie <acm@muc.de>
2389
2390 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2391 off by one error.
2392
fce3fdeb
CY
23932012-01-31 Chong Yidong <cyd@gnu.org>
2394
2395 * frame.el (set-frame-font): New arg ALL-FRAMES.
2396
2397 * menu-bar.el (menu-set-font): Use set-frame-font.
2398
2399 * faces.el (face-spec-reset-face): Don't apply unspecified
2400 attribute values to the default face.
2401
47893581
JB
24022012-01-31 Juanma Barranquero <lekktu@gmail.com>
2403
2404 * progmodes/cwarn.el (cwarn): Remove dead link.
2405 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2406 Remove * from defcustom docstrings.
2407 (turn-on-cwarn-mode): Make obsolete.
2408 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2409 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2410
e58e988a
GM
24112012-01-31 Glenn Morris <rgm@gnu.org>
2412
60dc2671 2413 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2414 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2415 Allow named functions to be used as the cdr of :variable.
e58e988a 2416
7a3f511d
GM
24172012-01-30 Glenn Morris <rgm@gnu.org>
2418
2419 * emacs-lisp/authors.el (authors-fixed-entries):
2420 Remove reference to deleted file rnewspost.el.
2421
cb882333
JB
24222012-01-29 Juanma Barranquero <lekktu@gmail.com>
2423
2424 * window.el (window-with-parameter): Remove unused variable `windows'.
2425 (window--side-check): Remove unused variable `code'.
2426 (window--resize-siblings): Remove unused variable `first'.
2427 (adjust-window-trailing-edge): Remove unused variable `failed'.
2428 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2429 Use `let', not `let*'.
2430 (balance-windows-2): Remove unused variable `found'.
2431 (window--state-put-2): Remove unused variable `splits'.
2432 (window-state-put): Remove unused variable `selected'.
2433 (same-window-p): Use `string-match-p'.
2434 (display-buffer-assq-regexp): Remove unused variable `value'.
2435 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2436 Mark argument ALIST as ignored.
2437 (pop-to-buffer): Remove unused variable `old-window'.
2438
907201af
EZ
24392012-01-29 Eli Zaretskii <eliz@gnu.org>
2440
2441 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2442 and .lzma compressed files.
2443
ea162670
CY
24442012-01-29 Chong Yidong <cyd@gnu.org>
2445
5b95ee8a
CY
2446 * frame.el (window-system-default-frame-alist): Doc fix.
2447
ea162670
CY
2448 * dynamic-setting.el (font-setting-change-default-font): Don't
2449 change the default face if SET-FONT argument is non-nil (Bug#9982).
2450
d6e6f4b1
SB
24512012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2452
2453 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2454
0f29fa41 24552012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2456
2457 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2458 breakpoints in files outside current directory (Bug#6098).
2459
db174434
CY
24602012-01-29 Chong Yidong <cyd@gnu.org>
2461
6b25e4e2
SE
2462 * progmodes/python.el: Require ansi-color at top-level.
2463
6df6ae42
JB
2464 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2465 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2466 (lisp-mode-abbrev-table): Add doc.
2467 (lisp-mode-variables): Don't set local-abbrev-table.
2468 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2469
e70ee681
RW
24702012-01-28 Roland Winkler <winkler@gnu.org>
2471
2472 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2473
ace88aa2
RW
24742012-01-28 Roland Winkler <winkler@gnu.org>
2475
2476 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2477 (bibtex-set-dialect): Use it. Either set global values of
2478 dialect-dependent variables or bind these variables buffer-locally
2479 (Bug#10254).
2480 (bibtex-mode): Call bibtex-set-dialect via
2481 hack-local-variables-hook.
eb864a71
LM
2482 (bibtex-dialect): Update docstring.
2483 Add safe-local-variable predicate.
ace88aa2
RW
2484 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2485 bibtex-set-dialect.
2486 (bibtex-mode-map): Define menu for each dialect.
2487 (bibtex-entry): Fix docstring.
2488
93376c5b
CY
24892012-01-28 Chong Yidong <cyd@gnu.org>
2490
2491 * eshell/esh-arg.el (eshell-quote-argument): New function.
2492
2493 * eshell/esh-ext.el (eshell-invoke-batch-file):
2494 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2495 first arg to eshell-parse-command (Bug#10523).
2496
4372494f
DA
24972012-01-28 Drew Adams <drew.adams@oracle.com>
2498
2499 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2500 `default-directory' is non-nil.
2501
4d4ec1f8
EZ
25022012-01-28 Eli Zaretskii <eliz@gnu.org>
2503
2504 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2505 line that displays system-configuration-options. (Bug#9924)
2506
7c188927
DA
25072012-01-28 Drew Adams <drew.adams@oracle.com>
2508
2509 * descr-text.el (describe-char): Show information about POS, in
2510 addition to information about the character at POS. Improve and
2511 update the doc string. Change "code point" to "code point in
2512 charset", to avoid confusion with the character's Unicode code
2513 point shown above that. (Bug#10129)
2514
e0da685a
EZ
25152012-01-28 Eli Zaretskii <eliz@gnu.org>
2516
2517 * descr-text.el (describe-char): Show the raw character, not only
2518 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2519 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2520 for the reasons.
2521
70550acf
PH
25222012-01-28 Phil Hagelberg <phil@hagelb.org>
2523
eb864a71
LM
2524 * emacs-lisp/package.el (package-install):
2525 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2526
0ce8e868
CY
25272012-01-28 Chong Yidong <cyd@gnu.org>
2528
cb882333
JB
2529 * emacs-lisp/package.el (package-maybe-load-descriptor):
2530 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2531 (package-maybe-load-descriptor): Use it.
2532 (package-download-transaction): Fully load required packages
2533 inside the loop, so that `require' calls work (Bug#10593).
2534 (package-install): No need to call package-initialize now.
2535
2e7f3bea
CY
25362012-01-28 Chong Yidong <cyd@gnu.org>
2537
6e9bad14
CY
2538 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2539
f823b8ca
CY
2540 * tooltip.el (tooltip-mode): Doc fix.
2541 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2542
2680c309
CY
2543 * frame.el (set-cursor-color): Doc fix (Bug#352).
2544
d7a9e63b
CY
2545 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2546 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2547
2e7f3bea
CY
2548 * cus-edit.el (custom-buffer-create-internal): Fix search button
2549 action (Bug#10542).
2ae01800 2550 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2551
fc4f7a23
EW
25522012-01-27 Eduard Wiebe <usenet@pusto.de>
2553
2554 * dired.el (dired-mark-files-regexp):
2555 Include any subdirectory components. (Bug#10445)
2556
7dd37071
ML
25572012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2558
2559 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2560 Handle [host]:port syntax. (Bug#10533)
2561
a268160b
AH
25622012-01-27 Alex Harsanyi <harsanyi@mac.com>
2563
2564 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2565
e43273ef
GM
25662012-01-26 Glenn Morris <rgm@gnu.org>
2567
2568 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2569 * term.el (term-raw-escape-map): Use Control-X-prefix.
2570 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2571
1edf595d
MR
25722012-01-25 Martin Rudalics <rudalics@gmx.at>
2573
2574 * window.el (window-state-get, window--state-get-1): Don't deal
2575 with fixed-sizeness of windows. Simplify code.
2576
fa8eafef
JC
25772012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2578
6df6ae42
JB
2579 * window.el (window--state-get-1, window--state-put-2):
2580 Don't save and restore the mark.
fa8eafef 2581
0b21c100
CY
25822012-01-25 Chong Yidong <cyd@gnu.org>
2583
2584 * custom.el (custom-variable-p): Doc fix.
2585
5ae1a6c8
GM
25862012-01-25 Glenn Morris <rgm@gnu.org>
2587
40047858
GM
2588 * dired.el (dired-goto-file): Handle some of the more common
2589 characters that `ls -b' escapes. (Bug#10596)
2590
5ddce96c
GM
2591 * progmodes/compile.el (compilation-next-error-function):
2592 Respect compilation-first-column in the "*compilation*" buffer.
2593 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2594
5ae1a6c8
GM
2595 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2596
b559f1a9
GM
25972012-01-24 Glenn Morris <rgm@gnu.org>
2598
2599 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2600
6725d21a
JD
26012012-01-24 Julien Danjou <julien@danjou.info>
2602
2603 * color.el (color-rgb-to-hsl): Fix value computing.
2604 (color-hue-to-rgb): New function.
2605 (color-hsl-to-rgb): New function.
2606 (color-clamp, color-saturate-hsl, color-saturate-name)
2607 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2608 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2609
70df4bbe
GM
26102012-01-24 Glenn Morris <rgm@gnu.org>
2611
2612 * vc/vc-rcs.el (vc-rcs-create-tag):
2613 * vc/vc-sccs.el (vc-sccs-create-tag):
2614 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2615
802a2ae2
ML
26162012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2617
2618 * eshell/esh-util.el (eshell-read-hosts-file):
2619 Skip comment lines. (Bug#10549)
2620
d7128bb1
ML
2621 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2622
d1a5c3b4
JB
26232012-01-23 Juanma Barranquero <lekktu@gmail.com>
2624
2724d9c7
JB
2625 * subr.el (display-delayed-warnings): Doc fix.
2626 (collapse-delayed-warnings): New function to collapse identical
2627 adjacent warnings.
2628 (delayed-warnings-hook): Add it.
d1a5c3b4 2629
a5509865
MA
26302012-01-22 Michael Albinus <michael.albinus@gmx.de>
2631
2632 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2633
2634 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2635 properties, when "login-as" is set.
2636
2637 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2638 (tramp-default-user-alist): Don't add "pscp".
2639 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2640 property "login-as", if set. (Bug#10530)
2641
cc6d5805
MA
26422012-01-21 Michael Albinus <michael.albinus@gmx.de>
2643
2644 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2645 "plink1" and "psftp". (Bug#10530)
2646
26472012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2648
2649 * international/mule-cmds.el (prefer-coding-system): Show a
2650 warning message if the default value of file-name-coding-system
2651 was not changed.
2652
f0960428
JC
26532012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2654
cb882333
JB
2655 * windmove.el (windmove-reference-loc):
2656 Fix windmove-reference-loc miscalculation.
f0960428 2657
dd6f2a63
JB
26582012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2659
2660 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2661 default unit.
2662
7b447e9b
GM
26632012-01-21 Glenn Morris <rgm@gnu.org>
2664
117a9ea1
GM
2665 * international/mule.el (auto-coding-alist): Add .tbz.
2666
7b447e9b
GM
2667 * files.el (local-enable-local-variables): Doc fix.
2668 (inhibit-local-variables-regexps): Rename from
2669 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2670 Doc fix. Add some extensions from auto-coding-alist.
2671 (inhibit-local-variables-suffixes):
2672 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2673 (inhibit-local-variables-p):
2674 New function, extracted from set-auto-mode-1.
2675 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2676 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2677 (hack-local-variables): Doc fix. Make the mode-only case
2678 respect enable-local-variables and friends.
2679 Respect inhibit-local-variables-regexps for file-locals, but
2680 not for directory-locals.
2681 (set-visited-file-name):
2682 Take account of inhibit-local-variables-regexps.
2683 Whether it applies may change as the file name is changed.
2684 * jka-cmpr-hook.el (jka-compr-install):
2685 * jka-compr.el (jka-compr-uninstall):
2686 Update for inhibit-first-line-modes-suffixes name change.
2687
dd6e3cdd
MR
26882012-01-20 Martin Rudalics <rudalics@gmx.at>
2689
2690 * help-macro.el (make-help-screen): Temporarily restore original
2691 binding for minor-mode-map-alist (Bug#10454).
2692
0d0deb38
JD
26932012-01-19 Julien Danjou <julien@danjou.info>
2694
2695 * color.el (color-name-to-rgb): Use the white color to find the max
2696 color component value and return correctly computed values.
2697 (color-name-to-rgb): Add missing float conversion for max value.
2698
34a02f46
MR
26992012-01-19 Martin Rudalics <rudalics@gmx.at>
2700
2701 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2702 special state value for window-persistent-parameters.
2703 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2704 (window--state-put-2): Reset all window parameters to nil before
2705 assigning values of persistent parameters.
2706
606c44c4
AM
27072012-01-18 Alan Mackenzie <acm@muc.de>
2708
2709 Eliminate sluggishness and hangs in fontification of "semicolon
2710 deserts".
2711
cb882333
JB
2712 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2713 Change value 10000 -> 3000.
606c44c4
AM
2714 (c-state-safe-place): Reformulate so it doesn't stack up an
2715 infinite number of wrong entries in c-state-nonlit-pos-cache.
2716 (c-determine-limit-get-base, c-determine-limit): New functions to
2717 determine backward search limits disregarding literals.
2718 (c-find-decl-spots): Amend commenting.
2719 (c-cheap-inside-bracelist-p): New function which detects "={".
2720
2721 * progmodes/cc-fonts.el
2722 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2723 backward search.
2724 (c-font-lock-declarations): Fix an occurrence of point being
2725 undefined. Check additionally for point being in a bracelist or
2726 near a macro invocation without a semicolon so as to avoid a
2727 fruitless time consuming search for a declarator. Give a more
2728 precise search limit for declarators using the new
2729 c-determine-limit.
2730
f3860cea
GM
27312012-01-18 Glenn Morris <rgm@gnu.org>
2732
2733 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2734 (set-auto-mode): Doc fixes.
2735
1db03b16
GM
27362012-01-17 Glenn Morris <rgm@gnu.org>
2737
0e6038be
GM
2738 * isearch.el (search-nonincremental-instead): Fix doc typo.
2739
1db03b16
GM
2740 * dired.el (dired-insert-directory): Handle newlines in directory name.
2741 (dired-build-subdir-alist): Unescape newlines in directory name.
2742
4cb0aa75
MA
27432012-01-17 Michael Albinus <michael.albinus@gmx.de>
2744
2745 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2746 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2747 (tramp-action-terminal): Use it. (Bug#10530)
2748
1d00653d
SM
27492012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2752
6a6ee00d
MR
27532012-01-16 Martin Rudalics <rudalics@gmx.at>
2754
2755 * window.el (window-state-ignored-parameters): Remove variable.
2756 (window--state-get-1): Rename argument MARKERS to IGNORE.
2757 Handle persistent window parameters. Make copy of clone-of
2758 parameter only if requested. (Bug#10348)
2759 (window--state-put-2): Install a window parameter only if it has
2760 a non-nil value or an existing parameter shall be overwritten.
2761
97912def
MA
27622012-01-15 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2765
688070a5
EZ
27662012-01-14 Eli Zaretskii <eliz@gnu.org>
2767
2768 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2769 don't pass the (nil) value of `upnode' to string-match.
2770
301afadc
CY
27712012-01-14 Chong Yidong <cyd@gnu.org>
2772
2773 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2774 Fix values recognized by the cursorBlink resource.
301afadc 2775
9e5788aa
PE
27762012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2777
2778 * epg.el (epg--make-temp-file): Avoid permission race condition
2779 when running on old Emacs versions (bug#10403).
2780
3cdb7f5a
GM
27812012-01-14 Glenn Morris <rgm@gnu.org>
2782
2783 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2784
8c82b1b4
AM
27852012-01-13 Alan Mackenzie <acm@muc.de>
2786
2787 Fix filling for when filladapt mode is enabled.
2788
2789 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2790 c-mask-paragraph, pass in `fill-paragraph' rather than
2791 `fill-region-as-paragraph'. (This is a reversion of a previous
2792 change.)
eb864a71
LM
2793 * progmodes/cc-mode.el (c-basic-common-init):
2794 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2795
e517eda4
GM
27962012-01-13 Glenn Morris <rgm@gnu.org>
2797
1498536e
GM
2798 * dired.el (dired-switches-escape-p): New function.
2799 (dired-insert-directory): Use dired-switches-escape-p.
2800 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2801
e517eda4
GM
2802 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2803
328f984d
GM
28042012-01-12 Glenn Morris <rgm@gnu.org>
2805
2806 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2807 changes in adaptive-fill-regexp. (Bug#10276)
2808
2cc769a8
AM
28092012-01-11 Alan Mackenzie <acm@muc.de>
2810
2811 Fix Emacs bug #10463 - put `widen's around the critical spots.
2812
1d00653d 2813 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2814 widen around each invocation of c-state-pp-to-literal. Remove an
2815 unused let variable.
2816
e52c37fa
GM
28172012-01-11 Glenn Morris <rgm@gnu.org>
2818
2819 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2820 Doc fix.
e52c37fa 2821
96f8741e
CY
28222012-01-10 Chong Yidong <cyd@gnu.org>
2823
1d00653d
SM
2824 * net/network-stream.el (network-stream-open-starttls):
2825 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2826 response to the capability command.
2827
b09a806e
GM
28282012-01-10 Glenn Morris <rgm@gnu.org>
2829
2830 * mail/unrmail.el (unrmail): Tweak previous change.
2831
7655cb66
CY
28322012-01-09 Chong Yidong <cyd@gnu.org>
2833
2834 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2835
9d5a8f0b
AM
28362012-01-08 Alan Mackenzie <acm@muc.de>
2837
2838 Optimise font locking in long enum definitions.
2839
2840 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2841 arm to a cond form to handle enums.
2842 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2843 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2844
9a0115ab 28452012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2846
2847 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2848 (Bug#10401)
6bb72cbd 2849
f186bb95
LMI
28502012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2851
29232a68
LMI
2852 * faces.el (set-face-attribute): Clarify the meaning of the nil
2853 frame (bug#10294).
2854
4e5d086d
LMI
2855 * subr.el (with-selected-frame): Mention that the selected frame
2856 is restored (bug#9980).
2857
8e66aebe
LMI
2858 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2859 (bug#9759).
2860
cd394be1 2861 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2862 (password-read): Don't autoload unused function.
2863
adf4e762
JB
28642012-01-07 Juanma Barranquero <lekktu@gmail.com>
2865
2866 * progmodes/which-func.el (which-func-mode): Turn into a
2867 non-interactive function and mark as obsolete (bug#10428).
2868
89bd9ccd
CY
28692012-01-06 Chong Yidong <cyd@gnu.org>
2870
2871 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2872 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2873 functions, along with 1 and -1.
2874
4afee9d5
EZ
28752012-01-06 Eli Zaretskii <eliz@gnu.org>
2876
2877 * time.el (display-time-load-average)
2878 (display-time-default-load-average): Doc fixes. See the thread
2879 starting at
2880 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2881 for the details.
2882
536aea70
GM
28832012-01-06 Glenn Morris <rgm@gnu.org>
2884
665ae865
GM
2885 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2886 has no messages. (Bug#10377)
2887
c869783d
GM
2888 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2889 than Info-edit. (Bug#10385)
2890
2bb4227e
GM
2891 * time.el (display-time-load-average, display-time-next-load-average):
2892 Doc fixes.
2893
7d5944b9
GM
2894 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2895 local setting of buffer-read-only to the input buffer. (Bug#10419)
2896
536aea70
GM
2897 * calendar/calendar.el (calendar-mode):
2898 Locally set scroll-margin to 0. (Bug#10379)
2899
7dccca16
UM
29002012-01-06 Ulrich Mueller <ulm@gentoo.org>
2901
2902 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2903
afbb7930
GM
29042012-01-05 Glenn Morris <rgm@gnu.org>
2905
2906 * eshell/em-unix.el (diff-no-select): Autoload it.
2907 (eshell/diff): Use diff-no-select. (Bug#10420)
2908
04482335
CY
29092012-01-05 Chong Yidong <cyd@gnu.org>
2910
7baca3bc
CY
2911 * shell.el (shell-dynamic-complete-functions): Revert last change.
2912 (shell-command-completion-function): New function.
2913 (shell-completion-vars): Use it to implement
2914 shell-completion-execonly (Bug#10417).
2915
04482335
CY
2916 * custom.el (enable-theme): Don't set custom-safe-themes.
2917
1d00653d
SM
2918 * cus-theme.el (custom-theme-merge-theme):
2919 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2920
bb5aa5d6
MM
29212012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2922
2923 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2924 first prompt in `sql-interacive-mode'.
2925 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2926 keywords.
6df6ae42 2927 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2928 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2929 context of original buffer. Invoke `sql-login-hook'.
2930
a7183d7c
EZ
29312012-01-04 Eli Zaretskii <eliz@gnu.org>
2932
2933 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2934 letters in cite-prefix.
2935
a1eacd1e
LMI
29362012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2937
2938 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2939
787cdb34
CY
29402012-01-03 Chong Yidong <cyd@gnu.org>
2941
1d00653d
SM
2942 * shell.el (shell-dynamic-complete-functions):
2943 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2944 comint-filename-completion first (Bug#10417).
2945
30710442
RS
29462012-01-02 Richard Stallman <rms@gnu.org>
2947
2948 * battery.el (battery-status-function):
2949 Detect when to use battery-yeeloong-sysfs.
2950 (battery-echo-area-format): Add string for Yeeloong.
2951 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2952 (battery-yeeloong-sysfs): New function.
2953
f75bfc33
CY
29542012-01-02 Chong Yidong <cyd@gnu.org>
2955
2956 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2957 (dirtrack): Merge code for handling relative filenames in prompt
2958 from shell-dir-cookie-watcher.
2959 (dirtrack-debug-message): New arg to avoid excess format calls.
2960
2961 * shell.el (shell-dir-cookie-re): Variable deleted.
2962 (shell-dir-cookie-watcher): Function deleted.
2963 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2964 with dirtrack-mode.
2965
651e947e
EZ
29662012-01-01 Eli Zaretskii <eliz@gnu.org>
2967
1d00653d
SM
2968 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2969 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2970 libgnutls-26.dll.
2971
94d4c7dc
AS
29722011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2973
2974 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2975
8d43f3cd
EZ
29762011-12-31 Eli Zaretskii <eliz@gnu.org>
2977
2978 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2979 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2980
98c8795a
MA
29812011-12-29 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2984 also for alternative shells.
2985 (tramp-open-connection-setup-interactive-shell): Check, whether
2986 the shell is a busybox.
2987 (tramp-send-command): Don't suppress multiple prompts for
2988 busyboxes, it hurts.
2989
51281b32
CY
29902011-12-28 Chong Yidong <cyd@gnu.org>
2991
2992 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2993 (gdb-get-source-file): Move mode line update to
2994 gdb-get-source-file (Bug#10087).
2995
2170cb53
CY
29962011-12-25 Chong Yidong <cyd@gnu.org>
2997
2998 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2999 gud-gdb-marker-filter without taking it as an argument.
3000 (gud-gdb-run-command-fetch-lines): Caller changed.
3001 (gud-gdb-completion-function): New variable.
3002 (gud-gdb-completion-at-point): Use it.
3003 (gud-gdb-completions-1): Split from gud-gdb-completions.
3004
3005 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3006 function as separate arguments.
3007 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3008 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3009 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3010 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3011 (gdb-stopped, def-gdb-auto-update-trigger)
3012 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3013 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3014 Callers changed.
2170cb53
CY
3015 (gud-gdbmi-completions): New function.
3016 (gdb): Use it for generating the completion table.
3017
be8b11bb
AM
30182011-12-24 Alan Mackenzie <acm@muc.de>
3019
3020 Introduce a mechanism to widen the region used in context font
1d00653d 3021 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3022
1d00653d
SM
3023 * progmodes/cc-langs.el (c-before-font-lock-functions):
3024 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3025 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3026 functions to be run just before context (etc.) font locking.
3027
3028 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3029 New, functionality extracted from
be8b11bb 3030 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3031 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3032 (c-after-change): Set c-in-after-change-fontification.
3033 (c-set-fl-decl-start): Rejig its interface, so it can be called
3034 from both after-change and context fontifying.
b81d40f0
JB
3035 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3036 New functions.
3037 (c-standard-font-lock-fontify-region-function): New variable.
3038 (c-font-lock-fontify-region): New function.
be8b11bb 3039
341cf6ac
JL
30402011-12-24 Juri Linkov <juri@jurta.org>
3041
3042 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3043 (Bug#10348)
3044
bffcee0a
MA
30452011-12-23 Michael Albinus <michael.albinus@gmx.de>
3046
3047 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3048 existence of source file. (Bug#10325)
3049
cb5e207c
AM
30502011-12-23 Alan Mackenzie <acm@muc.de>
3051
3052 Fix unstable fontification inside templates.
3053
b81d40f0
JB
3054 * progmodes/cc-langs.el (c-before-font-lock-functions):
3055 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3056 additionally has c-set-fl-decl-start. The other languages (apart
3057 from AWK) have that as a single entry.
3058
b81d40f0
JB
3059 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3060 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3061 c-set-fl-decl-start.
3062
b81d40f0
JB
3063 * progmodes/cc-mode.el (c-common-init, c-after-change):
3064 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3065 (c-set-fl-decl-start): New function, extracted from
3066 c-font-lock-enclosing-decls and enhanced.
3067
60ff536c
JB
30682011-12-23 Juanma Barranquero <lekktu@gmail.com>
3069
3070 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3071
1c4757d6
JL
30722011-12-22 Juri Linkov <juri@jurta.org>
3073
3074 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3075
d031f2c7
CY
30762011-12-22 Chong Yidong <cyd@gnu.org>
3077
3078 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3079
bace743a
DA
30802011-12-21 Drew Adams <drew.adams@oracle.com>
3081
3082 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3083
728a1f2b
JC
30842011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3085
3086 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3087
0d373f73
TZ
30882011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3089
fec0aaa4
TZ
3090 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3091 highlighting and support. Fix up comments for capitalization.
3092 (cfengine-mode-debug): New var.
3093 (cfengine3-mode): Change the modeline indicator to "CFE3".
3094 (cfengine3-font-lock-keywords): Improve defun highlighting.
3095 (cfengine2-actions): Rename from `cfengine-actions'.
3096 (cfengine2-font-lock-keywords): Rename from
3097 `cfengine-font-lock-keywords'.
3098 (cfengine2-imenu-expression): Rename from
3099 `cfengine-imenu-expression'.
3100 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3101 (cfengine2-beginning-of-defun): Rename from
3102 `cfengine-beginning-of-defun'.
3103 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3104 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3105 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3106 modeline indicator to "CFE2".
3107 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3108 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3109
bc86f573
CY
31102011-12-21 Chong Yidong <cyd@gnu.org>
3111
3112 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3113 filename argument.
3114
d45ba96b
MR
31152011-12-20 Martin Rudalics <rudalics@gmx.at>
3116
3117 * window.el (window-normalize-buffer-to-display): Remove.
3118 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3119
a6198c90
CY
31202011-12-19 Chong Yidong <cyd@gnu.org>
3121
3122 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3123 Don't signal an error in a predicate function; return non-nil.
3124 (vc-dir-mark-file): Move the error here.
3125 (vc-dir-mark-unmark): If acting on the region, keep going if one
3126 of the entries cannot be marked/unmarked.
3127 (vc-dir-mark-all-files): If current entry is a directory, mark
3128 only child files, as documented.
3129
34c5fb55
VB
31302011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3131
3132 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3133 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3134 addition.
3135
c803b2b7
JD
31362011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3137
3138 * term/ns-win.el (ns-get-selection-internal)
3139 (ns-store-selection-internal): Declare.
1154d12e
JB
3140 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3141 Declare as obsolete.
3142 (ns-get-pasteboard, ns-paste-secondary):
3143 Use ns-get-selection-internal.
3144 (ns-set-pasteboard, ns-copy-including-secondary):
3145 Use ns-store-selection-internal.
c803b2b7 3146
9cff91f8 31472011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3148
3149 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3150 (vc-deduce-fileset): Doc fix.
99a289d9 3151
f16c898a
AS
31522011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3153
3154 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3155
763237c4
SS
31562011-12-13 Sam Steingold <sds@gnu.org>
3157
3158 * man.el (Man-getpage-in-background): When running under a
3159 window-system, ignore $MANWIDTH and $COLUMNS.
3160
5fc1c122
KH
31612011-12-15 Kenichi Handa <handa@m17n.org>
3162
3163 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3164 (setup-ethiopic-environment-internal): Comment out key-binding for
3165 ethio-toggle-punctuation.
3166
13d49cbb
AM
31672011-12-13 Alan Mackenzie <acm@muc.de>
3168
898169a2
AM
3169 Add the switch statement to AWK Mode.
3170
7a71b18d 3171 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3172 "default" to the keywords regexp.
3173
7a71b18d 3174 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3175 expression as the rest.
1d00653d
SM
3176 (c-nonlabel-token-key): Allow string literals for AWK.
3177 Refactor for the other modes.
898169a2 3178
13d49cbb 3179 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3180 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3181 routines. Limit backward searching in c-font-lock-enclosing.decl.
3182
3183 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3184 pp-state and literal type in addition to the limits.
1d00653d 3185 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3186 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3187 (c-slow-in-literal, c-fast-in-literal): Remove.
3188 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3189
3190 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3191 being in a literal. Add a limit for backward searching.
3192
3193 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3194 c-slow-in-literal.
3195
15e0efc7
SM
31962011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3199
454592a6
MR
32002011-12-13 Martin Rudalics <rudalics@gmx.at>
3201
3202 * window.el (delete-other-windows): Use correct frame in call to
3203 window-with-parameter.
3204
87393f26
DP
32052011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3206
3207 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3208 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3209 (makefile-gmake-statements, makefile-makepp-statements):
3210 Use it and add new makepp keywords.
3211 (makefile-makepp-font-lock-keywords): Add new patterns.
3212 (makefile-match-function-end): Match new [...] and [[...]].
3213
11636b22
JB
32142011-12-11 Juanma Barranquero <lekktu@gmail.com>
3215
3216 * ses.el (ses-call-printer-return, ses-cell-property-get)
3217 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3218 (ses-create-cell-variable, ses-reset-header-string)
3219 (ses-cell-set-formula, ses-repair-cell-reference-all)
3220 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3221 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3222 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3223 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3224 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3225 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3226 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3227 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3228 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3229 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3230 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3231 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3232
cf018193
VB
32332011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3234
3235 * ses.el: The overall change is to add cell renaming, that is
3236 setting fancy names for cell symbols other than name matching
3237 "\\`[A-Z]+[0-9]+\\'" regexp .
3238 (ses-create-cell-variable): New defun.
3239 (ses-relocate-formula): Relocate formulas only for cells the
3240 symbols of which are not renamed, i.e. symbols whose names do not
3241 match regexp "\\`[A-Z]+[0-9]+\\'".
3242 (ses-relocate-all): Relocate values only for cells the symbols of
3243 which are not renamed.
3244 (ses-load): Create cells variables as the (ses-cell ...) are read,
3245 in order to check row col consistency with cell symbol name only
3246 for cells that are not renamed.
3247 (ses-replace-name-in-formula): New defun.
3248 (ses-rename-cell): New defun.
3249
ee957461
CY
32502011-12-11 Chong Yidong <cyd@gnu.org>
3251
3252 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3253 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3254
9a9e9ef0
MR
32552011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3256
3257 * window.el (other-window): Fix docstring.
3258
92a8eba5
EZ
32592011-12-10 Eli Zaretskii <eliz@gnu.org>
3260
3261 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3262 `from' or `to' address before taking its substring.
3263 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3264 encoded name is chopped in the middle of the encoded string, and
3265 thus displayed encoded.
3266
e152e577
JB
32672011-12-10 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3270
e5d84bfe
EZ
32712011-12-10 Eli Zaretskii <eliz@gnu.org>
3272
3273 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3274 to use texinfo-update-node and commands that call it if the
3275 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3276 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3277 (texinfo-all-menus-update, texinfo-master-menu)
3278 (texinfo-update-node, texinfo-every-node-update)
3279 (texinfo-multiple-files-update): Doc fix. Warn against updating
3280 all the @node lines.
3281 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3282 argument is numeric. Explain better in the doc string what the
3283 function really does.
3284 (texinfo-insert-master-menu-list): Improve the error message
3285 displayed if there's no menu in the Top node.
3286 (Bug#2975) See also this thread:
e5d84bfe
EZ
3287 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3288
1d84e9bb
MG
32892011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3290
3291 * speedbar.el (speedbar-supported-extension-expressions):
3292 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3293
382c953b
JB
32942011-12-09 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * printing.el (pr-mode-alist):
3297 * simple.el (filter-buffer-substring-functions)
3298 (completion-list-insert-choice-function):
3299 * window.el (window-with-parameter, window-atom-root)
3300 (window-sides-slots, window-size-fixed, window-min-delta)
3301 (window-max-delta, window--resize-mini-window)
3302 (window--resize-child-windows-normal, window-tree)
3303 (delete-other-windows, quit-window, split-window)
3304 (display-buffer-record-window, special-display-buffer-names)
3305 (special-display-regexps, special-display-popup-frame)
3306 (same-window-p, split-window-sensibly)
3307 (display-buffer-overriding-action, display-buffer-alist)
3308 (display-buffer-base-action, display-buffer, switch-to-buffer)
3309 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3310 (fit-window-to-buffer, recenter-positions)
3311 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3312 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3313 and remove unneeded backslashes in docstrings.
3314
39c9faef
SM
33152011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3316
98449af8
SM
3317 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3318
39c9faef
SM
3319 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3320 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3321 end in ".mk".
3322 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3323 when reading the makefile (bug#10116).
3324
86ed9fdc
SM
33252011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3328 (bug#10116).
3329
5580f89d
GM
33302011-12-06 Glenn Morris <rgm@gnu.org>
3331
3332 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3333
28d3917c
CY
33342011-12-06 Chong Yidong <cyd@gnu.org>
3335
3336 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3337
a98edce9
JB
33382011-12-06 Juanma Barranquero <lekktu@gmail.com>
3339
3340 * textmodes/table.el (table-shorten-cell): Fix typo.
3341
e65adfac
CG
33422011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3343
3344 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3345
71cc0b74
EZ
33462011-12-05 Eli Zaretskii <eliz@gnu.org>
3347
3348 * descr-text.el (describe-char): Fix display of strong
3349 right-to-left characters and directional embeddings and overrides.
3350
3351 * simple.el (what-cursor-position): Fix display of codepoints of
3352 strong right-to-left characters.
3353
315bc30d
CY
33542011-12-05 Chong Yidong <cyd@gnu.org>
3355
3356 * faces.el (read-color): Doc fix.
3357
58a70b94
GM
33582011-12-05 Glenn Morris <rgm@gnu.org>
3359
3360 * align.el (align--set-marker): Add doc-string.
3361 Don't try to move something that is not a marker. (Bug#10216)
3362
5158face
GM
33632011-12-04 Glenn Morris <rgm@gnu.org>
3364
3365 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3366 overly zealous deletion of trailing whitespace.
3367
520fca41
JB
33682011-12-04 Juanma Barranquero <lekktu@gmail.com>
3369
3370 * server.el (server-delete-client): On Windows, do not try to delete
3371 the only terminal.
3372 (server-process-filter): On Windows, treat requests for a tty frame as
3373 if they were for a GUI frame if the running server is in GUI mode.
3374
5e605a2e
GM
33752011-12-03 Glenn Morris <rgm@gnu.org>
3376
3377 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3378
5c3fe83f
SM
33792011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3380
6f5e57e7
SM
3381 * electric.el: Streamline electric-indent's hook.
3382 (electric-indent-chars): Revert to simple list.
3383 (electric-indent-functions): New var.
3384 (electric-indent-post-self-insert-function): Use it.
3385
5c3fe83f
SM
3386 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3387 there's no inferior buffer (bug#10196).
3388 (prolog-consult-compile): Don't use toggle-read-only.
3389
6bdac736
MA
33902011-12-02 Michael Albinus <michael.albinus@gmx.de>
3391
3392 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3393 interrupt. (Bug#10187)
3394
6131ba7f
SM
33952011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3396
99c79fee
SM
3397 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3398 (bug#9160).
3399
6131ba7f
SM
3400 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3401 (bug#10191).
3402
cb0a02ea
JL
34032011-12-02 Juri Linkov <juri@jurta.org>
3404
3405 * info.el (Info-search): Display "end of manual" when Isearch
3406 reaches the end of single-file Info manual. (Bug#9918)
3407
66e0570c
EZ
34082011-12-02 Eli Zaretskii <eliz@gnu.org>
3409
3410 * isearch.el (isearch-message-prefix): Run the input method part
3411 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3412
02b16839
JL
34132011-12-02 Juri Linkov <juri@jurta.org>
3414
3415 * isearch.el (isearch-occur): Use `word-search-regexp' for
3416 `isearch-word'.
3417 (isearch-search-and-update): Add condition for `isearch-word' and
3418 call `word-search-regexp'. (Bug#10145)
3419
0b950688
GM
34202011-12-01 Glenn Morris <rgm@gnu.org>
3421
3422 * eshell/em-hist.el (eshell-hist-initialize):
3423 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3424 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3425
9505c3c7
SM
34262011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3429
1bbe96b2 34302011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3431
a1beca85
SM
3432 * progmodes/verilog-mode.el (verilog-pretty-expr):
3433 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3434 verilog, such as += *= and the like.
3435 (verilog-assignment-operator-re): Regular expression to find the
3436 assigment operator in a verilog assignment.
3437 (verilog-assignment-operation-re): Regular expression to find an
3438 assignment statement for pretty-expr.
3439 (verilog-in-attribute-p): Query returns true if point is in an
3440 attribute context; used to skip these for expression line up from
3441 pretty-expr.
3442 (verilog-in-parameter-p): Query returns true if point is in an
3443 parameter definition context; used to skip these for expression
3444 line up from pretty-expr.
3445 (verilog-in-parenthesis-p): Query returns true if point is in a
3446 parenthetical expression, specifically ( ) but not [ ] or { };
3447 used by pretty-expr.
3448 (verilog-just-one-space): If there is no space, don't add one.
3449 (verilog-get-lineup-indent-2): Specifically skip just attribute
3450 contexts for expression lineup, rather than skipping all
3451 parenthetical expressions.
3452 (verilog-calculate-indent): Fix comment, and fix indent.
3453 (verilog-do-indent): Indent declarations in lists (suggested by
3454 Joachim Lechner).
3455 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3456 skeleton items.
3457 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3458 by Alain Mellan).
3459
1bbe96b2 34602011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3461
3462 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3463 parameters with embedded comments. Reported by Ray Stevens.
3464 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3465 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3466 Reported by Tim Holt.
3467 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3468 instantiated by upper module causing wrong expansion until AUTOed a
3469 second time. Reported by K C Buckenmaier.
3470 (verilog-diff-auto): Fix showing .* as a difference when
3471 `verilog-auto-star-save' off. Reported by Dan Dever.
3472 (verilog-auto-reset, verilog-read-always-signals)
3473 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3474 temporary signals in reset list if
3475 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3476 style to each signal's assignment type, bug381.
3477 Reported by Thomas Esposito.
6288f0ca
WS
3478 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3479 (verilog-uvm-statement-re): Support UVM indentation and
3480 highlighting, with old OVM keywords only.
a1beca85 3481 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3482 Support AUTOTIEOFF creating non-wire data types.
3483 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3484 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3485 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3486 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3487 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3488 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3489 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3490 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3491 non-numeric vector width. Reported by Alex Reed.
3492 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3493 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3494 (verilog-auto-delete-trailing-whitespace):
3495 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3496 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3497 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3498 Fix verilog-scan-cache corruption when running user AUTO expansion
3499 hooks that call indentation routines.
3500 (verilog-simplify-range-expression): Fix typo ignoring lower case
3501 identifiers.
3502 (verilog-delete-auto): Fix delete-autos to also remove user created
3503 automatics, as long as they start with AUTO.
3504 (verilog-batch-diff-auto, verilog-diff-auto)
3505 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3506 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3507 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3508 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3509 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3510 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3511 is disabled and its cache will get corrupt, causing AUTOS not to
3512 expand. Instead use only -quick functions.
3513 (verilog-scan-region): Fix scanning over escaped quotes.
3514 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3515 (verilog-re-search-backward-quick)
3516 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3517 related functions now ignore strings, to fix misparsing of strings
3518 with magic comments embedded in them.
a1beca85
SM
3519 (verilog-read-auto-template):
3520 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3521 Reported by Brad Dobbie.
3522 (verilog-read-auto-template):
3523 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3524 Reported by Brad Dobbie.
6288f0ca
WS
3525 (verilog-auto-inst, verilog-auto-inst-param)
3526 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3527 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3528 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3529 debugging templates without merge conflicts, bug357.
3530 Reported by Brad Dobbie.
3531 (verilog-read-auto-template):
3532 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3533 Reported by Brad Dobbie.
3534 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3535 abbrevs so user won't be asked to save.
3536 (verilog-read-auto-lisp-present): Fix to start at beginning of
3537 buffer in case called outside of verilog-auto.
3538 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3539 to "X-2". Reported by Matthew Myers.
3540 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3541 all inputs from module templates. Reported by Leith Johnson.
3542 (verilog-module-inside-filename-p): Fix locating programs as with
3543 modules.
3544 (verilog-auto-inst-port): Fix vl-width expressions when using
3545 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3546 (verilog-decls-get-regs, verilog-decls-get-signals,
3547 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3548 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3549 verilog-read-decls): Combine reg and wire structures into one var
3550 structure to represent SystemVerilog concepts.
3551 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3552 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3553 (verilog-auto-wire-type, verilog-insert-definition):
3554 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3555 SystemVerilog "logic" keyword instead of "wire"/"reg".
3556 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3557 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3558 ifdef or generate if so there's not a driver conflict).
3559 Reported by Matthew Myers.
3560 (verilog-auto-declare-nettype, verilog-insert-definition):
3561 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3562 `default_nettype none. Reported by Julian Gorfajn.
3563 (verilog-read-always-signals-recurse, verilog-read-decls)
3564 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3565 malformed end statement, bug325. Reported by Joshua Wise and
3566 Andrew Drake.
3567 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3568 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3569 when expanding .* in interfaces, bug320.
3570 Reported by Pierre-David Pfister.
6288f0ca 3571 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3572 name and open parenthesis, bug317.
3573 Reported by Pierre-David Pfister.
6288f0ca
WS
3574 (verilog-simplify-range-expression): Fix simplification of
3575 multiplications inside AUTOWIRE connections, bug303.
3576 (verilog-auto-inst-port): Support parameter expansion in
3577 multidimensional arrays.
3578 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3579 after "assert property". Reported by Julian Gorfajn.
3580 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3581 with multiplication, bug303.
3582 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3583 Reported by Jan Frode Lonnum.
3584
1bbe96b2
GM
35852011-11-30 Juanma Barranquero <lekktu@gmail.com>
3586
3587 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3588 (hfy-shell-file-name, hfy-shell):
3589 * international/fontset.el (x-decompose-font-name): Fix typos.
3590
35912011-11-29 Ken Brown <kbrown@cornell.edu>
3592
3593 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3594 (gdb-version): Remove defvar.
3595 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3596 (gdb-gud-context-command, gdb-non-stop-handler)
3597 (gdb-current-context-command, gdb-stopped): Use it.
3598 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3599 (gdb-non-stop-handler): Don't enable pretty-printing here.
3600 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3601 non-stop mode. Use the following.
3602 (gdb-check-target-async): New defun.
3603 (gud-watch, gdb-stopped): Fix whitespace.
3604 (gdb-get-source-file): Don't try to display the source file if
3605 `gdb-main-file' is nil.
3606
36072011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * align.el: Try to generate fewer markers (bug#10047).
3610 (align--set-marker): New macro.
3611 (align-region): Use it.
3612
c935221f
SM
36132011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3616
e70b5064
CY
36172011-11-29 Chong Yidong <cyd@gnu.org>
3618
3619 * indent.el (indent-for-tab-command, indent-according-to-mode):
3620 Doc fix.
3621 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3622
f3af92b7
MA
36232011-11-29 Michael Albinus <michael.albinus@gmx.de>
3624
3625 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3626 aware of remote file names. (Bug#10124)
3627
ed472be9
CY
36282011-11-29 Chong Yidong <cyd@gnu.org>
3629
3630 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3631
24510c22
SM
36322011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * files.el (find-file): Don't use force-same-window (bug#10144).
3635 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3636 use pop-to-buffer if the selected window can't be used.
3637 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3638
c60c3703
EZ
36392011-11-28 Eli Zaretskii <eliz@gnu.org>
3640
3641 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3642 special-mode-map.
3643
e95def75
CY
36442011-11-28 Chong Yidong <cyd@gnu.org>
3645
3646 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3647
c3f1c606
NR
36482011-11-27 Nick Roberts <nickrob@snap.net.nz>
3649
3650 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3651 gdb-get-source-file-list on gdb-create-source-file-list.
3652
00db469c
EZ
36532011-11-26 Eli Zaretskii <eliz@gnu.org>
3654
3655 * whitespace.el (whitespace-newline): Use a different foreground
3656 color for 16-color light-background displays.
3657
4ad3bc2a
CY
36582011-11-24 Chong Yidong <cyd@gnu.org>
3659
3660 * window.el (display-buffer--special-action): Doc fix.
3661
e9fce1ac
JB
36622011-11-25 Juanma Barranquero <lekktu@gmail.com>
3663
3664 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3665 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3666 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3667 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3668 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3669 (avl-tree-stack-first):
3670 * emacs-lisp/cconv.el (cconv--analyse-use):
3671 * net/gnutls.el (gnutls-negotiate): Fix typos.
3672
cb825e5d
GM
36732011-11-24 Glenn Morris <rgm@gnu.org>
3674
3adbe224
GM
3675 * lpr.el (lpr-windows-system, lpr-lp-system):
3676 * mail/binhex.el (binhex-begin-line):
3677 * progmodes/grep.el (grep-history, grep-find-history):
3678 * textmodes/flyspell.el:
3679 * vc/pcvs-defs.el (cvs-global-menu):
3680 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3681 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3682 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3683
321decc8
GM
3684 * net/tls.el: Fix case of "GnuTLS".
3685
420b63ad
GM
3686 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3687
cb825e5d
GM
3688 * version.el (emacs-build-system): Give it a doc-string.
3689
a0649f08
JL
36902011-11-24 Juri Linkov <juri@jurta.org>
3691
3692 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3693
c0bc0fd4
GM
36942011-11-24 Glenn Morris <rgm@gnu.org>
3695
3696 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3697 if called on a non-mime message just toggle the headers. (Bug#8006)
3698
20db1522
JB
36992011-11-24 Juanma Barranquero <lekktu@gmail.com>
3700
3701 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3702 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3703 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3704 (allout-rebullet-heading, allout-open-sibtopic)
3705 (allout-toggle-current-subtree-encryption)
3706 (allout-toggle-subtree-encryption, allout-encrypt-string)
3707 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3708 (allout-distinctive-bullets-string, allout-auto-activation):
3709 * window.el (window-normalize-buffer-to-display):
3710 * progmodes/verilog-mode.el (verilog-batch-indent):
3711 * textmodes/bibtex.el (bibtex-field-braces-opt)
3712 (bibtex-field-strings-opt):
3713 * vc/cvs-status.el (cvs-tree-merge):
3714 Fix typos.
3715
7262a87c
MA
37162011-11-23 Michael Albinus <michael.albinus@gmx.de>
3717
3718 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3719 `non-essential' to t, in order to avoid remote connections.
3720
283430a1
EZ
37212011-11-23 Eli Zaretskii <eliz@gnu.org>
3722
a1beca85
SM
3723 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3724 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3725 case-insensitively.
3726
d2992a38
ML
37272011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3728
3729 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3730
50419064
GM
37312011-11-23 Glenn Morris <rgm@gnu.org>
3732
da94eca1
GM
3733 * paths.el (rmail-file-name): Reformat the doc-string so that it
3734 is picked up.
3735
9aac4de2
GM
3736 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3737 (rmail-auto-file): Ignore case in the "special" field names,
3738 as mail-fetch-field does for all others.
3739
8038d2d2
GM
3740 * mail/rmail.el (rmail-forward):
3741 * mail/rmailkwd.el (rmail-set-label):
3742 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3743 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3744
f3fe222a
GM
3745 * mail/rmail.el (rmail-current-message): Doc fix.
3746
50419064
GM
3747 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3748
28109f49
SM
37492011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3752
394c65f1
GM
37532011-11-22 Glenn Morris <rgm@gnu.org>
3754
3755 * mail/rmailmm.el (test-rmail-mime-handler)
3756 (test-rmail-mime-bulk-handler)
3757 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3758
f2a0aa3a
JL
37592011-11-21 Juri Linkov <juri@jurta.org>
3760
1154d12e
JB
3761 * calc/calc.el (calc-read-key-sequence):
3762 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3763
9c34a344
LMI
37642011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3765
3766 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3767 Tell the caller that the next line needs recomputation, even
3768 though it doesn't start a sexp (bug#10094).
3769
f04a3be9
SM
37702011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3773
7978747f
SM
37742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3775
f04a3be9
SM
3776 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3777 Use force-same-window.
7978747f 3778
fe7a3057
JB
37792011-11-20 Juanma Barranquero <lekktu@gmail.com>
3780
3781 * descr-text.el (describe-char-unicode-data):
3782 * json.el (json-string-escape):
3783 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3784 (Footnote-unicode, Footnote-style-p):
3785 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3786
24901d61
CY
37872011-11-20 Chong Yidong <cyd@gnu.org>
3788
3789 * window.el (replace-buffer-in-windows): Restore interactive spec.
3790
bac7ff22
SM
37912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3792
24f3d7b9
SM
3793 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3794
bac7ff22
SM
3795 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3796 (byte-compile-global-not-obsolete-vars): New var.
3797 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3798 Use it.
3799 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3800
cd1181db
JB
38012011-11-20 Juanma Barranquero <lekktu@gmail.com>
3802
3803 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3804 * progmodes/pascal.el (electric-pascal-equal):
3805 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3806 * xml.el (xml-substitute-special): Fix typos.
3807
7fb18e9e
GM
38082011-11-20 Glenn Morris <rgm@gnu.org>
3809
3810 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3811 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3812 Doc fixes.
3813 (rmail-decode-mime-charset): Mark as obsolete.
3814
3815 * mail/rmailsum.el (rmail-message-regexp-p-1):
3816 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3817 Before using mime functions, check they are set. (Bug#10077)
3818
d5a6b3ba
JL
38192011-11-19 Juri Linkov <juri@jurta.org>
3820
3821 * info.el (Info-finder-find-node): Use `package--builtins' instead
3822 of `package-alist'. Use node names formed by the pattern "Keyword "
3823 and the keyword name.
3824
e981b61f
AS
38252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3826
1d00653d 3827 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3828
3ffbc301
JL
38292011-11-19 Juri Linkov <juri@jurta.org>
3830
3831 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3832 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3833 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3834 `old-history', `old-history-forward'. Add let-binding
3835 `window-selected'. Remove calls to `kill-buffer',
3836 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3837 before calling `Info-find-node', so `Info-find-node-2' will reread
3838 the Info file. Restore window positions only when `window-selected'
3839 is non-nil.
3840
30c62133
JL
38412011-11-19 Juri Linkov <juri@jurta.org>
3842
3843 * isearch.el (isearch-lazy-highlight-new-loop):
3844 Remove condition `(not isearch-error)'. (Bug#9918)
3845
3846 * misearch.el (multi-isearch-search-fun): Add condition
3847 `(not bound)' to ignore lazy-highlighting search.
3848 Add the search-failed message "end of multi" when the end of
3849 multi-sequence is reached. Uncapitalize the search-failed
3850 message "Repeat for next buffer".
3851
3852 * info.el (Info-search): Add the search-failed message
3853 "end of the manual" when the end of the manual is reached
3854 in Isearch mode.
3855
645ca9cf
JL
38562011-11-19 Juri Linkov <juri@jurta.org>
3857
3858 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3859 Use non-destructive `remove' instead of `delete' because
3860 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3861 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3862
df754f66
JL
38632011-11-19 Juri Linkov <juri@jurta.org>
3864
3865 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3866 to nil instead of binding `search-ring' and `regexp-search-ring'.
3867 (Bug#9185)
3868
0e23d96a
EZ
38692011-11-19 Eli Zaretskii <eliz@gnu.org>
3870
3871 * simple.el (line-move): Force movement by logical lines for any
3872 hscrolled window, not only when auto-hscroll-mode is on.
3873 (line-move-visual): Update doc string to that effect. (Bug#10076)
3874
8a6ccb66
AS
38752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3876
3877 * language/european.el (macintosh): Define as alias for mac-roman.
3878
49ae5b39
EZ
38792011-11-19 Eli Zaretskii <eliz@gnu.org>
3880
3881 * mail/rmailmm.el (rmail-mime-display-header)
3882 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3883 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3884 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3885 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3886 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3887 of a raw aref.
3888 (rmail-mime-entity-segment): To get past the tagline, move forward
3889 2 more lines, to account for the 2 empty lines that precede and
3890 follow the line with the buttons.
3891 (rmail-mime-update-tagline): Move one more line, to get past the
3892 empty line that follows the buttons in the tagline. (Bug#9520)
3893
c56cad4a
MR
38942011-11-19 Martin Rudalics <rudalics@gmx.at>
3895
3896 * window.el (window-max-delta-1, window-min-delta-1)
3897 (window-min-size-1, window-state-get-1, window-state-put-1)
3898 (window-state-put-2): Use "window--" prefix.
3899
cbe71af3
SM
39002011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3901
2ad52c60
SM
3902 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3903 (smie-warning-count): New var.
3904 (smie-set-prec2tab): Use it.
3905 (smie-bnf->prec2): Improve warnings. Add docstring.
3906 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3907 (smie-bnf--set-class): New function.
3908 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3909 corner case.
3910
6944dbc1
SM
3911 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3912 (compilation-error-properties, compilation-move-to-column):
3913 Handle compilation-first-column while in the target buffer.
3914
c400c4d7
SM
3915 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3916 Don't hardcode point-min==1.
3917
6dbe3e96
SM
3918 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3919 (eshell-rewrite-for-command): Remove workaround.
3920 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3921 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3922 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3923
cbe71af3
SM
3924 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3925
a8e1496d
GM
39262011-11-17 Glenn Morris <rgm@gnu.org>
3927
3928 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3929 Ignore buffer-local generated-autoload-file if it is the same
3930 as the global value. (Bug#10049)
3931
df85d315
JB
39322011-11-17 Juanma Barranquero <lekktu@gmail.com>
3933
3934 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3935 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3936 (reftex-toc-previous-heading, reftex-toc-max-level)
3937 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3938 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3939 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3940 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3941 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3942 (reftex-toc-rename-label, reftex-toc-visit-location)
3943 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3944 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3945 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3946 leaving "*toc*" only for references to the buffer.
3947
a0c2d0ae
MR
39482011-11-17 Martin Rudalics <rudalics@gmx.at>
3949
3950 * window.el (window-resize, delete-window, split-window):
3951 Replace window-splits by window-combination-resize.
1d00653d 3952 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3953
35c0bac8
GM
39542011-11-17 Glenn Morris <rgm@gnu.org>
3955
3956 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3957 Make bash entry derive from sh entry, not shell entry.
3958
d0c8fc8a
MA
39592011-11-16 Michael Albinus <michael.albinus@gmx.de>
3960
d0c8fc8a
MA
3961 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3962 properties of linked files. (Bug#9879)
3963
7262a87c
MA
3964 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3965 local file name.
3966
7877f373
JB
39672011-11-16 Juanma Barranquero <lekktu@gmail.com>
3968
3969 * menu-bar.el (menu-bar-file-menu):
3970 * printing.el (pr-ps-utility):
3971 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3972 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3973 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3974 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3975 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3976 (icalendar--convert-cyclic-to-ical)
3977 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3978 (icalendar--convert-ical-to-diary)
3979 (icalendar--convert-recurring-to-diary)
3980 (icalendar--convert-non-recurring-all-day-to-diary)
3981 (icalendar-import-format-sample):
3982 * progmodes/idlw-shell.el (idlwave-shell-mode):
3983 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3984 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3985 (vhdl-ps-print-init): Fix typos.
3986
10649b82
KM
39872011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3988
9d0cfcd6
GM
3989 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3990 FSF and collapse date sequence, obscure author/maintainer email address
3991 better, remove extra version line, track relocation of author's webpage.
10649b82 3992
9d0cfcd6
GM
3993 * progmodes/python.el (python-pdbtrack-input-prompt)
3994 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3995 regular python pdb prompts. Adjustments shamelessly taken exactly as
3996 suggested in EmacsWiki page (tiny change):
3997 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3998
58179cce
JB
39992011-11-16 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * expand.el (expand-pos, expand-index, expand-point):
4002 Remove redundant info from docstring.
4003 (expand-add-abbrevs): Doc fix.
4004 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4005 (expand-sample-perl-mode-expand-list): Fix typos.
4006
4007 * net/dbus.el (dbus-event-member-name):
4008 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4009 * term/pc-win.el (msdos-create-frame-with-faces):
4010 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4011
b6f67890
MR
40122011-11-16 Martin Rudalics <rudalics@gmx.at>
4013
4014 * window.el (split-window, window-state-get-1)
4015 (window-state-put-1, window-state-put-2): Rename occurrences of
4016 window-nest to window-combination-limit.
1d00653d 4017 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4018
ce7ddba0
CY
40192011-11-16 Chong Yidong <cyd@gnu.org>
4020
4021 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4022 regexp (Bug#10033).
4023
3ae704f4
SM
40242011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4027 `completing-read' will remove *Completions* and will preserve
4028 current-buffer for us.
4029 (tmm-add-prompt): Users of *Completions* will always (re)set its
4030 major mode.
4031 (tmm-old-comp-map): Remove.
4032
6ad1cdde
GM
40332011-11-16 Glenn Morris <rgm@gnu.org>
4034
4035 * mail/rmailedit.el: Require rmailmm when compiling.
4036 (rmail-old-mime-state): New declaration.
4037 (rmail-edit-current-message): If editing a mime message,
4038 edit the "raw" message from the mbox buffer.
4039 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4040
d20faa20
GM
40412011-11-15 Glenn Morris <rgm@gnu.org>
4042
4043 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4044 which wasn't being used. Add optional arg to force given state.
4045 (rmail-mime): Add optional arg to force given state.
4046
c7015153
JB
40472011-11-15 Juanma Barranquero <lekktu@gmail.com>
4048
4049 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4050 * frame.el (display-mm-dimensions-alist):
4051 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4052 (outline-move-subtree-down):
4053 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4054 (newsticker--treeview-do-get-node):
4055 * net/quickurl.el (quickurl-list-buffer-name):
4056 * progmodes/dcl-mode.el (dcl-mode):
4057 * progmodes/gdb-mi.el (gdb-mapcar*):
4058 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4059
45261b50
GM
40602011-11-15 Glenn Morris <rgm@gnu.org>
4061
4062 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4063 in a boolean sense, so just make it a boolean, and fix the doc.
4064 (rmail-show-mime-function, rmail-mime-feature)
4065 (rmail-require-mime-maybe): Doc fixes.
4066 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4067
4068 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4069
0d26e0b6
JB
40702011-11-15 Juanma Barranquero <lekktu@gmail.com>
4071
4072 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4073 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4074 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4075 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4076
447f30f6
GM
40772011-11-15 Glenn Morris <rgm@gnu.org>
4078
672b871d
GM
4079 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4080 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4081 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4082 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4083 (rmail-mime, rmail-show-mime): Doc fixes.
4084
f6aa5bb1
GM
4085 * term/ns-win.el (mode-line-frame-identification):
4086 Leave it alone. (Bug#10051)
4087
947cd66b
GM
4088 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4089
447f30f6
GM
4090 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4091 Handle empty buffers. (Bug#9978)
4092
0b381c7e
JB
40932011-11-14 Juanma Barranquero <lekktu@gmail.com>
4094
4095 * international/mule.el (define-charset):
4096 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4097 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4098 * progmodes/verilog-mode.el (verilog-backward-token):
4099 * textmodes/ispell.el (lookup-words):
4100 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4101
71e027ac
GM
41022011-11-14 Glenn Morris <rgm@gnu.org>
4103
56632ce4
GM
4104 * progmodes/executable.el
4105 (executable-make-buffer-file-executable-if-script-p):
4106 Handle file-modes returning nil.
4107
40500957
GM
4108 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4109 message - not necessary, and causes problems. (Bug#9831)
4110
071c2340
GM
4111 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4112
d3cfca60
GM
4113 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4114
71e027ac
GM
4115 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4116 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4117 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4118
89d61221
MR
41192011-11-12 Martin Rudalics <rudalics@gmx.at>
4120
4121 * window.el (window-resize, delete-window): Use window-splits
4122 variable instead of function.
4123 (window-state-get-1, window-state-put-2, window-state-put):
4124 Don't deal with windows' splits status.
4125
98282f6f
GM
41262011-11-12 Glenn Morris <rgm@gnu.org>
4127
4128 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4129 (apropos-documentation): Doc fixes.
4130
40a8bdf6
JB
41312011-11-11 Juanma Barranquero <lekktu@gmail.com>
4132
4133 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4134 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4135
65bd19ff
SM
41362011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * electric.el (electric-indent-post-self-insert-function): Make it
4139 possible for a char to only indent in some circumstances.
4140 (electric-indent-mode): Simplify.
4141
54f9154c
MR
41422011-11-11 Martin Rudalics <rudalics@gmx.at>
4143
4144 * window.el (windows-with-parameter): Remove unused function.
4145 (windows-at-side): Rename to window-at-side-list.
4146 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4147 (window-side-check, window-size-ignore, window-size-fixed-1)
4148 (window-in-direction-2): Prefix with "window--".
4149 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4150
68cbc58b
GM
41512011-11-11 Glenn Morris <rgm@gnu.org>
4152
4153 * subr.el (eval-after-load): If FILE is already loaded,
4154 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4155
b2621720
GM
41562011-11-10 Glenn Morris <rgm@gnu.org>
4157
9a4de110
GM
4158 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4159 Call svn via vc-svn-command rather than vc-do-command.
4160 (vc-svn-command): Add --non-interactive. (Bug#9993)
4161 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4162
b2621720
GM
4163 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4164 Add toggle-read-only. (Bug#7292)
4165 * files.el (toggle-read-only): Mention that it should only
4166 be used interactively. (Bug#10006)
4167
1dce7193
SM
41682011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4169
d9ac1a1e
SM
4170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4171 Adjust regexp for OCaml warnings.
4172
0c325082
SM
4173 * electric.el (electric-pair-post-self-insert-function): Let user
4174 turn it off buffer-locally (bug#9932).
4175
90132c14
SM
4176 * progmodes/python.el (python-beginning-of-statement):
4177 Rewrite (bug#2703).
4178
1dce7193
SM
4179 * progmodes/compile.el: Better handle TABs (bug#9749).
4180 (compilation-internal-error-properties)
4181 (compilation-next-error-function): Obey the target buffer's
4182 compilation-error-screen-columns.
4183
c4e7c63a
JB
41842011-11-09 Juanma Barranquero <lekktu@gmail.com>
4185
4186 * progmodes/meta-mode.el: Remove obsolete comments.
4187 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4188 Fix typos in docstrings.
4189
2cffd681
MR
41902011-11-09 Martin Rudalics <rudalics@gmx.at>
4191
4192 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4193 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4194 (window--resizable): New function. Make all callers of
4195 window-resizable call window--resizable instead.
4196 (window-resizable): Rewrite in terms of window--resizable.
4197
0edcba87
GM
41982011-11-08 Glenn Morris <rgm@gnu.org>
4199
4200 * progmodes/delphi.el (delphi-mode-syntax-table):
4201 Let define-derived-mode define a proper syntax table. (Bug#9994)
4202
4b0d61e3
SM
42032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * window.el: Stay away from defsubst.
4206 (window-list-no-nils): Remove.
4207 (window-state-get-1, window-state-get): Use backquote instead.
4208
cd394be1 42092011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4210
4b0d61e3 4211 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4212 Fix incorrect use of default argument in `completing-read'.
4213
e1c2c6f2
MR
42142011-11-08 Martin Rudalics <rudalics@gmx.at>
4215
4216 * window.el (display-buffer-function, special-display-function):
4217 Mention display-buffer-record-window but do not mention
4218 help-setup parameter in doc-strings.
b3f4a882 4219 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4220
105216ed
CY
42212011-11-08 Chong Yidong <cyd@gnu.org>
4222
4223 * window.el (window-total-height, window-total-width): Doc fix.
4224 (window-body-size): Move from C.
4225 (window-body-height, window-body-width): Move to C.
4226
0a9f9ab5
SM
42272011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * window.el: Make special-display like display-buffer-alist (bug#9532).
4230 (display-buffer--special-action): New function, morphed
4231 from display-buffer--special.
4232 (display-buffer): Use it to handle special-display-buffers at higher
4233 priority (just after display-buffer-alist).
4234 (display-buffer-fallback-action, display-buffer--other-frame-action)
4235 (pop-to-buffer-same-window): Remove display-buffer--special.
4236
a769dd15
GM
42372011-11-07 Glenn Morris <rgm@gnu.org>
4238
4239 * calendar/cal-menu.el (cal-menu-set-date-title):
4240 Do nothing if not in a calendar. (Bug#9976)
4241
05a61ee3
SM
42422011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * files.el (find-file): Always use selected-window.
4245
be7f5545
MR
42462011-11-07 Martin Rudalics <rudalics@gmx.at>
4247
4248 * window.el (window-combinations): Make WINDOW argument
4249 mandatory. Rewrite doc-string.
4250 (walk-window-subtree, window-atom-check, window-min-delta)
4251 (window-max-delta, window--resize-this-window)
4252 (window--resize-root-window-vertically, window-tree)
4253 (balance-windows, window-state-put): Rewrite doc-strings as to
4254 not mention the term "subwindow".
4255 (window--resize-subwindows-skip-p): Rename to
4256 window--resize-child-windows-skip-p.
4257 (window--resize-subwindows-normal): Rename to
4258 window--resize-child-windows-normal.
4259 (window--resize-subwindows): Rename to
4260 window--resize-child-windows.
4261 (window-or-subwindow-p): Rename to window--in-subtree-p.
4262
3c6702ef
ML
42632011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4264
4265 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4266 Ensure that mbox format messages end in two newlines (Bug#9974).
4267
49745b39
CY
42682011-11-06 Chong Yidong <cyd@gnu.org>
4269
4270 * window.el (window-combination-p): Function deleted; its
4271 side-effect is not used in any existing code.
4272 (window-combinations, window-combined-p): Call window-*-child
4273 directly.
4274
24300f5f
CY
42752011-11-05 Chong Yidong <cyd@gnu.org>
4276
4277 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4278 (window-size-ignore, window-state-get): Callers changed.
4279 (window-normalize-window): Rename from window-normalize-any-window.
4280 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4281 (window-normalize-live-window): Delete.
447f16b8
CY
4282 (window-combination-p, window-combined-p, window-combinations)
4283 (walk-window-subtree, window-atom-root, window-min-size)
4284 (window-sizable, window-sizable-p, window-size-fixed-p)
4285 (window-min-delta, window-max-delta, window-resizable)
4286 (window-resizable-p, window-full-height-p, window-full-width-p)
4287 (window-current-scroll-bars, window-point-1, set-window-point-1)
4288 (window-at-side-p, window-in-direction, window-resize)
4289 (adjust-window-trailing-edge, maximize-window, minimize-window)
4290 (window-deletable-p, delete-window, delete-other-windows)
4291 (record-window-buffer, unrecord-window-buffer)
4292 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4293 (quit-window, split-window, window-state-put)
4294 (set-window-text-height, fit-window-to-buffer)
4295 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4296
89bd5ee1
EZ
42972011-11-04 Eli Zaretskii <eliz@gnu.org>
4298
53479029
EZ
4299 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4300 rfc2047-decode-string.
4301 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4302 warnings.
4303
89bd5ee1
EZ
4304 * window.el (window-body-height, window-body-width): Mention in
4305 the doc string that the return values are in frame's canonical
4306 units. (Bug#9949)
4307
bd17fdee
AM
43082011-11-03 Alan Mackenzie <acm@muc.de>
4309
4310 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4311 change in cc-engine.el.
4312
acc825c5
SM
43132011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4314
4315 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4316
1885e5b8
MR
43172011-11-02 Martin Rudalics <rudalics@gmx.at>
4318
4319 * window.el (quit-window): Call unrecord-window-buffer after
4320 showing another buffer in the window. (Bug#9937)
acc825c5 4321 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4322
ebe06da9
JB
43232011-11-02 Juanma Barranquero <lekktu@gmail.com>
4324
4325 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4326 Accept status with more than 9 shelves. (Bug#9935)
4327 Reported by Colin D Bennett <colin@gibibit.com>.
4328
4ee88440
MR
43292011-11-01 Martin Rudalics <rudalics@gmx.at>
4330
4331 * help.el (with-help-window): Don't reference
4332 temp-buffer-show-specifiers in doc-string.
4333
08e1d82c
AS
43342011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4335
4336 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4337 menu-item.
4338
84bd6e9e
VJL
43392011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4340
4341 * whitespace.el: New version 13.2.2.
4342 (whitespace-newline-mode): Disable properly. Reported by Sarah
4343 <EmacsWiki>.
4344
dba0634a
UJ
43452011-10-30 Ulf Jasper <ulf.jasper@web.de>
4346
4347 * net/newst-treeview.el: Remove "Time-stamp".
4348 (newsticker--group-manage-orphan-feeds): Do not call
4349 newsticker--treeview-tree-update.
db22a3c2
JB
4350 (newsticker-treeview-update, newsticker-treeview):
4351 Call newsticker--treeview-tree-update if necessary.
dba0634a 4352
3d8daefe
MR
43532011-10-30 Martin Rudalics <rudalics@gmx.at>
4354
4355 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4356 (window-iso-combinations): Remove "iso-" infix.
4357 Suggested by Chong Yidong.
3d8daefe
MR
4358 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4359 (window-max-delta-1, window-resize, window--resize-siblings)
4360 (window--resize-this-window, adjust-window-trailing-edge)
4361 (split-window, balance-windows-1)
4362 (shrink-window-if-larger-than-buffer):
4363 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4364 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4365
1bc4c3ae
SM
43662011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4369 in place (bug#9907).
4370 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4371 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4372 (eshell-structure-basic-command, eshell-rewrite-while-command)
4373 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4374 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4375 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4376 (eshell-do-pipelines-synchronously, eshell-eval-command):
4377 Use backquotes and prefer setq to set.
4378 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4379 (eshell-macrop): Use functionp.
c1e2f5fa 4380 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4381
30b65d9c
CY
43822011-10-30 Chong Yidong <cyd@gnu.org>
4383
4384 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4385 instead of set-mark (Bug#9810).
4386
2d197ffb
CY
43872011-10-30 Chong Yidong <cyd@gnu.org>
4388
4389 * window.el (split-window-below, split-window-right): Rename from
4390 split-window-above-each-other and split-window-side-by-side
4391 respectively. All callers changed.
4392 (split-window-sensibly, split-window-sensibly): Use them.
4393 (split-window-keep-point): Doc fix.
4394
4395 * isearch.el: Add isearch-scroll property to split-window-below
4396 and split-window-right.
4397
4398 * follow.el (follow-mode):
4399 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4400 * progmodes/ada-xref.el (ada-gdb-application):
4401 * emulation/vip.el (vip-buffer-in-two-windows):
4402 * image-dired.el (image-dired-dired-with-window-configuration):
4403 * dired-x.el (dired-do-find-marked-files):
4404 * dired.el (dired-pop-to-buffer):
4405 * bs.el (bs--show-with-configuration):
4406 * vc/emerge.el (emerge-setup-windows):
4407 * textmodes/two-column.el (2C-two-columns):
4408 * textmodes/reftex-toc.el (reftex-toc):
4409 * progmodes/gdb-mi.el (gdb-setup-windows):
4410 * progmodes/fortran.el (fortran-window-create):
4411 * net/newst-treeview.el (newsticker--treeview-window-init):
4412 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4413 * emulation/tpu-edt.el (tpu-gold-map):
4414 * emulation/crisp.el (crisp-mode-map):
4415 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4416
38bb2ca8
CY
44172011-10-29 Chong Yidong <cyd@gnu.org>
4418
aa4de341
CY
4419 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4420
e1eb5385
CY
4421 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4422
5d2ece3c
CY
4423 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4424 forged Ispell output (Bug#7904).
4425
38bb2ca8
CY
4426 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4427
d0af9f77
SM
44282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * doc-view.el: Avoid ugly errors about not finding nil.
4431 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4432 (doc-view-dvipdf-program, doc-view-unoconv-program)
4433 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4434 Avoid nil or absolute file name as default value.
4435 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4436
52bedd34
AM
44372011-10-28 Alan Mackenzie <acm@muc.de>
4438
db22a3c2 4439 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4440
7e43cfa5
AM
44412011-10-28 Alan Mackenzie <acm@muc.de>
4442
4443 Amend the handling of c-beginning/end-of-defun in nested declaration
4444 scopes.
4445
52bedd34
AM
4446 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4447 cc-langs.el. Change it to a defcustom.
7e43cfa5 4448
52bedd34
AM
4449 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4450 cc-vars.el.
7e43cfa5 4451
d0af9f77
SM
4452 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4453 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4454
52bedd34 4455 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4456 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4457 (c-widen-to-enclosing-decl-scope): New function.
4458 (c-while-widening-to-decl-block): New macro.
4459 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4460 outward for defun boundaries, and correspondingly change symbol
4461 `respect-enclosure' to `go-outward'.
4462 (c-declaration-limits): Change algorithm to report only the "innermost"
4463 defun's boundaries.
4464
1a2ce9ee
DD
44652011-10-28 Deniz Dogan <deniz@dogan.se>
4466
4467 * net/rcirc.el (rcirc-mode): Use hard newlines.
4468
bc97a826
AM
44692011-10-28 Alan Mackenzie <acm@muc.de>
4470
4471 Amend to indent and fontify macros "which include their own semicolon"
4472 correctly, using the "virtual semicolon" mechanism.
4473
52bedd34 4474 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4475
d0af9f77 4476 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4477 Recode to scan one line at a time rather than having \n and \r
58179cce 4478 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4479 (c-forward-label): Amend for virtual semicolons.
58179cce 4480 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4481
52bedd34
AM
4482 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4483 of the new C macros.
bc97a826 4484
52bedd34 4485 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4486 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4487 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4488 (c-opt-cpp-macro-define): Make into a full language variable.
4489 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4490 AWK Mode (including \n, \r) removed, no longer needed.
4491
d0af9f77
SM
4492 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4493 Invoke c-make-macro-with-semi-re.
bc97a826 4494
52bedd34
AM
4495 * progmodes/cc-vars.el (c-macro-with-semi-re):
4496 (c-macro-names-with-semicolon): New variables.
58179cce 4497 (c-make-macro-with-semi-re): New function.
bc97a826 4498
7a6c0941
SM
44992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4500
4501 * vc/log-edit.el: Fill empty field rather than adding new one.
4502 (log-edit-add-field): New function.
4503 (log-edit-insert-changelog): Use it.
4504
b0c4cdcf
ML
45052011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4506
4507 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4508
ee1f1da9
SM
45092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4512 (gdb--check-interpreter): New function.
4513 (gdb): Use it.
4514
51bc5f8b
GM
45152011-10-27 Glenn Morris <rgm@gnu.org>
4516
416a2c45
GM
4517 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4518 (least-positive-float, least-negative-float)
4519 (least-positive-normalized-float, least-negative-normalized-float)
4520 (float-epsilon, float-negative-epsilon):
4521 Remove unnecessary declarations.
4522
4523 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4524 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4525 (least-positive-float, least-negative-float)
4526 (least-positive-normalized-float, least-negative-normalized-float)
4527 (float-epsilon, float-negative-epsilon): Add doc-strings,
4528 based on those in cl.texi.
4529
51bc5f8b
GM
4530 * files.el (set-visited-file-name): If the major-mode changed,
4531 reload the local variables. (Bug#9796)
4532
15de15c6
CY
45332011-10-27 Chong Yidong <cyd@gnu.org>
4534
4535 * subr.el (change-major-mode-after-body-hook): New hook.
4536 (run-mode-hooks): Run it.
4537
ee1f1da9
SM
4538 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4539 Use change-major-mode-before-body-hook.
15de15c6
CY
4540
4541 * simple.el (fundamental-mode):
4542 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4543 change introducing fundamental-mode-hook.
4544
5430d399
JB
45452011-10-26 Juanma Barranquero <lekktu@gmail.com>
4546
acc825c5 4547 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4548
ad74a69e
MA
45492011-10-26 Michael Albinus <michael.albinus@gmx.de>
4550
4551 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4552 tramp.el explicitly. (Bug#7583)
ad74a69e 4553
71d4c2a5
SM
45542011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * progmodes/octave-mod.el:
4557 * progmodes/octave-inf.el: Update maintainer.
4558
b1f6fa26
CY
45592011-10-26 Chong Yidong <cyd@gnu.org>
4560
4561 * subr.el (with-wrapper-hook): Rewrite doc.
4562
3f04efd6
MA
45632011-10-25 Michael Albinus <michael.albinus@gmx.de>
4564
4565 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4566 filenames "/method:foo:". (Bug#9793)
3f04efd6 4567
410488d3
SM
45682011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4571 (bug#9865).
4572
c1ebb47e
GM
45732011-10-24 Glenn Morris <rgm@gnu.org>
4574
4575 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4576
7f5c46c7
MA
45772011-10-24 Michael Albinus <michael.albinus@gmx.de>
4578
4579 * notifications.el: Add the requirement of a running D-Bus session
4580 bus to the Commentary.
4581
db2440b6
JL
45822011-10-24 Juri Linkov <juri@jurta.org>
4583
4584 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4585 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4586 (Bug#9364)
4587
feecf435
JL
45882011-10-24 Juri Linkov <juri@jurta.org>
4589
4590 * info.el (Info-following-node-name-re): Add newline to the list
4591 of allowed characters for leading space. (Bug#9824)
4592
a3839de2
SM
45932011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4594
acc825c5
SM
4595 * progmodes/octave-inf.el (inferior-octave-mode-map):
4596 Fix C-c C-h binding.
a3839de2
SM
4597 * progmodes/octave-mod.el (octave-help): Remove.
4598
09388e76
MA
45992011-10-23 Michael Albinus <michael.albinus@gmx.de>
4600
4601 Sync with Tramp 2.2.3.
4602
4603 * net/tramp-cache.el (top): Pacify byte-compiler using
4604 `init-file-user' and `site-run-file'.
4605
4606 * net/trampver.el: Update release number.
4607
86c60681
CY
46082011-10-23 Chong Yidong <cyd@gnu.org>
4609
4610 * files.el (toggle-read-only): Remove obsolete comment about
4611 version control.
4612
4613 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4614 for toggle-read-only. Note that this hasn't called vc-next-action
4615 since 2008-05-02, though it wasn't documented at the time.
4616
a3839de2
SM
4617 * vc/ediff-init.el (ediff-toggle-read-only-function):
4618 Use toggle-read-only.
86c60681 4619
cd5495ff
AM
46202011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4621
4622 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4623 of c-parse-state.
4624
00b77525 4625 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4626 correct faulty logical expression.
cd5495ff
AM
4627 (c-parse-state-state, c-record-parse-state-state):
4628 (c-replay-parse-state-state): New defvar/defuns.
4629 (c-debug-parse-state): Use new functions.
4630
42ee24ed
MR
46312011-10-22 Martin Rudalics <rudalics@gmx.at>
4632
4633 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4634 last fix. Use window-in-direction correctly.
42ee24ed 4635
a7dee7e7
CY
46362011-10-21 Chong Yidong <cyd@gnu.org>
4637
4638 * progmodes/idlwave.el (idlwave-mode):
4639 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4640 require-final-newline; that's done in prog-mode.
4641 Suggested by Stefan Monnier.
a7dee7e7 4642
e07b9a6d
MR
46432011-10-21 Martin Rudalics <rudalics@gmx.at>
4644
4645 * mouse.el (mouse-drag-window-above)
4646 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4647 (mouse-drag-mode-line-1, mouse-drag-header-line)
4648 (mouse-drag-vertical-line-rightward-window): Remove.
4649 (mouse-drag-line): New function.
4650 (mouse-drag-mode-line, mouse-drag-header-line)
4651 (mouse-drag-vertical-line): Call mouse-drag-line.
4652 * window.el (window-at-side-p, windows-at-side): New functions.
4653
7e1361d9
UM
46542011-10-21 Ulrich Mueller <ulm@gentoo.org>
4655
4656 * tar-mode.el (tar-grind-file-mode):
4657 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4658
30fcaf3a
CY
46592011-10-21 Chong Yidong <cyd@gnu.org>
4660
4661 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4662 * progmodes/vera-mode.el (vera-mode):
4663 Use mode-require-final-newline.
30fcaf3a 4664
516eddb0
GM
46652011-10-20 Glenn Morris <rgm@gnu.org>
4666
db22a3c2 4667 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4668
10d5f513
CS
46692011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4670
4671 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4672
ac6c8639
CY
46732011-10-20 Chong Yidong <cyd@gnu.org>
4674
4675 * emulation/cua-base.el (cua-mode):
4676 * mail/footnote.el (footnote-mode):
4677 * mail/mailabbrev.el (mail-abbrevs-mode):
4678 * net/xesam.el (xesam-minor-mode):
4679 * progmodes/bug-reference.el (bug-reference-mode):
4680 * progmodes/cap-words.el (capitalized-words-mode):
4681 * progmodes/compile.el (compilation-minor-mode)
4682 (compilation-shell-minor-mode):
4683 * progmodes/gud.el (gud-tooltip-mode):
4684 * progmodes/hideif.el (hide-ifdef-mode):
4685 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4686 * progmodes/subword.el (subword-mode):
4687 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4688 * progmodes/which-func.el (which-function-mode):
4689 * term/tvi970.el (tvi970-set-keypad-mode):
4690 * term/vt100.el (vt100-wide-mode):
4691 * textmodes/flyspell.el (flyspell-mode):
4692 * textmodes/ispell.el (ispell-minor-mode):
4693 * textmodes/nroff-mode.el (nroff-electric-mode):
4694 * textmodes/paragraphs.el (use-hard-newlines):
4695 * textmodes/refill.el (refill-mode):
4696 * textmodes/reftex.el (reftex-mode):
4697 * textmodes/rst.el (rst-minor-mode):
4698 * textmodes/sgml-mode.el (html-autoview-mode)
4699 (sgml-electric-tag-pair-mode):
4700 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4701 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4702 * emulation/crisp.el (crisp-mode):
4703 * emacs-lisp/eldoc.el (eldoc-mode):
4704 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4705 minor mode behavior.
4706
aa42ab43
JL
47072011-10-19 Juri Linkov <juri@jurta.org>
4708
4709 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4710 the list of hard-coded chars with escape-glyph face.
4711
89400f1d
SM
47122011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4715
305c07f6
MA
47162011-10-19 Michael Albinus <michael.albinus@gmx.de>
4717
4718 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4719 running process.
4720
13754b54
GM
47212011-10-19 Glenn Morris <rgm@gnu.org>
4722
4723 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4724 Ignore ignored files. (Bug#9726)
4725
06e21633
CY
47262011-10-19 Chong Yidong <cyd@gnu.org>
4727
4728 Doc fix for minor modes, stating that an omitted argument enables
4729 the mode unconditionally when called from Lisp.
4730
4731 * abbrev.el (abbrev-mode):
4732 * allout.el (allout-mode):
4733 * autoinsert.el (auto-insert-mode):
4734 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4735 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4736 (global-auto-revert-mode):
4737 * battery.el (display-battery-mode):
4738 * composite.el (global-auto-composition-mode)
4739 (auto-composition-mode):
4740 * delsel.el (delete-selection-mode):
4741 * desktop.el (desktop-save-mode):
4742 * dired-x.el (dired-omit-mode):
4743 * dirtrack.el (dirtrack-mode):
4744 * doc-view.el (doc-view-minor-mode):
4745 * double.el (double-mode):
4746 * electric.el (electric-indent-mode, electric-pair-mode):
4747 * emacs-lock.el (emacs-lock-mode):
4748 * epa-hook.el (auto-encryption-mode):
4749 * follow.el (follow-mode):
4750 * font-core.el (font-lock-mode):
4751 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4752 * help.el (temp-buffer-resize-mode):
4753 * hilit-chg.el (highlight-changes-mode)
4754 (highlight-changes-visible-mode):
4755 * hi-lock.el (hi-lock-mode):
4756 * hl-line.el (hl-line-mode, global-hl-line-mode):
4757 * icomplete.el (icomplete-mode):
4758 * ido.el (ido-everywhere):
4759 * image-file.el (auto-image-file-mode):
4760 * image-mode.el (image-minor-mode):
4761 * iswitchb.el (iswitchb-mode):
4762 * jka-cmpr-hook.el (auto-compression-mode):
4763 * linum.el (linum-mode):
4764 * longlines.el (longlines-mode):
4765 * master.el (master-mode):
4766 * mb-depth.el (minibuffer-depth-indicate-mode):
4767 * menu-bar.el (menu-bar-mode):
4768 * minibuf-eldef.el (minibuffer-electric-default-mode):
4769 * mouse-sel.el (mouse-sel-mode):
4770 * msb.el (msb-mode):
4771 * mwheel.el (mouse-wheel-mode):
4772 * outline.el (outline-minor-mode):
4773 * paren.el (show-paren-mode):
4774 * recentf.el (recentf-mode):
4775 * reveal.el (reveal-mode, global-reveal-mode):
4776 * rfn-eshadow.el (file-name-shadow-mode):
4777 * ruler-mode.el (ruler-mode):
4778 * savehist.el (savehist-mode):
4779 * scroll-all.el (scroll-all-mode):
4780 * scroll-bar.el (scroll-bar-mode):
4781 * server.el (server-mode):
4782 * shell.el (shell-dirtrack-mode):
4783 * simple.el (auto-fill-mode, transient-mark-mode)
4784 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4785 (line-number-mode, column-number-mode, size-indication-mode)
4786 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4787 * strokes.el (strokes-mode):
4788 * time.el (display-time-mode):
4789 * t-mouse.el (gpm-mouse-mode):
4790 * tool-bar.el (tool-bar-mode):
4791 * tooltip.el (tooltip-mode):
4792 * type-break.el (type-break-mode-line-message-mode)
4793 (type-break-query-mode):
4794 * view.el (view-mode):
4795 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4796 (global-whitespace-mode, global-whitespace-newline-mode):
4797 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4798
a3839de2
SM
4799 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4800 Fix autogenerated docstring.
06e21633 4801
5214e501
JL
48022011-10-19 Juri Linkov <juri@jurta.org>
4803
4804 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4805 by checking environment variables "DESKTOP_SESSION" and
4806 "XDG_CURRENT_DESKTOP". (Bug#9779)
4807
195f8db9
JL
48082011-10-19 Juri Linkov <juri@jurta.org>
4809
4810 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4811 (browse-url-chromium-program, browse-url-chromium-arguments):
4812 New defcustoms.
4813 (browse-url-default-browser): Check for `browse-url-chromium' and
4814 call `browse-url-chromium-program'.
4815 (browse-url-chromium): New command. (Bug#9779)
4816
343a34ff
JB
48172011-10-18 Juanma Barranquero <lekktu@gmail.com>
4818
4819 * facemenu.el (list-colors-duplicates): On Windows, detect more
4820 duplicates by assuming that only colors matching "^System" are
4821 special "system colors". (Bug#9722)
4822
6978a151
SM
48232011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4826 to distinguish the author from the committer.
4827
6a80b297
MA
48282011-10-18 Michael Albinus <michael.albinus@gmx.de>
4829
4830 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4831
b31a5677
JK
48322011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4833
4834 * international/mule.el (sgml-html-meta-auto-coding-function):
4835 Add support for detecting encoding in HTML5 specified only as
4836 <meta charset="UTF-8">. Implementation just makes http-equiv and
4837 content-type parts from HTML4 encoding string optional. (Bug#9716)
4838
80c6d77f
GM
48392011-10-18 Glenn Morris <rgm@gnu.org>
4840
4841 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4842
08b0fee8
CY
48432011-10-18 Chong Yidong <cyd@gnu.org>
4844
4845 * faces.el (cursor): Doc fix.
4846
67e729a5
CY
48472011-10-17 Chong Yidong <cyd@gnu.org>
4848
4849 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4850
343a34ff 48512011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4852
4853 * dirtrack.el (dirtrack): Support shell buffers with path
4854 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4855
0bc06380
TZ
48562011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4857
4858 * json.el: Bump version to 1.3 and note change in History.
4859 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4860
8b79f3e0
SM
48612011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4862
5a7c536b
SM
4863 * comint.el (comint-insert-input, comint-send-input)
4864 (comint-get-old-input-default, comint-backward-matching-input)
4865 (comint-next-prompt): Use nil instead of `input' for field property of
4866 past user input (bug#114).
4867
96a8a0df
SM
4868 * minibuffer.el (completion--replace): Inherit surrounding properties
4869 (bug#114).
4870 (minibuffer-complete-and-exit): Use it.
4871
8b79f3e0
SM
4872 * comint.el (comint--table-subvert): Quote the all-completions output
4873 (bug#9160).
4874
b8f7ff0d
MR
48752011-10-17 Martin Rudalics <rudalics@gmx.at>
4876
8b79f3e0 4877 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4878
b8f7ff0d 4879 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4880 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4881 entries and separate them from frame entries.
4882
c235b555
GM
48832011-10-15 Glenn Morris <rgm@gnu.org>
4884
4885 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4886 Doc fixes.
4887
6bbfa6e1
CY
48882011-10-15 Chong Yidong <cyd@stupidchicken.com>
4889
8b79f3e0
SM
4890 * net/network-stream.el (network-stream-open-starttls):
4891 Improve detection of failure due to lack of TLS support.
ec5c990d 4892
6bbfa6e1
CY
4893 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4894 putting the input text in front and in bold.
4895
98488977
SM
48962011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4897
3d1337be
SM
4898 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4899
ee0b45e4
SM
4900 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4901 empty buffer.
4902
98488977
SM
4903 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4904 unread-command-events rather than pushing yet-another event.
4905
186f4720
EZ
49062011-10-14 Eli Zaretskii <eliz@gnu.org>
4907
4908 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4909 the explanation of the possible choices. Make the options passed
4910 to completing-read shorter.
4911
8b7a997c
AM
49122011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4913
4914 * textmodes/flyspell.el (flyspell-large-region): Make sure
4915 extended character mode is used if defined (Bug#1339).
4916
12587bbb
EZ
49172011-10-13 Eli Zaretskii <eliz@gnu.org>
4918
4919 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4920 character info for LRE, LRO, RLE, and RLO characters by appending
4921 an invisible PDF.
12587bbb 4922
bad41229
SM
49232011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4926 even in case of error; add debug spec; simplify data flow.
4927 (with-timeout-handler): Remove.
4928
28dbc92f
MA
49292011-10-12 Michael Albinus <michael.albinus@gmx.de>
4930
4931 Fix Bug#6019, Bug#9315.
4932
4933 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4934 complete `buffer-file-name', the local file name part could look
4935 remotely (for example on VMS).
4936
4937 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4938 `tramp-run-real-handler'.
4939 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4940 already quoted by '"'.
4941
4942 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4943 Let `file-name-handler-alist' be nil, the local file name part
4944 could look remotely (for example on VMS).
4945
e1b0b23a
SM
49462011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4949 from here...
4950 (flyspell-post-command-hook): ...to here.
4951
a120bde9
SM
49522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4955 if not needed.
4956 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4957 using completion. Protect against "slow" callers.
4958 Remove the "message hack".
4959
7ce7717b
JL
49602011-10-11 Juri Linkov <juri@jurta.org>
4961
4962 * isearch.el (isearch-lazy-highlight-word): New variable.
4963 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4964 Use it. (Bug#9727)
4965
c02ee9d6
GM
49662011-10-11 Glenn Morris <rgm@gnu.org>
4967
4968 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4969 like f90-previous-statement does.
4970
93e616fd 49712011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4972
1f190e73 4973 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4974 only in interactive use, to avoid error.
4975
af7b6078
SM
49762011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * minibuffer.el (completion-file-name-table): Fix last change,
4979 i.e. ignore normal errors but not the other ones.
4980
0563dae9
MR
49812011-10-10 Martin Rudalics <rudalics@gmx.at>
4982
4983 * window.el (special-display-buffer-names)
4984 (special-display-regexps): Remove some remnants of earlier
4985 changes from doc-strings.
366ca7f3
MR
4986 (quit-windows-on): New function.
4987
4988 * vc/vc.el (vc-revert, vc-rollback):
4989 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4990 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4991 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4992
49677495
MR
49932011-10-09 Martin Rudalics <rudalics@gmx.at>
4994
4995 * window.el (frame-auto-hide-function): Add version tag.
4996 (Bug#9699)
4997
56f2d1e1
MA
49982011-10-09 Michael Albinus <michael.albinus@gmx.de>
4999
5000 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5001 condition.
5002
112a6592
LL
50032011-10-09 Leo Liu <sdl.web@gmail.com>
5004
5005 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5006 (Bug#9701)
5007
0812589b
GM
50082011-10-08 Glenn Morris <rgm@gnu.org>
5009
5010 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5011 before the first code statement zero indent. (Bug#9690)
5012
b2b0776e
CY
50132011-10-08 Chong Yidong <cyd@stupidchicken.com>
5014
5015 * simple.el (count-words-region): Always count in the region.
5016 Report the number of lines and characters too.
5017 (count-words): New command, which counts in the buffer if the
5018 region is inactive, as count-words-region used to.
5019 (count-words--message): New function. Handle plurals.
5020 (count-lines-region): Make it an alias for count-words-region.
5021
5022 * bindings.el (esc-map): Replace count-lines-region with
5023 count-words-region.
5024
c557cd6b
MR
50252011-10-08 Martin Rudalics <rudalics@gmx.at>
5026
5027 * window.el (window--delete): Delete dedicated frame
5028 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5029 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5030
61a57ef4 50312011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5032
3a7d293b 5033 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5034
c3833279
CY
50352011-10-07 Chong Yidong <cyd@stupidchicken.com>
5036
5037 * bindings.el ([M-left],[M-right]): Bind to left-word and
5038 right-word respectively.
5039
21ce8245
GM
50402011-10-07 Glenn Morris <rgm@gnu.org>
5041
5042 * cus-start.el (debug-on-quit): Fix custom type.
5043
6d823bb2
LMI
50442011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5045
0181e193
LMI
5046 * subr.el (define-key-after): Clarify that the function is not
5047 useful for non-menu keymaps.
5048
6d823bb2
LMI
5049 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5050
8e3459ce 50512011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5052
21ce8245 5053 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5054 in current minibuffer (Fix bug with recursive minibuffers).
5055
a1c2d21e
CY
50562011-10-06 Chong Yidong <cyd@stupidchicken.com>
5057
5058 * progmodes/gdb-mi.el (gdb): Doc fix.
5059
5a4cf282
MR
50602011-10-05 Martin Rudalics <rudalics@gmx.at>
5061
5062 * window.el (frame-auto-hide-function): New option replacing
5063 frame-auto-delete. Suggested by Stefan Monnier.
5064 (window--delete): Call frame-auto-hide-function instead of
5065 investigating frame-auto-delete.
c96111ea
MR
5066 (window-point-1, set-window-point-1): New functions.
5067 (window-in-direction, record-window-buffer, window-state-get-1)
5068 (display-buffer-record-window): Use window-point-1 instead of
5069 window-point.
5070 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5071
9854542e
SM
50722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5075
8943cfb0
GM
50762011-10-05 Glenn Morris <rgm@gnu.org>
5077
5078 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5079 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5080
647ab967
LL
50812011-10-05 Leo Liu <sdl.web@gmail.com>
5082
5083 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5084 works with buffer object.
5085
3ddfbced
SM
50862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5087
5088 * mpc.el (mpc-tool-bar-map): Add labels.
5089
bdfa5dd2
GM
50902011-10-04 Glenn Morris <rgm@gnu.org>
5091
5092 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5093
0e2070b5
MR
50942011-10-04 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (window--delete): New function.
5097 (frame-auto-delete): Resuscitate option.
5098 (bury-buffer, replace-buffer-in-windows)
5099 (quit-window): Rewrite using window--delete.
5100 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5101 Pass display-buffer-mark-dedicated to window--display-buffer-2
5102 (Bug#9639).
5103
3dc61a09
SM
51042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5105
915a9b64
SM
5106 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5107 returns a list (bug#9554). Add remote file name completion.
5108 * comint.el (comint--table-subvert): Curry and get quote&unquote
5109 functions as arguments.
5110 (comint--complete-file-name-data): Adjust call accordingly.
5111 * pcomplete.el (pcomplete--table-subvert): Remove.
5112 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5113
3dc61a09
SM
5114 * minibuffer.el (completion-table-case-fold): Use currying.
5115 (completion--styles-type, completion--cycling-threshold-type):
5116 New constants.
5117 (completion-styles, completion-category-overrides)
5118 (completion-cycle-threshold): Use them.
5119 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5120 completion-table-case-fold.
5121
8ea0a993
SB
51222011-10-03 Stephen Berman <stephen.berman@gmx.net>
5123
5124 * minibuffer.el (completion-category-overrides): Fix type of styles
5125 and add more user friendly tags (bug#9660).
5126
8c24b7f6
SM
51272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5130 (mule-input-method-string): New widget.
5131 (default-input-method, language-info-custom-alist): Use it.
5132
428fe61a
SM
51332011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5134
32c1fffd
SM
5135 * pcomplete.el: Require comint.
5136 (pcomplete--common-suffix): Remove.
5137 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5138 (pcomplete--table-subvert): Sync with comint--table-subvert.
5139 (pcomplete--entries): Use comint-completion-file-name-table.
5140 * comint.el (comint-unquote-filename): Simplify.
5141 (comint-completion-file-name-table): New function (bug#9616).
5142 (comint--complete-file-name-data): Use it.
5143
428fe61a
SM
5144 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5145 (pcmpl-gnu-tar-buffer): Remove.
5146 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5147 around. Make sure pcomplete-suffix-list is only changed temporarily.
5148 Don't look inside the tar's file if it's too large.
428fe61a 5149
04c52e2f
CY
51502011-10-01 Chong Yidong <cyd@stupidchicken.com>
5151
ce3cefcc
CY
5152 * cus-edit.el (custom-mode-map):
5153 * epa.el (epa-key-list-mode-map):
5154 * man.el (Man-mode-map):
5155 * startup.el (splash-screen-keymap):
5156 * simple.el (special-mode-map): Use scroll-up-command and
5157 scroll-down-command.
5158
5159 * progmodes/idlw-help.el (idlwave-help-mode-map):
5160 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5161 * net/newst-plainview.el (newsticker-mode-map):
5162 * emulation/ws-mode.el (wordstar-mode-map):
5163 * emulation/vi.el (vi-com-map):
5164 * calc/calc-graph.el (calc-graph-show-dumb):
5165 * term/sun.el (terminal-init-sun):
5166 * term/ns-win.el (global-map):
5167 * progmodes/grep.el (grep-mode-map):
5168 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5169 * mail/rmail.el (rmail-mode-map):
5170 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5171
04c52e2f
CY
5172 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5173 custom-safe-themes as special.
5174
79adf8c8
JD
51752011-10-01 Julien Danjou <julien@danjou.info>
5176
5177 * notifications.el (notifications-notify): Fix docstring.
5178
63bd50d3
PS
51792011-10-01 Per Starbäck <per@starback.se>
5180
5181 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5182
199e4c7e
MR
51832011-09-30 Martin Rudalics <rudalics@gmx.at>
5184
5185 * startup.el (command-line-1): Fix last fix by inserting
5186 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5187 (Bug#9605) and (Bug#9636)
199e4c7e 5188
fe5f08dd
EZ
51892011-09-29 Eli Zaretskii <eliz@gnu.org>
5190
5191 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5192 window is hscrolled, move by logical lines. (Bug#9607)
5193 (line-move-visual): Update the doc string to the above effect.
5194
b5516bbd
MR
51952011-09-29 Martin Rudalics <rudalics@gmx.at>
5196
ccee00c0
MR
5197 * window.el (display-buffer-record-window): When WINDOW is the
5198 selected window use `point' instead of `window-point'. (Bug#9626)
5199
b5516bbd
MR
5200 * startup.el (command-line-1): Use insert-before-markers when
5201 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5202
b5516bbd
MR
5203 * help.el (help-window): Remove variable.
5204
52aa0014
GM
52052011-09-29 Glenn Morris <rgm@gnu.org>
5206
5207 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5208
df9a7357
JB
52092011-09-29 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * descr-text.el (describe-char-categories): Accept category
5212 descriptions more than one line long.
5213
a8406c20
SM
52142011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5215
88d9610c
SM
5216 * simple.el (delete-trailing-whitespace): Fix last change.
5217
a5daf810
SM
5218 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5219 Don't confuse "y => 3" as the beginning of a `y' operation.
5220
a8406c20
SM
5221 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5222 object has more than 4 slots (bug#9613).
5223
a239d4e9
JB
52242011-09-28 Juanma Barranquero <lekktu@gmail.com>
5225
5226 * subr.el (with-output-to-temp-buffer):
5227 * net/quickurl.el (quickurl, quickurl-browse-url):
5228 Fix typos in docstrings.
5229
693fbdb6
EZ
52302011-09-27 Eli Zaretskii <eliz@gnu.org>
5231
5232 * minibuffer.el (completion-styles)
5233 (completion-category-overrides): Cross reference each other in doc
5234 strings.
5235
8b457e28
GM
52362011-09-27 Glenn Morris <rgm@gnu.org>
5237
5238 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5239 to split-string. (Bug#9606)
5240
85a16208
LMI
52412011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5242
5243 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5244 (bug#9615).
5245
502f9ebd
CY
52462011-09-27 Chong Yidong <cyd@stupidchicken.com>
5247
5248 * emacs-lisp/package.el (list-packages): Fix echo area message.
5249
7690bdea
LL
52502011-09-27 Leo Liu <sdl.web@gmail.com>
5251
5252 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5253
e2ee6f30
MA
52542011-09-25 Michael Albinus <michael.albinus@gmx.de>
5255
5256 * net/dbus.el (dbus-unregister-object): Don't release services for
5257 registered signals. (Bug#9581)
5258
f3f98342
TZ
52592011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5260
5261 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5262 function that picks between cfengine 2 and 3 support
5263 automatically. Update docs accordingly.
5264
dd7aa8dd
KH
52652011-09-22 Kenichi Handa <handa@m17n.org>
5266
5267 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5268 ZERO.
5269 (indian-itrans-v5-table-for-tamil): New variable.
5270 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5271
3f2b07f8
KM
52722011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5273
5274 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5275 that's true if the current command involved collapsing of text.
5276 It's reset to false at the beginning of the next command.
5277 (allout-post-command-business): Move the cursor to the beginning
5278 of entry if the cursor is hidden and collapsing activity just
5279 happened.
5280
371d6a61
CY
52812011-09-24 Chong Yidong <cyd@stupidchicken.com>
5282
5283 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5284 tracking (Bug#9541).
5285
2ac2721a
UJ
52862011-09-24 Ulf Jasper <ulf.jasper@web.de>
5287
5288 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5289 (newsticker-show-news): Automatically load html rendering package
5290 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5291 because w3m-fill-column is let-bound" and the error "Symbol's value
5292 as variable is void: w3m-fill-column".
2ac2721a 5293
fac7ae53
MA
52942011-09-24 Michael Albinus <michael.albinus@gmx.de>
5295
5296 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5297 Release services only if they are defined. (Bug#9581)
5298
e08b633b
RS
52992011-09-23 Richard Stallman <rms@gnu.org>
5300
e488d29c
RS
5301 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5302 distinguish start of paragraph from start of its text.
5303
19c38752
RS
5304 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5305
e08b633b
RS
5306 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5307 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5308 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5309
0a39f27e
AS
53102011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5311
5312 * international/mule-diag.el (mule-diag): Insert a newline after
5313 each fontset description.
5314
db4e950d
SM
53152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * simple.el (delete-trailing-whitespace):
5318 Document last change; simplify.
5319
eca3f3ea
PW
53202011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5321
d68e189a
PW
5322 * simple.el (delete-trailing-whitespace): Also delete
5323 extra newlines at the end of the buffer.
5324
eca3f3ea
PW
5325 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5326 (picture-newline): Use forward-line so as to ignore fields.
5327
01c157cc
SM
53282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * subr.el (with-wrapper-hook): Fix edebug spec.
5331
022de23e
LMI
53322011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5333
5334 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5335 (bug#4538).
5336
91683089
MA
53372011-09-23 Michael Albinus <michael.albinus@gmx.de>
5338
eca3f3ea
PW
5339 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5340 Fix nasty bug using wrong cached values.
91683089 5341
5bdd6fa4
AM
53422011-09-23 Alan Mackenzie <acm@muc.de>
5343
5344 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5345
97adfb97
CY
53462011-09-23 Chong Yidong <cyd@stupidchicken.com>
5347
5348 * window.el (pop-to-buffer): Ensure right window is selected if we
5349 chose another frame.
5350
d4ef2b50
EZ
53512011-09-22 Eli Zaretskii <eliz@gnu.org>
5352
5353 * simple.el (what-cursor-position): Use get-char-property-change
5354 and next-single-char-property-change, to be able to show display
5355 properties that come from overlays as well as text properties.
5356
72258fe5
CY
53572011-09-22 Chong Yidong <cyd@stupidchicken.com>
5358
5359 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5360
5361 * cmuscheme.el (run-scheme, switch-to-scheme):
5362 * cus-edit.el (customize-group, custom-buffer-create)
5363 (customize-browse):
5364 * info.el (info):
5365 * shell.el (shell):
5366 * mail/sendmail.el (mail):
5367 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5368
8f098516
RS
53692011-09-22 Richard Stallman <rms@gnu.org>
5370
5371 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5372 move back only to line beg, don't move back over blank lines.
5373
e74f1bb6
MA
53742011-09-22 Michael Albinus <michael.albinus@gmx.de>
5375
5376 * files.el (copy-directory): Set directory attributes only in case
5377 they could be retrieved from the source directory. (Bug#9565)
5378
bfeef8b6
DK
53792011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5380
5381 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5382 (hs-find-block-beginning, hs-hide-level-recursive):
5383 Ignore strings as well as comments. (Bug#9502)
5384
7e423bb8
AS
53852011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5386
5387 * progmodes/sql.el (sql-comint-postgres):
5388 Convert port number to a string. (Bug#9566)
5389
b4d72fcf
MR
53902011-09-22 Martin Rudalics <rudalics@gmx.at>
5391
5392 * window.el (quit-window): Undedicate window when switching to
5393 previous buffer. Reported by Thierry Volpiatto
5394 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5395 (special-display-popup-frame): When popping up a new frame reset
5396 its previous buffers to nil. Simplify code.
b4d72fcf 5397
a7b88dc6
MA
53982011-09-21 Michael Albinus <michael.albinus@gmx.de>
5399
5400 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5401 and process filter, as done also in `shell-command'.
5402
cf4eacfd
MR
54032011-09-21 Martin Rudalics <rudalics@gmx.at>
5404
eca3f3ea 5405 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5406 Call set-window-start with NOFORCE argument t.
5407 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5408 (quit-window): Reword doc-string. Handle new format of
5409 quit-restore parameter. Don't delete window if it has a
5410 previous buffer we can show instead of the present one.
5411 (display-buffer-record-window): Rewrite using a new format for
5412 the quit-restore window parameter
5413 (special-display-popup-frame, display-buffer-same-window)
5414 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5415 (display-buffer-pop-up-window, display-buffer-use-some-window):
5416 Adapt symbol passed to display-buffer-record-window.
5417 * help.el (help-window-setup): Handle new format of quit-restore
5418 parameter.
5419
8d28cb95
SM
54202011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5421
94ab793f
SM
5422 * faces.el (face-list): Fix docstring (bug#9564).
5423
8d28cb95
SM
5424 * window.el (display-buffer--action-function-custom-type):
5425 Don't include internal functions in the Custom interface.
5426
3820edeb
JL
54272011-09-20 Juri Linkov <juri@jurta.org>
5428
5429 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5430 (Info-forward-node, Info-backward-node, Info-next-preorder)
5431 (Info-last-preorder): Use it. (Bug#9528)
5432
5147931d
JL
54332011-09-20 Juri Linkov <juri@jurta.org>
5434
5435 * info.el (Info-last-preorder): Visit last menu item only when
5436 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5437
cf499a1a
JD
54382011-09-20 Julien Danjou <julien@danjou.info>
5439
5440 * password-cache.el (password-cache-remove): Remove entries even if the
5441 value is nil, so that password with a nil value (negative caching) is
5442 possible to invalidate.
5443
f84e2fe2
LM
54442011-09-20 Lawrence Mitchell <wence@gmx.li>
5445
5446 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5447 all whitespace around breakpoint. (Bug#9553)
5448 (f90-find-breakpoint): Only break at whitespace inside a comment.
5449
78054a46
SM
54502011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * minibuffer.el (completion-file-name-table): Keep track of errors.
5453 (completion-table-with-predicate): Handle the case where pred1 is nil.
5454 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5455
345083b2
SM
54562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5457
e24e27be
SM
5458 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5459 (debugger-return-value): Signal an error if the debugging context does
5460 not await any return value.
5461
345083b2
SM
5462 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5463 * image-mode.el (image-toggle-display-text)
5464 (image-toggle-display-image): Stay away from evil `intangible'.
5465
08d355e3
LL
54662011-09-19 Leo Liu <sdl.web@gmail.com>
5467
5468 * replace.el (occur-revert-arguments): Make it permanent-local.
5469 (occur-mode): Don't call font-lock-defontify.
5470
f01da43f
CY
54712011-09-19 Chong Yidong <cyd@stupidchicken.com>
5472
5473 * net/ldap.el (ldap-search-internal): Don't push empty search
5474 result (Bug#9508).
5475
b6072fa6
SM
54762011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5479
443d6696
MA
54802011-09-19 Michael Albinus <michael.albinus@gmx.de>
5481
5482 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5483 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5484
7cc6e154
JL
54852011-09-18 Juri Linkov <juri@jurta.org>
5486
5487 * buff-menu.el (Buffer-menu-mode-map):
5488 * dired.el (dired-mode-map):
5489 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5490 (lisp-interaction-mode-map):
5491 * emacs-lisp/package.el (package-menu-mode-map):
5492 * epa.el (epa-key-list-mode-map):
5493 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5494 (menu-bar-options-menu):
5495 * outline.el (outline-mode-menu-bar-map):
5496 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5497 * vc/vc-dir.el (vc-dir-menu-map):
5498 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5499 Capitalize non-function content words in menu item strings.
5500
5501 * dired.el (dired-mode-map): Add menu item for
5502 `image-dired-dired-toggle-marked-thumbs'.
5503
80302a81
JL
55042011-09-18 Juri Linkov <juri@jurta.org>
5505
5506 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5507 to `isearch-case-fold-search' and restore its original value
5508 after the `isearch-mode' call.
5509
46c5cf66
JL
55102011-09-18 Juri Linkov <juri@jurta.org>
5511
5512 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5513 because `zgrep' returns 1 for successful matches (bug#9226).
5514
d18b513b
JL
55152011-09-18 Juri Linkov <juri@jurta.org>
5516
5517 * info.el (Info-extract-menu-node-name): Check the second match
5518 for empty string (second test-case of bug#9528).
5519 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5520 intermediate nodes to the history (first test-case of bug#9528).
5521
72753f87
JL
55222011-09-18 Juri Linkov <juri@jurta.org>
5523
5524 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5525 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5526
c9384295
JL
55272011-09-18 Juri Linkov <juri@jurta.org>
5528
1154d12e
JB
5529 * info.el (Info-file-supports-index-cookies):
5530 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5531 outputs one more line for long file names (bug#4142).
c9384295 5532
d473dce8
CY
55332011-09-18 Chong Yidong <cyd@stupidchicken.com>
5534
5535 * newcomment.el (comment-normalize-vars): If prompting for
5536 comment-start, set comment-start-skip too (Bug#8424).
5537
2176854d
JB
55382011-09-18 Johan Bockgård <bojohan@gnu.org>
5539
5540 * icomplete.el: Fix previous fix of Bug#5849.
5541 (icomplete-mode): Don't set completion-show-inline-help.
5542 (icomplete-minibuffer-setup): Set completion-show-inline-help
5543 locally during icompletion.
5544
3aace4e4
CY
55452011-09-18 Chong Yidong <cyd@stupidchicken.com>
5546
c940224f
CY
5547 * woman.el (woman2-process-escapes): Don't delete unrecognized
5548 escapes (Bug#7843).
5549
3aace4e4
CY
5550 * files.el (inhibit-first-line-modes-regexps): Add image files.
5551 (hack-local-variables-prop-line): Return nil for malformed
5552 prop-lines (Bug#9044).
5553
710dec63
MA
55542011-09-18 Michael Albinus <michael.albinus@gmx.de>
5555
5556 * net/tramp.el (top): Don't require 'shell.
5557 (tramp-methods): Fix docstring.
5558 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5559 Return complete remote file name. Handle "smb" case.
5560 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5561 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5562
5563 * net/tramp-compat.el (top): Require 'shell.
5564
5565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5566 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5567 `tramp-current-host'.
5568 (tramp-get-remote-tmpdir): Remove.
5569
5570 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5571 `tramp-tmpdir' entries.
5572 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5573 (tramp-smb-handle-file-attributes): Ignore errors.
5574 (tramp-smb-wait-for-output): Check also for process end.
5575
5d5ac8ec
LMI
55762011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5577
5578 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5579 when sending QUIT (bug#9312).
5580
8c0f49f0
CY
55812011-09-17 Chong Yidong <cyd@stupidchicken.com>
5582
5583 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5584 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5585 occur-mode-display-occurrence.
5586 (occur-edit-mode): Add usage message.
5587 (occur-cease-edit): New command.
5588 (occur-after-change-function): Use text properties to find the
5589 position of the prefix text.
5590 (occur-engine): Set stickiness of prefix text properties.
5591
8f1383f7
GM
55922011-09-17 Glenn Morris <rgm@gnu.org>
5593
5594 * progmodes/etags.el (complete-tag):
5595 Fix call to completion-in-region. (Bug#9526)
5596
744ba0e3
JL
55972011-09-17 Juri Linkov <juri@jurta.org>
5598
5599 * textmodes/ispell.el (ispell-word): Add to the error message
5600 the word, ispell program name and current dictionary (bug#9121).
5601 (ispell-tex-arg-end): Capitalize "error" in the error message.
5602
d9bbf400
AS
56032011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5604
5605 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5606 check. (Bug#4251)
5607
8da11505
JL
56082011-09-17 Juri Linkov <juri@jurta.org>
5609
5610 * window.el (window-safe-min-height, window-safe-min-width):
5611 Fix typos (followup to bug#9522).
5612
a91adc7e
SJ
56132011-09-17 Sven Joachim <svenjoac@gmx.de>
5614
5615 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5616
064f328a
EZ
56172011-09-16 Eli Zaretskii <eliz@gnu.org>
5618
5619 * simple.el (line-move): If goal-column is set, move by logical
5620 lines, not by display lines. (Bug#971)
5621 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5622 to reflect the above change.
5623
e69df516
SM
56242011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * image.el (imagemagick-register-types): Use regexp-opt.
5627
cbb0f9ab
CY
56282011-09-15 Chong Yidong <cyd@stupidchicken.com>
5629
5630 * window.el (display-buffer-base-action): Rename from
5631 display-buffer-default-action. Make default value empty.
5632 (display-buffer-overriding-action): Convert to defvar.
5633 (display-buffer-fallback-action): New var.
5634
25322144
CY
56352011-09-15 Chong Yidong <cyd@stupidchicken.com>
5636
5637 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5638 declaration.
5639 (package--add-to-archive-contents): If there is a duplicate entry
5640 with an older version, remove it.
5641 (package-menu-mark-delete, package-menu-mark-install)
5642 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5643 (package-menu-mark-obsolete-for-deletion):
5644 Use package-menu-get-status instead of a regexp search.
25322144
CY
5645 (package-menu-get-status): Use tabulated-list-entry.
5646 (package-menu-mark-upgrades): New command.
d770725a 5647 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5648 (package-menu-execute): Do installation before deletion.
5649 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5650 instead of checking major-mode.
5651 (package-menu--find-upgrades): New function.
5652
7520339c
LMI
56532011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5654
5655 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5656 passwords in the log buffer.
65a046c4
LMI
5657 (smtpmail-process-filter): Update the process marker so that the
5658 "broken by peer" status message is inserted in the right place.
7520339c 5659
d3c30954
SM
56602011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5661
3fe48822
SM
5662 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5663 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5664 bibtex-completion-at-point-function.
5665 (bibtex-completion-at-point-function): Use them.
5666
1b8b3954
SM
5667 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5668
d3c30954
SM
5669 * mpc.el (mpc-constraints-tag-lookup): New function.
5670 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5671 also to browser "album|playlist".
5672
72779976
JL
56732011-09-14 Juri Linkov <juri@jurta.org>
5674
5675 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5676 (isearch-edit-string): Use length of `isearch-string' when
5677 `isearch-fail-pos' returns nil.
5678 (isearch-message): Remove duplicate code and call
5679 `isearch-fail-pos' with arg `t'.
5680
a0bf2bcd
CY
56812011-09-14 Chong Yidong <cyd@stupidchicken.com>
5682
17bb0a2d
CY
5683 * replace.el (occur-mode-goto-occurrence): Don't force using other
5684 window (Bug#9499).
5685
a0bf2bcd
CY
5686 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5687
f678e0b6
MR
56882011-09-14 Martin Rudalics <rudalics@gmx.at>
5689
5690 * window.el (display-buffer-window): Remove.
5691 (display-buffer-record-window): Use help-setup window parameter
5692 instead of variable display-buffer-window.
5693 (display-buffer-function, special-display-buffer-names)
5694 (special-display-function): Mention help-setup parameter instead
5695 of display-buffer-window in doc-string.
d3c30954
SM
5696 * help.el (help-window-setup): New argument help-window.
5697 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5698 Reword some messages.
5699 (with-help-window): Pass window used for displaying the buffer
5700 to help-window-setup. Don't set display-buffer-window.
5701
8e39b2e8
GM
57022011-09-13 Glenn Morris <rgm@gnu.org>
5703
5704 * emacs-lisp/debug.el (debugger-make-xrefs):
5705 Preserve point. (Bug#9462)
5706
85e9c04b
CY
57072011-09-13 Chong Yidong <cyd@stupidchicken.com>
5708
5709 * window.el (window-deletable-p): Use next-frame.
5710
1b36ed6a
MR
57112011-09-13 Martin Rudalics <rudalics@gmx.at>
5712
5713 * window.el (window-auto-delete): Remove.
5714 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5715 dedication and previous buffers.
1b36ed6a
MR
5716 (switch-to-prev-buffer): Don't delete window.
5717 (delete-windows-on): Delete a window's frame if and only if the
5718 window is dedicated.
5719 (replace-buffer-in-windows): Delete buffer's window or frame if
5720 and only if window is dedicated.
5721 (quit-window): Handle quit-restore as before last change.
4d61f28d 5722 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5723
ef8ef9fb
CY
57242011-09-13 Chong Yidong <cyd@stupidchicken.com>
5725
5726 * window.el (window-deletable-p): Never delete the last frame on a
5727 given terminal.
5728
b2cba41e
GM
57292011-09-13 Glenn Morris <rgm@gnu.org>
5730
5731 * help.el (describe-key-briefly): Copy previous standard-output change.
5732
51553db6 57332011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5734
5735 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5736
b7556719
GM
57372011-09-13 Glenn Morris <rgm@gnu.org>
5738
5739 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5740 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5741
64b51947
CY
57422011-09-12 Chong Yidong <cyd@stupidchicken.com>
5743
5744 * dired-aux.el (dired-mark-read-string): Don't return default
5745 value on empty input (Bug#9361).
5746 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5747 Omit initial minibuffer contents.
5748 (dired-do-chmod): Signal an error on empty input.
5749 (dired-mark-read-string): Don't return default on empty input.
5750
5751 * files.el (file-modes-symbolic-to-number): Doc fix.
5752
393a301e
SM
57532011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * international/mule-cmds.el (ucs-completions): Remove.
5756 (read-char-by-name): Use complete-with-action instead; add metadata.
5757
fa5660f9
CY
57582011-09-11 Chong Yidong <cyd@stupidchicken.com>
5759
5760 * window.el (display-buffer--action-function-custom-type)
5761 (display-buffer--action-custom-type): New vars.
5762 (display-buffer-alist, display-buffer-default-action)
5763 (display-buffer-overriding-action): Add defcustom types.
5764
4a592f66
CY
5765 * frame.el (delete-other-frames): Doc fix (Bug#276).
5766
73d56dbd
LMI
57672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5768
5769 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5770
37ac18a3
CY
57712011-09-11 Chong Yidong <cyd@stupidchicken.com>
5772
5773 Change modes that used same-window-* vars to use switch-to-buffer.
5774
5775 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5776 Use switch-to-buffer.
5777
5778 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5779 (customize-browse, custom-buffer-create-other-window):
5780 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5781
5782 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5783 (Info-prev, Info-up, Info-speedbar-goto-node)
5784 (info-display-manual): Use switch-to-buffer.
5785 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5786
5787 * mail/sendmail.el (mail): Use switch-to-buffer.
5788 (mail-recover): Use switch-to-buffer-other-window.
5789
5790 * cmuscheme.el (run-scheme, switch-to-scheme):
5791 * ielm.el (ielm):
5792 * shell.el (shell):
5793 * net/rlogin.el (rlogin):
5794 * net/telnet.el (telnet, rsh):
5795 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5796
10195bd6
AS
57972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5798
5799 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5800
b322f63a
LMI
58012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5802
39d7fed6
LMI
5803 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5804 so don't mention it (bug#9301).
ba5a81f1 5805 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5806
ee0e9f11
LMI
5807 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5808 match `x', `w32' and `ns', like the manual says (bug#9029).
5809
0b1c89c1 5810 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5811 (process-kill-buffer-query-function): Mention the buffer name in
5812 the query.
0b1c89c1 5813
77549ea8
LMI
5814 * image-mode.el (image-next-line): The line parameter is mandatory
5815 (bug#9258).
5816
803ef892
LMI
5817 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5818 which can be useful (bug#9301).
5819
12980837
LMI
5820 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5821
91054f8f
LMI
5822 * subr.el (match-string): Mention that the current buffer should
5823 be the same as the search was done in (bug#9282).
5824
b322f63a
LMI
5825 * facemenu.el: Disable the remove-* commands if the mark isn't
5826 active (bug#9162).
5827
3199b96f
CY
58282011-09-10 Chong Yidong <cyd@stupidchicken.com>
5829
5830 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5831 of display-buffer.
5832 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5833
5834 * replace.el (occur-mode-goto-occurrence)
5835 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5836 and display-buffer.
5837
5838 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5839 display-buffer.
5840
5841 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5842 special-display and same-window variables.
5843 (mail-other-window): Use switch-to-buffer-other-window.
5844 (mail-other-frame): USe switch-to-buffer-other-frame.
5845
393a301e
SM
5846 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5847 Use display-buffer-other-frame.
3199b96f
CY
5848 (gdb-display-gdb-buffer): Use pop-to-buffer.
5849
5850 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5851
5852 * progmodes/python.el: Don't set same-window-buffer-names.
5853
5854 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5855
5856 * window.el (display-buffer-alist): Add *Python*.
5857
8319e0bf
CY
58582011-09-10 Chong Yidong <cyd@stupidchicken.com>
5859
5860 * window.el (display-buffer-alist): Add entry for buffers
5861 previously handled same-window-*.
5862 (display-buffer-alist, display-buffer-default-action)
5863 (display-buffer-overriding-action): Mark as risky.
5864 (display-buffer-alist): Document action function changes.
5865 (display-buffer--same-window-action)
5866 (display-buffer--other-frame-action): New variables.
5867 (switch-to-buffer, display-buffer-other-frame): Use them.
5868 (display-buffer): Rename reuse-frame entry to reusable-frames.
5869 (display-buffer-reuse-selected-window): Function deleted.
5870 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5871 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5872 (display-buffer-special): New function.
5873 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5874 display-buffer-reuse-or-pop-window. Split off special-display
5875 part into display-buffer-special.
5876 (display-buffer-use-some-window): Don't perform any special
5877 pop-up-frames handling.
5878 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5879 (display-buffer--maybe-same-window): Rename from
0d3ff375 5880 display-buffer-maybe-same-window.
8319e0bf 5881
919a69aa
CY
5882 * info.el: Don't set same-window-regexps.
5883 (info-setup): New function.
5884 (info-other-window, info): Call it.
5885
5886 * cus-edit.el: Don't set same-window-regexps.
5887 (customize-group): New argument.
5888 (customize-group-other-window): Use it.
5889 (customize-face, customize-face-other-window): Likewise.
5890 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5891
8319e0bf
CY
5892 * net/rlogin.el:
5893 * net/telnet.el:
5894 * progmodes/gud.el: Don't set same-window-regexps.
5895
5896 * cmuscheme.el:
5897 * ielm.el:
5898 * shell.el:
5899 * mail/sendmail.el:
5900 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5901
25173000
JL
59022011-09-10 Juri Linkov <juri@jurta.org>
5903
5904 * isearch.el (isearch-edit-string): Remove obsolete mention of
5905 `C-w' (`isearch-yank-word-or-char') from docstring.
5906 (isearch-query-replace): Fix typo in docstring (bug#9466).
5907
056e44ef
JL
59082011-09-10 Juri Linkov <juri@jurta.org>
5909
5910 * paren.el (show-paren-function): Don't show escaped parens.
5911 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5912
c3760c17
EZ
59132011-09-10 Eli Zaretskii <eliz@gnu.org>
5914
5915 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5916 (mm-default-file-encoding): Remove autoload forms, they are
5917 replaced with autoload cookies in mml.el and mm-encode.el.
5918 (mail-add-attachment): New command.
5919 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5920 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5921 the doc string.
5922 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5923
fece895e
RT
59242011-09-10 Reuben Thomas <rrt@sc3d.org>
5925
e69df516
SM
5926 * simple.el (count-words-region): Use buffer if there's no region
5927 (bug#9429).
fece895e 5928
5e68ce4a
JL
59292011-09-09 Juri Linkov <juri@jurta.org>
5930
5931 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5932 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5933 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5934
0a6b9622
AM
59352011-09-09 Alan Mackenzie <acm@muc.de>
5936
5937 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5938 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5939
14a29deb
EZ
59402011-09-09 Eli Zaretskii <eliz@gnu.org>
5941
5942 Fix for Savannah bug#9392.
5943 * simple.el (mail-encode-mml): New defvar.
5944
5945 * mail/rmail.el (mail-encode-mml): Add a defvar.
5946 (rmail-enable-mime-composing): Default to t.
5947 (rmail-forward): Use MIME method of forwarding only if both
5948 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5949 Set mail-encode-mml non-nil if the MIME method was used.
5950
5951 * mail/sendmail.el (mml-to-mime): Add autoload form.
5952 (mail-encode-mml): Add a defvar.
5953 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5954 to nil.
5955 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5956 message through mml-to-mime, and reset mail-encode-mml to nil.
5957
28c45130
GM
59582011-09-09 Glenn Morris <rgm@gnu.org>
5959
5960 * woman.el (woman-if-body): When processing an .el block,
5961 do not delete the next .el block as well. (Bug#9447)
69f4b618 5962 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5963
9b1c252e
MR
59642011-09-08 Martin Rudalics <rudalics@gmx.at>
5965
5966 * window.el (window-deletable-p): Make sure window is live before
5967 invoking window-prev-buffers.
5968
567457e3
LL
59692011-09-08 Leo Liu <sdl.web@gmail.com>
5970
5971 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5972
97f05794
JL
59732011-09-08 Juri Linkov <juri@jurta.org>
5974
5975 * progmodes/compile.el (compilation-environment): Make it
5976 a defcustom (bug#8340).
5977
8b0874b5
MR
59782011-09-08 Martin Rudalics <rudalics@gmx.at>
5979
5980 * window.el (frame-auto-delete): Rename to window-auto-delete.
5981 Make it control auto-deletion of windows and/or frames.
5982 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5983 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5984 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5985 Rewrite handling of case when window/frame can be deleted.
5986 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5987 argument t. (Bug#9456)
8b0874b5 5988
4feb6e73
CY
59892011-09-07 Chong Yidong <cyd@stupidchicken.com>
5990
5991 * help-mode.el (help-mode): Restore autoload.
5992
91ab9c13
JL
59932011-09-07 Juri Linkov <juri@jurta.org>
5994
5995 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5996 `compilation-environment'. Set buffer-local
5997 `compilation-environment' to `thisenv' later after (funcall mode).
5998 (Bug#8340)
5999
6000 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6001 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6002 instead of replacing its value. (Bug#8340)
6003
0527e251
JL
60042011-09-07 Juri Linkov <juri@jurta.org>
6005
6006 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6007 based on text properties put by `grep-filter' instead of matching
6008 escape sequences.
6009 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6010 to the value of `grep-error-screen-columns' (bug#9438).
6011
249f792c
JL
60122011-09-07 Juri Linkov <juri@jurta.org>
6013
6014 * simple.el (next-error-highlight, next-error-highlight-no-select):
6015 Doc fix (bug#9432).
6016
ff7271b9
OT
60172011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6018
6019 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6020 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6021
183fc730
LL
60222011-09-07 Leo Liu <sdl.web@gmail.com>
6023
6024 * net/rcirc.el (rcirc-mode): Conditionally initialize
6025 rcirc-input-ring.
6026
77694924
SM
60272011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * emacs-lisp/find-func.el (find-function-C-source): Only set
6030 find-function-C-source-directory after checking that we found a source
6031 file there (bug#9440).
6032
d809b8eb
AM
60332011-09-06 Alan Mackenzie <acm@muc.de>
6034
6035 * isearch.el (isearch-other-meta-char): Wherever a key list is
6036 unread, "unread" the prefix arg, too. This fixes bug #8901.
6037
453de99f
OG
60382011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6039
6040 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6041
90439906
JL
60422011-09-05 Juri Linkov <juri@jurta.org>
6043
6044 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6045
f62bd846
JL
60462011-09-05 Juri Linkov <juri@jurta.org>
6047
6048 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6049 keeping point where processing of grep matches begins, and
6050 continue to delete remaining escape sequences from the same point.
6051 (grep-filter): Make leading zero optional in "0?1;31m" because
6052 git-grep emits "\033[1;31m" escape sequences unlike expected
6053 "\033[01;31m" as GNU Grep does (bug#9408).
6054 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6055
045820ec
JL
60562011-09-05 Juri Linkov <juri@jurta.org>
6057
6058 * subr.el (y-or-n-p): Capitalize "yes".
6059
f5e29b9b
MA
60602011-09-04 Michael Albinus <michael.albinus@gmx.de>
6061
6062 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6063 `tramp-cache-unload-hook' where appropriate.
6064 (tramp-methods): Rename `tramp-remote-sh' to
6065 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6066 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6067
6068 * net/tramp-sh.el (top): Don't require 'shell.
6069 (tramp-methods): Add `tramp-remote-shell' and
6070 `tramp-remote-shell-args' entries.
6071 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6072 (tramp-sh-handle-shell-command): Remove.
6073 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6074 Use `tramp-remote-shell'.
6075
2784c434
CY
60762011-09-03 Chong Yidong <cyd@stupidchicken.com>
6077
393a301e 6078 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6079 (sendmail-query-once): Save directly to send-mail-function.
6080 Update message-send-mail-function too.
6081
6082 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6083
464cdf56
CS
60842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6085
6086 * progmodes/python.el (python-mode-map): Use correct function to
6087 start python interpreter from menu-bar (as reported by Geert
6088 Kloosterman).
6089 (inferior-python-mode-map): Fix typo.
393a301e 6090 (python-shell-map): Remove.
464cdf56 6091
d37e5c87
DD
60922011-09-03 Deniz Dogan <deniz@dogan.se>
6093
6094 * net/rcirc.el (rcirc-print): Simplify code for
6095 rcirc-scroll-show-maximum-output. There is no need to walk
6096 through all windows to find the right one.
6097
f3ada0ee
CS
60982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6099
6100 * help.el (help-return-method): Doc fix.
6101
1f3c99ca
MR
61022011-09-03 Martin Rudalics <rudalics@gmx.at>
6103
6104 * window.el (window-deletable-p): Don't return a non-nil value
6105 when there's a buffer that was shown in the window before.
6106 (Bug#9419)
393a301e
SM
6107 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6108 Set window's previous buffers to nil.
1f3c99ca 6109
a3cf097f
EZ
61102011-09-03 Eli Zaretskii <eliz@gnu.org>
6111
6112 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6113 newline before and after the tag line, so it doesn't interfere
6114 with determining the paragraph direction of bidirectional text.
6115
3d03de90
LL
61162011-09-03 Leo Liu <sdl.web@gmail.com>
6117
6118 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6119
c3313451
CY
61202011-09-02 Chong Yidong <cyd@stupidchicken.com>
6121
393a301e 6122 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6123 (pop-to-buffer): Change interactive spec. Pass second argument
6124 directly to display-buffer.
6125 (display-buffer): Fix interactive spec. Use functionp to
6126 distinguish between a function and a list of functions.
6127
6128 * abbrev.el (edit-abbrevs):
6129 * arc-mode.el (archive-extract):
6130 * autoinsert.el (auto-insert):
6131 * bookmark.el (bookmark-bmenu-list):
6132 * files.el (find-file):
6133 * view.el (view-buffer):
6134 * progmodes/compile.el (compilation-goto-locus):
6135 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6136
89894cd8
CY
61372011-09-02 Chong Yidong <cyd@stupidchicken.com>
6138
6139 * window.el (display-buffer-alist): Doc fix.
6140 (display-buffer): Add docstring. Don't treat
6141 display-buffer-default specially.
6142 (display-buffer-reuse-selected-window)
6143 (display-buffer-same-window, display-buffer-maybe-same-window)
6144 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6145 (display-buffer-pop-up-window)
6146 (display-buffer-reuse-or-pop-window)
6147 (display-buffer-use-some-window): New functions.
6148 (display-buffer-default-action): Use them.
393a301e 6149 (display-buffer-default): Delete.
89894cd8
CY
6150 (pop-to-buffer-1): Fix choice of actions.
6151
ae0bc9fb
SM
61522011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * minibuffer.el (completion--insert-strings): Don't get confused by
6155 completion entries that end with an LF char.
6156
e9d90883
EZ
61572011-09-01 Eli Zaretskii <eliz@gnu.org>
6158
6159 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6160
437014c8
CY
61612011-09-01 Chong Yidong <cyd@stupidchicken.com>
6162
6163 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6164 (display-buffer-same-window, display-buffer-other-window):
6165 New functions.
437014c8
CY
6166 (pop-to-buffer-1): New function. Use the above.
6167 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6168 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6169
6170 * view.el (view-buffer-other-window, view-buffer-other-frame):
6171 Just use pop-to-buffer.
6172
a5e063d5
TV
61732011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6174
6175 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6176
793d32bb
WH
61772011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6178
6179 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6180
d65e4c15
RS
61812011-08-31 Richard Stallman <rms@gnu.org>
6182
6183 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6184 of the separation of rmail-view-buffer from rmail-buffer.
6185 If you say no to "replace original", the decrypt is in the
6186 view buffer. If you say yes, the decrypt goes into the
6187 rmail buffer also.
6188
f818cd2a
MR
61892011-08-31 Martin Rudalics <rudalics@gmx.at>
6190
6191 * window.el (display-buffer-window): Rewrite doc-string.
6192 (display-buffer-record-window): New function.
6193 (display-buffer-macro-specifiers)
6194 (display-buffer-even-window-sizes, display-buffer-set-height)
6195 (display-buffer-set-width, display-buffer-in-window)
6196 (display-buffer-reuse-window, display-buffer-split-specifiers)
6197 (display-buffer-side-specifiers, display-buffer-split-window-1)
6198 (display-buffer-split-window, display-buffer-split-atom-window)
6199 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6200 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6201 (display-buffer-other-window-means-other-frame)
6202 (display-buffer-normalize-special)
6203 (display-buffer-normalize-default)
6204 (display-buffer-normalize-argument)
6205 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6206 (display-buffer-normalize-specifiers, display-buffer-frame)
6207 (display-buffer-same-window, display-buffer-same-frame)
6208 (display-buffer-other-window)
6209 (display-buffer-same-frame-other-window)
6210 (display-buffer-other-frame, pop-to-buffer-same-window)
6211 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6212 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6213 (switch-to-buffer-same-frame)
6214 (switch-to-buffer-other-window-same-frame)
6215 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6216 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6217 (display-buffer-alist-set): Remove.
6218 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6219 (special-display-regexps, special-display-function):
6220 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6221 parameter.
6222 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6223 (special-display-frame-alist, special-display-popup-frame)
6224 (same-window-buffer-names, same-window-regexps, same-window-p)
6225 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6226 (split-window-preferred-function, split-height-threshold)
6227 (split-width-threshold, window-splittable-p)
6228 (split-window-sensibly, window--try-to-split-window)
6229 (window--frame-usable-p, even-window-heights)
6230 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6231 (window--display-buffer-2, display-buffer-other-frame):
6232 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6233 (display-buffer-default, display-buffer-assq-regexp): New functions.
6234 (display-buffer-alist): Rewrite doc-string.
6235 (display-buffer-default-action)
6236 (display-buffer-overriding-action): New variables.
6237 (display-buffer, switch-to-buffer): Rewrite.
6238 (pop-to-buffer): Restore Emacs 23 behavior but use
6239 window-normalize-buffer-to-display.
6240 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6241 Restore Emacs 23 behavior but use
6242 window-normalize-buffer-to-switch-to.
6243 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6244 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6245 Rewrite using Emacs 23 options.
f818cd2a 6246
5bc3b51d
MA
62472011-08-31 Michael Albinus <michael.albinus@gmx.de>
6248
6249 * net/tramp.el (tramp-root-regexp): Remove.
6250 (tramp-completion-file-name-regexp-unified)
6251 (tramp-completion-file-name-regexp-separate)
6252 (tramp-completion-file-name-regexp-url): Don't use leading volume
6253 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6254 (tramp-drop-volume-letter): Simplify definition.
6255 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6256
b1a4f8e1
SM
62572011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6260 (bug#9356).
6261
5664fa7b
RT
62622011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6263
b1a4f8e1 6264 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6265
9a45d6c3
JL
62662011-08-29 Juri Linkov <juri@jurta.org>
6267
6268 * isearch.el (isearch-done): Don't display message "Mark saved"
6269 when arg `edit' is non-nil to prevent its flicker in the echo area.
6270
fb87e0fb
CY
62712011-08-28 Chong Yidong <cyd@stupidchicken.com>
6272
6273 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6274 obsolete packages for deletion.
6275
09ac1c2a
CS
62762011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6277
6278 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6279 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6280 view-mode from help-mode.
6281 (help-xref-override-view-map): Remove.
6282 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6283 view-mode is not used anymore.
6284
7a1ff57f
CY
62852011-08-28 Chong Yidong <cyd@stupidchicken.com>
6286
6287 * server.el (server-port): Doc fix.
6288
b9696605
CY
6289 * cus-theme.el (custom-theme-choose-mode): Inherit from
6290 special-mode (Bug#9124).
6291 (custom-theme-choose-mode-map): Add special-mode to parent.
6292
ef8cdf8c
AM
62932011-08-28 Alan Mackenzie <acm@muc.de>
6294
6295 * progmodes/cc-fonts.el
6296 (c-make-font-lock-BO-decl-search-function): New function.
6297 (c-basic-matchers-after - "Fontify the clauses after various
6298 keywords"): Extract the three keyword lists for the 3 erroneous
6299 constructs from the list of four, and use the new function above
6300 in place of an old one.
6301
27de4e20
DD
63022011-08-28 Deniz Dogan <deniz@dogan.se>
6303
6304 * net/rcirc.el (rcirc-insert-prev-input)
6305 (rcirc-insert-next-input): Remove unused argument.
6306
356a3681
SM
63072011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6310
3fc9b218
AM
63112011-08-27 Alan Mackenzie <acm@muc.de>
6312
6313 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6314 handle function pointer parameters properly.
6315
538a061c
MR
63162011-08-27 Martin Rudalics <rudalics@gmx.at>
6317
6318 * window.el (display-buffer-reuse-window): Fix case where
6319 selected window was reused with non-nil OTHER-WINDOW argument.
6320 (Bug#9381)
6321
35b1c40c
DD
63222011-08-27 Deniz Dogan <deniz@dogan.se>
6323
6324 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6325 oftc's NickServ messages.
6326
2f6a3e79
GM
63272011-08-27 Glenn Morris <rgm@gnu.org>
6328
6329 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6330
7254299e
CY
63312011-08-26 Chong Yidong <cyd@stupidchicken.com>
6332
6333 * emacs-lisp/package.el (package-install): Call package-initialize
6334 if called interactively.
6335
f8ccf167
LL
63362011-08-26 Leo Liu <sdl.web@gmail.com>
6337
6338 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6339
3e8cd5ce
JL
63402011-08-25 Juri Linkov <juri@jurta.org>
6341
6342 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6343 `search-whitespace-regexp' (bug#9364).
6344
93eb7113
JL
63452011-08-25 Juri Linkov <juri@jurta.org>
6346
6347 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6348 `regexp-search-ring' to their global values to protect from
6349 updating by `read-from-minibuffer' (bug#9185).
6350
f65d1611
JL
63512011-08-25 Juri Linkov <juri@jurta.org>
6352
6353 * textmodes/ispell.el (ispell-command-loop): Add newline
6354 at the end of the "Use option `i'..." line.
6355
f1cf7a31
JL
63562011-08-25 Juri Linkov <juri@jurta.org>
6357
6358 * battery.el (display-battery-mode): If `battery-status-function'
6359 or `battery-mode-line-format' is nil, display the message and set
6360 `display-battery-mode' to nil (bug#9363).
6361
0c95fcf7
EZ
63622011-08-25 Eli Zaretskii <eliz@gnu.org>
6363
6364 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6365 bidi-string-mark-left-to-right; they are unnecessary now.
6366
a2ebe600
DD
63672011-08-25 Deniz Dogan <deniz@dogan.se>
6368
6369 * net/quickurl.el: Documentation typo fixes.
6370
e4ed06f1
CY
63712011-08-25 Chong Yidong <cyd@stupidchicken.com>
6372
6373 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6374
e5f1c99e
GM
63752011-08-25 Glenn Morris <rgm@gnu.org>
6376
b2948976
GM
6377 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6378
e5f1c99e
GM
6379 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6380 (smtpmail-via-smtp): Handle nil response from smtp.
6381
f22f4808
JL
63822011-08-24 Juri Linkov <juri@jurta.org>
6383
6384 * proced.el (proced-marked): Inherit from `error' instead of
6385 `font-lock-warning-face'.
6386
6387 * ibuffer.el (ibuffer-marked-face): Change default face from
6388 `font-lock-warning-face' to `warning'.
6389 (ibuffer-deletion-face): Change default face from
6390 `font-lock-type-face' to `error'.
6391
6392 * battery.el (battery-update): Use the face `error' instead of
6393 `font-lock-warning-face' (bug#6117).
6394
6a93965e
JL
63952011-08-24 Juri Linkov <juri@jurta.org>
6396
6397 * faces.el (success): Change face color from "Green3" to
6398 "ForestGreen" on light background (bug#9353).
6399
1ed43b09
CY
64002011-08-24 Chong Yidong <cyd@stupidchicken.com>
6401
5664fa7b
RT
6402 * window.el (quit-window): Rename from quit-restore-window.
6403 Use same arglist as old quit-window.
1ed43b09
CY
6404 (frame-auto-delete): Doc fix.
6405
6406 * view.el (view-mode-exit): Use quit-window.
6407
11dcdbb2
JL
64082011-08-24 Juri Linkov <juri@jurta.org>
6409
6410 * isearch.el (isearch-ring-adjust1): Start visiting previous
6411 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6412 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6413 for empty search string (when the last search string is reused
6414 automatically) to adjust the isearch ring to the last element and
6415 prepare the correct index for further M-p commands (bug#9185).
6416
de62b4df
KH
64172011-08-24 Kenichi Handa <handa@m17n.org>
6418
6419 * international/ucs-normalize.el: If decomposition property of
6420 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6421 nil.
6422 (nfd, nfkd): Likewise.
6423
963b492b
SM
64242011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6427 from process filters aren't reliably transmitted to the surrounding
6428 accept-process-output.
6429 (mpc-proc-check): New function.
6430 (mpc-proc-sync): Use it (bug#8293)
6431
93b6b5e1
SM
64322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6435 Add compatibility functions (bug#9313).
6436
bca633fb
EZ
64372011-08-23 Eli Zaretskii <eliz@gnu.org>
6438
b177498a
EZ
6439 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6440
6df6ae42 6441 * international/uni-bidi.el: Regenerate.
bca633fb 6442
0902a04e
KH
64432011-08-23 Kenichi Handa <handa@m17n.org>
6444
6445 * international/charprop.el:
6446 * international/uni-bidi.el:
6447 * international/uni-category.el:
6448 * international/uni-combining.el:
6449 * international/uni-comment.el:
6450 * international/uni-decimal.el:
6451 * international/uni-decomposition.el:
6452 * international/uni-digit.el:
6453 * international/uni-lowercase.el:
6454 * international/uni-mirrored.el:
6455 * international/uni-name.el:
6456 * international/uni-numeric.el:
6457 * international/uni-old-name.el:
6458 * international/uni-titlecase.el:
6459 * international/uni-uppercase.el: Regenerate.
6460
3bbf23bc
MR
64612011-08-23 Martin Rudalics <rudalics@gmx.at>
6462
6463 * help.el (help-window-setup): Fix message displayed when other
6464 window is reused. (Bug#9341)
6465
b3fd59bd
SM
64662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6467
1802e444
SM
6468 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6469 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6470
b3fd59bd
SM
6471 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6472 Mark obsolete.
6473 * shell.el (shell-parse-pcomplete-arguments): New function.
6474 (shell-completion-vars): Use it instead (bug#9160).
6475
4eb61348
SM
64762011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6477
867cab74
SM
6478 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6479 strings and comments (bug#9333).
6480
4eb61348
SM
6481 * emacs-lisp/debug.el (debug-arglist): New function.
6482 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6483 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6484
262a1439
JL
64852011-08-22 Juri Linkov <juri@jurta.org>
6486
56ee679c
JL
6487 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6488 Revert regexp that highlights output switches to its old
6489 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6490
262a1439
JL
6491 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6492 to check for empty output (bug#9226).
6493
f13f86fb
CY
64942011-08-22 Chong Yidong <cyd@stupidchicken.com>
6495
6496 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6497 symbol-constituent as the default, as that stops font-lock from
6498 working properly (Bug#8843).
6499
c65c9622
LMI
65002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
6502 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6503 `coding-system-for-*' around the process open call to avoid
6504 auth-source side effects.
e7f2c178 6505 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6506 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6507 probe hangs.
c65c9622 6508
23a8a5ab
CY
65092011-08-21 Chong Yidong <cyd@stupidchicken.com>
6510
ff98b2dd
CY
6511 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6512
23a8a5ab
CY
6513 * emacs-lisp/find-func.el (find-function-noselect): New arg
6514 lisp-only.
6515
6516 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6517 signal an error for built-in functions (Bug#6664).
6518
f5e3c598
LMI
65192011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6520
6521 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6522 (smtpmail-try-auth-methods): Use it.
6523
a3f2468a
CY
65242011-08-21 Chong Yidong <cyd@stupidchicken.com>
6525
2c34e8da
CY
6526 * font-lock.el (font-lock-fontify-region)
6527 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6528 (font-lock-default-unfontify-buffer)
6529 (font-lock-default-fontify-region)
6530 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6531
b3fd59bd
SM
6532 * progmodes/compile.el (compilation-error-properties):
6533 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6534 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6535 `ant' regexp.
ee31aabc 6536
a3f2468a
CY
6537 * net/browse-url.el (browse-url-firefox): Don't call
6538 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6539
8e999f70
GM
65402011-08-20 Glenn Morris <rgm@gnu.org>
6541
c21a496a
GM
6542 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6543
59ee0542
GM
6544 * tutorial.el (tutorial--default-keys): Update some default bindings.
6545
8e999f70
GM
6546 * files.el (hack-local-variables): Fully ignore case for "mode:".
6547
e3715033
AM
65482011-08-20 Alan Mackenzie <acm@muc.de>
6549
6550 Resolve invalid use of a regexp in regexp-opt.
6551
4d61f28d
JB
6552 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6553 detection for a java annotation.
e3715033 6554
4d61f28d 6555 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6556 detection for a java annotation.
6557
4d61f28d
JB
6558 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6559 handling for java.
e3715033
AM
6560 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6561
04ed2e9c
CY
65622011-08-20 Chong Yidong <cyd@stupidchicken.com>
6563
6564 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6565 (Bug#9274).
6566
826cee64
AM
65672011-08-20 Alan Mackenzie <acm@muc.de>
6568
58179cce 6569 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6570 such a construct. Mainly for when jit-lock etc. starts a chunk
6571 here.
6572
58179cce 6573 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6574 variable.
58179cce 6575 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6576 c-make-font-lock-search-function.
6577 (c-make-font-lock-search-function): Use the above function.
6578 (c-make-font-lock-context-search-function): New function.
6579 (c-cpp-matchers): Enhance the preprocessor expression case with
6580 the above function
6581 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6582 which takes an expression.
6583
6584 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6585
13009bd8
MR
65862011-08-20 Martin Rudalics <rudalics@gmx.at>
6587
6588 * window.el (display-buffer-reuse-window)
6589 (display-buffer-pop-up-window): Don't reuse or split a side
6590 window.
6591
9234ff7f
GM
65922011-08-19 Glenn Morris <rgm@gnu.org>
6593
6594 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6595 Downcase "Mode:". (Bug#9331)
9234ff7f 6596
f635daa1
CY
65972011-08-18 Chong Yidong <cyd@stupidchicken.com>
6598
6599 * international/characters.el: Add L and R categories.
6600
6601 * subr.el (bidi-string-mark-left-to-right): Rename from
6602 string-mark-left-to-right. Use category search.
6603
6604 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6605
bc987f8b
JL
66062011-08-18 Juri Linkov <juri@jurta.org>
6607
6608 * faces.el (error, warning, success): New faces with definitions
6609 copied from old default values of `font-lock-warning-face',
6610 `compilation-warning', `compilation-info' (bug#6117).
6611
6612 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6613
6614 * progmodes/compile.el (compilation-error): Inherit from `error'.
6615 (compilation-warning): Inherit from `warning'.
6616 (compilation-info): Inherit from `success'.
6617
6618 * dired.el (dired-marked): Inherit from `warning'.
6619 (dired-flagged): Inherit from `error'.
6620
57173b96
LMI
66212011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6622
3e79eb87
LMI
6623 * mail/smtpmail.el (auth-source): Require to avoid problems with
6624 binding variables (bug#9298). Also clean up some unused
6625 autoloads.
6626
b3fd59bd
SM
6627 * net/network-stream.el (network-stream-open-starttls):
6628 Support using starttls.el without using gnutls-cli.
57173b96 6629
02b404de
JL
66302011-08-17 Juri Linkov <juri@jurta.org>
6631
6632 * progmodes/grep.el (rgrep): Handle the case when
6633 `grep-find-command' is a cons cell (bug#9278).
6634
8c9177f2
MR
66352011-08-17 Martin Rudalics <rudalics@gmx.at>
6636
6637 * window.el (display-buffer-pop-up-frame): Run frame creation
6638 function with BUFFER current (as special-display-popup-frame
6639 does). Reported by Drew Adams.
6640
3644a0ab
DU
66412011-08-17 Daiki Ueno <ueno@unixuser.org>
6642
6643 * epa-mail.el: Simplify GnuPG group expansion using
6644 epg-expand-group.
6645 (epa-mail-group-alist, epa-mail-group-modtime)
6646 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6647 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6648 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6649 Remove.
6650
5e617bc2 66512011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6652
6653 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6654
9c4aeabf
AM
66552011-08-16 Alan Mackenzie <acm@muc.de>
6656
6657 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6658 Correct, to avoid the inside of macros.
6659
3a99bf64
RS
66602011-08-16 Richard Stallman <rms@gnu.org>
6661
04963aa8
RS
6662 * epa-mail.el: Handle GnuPG group definitions.
6663 (epa-mail-group-alist, epa-mail-group-modtime)
6664 (epa-mail-gnupg-conf-file): New variables.
6665 (epa-mail-parse-groups, epa-mail-sync-groups)
6666 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6667 (epa-mail-expand-recipients): New functions.
6668 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6669
177549d0
RS
6670 * mail/rmail.el (rmail-epa-decrypt): New command.
6671
fe38beef
RS
6672 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6673 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6674 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6675 (epa-decrypt-armor-in-region): Make error message clearer.
6676
934eacb9
SM
66772011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6680 and "a2b" to "ab" for `prefix'.
6681
d024fb4e
CY
66822011-08-14 Chong Yidong <cyd@stupidchicken.com>
6683
6684 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6685 filter groups.
de148fee
CY
6686 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6687 Fourquet (Bug#8804).
d024fb4e 6688
62f1ca49
JB
66892011-08-12 Juanma Barranquero <lekktu@gmail.com>
6690
6691 * startup.el (argi): Declare as global variable (bug#9275).
6692
9ccaaa4b
CY
66932011-08-12 Chong Yidong <cyd@stupidchicken.com>
6694
6695 * subr.el (string-mark-left-to-right): Search the entire string
6696 for RTL script, not just the terminating character. Doc fix.
6697
a3dae87a
SM
66982011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6cd18349
SM
6700 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6701 New function.
6702 (js--regexp-literal, js-syntax-propertize-function): Remove.
6703 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6704 (js-mode-map): Don't rebind electric keys.
6705 (js-insert-and-indent): Remove.
6706 (js-mode): Setup electric-layout and electric-indent instead.
6707
a3dae87a
SM
6708 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6709
9d5cb631
DU
67102011-08-12 Daiki Ueno <ueno@unixuser.org>
6711
6712 * epa.el (epa-progress-callback-function): Fix the logic of
6713 displaying progress.
6714 * epa-file.el (epa-file-insert-file-contents): Make progress
6715 display more user-friendly.
6716 (epa-file-write-region): Ditto.
6717
3e26a4a2
CY
67182011-08-10 Chong Yidong <cyd@stupidchicken.com>
6719
6720 * subr.el (string-mark-left-to-right): New function.
6721
6722 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6723 Use string-mark-left-to-right.
6724 (list-buffers-noselect): Caller changed.
6725
a3dae87a
SM
6726 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6727 Use string-mark-left-to-right.
3e26a4a2
CY
6728 (tabulated-list-print): Recenter after moving point.
6729
ac8cf6e6
JL
67302011-08-10 Juri Linkov <juri@jurta.org>
6731
6732 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6733 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6734 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6735
8d96c9a4
CY
67362011-08-09 Chong Yidong <cyd@stupidchicken.com>
6737
6738 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6739 (Bug#7554).
6740
7be1c708 67412011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6742
6743 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6744 character. (Bug#6594)
6745
37e11a63
CY
67462011-08-08 Chong Yidong <cyd@stupidchicken.com>
6747
839dde57
CY
6748 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6749 (image-dired--with-db-file): New macro.
6750 (image-dired-write-tags, image-dired-remove-tag)
6751 (image-dired-create-gallery-lists, image-dired-write-comments)
6752 (image-dired-get-comment, image-dired-mark-tagged-files)
6753 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6754 (image-dired-gallery-generate): Use insert-file-contents.
6755
37e11a63
CY
6756 * time.el (display-time-world-list, display-time-world-display):
6757 * time-stamp.el (time-stamp-string):
6758 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6759 set-time-zone-rule (Bug#7337).
6760
0b4946c4
DU
67612011-08-08 Daiki Ueno <ueno@unixuser.org>
6762
6763 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6764 (epg-error-to-string, epg-errors-to-string): New function.
6765 (epg-wait-for-completion): Reverse errors list.
6766 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6767 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6768 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6769 (epg-sign-keys, epg-generate-key-from-file)
6770 (epg-generate-key-from-string): Format errors by using
6771 epg-errors-to-string (bug#9255).
6772 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6773
75bfc667
JL
67742011-08-07 Juri Linkov <juri@jurta.org>
6775
6776 * faces.el (list-faces-display): Remove extra angle bracket
6777 from `help-mode-map'.
6778
6779 * info.el (Info-history-toc-nodes): Doc fix.
6780
6781 * longlines.el (longlines-mode): Doc fix.
6782
673e08bb
SM
67832011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6784
4640dd88
SM
6785 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6786 of statements and in a few more cases (bug#9183).
6787
673e08bb
SM
6788 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6789 New functions.
6790 (cl-transform-lambda): Use them (bug#9239).
6791
89b3f019
MR
67922011-08-05 Martin Rudalics <rudalics@gmx.at>
6793
6794 * window.el (display-buffer-same-window)
6795 (display-buffer-same-frame, display-buffer-other-window)
6796 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6797 (pop-to-buffer-other-window)
6798 (pop-to-buffer-same-frame-other-window)
6799 (pop-to-buffer-other-frame): Make them defuns.
6800 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6801
640c8776
SM
68022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * subr.el (make-composed-keymap): Move from C. Change calling
6805 convention, and improve docstring to bring attention to a subtle point.
6806 * minibuffer.el (completing-read-default): Adjust accordingly.
6807
63648a95
MA
68082011-08-03 Michael Albinus <michael.albinus@gmx.de>
6809
6810 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6811 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6812
6813 * net/trampver.el: Update release number.
6814
b796c9b7
SM
68152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6818 "in" (bug#9190).
6819
2239d7d5
LMI
68202011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6821
e07dd7c3
LMI
6822 * mail/sendmail.el (sendmail-query-once): Restore the current
6823 buffer after querying (bug#9074).
6824
0e6a2bd7
LMI
6825 * dired.el (dired-flagged): Use different faces for marked and
6826 flagged files (bug#6117).
6827
ce887515
LMI
6828 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6829 (bug#4433).
6830
92f2affc
LMI
6831 * ido.el (ido-mode): Switch off the message if called
6832 non-interactively.
6833
57d5aff0
LMI
6834 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6835 before 587, since it appears that that's more likely to work for
6836 more people.
6837
98cd6c18 6838 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6839 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6840 exist.
6841
b96dec83
LMI
6842 * info.el: Remove the `Info-beginning-of-buffer' function
6843 (bug#8325).
6844
b796c9b7
SM
6845 * net/network-stream.el (network-stream-open-starttls):
6846 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6847
d90e2ea0
MR
68482011-08-01 Martin Rudalics <rudalics@gmx.at>
6849
6850 * window.el (display-buffer-in-window): Don't set dedicated status
6851 of window here (Bug#9215).
6852 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6853 (display-buffer-pop-up-side-window)
b796c9b7 6854 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6855
cca09170
SM
68562011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6859 before binding generated-autoload-file.
6860
027b979c
DD
68612011-08-01 Deniz Dogan <deniz@dogan.se>
6862
6863 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6864
3c7ee4f3
MA
68652011-07-30 Michael Albinus <michael.albinus@gmx.de>
6866
6867 Sync with Tramp 2.2.2.
6868
6869 * net/trampver.el: Update release number.
6870
2cc8e51a
JL
68712011-07-30 Juri Linkov <juri@jurta.org>
6872
6873 * dired-aux.el (dired-touch-initial): Remove function.
6874 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6875 current time, and `default' to the last modification time of the
6876 current marked file (bug#6887).
6877
a514d856
JM
68782011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6879
6880 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6881 numeric argument to read-number (bug#9163).
a514d856 6882
8a7eddd7
MA
68832011-07-27 Michael Albinus <michael.albinus@gmx.de>
6884
6885 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6886 connection process, it could be nil.
6887
1ddd96f5
LL
68882011-07-27 Leo Liu <sdl.web@gmail.com>
6889
6890 Simplify url handling in rcirc-mode.
6891
6892 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6893 (rcirc-browse-url-at-mouse): Remove.
6894 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6895
b248a85d
AM
68962011-07-26 Alan Mackenzie <acm@muc.de>
6897
6898 Fontify bitfield declarations properly.
6899
6900 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6901 (c-symbol-chars): Now exported as a lang variable.
6902 (c-not-primitive-type-keywords): New lang variable.
6903
6904 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6905 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6906 parsed as a bitfield declaration.
b248a85d 6907
b796c9b7
SM
6908 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6909 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6910 (c-punctuation-in): New function.
6911 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6912 declarations properly.
6913
68575ab0
UJ
69142011-07-26 Ulf Jasper <ulf.jasper@web.de>
6915
6916 * calendar/icalendar.el (icalendar--all-events): Take care of
6917 multiple vcalendars in a single file.
b796c9b7 6918 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6919
0f0a88b9
DD
69202011-07-25 Deniz Dogan <deniz@dogan.se>
6921
6922 * image.el (insert-image): Clarifying docstring.
6923
0b3f36df
MA
69242011-07-24 Michael Albinus <michael.albinus@gmx.de>
6925
6926 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6927 `tramp-send-command-and-check' if there is no error.
6928 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6929
a9901f61
AM
69302011-07-22 Alan Mackenzie <acm@muc.de>
6931
6932 Prevent cc-langs.elc being loaded at run time.
6933
6934 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6935 cc-langs.
6936
4d61f28d 6937 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6938 "(require 'cc-langs)". Quote a form so it will evaluate at
6939 (cc-mode's) compilation time.
6940
11d074b2
MA
69412011-07-22 Michael Albinus <michael.albinus@gmx.de>
6942
6943 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6944 loading. (Bug#9114)
6945
938b94c8
MR
69462011-07-21 Martin Rudalics <rudalics@gmx.at>
6947
6948 * window.el (display-buffer-pop-up-window)
6949 (display-buffer-pop-up-side-window)
6950 (display-buffer-in-side-window): Call display-buffer-set-height
6951 and display-buffer-set-width after setting the new window's
b796c9b7 6952 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6953
bfa4f190
SS
69542011-07-20 Sam Steingold <sds@gnu.org>
6955
6956 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6957 (etags-tags-included-tables): Call `convert-standard-filename' on
6958 the file names contained in TAGS so that windows Emacs can handle
6959 TAGS files created by cygwin ctags.
6960
8ca42262
LMI
69612011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6962
6963 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6964 which apparently didn't work.
6965
5db2afd2 69662011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6967
5db2afd2
RW
6968 * proced.el (proced-send-signal): For *Marked Processes* buffer
6969 put point at beginning of buffer.
6970
92e15d10
SB
69712011-07-19 Stephen Berman <stephen.berman@gmx.net>
6972
6973 * proced.el (proced-format): Make header lines align with the text
6974 (bug#1779).
6975
1bfd59e5
LMI
69762011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6977
6978 * view.el (view-buffer): Allow running in `special' modes if we're
6979 visiting a file (bug#8615).
6980
f5aae37c
MR
69812011-07-19 Martin Rudalics <rudalics@gmx.at>
6982
6983 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6984 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6985 New functions.
f5aae37c
MR
6986 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6987 more accurately.
6988
bf2c1571
AM
69892011-07-18 Alan Mackenzie <acm@muc.de>
6990
6991 Fontify declarators properly when, e.g., a jit-lock chunk begins
6992 inside a declaration.
6993
6994 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6995
b796c9b7
SM
6996 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6997 New function.
bf2c1571
AM
6998 (c-complex-decl-matchers): Insert reference to
6999 c-font-lock-enclosing-decls.
7000
7001 * progmodes/cc-engine.el (c-backward-single-comment):
7002 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7003 to nil around calls to (forward-comment -1).
7004
4e190b80
LMI
70052011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7006
12dc863d
LMI
7007 * image.el (put-image): Doc typo fix.
7008
a762e966
LMI
7009 * progmodes/etags.el (tags-search): Doc typo fix.
7010
4e190b80
LMI
7011 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7012 password if we get errors 550 to 554.
7013
f019fb21
LMI
70142011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7015
b796c9b7 7016 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7017
81746738
LMI
7018 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7019 indentation character (bug#6380).
7020
3ee3a1b5
LMI
7021 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7022
c82f64de
LMI
7023 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7024 to clarify what the problem is (bug#4291).
7025
f019fb21
LMI
7026 * simple.el (current-kill): Clarify what
7027 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7028 (auto-fill-mode): Document `auto-fill-function' in relation to
7029 `auto-fill-mode' (bug#2470).
f019fb21 7030
0794775d
LM
70312011-07-16 Lawrence Mitchell <wence@gmx.li>
7032
7033 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7034 method if slot is read-only (bug#9035).
7035
be39b8cc
MR
70362011-07-16 Martin Rudalics <rudalics@gmx.at>
7037
b796c9b7 7038 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7039 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7040 selected before, see discussion of (Bug#8615), (Bug#6954).
7041 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7042
6ccf7859
GM
70432011-07-15 Glenn Morris <rgm@gnu.org>
7044
7045 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7046 Respect help-form.
6ccf7859 7047
87e86684
LM
70482011-07-09 Lawrence Mitchell <wence@gmx.li>
7049
7050 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7051 (gnutls-negotiate): Use it.
7052
d6066239
LMI
70532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7054
b796c9b7
SM
7055 * net/gnutls.el (gnutls-negotiate):
7056 Upcase `gnutls-algorithm-priority'.
d6066239 7057
bd23ebc0
GM
70582011-07-15 Glenn Morris <rgm@gnu.org>
7059
c65bca65
GM
7060 * jka-compr.el (jka-compr-verbose): Move from here...
7061 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7062 Add missing :version tag.
7063 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7064
478615cc
LMI
70652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7066
7b41decb
LMI
7067 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7068 (gnutls-negotiate): Use it.
7069
dbc44fcd
LMI
7070 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7071
06789f97
LMI
7072 * info.el (Info-beginning-of-buffer): New command.
7073 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7074 announcing `b' as the key (bug#8325).
ab896c37 7075 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7076
c39da690
LMI
7077 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7078
3aa5f34b
LMI
7079 * international/mule-cmds.el
7080 (describe-specified-language-support): Make the error message
7081 clearer (bug#8905).
7082
4bf0979f
LMI
7083 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7084
478615cc
LMI
7085 * isearch.el (isearch-barrier): Add a doc string, since it's
7086 mentioned in a function doc string (bug#8678).
7087
75c68aa1
MR
70882011-07-15 Martin Rudalics <rudalics@gmx.at>
7089
7090 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7091 buffer argument (Bug#9083) and self-identifying label argument.
7092
a7c33da2
GM
70932011-07-15 Glenn Morris <rgm@gnu.org>
7094
7095 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7096
2f5c6024
LMI
70972011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7098
7099 * man.el (Man-fontify-manpage): Fix message when formatting the
7100 man page (bug#7929).
7101
0bb23927 71022011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7103
7104 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7105 argument LRM; if non-nil, append an invisible LRM character to the
7106 buffer name.
7107 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7108 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7109 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7110 paragraph direction.
cce4b0a7 7111
621ef9ab
LMI
71122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7113
d1583c48
LMI
7114 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7115 the man page name (bug#7929).
7116
6a57fb5f
LMI
7117 * image.el (put-image): Mention the `put-image' overlay property
7118 (bug#7834).
7119
d7956b14
LMI
7120 * scroll-bar.el (set-scroll-bar-mode): Mention that
7121 `scroll-bar-mode' lists the values (bug#7772).
7122
5b2d4a66
LMI
7123 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7124 command (bug#7729).
7125
7509a874
LMI
7126 * rect.el (apply-on-rectangle): Return the point after the last
7127 operation.
7128 (string-rectangle): Go to the point after the last operation
7129 (bug#7522).
7130
4fe74b19
LMI
7131 * printing.el (pr-toggle-region): Clarify the documentation
7132 slightly (bug#7493).
7133
b796c9b7
SM
7134 * time.el (display-time-update):
7135 Allow `display-time-mail-function' to return nil (bug#7158).
7136 Fix suggested by Detlev Zundel.
ab283561 7137
fc233c9d
LMI
7138 * vc/diff.el (diff): Clarify the order the file names are read
7139 (bug#7111).
7140
43f5740b
LMI
7141 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7142 the doc string (bug#7015).
7143
f2182a76
LMI
7144 * font-lock.el (font-lock-maximum-decoration): Mention what
7145 numeric levels mean (bug#6935).
7146
621ef9ab
LMI
7147 * startup.el (initial-buffer-choice): Don't mention the `none'
7148 selection, which is against policy.
7149
adc47434
MR
71502011-07-14 Martin Rudalics <rudalics@gmx.at>
7151
b796c9b7
SM
7152 * window.el (display-buffer-normalize-special):
7153 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7154
7e5bfb8f
EZ
71552011-07-14 Eli Zaretskii <eliz@gnu.org>
7156
7157 * subr.el (version<, version<=, version=): Mention "-CVS" and
7158 "-12345" alpha version numbers.
7159
27fa387a
CY
71602011-07-14 Chong Yidong <cyd@stupidchicken.com>
7161
7162 * bindings.el: Add advertised binding for set-mark-command
7163 (Bug#5772).
7164
8bdfa064
CY
71652011-07-14 Chong Yidong <cyd@stupidchicken.com>
7166
7167 * bindings.el (mode-line-other-buffer):
7168 * bookmark.el (bookmark-bmenu-2-window):
7169 * bs.el (bs-cycle-next, bs-cycle-previous):
7170 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7171 switch-to-buffer.
7172
7173 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7174 Delete.
8bdfa064 7175
5eba16a3
JB
71762011-07-14 Juanma Barranquero <lekktu@gmail.com>
7177
7178 * follow.el (follow-debug-message, follow-redisplay):
7179 * jka-cmpr-hook.el (with-auto-compression-mode):
7180 Fix typos in docstrings.
7181
15853710
LMI
71822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7183
a28e4607
LMI
7184 * subr.el (with-silent-modifications): Clarify somewhat what the
7185 macro inhibits (bug#6525).
7186
15853710
LMI
7187 * simple.el (eval-expression): Note what it does if called
7188 interactively (bug#6495).
7189
bee0fcef
CY
71902011-07-13 Chong Yidong <cyd@stupidchicken.com>
7191
b796c9b7
SM
7192 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7193 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7194
7195 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7196 Remove switch-to-buffer.
7197
58274504
LMI
71982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7199
bd2fcc8d
LMI
7200 * files.el (make-directory): Clarify that an error will be raised
7201 if there's an error (bug#6397).
7202
0f04b32c
LMI
7203 * startup.el (initial-buffer-choice): Add `none' as a choice
7204 (bug#6234).
7205
465c5fc8
LMI
7206 * subr.el (add-hook): Clarify section about buffer-local hooks
7207 (bug#6218).
7208
58274504
LMI
7209 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7210
bead9a43
JB
72112011-07-13 Juanma Barranquero <lekktu@gmail.com>
7212
7213 * tabify.el (untabify): Preserve the current column so that point
7214 doesn't move (bug#6032).
7215
3af98a7b
LMI
72162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7217
b796c9b7
SM
7218 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7219 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7220
6240145a
GM
72212011-07-13 Glenn Morris <rgm@gnu.org>
7222
7223 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7224 (dired-insert-directory): Give a message the first time
7225 if ls is found not to support --dired.
7226
1d8c2ccc
LMI
72272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228
7229 * simple.el (toggle-truncate-lines): Clarify what is toggled
7230 (bug#5580). Text by Drew Adams.
7231
5fc4038e
CY
72322011-07-13 Chong Yidong <cyd@stupidchicken.com>
7233
7234 * simple.el (blink-matching-open): Make the error message from the
7235 last change less verbose.
7236
bf6012e5
DN
72372011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7238
7239 * font-lock.el (font-lock-comment-face): Use the high contrast
7240 "yellow" color for font-lock-comment-face on low color terminals
7241 using a dark background color (bug#4221).
7242
343c3b5a
LMI
72432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7244
7e9505c5
LMI
7245 * dired.el (dired-insert-set-properties): Make the doc string
7246 reflect what it does now (bug#5325).
7247
c26fdcf5
LMI
7248 * simple.el (blink-matching-open): Say that we were unable to find
7249 the match within the limit, if we're limited (bug#5122).
7250
bb388cc5
LMI
7251 * international/mule-cmds.el (prefer-coding-system): Add an
7252 example (bug#4869).
7253
343c3b5a
LMI
7254 * progmodes/etags.el (tags-search): Document `file-list-form'
7255 (bug#4731).
7256
2a517d45
LM
72572011-07-13 Lawrence Mitchell <wence@gmx.li>
7258
7259 * net/browse-url.el (browse-url-default-browser)
7260 (browse-url-browser-function): Make the default browser choice a
7261 bit more logical (bug#4300). Also clean up the doc string.
7262
b6c78ef2
JB
72632011-07-13 Juanma Barranquero <lekktu@gmail.com>
7264
7265 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7266 binary endings (bug#4440).
7267
1c4dd947
LMI
72682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269
a2014063
LMI
7270 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7271 which can be pretty annoying (bug#8971).
7272
9c9c2d88
LMI
7273 * jka-compr.el (jka-compr-verbose): New variable, and use
7274 throughout (bug#8971).
7275
1c4dd947
LMI
7276 * info.el (Info-find-file): Fall back on the installation
7277 directory if we can't find the info node anywhere else.
7278
a1c9f41b
SO
72792011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7280
7281 * vc/vc.el (vc-revert-file):
7282 Don't set file time-stamp in the past. (Bug#5181)
7283
536f3d36
LMI
72842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7152b011
LMI
7286 * files.el (after-find-file): Give a better error message when
7287 trying to find a symlink that points to a file that doesn't exist
7288 (bug#4398).
7289
536f3d36
LMI
7290 * progmodes/cc-vars.el: Remove (probably) misleading comment
7291 (bug#4396).
7292
460c0fba
JB
72932011-07-12 Johan Bockgård <bojohan@gnu.org>
7294
7295 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7296
7a6bda45
CY
72972011-07-12 Chong Yidong <cyd@stupidchicken.com>
7298
7299 * mouse-sel.el: Hack restoring functionality, while keeping
7300 compatibility with 2010-07-03 changes to mouse selection.
7301 (mouse-sel-primary-overlay): New var.
7302 (mouse-sel-selection-alist): Use it.
7303 (mouse-sel-mode): Doc fix; remove points that are default features
7304 of mouse.el.
7305
c79598ef
JB
73062011-07-12 Johan Bockgård <bojohan@gnu.org>
7307
7308 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7309 Fix previous fix (bug#2490).
7310
ff8be6ef
RW
73112011-07-12 Roland Winkler <winkler@gnu.org>
7312
b796c9b7
SM
7313 * textmodes/bibtex.el (bibtex-initialize):
7314 Use pop-to-buffer-same-window.
ff8be6ef
RW
7315 (bibtex-search-entries): Fix interactive call.
7316
296ba3ee
LMI
73172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7318
f5242a02 7319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7320 Fontise bytecomp Error lines more correctly (bug#2490).
7321 Fix suggested by Johan Bockgård.
f5242a02 7322
296ba3ee
LMI
7323 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7324
7325 * dired-x.el (dired-guess-default): Use `delete-dups'.
7326
f69fd0d2
CY
73272011-07-12 Chong Yidong <cyd@stupidchicken.com>
7328
7329 * dired.el (dired-mark-prompt):
7330 * dired-aux.el (dired-read-shell-command): Doc fix.
7331
eab5dc07
LMI
73322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7333
b796c9b7
SM
7334 * mail/sendmail.el (sendmail-query-once):
7335 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7336 emacs -Q.
7337
7338 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7339
eab5dc07
LMI
7340 * cus-edit.el (custom-file): Take an optional no-error variable.
7341 (customize-save-variable): Set the variable, and give a warning if
7342 running under "emacs -q".
7343
a1e65d42
JB
73442011-07-11 Juanma Barranquero <lekktu@gmail.com>
7345
7346 * loadhist.el (unload-feature-special-hooks):
7347 Add `auto-coding-functions', `fill-nobreak-predicate' and
7348 `find-directory-functions' (bug#5327).
7349
1d52da10
LMI
73502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7351
be958f1d
LMI
7352 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7353
5bedb26c
LMI
7354 * cus-edit.el (custom-guess-name-alist): -alist variables should
7355 use the `alist' type (bug#3120). Suggested by Drew Adams.
7356
1d52da10
LMI
7357 * printing.el: Add documentation to all the `pr-toggle-' commands.
7358
cd394be1 73592011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7360
7361 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7362 backends where it makes sense (bug#2623).
7363
dcc88d8a
LMI
73642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7365
c3de9feb
LMI
7366 * dired-x.el (dired-guess-default): Remove duplicate shell command
7367 entries (bug#2028).
8a93078b 7368 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7369 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7370
dcc88d8a
LMI
7371 * subr.el (remove-duplicates): New conveniency function.
7372
505e3645
LMI
73732011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7374
7375 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7376 (bug#1526).
7377
73782011-07-10 Martin Rudalics <rudalics@gmx.at>
7379
7380 * window.el (display-buffer-normalize-default): Don't invert
7381 meaning of even-window-heights. Reported by Eli Zaretskii
7382 <eliz@gnu.org>.
7383
455e4fa1
BR
73842011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7385
7386 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7387
8e0bc3e9
CY
73882011-07-10 Chong Yidong <cyd@stupidchicken.com>
7389
7390 * window.el (display-buffer): Fix arguments to
7391 display-buffer-reuse-window in last change.
7392
fa7c3228
CY
7393 * faces.el (link): Use a less saturated blue on light backgrounds.
7394
7395 * startup.el (fancy-startup-text, fancy-about-text)
7396 (fancy-startup-tail): Use font-lock faces, for background safety.
7397
c0a7f300
BN
73982011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7399
b796c9b7
SM
7400 * emulation/viper-cmd.el (viper-change-state-to-vi):
7401 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7402
4dc2a129
MR
74032011-07-09 Martin Rudalics <rudalics@gmx.at>
7404
7405 * window.el (display-buffer-default-specifiers): Remove.
7406 (display-buffer-macro-specifiers): Remove default specifiers.
7407 (display-buffer-alist): Default to nil.
b796c9b7 7408 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7409 (display-buffer-pop-up-window): Allow splitting internal
7410 windows. Check whether a live window was created.
7411 (display-buffer-other-window-means-other-frame)
7412 (display-buffer-normalize-arguments): Rename to
7413 display-buffer-normalize-argument and rewrite. Set the
7414 other-window specifier.
7415 (display-buffer-normalize-special): New function.
7416 (display-buffer-normalize-options): Rename to
7417 display-buffer-normalize-default and rewrite.
7418 (display-buffer-normalize-options-inhibit): Remove.
7419 (display-buffer-normalize-specifiers): Rewrite.
7420 (display-buffer): Process other-window specifier and call
7421 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7422 more faithfully.
b796c9b7 7423 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7424 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7425 (display-buffer-in-window, display-buffer-alist-set):
7426 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7427 <tassilo@member.fsf.org>.
7428
2d43b8c9
LL
74292011-07-09 Leo Liu <sdl.web@gmail.com>
7430
7431 * register.el (insert-register): Restore accidental change on
7432 2011-06-26. (Bug#9028)
7433
7f9b7c53
GM
74342011-07-09 Glenn Morris <rgm@gnu.org>
7435
7436 * subr.el (remq): Handle the empty list. (Bug#9024)
7437
f042cfd8
AS
74382011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7439
7440 * mail/sendmail.el (send-mail-function): No longer delay custom
7441 initialization.
7442 * custom.el (custom-initialize-delay): Doc fix.
7443
856b2f11
SM
74442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7445
7446 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7447
afae1d68
MA
74482011-07-08 Michael Albinus <michael.albinus@gmx.de>
7449
7450 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7451 human-friendly prompt.
7452
0757af94
SM
74532011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7456 provided by a particular plugin.
7457
d760b731
LMI
74582011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7459
7460 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7461 save customizations (with "emacs -Q"), just set the variable
7462 instead of erroring out.
7463
7464 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7465
cd79ce90
JL
74662011-07-08 Juri Linkov <juri@jurta.org>
7467
7468 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7469 (archive-zip-update-case): Use 7z if found by `executable-find'.
7470 The order of searching the available programs is the same as in
7471 `archive-zip-extract' (bug#8968).
7472
14cc04aa
CY
74732011-07-07 Chong Yidong <cyd@stupidchicken.com>
7474
7475 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7476 (menu-bar-options-menu): Tweak descriptions.
7477
0a1848ec
LMI
74782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7479
7480 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7481 menu items into verb phrases (bug#1421). Also refill to fit under
7482 80 columns.
7483
f5bd0689
CY
74842011-07-07 Chong Yidong <cyd@stupidchicken.com>
7485
538e85c6
CY
7486 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7487 (Info-read-node-name): Doc fix (Bug#1084).
7488
f5bd0689
CY
7489 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7490 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7491 (end-of-sexp, beginning-of-sexp)
7492 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7493 (forward-symbol, forward-same-syntax, word-at-point)
7494 (sentence-at-point): Doc fix (Bug#1144).
7495
56ec5115
LMI
74962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7497
f3f8e37f
LMI
7498 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7499 should cover it (bug#1281).
7500
0757af94 7501 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7502
e9fce1ac 7503 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7504 negotiation fails, then possibly try again with a non-encrypted
7505 connection (bug#9017).
7506
56ec5115
LMI
7507 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7508 be used.
7509
c2f9aec8
RS
75102011-07-07 Richard Stallman <rms@gnu.org>
7511
7512 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7513 property, and handle its changed format.
7514 Look for the correct line number.
7515 Use file's line contents (but not past first =) to find
7516 correct line in message.
7517
ef7b981d 75182011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7519
7520 * international/characters.el (build-unicode-category-table):
7521 Delete it.
0757af94 7522 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7523
0757af94 7524 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7525 to src/chartab.c.
7526 (get-char-code-property): Call unicode-property-table-internal to
7527 load a file. Call get-unicode-property-internal where necessary.
7528 (put-char-code-property): Call unicode-property-table-internal to
7529 load a file. Call put-unicode-property-internal where necessary.
7530 put-unicode-property-internal where necessary.
0757af94
SM
7531 (char-code-property-description):
7532 Call unicode-property-table-internal to load a file.
c805dec0
KH
7533
7534 * international/charprop.el:
7535 * international/uni-bidi.el:
7536 * international/uni-category.el:
7537 * international/uni-combining.el:
7538 * international/uni-comment.el:
7539 * international/uni-decimal.el:
7540 * international/uni-decomposition.el:
7541 * international/uni-digit.el:
7542 * international/uni-lowercase.el:
7543 * international/uni-mirrored.el:
7544 * international/uni-name.el:
7545 * international/uni-numeric.el:
7546 * international/uni-old-name.el:
7547 * international/uni-titlecase.el:
7548 * international/uni-uppercase.el: Regenerate.
7549
7550 * loadup.el: Load international/charprop.el before
7551 international/characters.
7552
e14b388a
CY
75532011-07-07 Chong Yidong <cyd@stupidchicken.com>
7554
7555 * window.el (next-buffer, previous-buffer): Signal an error if
7556 called from a minibuffer window.
7557
7558 * bindings.el: Revert 2011-07-04 change.
7559
354cf0ba
RS
75602011-07-06 Richard Stallman <rms@gnu.org>
7561
7562 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7563 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7564 Treat markers like ints.
7565 (rmail-mime-entity): Doc fix.
7566
a48868a7
LMI
75672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7568
4906cd3d
LMI
7569 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7570 defcustom again for backwards compatibility.
7571
e0457abe
LMI
7572 * simple.el (shell-command-on-region): Fill.
7573
d67f7e1f
LMI
7574 * dired-aux.el (dired-kill-line): Add a doc string.
7575
fe204702
LMI
7576 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7577 to "\\sw\\|\\s_" (bug#358).
7578
a48868a7
LMI
7579 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7580 (dired-unmark-backward): Ditto.
7581 (dired-flag-backup-files): Ditto.
7582
7583 * dired-x.el (dired-mark-sexp): Ditto.
7584
aa8a705c
RS
75852011-07-06 Richard Stallman <rms@gnu.org>
7586
7587 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7588 (rmail-mime-entity): New arg TRUNCATED.
7589 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7590 New functions.
7591 (rmail-mime-save): Warn if entity is truncated.
7592 (rmail-mime-toggle-hidden): Likewise, for showing.
7593 (rmail-mime-process-multipart): Record when an entity is truncated.
7594
a9a936b9
RS
7595 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7596 if ENTITY is a string.
7597
1f2b92cb
LMI
75982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7599
f4f73198 7600 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7601 of faces when `M-C-x'-ing their definitions (bug#8378).
7602 Also clean up the code slightly.
f4f73198 7603
12b16734 7604 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7605 because that makes the colors go away.
12b16734 7606
f0691d22
LMI
7607 * mail/sendmail.el (send-mail-function): Change the default to
7608 `sendmail-query-once'.
9e87df06 7609 (sendmail-query-once): Add an autoload cookie.
f0691d22 7610
1f2b92cb
LMI
7611 * net/network-stream.el (network-stream-open-starttls): Try using
7612 a plain connection even if the server offered STARTTLS, and we
7613 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7614 capability. This should make smtpmail.el work in slightly more
7615 configurations.
7616
1cdd2a1b
MA
76172011-07-06 Michael Albinus <michael.albinus@gmx.de>
7618
7619 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7620 New defun.
7621 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7622
fbcc67e2
MM
76232011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7624
7625 * progmodes/sql.el: Version 3.0
0757af94 7626 (sql-product-alist): Add product :completion-object,
fbcc67e2 7627 :completion-column, and :statement attributes.
0757af94 7628 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7629 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7630 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7631 ansi keywords.
7632 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7633 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7634 (sql-oracle-show-reserved-words): New function for development.
7635 (sql-product-font-lock): Simplify for source code buffers.
7636 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7637 New functions.
7638 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7639 (sql-mode-map): Add statement movement functions.
7640 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7641 New variable.
fbcc67e2
MM
7642 (sql-statement-regexp, sql-beginning-of-statement)
7643 (sql-end-of-statement, sql-signum): New functions.
0757af94 7644 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7645 (sql-show-sqli-buffer): Bug fix.
7646 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7647 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7648 with sql-interactive-mode.
7649 (sql-save-connection): Save buffer local settings.
0757af94 7650 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7651 (sql-product-interactive): Bug fix.
7652 (sql-preoutput-hold): New variable.
7653 (sql-interactive-remove-continuation-prompt): Bug fixes.
7654 (sql-debug-redirect): New variable.
7655 (sql-str-literal): New function.
7656 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7657 Redesign.
fbcc67e2
MM
7658 (sql-oracle-save-settings, sql-oracle-restore-settings)
7659 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7660 (sql-completion-object, sql-completion-column)
7661 (sql-completion-sqlbuf): New variables.
7662 (sql-build-completions-1, sql-build-completions)
7663 (sql-try-completion): New functions.
7664 (sql-read-table-name): Use them.
7665 (sql-contains-names): New buffer local variable.
7666 (sql-list-all, sql-list-table): Use it.
7667 (sql-oracle-completion-types): New variable.
7668 (sql-oracle-completion-object, sql-sqlite-completion-object)
7669 (sql-postgres-completion-object): New functions.
7670
d4eaeab1
GM
76712011-07-06 Glenn Morris <rgm@gnu.org>
7672
7673 * window.el (pop-to-buffer): Doc fix.
7674
322b7dab 76752011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7676
7677 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7678
322b7dab 76792011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7680
322b7dab 7681 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7682
322b7dab 7683 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7684
605dd5bf
CY
76852011-07-05 Chong Yidong <cyd@stupidchicken.com>
7686
7687 * button.el (button): Inherit from link face. Suggested by Dan
7688 Nicolaescu.
7689
7dbfa719
SM
76902011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7691
3db614b0
SM
7692 * progmodes/gdb-mi.el: Fit in 80 columns.
7693 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7694 switch-to-buffer.
7695
7dbfa719
SM
7696 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7697 if imenu is simply not configured (bug#8941).
7698
919d884a
KM
76992011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7700
7701 * allout.el (allout-post-undo-hook): New allout outline-change
7702 event hook to signal undo activity.
7703 (allout-post-command-business): Run allout-post-undo-hook if an
7704 undo just occurred.
7dbfa719
SM
7705 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7706 * allout-widgets.el (allout-widgets-after-undo-function):
7707 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7708 in the vicinity of an undo.
7709 (allout-widgets-mode): Include allout-widgets-after-undo-function
7710 on the new allout-post-undo-hook.
7711
450a0f09
SM
77122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7715 Let define-derived-mode define it.
7716 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7717 cycles of abbrev-table inheritance (bug#8998).
7718
2de69e00
RW
77192011-07-05 Roland Winkler <winkler@gnu.org>
7720
7721 * textmodes/bibtex.el: Add support for biblatex.
7722 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7723 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7724 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7725 (bibtex-entry-alist, bibtex-field-alist): New variables.
7726 (bibtex-entry-field-alist): Obsolete alias for
7727 bibtex-BibTeX-entry-alist.
7728 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7729 (bibtex-set-dialect): New command.
7730 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7731 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7732 Bind via bibtex-set-dialect.
2de69e00
RW
7733 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7734 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7735 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7736 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7737 Define via bibtex-set-dialect.
450a0f09
SM
7738 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7739 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7740 (bibtex-vec-push, bibtex-vec-incr): New functions.
7741 (bibtex-format-entry, bibtex-field-list)
7742 (bibtex-print-help-message, bibtex-validate)
7743 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7744
2dcdbdd9
SM
77452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * progmodes/compile.el (compilation-goto-locus):
7748 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7749 * bs.el (bs-cycle-next, bs-cycle-previous):
7750 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7751 * bindings.el (mode-line-other-buffer):
7752 * autoinsert.el (auto-insert):
7753 * arc-mode.el (archive-extract):
7754 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7755
b27640fe
JB
77562011-07-05 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7759 Fix check of `emacs-lock-unlockable-modes'.
7760 Coerce true values of `emacs-lock--try-unlocking' to t.
7761
53bbe3ad
JB
77622011-07-05 Juanma Barranquero <lekktu@gmail.com>
7763
7764 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7765 * emacs-lock.el: New file.
7766
1d3cdbc7
JD
77672011-07-05 Julien Danjou <julien@danjou.info>
7768
7769 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7770 than `boundp' to check if face is set.
7771
9173deec
JB
77722011-07-05 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * register.el (registerv-make):
7775 * window.el (window-min-height): Fix typos in docstrings.
7776
869795d6
JD
77772011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7778
9173deec 7779 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7780 Update doc string.
7781
b768cdcd
JB
77822011-07-04 Juanma Barranquero <lekktu@gmail.com>
7783
7784 * server.el (server-execute): Catch quit and call
7785 `server-return-error' to pass the error back to emacsclient and
7786 close the connection (bug#8942).
7787
13aa217b
KM
77882011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7789
7790 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7791 insecure exception for current topic. Also note that auto-saves
7792 are handled differently.
7793
7794 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7795 State variables for tracking auto-save inhibition situation.
7796
7797 (allout-write-contents-hook-handler): Rename from
7798 'allout-write-file-hook-handler', and describe how it depends on
7799 write-contents-functions sensitivity to non-nil value to prevent
7800 file write.
7801
7802 (allout-auto-save-hook-handler): Remove. auto-save does not check
7803 this in individual buffers, only in the starting buffer, so this
7804 is not the right way for us to inhibit auto-save in a buffer
7805 according to its condition.
7806
7807 (allout-mode): Use new allout-write-contents-hook-handler, and
7808 only with write-contents-functions. Remove auto-save provisions -
7809 they're implemented elsewhere.
7810
7811 (allout-before-change-handler): If undo is in progress, note that
7812 for attention of allout-post-command-business.
7813
7814 (allout-post-command-business): If the command we're following was
7815 an undo, check for change in the status of encrypted items and
7816 adjust auto-save inhibitions accordingly.
7817
7818 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7819 according to whether there are or aren't any plain-text topics
7820 pending encryption.
7821
2dcdbdd9 7822 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7823 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7824 if there are plain-text topics pending encryption.
13aa217b
KM
7825
7826 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7827 buffer-saved-size and some allout state to not inhibit auto-saves
7828 if there are no longer any plain-text topics pending encryption.
7829
0757af94
SM
7830 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7831 No longer provide for exemption of the current topic.
13aa217b 7832
ac89b32c
JL
78332011-07-04 Juri Linkov <juri@jurta.org>
7834
7835 Add 7z operations to delete and save changed members (bug#8968).
7836 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7837 New defcustoms.
7838 (archive-7z-write-file-member): New function.
7839 (archive-7z-summarize): Fix the number of dashes in the
7840 listing output.
7841
8fa39615
SM
78422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7845 (bug#8958).
7846
2f11b3f1
CY
78472011-07-04 Chong Yidong <cyd@stupidchicken.com>
7848
d66fef2b
CY
7849 * bindings.el: Ignore next-buffer and previous-buffer in
7850 minibuffer-local-map.
7851
2f11b3f1
CY
7852 * font-lock.el (font-lock-builtin-face): Change light background
7853 color to dark slate blue (Bug#6693).
7854
f932a347
WD
78552011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7856
7857 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7858
c8af70e1
SM
78592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7860
7861 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7862 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7863 Add switch-to-buffer.
7864
f158badc
LMI
78652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7866
7867 * isearch.el (isearch-search-fun-function): Clarify further the
7868 meaning of the function returned.
7869
6d95bd46
MA
78702011-07-04 Michael Albinus <michael.albinus@gmx.de>
7871
7872 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7873
7874 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7875 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7876 Use it.
7877 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7878 `tramp-default-remote-path' does not exist.
7879 (tramp-send-command-and-read): New optional argument NOERROR.
7880 (tramp-open-connection-setup-interactive-shell)
7881 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7882 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7883 (tramp-process-sentinel): Flush also process' connection property.
7884 (tramp-sh-handle-start-file-process): Do not set process
7885 sentinel. It is done now ...
7886 (tramp-maybe-open-connection): ... here. (Bug#8929)
7887
909e6b67
MK
78882011-07-04 MON KEY <monkey@sandpframing.com>
7889
7890 * play/animate.el (animate-string): Doc fixes and allow changing
7891 the buffer name (bug#5417).
7892
78932011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7894
c8af70e1 7895 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7896
f34755dc
PE
78972011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7898
396cec72
PE
7899 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7900 This is simpler and helps future-proof the code.
7901 (timer-until): Use time-subtract and float-time.
08235028 7902 (timer--time-less-p): Use time-less-p.
f34755dc 7903
56e6cc31
JB
79042011-07-04 Juanma Barranquero <lekktu@gmail.com>
7905
3abb79e5
JB
7906 * type-break.el (timep): Use the value of `float-time' to avoid a
7907 byte-compiler warning.
7908
56e6cc31
JB
7909 * server.el (server-eval-and-print): Return any result, even nil.
7910
7b9430b4
PE
79112011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7912
7913 * type-break.el: Accept time formats that the builtins accept.
7914 (timep, type-break-time-difference): Accept any format that
7915 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7916 This is simpler and helps future-proof the code.
7917 (type-break-time-difference): Round rather than ignoring
7918 subseconds components.
7919
3034e9e7
LMI
79202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7921
7922 * info.el (Info-apropos-matches): Make non-interactive, since it
7923 doesn't seem to do anything useful as a command (bug#8829).
7924
1485f4c0
CY
79252011-07-03 Chong Yidong <cyd@stupidchicken.com>
7926
7927 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7928 Move from faces.el.
1485f4c0
CY
7929 (frame-default-terminal-background): New function.
7930
7931 * custom.el (custom-push-theme): Don't record faces in `changed'
7932 theme; this doesn't work correctly for per-frame face settings.
7933 (disable-theme): Use face-set-after-frame-default to reset faces.
7934 (custom--frame-color-default): New function.
7935
9fa3dd45
LMI
79362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7937
c8af70e1 7938 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7939 (bug#8769).
7940
6cbbc20c
KR
79412011-03-29 Kevin Ryde <user42@zip.com.au>
7942
7943 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7944 `perl-Test2' extend to match possible "fail #N" rep count
7945 (bug#8377).
7946
c7f98048
LMI
79472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7948
65676592
LMI
7949 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7950 `smtpmail-via-smtp' now returns the error instead of nil.
7951
c7f98048
LMI
7952 * isearch.el (isearch-search-fun-function): Clarify the doc string
7953 (bug#8101).
7954
56e6cc31 79552011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7956
7957 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7958 unnecessary spaces (bug#8987).
7959
2b216704
LMI
79602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7961
7962 * net/network-stream.el (open-network-stream): Use the
7963 :end-of-capability command thoughout.
7964
79652011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7966
7967 * net/network-stream.el (open-network-stream): Add the
7968 :end-of-capability command parameter, used by pop3.el.
7969
36adf6ce
LMI
79702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7971
1ca0da0e
LMI
7972 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7973
fc00f69c
LMI
7974 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7975 for list)" (bug#6475).
7976
28fd8759 7977 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7978 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7979 an error (bug#6297).
7980
0dd8b6da
LMI
7981 * man.el (Man-reference-regexp): Allow matching possible
7982 word-wrapped references (bug#6289).
7983
ce1438d6
LMI
7984 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7985 for consistency with the other vc buffers (bug#6197).
7986 (vc-checkin): Ditto.
7987
7988 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7989
36adf6ce
LMI
7990 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7991
e83cc1f7
LMI
79922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7993
8a20ca4c
LMI
7994 * custom.el (defcustom): Clarify that :set is only used in the
7995 Customize user interface (bug#6089).
7996
83319045
LMI
7997 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7998 associated with a file, refuse to run instead of erroring out
7999 (bug#6084).
8000
a8392169
LMI
8001 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8002 the doc string, since it appears that using `fill-column' always
8003 controls the width (bug#7845).
8004
e83cc1f7
LMI
8005 * simple.el (shell-command-on-region): Say where the error output
8006 went if `shell-command-default-error-buffer' is set (bug#6857).
8007
e47ca23b
KM
80082011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8009
8010 * allout.el (allout-yank-processing): Adjust cursor position for
8011 backwards-deleted space.
8012
8013 (allout-rebullet-heading): Register changes with
8014 allout-exposure-changed-hook, so the modified topic is properly
8015 decorated.
8016
5cf56143
LMI
80172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8018
08549772
LMI
8019 * minibuffer.el (completion-in-region): Document PREDICATE
8020 (bug#7136).
8021
48e96771
LMI
8022 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8023 of keyword/argument pairs (bug#6904).
8024
c8af70e1
SM
8025 * replace.el (multi-occur):
8026 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8027
e17d05e2
LMI
80282011-07-02 Drew Adams <drew.adams@oracle.com>
8029
8030 * dired.el (dired-mark-if): Make the message about whether it's
8031 marking or unmarking clearer (bug#8523).
8032
063b0e45
LMI
80332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8034
8035 * disp-table.el (display-table-print-array): New function.
8036 (describe-display-table): Use it to print the vectors more pretty
8037 (Bug#8859).
8038
28545e04
MR
80392011-07-02 Martin Rudalics <rudalics@gmx.at>
8040
8041 * window.el (window-state-get-1): Don't assign clone numbers.
8042 Add clone-of item to list of window parameters.
8043 (window-state-put-2): Don't process clone numbers.
8044 (display-buffer-alist): Fix doc-string.
8045
3349e122
SM
80462011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * subr.el (remq): Don't allocate if it's not needed.
8049 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8050 (keymap--merge-bindings): New functions.
8051 (keymap-canonicalize): Use them to refine the canonicalization.
8052 * minibuffer.el (minibuffer-local-completion-map)
8053 (minibuffer-local-must-match-map): Move initialization from C.
8054 (minibuffer-local-filename-completion-map): Move initialization from C;
8055 don't inherit from anything here.
8056 (minibuffer-local-filename-must-match-map): Make obsolete.
8057 (completing-read-default): Use make-composed-keymap to combine
8058 minibuffer-local-filename-completion-map with either
8059 minibuffer-local-must-match-map or
8060 minibuffer-local-filename-completion-map.
8061
d224ac83
GM
80622011-07-01 Glenn Morris <rgm@gnu.org>
8063
3de63bf8
GM
8064 * type-break.el (type-break-time-sum): Use dolist.
8065
d224ac83
GM
8066 * textmodes/flyspell.el (flyspell-word-search-backward):
8067 Replace CL function.
8068
1a1e3f32
SM
80692011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8070
fe3f64d5
SM
8071 * mouse.el (mouse--strip-first-event): New function.
8072 (function-key-map): Use it to map fringe clicks to normal clicks
8073 by default.
8074
eb604e34
SM
8075 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8076 (vc-bzr-revision-completion-table): Add support for annotate and date.
8077
1a1e3f32
SM
8078 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8079 inherit from parent.
8080
5bd35902
LMI
80812011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8082
ace6c69c 8083 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8084 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8085
191e2bed
LMI
8086 * dired.el (dired-mode): Fix up the doc string as suggested by
8087 Drew Adams (bug#8817).
8088
5bd35902
LMI
8089 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8090 cookie, since the manual says that it should be possible to add
8091 this function to `find-file-hook' (bug#8709).
8092
eee8207a
TZ
80932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8094
8095 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8096 here. Noted Ted Zlatanov as the maintainer.
8097 (cfengine-common-settings, cfengine-common-syntax): New functions
8098 to set up common things between `cfengine-mode' and
8099 `cfengine3-mode'.
8100 (cfengine3-mode): New mode.
8101 (cfengine3-defuns cfengine3-defuns-regex
8102 (cfengine3-class-selector-regex cfengine3-category-regex)
8103 (cfengine3-vartypes cfengine3-font-lock-keywords)
8104 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8105 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8106
36b148cf
MA
81072011-07-01 Michael Albinus <michael.albinus@gmx.de>
8108
8109 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8110
8111 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8112
0bf4ba9a
MR
81132011-07-01 Martin Rudalics <rudalics@gmx.at>
8114
8115 * window.el (same-window-buffer-names, same-window-regexps)
8116 (same-window-p, special-display-frame-alist)
8117 (special-display-popup-frame, special-display-function)
8118 (special-display-buffer-names, special-display-regexps)
8119 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8120 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8121 (split-window-preferred-function, split-height-threshold)
8122 (split-width-threshold, even-window-heights)
8123 (display-buffer-mark-dedicated, window-splittable-p)
8124 (split-window-sensibly, window-safely-shrinkable-p):
8125 Un-obsolete.
8126 (display-buffer): Don't spread args with function specifier
8127 because special-display-popup-frame won't like it.
8128
35837f51
PE
81292011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8130
d0672f86
PE
8131 Time-stamp simplifications and fixes.
8132 These improve accuracy slightly, and future-proof the code
8133 against some potential changes to current-time format.
8134
b9444d97
PE
8135 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8136 by using time-since and float-time.
8137
0ef923dc
PE
8138 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8139 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8140 + NNN microseconds".
8141
2f81380d
PE
8142 * type-break.el (type-break-time-sum): Rewrite using time-add.
8143
845b5c3e
PE
8144 * play/hanoi.el (hanoi-current-time-float): Remove.
8145 All uses replaced by float-time.
8146
ee6f1be0
PE
8147 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8148 This yields a more-accurate answer.
8149 (rng-time-to-float): Remove; no longer needed.
8150
fe955043
PE
8151 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8152
5777162a
PE
8153 * calendar/timeclock.el (timeclock-seconds-to-time):
8154 Defalias to seconds-to-time, since they're the same thing.
8155
3103f8b6 8156 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8157 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8158 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8159
0e61a35f
SM
81602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * window.el (bury-buffer): Don't iconify the only frame.
8163 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8164 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8165
ddd63a1e
CY
81662011-07-01 Chong Yidong <cyd@stupidchicken.com>
8167
0e61a35f
SM
8168 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8169 Add mouse-yank-primary.
ddd63a1e 8170
055f4923
TZ
81712011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8172
8173 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8174
6a2fb145
SM
81752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8178 (find-library-name): Use it to find relative load names when provided
8179 absolute file name (bug#8803).
8180
fd4983f2
LMI
81812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8182
887d14ad
LMI
8183 * textmodes/flyspell.el (flyspell-word): Consider words that
8184 differ only in case as potential doublons (bug#5687).
8185
c53dc7fc
LMI
8186 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8187 Remove two rather uninteresting debugging-like messages to make
8188 debbugs.el more silent.
8189
fd4983f2
LMI
8190 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8191 a password-like phrase.
8192
7a71b18d 81932011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8194
8195 * progmodes/cc-guess.el: New file.
8196
6a2fb145 8197 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8198
8199 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8200 derived from `c-basic-common-init'.
8201
8202 * progmodes/cc-mode.el (top-level): Require cc-guess.
8203 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8204
1fa280a3
LM
82052011-06-30 Lawrence Mitchell <wence@gmx.li>
8206
8207 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8208
e6597158
AM
82092011-06-30 Alan Mackenzie <acm@muc.de>
8210
1fa280a3
LM
8211 * progmodes/cc-engine.el (c-guess-continued-construct):
8212 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8213 lock is disabled. Name this case as "CASE G".
8214
68ba37fb
KM
82152011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8216
8217 * allout.el (allout-yank-processing): Fix injection of extra space
8218 between bullet and non-whitespace character in first topic when
8219 pasting, ensuring that the actual spacing in the pasted topic
8220 following the bullet char is preserved. This extra space was
8221 causing pasted encrypted topics to get a decrypted status even
8222 when the content was actually still encrypted. Now the decryption
8223 status from before the paste is preserved.
8224
8225 (allout-flag-region): Set all allout overlays so they evaporate
8226 when reduced to zero length (evanescent), to prevent overlay
8227 leakage.
8228
887a0b34
GM
82292011-06-30 Glenn Morris <rgm@gnu.org>
8230
94b9acce
GM
8231 * w32-fns.el (w32-charset-info-alist): Declare.
8232
1d9b46d4
GM
8233 * find-dired.el (find-grep-options): Simplify.
8234
cc232200
GM
8235 * term/ns-win.el (ns-set-resource): Declare.
8236
28e77c46
GM
8237 * ses.el (row, col): Declare dynamic variables honestly.
8238
887a0b34
GM
8239 * textmodes/reftex-parse.el (index-tags): Declare.
8240
658d8eb8
CY
82412011-06-30 Chong Yidong <cyd@stupidchicken.com>
8242
8243 * cus-edit.el (customize-push-and-save): New function.
8244
8245 * files.el (hack-local-variables-confirm): Use it.
8246
1fa280a3
LM
8247 * custom.el (load-theme): New arg NO-CONFIRM.
8248 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8249 (custom-enabled-themes): Doc fix.
8250
8251 * cus-theme.el (customize-create-theme)
8252 (custom-theme-merge-theme): Callers to load-theme changed.
8253
bb617717
LMI
82542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8255
d61bdd5d
LMI
8256 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8257 short URLs have at least one dot in them (bug #7614).
8258
bb617717
LMI
8259 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8260 nil, because using a pty is apparently too slow (bug #895).
8261
2f31f37a
LMI
82622011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8263
8264 * mail/sendmail.el (sendmail-query-once): New function.
8265 (sendmail-query-once-function): New variable.
8266
3076b24e
GM
82672011-06-29 Glenn Morris <rgm@gnu.org>
8268
faf2a174
GM
8269 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8270
3076b24e
GM
8271 * ses.el (top-level): Require cl when compiling.
8272 (ses-set-localvars): Fix error statement.
8273 Call it at compile time to silence a storm of warnings.
8274
5386012d
MR
82752011-06-29 Martin Rudalics <rudalics@gmx.at>
8276
8277 * window.el (normalize-live-buffer): Rename to
8278 window-normalize-buffer.
8279 (normalize-live-frame): Rename to window-normalize-frame.
8280 (normalize-any-window): Rename to window-normalize-any-window.
8281 (normalize-live-window): Rename to window-normalize-live-window.
8282 (make-window-atom): Rename to window-make-atom.
8283 (window-resize-reset): Rename to window--resize-reset.
8284 (window-resize-reset-1): Rename to window--resize-reset-1.
8285 (resize-mini-window): Rename to window--resize-mini-window.
8286 (resize-subwindows-skip-p): Rename to
8287 window--resize-subwindows-skip-p.
8288 (resize-subwindows-normal): Rename to
8289 window--resize-subwindows-normal.
8290 (resize-subwindows): Rename to window--resize-subwindows.
8291 (resize-other-windows): Rename to window--resize-siblings.
8292 (resize-this-window): Rename to window--resize-this-window.
8293 (resize-root-window): Rename to window--resize-root-window.
8294 (resize-root-window-vertically): Rename to
8295 window--resize-root-window-vertically.
8296 (normalize-buffer-to-display): Rename to
8297 window-normalize-buffer-to-display.
8298 (normalize-buffer-to-switch-to): Rename to
8299 window-normalize-buffer-to-switch-to.
8300 Correspondingly update all callers of the functions listed
8301 above.
8302 (display-buffer-alist, display-buffer-normalize-arguments)
8303 (display-buffer-normalize-options, display-buffer)
8304 (display-buffer-alist-set): Use "function" instead of
8305 "fun-with-args".
8306
1176868d
CY
83072011-06-28 Chong Yidong <cyd@stupidchicken.com>
8308
8309 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8310 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8311 debbugs.gnu.org. Mention acknowledgment email.
8312
20a7a65f
LMI
83132011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8314
8315 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8316 buffer multibyteness, since it shouldn't matter.
8317
5f45cca5
MR
83182011-06-28 Martin Rudalics <rudalics@gmx.at>
8319
8320 * window.el (display-buffer-in-side-window): Handle dedicated
8321 windows as in display-buffer-reuse-window.
8322 (display-buffer-normalize-alist): Use value of override
8323 specifier.
8324 (display-buffer-normalize-specifiers): Use value of
8325 other-window-means-other-frame specifier.
8326 (display-buffer-alist): Rewrite some texts in widgets.
8327 (display-buffer): Spread arguments when calling function
8328 specified by fun-with-args.
8329
ad85fe1f
DD
83302011-06-28 Deniz Dogan <deniz@dogan.se>
8331
1fa280a3
LM
8332 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8333 Unnest `let'.
da68c4c8 8334
ad85fe1f
DD
8335 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8336 selectors (Bug#5732).
ec49bd31 8337 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8338
a08cc025
JA
83392011-06-27 Jari Aalto <jari.aalto@cante.net>
8340
8341 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8342 (eshell-ls-date-format): New defcustom.
8343 (eshell-ls-file): Use it.
8344
e2b551c5
SM
83452011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8348
8982b231
KY
83492011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8350
8351 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8352 (ange-ftp-make-tmp-name): New arg.
8353 (ange-ftp-file-local-copy): Use it.
8354
36c9fa27
J
83552011-06-27 Jambunathan K <kjambunathan@gmail.com>
8356
8357 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8358 no-conversion (Bug#8870).
8359
d68443dc
MR
83602011-06-27 Martin Rudalics <rudalics@gmx.at>
8361
8362 * window.el (window-right, window-left, window-child)
8363 (window-child-count, window-last-child)
8364 (window-iso-combination-p, walk-window-tree-1)
8365 (window-atom-check-1, window-tree-1, delete-window)
8366 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8367 new naming conventions - window-vchild, window-hchild,
8368 window-next and window-prev are now called window-top-child,
8369 window-left-child, window-next-sibling and window-prev-sibling
8370 respectively.
d615d6d2
MR
8371 (resize-window-reset): Rename to window-resize-reset.
8372 (resize-window-reset-1): Rename to window-resize-reset-1.
8373 (resize-window): Rename to window-resize.
8374 (window-min-height, window-min-width)
8375 (resize-mini-window, resize-this-window, resize-root-window)
8376 (resize-root-window-vertically, adjust-window-trailing-edge)
8377 (enlarge-window, shrink-window, maximize-window)
8378 (minimize-window, delete-window, quit-restore-window)
8379 (split-window, balance-windows, balance-windows-area-adjust)
8380 (balance-windows-area, window-state-put-2)
8381 (display-buffer-even-window-sizes, display-buffer-set-height)
8382 (display-buffer-set-width, set-window-text-height)
8383 (fit-window-to-buffer): Rename all "resize-window" prefixed
8384 calls to use the "window-resize" prefix convention.
8385 (display-buffer-alist): Fix symbol for label specifier.
8386 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8387 corresponding specifier.
8388 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8389
b6458526
VB
83902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8391
8392 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8393 convention.
8394 (ses-call-printer): Does not pass an empty string to formatter when the
8395 cell is empty to keep from barking printer Calc math-format-value.
8396
d31fd9ac
RS
83972011-06-27 Richard Stallman <rms@gnu.org>
8398
43d5bf84
RS
8399 * battery.el (battery-mode-line-limit): New variable.
8400 (battery-update): Handle it.
8401
d31fd9ac
RS
8402 * mail/rmailmm.el (rmail-mime-process-multipart):
8403 Handle truncated messages.
8404
819a6054
GM
84052011-06-27 Glenn Morris <rgm@gnu.org>
8406
8407 * progmodes/flymake.el (flymake-err-line-patterns):
8408 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8409
cedc73f2
VB
84102011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8411
819a6054 8412 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8413 (ses--clean-!, ses--clean-_): New functions.
8414 (ses-range): Add configurability of readout order, and conversion
8415 to Calc vector.
8416
5e5d49b6
VB
8417 * ses.el (ses-repair-cell-reference-all): New function.
8418 (ses-cell-symbol): Set macro as safe, so that it can be used in
8419 formulas.
8420
56e6cc31 8421 * ses.el: Update cycle detection algorithm.
90ca8b49 8422 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8423 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8424 (ses-set-localvars): New function.
8425 (ses-make-cell): Add property-list as a cell element.
8426 (ses-cell-property-get-fun, ses-cell-property-get)
8427 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8428 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8429 New functions.
90ca8b49
VB
8430 (ses-cell-property-set, ses-cell-property-pop)
8431 (ses-cell-property-get-handle): New macro.
8432 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8433 New aliases, used for code readability.
8434 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8435 cycle detection.
8436 (ses-self-reference-early-detection): New defcustom.
fac916bf 8437 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8438 (ses-mode): Use ses-set-localvars.
8439 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8440 before lauching the update processing.
8441 (ses-initialize-Dijkstra-attempt): New function.
8442 (ses-recalculate-cell): Update for cycle detection based on
8443 Dijkstra algorithm.
8444
2bb63e81
VB
8445 * ses.el: Fix commenting and indenting convention.
8446
c9d29fb8
SM
84472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8448
8449 * bs.el (bs-cycle-next): Complete last change.
8450
d8e4b68b
JB
84512011-06-27 Drew Adams <drew.adams@oracle.com>
8452
8453 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8454
40098786
LMI
84552011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8456
c9d29fb8
SM
8457 * net/network-stream.el (network-stream-open-starttls):
8458 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8459 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8460
40098786
LMI
8461 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8462 to binary to possibly avoid line encoding issues on Windows (among
8463 other things).
8464
468d09d4
LMI
84652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8466
8467 * net/network-stream.el (open-network-stream): Return an :error
8468 saying what the problem was, if possible.
8469
8470 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8471 server.
8472
8473 * net/network-stream.el (network-stream-open-starttls): If we
8474 wanted to use STARTTLS, and the server offered it, but we weren't
8475 able to because we had no STARTTLS support, then close the connection.
8476 (open-network-stream): Return an :error element, if present.
8477
16f07dd7
CY
84782011-06-26 Chong Yidong <cyd@stupidchicken.com>
8479
88821ca0
CY
8480 * hl-line.el (hl-line-sticky-flag): Doc fix.
8481 (global-hl-line-sticky-flag): New option (Bug#8323).
8482 (global-hl-line-highlight): Obey it.
8483
16f07dd7
CY
8484 * vc/vc.el (vc-revert-show-diff): Default to t.
8485
6b5ccddf
KM
84862011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8487
c9d29fb8
SM
8488 * allout-widgets.el (allout-widgets-post-command-business):
8489 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8490 undecorated when an isearch is continued past, and isearch
8491 automatically collapses them. This leads to "widget leaks", where
8492 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8493 hidden widgets can slow down cursor travel, substantially.
8494 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8495 so we're doing without this nicety.
8496
8497 (allout-widgets-tally-string): Don't try to do a hash-table-count
8498 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8499 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8500 *Messages* when allout-widgets-maintain-tally is t.
8501
355f2e07
MR
85022011-06-26 Martin Rudalics <rudalics@gmx.at>
8503
8504 * window.el (display-buffer-normalize-argument): Rename to
8505 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8506 LABEL argument. Respect special-display-function when popping up
8507 a new frame. Fix code searching for a window showing the buffer
8508 on another frame.
c9d29fb8
SM
8509 (display-buffer-normalize-specifiers):
8510 Call display-buffer-normalize-arguments.
355f2e07
MR
8511 (display-buffer-in-window): Don't undedicate the window if its
8512 buffer remains the same.
8513 Reported by Drew Adams <drew.adams@oracle.com>.
8514 (display-buffer-alist): Add choice for same-window macro
8515 specfier.
8516 (display-buffer): Mention special meaning of LABEL argument in
8517 doc-string. Fix quoting. Don't pop up a new frame even as
8518 fallback.
8519
7ca8fc42
JB
85202011-06-26 Juanma Barranquero <lekktu@gmail.com>
8521
8522 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8523 avoid deleting the current window in some cases (bug#8911).
8524
bc312254
AS
85252011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8526
8527 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8528 (Bug#8934)
8529
2db18f3f
LMI
85302011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8531
c9d29fb8
SM
8532 * net/network-stream.el (network-stream-open-starttls):
8533 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8534 (network-stream-open-tls): Ditto.
8535
6302e0d3
LL
85362011-06-26 Leo Liu <sdl.web@gmail.com>
8537
8538 * register.el (registerv): New struct.
8539 (registerv-make): New function.
c9d29fb8
SM
8540 (jump-to-register, describe-register-1, insert-register):
8541 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8542 struct. (Bug#8415)
8543
5fdd4046
CY
85442011-06-26 Chong Yidong <cyd@stupidchicken.com>
8545
2afef60a
CY
8546 * vc/vc.el (vc-revert-show-diff): New defcustom.
8547 (vc-diff-internal): New arg specifying diff buffer.
8548 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8549 reuse an existing *vc-diff* buffer (Bug#8927).
8550
5fdd4046
CY
8551 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8552
e93db24a
GM
85532011-06-26 Glenn Morris <rgm@gnu.org>
8554
8555 * progmodes/f90.el (f90-critical-indent): New option.
8556 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8557 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8558 (f90-mode): Doc fix.
8559 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8560 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8561 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8562 (f90-match-end): Handle block, critical.
8563
eefff499
GM
85642011-06-25 Glenn Morris <rgm@gnu.org>
8565
f6ba4cc9
GM
8566 * calendar/diary-lib.el (diary-included-files): Doc fix.
8567 (diary-include-files): New function, extracted from
8568 diary-include-other-diary-files and diary-mark-included-diary-files.
8569 (diary-include-other-diary-files, diary-mark-included-diary-files):
8570 Just call diary-include-files.
8571 (diary-mark-entries): Reset diary-included-files on first call.
8572
16712304
GM
8573 * calendar/diary-lib.el (diary-mark-entries)
8574 (diary-mark-included-diary-files):
8575 Visit included diary-files in temp buffers.
8576
5d8e0d43
GM
8577 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8578 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8579 (f90-start-block-re, f90-imenu-generic-expression)
8580 (f90-looking-at-program-block-start, f90-no-block-limit):
8581 Add support for submodules.
8582
ccf7a5d5
GM
8583 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8584 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8585
11fdef7d 85862011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8587
8588 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8589 buffer-file-type before setting its value, to avoid disastrous
eefff499 8590 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8591
74f53697
JB
85922011-06-25 Juanma Barranquero <lekktu@gmail.com>
8593
8594 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8595
8596 * ses.el (ses-unload-function):
8597 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8598
8599 * proced.el (proced-unload-function):
8600 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8601
18a4ce5e
AR
86022011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8603
8604 * server.el (server-create-window-system-frame): Add parameters arg.
8605 (server-process-filter): Doc fix. Handle frame-parameters.
8606
519d22cc
JB
86072011-06-25 Juanma Barranquero <lekktu@gmail.com>
8608
8609 Fix bug#8730, bug#8781.
8610
8611 * loadhist.el (unload--set-major-mode): New function.
8612 (unload-feature): Use it.
8613
8614 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8615 (python-unload-function): New function.
8616
c206f5b0
SM
86172011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8620
f9ad64f3
GS
86212011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8622
8623 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8624 the candidates list.
8625
7d0da90e
JB
86262011-06-24 Juanma Barranquero <lekktu@gmail.com>
8627
8628 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8629
14b4e83d
RS
86302011-06-23 Richard Stallman <rms@gnu.org>
8631
8632 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8633 (rmail-variables): Set next-error-move-function.
8634 (rmail-what-message): Take argument POS.
8635 (rmail-next-error-move): New function.
8636
273d2baf
SM
86372011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8640 messages for adjacent non-terminals.
8641
56c2cc9a
RS
86422011-06-23 Richard Stallman <rms@gnu.org>
8643
8644 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8645 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8646 (rmail-start-mail): Don't specify use of rmail-mail-return;
8647 that's done by mail-bury now.
8648 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8649
d59eb518
MA
86502011-06-23 Michael Albinus <michael.albinus@gmx.de>
8651
8652 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8653 SIZE is a number.
8654
02cfc6d6
MR
86552011-06-23 Martin Rudalics <rudalics@gmx.at>
8656
8657 * window.el (get-lru-window, get-mru-window)
8658 (get-largest-window): Never return a minibuffer window.
8659 (display-buffer-pop-up-window): Fix a bug that could lead to
8660 reusing the minibuffer window.
8661 (display-buffer): Pass original specifier argument to
8662 display-buffer-function instead of the normalized one.
8663 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8664
4e323265
LL
86652011-06-22 Leo Liu <sdl.web@gmail.com>
8666
8667 * minibuffer.el (completing-read-function)
8668 (completing-read-default): Move from minibuf.c
8669
7a70468f
RS
86702011-06-22 Richard Stallman <rms@gnu.org>
8671
50718fc2
RS
8672 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8673 to Rmail even if not started by a special Rmail command.
8674
7a70468f
RS
8675 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8676 Copy the buffer currently showing just one message.
8677
297dde5a
RW
86782011-06-22 Roland Winkler <winkler@gnu.org>
8679
8680 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8681 (bibtex-clean-entry): First delete the old key so that a
8682 customized algorithm for generating the new key does not get
8683 confused by the old key.
8684 (bibtex-url): Obey regexp of first step.
8685 (bibtex-search-entries): Do not use add-to-list with local
8686 list-var.
8687
97bb1093
LMI
86882011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689
8690 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8691 stored a user name, then query for the password first, instead of
8692 waiting for SMTP to give an error message and the trying again.
8693
1c0f1a19
JD
86942011-06-22 Lawrence Mitchell <wence@gmx.li>
8695
8696 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8697 BUFFER in call-process.
8698
396f7c9d
LMI
86992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8700
8701 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8702 QUIT twice.
ddb7ffee
LMI
8703 (smtpmail-try-auth-methods): Require user name and password from
8704 auth-source.
396f7c9d 8705
8998d1b3
MR
87062011-06-22 Martin Rudalics <rudalics@gmx.at>
8707
8708 * window.el (display-buffer-default-specifiers)
8709 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8710 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8711 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8712
8713 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8714 (special-display-frame-alist, special-display-popup-frame):
8715 Remove duplicate declarations. These are now in window.el.
8716
4ea31e07
LMI
87172011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8718
c9d29fb8
SM
8719 * mail/smtpmail.el (smtpmail-via-smtp):
8720 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8721 server supports it. SMTP servers that support STARTTLS commonly
8722 require it.
8723
8724 * net/network-stream.el (network-stream-open-starttls): Support
8725 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8726 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8727
95f41d9a
LMI
8728 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8729 upgrades with `open-network-stream', and rely solely on
8730 auth-source for all credentials. Big changes throughout the file,
8731 but in particular:
c9d29fb8
SM
8732 (smtpmail-auth-credentials): Remove.
8733 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8734 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8735 MAIL FROM, too.
95f41d9a 8736
c9d29fb8
SM
8737 * net/network-stream.el (network-stream-open-starttls):
8738 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8739 STARTTLS.
8740 (auth-source): Require.
8741 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8742 (network-stream-certificate): Change cert-cert to cert and
8743 cert-key to key.
4ea31e07 8744
065ec2c7
MA
87452011-06-21 Michael Albinus <michael.albinus@gmx.de>
8746
8747 * net/tramp-cache.el (top): Don't load the persistency file when
8748 "emacs -Q" has been called.
8749
cd93b359
DR
87502011-06-21 Tim Harper <timcharper@gmail.com>
8751
d8e4b68b
JB
8752 * term/ns-win.el (ns-initialize-window-system):
8753 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8754 resource to NO as it is not yet supported by the NS port.
8755
ae9c0411
JB
87562011-06-21 Juanma Barranquero <lekktu@gmail.com>
8757
8758 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8759 (list-dynamic-libraries): ...not here.
8760
7f3f739f
LL
87612011-06-21 Leo Liu <sdl.web@gmail.com>
8762
8763 * subr.el (sha1): Implement sha1 using secure-hash.
8764
327c8fb1
MR
87652011-06-21 Martin Rudalics <rudalics@gmx.at>
8766
8767 * window.el (display-buffer-alist): In default value do not
8768 enforce searching a window on any but the selected frame.
8769 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8770 (display-buffer-select-window): Remove function.
8771 (display-buffer-in-window): When a window on another frame gets
8772 reused, do not select it any more but just raise its frame if
8773 necessary (Bug#8851) and (Bug#8856).
8774 (display-buffer-normalize-options): Handle pop-up-frames related
8775 options more faithfully.
8776 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8777 window if it is on another frame.
c9d29fb8
SM
8778 (display-buffer-alist, display-buffer-default-specifiers):
8779 Don't make new frame unsplittable by default.
9e9de014
MR
8780 (display-buffer-normalize-argument): Fix doc-string typo and use
8781 'same-frame-other-window instead of 'other-window when associating
8782 with display-buffer-macro-specifiers.
327c8fb1 8783
7cf3f556
VB
87842011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8785
8786 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8787 New functions.
8788 (5x5-mode-map, 5x5-mode-menu): Bind them.
8789 (5x5-draw-grid): Tweak the solver's rendering.
8790
60a406cf
SM
87912011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8794 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8795
d8e4b68b 87962011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8797
8798 * menu-bar.el: Use function variable instead of switch-to-buffer.
8799 (menu-bar-select-buffer-function): New variable.
60a406cf 8800 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8801
478d6f95
SM
88022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8805 variable's status.
8806
ca530739
JD
88072011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8808
8809 * x-dnd.el (x-dnd-version-from-flags)
8810 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8811 and long as number (Bug#8899).
8812 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8813
bcd70d97
SM
88142011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8815
60a406cf 8816 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8817 (completion-try-completion, completion-all-completions): Compute the
8818 metadata argument if it's missing; make it optional (bug#8795).
8819
60a406cf 8820 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8821 (widget-complete): Use new :completion-function property.
8822 (widget-completions-at-point): New function.
8823 (default): Use :completion-function instead of :complete.
60a406cf
SM
8824 (widget-default-completions): Rename from widget-default-complete;
8825 Rewrite.
bcd70d97
SM
8826 (widget-string-complete, widget-file-complete, widget-color-complete):
8827 Remove functions.
8828 (file, symbol, function, variable, coding-system, color):
8829 * international/mule-cmds.el (default-input-method, charset)
8830 (language-info-custom-alist):
8831 * cus-edit.el (face): Use new property :completions.
8832
8833 * progmodes/pascal.el (pascal-completions-at-point): New function.
8834 (pascal-mode): Use it.
8835 (pascal-mode-map): Use completion-at-point.
8836 (pascal-toggle-completions): Make obsolete.
8837 (pascal-complete-word, pascal-show-completions):
8838 * progmodes/octave-mod.el (octave-complete-symbol):
8839 Redefine as obsolete alias.
8840 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8841 Signal absence of completion info for old Octave,
8842 (inferior-octave-complete): Redefine as obsolete alias.
8843 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8844 (meta-completions-at-point): Rename from meta-complete-symbol and
8845 adapt it for use on completion-at-point-functions.
8846 (meta-common-mode): Use it.
8847 (meta-looking-at-backward, meta-match-buffer): Remove.
8848 (meta-complete-symbol): Redefine as obsolete alias.
8849 (meta-common-mode-map): Use completion-at-point.
8850 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8851 (makefile-mode-map): Use completion-at-point.
8852 (makefile-completions-at-point): Rename from makefile-complete and
8853 adapt it for use on completion-at-point-functions.
8854 (makefile-mode): Use it.
8855 (makefile-complete): Redefine as obsolete alias.
8856
aebf69c8
DD
88572011-06-20 Deniz Dogan <deniz@dogan.se>
8858
8859 * net/rcirc.el: Delete trailing whitespaces once and for all.
8860
bfbbb27d
DC
88612011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8862
8863 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8864
d264a46b
CY
88652011-06-19 Chong Yidong <cyd@stupidchicken.com>
8866
4ca009e5
CY
8867 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8868
d264a46b
CY
8869 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8870
fbf5b3ce
MR
88712011-06-19 Martin Rudalics <rudalics@gmx.at>
8872
8873 * window.el (display-buffer-other-window-means-other-frame):
8874 Call display-buffer-normalize-alist.
8875 (display-buffer-normalize-specifiers-1): Rename to
8876 display-buffer-normalize-argument. New argument other-frame.
8877 Rewrite.
8878 (display-buffer-normalize-specifiers-2): Rename to
8879 display-buffer-normalize-options.
8880 (display-buffer-normalize-alist-1): New function.
8881 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8882 display-buffer-normalize-alist.
8883 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8884 (display-buffer-normalize-options-inhibit): New variable.
8885 (display-buffer-normalize-specifiers): Rewrite calling
8886 display-buffer-normalize-alist,
8887 display-buffer-normalize-argument, and
8888 display-buffer-normalize-options. Don't call the latter if
8889 display-buffer-normalize-options-inhibit is non-nil.
8890 (frame-auto-delete): New option.
8891 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8892 (window-list-no-nils, window-state-ignored-parameters)
8893 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8894 (window-state-put-1, window-state-put-2, window-state-put):
8895 New functions.
9a028c23
MR
8896 (display-buffer-normalize-options): Move special-display-p group
8897 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8898
6d10d800
CY
88992011-06-18 Chong Yidong <cyd@stupidchicken.com>
8900
6420d28b
CY
8901 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8902 groups (Bug#8776).
8903 (rx-submatch-n): New function.
8904 (rx): Document it.
8905
ddb8b596
CY
8906 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8907 (Bug#8768).
8908
8909 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8910
77080289
CY
8911 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8912
61dfb316
CY
8913 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8914 anytime existing face settings are present (Bug#8889).
8915
6d10d800
CY
8916 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8917 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8918 Remove unused argument.
8919
be3fb2b8
MR
89202011-06-18 Martin Rudalics <rudalics@gmx.at>
8921
bcd70d97
SM
8922 * window.el (display-buffer-default-specifiers):
8923 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8924 pop-up-window-min-width, and another reuse-window specifier
8925 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8926 (display-buffer-normalize-specifiers-2):
8927 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8928 pop-up-windows is unset. Add a reuse-window specifier for the
8929 case popping up a new window fails.
8930 (special-display-popup-frame): Remove double quoting.
28dec25a 8931 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8932
1c6d8c76
SM
89332011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8934
8935 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8936 according to comint-completion-addsuffix.
8937
8938 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8939 (pcomplete-suffix-list): Mark as obsolete.
8940 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8941 pcomplete-seen in the closure.
8942 (pcomplete-comint-setup): Setup completion-at-point as well.
8943 (pcomplete--entries): New function.
8944 (pcomplete--env-regexp): New var.
8945 (pcomplete-entries): Rewrite to work with partial-completion and
8946 without relying on pcomplete-suffix-list.
8947 (pcomplete-pare-list): Remove, unused.
8948
25aef8b8
MR
89492011-06-17 Martin Rudalics <rudalics@gmx.at>
8950
8951 * window.el (display-buffer-alist): Set pop-up-window-min-height
8952 and pop-up-window-min-width in default value. Reported by
8953 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8954 other-window-means-other-frame.
8955 (display-buffer-macro-specifiers): Comment out entry for
8956 other-window specifier.
8957 (display-buffer-other-window-means-other-frame): New function.
8958 (display-buffer-normalize-specifiers-1): New arguments
8959 buffer-name and label. Treat other-window case specially.
8960 (display-buffer-normalize-specifiers-2): Treat other-window case
8961 specially.
8962 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8963 (display-buffer-normalize-specifiers):
8964 Call display-buffer-normalize-specifiers-3.
25aef8b8 8965
dbad4f69
MR
89662011-06-17 Martin Rudalics <rudalics@gmx.at>
8967
8968 * window.el (same-window-p): Fix two typos introduced when
8969 adding with-no-warnings.
d1067961
MR
8970 (display-buffer-normalize-specifiers-1): Don't check
8971 pop-up-frames for 'unset initialization.
8972 (display-buffer-normalize-specifiers-2): Major rewrite using
8973 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8974 (pop-up-frames, display-buffer-reuse-frames)
8975 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8976 Suggested by David Engster <deng@randomsample.de>.
8977 (even-window-heights): Initialize to 'unset.
8978 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8979 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8980 other window case.
dbad4f69 8981
9b9c9e3a
MR
89822011-06-16 Martin Rudalics <rudalics@gmx.at>
8983
bcd70d97
SM
8984 * window.el (display-buffer-normalize-specifiers-1):
8985 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8986 second argument of display-buffer (Bug#8865).
981d5c09
MR
8987 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8988 (switch-to-buffer-other-window-same-frame)
8989 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8990 Adams (Bug#8875).
9c2755e9
MR
8991 (display-buffer): Don't check noninteractive when calling
8992 display-buffer-pop-up-frame.
8993 (display-buffer-pop-up-frame): Never pop up a frame in
8994 noninteractive mode (Bug#8857).
67222e1d
MR
8995 (enlarge-window, shrink-window): Don't report an error when the
8996 window can't be resized as requested (Bug#8862).
9b9c9e3a 8997
2b75be67
SM
89982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9ffdd3ba
SM
9000 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9001
cb581a67
SM
9002 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9003
2b75be67
SM
9004 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9005
8c0e3589
AM
90062011-06-15 Alan Mackenzie <acm@muc.de>
9007
cb581a67
SM
9008 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9009 for declarators, disable knr checking to speed up for normal files.
9010 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9011
b96e6cde
LMI
90122011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9013
4bba86e6
LMI
9014 * net/network-stream.el (open-network-stream): Add the keyword
9015 :always-query-capabilities for the case where you want to force a
9016 `plain' network connection, but the protocol still requires the
9017 capabilitiy command (i.e., SMTP and EHLO).
9018
2b75be67 9019 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9020 consistency with other `-live-p' functions.
9021
efdcdbf8
SM
90222011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * window.el (same-window-buffer-names, same-window-regexps)
9025 (special-display-frame-alist, special-display-popup-frame)
9026 (special-display-function, special-display-buffer-names)
9027 (special-display-regexps, pop-up-frame-alist)
9028 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9029 (pop-up-windows, split-window-preferred-function)
9030 (split-height-threshold, split-width-threshold, even-window-heights)
9031 (display-buffer-mark-dedicated): Don't encourage the use of
9032 display-buffer-alist from Elisp code.
9033
c5cde042
DN
90342011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9035
9036 * progmodes/python.el (python-mode): Derive from prog-mode.
9037 * progmodes/ps-mode.el (ps-mode):
9038 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9039 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9040 * progmodes/ld-script.el (ld-script-mode): Likewise.
9041
baa1c9ab
MR
90422011-06-15 Martin Rudalics <rudalics@gmx.at>
9043
9044 * window.el (display-buffer-alist): Trim default value to avoid
9045 popping up a new frame (Bug#8857) or reusing an arbitrary window
9046 on another frame.
9047 (display-buffer): Do not fall back on popping up a new frame in
9048 batch mode (Bug#8857).
9049
c5dd5a51
CY
90502011-06-14 Chong Yidong <cyd@stupidchicken.com>
9051
9052 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9053 (custom-theme-summary): New function.
9054 (customize-themes): Use it.
9055
d647b7c4
GM
90562011-06-13 Glenn Morris <rgm@gnu.org>
9057
9058 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9059
9481c002
MR
90602011-06-13 Martin Rudalics <rudalics@gmx.at>
9061
357f93d2
MR
9062 * help.el (help-window): Remove variable.
9063 (help-window-point-marker, temp-buffer-max-height)
9064 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9065 (help-print-return-message): Don't set help-window.
9066 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9067 (help-window-setup-finish): Remove.
9068 (help-window-display-message, help-window-setup)
9069 (with-help-window): Major rewrite based on new
9070 display-buffer-window variable.
9071
9072 * help-mode.el (help-mode-finish): Remove help-window related
9073 code.
9074
9075 * view.el (view-exits-all-viewing-windows): Remove reference to
9076 view-return-to-alist in doc-string.
9077 (view-return-to-alist): Make obsolete.
9078 (view-buffer): Call pop-to-buffer-same-window and remove
9079 undo-window code.
9080 (view-buffer-other-window): Call pop-to-buffer-other-window and
9081 simplify code. Ignore second argument.
9082 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9083 simplify code. Ignore second argument.
9084 (view-return-to-alist-update): Make obsolete.
9085 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9086 Rewrite using quit-restore window parameters.
2b75be67
SM
9087 (view-mode-exit): Rename second argument to EXIT-ONLY.
9088 Rewrite using quit-restore-window.
357f93d2
MR
9089 (View-exit, View-exit-and-edit, View-leave, View-quit)
9090 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9091 appropriate arguments.
9092 (view-end-message): Use quit-restore window parameter.
9093
9481c002
MR
9094 * window.el (display-buffer-function): Rewrite doc-string.
9095 (display-buffer-window, display-buffer-alist): New variables.
9096 (display-buffer-split-specifiers)
9097 (display-buffer-side-specifiers)
9098 (display-buffer-macro-specifiers): New constants.
9099 (display-buffer-even-window-sizes, display-buffer-set-height)
9100 (display-buffer-set-width, display-buffer-select-window)
9101 (display-buffer-in-window, display-buffer-reuse-window)
9102 (display-buffer-split-window-1, display-buffer-split-window)
9103 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9104 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9105 (display-buffer-in-side-window, normalize-buffer-to-display)
9106 (display-buffer-normalize-specifiers-1)
9107 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9108 (display-buffer-normalize-specifiers, display-buffer-frame):
9109 New functions.
9481c002
MR
9110 (display-buffer): Major rewrite.
9111 (display-buffer-other-window, display-buffer-other-frame)
9112 (pop-to-buffer, switch-to-buffer-other-window)
9113 (switch-to-buffer-other-frame): Rewrite.
9114 (display-buffer-same-window, display-buffer-same-frame)
9115 (display-buffer-same-frame-other-window)
9116 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9117 (pop-to-buffer-other-window)
9118 (pop-to-buffer-same-frame-other-window)
9119 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9120 (switch-to-buffer-other-window-same-frame): New functions.
9121 (same-window-p, special-display-p): Rewrite disabling warnings.
9122 Make obsolete.
9123 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9124 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9125 Make obsolete
9126 (same-window-buffer-names, same-window-regexps)
9127 (special-display-frame-alist, special-display-popup-frame)
9128 (special-display-function, special-display-buffer-names)
9129 (special-display-regexps, pop-up-frame-alist)
9130 (pop-up-frame-function, split-window-preferred-function)
9131 (split-height-threshold, split-width-threshold)
9132 (even-window-heights): Make obsolete.
9133
9db51aca
GM
91342011-06-12 Glenn Morris <rgm@gnu.org>
9135
9136 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9137 Misc simplifications.
9db51aca 9138
39cffb44
MR
91392011-06-12 Martin Rudalics <rudalics@gmx.at>
9140
9141 * window.el (window-safely-shrinkable-p): Restore function which
9142 was inadvertently removed in change from 2011-06-11. Declare as
9143 obsolete.
9144
2b75be67
SM
9145 * calendar/calendar.el (calendar-generate-window):
9146 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9147 window-safely-shrinkable-p.
9148
a8955be7
GM
91492011-06-12 Glenn Morris <rgm@gnu.org>
9150
9151 * progmodes/fortran.el (fortran-mode-syntax-table):
9152 * progmodes/f90.el (f90-mode-syntax-table):
9153 Set % to punctuation. (Bug#8820)
9154 (f90-find-tag-default): Remove, no longer needed.
9155
f0d4059d
DC
91562011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9157
9158 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9159
1100a63c
CY
91602011-06-11 Chong Yidong <cyd@stupidchicken.com>
9161
9162 * image.el (image-animated-p): Return animation delay in seconds.
9163 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9164 (image-animate-timeout): Remove DELAY argument. Don't assume
9165 every subimage has the same delay; get it from image-animated-p.
9166 (image-animate): Caller changed.
9167
def722bf
MA
91682011-06-11 Michael Albinus <michael.albinus@gmx.de>
9169
9170 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9171 to ignored backtrace functions.
9172
0a2bb1a9
GM
91732011-06-11 Glenn Morris <rgm@gnu.org>
9174
9175 * calendar/appt.el (appt-disp-window-function): Doc fix.
9176 (appt-check): Handle overlapping appointments. (Bug#8337)
9177
6198ccd0
MR
91782011-06-11 Martin Rudalics <rudalics@gmx.at>
9179
9180 * window.el (window-tree-1, window-tree): New functions, moving
9181 the latter to window.el.
9182 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9183 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9184 (bw-refresh-edges): Remove.
9185 (balance-windows-1, balance-windows-2): New functions.
9186 (balance-windows): Rewrite in terms of window tree functions,
9187 balance-windows-1 and balance-windows-2.
9188 (bw-adjust-window): Remove.
9189 (balance-windows-area-adjust): New function with functionality of
9190 bw-adjust-window but using resize-window.
2b75be67
SM
9191 (set-window-text-height): Rewrite doc-string.
9192 Use normalize-live-window and resize-window.
9193 (enlarge-window-horizontally, shrink-window-horizontally):
9194 Rename argument to DELTA.
6198ccd0
MR
9195 (window-buffer-height): New function.
9196 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9197 Rewrite using new window resize routines.
2b75be67
SM
9198 (kill-buffer-and-window, mouse-autoselect-window-select):
9199 Use ignore-errors instead of condition-case.
6198ccd0
MR
9200 (quit-window): Call delete-frame instead of delete-windows-on
9201 for the only buffer on frame.
9202
9397e56f
MR
92032011-06-10 Martin Rudalics <rudalics@gmx.at>
9204
9205 * loadup.el (top-level): Load window before files for the sake
9206 of replace-buffer-in-windows.
9207
9208 * files.el (read-buffer-to-switch)
9209 (switch-to-buffer-other-window)
2b75be67
SM
9210 (switch-to-buffer-other-frame, display-buffer-other-frame):
9211 Move to window.el.
9397e56f
MR
9212
9213 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9214 (previous-buffer): Move to window.el.
9215
9216 * bindings.el (unbury-buffer): Move to window.el.
9217
9218 * window.el (delete-other-windows-vertically): Move after
9219 definition of delete-other-windows.
9220 (other-window, delete-windows-on, replace-buffer-in-windows):
9221 Move here from window.c.
9222 (record-window-buffer, unrecord-window-buffer)
9223 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9224 (switch-to-next-buffer): New functions.
9225 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9226 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9227 (previous-buffer): Move here from simple.el.
9228 Call switch-to-prev-buffer.
9397e56f
MR
9229 (bury-buffer): Move here from buffer.c. Switch to previous
9230 buffer when window cannot be deleted.
9231 (unbury-buffer): Move here from bindings.el.
9232 (ctl-x-map): Move binding for other-window from window.c to
9233 here.
9234 (read-buffer-to-switch, switch-to-buffer-other-window)
9235 (switch-to-buffer-other-frame): Move here from files.el.
9236 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9237 (switch-to-buffer): Move here from buffer.c.
9238 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9239
562dd5e9
MR
92402011-06-10 Martin Rudalics <rudalics@gmx.at>
9241
9242 * window.el (window-min-height, window-min-width): Move here
9243 from window.c. Add defcustoms and rewrite doc-strings.
9244 (resize-mini-window, resize-window): New functions.
9245 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9246 Move here from window.c.
9247 (maximize-window, minimize-window): New functions.
9248 (delete-window, delete-other-windows, split-window): Move here
9249 from window.c.
9250 (window-split-min-size): New function.
9251 (split-window-keep-point): Mention split-window-above-each-other
9252 instead of split-window-vertically.
2b75be67 9253 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9254 Rename split-window-vertically to split-window-above-each-other
9255 and provide defalias for old definition.
9256 (split-window-side-by-side, split-window-horizontally):
9257 Rename split-window-horizontally to split-window-side-by-side
9258 and provide defalias for the old definition.
562dd5e9
MR
9259 (ctl-x-map): Move bindings for delete-window,
9260 delete-other-windows and enlarge-window here from window.c.
9261 Replace bindings for split-window-vertically and
9262 split-window-horizontally by bindings for
9263 split-window-above-each-other and split-window-side-by-side.
9264
9265 * cus-start.el (all): Remove entries for window-min-height and
9266 window-min-width. Add entries for window-splits and
9267 window-nest.
9268
f0da764a
GM
92692011-06-09 Glenn Morris <rgm@gnu.org>
9270
80675c21
GM
9271 * calendar/appt.el (appt-mode-line): New function.
9272 (appt-check, appt-disp-window): Use it.
9273
f0da764a
GM
9274 * files.el (hack-one-local-variable-eval-safep):
9275 Allow minor-modes with explicit +/-1 arguments.
9276
59f623b7
TZ
92772011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9278
9279 * term/xterm.el (xterm): Add defgroup.
9280 (xterm-extra-capabilities): Add defcustom to supply known xterm
9281 capabilities, skip querying them, or query them (default).
9282 (terminal-init-xterm): Use it.
9283 (terminal-init-xterm-modify-other-keys): New function to set up
9284 modifyOtherKeys support to simplify `terminal-init-xterm'.
9285
9aab8e0d
MR
92862011-06-09 Martin Rudalics <rudalics@gmx.at>
9287
9288 * window.el (resize-window-reset, resize-window-reset-1)
9289 (resize-subwindows-skip-p, resize-subwindows-normal)
9290 (resize-subwindows, resize-other-windows, resize-this-window)
9291 (resize-root-window, resize-root-window-vertically)
9292 (window-deletable-p, window-or-subwindow-p)
9293 (frame-root-window-p): New functions.
9294
e8b08aee
GM
92952011-06-09 Glenn Morris <rgm@gnu.org>
9296
9297 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9298 (ange-ftp-get-files): Use it.
9299
254c37a5
AK
93002011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9301
9302 * mail/sendmail.el (mail-recover-1, mail-recover):
9303 * files.el (recover-file, recover-session):
9304 Handle dired-listing-switches not being just a single short option.
9305
35d7dbd3
GM
93062011-06-09 Glenn Morris <rgm@gnu.org>
9307
9308 * calendar/appt.el (appt-display-message, appt-disp-window):
9309 Handle lists of appointments.
9310
387522b2
MR
93112011-06-08 Martin Rudalics <rudalics@gmx.at>
9312
2b75be67
SM
9313 * window.el (one-window-p): Move down in code.
9314 Rewrite doc-string.
9315 (window-current-scroll-bars): Rewrite doc-string.
9316 Normalize live window argument.
387522b2
MR
9317 (walk-windows, get-window-with-predicate, count-windows):
9318 Rewrite doc-string. Use window-list-1.
9319 (window-in-direction-2, window-in-direction, get-mru-window):
9320 New functions.
9321
d8e4b68b 93222011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9323
9324 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9325 Doc fix (Bug#8713).
9326
93272011-06-08 Chong Yidong <cyd@stupidchicken.com>
9328
9329 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9330
93312011-06-08 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * loadhist.el (unload-feature-special-hooks):
9334 Add `comint-output-filter-functions'.
9335
0de12c52
IK
93362011-06-08 Ivan Kanis <gnu@kanis.fr>
9337
9338 * calendar/appt.el (appt-check): Move some initializations into the let.
9339
f3d1777e
MR
93402011-06-08 Martin Rudalics <rudalics@gmx.at>
9341
9342 * window.el (window-height): Defalias to window-total-height.
9343 (window-width): Defalias to window-body-width.
9344
18af70d0
CY
93452011-06-07 Chong Yidong <cyd@stupidchicken.com>
9346
9347 * image-mode.el (image-toggle-animation): New command.
9348 (image-mode-map): Bind it to RET.
9349 (image-mode): Update message.
9350 (image-toggle-display-image): Avoid a spurious cache flush.
9351 (image-transform-rotation): Doc fix.
9352 (image-transform-properties): Return quickly in the normal case.
9353 (image-animate-loop): Rename from image-animate-max-time.
9354
2b75be67 9355 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9356 (create-animated-image): Remove unnecessary function.
9357 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9358 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9359 (image-animate-timer): Use car-safe.
9360 (image-animate-timeout): Rename argument.
9361
190b47e6
MR
93622011-06-07 Martin Rudalics <rudalics@gmx.at>
9363
9364 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9365 window.c. Rename first argument to ALL-FRAMES.
9366 Rephrase doc-strings.
9367 (get-buffer-window-list): Rewrite using window-list-1.
9368 Rephrase doc-string.
a1511caf
MR
9369 (window-safe-min-height, window-safe-min-width): New constants.
9370 (window-size-ignore, window-min-size, window-min-size-1)
9371 (window-sizable, window-sizable-p, window-size-fixed-1)
9372 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9373 (window-max-delta-1, window-max-delta, window-resizable)
9374 (window-resizable-p, window-total-height, window-total-width)
9375 (window-body-width): New functions.
9376 (window-full-height-p, window-full-width-p): Rewrite using
9377 window-total-size.
9378 (window-body-height): Rewrite using window-body-size.
190b47e6 9379
85cc1f11
MR
93802011-06-06 Martin Rudalics <rudalics@gmx.at>
9381
9382 * window.el (window-right, window-left, window-child)
9383 (window-child-count, window-last-child, window-any-p)
9384 (normalize-live-buffer, normalize-live-frame)
9385 (normalize-any-window, normalize-live-window)
9386 (window-iso-combination-p, window-iso-combined-p)
9387 (window-iso-combinations)
9388 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9389 (windows-with-parameter, window-with-parameter)
9390 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9391 (window-atom-check, window-side-check, window-check):
9392 New functions.
85cc1f11
MR
9393 (ignore-window-parameters, window-sides, window-sides-vertical)
9394 (window-sides-slots): New variables.
9395 (window-size-fixed): Move down in code. Minor doc-string fix.
9396
e7156492
AS
93972011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9398
9399 * comint.el (comint-dynamic-complete-as-filename)
9400 (comint-dynamic-complete-filename): Correctly call
9401 completion-in-region.
9402
7e821d0d
DD
94032011-06-05 Deniz Dogan <deniz@dogan.se>
9404
9405 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9406 in last change.
9407
ac09b8a1
DD
94082011-06-05 Deniz Dogan <deniz@dogan.se>
9409
9410 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9411 (rcirc): Use it to prompt for encryption.
9412
34699b85
RW
94132011-06-05 Roland Winkler <winkler@gnu.org>
9414
9415 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9416 (bibtex-search-entries): New command bound to C-c C-a.
9417 (bibtex-display-entries): New function.
9418
004dedd3
RW
94192011-06-05 Roland Winkler <winkler@gnu.org>
9420
9421 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9422 (bibtex-insert-kill): After yanking insert newline if necessary.
9423 (bibtex-initialize): Call bibtex-string-files-init only once.
9424 (bibtex-mode): Do not call easy-menu-add.
9425 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9426 (bibtex-yank): Set arg properly if nil.
9427
022fe7ce
RW
94282011-06-05 Roland Winkler <winkler@gnu.org>
9429
2b75be67
SM
9430 * textmodes/bibtex.el (bibtex-search-entry-globally):
9431 New variable.
022fe7ce
RW
9432 (bibtex-search-entry): Use it.
9433
b7c3692a
RW
94342011-06-05 Roland Winkler <winkler@gnu.org>
9435
9436 * textmodes/bibtex.el (bibtex-entry-format): New option
9437 sort-fields.
9438 (bibtex-format-entry, bibtex-reformat): Honor this option.
9439 (bibtex-parse-entry): Return fields in proper order.
9440
8eda563d
JB
94412011-06-05 Juanma Barranquero <lekktu@gmail.com>
9442
9443 * doc-view.el (doc-view-remove-if): Move computation of result out
9444 of `dolist' to silence misleading lexical-binding warning.
9445
7dbe3dbc
CY
94462011-06-04 Chong Yidong <cyd@stupidchicken.com>
9447
9448 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9449 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9450
0c33dd17
MA
94512011-06-04 Michael Albinus <michael.albinus@gmx.de>
9452
9453 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9454 "SunOS 5.10".
9455
f8f91c2b
MA
94562011-06-04 Michael Albinus <michael.albinus@gmx.de>
9457
9458 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9459 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9460 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9461 (tramp-parse-putty):
9462 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9463 (tramp-completion-function-alist-ssh)
9464 (tramp-completion-function-alist-telnet)
9465 (tramp-completion-function-alist-su)
9466 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9467 cookie.
9468
9469 * net/tramp-ftp.el:
9470 * net/tramp-sh.el:
9471 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9472 load "tramp.el" `tramp-set-completion-function'.
9473
e17d9003
SM
94742011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * shell.el: Require and use pcomplete.
9477 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9478 (shell-completion-vars): Set pcomplete-default-completion-function.
9479
6c4cab03
DD
94802011-06-04 Deniz Dogan <deniz@dogan.se>
9481
9482 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9483 `memq' (Bug#8799).
9484
ea9fafe0
SM
94852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9488
b3e945d3
JB
94892011-06-02 Juanma Barranquero <lekktu@gmail.com>
9490
9491 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9492 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9493 * vc/log-view.el (log-view-beginning-of-defun):
9494 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9495 (smerge-refine-forward, smerge-refine-chopup-region):
9496 Silence warning for unused `dotimes' counter variables.
9497
7d520089
SM
94982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * net/tramp.el (tramp-with-progress-reporter): Rename from
9501 with-progress-reporter. Use `declare'.
9502 * net/tramp-smb.el:
9503 * net/tramp-sh.el:
9504 * net/tramp-gvfs.el: Update all uses.
9505
a1c2400f
JB
95062011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9507
9508 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9509 buffer isn't killed before making it current.
9510
2403c841
SM
95112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 Silence various byte-compiler warnings.
9514 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9515 `access-type' and new obsolescence format.
9516 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9517 new format.
9518 (byte-compile-check-variable): New `access-type' argument.
9519 Only warn if the access-type is obsolete.
9520 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9521 (byte-compile-variable-set): Adjust callers.
9522 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9523 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9524 setting it as obsolete.
9525 * simple.el (minibuffer-completing-symbol):
9526 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9527 access as obsolete.
9528 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9529 obsolete yet.
9530 * international/quail.el (quail-mouse-choose-completion): Remove unused
9531 code referring to obsolete var.
9532 (quail-choose-completion-string): Remove.
9533 * server.el (server-clients-with, server-kill-buffer-query-function)
9534 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9535 * proced.el (proced-send-signal):
9536 * emacs-lisp/lisp.el (lisp-complete-symbol):
9537 Replace completion-annotate-function with completion-extra-properties.
9538
2462470b
SM
95392011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9540
fb5b2591
SM
9541 * simple.el (goto-line): Use read-number.
9542 (overriding-map-is-bound): Remove.
9543 (saved-overriding-map): Change default.
9544 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9545 Take the map as argument.
9546 (universal-argument, negative-argument, digit-argument): Use it.
9547 (restore-overriding-map): Adjust.
9548 (do-auto-fill): Use fill-forward-paragraph.
9549 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9550
fd6fa53f
SM
9551 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9552 (minibuffer-inactive-mode): New major mode.
9553 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9554 the *Messages* buffer" hack.
9555 (mouse-popup-menubar): Don't burp if the event is a normal key.
9556
2462470b
SM
9557 Miscellaneous tweaks.
9558 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9559 lexical scoping as in subr.el's dolist and dotimes.
9560 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9561 Silence compiler warning.
9562 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9563 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9564 * international/ccl.el (ccl-compile): Trivial simplification.
9565 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9566 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9567 `printflag' argument.
9568 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9569 Purecopy the whole obsolescence data.
9570
108bf785
LL
95712011-06-01 Leo Liu <sdl.web@gmail.com>
9572
9573 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9574 improve doc-string as suggested by Marco Pessotto
9575 <melmothx@gmail.com>.
9576 (rcirc-print): Fix last change.
9577
30a23501
SM
95782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * minibuffer.el (complete-with-action): Return nil for the metadata and
9581 boundaries of non-functional tables.
9582 (completion-table-dynamic): Return nil for the metadata.
9583 (completion-table-with-terminator): Add default case, using
9584 complete-with-action.
9585 (completion--metadata): New function.
9586 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9587 to try and avoid pathological performance problems.
9588 (completion--embedded-envvar-table): Return `category' metadata.
9589
bcd54f83
LMI
95902011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9591
9592 * subr.el (process-alive-p): New tiny convenience function.
9593
e227544d
SM
95942011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9597 content but also its previous major mode.
9598
e8296fdc
HE
95992011-05-31 Helmut Eller <eller.helmut@gmail.com>
9600
4d61f28d 9601 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9602 *Backtrace* buffer when we exit with C-M-c.
9603
620c53a6
SM
96042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * minibuffer.el: Add metadata method to completion tables.
9607 (completion-category-overrides): New defcustom.
9608 (completion-metadata, completion--field-metadata)
9609 (completion-metadata-get, completion--styles)
9610 (completion--cycle-threshold): New functions.
9611 (completion-try-completion, completion-all-completions):
9612 Add `metadata' argument to choose completion-styles.
9613 (completion--do-completion): Use metadata to choose cycling.
9614 (completion-all-sorted-completions): Use metadata for sorting.
9615 Remove :completion-cycle-penalty which is not needed any more.
9616 (completion--try-word-completion): Add `metadata' argument.
9617 (minibuffer-completion-help): Check metadata for annotation function
9618 and sorting.
9619 (completion-file-name-table): Return `category' metadata.
9620 (minibuffer-completing-file-name): Make obsolete.
9621 * simple.el (minibuffer-completing-symbol): Make obsolete.
9622 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9623 completion-try-completion.
9624
1257e755
SM
96252011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9628
3767e706
LL
96292011-05-30 Leo Liu <sdl.web@gmail.com>
9630
9631 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9632 (rcirc-print): Decode all incoming messages (bug#8744).
9633 (rcirc-decode-coding-system): Allow value nil for automatic coding
9634 system detection.
3767e706 9635
d1a5d56a
GM
96362011-06-01 Glenn Morris <rgm@gnu.org>
9637
9638 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9639
e8cbec34
CY
96402011-05-29 Chong Yidong <cyd@stupidchicken.com>
9641
9642 * image.el (image-animate-max-time): Allow nil and t values.
9643 Default to nil.
9644 (create-animated-image): Doc fix.
9645 (image-animate-start): Remove second arg; just use
9646 image-animate-max-time.
9647 (image-animate-timeout): Doc fix. Args changed.
9648
9649 * image-mode.el (image-toggle-display-image): Ensure that the
9650 image spec passed to the animate timer is the same object as in
58179cce 9651 the buffer's display property (Bug#6981).
e8cbec34
CY
9652 (image-transform-properties): Doc fix.
9653
9654 * image.el (image-animate-max-time): Default to nil.
9655
159daf87
MR
96562011-05-29 Martin Rudalics <rudalics@gmx.at>
9657
9658 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9659 entire buffer list (Bug#8184).
9660
d66c4c7c
CY
96612011-05-29 Chong Yidong <cyd@stupidchicken.com>
9662
9663 * image.el (imagemagick-types-inhibit)
9664 (imagemagick-register-types): Doc fix.
9665
80aec780
DD
96662011-05-29 Deniz Dogan <deniz@dogan.se>
9667
9668 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9669 default.
9670
1dd3c2d9
CY
96712011-05-29 Chong Yidong <cyd@stupidchicken.com>
9672
9673 * select.el: Don't perform clipboard-manager saving in hooks;
9674 leave the hooks empty.
9675
60e56523
LL
96762011-05-28 Leo Liu <sdl.web@gmail.com>
9677
9678 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9679 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9680 (occur-edit-mode): New major mode (Bug#8463).
9681 (occur-after-change-function): New function.
9682 (occur-engine): Give Occur tags a read-only property.
9683
2b1e1a22
KR
96842011-05-28 Kevin Ryde <user42@zip.com.au>
9685
9686 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9687
5d344e88
CY
96882011-05-28 Chong Yidong <cyd@stupidchicken.com>
9689
8e6ca83d
CY
9690 * bindings.el (help-echo): Make the initial non-indicator dash
9691 empty on graphical terminals (Bug#7295).
9692
5d344e88
CY
9693 * files.el (auto-mode-alist): Move config rule after the
9694 in-stripping one (Bug#8547).
9695
bfbbace7
CY
9696 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9697
fbeba6e2
CY
9698 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9699 setting (Bug#8740).
9700
60ed8c72
AA
97012011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9702
4ac619f0
AA
9703 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9704 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9705 (Bug#8539).
60ed8c72 9706
23db196e
CY
97072011-05-28 Chong Yidong <cyd@stupidchicken.com>
9708
9709 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9710
5012f24c
DK
97112011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9712
9713 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9714 (hs-hide-block-at-point, hs-find-block-beginning)
9715 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9716 (Bug#8279).
9717
6a639b16
GM
97182011-05-28 Glenn Morris <rgm@gnu.org>
9719
9720 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9721
d43eaf2c
CY
97222011-05-28 Chong Yidong <cyd@stupidchicken.com>
9723
5199bde1
CY
9724 * help-fns.el (describe-function-1): If the function is a derived
9725 major mode, print the parent mode.
9726
d43eaf2c
CY
9727 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9728 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9729
423428a8
SM
97302011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9731
0ff8e1ba 9732 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9733 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9734 * progmodes/etags.el (tags-completion-at-point-function):
9735 * info-look.el (info-lookup-completions-at-point): Mark as
9736 non-exclusive.
9737 (info-complete): Adjust accordingly.
9738
423428a8
SM
9739 * info-look.el: Convert to lexical-binding and completion-at-point.
9740 (info-lookup-completions-at-point): New function.
9741 (info-complete): Use it and completion-in-region.
9742
b74aa22b
DA
97432011-05-28 Drew Adams <drew.adams@oracle.com>
9744
9745 * isearch.el: Let M-e start with point at the first mismatched char.
9746 (isearch-fail-pos): New function.
9747 (isearch-edit-string): Use it.
9748
66e2e71d
DK
97492011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9750
9751 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9752
b1890b0f 97532011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9754
9755 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9756 traversal functions for avl-trees.
9757 (avl-tree--stack): New struct.
9758 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9759 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9760 (avl-tree--do-enter): Add optional `updatefun' arg.
9761 Change return value.
eb95d01d 9762 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9763 (avl-tree--do-delete): Add `test' and `nilflag' args.
9764 Change return value.
eb95d01d
TC
9765 (avl-tree-member): Add optional `nilflag'
9766 (avl-tree-member-p): New function.
9767 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9768 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9769 (avl-tree-stack-empty-p): New functions.
9770
3769ddcf
TC
9771 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9772 avl-tree--del-balance1 and make it work both ways.
9773 (avl-tree--del-balance2): Remove.
9774 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9775 make it work both ways.
9776 (avl-tree--enter-balance2): Remove.
9777 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9778 New macros.
9779 (avl-tree--mapc, avl-tree-map): Add direction argument.
9780
eb95d01d 97812011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9782
9783 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9784
a9f737ee
CY
97852011-05-27 Chong Yidong <cyd@stupidchicken.com>
9786
9787 * select.el: Support clipboard managers with built-in function
9788 x-clipboard-manager-save, via delete-frame-functions and
9789 kill-emacs-hook.
9790 (xselect-convert-to-targets): Add MULTIPLE target to list.
9791 (xselect-convert-to-save-targets): New function.
9792
c92a1e54
KH
97932011-05-27 Kenichi Handa <handa@m17n.org>
9794
9795 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9796 let-binding rfc2047-encode-encoded-words to nil.
9797
e145f188
GM
97982011-05-27 Glenn Morris <rgm@gnu.org>
9799
5ec8a862
GM
9800 * mail/emacsbug.el: Don't require url-util.
9801
4b29d9fb
GM
9802 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9803
e145f188
GM
9804 * files.el (set-auto-mode):
9805 Also respect mode: entries at the end of the file. (Bug#8586)
9806
7d15102b
GM
98072011-05-26 Glenn Morris <rgm@gnu.org>
9808
98f593b8
GM
9809 * files.el (hack-local-variables-prop-line, hack-local-variables):
9810 Downcase mode names, as seems to be traditional.
27b48e63 9811 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9812
7d15102b
GM
9813 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9814 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9815
51d5b4ec
JD
98162011-05-25 Julien Danjou <julien@danjou.info>
9817
9818 * textmodes/rst.el (rst-define-level-faces): Do not define face
9819 symbol if it is already defined.
9820
91513f63
VB
98212011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9822
9823 * play/5x5.el (5x5-new-game, 5x5-randomize):
9824 Reset 5x5-solver-output to nil when a new grid is cast.
9825 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9826 these debugging traces, as defmacro breaks the compiled code.
9827
4d90d6d0
DK
98282011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9829
9830 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9831
e1b90ef6
LL
98322011-05-24 Leo Liu <sdl.web@gmail.com>
9833
9834 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9835 (vc-bzr-sha1): Adapt.
9836
d8e4b68b 9837 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9838
9839 * bindings.el: Provide sha1 feature.
9840
db0406bb 98412011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9842
9843 * mail/sendmail.el: Require `rfc2047'.
9844 (mail-insert-from-field): Do not perform RFC2047 encoding.
9845 (mail-encode-header): New function.
9846 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9847 buffer to the return value of select-message-coding-system.
9848 Call mail-encode-header.
b8d747b9
KH
9849
9850 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9851
db0406bb 98522011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9853
4d90d6d0
DK
9854 * mail/supercite.el (sc-default-cite-frame):
9855 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9856
eb8a5e9b
GM
98572011-05-24 Glenn Morris <rgm@gnu.org>
9858
f8630703
GM
9859 * progmodes/python.el (brm-menu): Declare.
9860
8831bbed
GM
9861 * emulation/viper.el (viper-set-hooks): Declare.
9862
eb8a5e9b
GM
9863 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9864 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9865 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9866 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9867 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9868 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9869
a2a25d24
SM
98702011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 Add an :exit-function for completion-at-point.
9873
9874 * minibuffer.el (completion--done): New fun.
9875 (completion--do-completion): Use it. New arg `expect-exact'.
9876 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9877 since completion--do-completion does it for us now.
9878 (minibuffer-force-complete): Use completion--done and
9879 completion--replace. Handle sole-completion case with more care.
9880 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9881 (completion-extra-properties): New var.
9882 (completion-annotate-function): Make obsolete.
9883 (minibuffer-completion-help): Adjust accordingly.
9884 Use completion-list-insert-choice-function.
9885 (completion-at-point, completion-help-at-point):
9886 Bind completion-extra-properties.
9887 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9888 * simple.el (completion-list-insert-choice-function): New var.
9889 (completion-setup-function): Preserve it.
9890 (choose-completion): Pay attention to it, shuffle the code a bit.
9891 (choose-completion-string): New arg `insert-function'.
9892
9893 * textmodes/bibtex.el: Convert to lexical binding.
9894 (bibtex-mode-map): Use completion-at-point.
9895 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9896 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9897 (bibtex-complete): Define as obsolete alias.
9898 (bibtex-complete-internal): Remove.
9899 (bibtex-format-entry): Remove unused sub-group in regexp.
9900 * shell.el (shell--command-completion-data)
9901 (shell-environment-variable-completion):
9902 * pcomplete.el (pcomplete-completions-at-point):
9903 * comint.el (comint--complete-file-name-data): Use :exit-function
9904 instead of completion-table-with-terminator so it also works for
9905 choose-completion.
9906
e44e373d
SM
99072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9908
4f91a816
SM
9909 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9910
782fc819
SM
9911 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9912 (bug#8710).
9913
e44e373d
SM
9914 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9915
381987c3
KM
99162011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9917
9918 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9919 customization variable and implement: If non-nil, auto-fill will
9920 be inhibited while on topic's header line.
9921
b776bc70
VB
99222011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9923
9924 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9925 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9926 always have a solution in grid size = 5 cases.
9927 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9928 (5x5-solver-output, 5x5-log-buffer): New vars.
9929 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9930 Make these variables buffer local to achieve 5x5 multi-session-ness.
9931 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9932 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9933 (5x5-solve-suggest): New funs.
9934 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9935 randomize a grid so that we ensure that there is always a solution.
9936 (5x5-make-random-grid): Allow other movement than flipping.
9937
7de88b6e
KR
99382011-05-23 Kevin Ryde <user42@zip.com.au>
9939
9940 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9941 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9942 advice and passes PREDICATE.
9943
b1ef1257
SM
99442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9945
bbca48fe
SM
9946 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9947 byte-compile-lambda if it's actually a lambda.
9948
b1ef1257
SM
9949 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9950 Fix function quoting. Use backquote better.
9951
92a9cc65
YS
99522011-05-22 Yuanle Song <sylecn@gmail.com>
9953
9954 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9955 matching (Bug#8516).
9956
f0fb8059
JA
99572011-01-22 Jari Aalto <jari.aalto@cante.net>
9958
9959 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9960 different face (Bug#8178).
9961
d5b44c93
CY
99622011-05-22 Chong Yidong <cyd@stupidchicken.com>
9963
9964 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9965 defface (Bug#8144).
9966
79106a44
SM
99672011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9c848d8a
SM
9969 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9970 funcall as well (bug#8712). Warn when performing those conversions.
9971 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9972
79106a44
SM
9973 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9974
88dfa756
GM
99752011-05-22 Glenn Morris <rgm@gnu.org>
9976
9977 * files.el (hack-local-variables-prop-line): Small simplifications.
9978 (hack-local-variables, hack-local-variables-prop-line):
9979 If MODE-ONLY, return the mode, rather than just `t'.
9980
b7cf2c79
SM
99812011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9984
3f1a8558
GM
99852011-05-21 Glenn Morris <rgm@gnu.org>
9986
7e4ccca3
GM
9987 * files.el (hack-local-variables-prop-line, hack-local-variables):
9988 If only interested in the mode, don't bother doing the other stuff.
9989
637d46ca
GM
9990 * image-mode.el (image-after-revert-hook):
9991 Redraw all frames on which the image is visible. (Bug#8567)
9992
973d955b
GM
9993 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9994
3f1a8558
GM
9995 * wid-edit.el (widget-checklist-match-inline):
9996 Fix 2011-04-19 change. (Bug#8649)
9997
96479927
SM
99982011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9999
1dcf791f
SM
10000 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10001 Also allow singlespace after single-letter capitals followed by a dot.
10002
96479927
SM
10003 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10004 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10005
35fd0881
N
100062011-05-20 Nix <nix@esperi.org.uk>
10007
10008 * files.el (basic-save-buffer-2):
10009 Fix handling of break-hardlink-on-save with non-existent files.
10010
82745640
DD
100112011-05-19 Deniz Dogan <deniz@dogan.se>
10012
10013 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10014 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10015
4a720484
GM
100162011-05-19 Glenn Morris <rgm@gnu.org>
10017
d1f21341
GM
10018 * progmodes/f90.el (f90-type-def-re):
10019 Handle "type, bind(c)". (Bug#8691)
10020
4a720484
GM
10021 * emacs-lisp/autoload.el (batch-update-autoloads):
10022 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10023
2fb0a219
MA
100242011-05-18 Michael Albinus <michael.albinus@gmx.de>
10025
10026 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10027 property for the correct connection in case of multihops.
10028
e565dd37
GM
100292011-05-18 Glenn Morris <rgm@gnu.org>
10030
c2571358 10031 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10032 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10033
e565dd37
GM
10034 Rationalize calendar handling of day and month abbrev-arrays.
10035 * calendar/calendar.el (calendar-customized-p): New function.
10036 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10037 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10038 Add :set function.
10039 (calendar-abbrev-length, calendar-day-abbrev-array)
10040 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10041 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10042 Elements may no longer be nil.
10043 (calendar-day-name, calendar-month-name):
10044 Update for changed nature of abbrev arrays.
10045 * calendar/diary-lib.el (diary-name-pattern):
10046 Update for changed nature of abbrev arrays.
10047 (diary-mark-entries-1): Update calendar-make-alist calls.
10048 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10049 * calendar/cal-html.el (cal-html-day-abbrev-array):
10050 Simply inherit from calendar-day-abbrev-array.
10051
1d99a745
SM
100522011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * progmodes/grep.el (grep-mode): Disable default
10055 compilation-directory-matcher setting (bug#8684).
10056
7c1d9aa0
MA
100572011-05-17 Michael Albinus <michael.albinus@gmx.de>
10058
10059 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10060 instead of "head" and "tail". There were problems with SunOS 5.9,
10061 and it performs better.
10062
3952e9d8
GM
100632011-05-17 Glenn Morris <rgm@gnu.org>
10064
2dd12e7f
GM
10065 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10066
e4157b9c
GM
10067 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10068 Replace obsolete function.
10069
8e249bbd
GM
10070 * shell.el (pcomplete-parse-arguments-function): Declare.
10071
3952e9d8
GM
10072 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10073 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10074 (appt-check): Doc fixes.
10075 (appt-disp-window-function, appt-delete-window-function):
10076 Remove needless special case in custom :type.
10077 (appt-display-count): Default to 0, not nil.
10078 (appt-check): Reset appt-display-count to 0, not nil.
10079
c71a0d48 100802011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10081
c71a0d48
GM
10082 * progmodes/python.el (python-font-lock-keywords):
10083 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10084
31d55be9
SM
100852011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10088
3bfacb2f
KR
100892011-05-16 Kevin Ryde <user42@zip.com.au>
10090
10091 * info-look.el (makefile-automake-mode): New setups, looking in
10092 automake manual, then makefile-mode.
10093 (makefile-mode): Remove automake manual, have it just in
10094 makefile-automake-mode since there's various things different or
10095 not relevant to plain make.
10096 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10097 believe a hypothetical automake-mode would go to makefile-mode,
10098 not the other way around.
10099
c8e83751
CY
101002011-05-15 Chong Yidong <cyd@stupidchicken.com>
10101
5e9e35cd
CY
10102 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10103 hunk-end tags (Bug#8672).
10104
c8e83751
CY
10105 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10106 vc-annotate-show-diff-revision-at-line (Bug#8671).
10107
50b23e5a
GM
101082011-05-14 Glenn Morris <rgm@gnu.org>
10109
7210a739
GM
10110 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10111 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10112 (change-log-font-lock-keywords): Also handle multiple author lines
10113 with leading tabs. (Bug#8644)
7210a739 10114
4691905a
GM
10115 * calendar/appt.el (appt-check): Rename some local variables.
10116 Some simplification/reordering.
10117
50b23e5a
GM
10118 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10119 (feedmail-sendmail-f-doesnt-sell-me-out)
10120 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10121 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10122 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10123 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10124 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10125 (feedmail-binmail-gnulinuxish-template):
10126 Rename from feedmail-binmail-linuxish-template.
10127 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10128 Use insert-buffer-substring.
10129
215cda7c
BC
101302011-05-14 Bill Carpenter <bill@carpenter.org>
10131
10132 * mail/feedmail.el (feedmail-patch-level): Increase.
10133 (feedmail-debug): New custom group.
10134 (feedmail-confirm-outgoing-timeout)
10135 (feedmail-sendmail-f-doesnt-sell-me-out)
10136 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10137 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10138 (feedmail-sender-line, feedmail-from-line)
10139 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10140 (feedmail-spray-this-address)
215cda7c
BC
10141 (feedmail-spray-address-fiddle-plex-list)
10142 (feedmail-queue-use-send-time-for-date)
10143 (feedmail-queue-use-send-time-for-message-id)
10144 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10145 (feedmail-buffer-eating-function):
10146 Doc fixes.
10147 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10148 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10149 (feedmail-message-action-scroll-down): New functions.
10150 (feedmail-queue-directory, feedmail-queue-draft-directory):
10151 Use expand-file-name.
10152 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10153 Remove C-v help entry.
10154 (feedmail-queue-buffer-file-name): New variable.
10155 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10156 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10157 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10158 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10159 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10160 (feedmail-message-action-toggle-spray)
10161 (feedmail-run-the-queue-no-prompts)
10162 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10163 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10164 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10165 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10166 (feedmail-envelope-deducer, feedmail-fiddle-from)
10167 (feedmail-fiddle-sender, feedmail-default-date-generator)
10168 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10169 (feedmail-fiddle-spray-address)
10170 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10171 (feedmail-fiddle-list-of-fiddle-plexes)
10172 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10173 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10174 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10175 Change default. Doc fix.
10176 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10177 (feedmail-binmail-linuxish-template): New constant.
10178 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10179 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10180 (feedmail-send-it): Add debug call.
10181 Use feedmail-queue-buffer-file-name, and
10182 feedmail-send-it-immediately-wrapper.
10183 (feedmail-message-action-send): Add debug call.
10184 Use feedmail-send-it-immediately-wrapper.
10185 (feedmail-queue-express-to-queue): Add debug call.
10186 Run feedmail-queue-express-hook.
10187 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10188 (feedmail-message-action-help-blat):
10189 Rename from feedmail-queue-send-edit-prompt-help-first.
10190 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10191 Check line-endings. Handle errors better.
10192 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10193 Doc fix. Add debug call.
10194 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10195 Use feedmail-queue-send-edit-prompt-inner.
10196 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10197 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10198 from feedmail-queue-send-edit-prompt.
10199 (feedmail-queue-send-edit-prompt-help)
10200 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10201 (feedmail-tidy-up-slug): Add debug call.
10202 Respect feedmail-queue-slug-suspect-regexp.
10203 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10204 (feedmail-dump-message-to-queue): Add debug call.
10205 Expand queue-directory.
10206 (feedmail-dump-message-to-queue): Change message slightly.
10207 Use feedmail-say-chatter.
10208 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10209 (feedmail-send-it-immediately-wrapper): New function.
10210 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10211 Insert empty string rather than newline. Handle full-frame case.
10212 Use catch/throw. Use feedmail-say-chatter.
10213 (feedmail-fiddle-from): Try mail-host-address.
10214 (feedmail-default-message-id-generator): Doc fix.
10215 Bind system-time-locale. Handle missing end.
10216 (feedmail-fiddle-x-mailer): Add debug call.
10217 Handle feedmail-x-mailer-line being nil.
10218 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10219 Add debug call. Use buffer-substring-no-properties.
10220 (feedmail-say-debug, feedmail-say-chatter): New functions.
10221 (feedmail-find-eoh): Give an explicit error.
10222
42c7e61e
UJ
102232011-05-13 Ulf Jasper <ulf.jasper@web.de>
10224
c2571358 10225 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10226 family from helvetica to sans.
c2571358 10227 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10228 etc/images/newsticker.
10229
c2571358 10230 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10231 family from helvetica to sans.
10232
10233 * net/newst-plainview.el (newsticker-new-item-face)
10234 (newsticker-old-item-face, newsticker-immortal-item-face)
10235 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10236 (newsticker-statistics-face): Change default family from
42c7e61e 10237 helvetica to sans.
c2571358 10238 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10239 etc/images/newsticker.
10240
10241 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10242 (newsticker--process-auto-mark-filter-match): : Tell user about
10243 auto-marking.
10244
8497a297
DV
102452011-05-13 Didier Verna <didier@xemacs.org>
10246
10247 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10248 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10249 TODO entries.
8497a297
DV
10250 (lisp-lambda-list-keyword-parameter-indentation)
10251 (lisp-lambda-list-keyword-parameter-alignment)
10252 (lisp-lambda-list-keyword-alignment): New customizable user options.
10253 (lisp-indent-defun-method): Improve docstring.
10254 (extended-loop-p): Fix comment.
10255 (lisp-indent-lambda-list-keywords-regexp): New variable.
10256 (lisp-indent-lambda-list): New function.
10257 (lisp-indent-259): Use it.
10258 (lisp-indent-defmethod): Support for more than one
10259 method qualifier and properly indent methods lambda-lists.
10260 (defgeneric): Provide a missing common-lisp-indent-function property.
10261
f278f87f
SM
102622011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10263
10264 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10265 bounds for the empty string (bug#8667).
10266
5233edd7
GM
102672011-05-13 Glenn Morris <rgm@gnu.org>
10268
5237a44f
GM
10269 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10270
8340026c 10271 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10272 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10273
5233edd7 10274 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10275 (appt-time-msg-list): Doc fix.
a5464014 10276 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10277
92d10796
AS
102782011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10279
10280 * progmodes/ld-script.el (ld-script-keywords)
10281 (ld-script-builtins): Update keywords list.
10282
914a0ae1
SM
102832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10284
c89be45f
SM
10285 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10286
914a0ae1
SM
10287 * shell.el (shell-completion-vars): New function.
10288 (shell-mode):
10289 * simple.el (read-shell-command): Use it.
10290 (blink-matching-open): No need for " [...]" in minibuffer-message.
10291
98dc3df3
GM
102922011-05-12 Glenn Morris <rgm@gnu.org>
10293
10294 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10295 (appt-check): Simplify.
10296
d2fc7e3d 102972011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10298
4d61f28d 10299 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10300 literal "/dev/null".
10301
d2fc7e3d 103022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10303
10304 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10305 Fix typo.
10306
d2fc7e3d 103072011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10308
3f254caa
SM
10309 * progmodes/which-func.el (which-function):
10310 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10311 which might not be defined (Bug#8260).
10312
d45885f7
GM
103132011-05-12 Glenn Morris <rgm@gnu.org>
10314
10315 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10316 Let byte-compile-initial-macro-environment always take precedence.
10317
488086f4
SM
103182011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * net/rcirc.el: Add support for SSL/TLS connections.
10321 (rcirc-server-alist): New field `encryption'.
10322 (rcirc): Check `encryption' settings.
10323 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10324 Merge make-local-variable into `set'.
10325 (rcirc--connection-open-p): New function.
10326 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10327 the process is not a network process (e.g. running gnutls-cli).
10328 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10329 Make rcirc-(en|de)code-coding-system local here.
10330 (rcirc-mode): Merge make-local-variable into `set'.
10331 (rcirc-parent-buffer): Make permanent buffer-local.
10332 (rcirc-multiline-minor-mode): Don't do it here.
10333 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10334 there's no server buffer.
10335
7d3b9d44
GM
103362011-05-11 Glenn Morris <rgm@gnu.org>
10337
f64049c6
GM
10338 * newcomment.el (comment-kill): Prefix "unused" local.
10339
93c9df73
GM
10340 * term/w32console.el (get-screen-color): Declare.
10341
7d3b9d44
GM
10342 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10343 Handle symbol elements of byte-compile-initial-macro-environment.
10344
9e2dd53f
LL
103452011-05-10 Leo Liu <sdl.web@gmail.com>
10346
488086f4
SM
10347 * bookmark.el (bookmark-bmenu-mode-map):
10348 Bind bookmark-bmenu-search to `/'.
8b340240 10349
9e2dd53f 10350 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10351 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10352 (Footnote-unicode): New function.
10353 (footnote-style-alist): Add unicode style to the list.
10354 (footnote-style): Doc fix.
9e2dd53f 10355
79b70037
GM
103562011-05-10 Jim Meyering <meyering@redhat.com>
10357
10358 Fix doubled-word typos.
10359 * international/quail.el (quail-insert-kbd-layout): and and -> and
10360 * kermit.el: and and -> and
10361 * net/ldap.el (ldap-search-internal): to to -> to
10362 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10363 * progmodes/js.el (js-mode): and and -> and
10364 * textmodes/artist.el (artist-move-to-xy): at at -> at
10365 (artist-draw-region-trim-line-endings): if if -> if
10366 And Safetyc -> Safety.
10367 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10368
b8f82dc1 103692011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10370 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10371
10372 * files.el (hack-one-local-variable-eval-safep):
10373 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10374
4f99f44b
GM
103752011-05-10 Glenn Morris <rgm@gnu.org>
10376
10377 * calendar/diary-lib.el (diary-list-entries-hook)
10378 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10379 (diary-nongregorian-marking-hook, diary-list-entries)
10380 (diary-include-other-diary-files, diary-mark-entries)
10381 (diary-mark-included-diary-files): Doc fixes.
10382
84f29e6b
JB
103832011-05-09 Juanma Barranquero <lekktu@gmail.com>
10384
10385 * misc.el: Require tabulated-list.el during compilation.
10386
9bedd73a
CY
103872011-05-09 Chong Yidong <cyd@stupidchicken.com>
10388
488086f4
SM
10389 * progmodes/compile.el (compilation-start):
10390 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10391 (compilation-filter-hook): Doc fix.
10392
797c735c
DD
103932011-05-09 Deniz Dogan <deniz@dogan.se>
10394
10395 * wdired.el: Remove outdated installation comment. Fix usage
10396 comment.
10397
5f4b1dfe
JB
103982011-05-09 Juanma Barranquero <lekktu@gmail.com>
10399
10400 * misc.el: Implement new command `list-dynamic-libraries'.
10401 (list-dynamic-libraries--loaded-only-p): New variable.
10402 (list-dynamic-libraries--refresh): New function.
10403 (list-dynamic-libraries): New command.
10404
4c44026c
CY
104052011-05-09 Chong Yidong <cyd@stupidchicken.com>
10406
488086f4
SM
10407 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10408 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10409 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10410 higher priority to avoid clobbering by gnu.
10411
027f966d
CY
104122011-05-08 Chong Yidong <cyd@stupidchicken.com>
10413
10414 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10415 if the face has existing theme settings (Bug#8454).
10416
085f5d7d
CY
104172011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10418
488086f4
SM
10419 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10420 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10421
2a86a00c
RS
10422 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10423 special file names `.' and `..' (Bug#8259).
10424
d9c54a06
CY
104252011-05-08 Chong Yidong <cyd@stupidchicken.com>
10426
488086f4
SM
10427 * progmodes/grep.el (grep-mode-font-lock-keywords):
10428 Remove buffer-changing entries.
d9c54a06
CY
10429 (grep-filter): New function.
10430 (grep-mode): Add it to compilation-filter-hook.
10431
10432 * progmodes/compile.el (compilation-filter-hook)
10433 (compilation-filter-start): New defvars.
10434 (compilation-filter): Call compilation-filter-hook prior to
10435 updating the process mark.
10436
c4662635
SM
104372011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10440
b0512a1d
EZ
104412011-05-07 Eli Zaretskii <eliz@gnu.org>
10442
605c9376
EZ
10443 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10444 mailclient-send-it even if window-system is nil. (Bug#8595)
10445
c4662635
SM
10446 * term/w32console.el (terminal-init-w32console):
10447 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10448 background-mode. (Bug#8597)
10449
d1dc2cc2
SM
104502011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10453 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10454 New functions.
10455 (defgeneric, eieio--defmethod): Use them.
10456 (eieio-defgeneric): Remove.
10457 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10458
915d1300
GM
104592011-05-07 Glenn Morris <rgm@gnu.org>
10460
a3961c3e
GM
10461 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10462 Use let rather than let*.
10463 (timeclock-find-discrep): Remove unused local.
10464
314347b9
GM
10465 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10466
915d1300
GM
10467 * calendar/appt.el (appt-time-msg-list): Doc fix.
10468
275b59b0
NF
104692011-05-06 Noah Friedman <friedman@splode.com>
10470
10471 * apropos.el (apropos-print-doc): Only use
10472 emacs-lisp-docstring-fill-column when it is bound to an integer,
10473 per that variable's documentation.
10474
6c19f744
SM
104752011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10478 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10479
60f884b2
GM
104802011-05-06 Glenn Morris <rgm@gnu.org>
10481
5006e634
GM
10482 * calendar/appt.el (appt-message-warning-time): Doc fix.
10483 (appt-warning-time-regexp): New option.
10484 (appt-make-list): Respect appt-message-warning-time.
10485
548d0a63
GM
10486 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10487 New options.
10488 (diary-add-to-list): Strip comments from the displayed string.
10489 (diary-mode): Set comment-start and comment-end.
10490
60f884b2
GM
10491 * vc/diff-mode.el (smerge-refine-subst): Declare.
10492 (diff-refine-hunk): Don't require smerge-mode when compiling.
10493
989681bb
JB
104942011-05-06 Juanma Barranquero <lekktu@gmail.com>
10495
10496 * simple.el (list-processes): Return nil as the docstring says.
10497
a6bc05e1
MA
104982011-05-05 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10501 to "".
10502 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10503 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10504 determining of binary transfer. (Bug#7383)
10505
23c22e9a
MA
105062011-05-05 Michael Albinus <michael.albinus@gmx.de>
10507
c4662635
SM
10508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10509 Fix port computation bug. (Bug#8618)
23c22e9a 10510
0bff894f
GM
105112011-05-05 Glenn Morris <rgm@gnu.org>
10512
b8296902
GM
10513 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10514
1f522ce8
GM
10515 * simple.el (shell-dynamic-complete-functions)
10516 (comint-dynamic-complete-functions): Declare.
10517
cf5bee67
GM
10518 * net/network-stream.el (gnutls-negotiate):
10519 * simple.el (tabulated-list-print): Fix declarations.
10520
10521 * progmodes/gud.el (syntax-symbol, syntax-point):
10522 Remove unnecessary and incorrect declarations.
10523
0bff894f
GM
10524 * emacs-lisp/check-declare.el (check-declare-scan):
10525 Handle byte-compile-initial-macro-environment in bytecomp.el
10526
9869b3ae
SM
105272011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 Fix earlier half-done eieio-defmethod change (bug#8338).
10530 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10531 Streamline and change calling convention.
10532 (defmethod): Adjust accordingly and simplify.
10533 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10534 new eieio--defmethod.
10535 (slot-boundp): Minor CSE simplification.
10536
9c1d5ac5
MZ
105372011-05-05 Milan Zamazal <pdm@zamazal.org>
10538
10539 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10540 (glasses-make-readable): Use glasses-separate-capital-groups.
10541
455c834e
JB
105422011-05-05 Juanma Barranquero <lekktu@gmail.com>
10543
10544 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10545 (warning-series): Doc fix.
10546 (display-warning): Don't try to create the buffer if we just found it.
10547
9ed7c8cb
CY
105482011-05-04 Chong Yidong <cyd@stupidchicken.com>
10549
10550 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10551 (autoload-find-generated-file): New function.
10552 (generate-file-autoloads): Bind generated-autoload-file to
10553 buffer-file-name.
9869b3ae
SM
10554 (update-file-autoloads, update-directory-autoloads):
10555 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10556 output file (Bug#7989).
10557 (batch-update-autoloads): Doc fix.
10558
0898ca10
JB
105592011-05-04 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10562
31dfb76c
GM
105632011-05-04 Glenn Morris <rgm@gnu.org>
10564
f330b642
GM
10565 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10566 function, so it follows changes in calendar-date-style.
10567 (diary-fancy-date-matcher): New function.
10568 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10569 (diary-fancy-font-lock-fontify-region-function):
10570 Use diary-fancy-date-pattern as a function.
10571
31dfb76c
GM
10572 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10573 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10574
48e79d6a
TZ
105752011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10576
10577 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10578 instead of positional arguments. Allow :keylist and :crlfiles
10579 arguments.
10580 (open-gnutls-stream): Call it.
10581
10582 * net/network-stream.el (network-stream-open-starttls): Adjust to
10583 call `gnutls-negotiate' with :process and :hostname arguments.
10584
dd5a5ee0
SM
105852011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10586
ef80fc09
SM
10587 * minibuffer.el (completion--message): New function.
10588 (completion--do-completion, minibuffer-complete)
10589 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10590 (completion--do-completion): Don't ignore completion-auto-help when in
10591 icomplete-mode.
10592
dd5a5ee0
SM
10593 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10594 internal encoding (e.g. tibetan zero is not whitespace).
10595 (global-whitespace-mode): Prefer save-current-buffer.
10596 (whitespace-trailing-regexp): Remove useless save-match-data.
10597 (whitespace-empty-at-bob-regexp): Minor simplification.
10598
b7d22a83
CY
105992011-05-03 Chong Yidong <cyd@stupidchicken.com>
10600
10601 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10602
5192af46
AM
106032011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10604
10605 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10606 Use `concat' to create string for insertion.
5192af46 10607
5767d190
SM
106082011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10611 Avoid open-line which runs post-self-insert-hook.
10612 (bibtex-fill-entry): Remove unused `end' var.
10613
bf242939
AM
106142011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10615
5767d190
SM
10616 * textmodes/ispell.el (ispell-add-per-file-word-list):
10617 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10618
25666126
LL
106192011-05-03 Leo Liu <sdl.web@gmail.com>
10620
10621 * isearch.el (isearch-yank-pop): New command.
5767d190 10622 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10623 (isearch-forward): Mention it.
10624
52d3c2d0
SM
106252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10626
1bcace58
SM
10627 * simple.el (minibuffer-complete-shell-command): Remove.
10628 (minibuffer-local-shell-command-map): Use completion-at-point.
10629 (read-shell-command): Setup completion vars here instead.
10630 (read-expression-map): Bind TAB to symbol completion.
10631
52d3c2d0
SM
10632 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10633 error directly rather via storing it into `results'.
10634
35813471
LL
106352011-05-02 Leo Liu <sdl.web@gmail.com>
10636
10637 * vc/diff.el: Fix description.
10638
e793a940
LMI
106392011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10640
10641 * server.el (server-eval-at): New function.
10642
8de66e05
LMI
106432011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10644
10645 * net/network-stream.el (open-network-stream): Take a :nowait
10646 parameter and pass it on to `make-network-process'.
10647 (network-stream-open-plain): Ditto.
10648
dcb79f20
AS
106492011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10650
10651 * faces.el (face-spec-set-match-display): Don't match toolkit
10652 options on terminal frames.
10653
14a7fbd8
SM
106542011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10655
7eabc1be
SM
10656 * progmodes/pascal.el: Use lexical binding.
10657 (pascal-mode-map): Remove author preferences.
10658
14a7fbd8
SM
10659 * pcomplete.el (pcomplete-std-complete): Don't abuse
10660 completion-at-point.
10661
50f84510
JB
106622011-04-28 Juanma Barranquero <lekktu@gmail.com>
10663
6e087a44
JB
10664 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10665 removing code that has been dead since 1991 or so.
10666
50f84510
JB
10667 * startup.el (command-line): When warning about "_emacs", use a
10668 delayed warning to allow the user to filter it out.
10669
0ba690bd
DD
106702011-04-28 Deniz Dogan <deniz@dogan.se>
10671
10672 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10673 user has not joined.
10674
08abfaad
SM
106752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10678 aren't any completions at point.
10679
638f053a
JB
106802011-04-28 Juanma Barranquero <lekktu@gmail.com>
10681
10682 * subr.el (display-delayed-warnings): New function.
10683 (delayed-warnings-hook): New variable.
10684
8fff8daa
SM
106852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10686
08abfaad
SM
10687 * minibuffer.el (completion-at-point, completion-help-at-point):
10688 Don't presume that a given completion-at-point-function will always
10689 use the same calling convention.
10690
8fff8daa
SM
10691 * pcomplete.el (pcomplete-completions-at-point):
10692 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10693 pcomplete-seen is non-nil.
10694 (pcomplete-comint-setup): Also recognize the new comint/shell
10695 completion functions.
10696 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10697 pcomplete-seen is non-nil.
10698
841a1577 106992011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10700
841a1577 10701 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10702 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10703 the first character in the entry. This allows for code to add its
211ec907
UJ
10704 own uid to the entry.
10705 (icalendar--convert-float-to-ical): Add export of
10706 `diary-float'-entries save for those with the optional DAY
10707 argument.
10708
2a782793
DC
107092011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10710
10711 * subr.el (shell-quote-argument): Use alternate escaping strategy
10712 when we spot a variable reference in a string.
10713
0438ce91
DC
107142011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10715
10716 * cus-start.el (all): Define customization for debug-on-event.
10717
841a1577 107182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10719
10720 * subr.el (shell-quote-argument): Escape correctly under Windows.
10721
d090ed6c
SM
107222011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10725
bfd31217
MA
107262011-04-25 Michael Albinus <michael.albinus@gmx.de>
10727
d090ed6c
SM
10728 * net/tramp.el (tramp-process-actions): Add POS argument.
10729 Delete region between POS and (pos).
bfd31217 10730
d090ed6c
SM
10731 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10732 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10733 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10734
10735 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10736 position in `tramp-process-actions' call.
10737
10738 * net/trampver.el: Update release number.
10739
e92f3bd3
SM
107402011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10741
850256b5
SM
10742 * custom.el (defcustom): Obey lexical-binding.
10743
e92f3bd3
SM
10744 Fix octave-inf completion problems reported by Alexander Klimov.
10745 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10746 Inherit from octave-mode-syntax-table.
10747 (inferior-octave-mode): Set info-lookup-mode.
10748 (inferior-octave-completion-at-point): New function.
10749 (inferior-octave-complete): Use it and completion-in-region.
10750 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10751 comint-filename-completion.
10752 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10753 symbol elements which shouldn't be word elements.
10754 (octave-font-lock-keywords, octave-beginning-of-defun)
10755 (octave-function-header-regexp): Adjust regexps accordingly.
10756 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10757
cd22b309
JB
107582011-04-25 Juanma Barranquero <lekktu@gmail.com>
10759
10760 * net/gnutls.el (gnutls-errorp): Declare before first use.
10761
8b492194
TZ
107622011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10763
10764 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10765 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10766 default trustfile exists before going to use it. Add missing
5a5fa834 10767 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10768 Reported by Claudio Bley <claudio.bley@gmail.com>.
10769 (open-gnutls-stream): Add usage example.
10770
10771 * net/network-stream.el (network-stream-open-starttls): Give host
10772 parameter to `gnutls-negotiate'.
10773 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10774 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10775
841a1577 107762011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10777
cd22b309
JB
10778 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10779 Use correct match group (bug#8438).
05842630 10780
3ba7869c
CY
107812011-04-24 Chong Yidong <cyd@stupidchicken.com>
10782
512e3ae1
CY
10783 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10784 (package-menu--generate): New arg specifying packages to show.
10785 (package-menu-refresh, package-menu-execute, list-packages):
10786 Callers changed.
10787 (package-show-package-list): New function, replacing deleted
10788 package--list-packages (renamed because it is non-internal).
10789
10790 * finder.el (finder-list-matches): Use package-show-package-list
10791 instead of deleted package--list-packages.
10792
e92f3bd3
SM
10793 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10794 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10795 (vc-annotate-mode-map): Bind it to RET.
10796
7031be6d
UR
107972011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10798
10799 * progmodes/etags.el (next-file): Don't use set-buffer to change
10800 buffers (Bug#8478).
10801
4ef177aa
CY
108022011-04-24 Chong Yidong <cyd@stupidchicken.com>
10803
c8d173eb
CY
10804 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10805
4ef177aa
CY
10806 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10807 (apropos-accumulator): Doc fix.
10808 (apropos-function, apropos-macro, apropos-command)
10809 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10810 (apropos-plist): Add face property.
10811 (apropos-symbols-internal): Fix indentation.
10812 (apropos-print): Simplify help, and recognize apropos-multi-type.
10813 (apropos-print-doc): Use button-type-get to extract the button's
10814 face property. Fill docstring (Bug#8352).
10815
4ffd0d6b 108162011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10817
10818 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10819
c6c32125 10820 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10821 (mpuz-mode-map): Use mapc.
c6c32125
JB
10822 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10823 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10824 Fix typos in docstrings.
10825
58d468b4
JB
10826 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10827 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10828
6470c3c6
JB
10829 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10830
4ffd0d6b 108312011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10832
10833 * minibuffer.el (completion--do-completion): Avoid the "Next char
10834 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10835
3ad8bad0
CY
10836 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10837 mouse-2 into unread-command-events, it is interpreted correctly.
10838
71d73c9c 10839 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10840 (image-toggle-display): Doc fix.
71d73c9c 10841
841a1577 108422011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10843
4ffd0d6b
GM
10844 * textmodes/page.el (what-page): Use line-number-at-pos to
10845 calculate line number (Bug#6825).
6e1dbaa9 10846
c2fb1b60
JB
108472011-04-22 Juanma Barranquero <lekktu@gmail.com>
10848
10849 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10850 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10851 Pass argument NO-DEFAULT to `find-tag-interactive'.
10852
e02f48d7
JB
108532011-04-22 Juanma Barranquero <lekktu@gmail.com>
10854
10855 Lexical-binding cleanup.
10856
10857 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10858 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10859 * progmodes/ada-prj.el (ada-prj-initialize-values)
10860 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10861 (ada-prj-show-value):
10862 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10863 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10864 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10865 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10866 * progmodes/bug-reference.el (bug-reference-push-button):
10867 * progmodes/fortran.el (fortran-line-length):
10868 * progmodes/glasses.el (glasses-change):
10869 * progmodes/octave-mod.el (octave-fill-paragraph):
10870 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10871 (python-pdbtrack-grub-for-buffer, python-sentinel):
10872 * progmodes/sql.el (sql-save-connection):
10873 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10874 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10875 Mark unused parameters.
10876
10877 * progmodes/compile.el (compilation--flush-directory-cache)
10878 (compilation--flush-parse, compile-internal): Mark unused parameters.
10879 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10880 (compilation-next-error-function): Remove unused variable `timestamp'.
10881
10882 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10883 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10884
10885 * progmodes/dcl-mode.el (dcl-end-of-command):
10886 Remove unused variable `start'.
10887 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10888 (dcl-option-value-basic, dcl-option-value-offset)
10889 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10890 Mark unused parameters.
10891 (dcl-save-local-variable): Remove unused variable `val'.
10892 (mode): Declare.
10893
10894 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10895 Mark unused parameters.
10896 (delphi-ignore-changes): Move before first use.
10897 (delphi-charset-token-at): Remove unused variable `start'.
10898 (delphi-else-start): Remove unused variable `if-count'.
10899 (delphi-comment-block-start, delphi-comment-block-end):
10900 Remove unused variable `kind'.
10901 (delphi-indent-line): Remove unused variable `new-point'.
10902
10903 * progmodes/ebrowse.el (ebrowse-files-list)
10904 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10905 Mark unused parameters. Don't quote `lambda'.
10906 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10907 Don't quote `lambda'.
10908 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10909 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10910 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10911 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10912 Use `ignore-errors'.
10913 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10914 (ebrowse-view/find-file-and-search-pattern)
10915 (ebrowse-view/find-member-declaration/definition):
10916 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10917 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10918 Rename parameter PREFIX-ARG to PREFIX.
10919 (ebrowse-tags-read-name): Remove unused variables `start' and
10920 `member-info'.
10921 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10922 to `tags-file'.
10923
10924 * progmodes/etags.el (local-find-tag-hook): Declare.
10925 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10926 Mark unused parameters.
10927
10928 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10929 (executable-interpret): Mark unused parameter.
10930
10931 * progmodes/flymake.el (flymake-process-sentinel)
10932 (flymake-after-change-function)
10933 (flymake-create-temp-with-folder-structure)
10934 (flymake-get-include-dirs-dot): Mark unused parameters.
10935 (flymake-safe-delete-directory): Remove unused variable `err'.
10936
10937 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10938 (speedbar-timer-fn, speedbar-line-text)
10939 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10940 (speedbar-center-buffer-smartly): Declare functions.
10941 (gdb-find-watch-expression): Remove unused variable `array'.
10942 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10943 (gdb-starting): Mark unused parameters.
10944 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10945 (gdb-table-string): Remove unused variable `res'.
10946 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10947 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10948 (gdb-display-buffer): Remove unused variable `cur-size'.
10949
10950 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10951 allow lexical-binding compilation.
10952 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10953 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10954 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10955 Mark unused parameters.
10956 (gud-gdb-marker-filter): Remove unused variable `match'.
10957 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10958 lambda expressions and funcall them, instead of using `fset'.
10959
10960 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10961 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10962
10963 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10964 variable `header-beg'; use `let'.
10965
10966 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10967 `restart', `last-sexp' and `at-do'.
10968
10969 * progmodes/js.el (js--debug): Mark unused parameter.
10970 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10971 (js--splice-into-items): Remove unused variable `item'.
10972 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10973
10974 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10975 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10976 (makefile-complete): Remove unused variable `try'.
10977 (makefile-fill-paragraph, makefile-match-function-end):
10978 Mark unused parameters.
10979
10980 * progmodes/octave-inf.el (inferior-octave-complete):
10981 Remove unused variable `proc'.
10982 (inferior-octave-output-digest): Mark unused parameter.
10983
10984 * progmodes/perl-mode.el (perl-calculate-indent):
10985 Remove unused variable `err'.
10986
10987 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10988 (prolog-indent-line): Mark unused parameters.
10989 (prolog-indent-line): Remove unused variable `beg'.
10990
10991 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10992 (reporter-dont-compact-list): Declare.
10993
10994 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10995 Remove unused variable `char'.
10996 (sh-debug): Mark unused parameter.
10997 (sh-get-indent-info): Remove unused variable `start'.
10998 (sh-calculate-indent): Remove unused variable `var'.
10999
11000 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11001 (simula-electric-keyword): Remove unused variable `null'.
11002 (simula-search-backward, simula-search-forward): Remove unused
11003 variables `begin' and `end'.
11004
11005 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11006 Remove unused variable `pos'.
11007 (vera-electric-tab, vera-comment-uncomment-region):
11008 Mark unused parameters.
11009 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11010
7ede3b65
CY
110112011-04-22 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * emacs-lisp/package.el (package--builtins, package-alist)
11014 (package-load-descriptor, package-built-in-p, package-activate)
11015 (define-package, package-installed-p)
11016 (package-compute-transaction, package-buffer-info)
11017 (package--push): Doc fix. Distinguish more clearly between
11018 version strings and version lists.
11019
121656e9
JB
110202011-04-21 Juanma Barranquero <lekktu@gmail.com>
11021
11022 Lexical-binding cleanup.
11023
11024 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11025 (5x5-make-mutate-best):
11026 * play/fortune.el (fortune-in-buffer):
11027 * play/gomoku.el (gomoku-init-display):
11028 * play/solitaire.el (solitaire, solitaire-do-check):
11029 * play/tetris.el (tetris-default-update-speed-function):
11030 Mark unused parameters.
11031
11032 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11033 (bubbles--shift): Remove unused variable `char-org'.
11034 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11035 (bubbles--show-images): Remove unused variable `char'.
11036
11037 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11038 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11039 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11040 (decipher-analyze-buffer): Use ?\s.
11041 (decipher-make-checkpoint): Remove unused variable `mapping'.
11042
11043 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11044
11045 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11046 Remove unused variable `result'; use `let'.
11047
11048 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11049 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11050 (gametree-children-shown-p, gametree-compute-reduced-score):
11051 Use `ignore-errors'.
11052
11053 * play/handwrite.el (ps-lpr-switches): Declare.
11054 (handwrite): Remove unused variables `pmin' and `lastp'.
11055
11056 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11057
11058 * play/landmark.el (landmark-init-display)
11059 (landmark-update-naught-weights): Mark unused parameters.
11060 (landmark-y): Remove unused variable `noise'. Simplify.
11061 (landmark-human-plays): Remove unused variable `score'.
11062
11063 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11064 (mpuz-try-proposal): Remove unused variable `game'.
11065
11066 * play/zone.el (life-patterns): Declare.
11067
80f499c7
JB
110682011-04-20 Juanma Barranquero <lekktu@gmail.com>
11069
11070 * vc/vc.el (ediff-vc-internal): Declare function.
11071
024ff170
SM
110722011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11073
c0a193ea
SM
11074 * shell.el: Use lexical-binding and std completion UI.
11075 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11076 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11077 comint-preoutput-filter-functions rather than on
11078 comint-output-filter-functions.
11079 (shell-command-completion, shell--command-completion-data)
11080 (shell-filename-completion, shell-environment-variable-completion)
11081 (shell-c-a-p-replace-by-expanded-directory): New functions.
11082 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11083 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11084 (shell-dynamic-complete-environment-variable): Use them.
11085 (shell-dynamic-complete-as-environment-variable)
11086 (shell-dynamic-complete-as-command): Remove.
11087 (shell-match-partial-variable): Match past point.
11088 * comint.el: Clean up use of completion-at-point-functions.
11089 (comint-completion-at-point): New function.
11090 (comint-mode): Use it completion-at-point-functions.
11091 (comint-dynamic-complete): Make it obsolete.
11092 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11093 (comint-c-a-p-replace-by-expanded-history): New function.
11094 (comint-dynamic-complete-functions)
11095 (comint-replace-by-expanded-history): Use it.
11096 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11097 termination strings. Try harder to avoid second try-completion.
11098 (completion-in-region-mode-map): Disable bindings that don't work yet.
11099
2dbaa080
SM
11100 * comint.el: Use lexical-binding. Require CL.
11101 (comint-dynamic-complete-functions): Use comint-filename-completion.
11102 (comint-completion-addsuffix): Tweak custom type.
11103 (comint-filename-completion, comint--common-suffix)
11104 (comint--common-quoted-suffix, comint--table-subvert)
11105 (comint--complete-file-name-data): New functions.
11106 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11107 (comint-dynamic-list-filename-completions): Use them.
11108 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11109
2dbaa080
SM
11110 * minibuffer.el (completion-in-region-mode):
11111 Keep completion-in-region-mode--predicate global.
11112 (completion-in-region--postch):
11113 Assume completion-in-region-mode--predicate is not null.
11114
c79a6f38
SM
11115 * progmodes/flymake.el (flymake-start-syntax-check-process):
11116 Obey `dir'. Simplify.
11117
024ff170
SM
11118 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11119 we're in VC after all.
11120
1c6c854e
CS
111212011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11122
11123 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11124 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11125 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11126
bed7f140
SM
111272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11128
332e62ab
SM
11129 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11130 add sanity check.
11131
bed7f140
SM
11132 * obsolete/erc-hecomplete.el: Make obsolete.
11133 * obsolete/: Standardize obsolescence info in the header.
11134
f195c582
GM
111352011-04-20 Glenn Morris <rgm@gnu.org>
11136
11137 * calendar/solar.el (solar-horizontal-coordinates):
11138 Use the longitude argument rather than `calendar-longitude'.
11139 (solar-date-next-longitude): Remove unused locals.
11140
cb79b8c0
VJL
111412011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11142
11143 * whitespace.el: New version 13.2.1.
11144
111452011-04-20 felix <EmacsWiki> (tiny change)
11146
d8e4b68b 11147 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11148 switching between major modes on a file.
11149
602ea69d
SM
111502011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11151
11152 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11153 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11154 multi-line comments as well.
11155
06b60517
JB
111562011-04-19 Juanma Barranquero <lekktu@gmail.com>
11157
11158 Lexical-binding cleanup.
11159
11160 * arc-mode.el (archive-mode-revert):
11161 * cmuscheme.el (scheme-interactively-start-process):
11162 * custom.el (custom-initialize-delay):
11163 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11164 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11165 * emacs-lock.el (emacs-lock-clear-sentinel):
11166 * ezimage.el (defezimage):
11167 * follow.el (follow-avoid-tail-recenter):
11168 * fringe.el (set-fringe-mode-1):
11169 * generic-x.el (bat-generic-mode-compile):
11170 * help-mode.el (help-info-variable, help-do-xref)
11171 (help-mode-revert-buffer):
11172 * help.el (view-emacs-todo):
11173 * iswitchb.el (iswitchb-completion-help):
11174 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11175 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11176 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11177 * locate.el (locate-update):
11178 * longlines.el (longlines-encode-region)
11179 (longlines-after-change-function):
11180 * outline.el (outline-isearch-open-invisible):
11181 * ps-def.el (declare-function, charset-dimension, char-width)
11182 (encode-char):
11183 * ps-mule.el (ps-mule-plot-string):
11184 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11185 (recentf-edit-list-select, recentf-edit-list-validate)
11186 (recentf-open-files-action):
11187 * rect.el (delete-whitespace-rectangle-line)
11188 (rectangle-number-line-callback):
11189 * register.el (window-configuration-to-register)
11190 (frame-configuration-to-register):
11191 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11192 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11193 (xselect-convert-to-targets, xselect-convert-to-delete)
11194 (xselect-convert-to-filename, xselect-convert-to-charpos)
11195 (xselect-convert-to-lineno, xselect-convert-to-colno)
11196 (xselect-convert-to-os, xselect-convert-to-host)
11197 (xselect-convert-to-user, xselect-convert-to-class)
11198 (xselect-convert-to-name, xselect-convert-to-integer)
11199 (xselect-convert-to-atom, xselect-convert-to-identity):
11200 * subr.el (declare, ignore, process-kill-without-query)
11201 (text-clone-maintain):
11202 * terminal.el (te-get-char, te-tic-sentinel):
11203 * tool-bar.el (tool-bar-make-keymap):
11204 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11205 * type-break.el (type-break-mode, type-break-noninteractive-query):
11206 * view.el (View-back-to-mark):
11207 * wid-browse.el (widget-browse-action, widget-browse-widget)
11208 (widget-browse-widgets, widget-browse-sexp):
11209 * widget.el (define-widget-keywords):
11210 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11211 Mark unused parameters.
11212
11213 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11214 (align-areas): Remove unused variable `look'.
11215 (align-region): Remove unused variables `real-end' and `pos-list'.
11216
11217 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11218
11219 * bindings.el (mode-line-modified, mode-line-remote):
11220 Mark unused parameters.
11221 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11222
11223 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11224 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11225
11226 * comint.el (comint-history-isearch-pop-state)
11227 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11228 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11229 (comint-substitute-in-file-name): Doc fix.
11230
11231 * completion.el (cmpl-statistics-block): Mark unused parameter.
11232 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11233 (save-completions-to-file, load-completions-from-file):
11234 Remove unused local variable `e'.
11235
11236 * composite.el (compose-chars): Remove unused variable `len'.
11237 (lgstring-insert-glyph): Remove unused variable `g'.
11238 (compose-glyph-string): Remove unused variables `ascent',
11239 `descent', `lbearing' and `rbearing'.
11240 (compose-glyph-string-relative): Remove unused variables
11241 `lbearing', `rbearing' and `wadjust'.
11242 (compose-gstring-for-graphic): Remove unused variables `header',
11243 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11244 (compose-gstring-for-terminal): Remove unused variables `header'
11245 and `nchars'. Use `let', not `let*'.
11246
11247 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11248 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11249 (Custom-buffer-done, custom-buffer-create-internal)
11250 (custom-browse-visibility-action, custom-browse-group-tag-action)
11251 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11252 (widget-magic-mouse-down-action, custom-toggle-parent)
11253 (custom-add-parent-links, custom-toggle-hide-variable)
11254 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11255 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11256 (custom-face-menu-create, custom-variable-menu-create, get)
11257 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11258 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11259 (customize-apropos): Remove unused variable `tests'.
11260 (custom-group-value-create): Remove unused variable `hidden-p'.
11261 (sort-fold-case): Declare.
11262
11263 * cus-theme.el (custom-reset-standard-faces-list)
11264 (custom-reset-standard-variables-list): Declare.
11265 (customize-create-theme, custom-theme-revert, custom-theme-write)
11266 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11267 Mark unused parameters.
11268
11269 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11270
11271 * delim-col.el (delimit-columns-max): Move defvar before first use.
11272
11273 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11274 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11275
11276 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11277 (auto-insert): Declare.
11278 (desktop-restore-file-buffer): Rename desktop-* parameters;
11279 mark unused ones.
11280 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11281 (desktop-buffer): Rename desktop-* parameters.
11282
11283 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11284 (dframe-reposition-frame-xemacs, dframe-help-echo)
11285 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11286 Mark unused parameters.
11287
11288 * dired-aux.el (backup-extract-version-start, overwrite-query)
11289 (overwrite-backup-query, rename-regexp-query)
11290 (rename-non-directory-query): Declare.
11291 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11292 (dired-add-entry): Remove unused variable `orig-file-name'.
11293 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11294 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11295 `dired-copy-preserve-time' directly.
11296 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11297 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11298
11299 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11300 (dired-virtual-revert, dired-make-relative-symlink):
11301 Mark unused parameters.
11302 (manual-program): Declare.
11303 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11304 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11305 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11306
11307 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11308
11309 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11310
11311 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11312 Declare.
11313
11314 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11315
11316 * electric.el (Electric-command-loop): Rename parameter
11317 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11318
11319 * expand.el (expand-in-literal): Remove unused variable `here'.
11320
11321 * facemenu.el (facemenu-add-new-color):
11322 Remove unused variable `docstring'.
11323
11324 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11325 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11326 (face-attr-construct): Mark unused parameter. Doc fix.
11327 (read-color): Remove unused variable `hex-string'.
11328
11329 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11330 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11331 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11332 (display-buffer-other-frame): Remove unused variable `old-window'.
11333 (kill-buffer-hook): Declare.
11334 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11335 Mark unused parameters.
11336 (after-find-file): Pass 1 to `auto-save-mode', not t.
11337
11338 * files-x.el (auto-insert): Declare.
11339 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11340
11341 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11342 variable `buf'. Mark unused parameter.
06b60517
JB
11343 (find-lisp-insert-directory): Mark unused parameter.
11344
11345 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11346 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11347 (format-common-tail): Remove, unused.
11348 (format-deannotate-region): Remove unused variable `loc'.
11349 (format-annotate-region): Remove unused variable `p'.
11350 (format-annotate-single-property-change): Remove unused variables
11351 `default' and `tail'.
11352
11353 * forms.el (read-file-filter): Declare.
11354 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11355
11356 * frame.el (frame-creation-function-alist): Mark unused parameter.
11357 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11358
11359 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11360 Remove unused parameters.
11361 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11362 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11363
11364 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11365 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11366 (hfy-prepare-tag-map): Mark unused parameters.
11367 (htmlfontify-buffer): Use `called-interactively-p'.
11368
11369 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11370 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11371 (ibuffer-do-occur): Mark unused parameters.
11372 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11373 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11374
11375 * ibuffer.el: Don't quote `lambda'.
11376 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11377 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11378 Mark unused parameters.
11379
11380 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11381 (ido-completing-read): Mark unused parameters.
11382 (ido-copy-current-word): Mark unused parameters;
11383 remove unused variable `name'.
11384 (ido-sort-merged-list): Remove unused parameter `dirs'.
11385
11386 * ielm.el (ielm-input-sender): Mark unused parameter.
11387 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11388 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11389 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11390 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11391 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11392
11393 * image-dired.el (image-dired-display-thumbs): Remove unused
11394 variables `curr-file' and `count'.
11395 (image-dired-remove-tag): Remove unused variable `start'.
11396 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11397 variable `curr-file'
11398 (image-dired-rotate-original): Remove unused variable `temp-file'.
11399 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11400 Remove unused variable `file'.
11401 (image-dired-gallery-generate): Remove unused variable `curr'.
11402 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11403
11404 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11405
11406 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11407
11408 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11409
11410 * isearch.el (minibuffer-history-symbol): Declare.
11411 (isearch-edit-string): Remove unused variable `err'.
11412 (isearch-message-prefix, isearch-message-suffix):
11413 Mark unused parameters.
11414
11415 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11416
11417 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11418
11419 * makesum.el (double-column): Remove unused variable `cnt'.
11420
11421 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11422 (ido-ignore-item-temp-list): Declare.
11423
11424 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11425 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11426 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11427 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11428 `mouse-col-delta'.
11429
11430 * mouse-sel.el (mouse-extend-internal):
11431 Remove unused variable `orig-window-frame'.
11432
11433 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11434 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11435 Move declarations before first use.
11436 (pcomplete-opt): Mark unused parameters; doc fix.
11437
11438 * proced.el (proced-revert): Mark unused parameter.
11439 (proced-send-signal): Remove unused variable `err'.
11440
11441 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11442 Rename parameter PREFIX-ARG to ARG.
11443 (ps-basic-plot-string, ps-basic-plot-whitespace):
11444 Mark unused parameters.
11445
11446 * replace.el (replace-count): Define.
11447 (occur-revert-function): Mark unused parameters.
11448 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11449 (isearch-case-fold-search, isearch-string): Declare.
11450 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11451 bind `case-fold-search'. Remove unused variables `beg' and `end',
11452 and simplify.
11453 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11454 COUNT and bind `replace-count'.
11455 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11456 to COUNT.
11457
11458 * savehist.el (print-readably, print-string-length): Declare.
11459
11460 * shadowfile.el (shadow-expand-cluster-in-file-name):
11461 Remove unused variable `cluster'.
11462 (shadow-copy-file): Remove unused variable `i'.
11463 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11464 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11465 (shadow-define-literal-group, shadow-define-regexp-group)
11466 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11467
11468 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11469 (shell): Use `called-interactively-p'.
11470 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11471
11472 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11473 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11474 (delete-backward-char): Remove unused variable `ocol'.
11475 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11476 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11477 (event-apply-hyper-modifier, event-apply-shift-modifier)
11478 (event-apply-control-modifier, event-apply-meta-modifier):
11479 Mark unused parameters.
11480 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11481 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11482
11483 * speedbar.el (speedbar-ignored-directory-expressions)
11484 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11485 (speedbar-find-file, speedbar-dir-follow)
11486 (speedbar-directory-buttons-follow, speedbar-tag-find)
11487 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11488 (speedbar-buffers-line-directory, speedbar-buffer-click):
11489 Mark unused parameters.
11490 (speedbar-tag-file): Remove unused variable `mode'.
11491 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11492
11493 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11494
11495 * talk.el (talk): Remove unused variable `display'.
11496
11497 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11498 (tar-write-region-annotate): Mark unused parameter.
11499
11500 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11501 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11502 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11503 warning by another.
11504
11505 * time-stamp.el (time-stamp-string-preprocess):
11506 Remove unused variable `require-padding'.
11507
11508 * tree-widget.el (widget-glyph-enable): Declare.
11509 (tree-widget-action): Mark unused parameter.
11510
11511 * w32-fns.el (x-get-selection): Mark unused parameter.
11512 (autoload-make-program, generated-autoload-file): Declare.
11513
11514 * wdired.el (wdired-revert): Mark unused parameters.
11515 (wdired-xcase-word): Remove unused variable `err'.
11516
11517 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11518 (whitespace-help-scroll): Remove unused variable `data-help'.
11519
11520 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11521 (widget-image-insert, widget-after-change, default)
11522 (widget-default-format-handler, widget-default-notify)
11523 (widget-default-prompt-value, widget-info-link-action)
11524 (widget-url-link-action, widget-function-link-action)
11525 (widget-variable-link-action, widget-file-link-action)
11526 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11527 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11528 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11529 (widget-insert-button-action, widget-delete-button-action, visibility)
11530 (widget-documentation-link-action, widget-documentation-string-action)
11531 (widget-const-prompt-value, widget-regexp-match, symbol)
11532 (widget-coding-system-prompt-value)
11533 (widget-key-sequence-value-to-external, sexp)
11534 (widget-sexp-value-to-internal, character, vector, cons)
11535 (widget-choice-prompt-value, widget-boolean-prompt-value)
11536 (widget-color--choose-action): Mark unused parameters.
11537 (widget-item-match-inline, widget-choice-match-inline)
11538 (widget-checklist-match, widget-checklist-match-inline)
11539 (widget-group-match): Rename parameter VALUES to VALS.
11540 (widget-field-value-set): Remove unused variable `size'.
11541 (widget-color-action): Remove unused variables `value' and `start'.
11542
11543 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11544 variable `dir'. Doc fix.
06b60517
JB
11545 (windmove-find-other-window): Don't pass it.
11546
11547 * window.el (count-windows): Mark unused parameter.
11548 (bw-adjust-window): Remove unused variable `err'.
11549
11550 * woman.el (woman-file-name): Remove unused variable `default'.
11551 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11552 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11553 (global-font-lock-mode): Declare.
11554 (woman-decode-region): Mark unused parameter.
11555 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11556
11557 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11558 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11559 (x-dnd-handle-moz-url): Remove unused variable `title'.
11560 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11561
11562 * xml.el (xml-parse-tag, xml-parse-attlist):
11563 Remove unused variable `pos'.
11564
bc4f7f3d
GM
115652011-04-19 Glenn Morris <rgm@gnu.org>
11566
11567 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11568 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11569 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11570 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11571 * calendar/cal-html.el (cal-html-insert-minical):
11572 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11573 (calendar-mark-date-pattern):
11574 Prefix "unused" locals.
11575
11576 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11577 optional argument `style'.
11578
11579 * calendar/appt.el (appt-make-list):
11580 * calendar/cal-china.el (calendar-chinese-date-string):
11581 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11582 (diary-hebrew-yahrzeit):
11583 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11584 * calendar/calendar.el (calendar-generate-window):
11585 * calendar/time-date.el (time-to-days):
11586 Remove unused local variables.
11587
16a43933
CY
115882011-04-18 Chong Yidong <cyd@stupidchicken.com>
11589
11590 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11591 glyphless-char-display table.
11592 (tabulated-list-glyphless-char-display): New var.
11593
7eed1860
SS
115942011-04-18 Sam Steingold <sds@gnu.org>
11595
11596 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11597 to acknowledgments.
11598
4d2d1ccd
GM
115992011-04-17 Glenn Morris <rgm@gnu.org>
11600
11601 * calendar/diary-lib.el (diary-sexp-entry):
11602 * calendar/holidays.el (holiday-sexp):
11603 Set debug-on-error rather than the removed stack-trace-on-error.
11604
239da61d
GM
116052011-04-16 Glenn Morris <rgm@gnu.org>
11606
11607 * progmodes/f90.el: Use lexical-binding.
11608 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11609
8b05752a
SM
116102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11611
daca8ba5
SM
11612 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11613 (mail-mode): Setup mailalias completion here instead.
11614 * mail/mailalias.el: Use lexical-binding.
11615 (pattern, mailalias-done): Declare dynamic.
11616 (mail-completion-at-point-function): New function, from mail-complete.
11617 (mail-complete): Use it.
11618 (mail-completion-expand): New function.
11619 (mail-get-names): Use it.
11620 (mail-directory, mail-directory-process, mail-directory-stream):
11621 Don't use `pattern' for lexically bound arg.
11622
6f542485
SM
11623 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11624
037e7c3f
SM
11625 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11626 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11627 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11628
8b05752a
SM
11629 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11630 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11631 (byte-interactive-p): Define them again, for use when inlining
11632 old code.
11633
49093f60
JB
116342011-04-15 Juanma Barranquero <lekktu@gmail.com>
11635
11636 * loadup.el: Use `string-to-number', not `string-to-int'.
11637
b5b8e7de
SM
116382011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11641 gud-gdb-complete-command.
11642 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11643 (gud-gdb-completion-at-point): New function.
11644 (gud-gdb-completions): Remove.
11645
f42efeb5
MA
116462011-04-14 Michael Albinus <michael.albinus@gmx.de>
11647
49093f60
JB
11648 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11649 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11650 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11651 whether `executable-find' is bound.
f42efeb5
MA
11652
11653 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11654
e240cc21
SM
116552011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * minibuffer.el (completion-in-region-mode-predicate)
11658 (completion-in-region-mode--predicate): New vars.
11659 (completion-in-region, completion-in-region--postch)
11660 (completion-in-region-mode): Use them.
11661 (completion--capf-wrapper): Also return the hook function.
11662 (completion-at-point, completion-help-at-point):
11663 Adjust and provide a predicate.
c2bd2ab0
SM
11664
11665 Preserve arg names for advice of subr and lexical functions (bug#8457).
11666 * help-fns.el (help-function-arglist): Consolidate the subr and
11667 new-byte-code cases. Add argument `preserve-names' to extract names
11668 from the docstring when needed.
11669 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11670 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11671 (ad-arglist): Use help-function-arglist's new arg.
11672 (ad-definition-type): Use cond.
11673
c183f693
JB
116742011-04-13 Juanma Barranquero <lekktu@gmail.com>
11675
06641a47
JB
11676 * autorevert.el (auto-revert-handler):
11677 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11678 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11679 Don't quote lambda.
11680
c183f693
JB
11681 * image-mode.el (image-transform-set-scale):
11682 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11683
1e3b6001
G
116842011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11685
11686 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11687 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11688 Upgrades via gnutls-cli are too slow to be done opportunistically.
11689
2d6af8dd
JB
116902011-04-12 Juanma Barranquero <lekktu@gmail.com>
11691
11692 * dframe.el (dframe-current-frame): Remove spurious quote.
11693
c0749a51
GM
116942011-04-12 Glenn Morris <rgm@gnu.org>
11695
088d0d61
GM
11696 * calendar/cal-tex.el (cal-tex-end-document):
11697 Try to automatically use latin1 input if needed.
11698
c0749a51
GM
11699 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11700 Don't try to cons a mark onto an empty element.
11701
5c90fde0
LL
117022011-04-11 Leo Liu <sdl.web@gmail.com>
11703
11704 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11705 buffers.
11706 (ido-kill-buffer-at-head): Support killing virtual buffers.
11707
369e974d
CY
117082011-04-10 Chong Yidong <cyd@stupidchicken.com>
11709
11710 * minibuffer.el (completion-show-inline-help): New var.
11711 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11712 (minibuffer-force-complete, minibuffer-complete-word):
11713 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11714
11715 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11716 to avoid interference from inline help (Bug#5849).
11717
37f1c930
LL
117182011-04-10 Leo Liu <sdl.web@gmail.com>
11719
099c39a4
JB
11720 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11721 Fix typo.
37f1c930 11722
a32d4040
CY
117232011-04-09 Chong Yidong <cyd@stupidchicken.com>
11724
11725 * image-mode.el (image-toggle-display-image): Signal an error if
11726 not in Image mode.
11727 (image-transform-mode, image-transform-resize)
11728 (image-transform-set-rotation): Doc fix.
daca8ba5 11729 (image-transform-set-resize): Delete.
a32d4040
CY
11730 (image-transform-set-scale, image-transform-fit-to-height)
11731 (image-transform-fit-to-width): Handle image-toggle-display-image
11732 and image-transform-resize directly.
11733
099c39a4 117342011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11735
11736 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11737 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11738 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11739 (doc-view-mode-map): Add bindings for the new functions.
11740
099c39a4 117412011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11742
4d61f28d 11743 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11744 Fix typo in docstring.
11745
3726838a
EZ
117462011-04-08 Eli Zaretskii <eliz@gnu.org>
11747
04f33f1e
EZ
11748 * files.el (file-size-human-readable): Produce one digit after
11749 decimal, like "ls -lh" does.
11750
11751 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11752 the file size representation.
11753
3726838a
EZ
11754 * simple.el (list-processes): If async subprocesses are not
11755 available, error out with a clear error message.
11756
cbb59342
CY
117572011-04-08 Chong Yidong <cyd@stupidchicken.com>
11758
11759 * help.el (help-form-show): New function, to be called from C.
11760 Put help-form output in a buffer named differently than *Help*.
11761
e3971c44
EZ
117622011-04-08 Eli Zaretskii <eliz@gnu.org>
11763
11764 * files.el (file-size-human-readable): New function.
11765
11766 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11767 computing the representation inline. Don't require `cl'.
11768
12544bbe
GM
117692011-04-08 Glenn Morris <rgm@gnu.org>
11770
a1de6c6a
GM
11771 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11772
3c4671f4
GM
11773 * net/browse-url.el (browse-url-firefox):
11774 Test system-type, not system-configuration.
11775
b605679c
GM
11776 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11777 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11778 Use log-edit-empty-buffer-p. (Bug#7598)
11779
56442f0c
GM
11780 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11781 (rlogin-mode-map): Initialize in the defvar.
11782 (rlogin): Use ignore-errors.
11783
12544bbe
GM
11784 * replace.el (occur-mode-map): Some fixes for menu items.
11785
eb237b0f
AH
117862011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11787
11788 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11789
7d668f2c
CY
117902011-04-06 Chong Yidong <cyd@stupidchicken.com>
11791
e67a13ab
CY
11792 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11793 issuing unused warnings.
11794
11795 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11796 macro directly.
11797
7d668f2c
CY
11798 * simple.el: Lisp reimplement of list-processes. Based on an
11799 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11800 (process-menu-mode): New major mode.
11801 (list-processes--refresh, list-processes):
11802 (process-menu-visit-buffer): New functions.
11803
11804 * files.el (save-buffers-kill-emacs): Don't assume any return
11805 value of list-processes, which is undocumented anyway.
11806
a83ec3c9
CY
118072011-04-06 Chong Yidong <cyd@stupidchicken.com>
11808
11809 * emacs-lisp/tabulated-list.el: New file.
11810
e91a96fe
CY
11811 * emacs-lisp/package.el: Use Tabulated List mode.
11812 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11813 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11814 table format using Tabulated List mode variables.
11815 (package--push): New macro, replacing package-list-maybe-add.
11816 (package-menu--generate): Use package--push. Renamed from
11817 package--generate-package-list.
11818 (package-menu-refresh, list-packages): Use it.
daca8ba5 11819 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11820 Return insertion data instead of inserting it directly.
099c39a4
JB
11821 (package-menu-describe-package, package-menu-execute):
11822 Use tabulated-list-get-id.
e91a96fe
CY
11823 (package-menu-mark-delete, package-menu-mark-install)
11824 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11825 (package-menu-mark-obsolete-for-deletion):
11826 Use tabulated-list-put-tag.
e91a96fe
CY
11827 (package--list-packages, package-menu-revert)
11828 (package-menu-get-package, package-menu-get-version)
11829 (package-menu-sort-by-column): Functions deleted.
11830 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11831 (package-menu--status-predicate, package-menu--version-predicate)
11832 (package-menu--name-predicate)
11833 (package-menu--description-predicate): Handle arguments in the
11834 Tabulated List format.
11835 (package-list-packages-no-fetch): Call list-packages.
11836
3e214b50
JB
118372011-04-06 Juanma Barranquero <lekktu@gmail.com>
11838
11839 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11840 (after-find-file): Don't bind it.
3e214b50
JB
11841 (revert-buffer-in-progress-p): New variable.
11842 (revert-buffer): Bind it.
11843 Pass nil for `after-find-file-from-revert-buffer'.
11844
11845 * saveplace.el (save-place-find-file-hook): Use new variable
11846 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11847
3f0f1700
GM
118482011-04-06 Glenn Morris <rgm@gnu.org>
11849
c0274801
GM
11850 * Makefile.in (AUTOGEN_VCS): New variable.
11851 (autoloads): Use $AUTOGEN_VCS.
11852
3f0f1700
GM
11853 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11854 * calendar/calendar.el (calendar-mode-map):
11855 Check for toolkit scroll bars. (Bug#8305)
11856
41ea9e48
CY
118572011-04-05 Chong Yidong <cyd@stupidchicken.com>
11858
11859 * minibuffer.el (completion-in-region--postch)
11860 (completion-in-region-mode): Remove unnecessary messages.
11861
6194c800
JB
118622011-04-05 Juanma Barranquero <lekktu@gmail.com>
11863
33256f14
JB
11864 * font-lock.el (font-lock-refresh-defaults):
11865 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11866 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11867
6194c800
JB
11868 * info.el (Info-directory-list, Info-read-node-name-2)
11869 (Info-split-parameter-string): Doc fixes.
11870 (Info-virtual-nodes): Reflow docstring.
11871 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11872 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11873 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11874 Fix typos in docstrings.
11875 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11876 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11877 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11878 (Info-restore-desktop-buffer): Mark unused parameters.
11879 (Info-directory-find-file, Info-directory-find-node)
11880 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11881 (Info-virtual-index-find-node, Info-apropos-find-file)
11882 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11883 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11884 (Info-virtual-index): Remove unused local variable `nodename'.
11885
b87a8200 118862011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11887
b87a8200
DD
11888 * net/rcirc.el: Update my e-mail address.
11889 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11890
3b2ff876
CY
118912011-04-05 Chong Yidong <cyd@stupidchicken.com>
11892
11893 * startup.el (command-line): Save the cursor's theme-face
11894 directly, instead of using face-override-spec.
11895
11896 * custom.el (load-theme): Minor optimization in assigning faces.
11897
8d17e7ca
JB
118982011-04-04 Juanma Barranquero <lekktu@gmail.com>
11899
11900 * help-fns.el (describe-variable): Complete all variables having
11901 documentation, including keywords.
11902 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11903
2fbc1934
JB
119042011-04-04 Juanma Barranquero <lekktu@gmail.com>
11905
11906 Convert to lexical-binding.
11907
11908 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11909 (bs--get-marked-string, bs--get-modified-string)
11910 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11911 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11912 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11913
11914 * ehelp.el (electric-help-execute-extended)
11915 (electric-help-ctrl-x-prefix):
11916 * hexl.el (hexl-revert-buffer-function):
11917 * linum.el (linum-after-change, linum-after-scroll):
11918 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11919
11920 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11921
74f50695
DU
119222011-04-04 Daiki Ueno <ueno@unixuser.org>
11923
11924 * epa-dired.el:
11925 * epa-mail.el:
11926 * epa-hook.el:
11927 * epa-file.el:
11928 * epa.el:
11929 * epg.el: Use lexical binding.
11930
c11325f7
CY
119312011-04-03 Chong Yidong <cyd@stupidchicken.com>
11932
0d9e9a12
CY
11933 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11934
c11325f7 11935 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11936 dictionary case for flyspell-mark-duplications-exceptions.
11937 Use regexp matching for languages.
c11325f7
CY
11938 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11939 default dictionary (Bug#7926).
11940
da91b5f2
CY
119412011-04-02 Chong Yidong <cyd@stupidchicken.com>
11942
099c39a4
JB
11943 * emacs-lisp/package.el (package--with-work-buffer):
11944 Recognize https URLs.
da91b5f2 11945
099c39a4
JB
11946 * net/network-stream.el: Move from gnus/proto-stream.el.
11947 Change prefix to network-stream throughout.
da91b5f2
CY
11948 (open-protocol-stream): Merge into open-network-stream, leaving
11949 open-protocol-stream as an alias. Handle nil BUFFER args.
11950
11951 * subr.el (open-network-stream): Move to net/network-stream.el.
11952
afa8e9f6
GM
119532011-04-02 Glenn Morris <rgm@gnu.org>
11954
1d2e369d
GM
11955 * find-dired.el (find-exec-terminator): New option.
11956 (find-ls-option): Test for -ls support.
11957 (find-ls-subdir-switches): Test for -b in find-ls-option.
11958 (find-dired, find-grep-dired): Doc fixes.
11959 (find-dired): Use find-exec-terminator.
11960
8abb7da8 11961 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11962 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11963 (find-name-arg): Remove purecopy.
8abb7da8 11964
f3ca7378
GM
11965 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11966 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11967 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11968 accordingly. Don't add the null-device if not needed.
11969
afa8e9f6
GM
11970 * files.el (save-some-buffers): Doc fix.
11971
35eae264
EZ
119722011-04-02 Eli Zaretskii <eliz@gnu.org>
11973
11974 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11975
26b51db5
JB
119762011-04-01 Juanma Barranquero <lekktu@gmail.com>
11977
11978 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11979 Use `dolist' rather than `mapcar'.
11980
7200d79c
SM
119812011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11982
03408648 11983 Add lexical binding.
7200d79c 11984
03408648
SM
11985 * subr.el (apply-partially): Use new closures rather than CL.
11986 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11987 (dolist, dotimes): Use slightly different expansion for lexical code.
11988 (functionp): Move to C.
11989 (letrec): New macro.
11990 (with-wrapper-hook): Use it and apply-partially instead of CL.
11991 (eval-after-load): Preserve lexical-binding.
11992 (save-window-excursion, with-output-to-temp-buffer): Turn them
11993 into macros.
7200d79c 11994
03408648
SM
11995 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11996
11997 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11998 than the arglist.
11999 (help-add-fundoc-usage): Don't add `Not documented'.
12000 (help-function-arglist): Handle closures, subroutines, and new
12001 byte-code-functions.
12002 (help-make-usage): Remove leading underscores.
12003 (describe-function-1): Handle closures.
12004 (describe-variable): Use special-variable-p for completion.
12005
12006 * files.el (lexical-binding): Declare safe.
f488fb65 12007
03408648
SM
12008 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12009 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12010 (pcase): Add `let' pattern.
12011 Change memoization so it actually works.
12012 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12013 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12014 <let>: New case.
f488fb65 12015
03408648
SM
12016 * emacs-lisp/macroexp.el: Use lexical binding.
12017 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12018 Don't convert ' to #' without checking that it's indeed quoting
12019 a lambda.
12020
12021 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12022 Use eval-sexp-add-defvars.
03408648
SM
12023 (eval-sexp-add-defvars): New fun.
12024
12025 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12026
12027 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12028 Don't autoload.
12029 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12030 than the internal `byte-compile-lambda'.
12031 (defmethod): Don't hide code under quotes.
12032 (eieio-defmethod): New `code' argument.
12033
12034 * emacs-lisp/eieio-comp.el: Remove.
12035
12036 * emacs-lisp/edebug.el (edebug-eval-defun)
12037 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12038 (edebug-toggle): Avoid `eval'.
12039
12040 * emacs-lisp/disass.el (disassemble-internal): Handle new
12041 `closure' objects.
12042 (disassemble-1): Handle new byte codes.
12043
12044 * emacs-lisp/cl.el (pushnew): Silence warning.
12045
12046 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12047 (cl-byte-compile-throw): Remove.
12048 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12049
12050 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12051 closures.
12052
12053 * emacs-lisp/cconv.el: New file.
12054
12055 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12056 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12057 (byte-compile-initial-macro-environment):
12058 Handle declare-function here.
12059 (byte-compile--lexical-environment): New var.
12060 (byte-stack-ref, byte-stack-set, byte-discardN)
12061 (byte-discardN-preserve-tos): New lap codes.
12062 (byte-interactive-p): Don't use any more.
12063 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12064 New macros.
12065 (byte-compile-lapcode): Use them and handle new lap codes.
12066 (byte-compile-obsolete): Remove.
12067 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12068 (byte-compile-arglist-warn): Check late def of inlinable funs.
12069 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12070 since they should have been expanded by now.
12071 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12072 (byte-compile-from-buffer): Remove unused second arg.
12073 (byte-compile-preprocess): New function.
12074 (byte-compile-toplevel-file-form): New function to distinguish
12075 file-form calls from outside from file-form calls from hunk-handlers.
12076 (byte-compile-file-form): Simplify.
12077 (byte-compile-file-form-defsubst): Remove.
12078 (byte-compile-file-form-defmumble): Simplify now that
12079 byte-compile-lambda always returns a byte-code-function.
12080 (byte-compile): Preprocess.
12081 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12082 Remove, not used any more.
12083 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12084 (byte-compile-make-args-desc): New funs.
12085 (byte-compile-lambda): Handle lexical functions. Always return
12086 a byte-code-function.
12087 (byte-compile-reserved-constants): New var, to make up room for
12088 closed-over variables.
12089 (byte-compile-constants-vector): Obey it.
12090 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12091 (byte-compile-macroexpand-declare-function): New function.
12092 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12093 byte-code-functions.
12094 (byte-compile-form): Check obsolescence here.
12095 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12096 (byte-compile-variable-ref): Remove.
12097 (byte-compile-dynamic-variable-op): New fun.
12098 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12099 (byte-compile-variable-set): New funs.
12100 (byte-compile-discard): Add 2 args.
12101 (byte-compile-stack-ref, byte-compile-stack-set)
12102 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12103 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12104 macroexpand-all instead.
12105 (byte-compile-quote-form): Remove.
12106 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12107 (byte-compile-bind, byte-compile-unbind): New funs.
12108 (byte-compile-let): Handle let* and lexical binding.
12109 (byte-compile-let*): Remove.
12110 (byte-compile-catch, byte-compile-unwind-protect)
12111 (byte-compile-track-mouse, byte-compile-condition-case):
12112 Handle a new :fun-body form, used for lexical scoping.
12113 (byte-compile-save-window-excursion)
12114 (byte-compile-with-output-to-temp-buffer): Remove.
12115 (byte-compile-defun): Simplify.
12116 (byte-compile-stack-adjustment): New fun.
12117 (byte-compile-out): Use it.
12118 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12119
12120 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12121 handler any more.
12122
12123 * emacs-lisp/byte-opt.el: Use lexical binding.
12124 (byte-inline-lapcode): Remove (to bytecomp).
12125 (byte-compile-inline-expand): Pay attention to inlining to/from
12126 lexically bound code.
12127 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12128 any more.
12129 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12130 any more and don't call compiler-macros.
12131 (byte-compile-splice-in-already-compiled-code): Remove.
12132 (byte-code): Don't inline any more.
12133 (disassemble-offset): Receive `bytes' as argument rather than via
12134 dynamic scoping.
12135 (byte-compile-tag-number): Declare before first use.
12136 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12137 `return' even if make-spliceable.
12138 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12139 obsolete interactive-p.
12140 (byte-optimize-lapcode): Optimize new lap-codes.
12141 Don't trip up on new form of `byte-constant' lap code.
12142
12143 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12144
12145 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12146
12147 * custom.el (custom-initialize-default, custom-declare-variable):
12148 Use `defvar'.
12149
12150 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12151 New variables.
12152 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12153 (COMPILE_FIRST): Add macroexp and cconv.
12154 * makefile.w32-in: Mirror changes in Makefile.in.
12155
12156 * vc/cvs-status.el:
12157 * vc/diff-mode.el:
12158 * vc/log-edit.el:
12159 * vc/log-view.el:
12160 * vc/smerge-mode.el:
12161 * textmodes/bibtex-style.el:
12162 * textmodes/css.el:
12163 * startup.el:
12164 * uniquify.el:
da91b5f2
CY
12165 * minibuffer.el:
12166 * newcomment.el:
12167 * reveal.el:
12168 * server.el:
12169 * mpc.el:
12170 * emacs-lisp/smie.el:
12171 * doc-view.el:
12172 * dired.el:
03408648
SM
12173 * abbrev.el: Use lexical binding.
12174
0f0c1f27
EZ
121752011-04-01 Eli Zaretskii <eliz@gnu.org>
12176
12177 * info.el (info-display-manual): New function.
12178
c82b2579
SM
121792011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12182
221ddf68
TH
121832011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12184
12185 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12186 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12187
cba6e77e
GM
121882011-03-31 Glenn Morris <rgm@gnu.org>
12189
e040639f
GM
12190 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12191
cba6e77e
GM
12192 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12193
6d0f1c9e
CS
121942011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12195
12196 * progmodes/python.el (python-default-interpreter)
12197 (python-python-command-args, python-jython-command-args)
12198 (python-which-shell, python-which-args, python-which-bufname)
12199 (python-file-queue, python-comint-output-filter-function)
12200 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12201 variables and functions.
12202
3e2d70fd
SM
122032011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12206 (completion-in-region-mode): New minor mode.
12207 (completion-in-region): Use it.
12208 (completion-in-region--data, completion-in-region-mode-map): New vars.
12209 (completion-in-region--postch): New function.
12210 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12211 New vars.
12212 (completion--capf-wrapper): New function.
12213 (completion-at-point): Use it to track well-behavedness of
12214 hook functions.
12215 (completion-help-at-point): New command.
12216
f3e4086c
JM
122172011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12218
12219 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12220 syntax class to search for whitespace on a single line
12221 (Message-ID: <4D938140.4030905@redhat.com>).
12222
eb7ffc14
LL
122232011-03-30 Leo Liu <sdl.web@gmail.com>
12224
12225 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12226 New commands.
12227 (edit-abbrevs-map): Bind them here.
12228 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12229
d806ab68
KM
122302011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12231
12232 * allout.el (allout-hide-by-annotation, allout-flag-region):
12233 Reduce possibility of overlay leakage by making them volatile.
12234
12235 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12236 hash is not shared between buffers. Mode initialization is
12237 responsible for giving it a useful starting value.
12238 (allout-item-span): Reduce possibility of overlay leakage by
12239 making them volatile.
12240 (allout-widgets-count-buttons-in-region): Add diagnostic function
12241 for tracking down button overlay leaks.
12242
ea622834
LL
122432011-03-29 Leo Liu <sdl.web@gmail.com>
12244
12245 * ido.el (ido-read-internal): Use the default history var
12246 minibuffer-history if no HISTORY is specified.
12247
b62f8267
G
122482011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12249
03408648
SM
12250 * net/imap.el (imap-shell-open, imap-process-connection-type):
12251 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12252 Kerberos, SSL, other subprocesses.
12253
947b6566
LL
122542011-03-28 Leo Liu <sdl.web@gmail.com>
12255
12256 * abbrev.el (abbrev-table-empty-p): New function.
12257 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12258 nonempty ones. (Bug#5937)
12259
5ffb62aa
JD
122602011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12261
12262 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12263
7a097943
LL
122642011-03-27 Leo Liu <sdl.web@gmail.com>
12265
12266 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12267 for foreground and background colors.
12268 (ansi-color-make-color-map): Adapt.
12269
c5b40130
LL
122702011-03-25 Leo Liu <sdl.web@gmail.com>
12271
1f48f7d2
LL
12272 * midnight.el (midnight-time-float): Remove. Note it calculates
12273 the microsecond component incorrectly and seconds-to-time does the
12274 same job.
625897ec 12275 Remove redundant (require 'timer).
1f48f7d2 12276
c5b40130
LL
12277 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12278 (ido-completions): Remove unused arguments. (Bug#8329)
12279
d86d2721
SM
122802011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * minibuffer.el (completion--flush-all-sorted-completions):
12283 Remove itself from hook.
12284 (completion-at-point): Let the functions perform the completion
12285 immediately and return nil or t.
12286 * comint.el (comint-dynamic-complete-functions): Now identical to
12287 completion-at-point-functions.
12288 (comint-dynamic-list-input-ring): Remove unused var `index'.
12289 (comint--match-partial-filename, comint--unquote&expand-filename):
12290 New funs, split from comint-match-partial-filename.
12291 (comint-dynamic-complete): Use completion-at-point.
12292 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12293
e8974c48
DA
122942011-03-24 Drew Adams <drew.adams@oracle.com>
12295
12296 * thingatpt.el: Support `defun'.
12297
def71b5e
LL
122982011-03-23 Leo Liu <sdl.web@gmail.com>
12299
cb5af48e
LL
12300 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12301
def71b5e
LL
12302 * help-mode.el (help-mode-finish): Tweak regexp.
12303
927c53e7
GM
123042011-03-23 Glenn Morris <rgm@gnu.org>
12305
18d05bed
GM
12306 * eshell/esh-opt.el (eshell-eval-using-options):
12307 Do not bind unused local variable `eshell-option-stub'.
12308
927c53e7
GM
12309 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12310
9d0da923
JB
123112011-03-22 Juanma Barranquero <lekktu@gmail.com>
12312
12313 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12314 keymap variable in `with-no-warnings' to avoid a warning when the
12315 keymap has been already `defconst'ed.
12316
4b978a67
LL
123172011-03-22 Leo Liu <sdl.web@gmail.com>
12318
12319 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12320 encode all chars in abbrevs; otherwise use emacs-mule or
12321 utf-8-emacs. (Bug#8308)
12322
5fd62452
JB
123232011-03-22 Juanma Barranquero <lekktu@gmail.com>
12324
0b1596c6
JB
12325 * simple.el (backward-delete-char-untabify):
12326 Avoid warning about using `delete-backward-char'.
12327
5fd62452
JB
12328 * image.el (image-type-file-name-regexps): Make it variable.
12329 `imagemagick-register-types' modifies it, and the user may want
12330 to add new extensions for known image types.
12331 (imagemagick-register-types): Throw error if not using ImageMagick.
12332
0b4e93f1
LL
123332011-03-22 Leo Liu <sdl.web@gmail.com>
12334
12335 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12336 located before rcirc-prompt-end-marker.
12337 (rcirc-complete): Error if point is not after rcirc prompt.
12338 Handle the case when table is nil.
9882e214 12339 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12340
fccee4ab
CY
123412011-03-22 Chong Yidong <cyd@stupidchicken.com>
12342
12343 * custom.el (custom--inhibit-theme-enable): Make it affect only
12344 custom-theme-set-variables and custom-theme-set-faces.
12345 (provide-theme): Ignore custom--inhibit-theme-enable.
12346 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12347 (custom-enabling-themes): Delete variable.
d86d2721
SM
12348 (enable-theme): Accept only loaded themes as arguments.
12349 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12350 (custom-enabled-themes): Forbid themes from setting this.
12351 Eliminate use of custom-enabling-themes.
12352 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12353
af896da6
LL
123542011-03-21 Leo Liu <sdl.web@gmail.com>
12355
12356 * ido.el (ido-read-internal): Add ido-selected to history instead
12357 of user input.
12358
78f64af0
SM
123592011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * subr.el (deferred-action-list, deferred-action-function):
12362 Mark obsolete.
12363
b16ac1ec
LL
123642011-03-21 Leo Liu <sdl.web@gmail.com>
12365
810f7698
LL
12366 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12367 change on 2011-02-13 (bug#8309).
12368
b16ac1ec
LL
12369 * minibuffer.el (read-file-name-function): Change default value.
12370 (read-file-name--defaults): Rename from read-file-name-defaults.
12371 (read-file-name-default): Rename from read-file-name.
12372 (read-file-name): Call read-file-name-function.
12373
4e05e67e
GM
123742011-03-21 Glenn Morris <rgm@gnu.org>
12375
12376 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12377 Doc fixes.
12378
4359915b
CY
123792011-03-21 Chong Yidong <cyd@stupidchicken.com>
12380
12381 * cus-theme.el: Add missing provide statement.
12382 (customize-create-theme): Extract theme value correctly.
12383 (custom-theme-visit-theme): Autoload.
12384 (customize-create-theme): Prompt before inserting default faces.
12385
1fe275ee
JB
123862011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12387
12388 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12389 units and musical notes.
12390
cd394be1 123912011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12392
12393 * ido.el (ido-read-internal): Use completing-read-default.
12394 (ido-completing-read): Fix compatibility with completing-read.
12395
7d476bde
CO
123962011-03-20 Christian Ohler <ohler@gnu.org>
12397
12398 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12399 (ert-delete-all-tests): Use `called-interactively-p' rather than
12400 `interactive-p'.
12401 (ert--make-xrefs-region): Respect END.
12402
fe0fb33e
CY
124032011-03-19 Chong Yidong <cyd@stupidchicken.com>
12404
ff854b0b
CY
12405 * dired-aux.el (dired-create-directory): Signal an error if the
12406 directory already exists (Bug#8246).
12407
fe0fb33e
CY
12408 * facemenu.el (list-colors-display): Call list-faces-display
12409 inside with-help-window.
12410 (list-colors-print): Use display property to align the final
12411 column, instead of checking window-width.
12412
576bce32
EZ
124132011-03-19 Eli Zaretskii <eliz@gnu.org>
12414
4d61f28d 12415 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12416 windows-nt systems.
12417 (emerge-protect-metachars): Quote correctly for ms-dos and
12418 windows-nt systems.
12419
89c41d68 124202011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12421
12422 * info.el (info-initialize): Replace all uses of `:' with
12423 path-separator for compatibility with non-Unix systems.
12424 Cache quoting of path-separator. (Bug#8258)
12425
b14e3e21 124262011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12427
12428 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12429 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12430 (mouse-avoidance-mode): Fix typos in docstrings.
12431
4525ce3e
CY
124322011-03-19 Chong Yidong <cyd@stupidchicken.com>
12433
12434 * startup.el (package-subdirectory-regexp): Move from package.el.
12435 Omit \\` and \\', and let callers add them.
12436
12437 * emacs-lisp/package.el (package-strip-version)
12438 (package-load-all-descriptors): Add \\` and \\' to
12439 package-subdirectory-regexp before using it.
12440 (package-untar-buffer): New arg DIR; ensure that file untars only
12441 into this expected directory. Remove superfluous delete-region.
12442 (package-unpack): Caller changed.
12443 (package-tar-file-info): Use package-subdirectory-regexp.
12444
a904a09a 124452011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12446
a904a09a
SM
12447 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12448 diff-mode-shared-map (bug#8284).
12449 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12450
124512011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12452
12453 * calendar/time-date.el (format-seconds): Use assoc instead of
12454 assoc-string, since assoc-string doesn't exist in XEmacs.
12455
171fc304
JB
124562011-03-17 Juanma Barranquero <lekktu@gmail.com>
12457
12458 * custom.el (custom-known-themes): Reflow docstring.
12459 (custom-theme-load-path): Fix typo in docstring.
12460 (load-theme): Fix typo in error message.
12461 (custom-available-themes, custom-variable-theme-value):
12462 Use `let', not `let*'.
12463
d71990a1
JB
124642011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12465
12466 * calc/README: Mention inclusion of musical notes.
12467
12468 * calc/calc-units.el (calc-lu-quant): Rename from
12469 `calc-logunits-quantity'.
12470 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12471 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12472 (calc-db): Rename from `calc-dblevel'.
12473 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12474 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12475 (calc-np): Rename from `calc-nplevel'.
12476 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12477 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12478 (calc-lu-plus): Rename from `calc-logunits-add'.
12479 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12480 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12481 (calc-lu-minus): Rename from `calc-logunits-sub'.
12482 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12483 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12484 (calc-lu-times): Rename from `calc-logunits-mul'.
12485 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12486 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12487 (calc-lu-divide): Rename from `calc-logunits-div'.
12488 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12489 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12490
12491 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12492 functions being autoloaded.
12493
12494 * calc/calc.el (calc-lu-power-reference): Rename from
12495 `calc-logunits-power-reference'.
12496 (calc-lu-field-reference): Rename from
12497 `calc-logunits-field-reference'.
12498
7a71b18d
GM
12499 * calc/calc-help.el (calc-l-prefix-help):
12500 Mention musical note functions.
d71990a1 12501
40c2934b
SM
125022011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * minibuffer.el (completion-all-sorted-completions):
12505 Use :completion-cycle-penalty text property if present.
12506
b0911414
KM
125072011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12508
12509 * allout.el (allout-yank-processing): Adjust for new rebulleting
12510 regime so bullet being yanked is used without prompting the user
12511 for a choice.
12512
8a05b668
JB
125132011-03-16 Juanma Barranquero <lekktu@gmail.com>
12514
12515 * startup.el (command-line): Warn the user that _emacs is deprecated.
12516
5ba5fb81
JB
125172011-03-16 Juanma Barranquero <lekktu@gmail.com>
12518
12519 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12520 (delphi-verbose, delphi-comment-face, delphi-string-face)
12521 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12522 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12523 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12524 (delphi-new-comment-line, delphi-font-lock-defaults)
12525 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12526 Fix typos in docstrings.
12527
2dab465b
KM
125282011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12529
5ba5fb81 12530 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12531 Invert the roles of character and string values for INSTEAD, so a
12532 string is used for the more common case of a defaulting prompt.
12533
0adf5618
SM
125342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12535
12536 * progmodes/ruby-mode.el (ruby-backward-sexp):
12537 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12538 * play/gamegrid.el (gamegrid-make-face):
12539 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12540 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12541 * notifications.el (notifications-notify):
12542 * net/xesam.el (xesam-search-engines):
12543 * net/quickurl.el (quickurl-list-insert):
12544 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12545
d72700e5
CY
125462011-03-15 Chong Yidong <cyd@stupidchicken.com>
12547
12548 * startup.el (command-line): Update package subdirectory regexp.
12549
49c5410a
SM
125502011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12551
c6eee9aa
SM
12552 * allout.el (allout-abbreviate-flattened-numbering)
12553 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12554
49c5410a
SM
12555 * subr.el (read-char-choice): Only show the cursor after the prompt,
12556 not after the answer.
12557
047b2bb9
KR
125582011-03-15 Kevin Ryde <user42@zip.com.au>
12559
12560 * help-fns.el (variable-at-point): Skip leading quotes, if any
12561 (bug#8253).
12562
0a57d256
SM
125632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12564
12565 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12566 warning message.
12567
77c992bc
MA
125682011-03-14 Michael Albinus <michael.albinus@gmx.de>
12569
12570 * shell.el (shell): When called interactively, offer to change the
12571 shell file name on remote hosts.
12572
eebc475d
TZ
125732011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12574
12575 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12576 integration for LDAP parameters. The host, base, user or binddn,
12577 and secret tokens can be specified in a netrc file, for instance.
12578 This is optional because an `auth-source' parameter must be
12579 specified in the search attributes.
12580
9d05d1ba
JB
125812011-03-13 Juanma Barranquero <lekktu@gmail.com>
12582
12583 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12584
09d9db2c
GM
125852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12588 into declaration. Remove redundant and harmful binding.
12589
125902011-03-12 Eli Zaretskii <eliz@gnu.org>
12591
12592 * files.el (file-ownership-preserved-p): Pass `integer' as an
12593 explicit 2nd argument to `file-attributes'. If the file's owner
12594 is the Administrators group on Windows, and the current user is
12595 Administrator, consider that a match.
12596
12597 * server.el (server-ensure-safe-dir): Consider server directory
12598 safe on MS-Windows if its owner is the Administrators group while
12599 the current Emacs user is Administrator. Use `=' to compare
12600 numerical UIDs, since they could be integers or floats.
12601
219bd536
JB
126022011-03-12 Juanma Barranquero <lekktu@gmail.com>
12603
12604 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12605
f3afd36b
MA
126062011-03-12 Michael Albinus <michael.albinus@gmx.de>
12607
12608 Sync with Tramp 2.2.1.
12609
12610 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12611
12612 * net/trampver.el: Update release number.
12613
3aaaa6f1
SM
126142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12615
94642599
SM
12616 * progmodes/compile.el (compilation--previous-directory): Fix up
12617 various nil/dead-marker mismatches (bug#8014).
12618 (compilation-directory-properties, compilation-error-properties):
12619 Don't call it at a position past the one we're about to change.
12620
3aaaa6f1
SM
12621 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12622 Disable obsolescence warnings in the file that declares it.
12623
14239447
KM
126242011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12625
099c39a4
JB
12626 * allout-widgets.el (allout-widgets-tally):
12627 Initialize allout-widgets-tally as a hash table rather than nil to
12628 prevent mode-line redisplay warnings. Also, clarify the module
12629 description and fix a comment typo.
14239447 12630
135e287c
JB
126312011-03-11 Juanma Barranquero <lekktu@gmail.com>
12632
12633 * help-fns.el (describe-variable): Don't complete keywords.
12634 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12635
ffbf300e
CY
126362011-03-10 Chong Yidong <cyd@stupidchicken.com>
12637
ba08b241
CY
12638 * emacs-lisp/package.el (package-version-join): Impose a standard
12639 string representation for pre/alpha/beta version lists.
12640 (package-unpack-single): Standardize the directory name by passing
12641 it through package-version-join.
12642 (package-strip-rcs-id): Accept any version string that does not
12643 signal an error in version-to-list.
ffbf300e 12644
f346fd6b
MA
126452011-03-10 Michael Albinus <michael.albinus@gmx.de>
12646
12647 * simple.el (delete-trailing-whitespace): Return nil for the
12648 benefit of `write-file-functions'.
12649
ccb55d27
GM
126502011-03-10 Glenn Morris <rgm@gnu.org>
12651
5ceaac0c
GM
12652 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12653
02da65ff
GM
12654 * vc/vc-git.el (vc-git-program): New option.
12655 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12656 (vc-git--call): Use it.
12657
b2f603cc
GM
12658 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12659
5772caab
GM
12660 * cus-edit.el (Custom-newline): If no button at point, look
12661 for a subgroup button at start-of-line. (Bug#2298)
12662
ccb55d27
GM
12663 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12664
ec6ecaed
JD
126652011-03-10 Julien Danjou <julien@danjou.info>
12666
12667 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12668 `cursor-type' is nil.
12669
9d5aa01d
JB
126702011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12671
12672 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12673
b6a5875b
KM
126742011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12675
7a71b18d 12676 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12677 preserves the existing header prefix, rebulleting it if necessary,
12678 rather than replacing it. This is necessary for proper operation
12679 of cooperative addons like allout-widgets.
1154d12e
JB
12680 (allout-make-topic-prefix, allout-rebullet-heading):
12681 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12682 value as alternate bullet to be used, instead of prompting the user
12683 for a bullet character.
b6a5875b 12684
ee545c35
MA
126852011-03-09 Michael Albinus <michael.albinus@gmx.de>
12686
d86d2721
SM
12687 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12688 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12689 `tramp-default-port'.
12690
c47971d7
DD
126912011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12692
12693 * net/rcirc.el (rcirc-handler-001): Remove useless
12694 with-rcirc-process-buffer.
12695 (rcirc-check-auth-status): Swap arguments to string-match.
12696
13522cb4
GM
126972011-03-09 Glenn Morris <rgm@gnu.org>
12698
0be6f4f1
GM
12699 * shell.el (shell-mode):
12700 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12701
13522cb4
GM
12702 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12703 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12704
515de2e3
CY
127052011-03-08 Chong Yidong <cyd@stupidchicken.com>
12706
12707 * emacs-lisp/package.el (package-refresh-contents)
12708 (package-menu-execute): Use condition-case-no-debug.
12709
b511b994
MA
127102011-03-08 Michael Albinus <michael.albinus@gmx.de>
12711
12712 * simple.el (shell-command-to-string): Use `process-file'.
12713
12714 * emacs-lisp/package.el (package-tar-file-info): Handle also
12715 remote files.
12716
d86d2721
SM
12717 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12718 Use `equal' for upload base check.
b511b994 12719
25bbfb31
AM
127202011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12721
12722 * textmodes/texinfo.el (texinfo-environments):
12723 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12724
be996521
GM
127252011-03-08 Glenn Morris <rgm@gnu.org>
12726
e9c8529f
GM
12727 * cus-start.el (cursor-in-non-selected-windows):
12728 Fix :set quoting oddness. (Bug#8192)
12729
be996521
GM
12730 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12731 in some setf expressions. (Bug#2159)
12732
2bb5649e
CY
127332011-03-08 Chong Yidong <cyd@stupidchicken.com>
12734
12735 * custom.el (custom-available-themes): Return themes in
12736 alphabetical order.
12737
33383987 12738See ChangeLog.15 for earlier changes.
e3d51b27
MR
12739
12740;; Local Variables:
12741;; coding: utf-8
e3d51b27
MR
12742;; End:
12743
acaf905b 12744 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12745
12746 This file is part of GNU Emacs.
12747
12748 GNU Emacs is free software: you can redistribute it and/or modify
12749 it under the terms of the GNU General Public License as published by
12750 the Free Software Foundation, either version 3 of the License, or
12751 (at your option) any later version.
12752
12753 GNU Emacs is distributed in the hope that it will be useful,
12754 but WITHOUT ANY WARRANTY; without even the implied warranty of
12755 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12756 GNU General Public License for more details.
12757
12758 You should have received a copy of the GNU General Public License
12759 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.