* lisp/server.el (server-execute): Respect initial-buffer-choice
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
de6ff46d
CY
12012-04-20 Chong Yidong <cyd@gnu.org>
2
3 * server.el (server-execute): Respect initial-buffer-choice if it
4 is a string and there are no files to open (Bug#2825).
5 (server-create-window-system-frame, server-create-tty-frame):
6 Don't switch buffers here.
7
54071013
DN
82012-04-20 Dan Nicolaescu <dann@gnu.org>
9
10 * battery.el (battery-echo-area-format): Display remaining time
11 for sysfs backend too (Bug#11269).
12 (battery-linux-sysfs): Fix conditional for the charge.
13
f30d612a
CY
142012-04-20 Chong Yidong <cyd@gnu.org>
15
c07a4c0b 16 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
17 (gdb-inferior-io--init-proc): New function.
18 (gdb-init-1): Use it.
19 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
20 responsible for allocating a new pty and hooking it to gdb when
21 the old pty gets an EIO due to process exit.
22 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
23 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
24 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
25
2116e93c
EZ
262012-04-20 Eli Zaretskii <eliz@gnu.org>
27
28 * window.el (window-min-size, window-sizable, window-min-delta)
29 (window-max-delta, window--resizable, window-resizable)
30 (window-total-size, window-full-height-p, window-full-width-p)
31 (window-in-direction, window--resize-mini-window, window-resize)
32 (window--resize-child-windows-normal)
33 (window--resize-child-windows, window--resize-siblings)
34 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 35 (enlarge-window, shrink-window): Doc fixes.
2116e93c 36
c07a4c0b 372012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e
CY
38
39 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
40 function to call delete-process on the gdb-inferior buffer's pty.
41 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
42 pty process (Bug#11273).
43 (gdb-update): New arg to suppress talking to the gdb process.
44 (gdb-done-or-error): Use it.
45 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
46 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
47 sentinel not being called.
48
49 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
50
d02766ab
CY
51 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
52
c07a4c0b 532012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
54
55 * net/network-stream.el (open-network-stream): Doc fix.
56
c07a4c0b 572012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
58
59 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
60
c07a4c0b 612012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
62
63 Ensure searching for keywords is case sensitive.
64
65 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
66 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
67 (c-defun-name, c-mark-function, c-cpp-define-name)
68 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 69 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 70
c07a4c0b 71 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
f0f6bc35
AM
72 case-fold-search to nil.
73
c07a4c0b 742012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
75
76 * mail/sendmail.el (mail-bury): Call return action with the right
77 Rmail buffer (Bug#11242).
78
9a864fa2
CY
79 * server.el (server-process-filter): Handle corner case where both
80 tty and nowait options are present (Bug#11102).
81
539aa513
EZ
822012-04-20 Eli Zaretskii <eliz@gnu.org>
83
84 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
85 (top level): Put into the executable the ident-style '$Id:' tag on
86 windows-nt as well.
539aa513 87
cfc7d5da
SM
882012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * electric.el (electric-indent-post-self-insert-function): Check that
91 electric-indent-mode is enabled in current buffer.
92
5b01685c
JB
932012-04-19 Juanma Barranquero <lekktu@gmail.com>
94
95 * imenu.el (imenu-progress-message): Restore; it is "used" in
96 erc/erc-imenu.el and net/snmp-mode.el.
97
4d6769e1
JB
982012-04-19 Juanma Barranquero <lekktu@gmail.com>
99
100 * avoid.el (mouse-avoidance-mode): Mark unused arg.
101 (mouse-avoidance-nudge-mouse): Remove unused binding.
102
103 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
104
105 * descr-text.el (describe-char):
106 * progmodes/python.el (python-describe-symbol):
107 Don't call `toggle-read-only', set `buffer-read-only'.
108
109 * imenu.el (imenu-default-goto-function): Mark unused args.
110 (imenu-progress-message): Remove obsolete macro; all callers changed.
111
112 * subr.el (keymap-canonicalize): Remove unused binding.
113 (read-passwd): Mark unused arg.
114
115 * tutorial.el (tutorial--display-changes): Remove unused binding.
116 (tutorial--save-tutorial-to): Remove unused variable.
117
118 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
119 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
120 (package-generate-autoloads, package-menu--generate)
121 (package-menu--find-upgrades): Remove unused bindings.
122
123 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
124 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
125 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
126 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
127 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
128 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
129 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
130 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
131 (cua-delete-char-rectangle): Mark unused args.
132 (cua-align-rectangle): Remove unused binding.
133
134 * mail/rmail.el (compilation--message->loc)
135 (epa--find-coding-system-for-mime-charset): Declare.
136
137 * net/dbus.el (dbus-register-service): Declare.
138 (dbus-name-owner-changed-handler): Remove unused binding.
139
140 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
141 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
142 (nxml-scan-backward-within): Mark unused arg.
143 (nxml-dynamic-markup-word): Remove unused binding.
144
145 * mouse.el (mouse-menu-major-mode-map):
146 * emacs-lisp/authors.el (authors-scan-change-log)
147 (authors-add-to-author-list):
148 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
149 * emacs-lisp/smie.el (smie-auto-fill):
150 * mail/sendmail.el (mail-bury):
151 * mail/unrmail.el (unrmail):
152 * net/tls.el (open-tls-stream):
153 * textmodes/picture.el (picture-mouse-set-point):
154 Remove unused bindings.
155
8c8fc5df
MA
1562012-04-19 Michael Albinus <michael.albinus@gmx.de>
157
158 * net/tramp.el (tramp-action-password): Let-bind
159 `enable-recursive-minibuffers' to t.
160
a77b0ac9
SS
1612012-04-18 Sam Steingold <sds@gnu.org>
162
163 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
164 instead of 'string to accommodate values like [f11].
165 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
166 * progmodes/gdb-mi.el: Likewise.
167
12a106a9
LL
1682012-04-18 Leo Liu <sdl.web@gmail.com>
169
170 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
171 current buffer.
172 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
173 LOCAL is nil.
174
bc6494ef
CY
1752012-04-18 Chong Yidong <cyd@gnu.org>
176
177 * simple.el (line-move): Use forward-line if in batch mode
178 (Bug#11053).
179
c09c46b2
CS
1802012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
181
182 * files.el (after-find-file): Do not try to add a final newline if
183 the buffer is read-only (Bug#11156).
184
5f6530ea
RS
1852012-04-17 Richard Stallman <rms@gnu.org>
186
187 * mail/rmail.el (rmail-start-mail):
188 Pass (rmail-mail-return...) for the return-action.
189 Pass (rmail-yank-current-message...) for the yank-action.
190 (rmail-yank-current-message): New function.
191 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
192 (rmail-reply): Likewise.
193 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
194
195 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 196 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
197 buffer, not newbuf.
198
197b6f3c
JB
1992012-04-17 Juanma Barranquero <lekktu@gmail.com>
200
201 * server.el (server-ensure-safe-dir): Simplify.
202
2311d8e5 2032012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 204
2311d8e5
GM
205 * emacs-lisp/smie.el: Provide smarter auto-filling.
206 (smie-auto-fill): New function.
207 (smie-setup): Use it.
98fb480e 208
2311d8e5
GM
209 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
210
2112012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
212
213 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
214 (comment-indent): Use it.
215
2311d8e5 2162012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
217
218 * ses.el: The overall change is to add cell renaming, that is
219 setting fancy names for cell symbols other than name matching
220 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 221 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 222 (ses-create-cell-variable): New defun.
2311d8e5 223 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
224 (ses-relocate-formula): Relocate formulas only for cells the
225 symbols of which are not renamed, i.e. symbols whose names do not
226 match regexp "\\`[A-Z]+[0-9]+\\'".
227 (ses-relocate-all): Relocate values only for cells the symbols of
228 which are not renamed.
229 (ses-load): Create cells variables as the (ses-cell ...) are read,
230 in order to check row col consistency with cell symbol name only
231 for cells that are not renamed.
232 (ses-replace-name-in-formula): New defun.
233 (ses-rename-cell): New defun.
4bdf2ad2 234
fc72b15c
PO
2352012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
236
237 * progmodes/perl-mode.el (perl-indent-parens-as-block):
238 New option (bug#11118).
239 (perl-calculate-indent): Respect it.
240
12e10e61
GM
2412012-04-17 Glenn Morris <rgm@gnu.org>
242
243 * dired-aux.el (dired-mark-read-string): Doc fix.
244
30009afd
DA
2452012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
246
247 * dired-aux.el (dired-mark-read-string): Offer optional completion.
248 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
249
41f03f4d
GM
2502012-04-17 Glenn Morris <rgm@gnu.org>
251
252 * mouse.el (mouse-drag-track):
253 * speedbar.el (speedbar-frame-mode):
254 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
255
f45f90f3
LL
2562012-04-16 Leo Liu <sdl.web@gmail.com>
257
258 * progmodes/python.el: Trivial cleanup.
259
94ee8db5
GM
2602012-04-16 Glenn Morris <rgm@gnu.org>
261
121b8917
GM
262 * vc/vc.el (vc-string-prefix-p):
263 * vc/pcvs-util.el (cvs-string-prefix-p):
264 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
265 * mpc.el (mpc-string-prefix-p):
266 Make all of these into obsolete aliases for string-prefix-p.
267 Update callers.
268 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
269
1197ecfa
GM
270 * textmodes/two-column.el: Move custom options to the start.
271 (frame-width): Remove compat definition.
272 (2C-associate-buffer, 2C-dissociate):
273 Use with-current-buffer rather than save-excursion.
274 (2C-dissociate): Force a mode-line update.
275 (2C-autoscroll): Use ignore-errors.
276
099e7202
GM
277 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
278 Autoload trivia.
279
bf350d6a
GM
280 * emacs-lisp/cl-extra.el (*random-state*):
281 Remove unnecessary declaration.
282
0e829eab
GM
283 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
284
e3ad7552
GM
285 * play/cookie1.el (cookie-snarf):
286 Give an explicit error if input file cannot be read.
287
68892d27
GM
288 * play/yow.el (yow-file): Use expand-file-name rather than concat.
289
20f0c46d
GM
290 * progmodes/perl-mode.el (c-macro-expand):
291 Remove unnecessary autoload (it is in loaddefs.el).
292
5a0978ce
GM
293 * textmodes/picture.el (picture-desired-column)
294 (picture-update-desired-column): Convert comments to doc-strings.
295 (picture-substitute): Remove function.
296 (picture-mode-map): Initialize in the defvar.
297
6b955486
GM
298 * woman.el: Remove eval-after-load for tar-mode.
299 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
300 (woman-tar-extract-file): Autoload it.
301
94ee8db5
GM
302 * frame.el (automatic-hscrolling): Make this alias obsolete.
303
177eca34
AM
3042012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
305
306 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 307 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
308 (ispell-dictionary-base-alist): Revert to original XEmacs
309 friendly version for default. [:alpha:] will be added in
310 `ispell-set-spellchecker-params' if needed
177eca34 311
c505aaeb
CY
3122012-04-16 Chong Yidong <cyd@gnu.org>
313
314 * image.el (imagemagick--extension-regexp): New variable.
315 (imagemagick-register-types): Use it.
316 (imagemagick-types-inhibit): Add :set function. Allow new value
317 of t to inhibit all types.
318
319 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
320 so we can preload it.
321
322 * loadup.el (fboundp): Preload regexp-opt, needed by
323 imagemagick-register-types.
324
60efac0f
CY
3252012-04-15 Chong Yidong <cyd@gnu.org>
326
327 * frame.el (scrolling): Remove nearly unused customization group.
328
329 * scroll-all.el (scroll-all-mode): Move to windows group.
330
5dd1713e
CY
3312012-04-15 Chong Yidong <cyd@gnu.org>
332
333 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
334
e6fd457e
CY
3352012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 338 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 339
e153c136
GM
3402012-04-15 Glenn Morris <rgm@gnu.org>
341
342 * simple.el (process-file-side-effects): Doc fix.
343
e6fd457e 3442012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
345
346 * international/mule-cmds.el (set-language-environment): Doc fix.
347
3603c3b1
JB
3482012-04-14 Juanma Barranquero <lekktu@gmail.com>
349
350 * server.el (server-auth-key, server-generate-key): Doc fixes.
351 (server-get-auth-key): Doc fix. Use `string-match-p'.
352 (server-start): Reflow docstring.
353
e6de100c
LI
3542012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
355
356 * server.el (server-generate-key): `called-interactively-p'
357 requires a parameter.
358
29734c21
MN
3592012-04-14 Michal Nazarewicz <mina86@mina86.com>
360
361 * server.el (server-auth-key): New variable.
75f1671a 362 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
363 (server-start): Use the new variable and functions to allow
364 setting a permanent server key (bug#9423).
365
d65c9521
LL
3662012-04-14 Leo Liu <sdl.web@gmail.com>
367
368 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
369
5ae255c7
PE
3702012-04-14 Paul Eggert <eggert@cs.ucla.edu>
371
372 Spelling fixes.
373 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
374 Emacs uses American spelling.
375
d5e6342e
JB
3762012-04-14 Juanma Barranquero <lekktu@gmail.com>
377
378 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
379 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
380 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
381 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
382
ab036cd7
SM
3832012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * progmodes/which-func.el (which-func-modes): Change default.
386
35dc09a1 3872012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
388
389 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
390 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
391
35dc09a1 3922012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
393
394 * custom.el (custom-theme-set-variables): Doc fix.
395
35dc09a1 3962012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
397
398 * international/mule.el (set-auto-coding-for-load): Doc fix.
399
35dc09a1 4002012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 401
35dc09a1
GM
402 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
403 imenu work again for Objective C Mode. Correct the *-index values,
404 these having been disturbed by a previous change in 2011-08.
57f845ee 405
0de3da9f
AM
406 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
407 Correct two search limits.
408
35dc09a1 4092012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
410
411 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
412
35dc09a1 4132012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
414
415 * international/characters.el: Fix sorting.
416
35dc09a1 4172012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
418
419 * international/characters.el: Add more missing Latin case pairs.
420
35dc09a1 4212012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
422
423 * files.el (dir-locals-set-class-variables): Doc fix.
424
35dc09a1 4252012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 426
3f1b5bf8
EZ
427 * international/characters.el: Add set-case-syntax-pair call for
428 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
429 counterpart. (Bug#11209)
430
9f847f41
EZ
431 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
432
35dc09a1 4332012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
434
435 * calendar/holidays.el (calendar-check-holidays): Doc fix.
436
35dc09a1 4372012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 438
35dc09a1
GM
439 * textmodes/ispell.el (ispell-dictionary-base-alist):
440 Add data for Hebrew.
e2627d21 441
35dc09a1 4422012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 443
35dc09a1
GM
444 * net/rcirc.el (rcirc-cmd-quit):
445 Revert 2012-03-18 change (Bug#11192).
5c14e333 446
35dc09a1 4472012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
448
449 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
450
35dc09a1 4512012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 452
4517fe3a
SM
453 * minibuffer.el (completion-in-region-mode-map):
454 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 455
b472a594
VD
4562012-04-13 Vivek Dasmohapatra <vivek@etla.org>
457
458 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
459
09b95ce3
MY
4602012-04-13 Masatake YAMATO <yamato@redhat.com>
461
462 * minibuffer.el (minibuffer-local-filename-syntax): New variable
463 to allow `C-M-f' and `C-M-b' to move to the nearest path
464 separator (bug#9511).
465
4b63a9ca
LI
4662012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
467
468 * avoid.el: Require cl when compiling. And also move the
469 `provide' to the end.
470
7b55b8bf
TV
4712012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
472
473 * avoid.el (mouse-avoidance-banish-position): New variable.
474 (mouse-avoidance-banish-destination): Use it (bug#10165).
475
adedaa1f
LL
4762012-04-13 Leo Liu <sdl.web@gmail.com>
477
478 * progmodes/which-func.el (which-func-modes): Add objc-mode.
479
70e74021
KB
4802012-04-13 Ken Brown <kbrown@cornell.edu>
481
482 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 483 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
484 (browse-url-filename-alist): For the same reason, don't modify
485 file:// URLs on Cygwin.
486
e75e89ba
SM
4872012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
490 the region on shift if the binding is already shifted (bug#11221).
491
82f289a4
GM
4922012-04-12 Glenn Morris <rgm@gnu.org>
493
494 * mail/mailpost.el: Move to obsolete/.
495
d333dc4c
DA
4962012-04-12 Drew Adams <drew.adams@oracle.com>
497
498 * imenu.el (imenu--generic-function): Ignore invisible definitions
499 (bug#10123).
500
0d15b5ba
VD
5012012-04-12 Vivek Dasmohapatra <vivek@etla.org>
502
503 * hexl.el (hexl-bits): New variable.
504 (hexl-options): Mention the variable in the doc string.
75f1671a 505 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 506 (hexl-mode): Mention the new variable.
75f1671a
JB
507 (hexl-mode, hexl-current-address, hexl-current-address):
508 Use the displen.
0d15b5ba
VD
509 (hexl-ascii-start-column): New function.
510 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
511 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
512
64a440db
AM
5132012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
514
515 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
516 '("-i" ENCODING), in 2 separate command-line arguments, to specify
517 the encoding, as expected by hunspell.
518
6decb6c2
SM
5192012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * battery.el (battery--linux-sysfs-regexp): New const.
522 (battery-status-function): Use it. Remove yeeloong special case.
523 (battery-yeeloong-sysfs): Remove.
524 (battery-echo-area-format): Remove yeeloong special case.
525
088be6fb
SM
5262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
527
6622e416
SM
528 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
529 Reported by Noah Friedman.
530
088be6fb
SM
531 * subr.el (read-passwd): Use read-string.
532
b49f886e
LMI
5332012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
534
535 * vcursor.el (vcursor-move): Increase the priority of the overlay
536 (bug#9663).
537
a63067fc
DD
5382012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
539
540 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
541 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
542
ac3cf14a
WS
5432012-04-11 William Stevenson <yhvh2000@gmail.com>
544
545 * textmodes/artist.el (artist-mode): Convert artist-mode to use
546 define-minor-mode (bug#10760).
547
c4fc691b 5482012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 549
4d6769e1 550 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
551 that directories matching `grep-find-ignored-files' won't be
552 pruned (bug#10351).
553
af23e2e5
CY
5542012-04-11 Chong Yidong <cyd@gnu.org>
555
556 * startup.el (command-line): Remove support for long-obsolete
557 variable font-lock-face-attributes.
558
ab7ce8c1
GM
5592012-04-11 Glenn Morris <rgm@gnu.org>
560
561 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
562
de8c03dc
SM
5632012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * window.el (window--state-get-1): Obey window-point-insertion-type.
566
050cc68b
LB
5672012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
568
569 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
570 to previous function when point is on the first character of a
75f1671a 571 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 572
a38c310c
GM
5732012-04-11 Glenn Morris <rgm@gnu.org>
574
effed0c2
GM
575 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
576 not just file-errors.
577
a38c310c
GM
578 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
579 (vc-bzr-sha1): Use internal sha1.
580
0221e323
SM
5812012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
584
43956923
SG
5852012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
586
587 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
588 that start in the middle of the line (bug#10496).
589
6a8c9eaf
DN
5902012-04-10 Dan Nicolaescu <dann@gnu.org>
591
592 * battery.el (battery-linux-proc-acpi): Only one battery is
593 discharged at a time, but that seems to confuse battery.el when
594 computing `rate-type' for the battery not being discharged
595 (bug#10332).
596
1930bf5d
SM
5972012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
598
2a718f6f
SM
599 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
600
599430d0
SM
601 * international/quail.el: Use dolist and simplify.
602 (quail-define-package, quail-update-keyboard-layout)
603 (quail-define-rules): Use dolist.
604 (quail-insert-kbd-layout, quail-get-translation): CSE.
605
a2754b6c
SM
606 * tmm.el: Use dolist, remove left over hook.
607 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
608 Use dolist.
609 (calendar-load-hook): Don't mess with it.
610
1930bf5d
SM
611 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
612 Use derived-mode-p. Run the diff asynchronously.
613
9f67961c
LMI
6142012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
615
616 * obsolete/mouse-sel.el: Add an Obsolete-since header.
617
2a8ce227
JB
6182012-04-10 Juanma Barranquero <lekktu@gmail.com>
619
620 * misc.el: Display absolute path of loaded DLLs (bug#10424).
621 (list-dynamic-libraries--loaded): New function.
622 (list-dynamic-libraries--refresh): Use it.
623
8f33b5f8
NW
6242012-04-10 Nathan Weizenbaum <nweiz@google.com>
625
1930bf5d
SM
626 * progmodes/python.el (python-fill-paragraph):
627 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
628 disabled (bug#7018).
629
b12f0439
L
6302012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
631
1930bf5d 632 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
633 DOS/MS Windows for the Baltic languages. There are still plenty
634 of texts written in this encoding/codepage (bug#6519).
b12f0439 635
57c3bd01
GM
6362012-04-10 Glenn Morris <rgm@gnu.org>
637
638 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
639 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
640
6c3eab30
FA
6412012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
642
1930bf5d 643 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
644 next-line "n" and previous-line "p" in order to make recentf more
645 consistent with ibuffer, dired or org-mode (bug#9387).
646
24d78a88
LMI
6472012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
648
bc72b5d9
LMI
649 * image.el (put-image): Return the overlay created instead of the
650 optional input string (bug#7834). Note that this may break code
651 that is (for some reason or other) depending on `put-image'
652 returning the string.
653
bd2dba5a
LMI
654 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
655
74beb59f
LMI
656 * simple.el (zap-to-char): Allow zapping using input methods
657 (bug#1580).
658
24d78a88
LMI
659 * textmodes/fill.el (fill-region): Leave point and mark where they
660 were before filling (bug#5399).
661
263f20cd
GM
6622012-04-09 Glenn Morris <rgm@gnu.org>
663
664 * version.el (emacs-bzr-get-version):
665 Handle lightweight checkouts of local branches.
666
58d1f797
AS
6672012-04-09 Andreas Schwab <schwab@linux-m68k.org>
668
263f20cd 669 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 670
b4d3bc10
CY
6712012-04-09 Chong Yidong <cyd@gnu.org>
672
673 * custom.el (custom-variable-p): Return nil for non-symbol
674 arguments instead of signaling an error.
675 (user-variable-p): Obsolete alias for custom-variable-p.
676
677 * apropos.el (apropos-variable):
678 * files-x.el (read-file-local-variable):
679 * simple.el (set-variable):
680 * woman.el (woman-mini-help):
681 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
682
fd06db5d
GM
6832012-04-09 Glenn Morris <rgm@gnu.org>
684
e5fcdb5e
GM
685 * startup.el (normal-top-level): Don't look for leim-list.el
686 in places where it will not be found. (Bug#910)
687
fd06db5d
GM
688 * international/mule-cmds.el (set-default-coding-systems):
689 * files.el (normal-mode):
690 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
691 This function was removed with ucs-tables.el in 2008.
692
b39bb7e1
EZ
6932012-04-08 Eli Zaretskii <eliz@gnu.org>
694
695 * textmodes/ispell.el (ispell-check-version): For hunspell, set
696 ispell-encoding8-command to "-i", without a trailing space.
697 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
698 separate command-line arguments, to specify the encoding, since
699 that's how hunspell expects it.
700
5c5b8e23
GM
7012012-04-08 Glenn Morris <rgm@gnu.org>
702
703 * loadup.el: Load bindings before cus-start.
704 This reduces somewhat the number of "rogue" settings in emacs -Q.
705
a1ed8b05
GM
7062012-04-07 Glenn Morris <rgm@gnu.org>
707
708 * version.el (emacs-bzr-get-version): New function.
dfae128a 709 (emacs-bzr-version): New variable.
a1ed8b05
GM
710 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
711 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
712
b142f158
EZ
7132012-04-07 Eli Zaretskii <eliz@gnu.org>
714
dfae128a
GM
715 * international/uni-bidi.el, international/uni-category.el:
716 * international/uni-combining.el, international/uni-decimal.el:
717 * international/uni-decomposition.el, international/uni-digit.el:
718 * international/uni-lowercase.el, international/uni-mirrored.el:
719 * international/uni-name.el, international/uni-numeric.el:
720 * international/uni-titlecase.el, international/uni-uppercase.el:
721 Update for Unicode 6.1.
b142f158 722
9078ead6
EZ
7232012-04-07 Eli Zaretskii <eliz@gnu.org>
724
725 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
726
f23d2c7d
LMI
7272012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
728
729 * window.el (shrink-window): Mention the `window-min-height'
730 variable in the doc string.
731
0a0a3573
BG
7322012-04-05 Bastien Guerry <bzg@altern.org>
733
734 * color.el (color-lighten-name): Fix typo.
735
e5248ac9
SM
7362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * server.el (server--on-display-p): New function.
739 (server--on-display-p): Use it.
740
b4243e22
GV
7412012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
742
743 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
744 (bug#11145).
745
305d9f44
SM
7462012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * comint.el (comint--common-quoted-suffix): Check string boundary
749 before comparing (bug#11158).
750 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
751
3d439cd1
CY
7522012-04-04 Chong Yidong <cyd@gnu.org>
753
321cc491
CY
754 * minibuffer.el (completion-extra-properties): Doc fix.
755
3d439cd1
CY
756 * subr.el (delayed-warnings-hook): Doc fix.
757
2d562c0f
DU
7582012-04-04 Daiki Ueno <ueno@unixuser.org>
759
760 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
761 selection (Bug#11159).
762 (epa-insert-keys): Inform that the default public key will be
763 exported if no key is selected.
764
4443f204
RS
7652012-04-04 Richard Stallman <rms@gnu.org>
766
767 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
768
529c06b6
CY
7692012-04-03 Chong Yidong <cyd@gnu.org>
770
771 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
772 mail-insert-file, not its obsolete alias mail-attach-file.
773
66b907dc
MA
7742012-04-03 Michael Albinus <michael.albinus@gmx.de>
775
776 * notifications.el (notifications-notify): Fix docstring.
777
c0ea195d
GM
7782012-04-02 Glenn Morris <rgm@gnu.org>
779
780 * emacs-lisp/authors.el (authors-aliases): Another addition.
781
5ca64e00
MA
7822012-04-02 Michael Albinus <michael.albinus@gmx.de>
783
784 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
785 `tramp-compat-call-process' instead of `tramp-local-call-process'.
786 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
787
42ee526b
CY
7882012-04-01 Chong Yidong <cyd@gnu.org>
789
790 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
791 Handle root directory properly.
792 (copy-directory): Caller changed.
793
794 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
795 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
796
0b021094
GM
7972012-03-31 Glenn Morris <rgm@gnu.org>
798
40f86458
GM
799 * term/xterm.el (xterm-extra-capabilities): Doc fix.
800
7019c177
GM
801 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
802
a1daddd6
GM
803 * calendar/calendar.el (calendar-window-list)
804 (calendar-hide-window): Restore. (Bug#11140)
805 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
806
0b021094
GM
807 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
808
40311efc
TV
8092012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
810
811 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
812 Check if file is a symlink (Bug#10489).
813
814 * files.el (copy-directory): Likewise.
815
5319014e
CY
8162012-03-30 Chong Yidong <cyd@gnu.org>
817
818 * image.el (imagemagick-types-inhibit)
819 (imagemagick-register-types): Doc fix.
820
935d1290
AM
8212012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
822
823 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
824 extended-char-mode for hunspell. hunspell does not support it
825 and treats ~word as ordinary words in pipe mode.
935d1290 826
61c6e8fd
GM
8272012-03-30 Glenn Morris <rgm@gnu.org>
828
829 * tutorial.el (help-with-tutorial): Ensure local variables don't
830 happen to make the buffer read-only. (Bug#11127)
831
81fdff00
SM
8322012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
835 (perl-calculate-indent): Return `noindent' in strings.
836
6e7a6ec0
SS
8372012-03-28 Sam Steingold <sds@gnu.org>
838
839 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
840 instead of the broken adhockery which does not prevent calendar
841 buffers from being displayed at random after exit.
842 (calendar-window-list, calendar-hide-window): Remove the broken
843 adhockery.
844
fee88ca0
GM
8452012-03-28 Glenn Morris <rgm@gnu.org>
846
847 * replace.el (query-replace-map): Doc fix.
848
38de3354
AS
8492012-03-28 Andreas Schwab <schwab@linux-m68k.org>
850
851 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
852 contents. (Bug#11109)
853
b973155e
SM
8542012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
857 (bug#11077).
858 (avl-tree--check, avl-tree--check-node): New funs.
859
dcb6e7b3
MR
8602012-03-27 Martin Rudalics <rudalics@gmx.at>
861
862 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
863 (switch-to-prev-buffer, switch-to-next-buffer):
864 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
865 showing a buffer already is done on the same frame.
866
b4fa35fa
GM
8672012-03-27 Glenn Morris <rgm@gnu.org>
868
869 * startup.el (mail-host-address): Doc fix.
870
f9210e18
SM
8712012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
874 than 197 variables.
875
c0bf7753
AF
8762012-03-26 Ami Fischman <ami@fischman.org>
877
878 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
879
33da7b16
GM
8802012-03-26 Glenn Morris <rgm@gnu.org>
881
02243d9d
GM
882 * files.el (save-buffers-kill-emacs): Doc fix.
883
33da7b16
GM
884 * startup.el (normal-top-level, command-line, command-line-1):
885 Give them doc strings.
886
e5a69fd0
EZ
8872012-03-25 Eli Zaretskii <eliz@gnu.org>
888
889 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 890 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 891
9a69676a
CY
8922012-03-25 Chong Yidong <cyd@gnu.org>
893
4125cb8b
CY
894 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
895 theme if it was previously enabled before (Bug#11031).
896
dd470960
CY
897 * cus-theme.el (custom-theme-write-faces): Retrieve current face
898 spec with custom-face-get-current-spec if its :shown-value is not
899 determined yet (Bug#9337).
4125cb8b 900 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 901
9a69676a
CY
902 * button.el (button-at): Minor addition to docstring.
903
6e7e90fa
SL
9042012-03-24 Simon Leinen <simon.leinen@gmail.com>
905
906 * vc/vc.el (vc-merge): Fix a prompt.
907
f06e2758
CY
9082012-03-24 Chong Yidong <cyd@gnu.org>
909
910 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
911 point (Bug#9623).
912
6e7e90fa
SL
913 * button.el (button-at): Minor addition to docstring.
914
b9d0879b
SM
9152012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * newcomment.el (comment-choose-indent): No space after BOL.
918
e71cebb3
SS
9192012-03-22 Sam Steingold <sds@gnu.org>
920
921 * window.el (switch-to-prev-buffer): Revert last patch because the
922 bug turned out to be an advertised feature (Elisp manual 28.14).
923
335aff35
GM
9242012-03-22 Glenn Morris <rgm@gnu.org>
925
926 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
927 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
928
c676576a
LMI
9292012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
930
931 * net/network-stream.el (network-stream-open-starttls): Make error
932 message under Windows be less misleading.
933
126f3d39
LW
9342012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
935
936 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
937 understands (bug#9942).
938
64fee311
CY
9392012-03-22 Chong Yidong <cyd@gnu.org>
940
941 * simple.el (end-of-visible-line): Handle return value of
942 next-single-property-change properly (Bug#9371).
943
a640d29a
KH
9442012-03-22 Kenichi Handa <handa@m17n.org>
945
946 * international/quail.el (quail-insert-kbd-layout): Fix previous
947 change. To avoid unwanted bidi reordering, use
948 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
949
39675016
DG
9502012-03-21 Dmitry Gutov <dgutov@yandex.ru>
951
952 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
953 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
954 (ruby-beginning-of-indent): Be more careful with the difference
955 between word-boundary and symbol boundary.
956 (ruby-mode-syntax-table): Make : a symbol constituent.
957
0a6934fc 9582012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 959
3d008e4f
SM
960 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
961
0a6934fc
SM
9622012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
963
af67c9d7
SM
964 * progmodes/etags.el (tags-completion-at-point-function):
965 Improve last fix.
966
1acad97c
SM
967 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
968
e298b5da
SS
9692012-03-21 Sam Steingold <sds@gnu.org>
970
971 * progmodes/etags.el (tags-completion-at-point-function):
972 Avoid the error when point is inside the pattern.
973
91d82a70
JY
9742012-03-21 John Yates <john@yates-sheets.org> (tiny change)
975
976 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
977 line (Bug#10855).
978
69188b79
CY
9792012-03-21 Drew Adams <drew.adams@oracle.com>
980
981 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
982
99fc91fe
AK
9832012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
984
985 * ido.el (ido-set-current-directory, ido-read-internal)
986 (ido-choose-completion-string, ido-completion-help): Handle nil
987 value of ido-completion-buffer (Bug#11008).
988
087bbb4c
SS
9892012-03-21 Sam Steingold <sds@gnu.org>
990
991 * window.el (switch-to-prev-buffer): Do not switch to a visible
992 window previous buffer, just like with the frame previous buffers.
993
fb5b8aca
CY
9942012-03-21 Chong Yidong <cyd@gnu.org>
995
996 * faces.el (make-face, make-empty-face, copy-face):
997 * face-remap.el (face-remap-add-relative, face-remap-set-base):
998 Doc fixes.
999
dc9924b8
SM
10002012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1003 (widget-complete): Remove broken use of it.
1004
f0bcceb9
CY
10052012-03-20 Chong Yidong <cyd@gnu.org>
1006
dc9924b8
SM
1007 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1008 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1009 characters.
1010
ee52ebf3
TH
10112012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1012
1013 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1014 to draw rectangles, not squares. (Regression introduced by revno
1015 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1016
4c5779ab
CY
10172012-03-18 Chong Yidong <cyd@gnu.org>
1018
1019 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1020 it is not yet defined (for temacs).
1021
15360934
LL
10222012-03-18 Leo Liu <sdl.web@gmail.com>
1023
dc9924b8 1024 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1025
d9a8eb66
EZ
10262012-03-17 Eli Zaretskii <eliz@gnu.org>
1027
1028 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1029 (ispell-choices-win-default-height, ispell-silently-savep)
1030 (ispell-dictionary-alist, ispell-encoding8-command)
1031 (ispell-check-version, ispell-aspell-find-dictionary)
1032 (ispell-valid-dictionary-list, ispell-words-keyword)
1033 (ispell-get-word, ispell-internal-change-dictionary)
1034 (ispell-region, ispell-skip-region-list)
1035 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1036 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1037 (ispell-message-text-end, ispell-message)
1038 (ispell-buffer-local-parsing): Doc fix.
1039
f02ff80d
J
10402012-03-13 Jambunathan K <kjambunathan@gmail.com>
1041
1042 * htmlfontify.el: Add support for code block fontification for ODT
1043 export (Bug #9914).
1044 (hfy-optimisations): Define new option
1045 `body-text-only'
1046 (hfy-fontify-buffer): Honor above setting.
1047 (hfy-begin-span, hfy-end-span): New routines factored out form
1048 `hfy-fontify-buffer'.
1049 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1050 that permit insertion of custom tags.
1051 (hfy-fontify-buffer): Use above handlers.
1052 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1053 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1054 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1055 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1056 bind a special variable `hfy-user-sheet-assoc'.
1057 (htmlfontify-string): New defun.
1058 (hfy-compile-face-map): Make sure that the last char in the
1059 buffer is correctly fontified.
1060 (hfy-face-resolve-face): Whitespace only change.
1061
9ac7a13f
EZ
10622012-03-17 Eli Zaretskii <eliz@gnu.org>
1063
1064 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1065 message more clear.
1066
e2b5bdd7
LL
10672012-03-16 Leo Liu <sdl.web@gmail.com>
1068
1069 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1070
2e492df3
AM
10712012-03-16 Alan Mackenzie <acm@muc.de>
1072
1073 Further optimise the handling of large macros.
1074
1075 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1076 limit to a call of `c-literal-limits'.
1077 (c-determine-+ve-limit): New function.
dc9924b8
SM
1078 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1079 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1080 In CASE 5B, restrict a search limit to 500.
1081 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1082
1083 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1084 Restrict macro bounds to +-500 from after-change's BEG END.
1085
50e94f0c
LL
10862012-03-16 Leo Liu <sdl.web@gmail.com>
1087
1088 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1089
6f09f6ed
AH
10902012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1091
1092 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1093 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1094
c7e73d51
GM
10952012-03-16 Glenn Morris <rgm@gnu.org>
1096
da986230
GM
1097 * view.el (view-buffer, view-buffer-other-window)
1098 (view-buffer-other-frame): Doc fixes re special mode-class.
1099
0835f01e
GM
1100 * subr.el (eval-after-load): If named feature is provided not from
1101 a file, run after-load forms. (Bug#10946)
1102
c7e73d51
GM
1103 * calendar/calendar.el (calendar-insert-at-column):
1104 Handle non-unit-width characters a bit better. (Bug#10978)
1105
3f2eafd1
CY
11062012-03-15 Chong Yidong <cyd@gnu.org>
1107
1108 * emacs-lisp/ring.el (ring-extend): New function.
1109 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1110
1111 * comint.el (comint-read-input-ring)
1112 (comint-add-to-input-history): Grow comint-input-ring lazily.
1113
103af3fe
SM
11142012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1115
663b1677
SM
1116 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1117 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1118
103af3fe
SM
1119 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1120 (imenu-add-to-menubar): Don't add a redundant index.
1121 (imenu-update-menubar): Handle a dynamically composed keymap.
1122
899cb7cb
KY
11232012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1124
1125 * mail/sendmail.el (mail-encode-header):
1126 Bind rfc2047-encode-encoded-words to nil.
1127
3809f91d
GM
11282012-03-13 Glenn Morris <rgm@gnu.org>
1129
1130 * calendar/calendar.el (calendar-string-spread):
1131 Handle non-unit-width characters a bit better. (Bug#10978)
1132
9e345a01
LL
11332012-03-13 Leo Liu <sdl.web@gmail.com>
1134
1135 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1136 directory and file as argument (Bug#10822).
1137
4a07df36
KS
11382012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1139
1140 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1141 For dynamically generated code, follow $PC.
1142 (gdb-disassembly-handler-custom): Handle no function name case.
1143
4aaa9356
TL
11442012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1145
1146 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1147 * emulation/ws-mode.el (ws-query-replace):
1148 * sort.el (sort-regexp-fields):
1149 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1150
225979da
SM
11512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * dabbrev.el: Fix cycle completion order (bug#10963).
1154 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1155 (dabbrev-completion): Don't use an obarray; provide
1156 a cycle-sort-function.
1157
e2f1fdab
LL
11582012-03-12 Leo Liu <sdl.web@gmail.com>
1159
dc9924b8 1160 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1161 (kill-do-not-save-duplicates): Doc fix.
1162
b19490ed
SM
11632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * dabbrev.el: Fix cycle completion (bug#10963).
1166 Use lexical binding and wrap to 80 columns.
1167 (dabbrev-completion): Delay computing the list of completions.
1168
4b05d722
KH
11692012-03-12 Kenichi Handa <handa@m17n.org>
1170
1171 * international/quail.el (quail-insert-kbd-layout): Surround each
1172 row by LRO and PDF instead of inserting many LRMs. Pad the left
1173 and right of each non-spacing marks. Insert invisible space
1174 between lower and upper characters to prevent composition.
1175
dbbc2e69
SM
11762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * minibuffer.el (minibuffer-complete): Don't get confused when the
1179 function is run twice via different commands (bug#10958).
1180 (complete-with-action): Fix docstring.
1181
292112ed
CY
11822012-03-12 Chong Yidong <cyd@gnu.org>
1183
5d1ac394
CY
1184 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1185 (nxml-completion-at-point-function): New function.
1186 (nxml-mode): Use it.
1187 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1188
292112ed
CY
1189 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1190 Load generated autoloads file before byte compiling (Bug#10970).
1191 (package--make-autoloads-and-compile): New helper fun.
1192
4098f8f7
CS
11932012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1194
1195 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1196
8f754691
MA
11972012-03-11 Michael Albinus <michael.albinus@gmx.de>
1198
1199 * autorevert.el (auto-revert-handler): Ensure, that
1200 file-readable-p is applied only for local files or in
1201 auto-revert-tail-mode.
1202
e29ab36b
AS
12032012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1204
dbbc2e69
SM
1205 * server.el (server-eval-at): Handle non-tcp connections.
1206 Decode result string.
ad0bf5b6 1207
e29ab36b
AS
1208 * server.el (server-msg-size): New constant.
1209 (server-reply-print): New function.
1210 (server-eval-and-print): Use it.
1211 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1212 Handle -print-nonl.
1213
de5939ba
CS
12142012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1215
1216 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1217 (Bug#10987).
1218
0c93eabf
CY
12192012-03-11 Chong Yidong <cyd@gnu.org>
1220
397a688f
CY
1221 * simple.el (goto-line): Doc fix (Bug#9938).
1222
2cc775f9
CY
1223 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1224
0c93eabf
CY
1225 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1226 when finished (Bug#10963).
1227
c491fa41
MR
12282012-03-11 Martin Rudalics <rudalics@gmx.at>
1229
1230 * window.el (split-window-below): Fix bug in case where
1231 split-window-keep-point is nil (Bug#10971).
1232
300e8fa5
JL
12332012-03-11 Juri Linkov <juri@jurta.org>
1234
1235 * replace.el (replace-highlight): Set isearch-word to nil
1236 unconditionally. (Bug#10887)
1237
dbf6c5a1
EZ
12382012-03-10 Eli Zaretskii <eliz@gnu.org>
1239
1240 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1241 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1242 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1243 (mairix-widget-create-query): Add usage information about mairix
1244 search forms: negating words, searching for substrings, etc.
1245
b9e501de
JP
12462012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1247
1248 * international/fontset.el (font-encoding-alist): Add an entry for
1249 ksx1001 (Bug#5667).
1250
92795c91
RS
12512012-03-10 Richard Stallman <rms@gnu.org>
1252
1694e6c1
RS
1253 * mail/sendmail.el (mail-encode-header):
1254 Set rfc2047-encode-encoded-words.
1255
607e8555
RS
1256 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1257
de3bc99a
RS
1258 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1259 view buffer means not swapped.
1260 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1261 (rmail-write-region-annotate): Error if real text has disappeared.
1262
92795c91
RS
1263 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1264
699bd04e
CY
12652012-03-10 Chong Yidong <cyd@gnu.org>
1266
1267 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1268 * emulation/cua-base.el (cua--init-keymaps):
1269 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1270
570a1714
MR
12712012-03-10 Martin Rudalics <rudalics@gmx.at>
1272
dbbc2e69
SM
1273 * speedbar.el (speedbar-unhighlight-one-tag-line):
1274 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1275
82dcf4e4
CY
12762012-03-10 Chong Yidong <cyd@gnu.org>
1277
7a2c7ca7
CY
1278 * minibuffer.el (completion-in-region, completion-help-at-point):
1279 Give the completion field overlay a high priority (Bug#6830).
1280
82dcf4e4
CY
1281 * dired.el (dired-goto-file): Recognize absolute file name
1282 listings (Bug#7126).
1283 (dired-goto-file-1): New helper function.
1284 (dired-toggle-read-only): Inhibit warnings.
1285
052e28ac
MA
12862012-03-09 Michael Albinus <michael.albinus@gmx.de>
1287
75f1671a 1288 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1289 there are no properties.
1290
95d5e396
LL
12912012-03-09 Leo Liu <sdl.web@gmail.com>
1292
1293 * savehist.el (savehist-printable): Stricter check for string
1294 value (Bug#10937).
1295
3f018d6d
EZ
12962012-03-09 Eli Zaretskii <eliz@gnu.org>
1297
dbbc2e69
SM
1298 * mail/smtpmail.el (smtpmail-send-it):
1299 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1300 valid mbox format.
1301
f7fd3d79
GM
13022012-03-09 Glenn Morris <rgm@gnu.org>
1303
1304 * files.el (dir-locals-find-file):
1305 Don't check result is regular, readable.
1306 (dir-locals-read-from-file): Demote errors.
1307
6ff6e72f
EZ
13082012-03-08 Eli Zaretskii <eliz@gnu.org>
1309
dbbc2e69
SM
1310 * international/quail.el (quail-insert-kbd-layout):
1311 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1312 layout cell, to prevent their reordering by bidi display engine.
1313 For details, see the discussion in
1314 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1315
9cec7834
AM
13162012-03-08 Alan Mackenzie <acm@muc.de>
1317
1318 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1319 the starting position; make it extend the marked region when
1320 invoked repeatedly - all under appropriate circumstances.
1321 Fixes bugs #5525, #10906.
1322
9a40b8d4
GM
13232012-03-08 Glenn Morris <rgm@gnu.org>
1324
1325 * files.el (locate-dominating-file, dir-locals-find-file):
1326 Undo 2012-03-06 change.
1327
7a08ed35
EZ
13282012-03-07 Eli Zaretskii <eliz@gnu.org>
1329
dbbc2e69
SM
1330 * international/quail.el (quail-help):
1331 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1332 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1333 for the reason.
1334
5aca4f71 13352012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1336
1337 Avoid superfluous registering of signals. (Bug#10807)
1338
1339 * notifications.el (notifications-on-action-object)
1340 (notifications-on-close-object): New defvars.
1341 (notifications-on-action-signal, notifications-on-closed-signal):
1342 Unregister the signal if not needed any longer.
1343 (notifications-notify): Register `notifications-action-signal' or
1344 `notifications-closed-signal', if :on-action or :on-close has been
1345 passed as argument.
1346
78e8b10a
CY
13472012-03-07 Chong Yidong <cyd@gnu.org>
1348
1349 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1350 non-X platforms.
1351
69481eb8
GM
13522012-03-06 Glenn Morris <rgm@gnu.org>
1353
1354 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1355 (x-disown-selection-internal, x-get-selection-internal):
1356 Doc fix (add arglist signatures). (Bug#10783)
1357
133b8e11
KS
13582012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1359
1360 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1361 Handle breakpoints with no "type".
1362
99a83064
GM
13632012-03-06 Glenn Morris <rgm@gnu.org>
1364
1365 * files.el (locate-dominating-file): Add optional predicate argument.
1366 (dir-locals-find-file): Make use of above change.
1367
17798e78
TTN
13682012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1369
1370 * info.el (Info-insert-dir): Also try "dir.gz".
1371
eb182446
GM
13722012-03-06 Glenn Morris <rgm@gnu.org>
1373
8f2114ee
GM
1374 * files.el (dir-locals-find-file):
1375 Ignore non-readable or non-regular files. (Bug#10928)
1376
eb182446
GM
1377 * files.el (locate-dominating-file): Doc fix.
1378
24679323
AS
13792012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1380
1381 * calendar/calendar.el (calendar-set-mode-line):
1382 `getenv' returns a string. (Bug#10951)
1383
01d972a9
LL
13842012-03-05 Leo Liu <sdl.web@gmail.com>
1385
109aa8a9
LL
1386 * simple.el (backward-delete-char-untabify): Constrain point to
1387 field (Bug#10939).
1388
01d972a9
LL
1389 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1390
10607bea
CY
13912012-03-05 Chong Yidong <cyd@gnu.org>
1392
1393 * simple.el (count-words): If called from Lisp, return the word
1394 count, for symmetry with `count-lines'. Arglist changed.
1395 (count-words--message): Args changed. Consolidate counting code
1396 from count-words and count-words-region.
1397 (count-words-region): Caller changed.
1398 (count-lines-region): Make it an obsolete alias.
1399
5dd11cfe
TH
14002012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1401
1402 * saveplace.el (save-place-to-alist)
1403 (save-place-ignore-files-regexp): Allow value nil to disable this
1404 feature.
1405
c349f4e6
CY
14062012-03-04 Chong Yidong <cyd@gnu.org>
1407
1408 * faces.el (face-spec-reset-face): For the default face, reset the
1409 attributes to default values (Bug#10748).
1410
e627be4c
LMI
14112012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1412
1413 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1414 previous patch: Check `message-send-mail-function', and not the
1415 default function (bug#10897).
1416
ebeabff4
MA
14172012-03-04 Michael Albinus <michael.albinus@gmx.de>
1418
a41a6cf4
MA
1419 * notifications.el (notifications-on-action-signal)
1420 (notifications-on-closed-signal): Check for unique service name of
1421 incoming event. Fix error in removing entry.
ebeabff4 1422 (top): Register for signals with wildcard service name.
a41a6cf4 1423 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1424
c1ca42b4
CY
14252012-03-04 Chong Yidong <cyd@gnu.org>
1426
dc9924b8 1427 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1428
ea16568d
GM
14292012-03-04 Glenn Morris <rgm@gnu.org>
1430
1431 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1432 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1433 (expand-abbrev, define-abbrev-table): Doc fixes.
1434
fbae4637
LMI
14352012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1436
1437 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1438 `message-default-send-mail-function' and not `send-mail-function'
1439 when doing the prompting for `sendmail-query-once' before sending
1440 in Message buffers (bug#10897).
1441
a1e7225c
LMI
1442 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1443 This is inconsistent with all the other stream functions, which leave
1444 the setting up to the higher levels (if so wanted) (bug#10931).
1445
56d093a9
AM
14462012-03-02 Alan Mackenzie <acm@muc.de>
1447
1448 Depessimize the handling of very large macros.
1449
1450 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1451 (c-macro-cache-syntactic): New variables to implement a one
1452 element macro cache.
1453 (c-invalidate-macro-cache): New function.
1454 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1455 Adapt to use the new cache.
1456 (c-state-safe-place): Use better the cache of safe positions.
1457 (c-state-semi-nonlit-pos-cache)
1458 (c-state-semi-nonlit-pos-cache-limit):
1459 New variables for...
1460 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1461 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1462 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1463 Use c-state-semi-safe-place.
56d093a9 1464
dbbc2e69
SM
1465 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1466 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1467
817e5c3d
MA
14682012-03-02 Michael Albinus <michael.albinus@gmx.de>
1469
dbbc2e69
SM
1470 * jka-compr.el (jka-compr-call-process):
1471 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1472 not remote.
1473
a032a702
MA
14742012-03-01 Michael Albinus <michael.albinus@gmx.de>
1475
1476 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1477 access of FILE2, if FILE1 does not exist.
1478
99a54f21
MA
1479 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1480 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1481
1482 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1483 Add "PAGER=" to `process-environment'.
1484
f6561e1f
MM
14852012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1486
1487 * progmodes/sql.el: Bug fix
1488 (sql-get-login-ext): Save login values in globals.
1489 (sql-get-login): Use new version of `sql-get-login-ext'.
1490 (sql-interactive-mode): Set global `sql-connection' to nil.
1491 (sql-connect): Set global values for connection.
1492 (sql-product-interactive): Save global values as buffer local.
1493
2d44d9cc
LL
14942012-02-29 Leo Liu <sdl.web@gmail.com>
1495
1496 * abbrev.el (define-abbrevs): Reset sys to nil.
1497
96b49301 14982012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1499
bf7f9bc5
JB
1500 * files.el (file-equal-p): Rename from `files-equal-p'.
1501 Return nil when one or both files don't exist.
96b49301 1502 (file-subdir-of-p): Now only top directory must exists,
1503 return nil if it doesn't.
bf7f9bc5
JB
1504 (copy-directory): No need to test with `file-subdir-of-p' after
1505 creating dir.
1506 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1507 to `file-equal-p'.
96b49301 1508
44e97401
GM
15092012-02-28 Glenn Morris <rgm@gnu.org>
1510
1511 * shell.el (shell-mode):
1512 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1513 * play/landmark.el (landmark-font-lock-face-O):
1514 * play/handwrite.el (handwrite):
1515 * play/gomoku.el (gomoku-O):
1516 * net/browse-url.el (browse-url-browser-display):
1517 * international/mule.el (define-charset):
1518 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1519 * filesets.el (filesets-find-file-delay):
1520 * eshell/em-xtra.el (eshell-xtra):
1521 * eshell/em-unix.el (eshell-grep):
1522 * emulation/viper.el (viper-mode):
1523 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1524 * emacs-lisp/easymenu.el (easy-menu-define):
1525 * calendar/timeclock.el (timeclock-use-display-time):
1526 * bs.el (bs-mode):
1527 * bookmark.el (bookmark-save-flag):
1528 Doc fix (standardize possessive apostrophe usage).
1529
c98c6276
CY
15302012-02-27 Chong Yidong <cyd@gnu.org>
1531
bf7f9bc5
JB
1532 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1533 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1534
c98c6276
CY
1535 * font-lock.el (font-lock-specified-p): Rename from
1536 font-lock-spec-present. Callers changed.
1537
9c62cd04 15382012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1539
bf7f9bc5
JB
1540 * emacs-lisp/package.el (package-compute-transaction):
1541 Handle holding a package version to t in package-load-list.
8ac9e529 1542
530739c9
MA
15432012-02-26 Michael Albinus <michael.albinus@gmx.de>
1544
1545 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1546 (tramp-get-inode, tramp-get-device): Use cached values.
1547
487915d7
AM
15482012-02-26 Alan Mackenzie <acm@muc.de>
1549
1550 Check there is a font-lock specification before doing initial
1551 fontification.
1552
1553 * font-core.el (font-lock-mode): Move the conditional from
1554 :after-hook to font-lock-initial-fontify.
1555 (font-lock-default-function): Move the check for a specification
1556 to font-lock-spec-present.
1557
dc9924b8 1558 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1559 (font-lock-spec-present): New function.
1560
4fd96557
JB
15612012-02-26 Jim Blandy <jimb@red-bean.com>
1562
1563 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1564 (gdb-send): Apply it to the operand of the '-interpreter-exec
1565 console' command, so that we can pass arguments with (say) quotes
1566 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1567
9a4888c0
CY
15682012-02-26 Chong Yidong <cyd@gnu.org>
1569
07498861
CY
1570 * help-fns.el (describe-function-1): Clarify description of
1571 remapping (Bug#10844).
1572
9a4888c0
CY
1573 * files.el (files-equal-p): Doc fix.
1574 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1575 and quit the loop once a mismatch is found.
1576
ea8fb88d
JB
15772012-02-25 Juanma Barranquero <lekktu@gmail.com>
1578
1579 * bs.el (bs--show-with-configuration): Don't throw an error
1580 if the window cannot be split; otherwise, subsequent calls to
1581 bs-show fail, restoring a stale window config. (Bug#10882)
1582
525795c1
JD
15832012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1584
1585 * term/ns-win.el (global-map): Bind ns-drag-file to
1586 ns-find-file (Bug#5855, Bug#10050).
1587
f008086f
AS
15882012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1589
1590 * calendar/parse-time.el (parse-time-string): Allow extractor to
1591 return nil.
1592
a3fcfa99
MA
15932012-02-25 Michael Albinus <michael.albinus@gmx.de>
1594
91027d08
JB
1595 * net/tramp.el (tramp-file-name-for-operation):
1596 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1597
1598 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1599 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1600 Add COPY-CONTENTS argument.
a3fcfa99 1601
67b0de11
CY
16022012-02-25 Chong Yidong <cyd@gnu.org>
1603
1604 Add custom groups for VC backends, for consistency with vc-bzr.
1605
1606 * vc/vc-arch.el (vc-arch):
1607 * vc/vc-cvs.el (vc-cvs):
1608 * vc/vc-git.el (vc-git):
1609 * vc/vc-hg.el (vc-hg):
1610 * vc/vc-mtn.el (vc-mtn):
1611 * vc/vc-rcs.el (vc-rcs):
1612 * vc/vc-sccs.el (vc-sccs):
1613 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1614 All relevant defcustoms reassigned.
1615
3c9dfce6
CY
16162012-02-25 Chong Yidong <cyd@gnu.org>
1617
1339bf43
CY
1618 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1619
3c9dfce6
CY
1620 * term/x-win.el (x-initialize-window-system): Reduce default for
1621 x-selection-timeout to 5 seconds (Bug#8869).
1622
25b2e303 16232012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1624
ec70a47d
GM
1625 * files.el (files-equal-p, file-subdir-of-p): New functions.
1626 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1627 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1628 * dired-aux.el (dired-copy-file-recursive): Same.
1629 (dired-create-files): Modify destination when source is equal to
1630 dest when copying files.
53a46cd0 1631 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1632
914260cd
MA
16332012-02-24 Michael Albinus <michael.albinus@gmx.de>
1634
1635 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1636 (Bug#10874)
1637
2cb228f7
AM
16382012-02-23 Alan Mackenzie <acm@muc.de>
1639
1640 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1641 parameter "after-hook:" to allow the expansion to run code after
1642 the execution of the mode hooks.
1643
1644 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1645 from font-lock-mode-internal.
2cb228f7 1646
91027d08 1647 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1648 :after-hook.
1649
8f0fde21
SM
16502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1651
3e88618b
SM
1652 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1653 (completion--cache-all-sorted-completions): New function.
1654 (completion-all-sorted-completions): Use it.
1655 (completion--do-completion, minibuffer-force-complete):
1656 Use it to re-instate the flush hook.
1657
8f0fde21
SM
1658 * icomplete.el (icomplete-completions): Replace last fix with a better
1659 one (bug#10850).
1660
8e911f6f
DG
16612012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1662
1663 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1664 when it might call us back infinitely (bug#10797).
1665
49fe4321
GM
16662012-02-23 Glenn Morris <rgm@gnu.org>
1667
1668 * minibuffer.el (completion-category-overrides): Doc fix.
1669
b291b572
SM
16702012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1673 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1674
31a9ef2e
GM
16752012-02-23 Glenn Morris <rgm@gnu.org>
1676
5e6e6794 1677 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1678 (authors-obsolete-files-regexps, authors-ignored-files)
1679 (authors-ambiguous-files, authors-renamed-files-alist):
1680 Add more entries.
1681
0bd1e074
JL
16822012-02-23 Juri Linkov <juri@jurta.org>
1683
1684 * isearch.el (isearch-occur): Sync interactive spec with occur's
1685 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1686
b617673c
JL
1687 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1688
19e9789e
JL
16892012-02-22 Juri Linkov <juri@jurta.org>
1690
1691 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1692 (ucs-insert): Doc fix. Check for hex digits in the string.
1693 Don't display `nil' in the error message. (Bug#10857)
1694
f41ce09d
AM
16952012-02-22 Alan Mackenzie <acm@muc.de>
1696
7a71b18d 1697 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1698
ac2eceee
GM
16992012-02-22 Glenn Morris <rgm@gnu.org>
1700
1701 * ffap.el (ffap-c-path):
1702 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1703
abd1f678
CY
17042012-02-22 Chong Yidong <cyd@gnu.org>
1705
1706 * custom.el (load-theme): Doc fix.
1707
f25aef2e
GM
17082012-02-22 Glenn Morris <rgm@gnu.org>
1709
1710 * dired-x.el (dired-guess-shell-alist-default):
1711 Remove escape sequences from nroff output. (Bug#172)
1712
5f8dc2ca
GM
17132012-02-21 Glenn Morris <rgm@gnu.org>
1714
6ff86ec4
GM
1715 * vc/emerge.el (emerge-defvar-local):
1716 Set `permanent-local' property rather than unused `preserved'.
1717
be3223a3 1718 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1719 (picture-mode-map): Use it. (Bug#10860)
1720 (picture-mode): Doc fix.
1721
3fe58f4f
JB
17222012-02-21 Juanma Barranquero <lekktu@gmail.com>
1723
1724 * newcomment.el (uncomment-region-default): Remove unused binding.
1725
f9a998c3
GM
17262012-02-21 Glenn Morris <rgm@gnu.org>
1727
1728 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1729 (picture-self-insert, picture-tab-chars): Doc fix.
1730 (picture-mode-map): Fix C-a, C-e.
1731
c6029348
GM
17322012-02-20 Glenn Morris <rgm@gnu.org>
1733
1734 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1735
ab1ce9d7
LL
17362012-02-20 Leo Liu <sdl.web@gmail.com>
1737
1738 * icomplete.el (icomplete-completions): Check FROM arg before
1739 passing to substring (Bug#10850).
1740
0fd40f89
CY
17412012-02-19 Chong Yidong <cyd@gnu.org>
1742
1743 * comint.el: Require ansi-color.
1744 (comint-output-filter-functions): Add ansi-color-process-output.
1745
1746 * ansi-color.el: Don't set comint-output-filter-functions; it is
1747 now in the initial value defined in comint.el.
1748 (ansi-color-apply-face-function): New variable.
1749 (ansi-color-apply-on-region): Use it.
1750 (ansi-color-apply-overlay-face): New function.
1751
1752 * shell.el (shell): No need to require ansi-color.
1753 (shell-mode): Use ansi-color-apply-face-function to highlight
1754 color escapes using font-lock-face property (Bug#10835).
1755
20af2394
CY
17562012-02-19 Chong Yidong <cyd@gnu.org>
1757
1758 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1759 mode-line formats (Bug#10839).
1760
e23a3fbe
GM
17612012-02-18 Glenn Morris <rgm@gnu.org>
1762
b474519e
GM
1763 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1764
1765 * mail/undigest.el (unforward-rmail-message): Doc fix.
1766
e23a3fbe
GM
1767 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1768
57939ff4
EZ
17692012-02-18 Eli Zaretskii <eliz@gnu.org>
1770
1771 * international/characters.el (script-list): Sync with the latest
1772 Unicode Character Database.
1773
0c23686e
AS
17742012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1775
1776 * international/titdic-cnv.el: Remove duplicate coding tag.
1777 * language/cham.el: Likewise.
1778 * language/tai-viet.el: Likewise.
1779
6818b449
GM
17802012-02-18 Glenn Morris <rgm@gnu.org>
1781
1782 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1783 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1784 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1785 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1786 * calendar/holidays.el (holiday-bahai-holidays)
1787 (calendar-holidays, list-holidays):
1788 Use utf-8 Bahá'í in doc-strings, menus, etc.
1789
0311a3fc
TH
17902012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1791
1792 * saveplace.el (save-place-ignore-files-regexp): New variable
1793 allowing for excluding files from saving their location of point.
1794 The default value matches the temporary commit message editing
1795 files from Git, SVN, Bazaar, and Mercurial.
1796 (save-place-to-alist): Use it.
1797
eb864a71
LM
17982012-02-17 Lawrence Mitchell <wence@gmx.li>
1799 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * newcomment.el (uncomment-region-default): Don't leave extra space
1802 when an arg is provided (bug#8150).
1803
ee0ce425
TZ
18042012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1805
eb864a71 1806 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1807
95ddf442
GM
18082012-02-17 Glenn Morris <rgm@gnu.org>
1809
1810 * net/socks.el: Require network-stream. (Bug#10599)
1811
48dd1e39 18122012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1813
1814 * international/charprop.el:
1815 * international/uni-name.el:
1816 * international/uni-old-name.el:
1817 * international/uni-comment.el: Regenerate.
1818
d68cd087
GM
18192012-02-16 Glenn Morris <rgm@gnu.org>
1820
1821 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1822 Interactively in calendar buffer, give an error if not on a date.
1823
13932042
GM
18242012-02-15 Glenn Morris <rgm@gnu.org>
1825
1826 * shell.el (shell-delimiter-argument-list):
1827 Revert 2011-02-17 change. (Bug#8027)
1828
c3a70e2b
CY
18292012-02-15 Chong Yidong <cyd@gnu.org>
1830
60236b0d
CY
1831 * minibuffer.el (completion-at-point-functions): Doc fix.
1832
c3a70e2b
CY
1833 * custom.el (defcustom): Doc fix; note use of defvar.
1834
9f26dc24
GM
18352012-02-15 Glenn Morris <rgm@gnu.org>
1836
1837 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1838 Doc fixes.
1839
6546b134
GM
18402012-02-14 Glenn Morris <rgm@gnu.org>
1841
1842 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1843
d29b2b4c
LI
18442012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1845
1846 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1847 way the ports list is computed.
835bdcba
LI
1848 (smtpmail-query-smtp-server): Prompt the user for a port number if
1849 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1850
08dcdbc9
TZ
18512012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1852
1853 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1854
2605051a
GM
18552012-02-13 Glenn Morris <rgm@gnu.org>
1856
1857 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1858
7ee99f32
TZ
18592012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1860
1861 * net/gnutls.el (gnutls-trustfiles): New variable.
1862 (gnutls-negotiate): Use it.
1863
5f0af64f
LI
18642012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1865
1866 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1867 does its stuff if Gnus is running.
1868
c14fcc95
AM
18692012-02-13 Alan Mackenzie <acm@muc.de>
1870
1871 Fix a loop in c-set-fl-decl-start.
1872
7a71b18d 1873 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1874 c-backward-syntactic-ws actually moves backwards.
1875
142b4d90
LL
18762012-02-13 Leo Liu <sdl.web@gmail.com>
1877
1878 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1879 beginning so that all \C-o chars are removed.
1880
fa9958a6
TZ
18812012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1882
dc9924b8 1883 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1884
0bc5886a
AM
18852012-02-12 Alan Mackenzie <acm@muc.de>
1886
1887 Fix infinite loop with long macros.
4d6769e1 1888 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 1889
d4bd55e7
CY
18902012-02-12 Chong Yidong <cyd@gnu.org>
1891
1892 * window.el (display-buffer): Doc fix (Bug#10785).
1893
66f3fe22
GM
18942012-02-12 Glenn Morris <rgm@gnu.org>
1895
bd7da63e
GM
1896 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1897 (x-disown-selection-internal, x-get-selection-internal):
1898 Sync docs with the xselect.c versions.
1899
66f3fe22
GM
1900 * allout-widgets.el: Add missing license notice.
1901
3e0d2fa7
GM
19022012-02-11 Glenn Morris <rgm@gnu.org>
1903
cfecdf09
GM
1904 * select.el (x-get-selection-internal, x-own-selection-internal)
1905 (x-disown-selection-internal):
1906 * x-dnd.el (x-get-selection-internal): Update declarations.
1907
6d216d7f
GM
1908 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1909
2bed3f04
GM
1910 * window.el (window-sides-slots):
1911 * tool-bar.el (tool-bar-position):
1912 * term/xterm.el (xterm-extra-capabilities):
1913 * ses.el (ses-self-reference-early-detection):
1914 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1915 (verilog-auto-wire-type)
1916 (verilog-auto-delete-trailing-whitespace)
1917 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1918 (verilog-auto-tieoff-declaration):
1919 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1920 (sql-oracle-statement-starters, sql-oracle-scan-on):
1921 * progmodes/prolog.el (prolog-align-comments-flag)
1922 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1923 (prolog-left-indent-regexp, prolog-paren-indent-p)
1924 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1925 (prolog-types, prolog-mode-specificators)
1926 (prolog-determinism-specificators, prolog-directives)
1927 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1928 (prolog-electric-dot-flag)
1929 (prolog-electric-dot-full-predicate-template)
1930 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1931 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1932 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1933 (prolog-program-switches, prolog-prompt-regexp)
1934 (prolog-debug-on-string, prolog-debug-off-string)
1935 (prolog-trace-on-string, prolog-trace-off-string)
1936 (prolog-zip-on-string, prolog-zip-off-string)
1937 (prolog-use-standard-consult-compile-method-flag)
1938 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1939 (prolog-imenu-max-lines, prolog-info-predicate-index)
1940 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1941 (prolog-char-quote-workaround):
1942 * progmodes/cc-vars.el (c-defun-tactic):
1943 * net/tramp.el (tramp-encoding-command-interactive)
1944 (tramp-local-end-of-line):
1945 * net/soap-client.el (soap-client):
1946 * net/netrc.el (netrc-file):
1947 * net/gnutls.el (gnutls):
1948 * minibuffer.el (completion-category-overrides)
1949 (completion-cycle-threshold)
1950 (completion-pcm-complete-word-inserts-delimiters):
1951 * man.el (Man-name-local-regexp):
1952 * mail/feedmail.el (feedmail-display-full-frame):
1953 * international/characters.el (glyphless-char-display-control):
1954 * eshell/em-ls.el (eshell-ls-date-format):
1955 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1956 (lisp-lambda-list-keyword-parameter-indentation)
1957 (lisp-lambda-list-keyword-parameter-alignment):
1958 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1959 * dired-x.el (dired-omit-verbose):
1960 * cus-theme.el (custom-theme-allow-multiple-selections):
1961 * calc/calc.el (calc-highlight-selections-with-faces)
1962 (calc-lu-field-reference, calc-lu-power-reference)
1963 (calc-note-threshold):
1964 * battery.el (battery-mode-line-limit):
1965 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1966 (archive-7z-update):
1967 * allout.el (allout-prefixed-keybindings)
1968 (allout-unprefixed-keybindings)
1969 (allout-inhibit-auto-fill-on-headline)
1970 (allout-flattened-numbering-abbreviation):
1971 * allout-widgets.el (allout-widgets-auto-activation)
1972 (allout-widgets-icons-dark-subdir)
1973 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1974 (allout-widgets-theme-dark-background)
1975 (allout-widgets-theme-light-background)
1976 (allout-widgets-item-image-properties-emacs)
1977 (allout-widgets-item-image-properties-xemacs)
1978 (allout-widgets-run-unit-tests-on-load)
1979 (allout-widgets-time-decoration-activity)
1980 (allout-widgets-hook-error-post-time)
1981 (allout-widgets-track-decoration):
1982 Add missing :version tags to new defcustoms and defgroups.
1983
5fec1b8e
GM
1984 * progmodes/sql.el (sql-ansi-statement-starters)
1985 (sql-oracle-statement-starters): Add custom type.
1986
3e0d2fa7
GM
1987 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1988 (prolog-system-version): Give it a type.
1989
90b671e2
EZ
19902012-02-11 Eli Zaretskii <eliz@gnu.org>
1991
1992 * term/pc-win.el (x-select-text, x-selection-owner-p)
1993 (x-own-selection-internal, x-disown-selection-internal)
1994 (x-get-selection-internal): Sync doc strings and argument lists
1995 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1996
5eac0c02
LL
19972012-02-11 Leo Liu <sdl.web@gmail.com>
1998
1999 * progmodes/python.el (python-end-of-statement): Fix infinite
2000 loop. (Bug#10788)
2001
f82cb659
GM
20022012-02-10 Glenn Morris <rgm@gnu.org>
2003
2004 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2005 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2006
cc26d239
LI
20072012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2008
2009 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2010 about SMTP before checking the From header.
2011
91027d08 2012 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2013 into own function for reuse by emacsbug.el.
2014
1be3ca5a
LL
20152012-02-10 Leo Liu <sdl.web@gmail.com>
2016
2017 * subr.el (condition-case-unless-debug): Rename from
2018 condition-case-no-debug. All callers changed.
2019 (with-demoted-errors): Fix caller.
2020
2021 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2022 * nxml/rng-valid.el (rng-do-some-validation):
2023 * emacs-lisp/package.el (package-refresh-contents)
2024 (package-menu-execute):
2025 * desktop.el (desktop-create-buffer):
91027d08 2026 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2027
b011fbfe
GM
20282012-02-10 Glenn Morris <rgm@gnu.org>
2029
b2096d72
GM
2030 * textmodes/bibtex.el:
2031 Add missing :version tags for new/changed defcustoms.
2032
b011fbfe
GM
2033 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2034
4c7e65bf
LI
20352012-02-09 Lars Ingebrigtsen <larsi@rusty>
2036
2037 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2038 (smtpmail-via-smtp): Use it, or fall back on the From address.
2039 (smtpmail-send-it): Ditto.
2040
f3934f6f
SM
20412012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2044 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2045 (byte-compile-tmp-var): New const.
2046 (byte-compile-defvar): Use it to minimize .elc size.
2047 Just use `defvar' rather than simulate it (bug#10761).
2048
a075a2c5
GM
20492012-02-09 Glenn Morris <rgm@gnu.org>
2050
cf3aa21b
GM
2051 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2052
354998cd
GM
2053 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2054 Add :version tags.
2055
dc9924b8
SM
2056 * progmodes/compile.el (compilation-error-screen-columns)
2057 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2058
dab3703d
GM
2059 * vc/log-view.el (log-view-toggle-entry-display):
2060 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2061
3f88cd72
GM
2062 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2063 (report-emacs-bug-can-use-xdg-email):
2064 (report-emacs-bug-insert-to-mailer): Doc fixes.
2065 (report-emacs-bug): Message fix.
2066
d95b247d
GM
2067 * net/browse-url.el (browse-url-can-use-xdg-open)
2068 (browse-url-xdg-open): Doc fixes.
2069
a075a2c5
GM
2070 * electric.el (electric-indent-mode, electric-pair-mode)
2071 (electric-layout-rules, electric-layout-mode): Doc fixes.
2072 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2073
ffb6157e
MR
20742012-02-08 Martin Rudalics <rudalics@gmx.at>
2075
2076 * server.el (server-unselect-display): Don't inadvertently kill
2077 the current buffer. (Bug#10729)
2078
e1ac4066
GM
20792012-02-08 Glenn Morris <rgm@gnu.org>
2080
34e8a2da
GM
2081 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2082 (sql-list-table): Doc fixes.
2083
b4ac6e8c
GM
2084 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2085 Comment out (does nothing).
2086
e1ac4066
GM
2087 * completion.el (dynamic-completion-mode):
2088 * dirtrack.el (dirtrack-debug-mode):
2089 * electric.el (electric-layout-mode):
2090 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2091 * face-remap.el (text-scale-mode, buffer-face-mode):
2092 * iimage.el (iimage-mode):
2093 * image-mode.el (image-transform-mode):
2094 * minibuffer.el (completion-in-region-mode):
2095 * scroll-lock.el (scroll-lock-mode):
2096 * simple.el (next-error-follow-minor-mode):
2097 * tar-mode.el (tar-subfile-mode):
2098 * tooltip.el (tooltip-mode):
2099 * vcursor.el (vcursor-use-vcursor-map):
2100 * wid-browse.el (widget-minor-mode):
2101 * emulation/tpu-edt.el (tpu-edt-mode):
2102 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2103 * international/iso-ascii.el (iso-ascii-mode):
2104 * language/thai-util.el (thai-word-mode):
2105 * mail/supercite.el (sc-minor-mode):
2106 * net/goto-addr.el (goto-address-mode):
2107 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2108 * progmodes/cwarn.el (cwarn-mode):
2109 * progmodes/flymake.el (flymake-mode):
2110 * progmodes/glasses.el (glasses-mode):
2111 * progmodes/hideshow.el (hs-minor-mode):
2112 * progmodes/pascal.el (pascal-outline-mode):
2113 * textmodes/enriched.el (enriched-mode):
2114 * vc/smerge-mode.el (smerge-mode):
2115 Doc fixes (minor mode argument).
2116
5e0d957f
EZ
21172012-02-07 Eli Zaretskii <eliz@gnu.org>
2118
2119 * ls-lisp.el (ls-lisp-sanitize): New function.
2120 (ls-lisp-insert-directory): Use it to fix or remove any elements
2121 in file-alist with missing attributes. (Bug#4673)
2122
98d7371e
AM
21232012-02-07 Alan Mackenzie <acm@muc.de>
2124
2125 Fix spurious recognition of c-in-knr-argdecl.
2126
2127 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2128 putative K&R region.
2129
667ced3a
AM
21302012-02-07 Alan Mackenzie <acm@muc.de>
2131
eb864a71
LM
2132 * progmodes/cc-engine.el (c-forward-objc-directive):
2133 Prevent looping in "#pragma mark @implementation".
667ced3a 2134
5b77774d
MA
21352012-02-07 Michael Albinus <michael.albinus@gmx.de>
2136
2137 * notifications.el (notifications-on-closed-signal): Make `reason'
2138 optional. (Bug#10744)
2139
af008560
GM
21402012-02-07 Glenn Morris <rgm@gnu.org>
2141
60d47423
GM
2142 * emacs-lisp/easy-mmode.el (define-minor-mode):
2143 Doc fixes for the macro and the mode it defines.
2144
dd605cc4
GM
2145 * image.el (imagemagick-types-inhibit): Doc fix.
2146
af008560
GM
2147 * cus-start.el (imagemagick-render-type): Add it.
2148
5cc59a37
LI
21492012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2150
4d6769e1
JB
2151 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2152 Set the default at load time, too, so that `font-lock-fontify-buffer'
2153 can be called without setting up the entire mode first. This fixes
2154 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2155
9a6dd747
CY
21562012-02-06 Chong Yidong <cyd@gnu.org>
2157
2d16b285
CY
2158 * simple.el (list-processes--refresh): Delete exited processes
2159 (Bug#8094).
2160
171e9b6e
CY
2161 * comint.el (comint-next-prompt): next-single-char-property-change
2162 and prev-single-char-property-change never return nil (Bug#8657).
2163
9a6dd747
CY
2164 * custom.el (defcustom): Doc fix (Bug#9711).
2165
aa4589a7
CY
21662012-02-05 Chong Yidong <cyd@gnu.org>
2167
5c2a252f
CY
2168 * cus-edit.el (custom-variable-reset-backup): Quote the value
2169 before storing it in the customized-value property (Bug#6712).
4aab9006 2170 (custom-display): Add a customization type tag.
983b9602 2171 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2172
aa4589a7
CY
2173 * wid-edit.el (widget-field-value-get): New optional arg to
2174 suppress trailing whitespace truncation.
2175 (character): Use it (Bug#2689).
2176
1ff980ae
AS
21772012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2178
2179 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2180 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2181
03988c98
CY
21822012-02-05 Chong Yidong <cyd@gnu.org>
2183
eeb6cc88
CY
2184 * cus-edit.el (custom-variable-value-create): For mismatched
2185 types, show the current value (Bug#7600).
2186
03988c98
CY
2187 * custom.el (defcustom): Doc fix.
2188
f8cdeef0
GM
21892012-02-05 Glenn Morris <rgm@gnu.org>
2190
2191 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2192
0696d255
JB
21932012-02-05 Juanma Barranquero <lekktu@gmail.com>
2194
2195 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2196 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2197 (pp-last-sexp): Use `looking-at-p'.
2198
34c99998
GM
21992012-02-04 Glenn Morris <rgm@gnu.org>
2200
8f05da42
GM
2201 * files.el (revert-buffer):
2202 Doc fix (mention revert-buffer-in-progress-p).
2203
f160676e
GM
2204 * emacs-lisp/ert-x.el (ert-simulate-command):
2205 Check deferred-action-list (which is obsolete) is bound.
2206
c7291ad9
GM
2207 * subr.el (with-wrapper-hook): Doc fixes.
2208
34c99998
GM
2209 * simple.el (filter-buffer-substring-functions)
2210 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2211
6283a7d3
LL
22122012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2213
2214 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2215 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2216
e96e3013
LL
22172012-02-04 Leo Liu <sdl.web@gmail.com>
2218
2219 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2220
8ded50f2
GM
22212012-02-04 Glenn Morris <rgm@gnu.org>
2222
82ff1d13
GM
2223 * image.el (image-extension-data): Add obsolete alias.
2224
987a0a16
GM
2225 * isearch.el (isearch-update): Doc fix.
2226
ea32ef46
GM
2227 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2228
8ded50f2
GM
2229 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2230
eea14f31
GM
22312012-02-03 Glenn Morris <rgm@gnu.org>
2232
2233 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2234 (image-animate-timeout): Doc fix.
2235
2236 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2237
12f381b7
GM
22382012-02-02 Glenn Morris <rgm@gnu.org>
2239
953cebf5
GM
2240 * server.el (server-auth-dir): Doc fix.
2241 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2242
12f381b7
GM
2243 * subr.el (run-mode-hooks): Doc fix.
2244
953a8c3b
JL
22452012-02-02 Juri Linkov <juri@jurta.org>
2246
2247 * image-mode.el (image-toggle-display-image): Remove tautological
2248 `major-mode' from the `derived-mode-p' test.
2249
c5d3843c
KH
22502012-02-02 Kenichi Handa <handa@m17n.org>
2251
9f6e692e 2252 * composite.el (compose-region): Cancel previous change.
c5d3843c 2253
159462d4 22542012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2255
2256 * composite.el (compose-region, compose-string): Signal error for
2257 a null string component (Bug#6988).
2258
9f562668
CY
22592012-02-01 Chong Yidong <cyd@gnu.org>
2260
e2cef717
CY
2261 * view.el (view-buffer-other-window, view-buffer-other-frame):
2262 Handle special modes like view-buffer (Bug#10650).
2263 (view-buffer): Simplify.
2264
9f562668
CY
2265 * frame.el (set-frame-font): Tweak meaning of third argument.
2266
9f6e692e
JB
2267 * dynamic-setting.el (font-setting-change-default-font):
2268 Use set-frame-font (Bug#9982).
9f562668 2269
781acb9f
GM
22702012-02-01 Glenn Morris <rgm@gnu.org>
2271
6035be52
GM
2272 * progmodes/compile.el (compilation-internal-error-properties):
2273 Respect compilation-first-column in the "*compilation*" buffer.
2274
781acb9f
GM
2275 * emacs-lisp/easy-mmode.el (define-minor-mode):
2276 Relax :variable's test for a named function.
2277
abbceb00
AM
22782012-01-31 Alan Mackenzie <acm@muc.de>
2279
2280 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2281 off by one error.
2282
fce3fdeb
CY
22832012-01-31 Chong Yidong <cyd@gnu.org>
2284
2285 * frame.el (set-frame-font): New arg ALL-FRAMES.
2286
2287 * menu-bar.el (menu-set-font): Use set-frame-font.
2288
2289 * faces.el (face-spec-reset-face): Don't apply unspecified
2290 attribute values to the default face.
2291
47893581
JB
22922012-01-31 Juanma Barranquero <lekktu@gmail.com>
2293
2294 * progmodes/cwarn.el (cwarn): Remove dead link.
2295 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2296 Remove * from defcustom docstrings.
2297 (turn-on-cwarn-mode): Make obsolete.
2298 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2299 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2300
e58e988a
GM
23012012-01-31 Glenn Morris <rgm@gnu.org>
2302
60dc2671 2303 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2304 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2305 Allow named functions to be used as the cdr of :variable.
e58e988a 2306
7a3f511d
GM
23072012-01-30 Glenn Morris <rgm@gnu.org>
2308
2309 * emacs-lisp/authors.el (authors-fixed-entries):
2310 Remove reference to deleted file rnewspost.el.
2311
cb882333
JB
23122012-01-29 Juanma Barranquero <lekktu@gmail.com>
2313
2314 * window.el (window-with-parameter): Remove unused variable `windows'.
2315 (window--side-check): Remove unused variable `code'.
2316 (window--resize-siblings): Remove unused variable `first'.
2317 (adjust-window-trailing-edge): Remove unused variable `failed'.
2318 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2319 Use `let', not `let*'.
2320 (balance-windows-2): Remove unused variable `found'.
2321 (window--state-put-2): Remove unused variable `splits'.
2322 (window-state-put): Remove unused variable `selected'.
2323 (same-window-p): Use `string-match-p'.
2324 (display-buffer-assq-regexp): Remove unused variable `value'.
2325 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2326 Mark argument ALIST as ignored.
2327 (pop-to-buffer): Remove unused variable `old-window'.
2328
907201af
EZ
23292012-01-29 Eli Zaretskii <eliz@gnu.org>
2330
2331 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2332 and .lzma compressed files.
2333
ea162670
CY
23342012-01-29 Chong Yidong <cyd@gnu.org>
2335
5b95ee8a
CY
2336 * frame.el (window-system-default-frame-alist): Doc fix.
2337
ea162670
CY
2338 * dynamic-setting.el (font-setting-change-default-font): Don't
2339 change the default face if SET-FONT argument is non-nil (Bug#9982).
2340
d6e6f4b1
SB
23412012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2342
2343 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2344
0f29fa41 23452012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2346
2347 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2348 breakpoints in files outside current directory (Bug#6098).
2349
db174434
CY
23502012-01-29 Chong Yidong <cyd@gnu.org>
2351
6b25e4e2
SE
2352 * progmodes/python.el: Require ansi-color at top-level.
2353
6df6ae42
JB
2354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2355 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2356 (lisp-mode-abbrev-table): Add doc.
2357 (lisp-mode-variables): Don't set local-abbrev-table.
2358 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2359
e70ee681
RW
23602012-01-28 Roland Winkler <winkler@gnu.org>
2361
2362 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2363
ace88aa2
RW
23642012-01-28 Roland Winkler <winkler@gnu.org>
2365
2366 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2367 (bibtex-set-dialect): Use it. Either set global values of
2368 dialect-dependent variables or bind these variables buffer-locally
2369 (Bug#10254).
2370 (bibtex-mode): Call bibtex-set-dialect via
2371 hack-local-variables-hook.
eb864a71
LM
2372 (bibtex-dialect): Update docstring.
2373 Add safe-local-variable predicate.
ace88aa2
RW
2374 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2375 bibtex-set-dialect.
2376 (bibtex-mode-map): Define menu for each dialect.
2377 (bibtex-entry): Fix docstring.
2378
93376c5b
CY
23792012-01-28 Chong Yidong <cyd@gnu.org>
2380
2381 * eshell/esh-arg.el (eshell-quote-argument): New function.
2382
2383 * eshell/esh-ext.el (eshell-invoke-batch-file):
2384 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2385 first arg to eshell-parse-command (Bug#10523).
2386
4372494f
DA
23872012-01-28 Drew Adams <drew.adams@oracle.com>
2388
2389 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2390 `default-directory' is non-nil.
2391
4d4ec1f8
EZ
23922012-01-28 Eli Zaretskii <eliz@gnu.org>
2393
2394 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2395 line that displays system-configuration-options. (Bug#9924)
2396
7c188927
DA
23972012-01-28 Drew Adams <drew.adams@oracle.com>
2398
2399 * descr-text.el (describe-char): Show information about POS, in
2400 addition to information about the character at POS. Improve and
2401 update the doc string. Change "code point" to "code point in
2402 charset", to avoid confusion with the character's Unicode code
2403 point shown above that. (Bug#10129)
2404
e0da685a
EZ
24052012-01-28 Eli Zaretskii <eliz@gnu.org>
2406
2407 * descr-text.el (describe-char): Show the raw character, not only
2408 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2409 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2410 for the reasons.
2411
70550acf
PH
24122012-01-28 Phil Hagelberg <phil@hagelb.org>
2413
eb864a71
LM
2414 * emacs-lisp/package.el (package-install):
2415 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2416
0ce8e868
CY
24172012-01-28 Chong Yidong <cyd@gnu.org>
2418
cb882333
JB
2419 * emacs-lisp/package.el (package-maybe-load-descriptor):
2420 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2421 (package-maybe-load-descriptor): Use it.
2422 (package-download-transaction): Fully load required packages
2423 inside the loop, so that `require' calls work (Bug#10593).
2424 (package-install): No need to call package-initialize now.
2425
2e7f3bea
CY
24262012-01-28 Chong Yidong <cyd@gnu.org>
2427
6e9bad14
CY
2428 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2429
f823b8ca
CY
2430 * tooltip.el (tooltip-mode): Doc fix.
2431 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2432
2680c309
CY
2433 * frame.el (set-cursor-color): Doc fix (Bug#352).
2434
d7a9e63b
CY
2435 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2436 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2437
2e7f3bea
CY
2438 * cus-edit.el (custom-buffer-create-internal): Fix search button
2439 action (Bug#10542).
2ae01800 2440 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2441
fc4f7a23
EW
24422012-01-27 Eduard Wiebe <usenet@pusto.de>
2443
2444 * dired.el (dired-mark-files-regexp):
2445 Include any subdirectory components. (Bug#10445)
2446
7dd37071
ML
24472012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2448
2449 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2450 Handle [host]:port syntax. (Bug#10533)
2451
a268160b
AH
24522012-01-27 Alex Harsanyi <harsanyi@mac.com>
2453
2454 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2455
e43273ef
GM
24562012-01-26 Glenn Morris <rgm@gnu.org>
2457
2458 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2459 * term.el (term-raw-escape-map): Use Control-X-prefix.
2460 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2461
1edf595d
MR
24622012-01-25 Martin Rudalics <rudalics@gmx.at>
2463
2464 * window.el (window-state-get, window--state-get-1): Don't deal
2465 with fixed-sizeness of windows. Simplify code.
2466
fa8eafef
JC
24672012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2468
6df6ae42
JB
2469 * window.el (window--state-get-1, window--state-put-2):
2470 Don't save and restore the mark.
fa8eafef 2471
0b21c100
CY
24722012-01-25 Chong Yidong <cyd@gnu.org>
2473
2474 * custom.el (custom-variable-p): Doc fix.
2475
5ae1a6c8
GM
24762012-01-25 Glenn Morris <rgm@gnu.org>
2477
40047858
GM
2478 * dired.el (dired-goto-file): Handle some of the more common
2479 characters that `ls -b' escapes. (Bug#10596)
2480
5ddce96c
GM
2481 * progmodes/compile.el (compilation-next-error-function):
2482 Respect compilation-first-column in the "*compilation*" buffer.
2483 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2484
5ae1a6c8
GM
2485 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2486
b559f1a9
GM
24872012-01-24 Glenn Morris <rgm@gnu.org>
2488
2489 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2490
6725d21a
JD
24912012-01-24 Julien Danjou <julien@danjou.info>
2492
2493 * color.el (color-rgb-to-hsl): Fix value computing.
2494 (color-hue-to-rgb): New function.
2495 (color-hsl-to-rgb): New function.
2496 (color-clamp, color-saturate-hsl, color-saturate-name)
2497 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2498 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2499
70df4bbe
GM
25002012-01-24 Glenn Morris <rgm@gnu.org>
2501
2502 * vc/vc-rcs.el (vc-rcs-create-tag):
2503 * vc/vc-sccs.el (vc-sccs-create-tag):
2504 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2505
802a2ae2
ML
25062012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2507
2508 * eshell/esh-util.el (eshell-read-hosts-file):
2509 Skip comment lines. (Bug#10549)
2510
d7128bb1
ML
2511 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2512
d1a5c3b4
JB
25132012-01-23 Juanma Barranquero <lekktu@gmail.com>
2514
2724d9c7
JB
2515 * subr.el (display-delayed-warnings): Doc fix.
2516 (collapse-delayed-warnings): New function to collapse identical
2517 adjacent warnings.
2518 (delayed-warnings-hook): Add it.
d1a5c3b4 2519
a5509865
MA
25202012-01-22 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2523
2524 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2525 properties, when "login-as" is set.
2526
2527 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2528 (tramp-default-user-alist): Don't add "pscp".
2529 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2530 property "login-as", if set. (Bug#10530)
2531
cc6d5805
MA
25322012-01-21 Michael Albinus <michael.albinus@gmx.de>
2533
2534 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2535 "plink1" and "psftp". (Bug#10530)
2536
25372012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2538
2539 * international/mule-cmds.el (prefer-coding-system): Show a
2540 warning message if the default value of file-name-coding-system
2541 was not changed.
2542
f0960428
JC
25432012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2544
cb882333
JB
2545 * windmove.el (windmove-reference-loc):
2546 Fix windmove-reference-loc miscalculation.
f0960428 2547
dd6f2a63
JB
25482012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2549
2550 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2551 default unit.
2552
7b447e9b
GM
25532012-01-21 Glenn Morris <rgm@gnu.org>
2554
117a9ea1
GM
2555 * international/mule.el (auto-coding-alist): Add .tbz.
2556
7b447e9b
GM
2557 * files.el (local-enable-local-variables): Doc fix.
2558 (inhibit-local-variables-regexps): Rename from
2559 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2560 Doc fix. Add some extensions from auto-coding-alist.
2561 (inhibit-local-variables-suffixes):
2562 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2563 (inhibit-local-variables-p):
2564 New function, extracted from set-auto-mode-1.
2565 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2566 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2567 (hack-local-variables): Doc fix. Make the mode-only case
2568 respect enable-local-variables and friends.
2569 Respect inhibit-local-variables-regexps for file-locals, but
2570 not for directory-locals.
2571 (set-visited-file-name):
2572 Take account of inhibit-local-variables-regexps.
2573 Whether it applies may change as the file name is changed.
2574 * jka-cmpr-hook.el (jka-compr-install):
2575 * jka-compr.el (jka-compr-uninstall):
2576 Update for inhibit-first-line-modes-suffixes name change.
2577
dd6e3cdd
MR
25782012-01-20 Martin Rudalics <rudalics@gmx.at>
2579
2580 * help-macro.el (make-help-screen): Temporarily restore original
2581 binding for minor-mode-map-alist (Bug#10454).
2582
0d0deb38
JD
25832012-01-19 Julien Danjou <julien@danjou.info>
2584
2585 * color.el (color-name-to-rgb): Use the white color to find the max
2586 color component value and return correctly computed values.
2587 (color-name-to-rgb): Add missing float conversion for max value.
2588
34a02f46
MR
25892012-01-19 Martin Rudalics <rudalics@gmx.at>
2590
2591 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2592 special state value for window-persistent-parameters.
2593 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2594 (window--state-put-2): Reset all window parameters to nil before
2595 assigning values of persistent parameters.
2596
606c44c4
AM
25972012-01-18 Alan Mackenzie <acm@muc.de>
2598
2599 Eliminate sluggishness and hangs in fontification of "semicolon
2600 deserts".
2601
cb882333
JB
2602 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2603 Change value 10000 -> 3000.
606c44c4
AM
2604 (c-state-safe-place): Reformulate so it doesn't stack up an
2605 infinite number of wrong entries in c-state-nonlit-pos-cache.
2606 (c-determine-limit-get-base, c-determine-limit): New functions to
2607 determine backward search limits disregarding literals.
2608 (c-find-decl-spots): Amend commenting.
2609 (c-cheap-inside-bracelist-p): New function which detects "={".
2610
2611 * progmodes/cc-fonts.el
2612 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2613 backward search.
2614 (c-font-lock-declarations): Fix an occurrence of point being
2615 undefined. Check additionally for point being in a bracelist or
2616 near a macro invocation without a semicolon so as to avoid a
2617 fruitless time consuming search for a declarator. Give a more
2618 precise search limit for declarators using the new
2619 c-determine-limit.
2620
f3860cea
GM
26212012-01-18 Glenn Morris <rgm@gnu.org>
2622
2623 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2624 (set-auto-mode): Doc fixes.
2625
1db03b16
GM
26262012-01-17 Glenn Morris <rgm@gnu.org>
2627
0e6038be
GM
2628 * isearch.el (search-nonincremental-instead): Fix doc typo.
2629
1db03b16
GM
2630 * dired.el (dired-insert-directory): Handle newlines in directory name.
2631 (dired-build-subdir-alist): Unescape newlines in directory name.
2632
4cb0aa75
MA
26332012-01-17 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2636 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2637 (tramp-action-terminal): Use it. (Bug#10530)
2638
1d00653d
SM
26392012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2642
6a6ee00d
MR
26432012-01-16 Martin Rudalics <rudalics@gmx.at>
2644
2645 * window.el (window-state-ignored-parameters): Remove variable.
2646 (window--state-get-1): Rename argument MARKERS to IGNORE.
2647 Handle persistent window parameters. Make copy of clone-of
2648 parameter only if requested. (Bug#10348)
2649 (window--state-put-2): Install a window parameter only if it has
2650 a non-nil value or an existing parameter shall be overwritten.
2651
97912def
MA
26522012-01-15 Michael Albinus <michael.albinus@gmx.de>
2653
2654 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2655
688070a5
EZ
26562012-01-14 Eli Zaretskii <eliz@gnu.org>
2657
2658 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2659 don't pass the (nil) value of `upnode' to string-match.
2660
301afadc
CY
26612012-01-14 Chong Yidong <cyd@gnu.org>
2662
2663 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2664 Fix values recognized by the cursorBlink resource.
301afadc 2665
9e5788aa
PE
26662012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2667
2668 * epg.el (epg--make-temp-file): Avoid permission race condition
2669 when running on old Emacs versions (bug#10403).
2670
3cdb7f5a
GM
26712012-01-14 Glenn Morris <rgm@gnu.org>
2672
2673 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2674
8c82b1b4
AM
26752012-01-13 Alan Mackenzie <acm@muc.de>
2676
2677 Fix filling for when filladapt mode is enabled.
2678
2679 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2680 c-mask-paragraph, pass in `fill-paragraph' rather than
2681 `fill-region-as-paragraph'. (This is a reversion of a previous
2682 change.)
eb864a71
LM
2683 * progmodes/cc-mode.el (c-basic-common-init):
2684 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2685
e517eda4
GM
26862012-01-13 Glenn Morris <rgm@gnu.org>
2687
1498536e
GM
2688 * dired.el (dired-switches-escape-p): New function.
2689 (dired-insert-directory): Use dired-switches-escape-p.
2690 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2691
e517eda4
GM
2692 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2693
328f984d
GM
26942012-01-12 Glenn Morris <rgm@gnu.org>
2695
2696 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2697 changes in adaptive-fill-regexp. (Bug#10276)
2698
2cc769a8
AM
26992012-01-11 Alan Mackenzie <acm@muc.de>
2700
2701 Fix Emacs bug #10463 - put `widen's around the critical spots.
2702
1d00653d 2703 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2704 widen around each invocation of c-state-pp-to-literal. Remove an
2705 unused let variable.
2706
e52c37fa
GM
27072012-01-11 Glenn Morris <rgm@gnu.org>
2708
2709 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2710 Doc fix.
e52c37fa 2711
96f8741e
CY
27122012-01-10 Chong Yidong <cyd@gnu.org>
2713
1d00653d
SM
2714 * net/network-stream.el (network-stream-open-starttls):
2715 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2716 response to the capability command.
2717
b09a806e
GM
27182012-01-10 Glenn Morris <rgm@gnu.org>
2719
2720 * mail/unrmail.el (unrmail): Tweak previous change.
2721
7655cb66
CY
27222012-01-09 Chong Yidong <cyd@gnu.org>
2723
2724 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2725
9d5a8f0b
AM
27262012-01-08 Alan Mackenzie <acm@muc.de>
2727
2728 Optimise font locking in long enum definitions.
2729
2730 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2731 arm to a cond form to handle enums.
2732 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2733 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2734
9a0115ab 27352012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2736
2737 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2738 (Bug#10401)
6bb72cbd 2739
f186bb95
LMI
27402012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2741
29232a68
LMI
2742 * faces.el (set-face-attribute): Clarify the meaning of the nil
2743 frame (bug#10294).
2744
4e5d086d
LMI
2745 * subr.el (with-selected-frame): Mention that the selected frame
2746 is restored (bug#9980).
2747
8e66aebe
LMI
2748 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2749 (bug#9759).
2750
cd394be1 2751 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2752 (password-read): Don't autoload unused function.
2753
adf4e762
JB
27542012-01-07 Juanma Barranquero <lekktu@gmail.com>
2755
2756 * progmodes/which-func.el (which-func-mode): Turn into a
2757 non-interactive function and mark as obsolete (bug#10428).
2758
89bd9ccd
CY
27592012-01-06 Chong Yidong <cyd@gnu.org>
2760
2761 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2762 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2763 functions, along with 1 and -1.
2764
4afee9d5
EZ
27652012-01-06 Eli Zaretskii <eliz@gnu.org>
2766
2767 * time.el (display-time-load-average)
2768 (display-time-default-load-average): Doc fixes. See the thread
2769 starting at
2770 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2771 for the details.
2772
536aea70
GM
27732012-01-06 Glenn Morris <rgm@gnu.org>
2774
665ae865
GM
2775 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2776 has no messages. (Bug#10377)
2777
c869783d
GM
2778 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2779 than Info-edit. (Bug#10385)
2780
2bb4227e
GM
2781 * time.el (display-time-load-average, display-time-next-load-average):
2782 Doc fixes.
2783
7d5944b9
GM
2784 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2785 local setting of buffer-read-only to the input buffer. (Bug#10419)
2786
536aea70
GM
2787 * calendar/calendar.el (calendar-mode):
2788 Locally set scroll-margin to 0. (Bug#10379)
2789
7dccca16
UM
27902012-01-06 Ulrich Mueller <ulm@gentoo.org>
2791
2792 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2793
afbb7930
GM
27942012-01-05 Glenn Morris <rgm@gnu.org>
2795
2796 * eshell/em-unix.el (diff-no-select): Autoload it.
2797 (eshell/diff): Use diff-no-select. (Bug#10420)
2798
04482335
CY
27992012-01-05 Chong Yidong <cyd@gnu.org>
2800
7baca3bc
CY
2801 * shell.el (shell-dynamic-complete-functions): Revert last change.
2802 (shell-command-completion-function): New function.
2803 (shell-completion-vars): Use it to implement
2804 shell-completion-execonly (Bug#10417).
2805
04482335
CY
2806 * custom.el (enable-theme): Don't set custom-safe-themes.
2807
1d00653d
SM
2808 * cus-theme.el (custom-theme-merge-theme):
2809 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2810
bb5aa5d6
MM
28112012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2812
2813 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2814 first prompt in `sql-interacive-mode'.
2815 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2816 keywords.
6df6ae42 2817 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2818 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2819 context of original buffer. Invoke `sql-login-hook'.
2820
a7183d7c
EZ
28212012-01-04 Eli Zaretskii <eliz@gnu.org>
2822
2823 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2824 letters in cite-prefix.
2825
a1eacd1e
LMI
28262012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2827
2828 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2829
787cdb34
CY
28302012-01-03 Chong Yidong <cyd@gnu.org>
2831
1d00653d
SM
2832 * shell.el (shell-dynamic-complete-functions):
2833 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2834 comint-filename-completion first (Bug#10417).
2835
30710442
RS
28362012-01-02 Richard Stallman <rms@gnu.org>
2837
2838 * battery.el (battery-status-function):
2839 Detect when to use battery-yeeloong-sysfs.
2840 (battery-echo-area-format): Add string for Yeeloong.
2841 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2842 (battery-yeeloong-sysfs): New function.
2843
f75bfc33
CY
28442012-01-02 Chong Yidong <cyd@gnu.org>
2845
2846 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2847 (dirtrack): Merge code for handling relative filenames in prompt
2848 from shell-dir-cookie-watcher.
2849 (dirtrack-debug-message): New arg to avoid excess format calls.
2850
2851 * shell.el (shell-dir-cookie-re): Variable deleted.
2852 (shell-dir-cookie-watcher): Function deleted.
2853 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2854 with dirtrack-mode.
2855
651e947e
EZ
28562012-01-01 Eli Zaretskii <eliz@gnu.org>
2857
1d00653d
SM
2858 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2859 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2860 libgnutls-26.dll.
2861
94d4c7dc
AS
28622011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2863
2864 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2865
8d43f3cd
EZ
28662011-12-31 Eli Zaretskii <eliz@gnu.org>
2867
2868 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2869 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2870
98c8795a
MA
28712011-12-29 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2874 also for alternative shells.
2875 (tramp-open-connection-setup-interactive-shell): Check, whether
2876 the shell is a busybox.
2877 (tramp-send-command): Don't suppress multiple prompts for
2878 busyboxes, it hurts.
2879
51281b32
CY
28802011-12-28 Chong Yidong <cyd@gnu.org>
2881
2882 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2883 (gdb-get-source-file): Move mode line update to
2884 gdb-get-source-file (Bug#10087).
2885
2170cb53
CY
28862011-12-25 Chong Yidong <cyd@gnu.org>
2887
2888 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2889 gud-gdb-marker-filter without taking it as an argument.
2890 (gud-gdb-run-command-fetch-lines): Caller changed.
2891 (gud-gdb-completion-function): New variable.
2892 (gud-gdb-completion-at-point): Use it.
2893 (gud-gdb-completions-1): Split from gud-gdb-completions.
2894
2895 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2896 function as separate arguments.
2897 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2898 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2899 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2900 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2901 (gdb-stopped, def-gdb-auto-update-trigger)
2902 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2903 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2904 Callers changed.
2170cb53
CY
2905 (gud-gdbmi-completions): New function.
2906 (gdb): Use it for generating the completion table.
2907
be8b11bb
AM
29082011-12-24 Alan Mackenzie <acm@muc.de>
2909
2910 Introduce a mechanism to widen the region used in context font
1d00653d 2911 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2912
1d00653d
SM
2913 * progmodes/cc-langs.el (c-before-font-lock-functions):
2914 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2915 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2916 functions to be run just before context (etc.) font locking.
2917
2918 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2919 New, functionality extracted from
be8b11bb 2920 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2921 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2922 (c-after-change): Set c-in-after-change-fontification.
2923 (c-set-fl-decl-start): Rejig its interface, so it can be called
2924 from both after-change and context fontifying.
b81d40f0
JB
2925 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2926 New functions.
2927 (c-standard-font-lock-fontify-region-function): New variable.
2928 (c-font-lock-fontify-region): New function.
be8b11bb 2929
341cf6ac
JL
29302011-12-24 Juri Linkov <juri@jurta.org>
2931
2932 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2933 (Bug#10348)
2934
bffcee0a
MA
29352011-12-23 Michael Albinus <michael.albinus@gmx.de>
2936
2937 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2938 existence of source file. (Bug#10325)
2939
cb5e207c
AM
29402011-12-23 Alan Mackenzie <acm@muc.de>
2941
2942 Fix unstable fontification inside templates.
2943
b81d40f0
JB
2944 * progmodes/cc-langs.el (c-before-font-lock-functions):
2945 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2946 additionally has c-set-fl-decl-start. The other languages (apart
2947 from AWK) have that as a single entry.
2948
b81d40f0
JB
2949 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2950 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2951 c-set-fl-decl-start.
2952
b81d40f0
JB
2953 * progmodes/cc-mode.el (c-common-init, c-after-change):
2954 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2955 (c-set-fl-decl-start): New function, extracted from
2956 c-font-lock-enclosing-decls and enhanced.
2957
60ff536c
JB
29582011-12-23 Juanma Barranquero <lekktu@gmail.com>
2959
2960 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2961
1c4757d6
JL
29622011-12-22 Juri Linkov <juri@jurta.org>
2963
2964 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2965
d031f2c7
CY
29662011-12-22 Chong Yidong <cyd@gnu.org>
2967
2968 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2969
bace743a
DA
29702011-12-21 Drew Adams <drew.adams@oracle.com>
2971
2972 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2973
728a1f2b
JC
29742011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2975
2976 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2977
0d373f73
TZ
29782011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2979
fec0aaa4
TZ
2980 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2981 highlighting and support. Fix up comments for capitalization.
2982 (cfengine-mode-debug): New var.
2983 (cfengine3-mode): Change the modeline indicator to "CFE3".
2984 (cfengine3-font-lock-keywords): Improve defun highlighting.
2985 (cfengine2-actions): Rename from `cfengine-actions'.
2986 (cfengine2-font-lock-keywords): Rename from
2987 `cfengine-font-lock-keywords'.
2988 (cfengine2-imenu-expression): Rename from
2989 `cfengine-imenu-expression'.
2990 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2991 (cfengine2-beginning-of-defun): Rename from
2992 `cfengine-beginning-of-defun'.
2993 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2994 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2995 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2996 modeline indicator to "CFE2".
2997 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2998 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2999
bc86f573
CY
30002011-12-21 Chong Yidong <cyd@gnu.org>
3001
3002 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3003 filename argument.
3004
d45ba96b
MR
30052011-12-20 Martin Rudalics <rudalics@gmx.at>
3006
3007 * window.el (window-normalize-buffer-to-display): Remove.
3008 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3009
a6198c90
CY
30102011-12-19 Chong Yidong <cyd@gnu.org>
3011
3012 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3013 Don't signal an error in a predicate function; return non-nil.
3014 (vc-dir-mark-file): Move the error here.
3015 (vc-dir-mark-unmark): If acting on the region, keep going if one
3016 of the entries cannot be marked/unmarked.
3017 (vc-dir-mark-all-files): If current entry is a directory, mark
3018 only child files, as documented.
3019
34c5fb55
VB
30202011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3021
3022 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3023 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3024 addition.
3025
c803b2b7
JD
30262011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3027
3028 * term/ns-win.el (ns-get-selection-internal)
3029 (ns-store-selection-internal): Declare.
1154d12e
JB
3030 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3031 Declare as obsolete.
3032 (ns-get-pasteboard, ns-paste-secondary):
3033 Use ns-get-selection-internal.
3034 (ns-set-pasteboard, ns-copy-including-secondary):
3035 Use ns-store-selection-internal.
c803b2b7 3036
9cff91f8 30372011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3038
3039 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3040 (vc-deduce-fileset): Doc fix.
99a289d9 3041
f16c898a
AS
30422011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3043
3044 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3045
763237c4
SS
30462011-12-13 Sam Steingold <sds@gnu.org>
3047
3048 * man.el (Man-getpage-in-background): When running under a
3049 window-system, ignore $MANWIDTH and $COLUMNS.
3050
5fc1c122
KH
30512011-12-15 Kenichi Handa <handa@m17n.org>
3052
3053 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3054 (setup-ethiopic-environment-internal): Comment out key-binding for
3055 ethio-toggle-punctuation.
3056
13d49cbb
AM
30572011-12-13 Alan Mackenzie <acm@muc.de>
3058
898169a2
AM
3059 Add the switch statement to AWK Mode.
3060
7a71b18d 3061 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3062 "default" to the keywords regexp.
3063
7a71b18d 3064 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3065 expression as the rest.
1d00653d
SM
3066 (c-nonlabel-token-key): Allow string literals for AWK.
3067 Refactor for the other modes.
898169a2 3068
13d49cbb 3069 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3070 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3071 routines. Limit backward searching in c-font-lock-enclosing.decl.
3072
3073 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3074 pp-state and literal type in addition to the limits.
1d00653d 3075 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3076 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3077 (c-slow-in-literal, c-fast-in-literal): Remove.
3078 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3079
3080 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3081 being in a literal. Add a limit for backward searching.
3082
3083 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3084 c-slow-in-literal.
3085
15e0efc7
SM
30862011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3088 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3089
454592a6
MR
30902011-12-13 Martin Rudalics <rudalics@gmx.at>
3091
3092 * window.el (delete-other-windows): Use correct frame in call to
3093 window-with-parameter.
3094
87393f26
DP
30952011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3096
3097 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3098 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3099 (makefile-gmake-statements, makefile-makepp-statements):
3100 Use it and add new makepp keywords.
3101 (makefile-makepp-font-lock-keywords): Add new patterns.
3102 (makefile-match-function-end): Match new [...] and [[...]].
3103
11636b22
JB
31042011-12-11 Juanma Barranquero <lekktu@gmail.com>
3105
3106 * ses.el (ses-call-printer-return, ses-cell-property-get)
3107 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3108 (ses-create-cell-variable, ses-reset-header-string)
3109 (ses-cell-set-formula, ses-repair-cell-reference-all)
3110 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3111 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3112 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3113 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3114 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3115 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3116 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3117 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3118 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3119 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3120 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3121 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3122
cf018193
VB
31232011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3124
3125 * ses.el: The overall change is to add cell renaming, that is
3126 setting fancy names for cell symbols other than name matching
3127 "\\`[A-Z]+[0-9]+\\'" regexp .
3128 (ses-create-cell-variable): New defun.
3129 (ses-relocate-formula): Relocate formulas only for cells the
3130 symbols of which are not renamed, i.e. symbols whose names do not
3131 match regexp "\\`[A-Z]+[0-9]+\\'".
3132 (ses-relocate-all): Relocate values only for cells the symbols of
3133 which are not renamed.
3134 (ses-load): Create cells variables as the (ses-cell ...) are read,
3135 in order to check row col consistency with cell symbol name only
3136 for cells that are not renamed.
3137 (ses-replace-name-in-formula): New defun.
3138 (ses-rename-cell): New defun.
3139
ee957461
CY
31402011-12-11 Chong Yidong <cyd@gnu.org>
3141
3142 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3143 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3144
9a9e9ef0
MR
31452011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3146
3147 * window.el (other-window): Fix docstring.
3148
92a8eba5
EZ
31492011-12-10 Eli Zaretskii <eliz@gnu.org>
3150
3151 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3152 `from' or `to' address before taking its substring.
3153 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3154 encoded name is chopped in the middle of the encoded string, and
3155 thus displayed encoded.
3156
e152e577
JB
31572011-12-10 Juanma Barranquero <lekktu@gmail.com>
3158
3159 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3160
e5d84bfe
EZ
31612011-12-10 Eli Zaretskii <eliz@gnu.org>
3162
3163 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3164 to use texinfo-update-node and commands that call it if the
3165 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3166 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3167 (texinfo-all-menus-update, texinfo-master-menu)
3168 (texinfo-update-node, texinfo-every-node-update)
3169 (texinfo-multiple-files-update): Doc fix. Warn against updating
3170 all the @node lines.
3171 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3172 argument is numeric. Explain better in the doc string what the
3173 function really does.
3174 (texinfo-insert-master-menu-list): Improve the error message
3175 displayed if there's no menu in the Top node.
3176 (Bug#2975) See also this thread:
e5d84bfe
EZ
3177 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3178
1d84e9bb
MG
31792011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3180
3181 * speedbar.el (speedbar-supported-extension-expressions):
3182 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3183
382c953b
JB
31842011-12-09 Juanma Barranquero <lekktu@gmail.com>
3185
3186 * printing.el (pr-mode-alist):
3187 * simple.el (filter-buffer-substring-functions)
3188 (completion-list-insert-choice-function):
3189 * window.el (window-with-parameter, window-atom-root)
3190 (window-sides-slots, window-size-fixed, window-min-delta)
3191 (window-max-delta, window--resize-mini-window)
3192 (window--resize-child-windows-normal, window-tree)
3193 (delete-other-windows, quit-window, split-window)
3194 (display-buffer-record-window, special-display-buffer-names)
3195 (special-display-regexps, special-display-popup-frame)
3196 (same-window-p, split-window-sensibly)
3197 (display-buffer-overriding-action, display-buffer-alist)
3198 (display-buffer-base-action, display-buffer, switch-to-buffer)
3199 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3200 (fit-window-to-buffer, recenter-positions)
3201 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3202 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3203 and remove unneeded backslashes in docstrings.
3204
39c9faef
SM
32052011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3206
98449af8
SM
3207 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3208
39c9faef
SM
3209 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3210 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3211 end in ".mk".
3212 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3213 when reading the makefile (bug#10116).
3214
86ed9fdc
SM
32152011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3218 (bug#10116).
3219
5580f89d
GM
32202011-12-06 Glenn Morris <rgm@gnu.org>
3221
3222 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3223
28d3917c
CY
32242011-12-06 Chong Yidong <cyd@gnu.org>
3225
3226 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3227
a98edce9
JB
32282011-12-06 Juanma Barranquero <lekktu@gmail.com>
3229
3230 * textmodes/table.el (table-shorten-cell): Fix typo.
3231
e65adfac
CG
32322011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3233
3234 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3235
71cc0b74
EZ
32362011-12-05 Eli Zaretskii <eliz@gnu.org>
3237
3238 * descr-text.el (describe-char): Fix display of strong
3239 right-to-left characters and directional embeddings and overrides.
3240
3241 * simple.el (what-cursor-position): Fix display of codepoints of
3242 strong right-to-left characters.
3243
315bc30d
CY
32442011-12-05 Chong Yidong <cyd@gnu.org>
3245
3246 * faces.el (read-color): Doc fix.
3247
58a70b94
GM
32482011-12-05 Glenn Morris <rgm@gnu.org>
3249
3250 * align.el (align--set-marker): Add doc-string.
3251 Don't try to move something that is not a marker. (Bug#10216)
3252
5158face
GM
32532011-12-04 Glenn Morris <rgm@gnu.org>
3254
3255 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3256 overly zealous deletion of trailing whitespace.
3257
520fca41
JB
32582011-12-04 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * server.el (server-delete-client): On Windows, do not try to delete
3261 the only terminal.
3262 (server-process-filter): On Windows, treat requests for a tty frame as
3263 if they were for a GUI frame if the running server is in GUI mode.
3264
5e605a2e
GM
32652011-12-03 Glenn Morris <rgm@gnu.org>
3266
3267 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3268
5c3fe83f
SM
32692011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3270
6f5e57e7
SM
3271 * electric.el: Streamline electric-indent's hook.
3272 (electric-indent-chars): Revert to simple list.
3273 (electric-indent-functions): New var.
3274 (electric-indent-post-self-insert-function): Use it.
3275
5c3fe83f
SM
3276 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3277 there's no inferior buffer (bug#10196).
3278 (prolog-consult-compile): Don't use toggle-read-only.
3279
6bdac736
MA
32802011-12-02 Michael Albinus <michael.albinus@gmx.de>
3281
3282 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3283 interrupt. (Bug#10187)
3284
6131ba7f
SM
32852011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3286
99c79fee
SM
3287 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3288 (bug#9160).
3289
6131ba7f
SM
3290 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3291 (bug#10191).
3292
cb0a02ea
JL
32932011-12-02 Juri Linkov <juri@jurta.org>
3294
3295 * info.el (Info-search): Display "end of manual" when Isearch
3296 reaches the end of single-file Info manual. (Bug#9918)
3297
66e0570c
EZ
32982011-12-02 Eli Zaretskii <eliz@gnu.org>
3299
3300 * isearch.el (isearch-message-prefix): Run the input method part
3301 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3302
02b16839
JL
33032011-12-02 Juri Linkov <juri@jurta.org>
3304
3305 * isearch.el (isearch-occur): Use `word-search-regexp' for
3306 `isearch-word'.
3307 (isearch-search-and-update): Add condition for `isearch-word' and
3308 call `word-search-regexp'. (Bug#10145)
3309
0b950688
GM
33102011-12-01 Glenn Morris <rgm@gnu.org>
3311
3312 * eshell/em-hist.el (eshell-hist-initialize):
3313 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3314 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3315
9505c3c7
SM
33162011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3319
1bbe96b2 33202011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3321
a1beca85
SM
3322 * progmodes/verilog-mode.el (verilog-pretty-expr):
3323 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3324 verilog, such as += *= and the like.
3325 (verilog-assignment-operator-re): Regular expression to find the
3326 assigment operator in a verilog assignment.
3327 (verilog-assignment-operation-re): Regular expression to find an
3328 assignment statement for pretty-expr.
3329 (verilog-in-attribute-p): Query returns true if point is in an
3330 attribute context; used to skip these for expression line up from
3331 pretty-expr.
3332 (verilog-in-parameter-p): Query returns true if point is in an
3333 parameter definition context; used to skip these for expression
3334 line up from pretty-expr.
3335 (verilog-in-parenthesis-p): Query returns true if point is in a
3336 parenthetical expression, specifically ( ) but not [ ] or { };
3337 used by pretty-expr.
3338 (verilog-just-one-space): If there is no space, don't add one.
3339 (verilog-get-lineup-indent-2): Specifically skip just attribute
3340 contexts for expression lineup, rather than skipping all
3341 parenthetical expressions.
3342 (verilog-calculate-indent): Fix comment, and fix indent.
3343 (verilog-do-indent): Indent declarations in lists (suggested by
3344 Joachim Lechner).
3345 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3346 skeleton items.
3347 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3348 by Alain Mellan).
3349
1bbe96b2 33502011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3351
3352 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3353 parameters with embedded comments. Reported by Ray Stevens.
3354 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3355 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3356 Reported by Tim Holt.
3357 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3358 instantiated by upper module causing wrong expansion until AUTOed a
3359 second time. Reported by K C Buckenmaier.
3360 (verilog-diff-auto): Fix showing .* as a difference when
3361 `verilog-auto-star-save' off. Reported by Dan Dever.
3362 (verilog-auto-reset, verilog-read-always-signals)
3363 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3364 temporary signals in reset list if
3365 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3366 style to each signal's assignment type, bug381.
3367 Reported by Thomas Esposito.
6288f0ca
WS
3368 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3369 (verilog-uvm-statement-re): Support UVM indentation and
3370 highlighting, with old OVM keywords only.
a1beca85 3371 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3372 Support AUTOTIEOFF creating non-wire data types.
3373 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3374 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3375 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3376 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3377 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3378 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3379 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3380 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3381 non-numeric vector width. Reported by Alex Reed.
3382 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3383 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3384 (verilog-auto-delete-trailing-whitespace):
3385 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3386 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3387 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3388 Fix verilog-scan-cache corruption when running user AUTO expansion
3389 hooks that call indentation routines.
3390 (verilog-simplify-range-expression): Fix typo ignoring lower case
3391 identifiers.
3392 (verilog-delete-auto): Fix delete-autos to also remove user created
3393 automatics, as long as they start with AUTO.
3394 (verilog-batch-diff-auto, verilog-diff-auto)
3395 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3396 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3397 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3398 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3399 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3400 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3401 is disabled and its cache will get corrupt, causing AUTOS not to
3402 expand. Instead use only -quick functions.
3403 (verilog-scan-region): Fix scanning over escaped quotes.
3404 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3405 (verilog-re-search-backward-quick)
3406 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3407 related functions now ignore strings, to fix misparsing of strings
3408 with magic comments embedded in them.
a1beca85
SM
3409 (verilog-read-auto-template):
3410 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3411 Reported by Brad Dobbie.
3412 (verilog-read-auto-template):
3413 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3414 Reported by Brad Dobbie.
6288f0ca
WS
3415 (verilog-auto-inst, verilog-auto-inst-param)
3416 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3417 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3418 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3419 debugging templates without merge conflicts, bug357.
3420 Reported by Brad Dobbie.
3421 (verilog-read-auto-template):
3422 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3423 Reported by Brad Dobbie.
3424 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3425 abbrevs so user won't be asked to save.
3426 (verilog-read-auto-lisp-present): Fix to start at beginning of
3427 buffer in case called outside of verilog-auto.
3428 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3429 to "X-2". Reported by Matthew Myers.
3430 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3431 all inputs from module templates. Reported by Leith Johnson.
3432 (verilog-module-inside-filename-p): Fix locating programs as with
3433 modules.
3434 (verilog-auto-inst-port): Fix vl-width expressions when using
3435 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3436 (verilog-decls-get-regs, verilog-decls-get-signals,
3437 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3438 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3439 verilog-read-decls): Combine reg and wire structures into one var
3440 structure to represent SystemVerilog concepts.
3441 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3442 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3443 (verilog-auto-wire-type, verilog-insert-definition):
3444 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3445 SystemVerilog "logic" keyword instead of "wire"/"reg".
3446 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3447 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3448 ifdef or generate if so there's not a driver conflict).
3449 Reported by Matthew Myers.
3450 (verilog-auto-declare-nettype, verilog-insert-definition):
3451 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3452 `default_nettype none. Reported by Julian Gorfajn.
3453 (verilog-read-always-signals-recurse, verilog-read-decls)
3454 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3455 malformed end statement, bug325. Reported by Joshua Wise and
3456 Andrew Drake.
3457 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3458 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3459 when expanding .* in interfaces, bug320.
3460 Reported by Pierre-David Pfister.
6288f0ca 3461 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3462 name and open parenthesis, bug317.
3463 Reported by Pierre-David Pfister.
6288f0ca
WS
3464 (verilog-simplify-range-expression): Fix simplification of
3465 multiplications inside AUTOWIRE connections, bug303.
3466 (verilog-auto-inst-port): Support parameter expansion in
3467 multidimensional arrays.
3468 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3469 after "assert property". Reported by Julian Gorfajn.
3470 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3471 with multiplication, bug303.
3472 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3473 Reported by Jan Frode Lonnum.
3474
1bbe96b2
GM
34752011-11-30 Juanma Barranquero <lekktu@gmail.com>
3476
3477 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3478 (hfy-shell-file-name, hfy-shell):
3479 * international/fontset.el (x-decompose-font-name): Fix typos.
3480
34812011-11-29 Ken Brown <kbrown@cornell.edu>
3482
3483 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3484 (gdb-version): Remove defvar.
3485 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3486 (gdb-gud-context-command, gdb-non-stop-handler)
3487 (gdb-current-context-command, gdb-stopped): Use it.
3488 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3489 (gdb-non-stop-handler): Don't enable pretty-printing here.
3490 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3491 non-stop mode. Use the following.
3492 (gdb-check-target-async): New defun.
3493 (gud-watch, gdb-stopped): Fix whitespace.
3494 (gdb-get-source-file): Don't try to display the source file if
3495 `gdb-main-file' is nil.
3496
34972011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * align.el: Try to generate fewer markers (bug#10047).
3500 (align--set-marker): New macro.
3501 (align-region): Use it.
3502
c935221f
SM
35032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3506
e70b5064
CY
35072011-11-29 Chong Yidong <cyd@gnu.org>
3508
3509 * indent.el (indent-for-tab-command, indent-according-to-mode):
3510 Doc fix.
3511 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3512
f3af92b7
MA
35132011-11-29 Michael Albinus <michael.albinus@gmx.de>
3514
3515 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3516 aware of remote file names. (Bug#10124)
3517
ed472be9
CY
35182011-11-29 Chong Yidong <cyd@gnu.org>
3519
3520 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3521
24510c22
SM
35222011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * files.el (find-file): Don't use force-same-window (bug#10144).
3525 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3526 use pop-to-buffer if the selected window can't be used.
3527 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3528
c60c3703
EZ
35292011-11-28 Eli Zaretskii <eliz@gnu.org>
3530
3531 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3532 special-mode-map.
3533
e95def75
CY
35342011-11-28 Chong Yidong <cyd@gnu.org>
3535
3536 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3537
c3f1c606
NR
35382011-11-27 Nick Roberts <nickrob@snap.net.nz>
3539
3540 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3541 gdb-get-source-file-list on gdb-create-source-file-list.
3542
00db469c
EZ
35432011-11-26 Eli Zaretskii <eliz@gnu.org>
3544
3545 * whitespace.el (whitespace-newline): Use a different foreground
3546 color for 16-color light-background displays.
3547
4ad3bc2a
CY
35482011-11-24 Chong Yidong <cyd@gnu.org>
3549
3550 * window.el (display-buffer--special-action): Doc fix.
3551
e9fce1ac
JB
35522011-11-25 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3555 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3556 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3557 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3558 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3559 (avl-tree-stack-first):
3560 * emacs-lisp/cconv.el (cconv--analyse-use):
3561 * net/gnutls.el (gnutls-negotiate): Fix typos.
3562
cb825e5d
GM
35632011-11-24 Glenn Morris <rgm@gnu.org>
3564
3adbe224
GM
3565 * lpr.el (lpr-windows-system, lpr-lp-system):
3566 * mail/binhex.el (binhex-begin-line):
3567 * progmodes/grep.el (grep-history, grep-find-history):
3568 * textmodes/flyspell.el:
3569 * vc/pcvs-defs.el (cvs-global-menu):
3570 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3571 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3572 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3573
321decc8
GM
3574 * net/tls.el: Fix case of "GnuTLS".
3575
420b63ad
GM
3576 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3577
cb825e5d
GM
3578 * version.el (emacs-build-system): Give it a doc-string.
3579
a0649f08
JL
35802011-11-24 Juri Linkov <juri@jurta.org>
3581
3582 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3583
c0bc0fd4
GM
35842011-11-24 Glenn Morris <rgm@gnu.org>
3585
3586 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3587 if called on a non-mime message just toggle the headers. (Bug#8006)
3588
20db1522
JB
35892011-11-24 Juanma Barranquero <lekktu@gmail.com>
3590
3591 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3592 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3593 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3594 (allout-rebullet-heading, allout-open-sibtopic)
3595 (allout-toggle-current-subtree-encryption)
3596 (allout-toggle-subtree-encryption, allout-encrypt-string)
3597 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3598 (allout-distinctive-bullets-string, allout-auto-activation):
3599 * window.el (window-normalize-buffer-to-display):
3600 * progmodes/verilog-mode.el (verilog-batch-indent):
3601 * textmodes/bibtex.el (bibtex-field-braces-opt)
3602 (bibtex-field-strings-opt):
3603 * vc/cvs-status.el (cvs-tree-merge):
3604 Fix typos.
3605
7262a87c
MA
36062011-11-23 Michael Albinus <michael.albinus@gmx.de>
3607
3608 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3609 `non-essential' to t, in order to avoid remote connections.
3610
283430a1
EZ
36112011-11-23 Eli Zaretskii <eliz@gnu.org>
3612
a1beca85
SM
3613 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3614 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3615 case-insensitively.
3616
d2992a38
ML
36172011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3618
3619 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3620
50419064
GM
36212011-11-23 Glenn Morris <rgm@gnu.org>
3622
da94eca1
GM
3623 * paths.el (rmail-file-name): Reformat the doc-string so that it
3624 is picked up.
3625
9aac4de2
GM
3626 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3627 (rmail-auto-file): Ignore case in the "special" field names,
3628 as mail-fetch-field does for all others.
3629
8038d2d2
GM
3630 * mail/rmail.el (rmail-forward):
3631 * mail/rmailkwd.el (rmail-set-label):
3632 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3633 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3634
f3fe222a
GM
3635 * mail/rmail.el (rmail-current-message): Doc fix.
3636
50419064
GM
3637 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3638
28109f49
SM
36392011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3642
394c65f1
GM
36432011-11-22 Glenn Morris <rgm@gnu.org>
3644
3645 * mail/rmailmm.el (test-rmail-mime-handler)
3646 (test-rmail-mime-bulk-handler)
3647 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3648
f2a0aa3a
JL
36492011-11-21 Juri Linkov <juri@jurta.org>
3650
1154d12e
JB
3651 * calc/calc.el (calc-read-key-sequence):
3652 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3653
9c34a344
LMI
36542011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3655
3656 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3657 Tell the caller that the next line needs recomputation, even
3658 though it doesn't start a sexp (bug#10094).
3659
f04a3be9
SM
36602011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3663
7978747f
SM
36642011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3665
f04a3be9
SM
3666 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3667 Use force-same-window.
7978747f 3668
fe7a3057
JB
36692011-11-20 Juanma Barranquero <lekktu@gmail.com>
3670
3671 * descr-text.el (describe-char-unicode-data):
3672 * json.el (json-string-escape):
3673 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3674 (Footnote-unicode, Footnote-style-p):
3675 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3676
24901d61
CY
36772011-11-20 Chong Yidong <cyd@gnu.org>
3678
3679 * window.el (replace-buffer-in-windows): Restore interactive spec.
3680
bac7ff22
SM
36812011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3682
24f3d7b9
SM
3683 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3684
bac7ff22
SM
3685 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3686 (byte-compile-global-not-obsolete-vars): New var.
3687 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3688 Use it.
3689 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3690
cd1181db
JB
36912011-11-20 Juanma Barranquero <lekktu@gmail.com>
3692
3693 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3694 * progmodes/pascal.el (electric-pascal-equal):
3695 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3696 * xml.el (xml-substitute-special): Fix typos.
3697
7fb18e9e
GM
36982011-11-20 Glenn Morris <rgm@gnu.org>
3699
3700 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3701 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3702 Doc fixes.
3703 (rmail-decode-mime-charset): Mark as obsolete.
3704
3705 * mail/rmailsum.el (rmail-message-regexp-p-1):
3706 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3707 Before using mime functions, check they are set. (Bug#10077)
3708
d5a6b3ba
JL
37092011-11-19 Juri Linkov <juri@jurta.org>
3710
3711 * info.el (Info-finder-find-node): Use `package--builtins' instead
3712 of `package-alist'. Use node names formed by the pattern "Keyword "
3713 and the keyword name.
3714
e981b61f
AS
37152011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3716
1d00653d 3717 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3718
3ffbc301
JL
37192011-11-19 Juri Linkov <juri@jurta.org>
3720
3721 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3722 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3723 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3724 `old-history', `old-history-forward'. Add let-binding
3725 `window-selected'. Remove calls to `kill-buffer',
3726 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3727 before calling `Info-find-node', so `Info-find-node-2' will reread
3728 the Info file. Restore window positions only when `window-selected'
3729 is non-nil.
3730
30c62133
JL
37312011-11-19 Juri Linkov <juri@jurta.org>
3732
3733 * isearch.el (isearch-lazy-highlight-new-loop):
3734 Remove condition `(not isearch-error)'. (Bug#9918)
3735
3736 * misearch.el (multi-isearch-search-fun): Add condition
3737 `(not bound)' to ignore lazy-highlighting search.
3738 Add the search-failed message "end of multi" when the end of
3739 multi-sequence is reached. Uncapitalize the search-failed
3740 message "Repeat for next buffer".
3741
3742 * info.el (Info-search): Add the search-failed message
3743 "end of the manual" when the end of the manual is reached
3744 in Isearch mode.
3745
645ca9cf
JL
37462011-11-19 Juri Linkov <juri@jurta.org>
3747
3748 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3749 Use non-destructive `remove' instead of `delete' because
3750 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3751 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3752
df754f66
JL
37532011-11-19 Juri Linkov <juri@jurta.org>
3754
3755 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3756 to nil instead of binding `search-ring' and `regexp-search-ring'.
3757 (Bug#9185)
3758
0e23d96a
EZ
37592011-11-19 Eli Zaretskii <eliz@gnu.org>
3760
3761 * simple.el (line-move): Force movement by logical lines for any
3762 hscrolled window, not only when auto-hscroll-mode is on.
3763 (line-move-visual): Update doc string to that effect. (Bug#10076)
3764
8a6ccb66
AS
37652011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3766
3767 * language/european.el (macintosh): Define as alias for mac-roman.
3768
49ae5b39
EZ
37692011-11-19 Eli Zaretskii <eliz@gnu.org>
3770
3771 * mail/rmailmm.el (rmail-mime-display-header)
3772 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3773 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3774 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3775 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3776 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3777 of a raw aref.
3778 (rmail-mime-entity-segment): To get past the tagline, move forward
3779 2 more lines, to account for the 2 empty lines that precede and
3780 follow the line with the buttons.
3781 (rmail-mime-update-tagline): Move one more line, to get past the
3782 empty line that follows the buttons in the tagline. (Bug#9520)
3783
c56cad4a
MR
37842011-11-19 Martin Rudalics <rudalics@gmx.at>
3785
3786 * window.el (window-max-delta-1, window-min-delta-1)
3787 (window-min-size-1, window-state-get-1, window-state-put-1)
3788 (window-state-put-2): Use "window--" prefix.
3789
cbe71af3
SM
37902011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3791
2ad52c60
SM
3792 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3793 (smie-warning-count): New var.
3794 (smie-set-prec2tab): Use it.
3795 (smie-bnf->prec2): Improve warnings. Add docstring.
3796 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3797 (smie-bnf--set-class): New function.
3798 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3799 corner case.
3800
6944dbc1
SM
3801 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3802 (compilation-error-properties, compilation-move-to-column):
3803 Handle compilation-first-column while in the target buffer.
3804
c400c4d7
SM
3805 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3806 Don't hardcode point-min==1.
3807
6dbe3e96
SM
3808 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3809 (eshell-rewrite-for-command): Remove workaround.
3810 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3811 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3812 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3813
cbe71af3
SM
3814 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3815
a8e1496d
GM
38162011-11-17 Glenn Morris <rgm@gnu.org>
3817
3818 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3819 Ignore buffer-local generated-autoload-file if it is the same
3820 as the global value. (Bug#10049)
3821
df85d315
JB
38222011-11-17 Juanma Barranquero <lekktu@gmail.com>
3823
3824 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3825 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3826 (reftex-toc-previous-heading, reftex-toc-max-level)
3827 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3828 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3829 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3830 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3831 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3832 (reftex-toc-rename-label, reftex-toc-visit-location)
3833 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3834 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3835 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3836 leaving "*toc*" only for references to the buffer.
3837
a0c2d0ae
MR
38382011-11-17 Martin Rudalics <rudalics@gmx.at>
3839
3840 * window.el (window-resize, delete-window, split-window):
3841 Replace window-splits by window-combination-resize.
1d00653d 3842 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3843
35c0bac8
GM
38442011-11-17 Glenn Morris <rgm@gnu.org>
3845
3846 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3847 Make bash entry derive from sh entry, not shell entry.
3848
d0c8fc8a
MA
38492011-11-16 Michael Albinus <michael.albinus@gmx.de>
3850
d0c8fc8a
MA
3851 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3852 properties of linked files. (Bug#9879)
3853
7262a87c
MA
3854 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3855 local file name.
3856
7877f373
JB
38572011-11-16 Juanma Barranquero <lekktu@gmail.com>
3858
3859 * menu-bar.el (menu-bar-file-menu):
3860 * printing.el (pr-ps-utility):
3861 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3862 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3863 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3864 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3865 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3866 (icalendar--convert-cyclic-to-ical)
3867 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3868 (icalendar--convert-ical-to-diary)
3869 (icalendar--convert-recurring-to-diary)
3870 (icalendar--convert-non-recurring-all-day-to-diary)
3871 (icalendar-import-format-sample):
3872 * progmodes/idlw-shell.el (idlwave-shell-mode):
3873 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3874 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3875 (vhdl-ps-print-init): Fix typos.
3876
10649b82
KM
38772011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3878
9d0cfcd6
GM
3879 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3880 FSF and collapse date sequence, obscure author/maintainer email address
3881 better, remove extra version line, track relocation of author's webpage.
10649b82 3882
9d0cfcd6
GM
3883 * progmodes/python.el (python-pdbtrack-input-prompt)
3884 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3885 regular python pdb prompts. Adjustments shamelessly taken exactly as
3886 suggested in EmacsWiki page (tiny change):
3887 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3888
58179cce
JB
38892011-11-16 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * expand.el (expand-pos, expand-index, expand-point):
3892 Remove redundant info from docstring.
3893 (expand-add-abbrevs): Doc fix.
3894 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3895 (expand-sample-perl-mode-expand-list): Fix typos.
3896
3897 * net/dbus.el (dbus-event-member-name):
3898 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3899 * term/pc-win.el (msdos-create-frame-with-faces):
3900 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3901
b6f67890
MR
39022011-11-16 Martin Rudalics <rudalics@gmx.at>
3903
3904 * window.el (split-window, window-state-get-1)
3905 (window-state-put-1, window-state-put-2): Rename occurrences of
3906 window-nest to window-combination-limit.
1d00653d 3907 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3908
ce7ddba0
CY
39092011-11-16 Chong Yidong <cyd@gnu.org>
3910
3911 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3912 regexp (Bug#10033).
3913
3ae704f4
SM
39142011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3917 `completing-read' will remove *Completions* and will preserve
3918 current-buffer for us.
3919 (tmm-add-prompt): Users of *Completions* will always (re)set its
3920 major mode.
3921 (tmm-old-comp-map): Remove.
3922
6ad1cdde
GM
39232011-11-16 Glenn Morris <rgm@gnu.org>
3924
3925 * mail/rmailedit.el: Require rmailmm when compiling.
3926 (rmail-old-mime-state): New declaration.
3927 (rmail-edit-current-message): If editing a mime message,
3928 edit the "raw" message from the mbox buffer.
3929 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3930
d20faa20
GM
39312011-11-15 Glenn Morris <rgm@gnu.org>
3932
3933 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3934 which wasn't being used. Add optional arg to force given state.
3935 (rmail-mime): Add optional arg to force given state.
3936
c7015153
JB
39372011-11-15 Juanma Barranquero <lekktu@gmail.com>
3938
3939 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3940 * frame.el (display-mm-dimensions-alist):
3941 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3942 (outline-move-subtree-down):
3943 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3944 (newsticker--treeview-do-get-node):
3945 * net/quickurl.el (quickurl-list-buffer-name):
3946 * progmodes/dcl-mode.el (dcl-mode):
3947 * progmodes/gdb-mi.el (gdb-mapcar*):
3948 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3949
45261b50
GM
39502011-11-15 Glenn Morris <rgm@gnu.org>
3951
3952 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3953 in a boolean sense, so just make it a boolean, and fix the doc.
3954 (rmail-show-mime-function, rmail-mime-feature)
3955 (rmail-require-mime-maybe): Doc fixes.
3956 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3957
3958 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3959
0d26e0b6
JB
39602011-11-15 Juanma Barranquero <lekktu@gmail.com>
3961
3962 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3963 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3964 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3965 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3966
447f30f6
GM
39672011-11-15 Glenn Morris <rgm@gnu.org>
3968
672b871d
GM
3969 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3970 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3971 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3972 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3973 (rmail-mime, rmail-show-mime): Doc fixes.
3974
f6aa5bb1
GM
3975 * term/ns-win.el (mode-line-frame-identification):
3976 Leave it alone. (Bug#10051)
3977
947cd66b
GM
3978 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3979
447f30f6
GM
3980 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3981 Handle empty buffers. (Bug#9978)
3982
0b381c7e
JB
39832011-11-14 Juanma Barranquero <lekktu@gmail.com>
3984
3985 * international/mule.el (define-charset):
3986 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3987 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3988 * progmodes/verilog-mode.el (verilog-backward-token):
3989 * textmodes/ispell.el (lookup-words):
3990 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3991
71e027ac
GM
39922011-11-14 Glenn Morris <rgm@gnu.org>
3993
56632ce4
GM
3994 * progmodes/executable.el
3995 (executable-make-buffer-file-executable-if-script-p):
3996 Handle file-modes returning nil.
3997
40500957
GM
3998 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3999 message - not necessary, and causes problems. (Bug#9831)
4000
071c2340
GM
4001 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4002
d3cfca60
GM
4003 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4004
71e027ac
GM
4005 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4006 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4007 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4008
89d61221
MR
40092011-11-12 Martin Rudalics <rudalics@gmx.at>
4010
4011 * window.el (window-resize, delete-window): Use window-splits
4012 variable instead of function.
4013 (window-state-get-1, window-state-put-2, window-state-put):
4014 Don't deal with windows' splits status.
4015
98282f6f
GM
40162011-11-12 Glenn Morris <rgm@gnu.org>
4017
4018 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4019 (apropos-documentation): Doc fixes.
4020
40a8bdf6
JB
40212011-11-11 Juanma Barranquero <lekktu@gmail.com>
4022
4023 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4024 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4025
65bd19ff
SM
40262011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * electric.el (electric-indent-post-self-insert-function): Make it
4029 possible for a char to only indent in some circumstances.
4030 (electric-indent-mode): Simplify.
4031
54f9154c
MR
40322011-11-11 Martin Rudalics <rudalics@gmx.at>
4033
4034 * window.el (windows-with-parameter): Remove unused function.
4035 (windows-at-side): Rename to window-at-side-list.
4036 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4037 (window-side-check, window-size-ignore, window-size-fixed-1)
4038 (window-in-direction-2): Prefix with "window--".
4039 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4040
68cbc58b
GM
40412011-11-11 Glenn Morris <rgm@gnu.org>
4042
4043 * subr.el (eval-after-load): If FILE is already loaded,
4044 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4045
b2621720
GM
40462011-11-10 Glenn Morris <rgm@gnu.org>
4047
9a4de110
GM
4048 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4049 Call svn via vc-svn-command rather than vc-do-command.
4050 (vc-svn-command): Add --non-interactive. (Bug#9993)
4051 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4052
b2621720
GM
4053 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4054 Add toggle-read-only. (Bug#7292)
4055 * files.el (toggle-read-only): Mention that it should only
4056 be used interactively. (Bug#10006)
4057
1dce7193
SM
40582011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4059
d9ac1a1e
SM
4060 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4061 Adjust regexp for OCaml warnings.
4062
0c325082
SM
4063 * electric.el (electric-pair-post-self-insert-function): Let user
4064 turn it off buffer-locally (bug#9932).
4065
90132c14
SM
4066 * progmodes/python.el (python-beginning-of-statement):
4067 Rewrite (bug#2703).
4068
1dce7193
SM
4069 * progmodes/compile.el: Better handle TABs (bug#9749).
4070 (compilation-internal-error-properties)
4071 (compilation-next-error-function): Obey the target buffer's
4072 compilation-error-screen-columns.
4073
c4e7c63a
JB
40742011-11-09 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * progmodes/meta-mode.el: Remove obsolete comments.
4077 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4078 Fix typos in docstrings.
4079
2cffd681
MR
40802011-11-09 Martin Rudalics <rudalics@gmx.at>
4081
4082 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4083 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4084 (window--resizable): New function. Make all callers of
4085 window-resizable call window--resizable instead.
4086 (window-resizable): Rewrite in terms of window--resizable.
4087
0edcba87
GM
40882011-11-08 Glenn Morris <rgm@gnu.org>
4089
4090 * progmodes/delphi.el (delphi-mode-syntax-table):
4091 Let define-derived-mode define a proper syntax table. (Bug#9994)
4092
4b0d61e3
SM
40932011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * window.el: Stay away from defsubst.
4096 (window-list-no-nils): Remove.
4097 (window-state-get-1, window-state-get): Use backquote instead.
4098
cd394be1 40992011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4100
4b0d61e3 4101 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4102 Fix incorrect use of default argument in `completing-read'.
4103
e1c2c6f2
MR
41042011-11-08 Martin Rudalics <rudalics@gmx.at>
4105
4106 * window.el (display-buffer-function, special-display-function):
4107 Mention display-buffer-record-window but do not mention
4108 help-setup parameter in doc-strings.
b3f4a882 4109 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4110
105216ed
CY
41112011-11-08 Chong Yidong <cyd@gnu.org>
4112
4113 * window.el (window-total-height, window-total-width): Doc fix.
4114 (window-body-size): Move from C.
4115 (window-body-height, window-body-width): Move to C.
4116
0a9f9ab5
SM
41172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * window.el: Make special-display like display-buffer-alist (bug#9532).
4120 (display-buffer--special-action): New function, morphed
4121 from display-buffer--special.
4122 (display-buffer): Use it to handle special-display-buffers at higher
4123 priority (just after display-buffer-alist).
4124 (display-buffer-fallback-action, display-buffer--other-frame-action)
4125 (pop-to-buffer-same-window): Remove display-buffer--special.
4126
a769dd15
GM
41272011-11-07 Glenn Morris <rgm@gnu.org>
4128
4129 * calendar/cal-menu.el (cal-menu-set-date-title):
4130 Do nothing if not in a calendar. (Bug#9976)
4131
05a61ee3
SM
41322011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 * files.el (find-file): Always use selected-window.
4135
be7f5545
MR
41362011-11-07 Martin Rudalics <rudalics@gmx.at>
4137
4138 * window.el (window-combinations): Make WINDOW argument
4139 mandatory. Rewrite doc-string.
4140 (walk-window-subtree, window-atom-check, window-min-delta)
4141 (window-max-delta, window--resize-this-window)
4142 (window--resize-root-window-vertically, window-tree)
4143 (balance-windows, window-state-put): Rewrite doc-strings as to
4144 not mention the term "subwindow".
4145 (window--resize-subwindows-skip-p): Rename to
4146 window--resize-child-windows-skip-p.
4147 (window--resize-subwindows-normal): Rename to
4148 window--resize-child-windows-normal.
4149 (window--resize-subwindows): Rename to
4150 window--resize-child-windows.
4151 (window-or-subwindow-p): Rename to window--in-subtree-p.
4152
3c6702ef
ML
41532011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4154
4155 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4156 Ensure that mbox format messages end in two newlines (Bug#9974).
4157
49745b39
CY
41582011-11-06 Chong Yidong <cyd@gnu.org>
4159
4160 * window.el (window-combination-p): Function deleted; its
4161 side-effect is not used in any existing code.
4162 (window-combinations, window-combined-p): Call window-*-child
4163 directly.
4164
24300f5f
CY
41652011-11-05 Chong Yidong <cyd@gnu.org>
4166
4167 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4168 (window-size-ignore, window-state-get): Callers changed.
4169 (window-normalize-window): Rename from window-normalize-any-window.
4170 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4171 (window-normalize-live-window): Delete.
447f16b8
CY
4172 (window-combination-p, window-combined-p, window-combinations)
4173 (walk-window-subtree, window-atom-root, window-min-size)
4174 (window-sizable, window-sizable-p, window-size-fixed-p)
4175 (window-min-delta, window-max-delta, window-resizable)
4176 (window-resizable-p, window-full-height-p, window-full-width-p)
4177 (window-current-scroll-bars, window-point-1, set-window-point-1)
4178 (window-at-side-p, window-in-direction, window-resize)
4179 (adjust-window-trailing-edge, maximize-window, minimize-window)
4180 (window-deletable-p, delete-window, delete-other-windows)
4181 (record-window-buffer, unrecord-window-buffer)
4182 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4183 (quit-window, split-window, window-state-put)
4184 (set-window-text-height, fit-window-to-buffer)
4185 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4186
89bd5ee1
EZ
41872011-11-04 Eli Zaretskii <eliz@gnu.org>
4188
53479029
EZ
4189 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4190 rfc2047-decode-string.
4191 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4192 warnings.
4193
89bd5ee1
EZ
4194 * window.el (window-body-height, window-body-width): Mention in
4195 the doc string that the return values are in frame's canonical
4196 units. (Bug#9949)
4197
bd17fdee
AM
41982011-11-03 Alan Mackenzie <acm@muc.de>
4199
4200 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4201 change in cc-engine.el.
4202
acc825c5
SM
42032011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4206
1885e5b8
MR
42072011-11-02 Martin Rudalics <rudalics@gmx.at>
4208
4209 * window.el (quit-window): Call unrecord-window-buffer after
4210 showing another buffer in the window. (Bug#9937)
acc825c5 4211 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4212
ebe06da9
JB
42132011-11-02 Juanma Barranquero <lekktu@gmail.com>
4214
4215 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4216 Accept status with more than 9 shelves. (Bug#9935)
4217 Reported by Colin D Bennett <colin@gibibit.com>.
4218
4ee88440
MR
42192011-11-01 Martin Rudalics <rudalics@gmx.at>
4220
4221 * help.el (with-help-window): Don't reference
4222 temp-buffer-show-specifiers in doc-string.
4223
08e1d82c
AS
42242011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4225
4226 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4227 menu-item.
4228
84bd6e9e
VJL
42292011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4230
4231 * whitespace.el: New version 13.2.2.
4232 (whitespace-newline-mode): Disable properly. Reported by Sarah
4233 <EmacsWiki>.
4234
dba0634a
UJ
42352011-10-30 Ulf Jasper <ulf.jasper@web.de>
4236
4237 * net/newst-treeview.el: Remove "Time-stamp".
4238 (newsticker--group-manage-orphan-feeds): Do not call
4239 newsticker--treeview-tree-update.
db22a3c2
JB
4240 (newsticker-treeview-update, newsticker-treeview):
4241 Call newsticker--treeview-tree-update if necessary.
dba0634a 4242
3d8daefe
MR
42432011-10-30 Martin Rudalics <rudalics@gmx.at>
4244
4245 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4246 (window-iso-combinations): Remove "iso-" infix.
4247 Suggested by Chong Yidong.
3d8daefe
MR
4248 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4249 (window-max-delta-1, window-resize, window--resize-siblings)
4250 (window--resize-this-window, adjust-window-trailing-edge)
4251 (split-window, balance-windows-1)
4252 (shrink-window-if-larger-than-buffer):
4253 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4254 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4255
1bc4c3ae
SM
42562011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4259 in place (bug#9907).
4260 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4261 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4262 (eshell-structure-basic-command, eshell-rewrite-while-command)
4263 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4264 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4265 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4266 (eshell-do-pipelines-synchronously, eshell-eval-command):
4267 Use backquotes and prefer setq to set.
4268 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4269 (eshell-macrop): Use functionp.
c1e2f5fa 4270 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4271
30b65d9c
CY
42722011-10-30 Chong Yidong <cyd@gnu.org>
4273
4274 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4275 instead of set-mark (Bug#9810).
4276
2d197ffb
CY
42772011-10-30 Chong Yidong <cyd@gnu.org>
4278
4279 * window.el (split-window-below, split-window-right): Rename from
4280 split-window-above-each-other and split-window-side-by-side
4281 respectively. All callers changed.
4282 (split-window-sensibly, split-window-sensibly): Use them.
4283 (split-window-keep-point): Doc fix.
4284
4285 * isearch.el: Add isearch-scroll property to split-window-below
4286 and split-window-right.
4287
4288 * follow.el (follow-mode):
4289 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4290 * progmodes/ada-xref.el (ada-gdb-application):
4291 * emulation/vip.el (vip-buffer-in-two-windows):
4292 * image-dired.el (image-dired-dired-with-window-configuration):
4293 * dired-x.el (dired-do-find-marked-files):
4294 * dired.el (dired-pop-to-buffer):
4295 * bs.el (bs--show-with-configuration):
4296 * vc/emerge.el (emerge-setup-windows):
4297 * textmodes/two-column.el (2C-two-columns):
4298 * textmodes/reftex-toc.el (reftex-toc):
4299 * progmodes/gdb-mi.el (gdb-setup-windows):
4300 * progmodes/fortran.el (fortran-window-create):
4301 * net/newst-treeview.el (newsticker--treeview-window-init):
4302 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4303 * emulation/tpu-edt.el (tpu-gold-map):
4304 * emulation/crisp.el (crisp-mode-map):
4305 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4306
38bb2ca8
CY
43072011-10-29 Chong Yidong <cyd@gnu.org>
4308
aa4de341
CY
4309 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4310
e1eb5385
CY
4311 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4312
5d2ece3c
CY
4313 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4314 forged Ispell output (Bug#7904).
4315
38bb2ca8
CY
4316 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4317
d0af9f77
SM
43182011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * doc-view.el: Avoid ugly errors about not finding nil.
4321 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4322 (doc-view-dvipdf-program, doc-view-unoconv-program)
4323 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4324 Avoid nil or absolute file name as default value.
4325 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4326
52bedd34
AM
43272011-10-28 Alan Mackenzie <acm@muc.de>
4328
db22a3c2 4329 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4330
7e43cfa5
AM
43312011-10-28 Alan Mackenzie <acm@muc.de>
4332
4333 Amend the handling of c-beginning/end-of-defun in nested declaration
4334 scopes.
4335
52bedd34
AM
4336 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4337 cc-langs.el. Change it to a defcustom.
7e43cfa5 4338
52bedd34
AM
4339 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4340 cc-vars.el.
7e43cfa5 4341
d0af9f77
SM
4342 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4343 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4344
52bedd34 4345 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4346 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4347 (c-widen-to-enclosing-decl-scope): New function.
4348 (c-while-widening-to-decl-block): New macro.
4349 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4350 outward for defun boundaries, and correspondingly change symbol
4351 `respect-enclosure' to `go-outward'.
4352 (c-declaration-limits): Change algorithm to report only the "innermost"
4353 defun's boundaries.
4354
1a2ce9ee
DD
43552011-10-28 Deniz Dogan <deniz@dogan.se>
4356
4357 * net/rcirc.el (rcirc-mode): Use hard newlines.
4358
bc97a826
AM
43592011-10-28 Alan Mackenzie <acm@muc.de>
4360
4361 Amend to indent and fontify macros "which include their own semicolon"
4362 correctly, using the "virtual semicolon" mechanism.
4363
52bedd34 4364 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4365
d0af9f77 4366 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4367 Recode to scan one line at a time rather than having \n and \r
58179cce 4368 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4369 (c-forward-label): Amend for virtual semicolons.
58179cce 4370 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4371
52bedd34
AM
4372 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4373 of the new C macros.
bc97a826 4374
52bedd34 4375 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4376 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4377 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4378 (c-opt-cpp-macro-define): Make into a full language variable.
4379 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4380 AWK Mode (including \n, \r) removed, no longer needed.
4381
d0af9f77
SM
4382 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4383 Invoke c-make-macro-with-semi-re.
bc97a826 4384
52bedd34
AM
4385 * progmodes/cc-vars.el (c-macro-with-semi-re):
4386 (c-macro-names-with-semicolon): New variables.
58179cce 4387 (c-make-macro-with-semi-re): New function.
bc97a826 4388
7a6c0941
SM
43892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * vc/log-edit.el: Fill empty field rather than adding new one.
4392 (log-edit-add-field): New function.
4393 (log-edit-insert-changelog): Use it.
4394
b0c4cdcf
ML
43952011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4396
4397 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4398
ee1f1da9
SM
43992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4402 (gdb--check-interpreter): New function.
4403 (gdb): Use it.
4404
51bc5f8b
GM
44052011-10-27 Glenn Morris <rgm@gnu.org>
4406
416a2c45
GM
4407 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4408 (least-positive-float, least-negative-float)
4409 (least-positive-normalized-float, least-negative-normalized-float)
4410 (float-epsilon, float-negative-epsilon):
4411 Remove unnecessary declarations.
4412
4413 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4414 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4415 (least-positive-float, least-negative-float)
4416 (least-positive-normalized-float, least-negative-normalized-float)
4417 (float-epsilon, float-negative-epsilon): Add doc-strings,
4418 based on those in cl.texi.
4419
51bc5f8b
GM
4420 * files.el (set-visited-file-name): If the major-mode changed,
4421 reload the local variables. (Bug#9796)
4422
15de15c6
CY
44232011-10-27 Chong Yidong <cyd@gnu.org>
4424
4425 * subr.el (change-major-mode-after-body-hook): New hook.
4426 (run-mode-hooks): Run it.
4427
ee1f1da9
SM
4428 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4429 Use change-major-mode-before-body-hook.
15de15c6
CY
4430
4431 * simple.el (fundamental-mode):
4432 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4433 change introducing fundamental-mode-hook.
4434
5430d399
JB
44352011-10-26 Juanma Barranquero <lekktu@gmail.com>
4436
acc825c5 4437 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4438
ad74a69e
MA
44392011-10-26 Michael Albinus <michael.albinus@gmx.de>
4440
4441 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4442 tramp.el explicitly. (Bug#7583)
ad74a69e 4443
71d4c2a5
SM
44442011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * progmodes/octave-mod.el:
4447 * progmodes/octave-inf.el: Update maintainer.
4448
b1f6fa26
CY
44492011-10-26 Chong Yidong <cyd@gnu.org>
4450
4451 * subr.el (with-wrapper-hook): Rewrite doc.
4452
3f04efd6
MA
44532011-10-25 Michael Albinus <michael.albinus@gmx.de>
4454
4455 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4456 filenames "/method:foo:". (Bug#9793)
3f04efd6 4457
410488d3
SM
44582011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4461 (bug#9865).
4462
c1ebb47e
GM
44632011-10-24 Glenn Morris <rgm@gnu.org>
4464
4465 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4466
7f5c46c7
MA
44672011-10-24 Michael Albinus <michael.albinus@gmx.de>
4468
4469 * notifications.el: Add the requirement of a running D-Bus session
4470 bus to the Commentary.
4471
db2440b6
JL
44722011-10-24 Juri Linkov <juri@jurta.org>
4473
4474 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4475 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4476 (Bug#9364)
4477
feecf435
JL
44782011-10-24 Juri Linkov <juri@jurta.org>
4479
4480 * info.el (Info-following-node-name-re): Add newline to the list
4481 of allowed characters for leading space. (Bug#9824)
4482
a3839de2
SM
44832011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4484
acc825c5
SM
4485 * progmodes/octave-inf.el (inferior-octave-mode-map):
4486 Fix C-c C-h binding.
a3839de2
SM
4487 * progmodes/octave-mod.el (octave-help): Remove.
4488
09388e76
MA
44892011-10-23 Michael Albinus <michael.albinus@gmx.de>
4490
4491 Sync with Tramp 2.2.3.
4492
4493 * net/tramp-cache.el (top): Pacify byte-compiler using
4494 `init-file-user' and `site-run-file'.
4495
4496 * net/trampver.el: Update release number.
4497
86c60681
CY
44982011-10-23 Chong Yidong <cyd@gnu.org>
4499
4500 * files.el (toggle-read-only): Remove obsolete comment about
4501 version control.
4502
4503 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4504 for toggle-read-only. Note that this hasn't called vc-next-action
4505 since 2008-05-02, though it wasn't documented at the time.
4506
a3839de2
SM
4507 * vc/ediff-init.el (ediff-toggle-read-only-function):
4508 Use toggle-read-only.
86c60681 4509
cd5495ff
AM
45102011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4511
4512 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4513 of c-parse-state.
4514
00b77525 4515 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4516 correct faulty logical expression.
cd5495ff
AM
4517 (c-parse-state-state, c-record-parse-state-state):
4518 (c-replay-parse-state-state): New defvar/defuns.
4519 (c-debug-parse-state): Use new functions.
4520
42ee24ed
MR
45212011-10-22 Martin Rudalics <rudalics@gmx.at>
4522
4523 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4524 last fix. Use window-in-direction correctly.
42ee24ed 4525
a7dee7e7
CY
45262011-10-21 Chong Yidong <cyd@gnu.org>
4527
4528 * progmodes/idlwave.el (idlwave-mode):
4529 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4530 require-final-newline; that's done in prog-mode.
4531 Suggested by Stefan Monnier.
a7dee7e7 4532
e07b9a6d
MR
45332011-10-21 Martin Rudalics <rudalics@gmx.at>
4534
4535 * mouse.el (mouse-drag-window-above)
4536 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4537 (mouse-drag-mode-line-1, mouse-drag-header-line)
4538 (mouse-drag-vertical-line-rightward-window): Remove.
4539 (mouse-drag-line): New function.
4540 (mouse-drag-mode-line, mouse-drag-header-line)
4541 (mouse-drag-vertical-line): Call mouse-drag-line.
4542 * window.el (window-at-side-p, windows-at-side): New functions.
4543
7e1361d9
UM
45442011-10-21 Ulrich Mueller <ulm@gentoo.org>
4545
4546 * tar-mode.el (tar-grind-file-mode):
4547 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4548
30fcaf3a
CY
45492011-10-21 Chong Yidong <cyd@gnu.org>
4550
4551 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4552 * progmodes/vera-mode.el (vera-mode):
4553 Use mode-require-final-newline.
30fcaf3a 4554
516eddb0
GM
45552011-10-20 Glenn Morris <rgm@gnu.org>
4556
db22a3c2 4557 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4558
10d5f513
CS
45592011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4560
4561 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4562
ac6c8639
CY
45632011-10-20 Chong Yidong <cyd@gnu.org>
4564
4565 * emulation/cua-base.el (cua-mode):
4566 * mail/footnote.el (footnote-mode):
4567 * mail/mailabbrev.el (mail-abbrevs-mode):
4568 * net/xesam.el (xesam-minor-mode):
4569 * progmodes/bug-reference.el (bug-reference-mode):
4570 * progmodes/cap-words.el (capitalized-words-mode):
4571 * progmodes/compile.el (compilation-minor-mode)
4572 (compilation-shell-minor-mode):
4573 * progmodes/gud.el (gud-tooltip-mode):
4574 * progmodes/hideif.el (hide-ifdef-mode):
4575 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4576 * progmodes/subword.el (subword-mode):
4577 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4578 * progmodes/which-func.el (which-function-mode):
4579 * term/tvi970.el (tvi970-set-keypad-mode):
4580 * term/vt100.el (vt100-wide-mode):
4581 * textmodes/flyspell.el (flyspell-mode):
4582 * textmodes/ispell.el (ispell-minor-mode):
4583 * textmodes/nroff-mode.el (nroff-electric-mode):
4584 * textmodes/paragraphs.el (use-hard-newlines):
4585 * textmodes/refill.el (refill-mode):
4586 * textmodes/reftex.el (reftex-mode):
4587 * textmodes/rst.el (rst-minor-mode):
4588 * textmodes/sgml-mode.el (html-autoview-mode)
4589 (sgml-electric-tag-pair-mode):
4590 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4591 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4592 * emulation/crisp.el (crisp-mode):
4593 * emacs-lisp/eldoc.el (eldoc-mode):
4594 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4595 minor mode behavior.
4596
aa42ab43
JL
45972011-10-19 Juri Linkov <juri@jurta.org>
4598
4599 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4600 the list of hard-coded chars with escape-glyph face.
4601
89400f1d
SM
46022011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4605
305c07f6
MA
46062011-10-19 Michael Albinus <michael.albinus@gmx.de>
4607
4608 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4609 running process.
4610
13754b54
GM
46112011-10-19 Glenn Morris <rgm@gnu.org>
4612
4613 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4614 Ignore ignored files. (Bug#9726)
4615
06e21633
CY
46162011-10-19 Chong Yidong <cyd@gnu.org>
4617
4618 Doc fix for minor modes, stating that an omitted argument enables
4619 the mode unconditionally when called from Lisp.
4620
4621 * abbrev.el (abbrev-mode):
4622 * allout.el (allout-mode):
4623 * autoinsert.el (auto-insert-mode):
4624 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4625 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4626 (global-auto-revert-mode):
4627 * battery.el (display-battery-mode):
4628 * composite.el (global-auto-composition-mode)
4629 (auto-composition-mode):
4630 * delsel.el (delete-selection-mode):
4631 * desktop.el (desktop-save-mode):
4632 * dired-x.el (dired-omit-mode):
4633 * dirtrack.el (dirtrack-mode):
4634 * doc-view.el (doc-view-minor-mode):
4635 * double.el (double-mode):
4636 * electric.el (electric-indent-mode, electric-pair-mode):
4637 * emacs-lock.el (emacs-lock-mode):
4638 * epa-hook.el (auto-encryption-mode):
4639 * follow.el (follow-mode):
4640 * font-core.el (font-lock-mode):
4641 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4642 * help.el (temp-buffer-resize-mode):
4643 * hilit-chg.el (highlight-changes-mode)
4644 (highlight-changes-visible-mode):
4645 * hi-lock.el (hi-lock-mode):
4646 * hl-line.el (hl-line-mode, global-hl-line-mode):
4647 * icomplete.el (icomplete-mode):
4648 * ido.el (ido-everywhere):
4649 * image-file.el (auto-image-file-mode):
4650 * image-mode.el (image-minor-mode):
4651 * iswitchb.el (iswitchb-mode):
4652 * jka-cmpr-hook.el (auto-compression-mode):
4653 * linum.el (linum-mode):
4654 * longlines.el (longlines-mode):
4655 * master.el (master-mode):
4656 * mb-depth.el (minibuffer-depth-indicate-mode):
4657 * menu-bar.el (menu-bar-mode):
4658 * minibuf-eldef.el (minibuffer-electric-default-mode):
4659 * mouse-sel.el (mouse-sel-mode):
4660 * msb.el (msb-mode):
4661 * mwheel.el (mouse-wheel-mode):
4662 * outline.el (outline-minor-mode):
4663 * paren.el (show-paren-mode):
4664 * recentf.el (recentf-mode):
4665 * reveal.el (reveal-mode, global-reveal-mode):
4666 * rfn-eshadow.el (file-name-shadow-mode):
4667 * ruler-mode.el (ruler-mode):
4668 * savehist.el (savehist-mode):
4669 * scroll-all.el (scroll-all-mode):
4670 * scroll-bar.el (scroll-bar-mode):
4671 * server.el (server-mode):
4672 * shell.el (shell-dirtrack-mode):
4673 * simple.el (auto-fill-mode, transient-mark-mode)
4674 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4675 (line-number-mode, column-number-mode, size-indication-mode)
4676 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4677 * strokes.el (strokes-mode):
4678 * time.el (display-time-mode):
4679 * t-mouse.el (gpm-mouse-mode):
4680 * tool-bar.el (tool-bar-mode):
4681 * tooltip.el (tooltip-mode):
4682 * type-break.el (type-break-mode-line-message-mode)
4683 (type-break-query-mode):
4684 * view.el (view-mode):
4685 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4686 (global-whitespace-mode, global-whitespace-newline-mode):
4687 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4688
a3839de2
SM
4689 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4690 Fix autogenerated docstring.
06e21633 4691
5214e501
JL
46922011-10-19 Juri Linkov <juri@jurta.org>
4693
4694 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4695 by checking environment variables "DESKTOP_SESSION" and
4696 "XDG_CURRENT_DESKTOP". (Bug#9779)
4697
195f8db9
JL
46982011-10-19 Juri Linkov <juri@jurta.org>
4699
4700 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4701 (browse-url-chromium-program, browse-url-chromium-arguments):
4702 New defcustoms.
4703 (browse-url-default-browser): Check for `browse-url-chromium' and
4704 call `browse-url-chromium-program'.
4705 (browse-url-chromium): New command. (Bug#9779)
4706
343a34ff
JB
47072011-10-18 Juanma Barranquero <lekktu@gmail.com>
4708
4709 * facemenu.el (list-colors-duplicates): On Windows, detect more
4710 duplicates by assuming that only colors matching "^System" are
4711 special "system colors". (Bug#9722)
4712
6978a151
SM
47132011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4716 to distinguish the author from the committer.
4717
6a80b297
MA
47182011-10-18 Michael Albinus <michael.albinus@gmx.de>
4719
4720 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4721
b31a5677
JK
47222011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4723
4724 * international/mule.el (sgml-html-meta-auto-coding-function):
4725 Add support for detecting encoding in HTML5 specified only as
4726 <meta charset="UTF-8">. Implementation just makes http-equiv and
4727 content-type parts from HTML4 encoding string optional. (Bug#9716)
4728
80c6d77f
GM
47292011-10-18 Glenn Morris <rgm@gnu.org>
4730
4731 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4732
08b0fee8
CY
47332011-10-18 Chong Yidong <cyd@gnu.org>
4734
4735 * faces.el (cursor): Doc fix.
4736
67e729a5
CY
47372011-10-17 Chong Yidong <cyd@gnu.org>
4738
4739 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4740
343a34ff 47412011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4742
4743 * dirtrack.el (dirtrack): Support shell buffers with path
4744 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4745
0bc06380
TZ
47462011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4747
4748 * json.el: Bump version to 1.3 and note change in History.
4749 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4750
8b79f3e0
SM
47512011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4752
5a7c536b
SM
4753 * comint.el (comint-insert-input, comint-send-input)
4754 (comint-get-old-input-default, comint-backward-matching-input)
4755 (comint-next-prompt): Use nil instead of `input' for field property of
4756 past user input (bug#114).
4757
96a8a0df
SM
4758 * minibuffer.el (completion--replace): Inherit surrounding properties
4759 (bug#114).
4760 (minibuffer-complete-and-exit): Use it.
4761
8b79f3e0
SM
4762 * comint.el (comint--table-subvert): Quote the all-completions output
4763 (bug#9160).
4764
b8f7ff0d
MR
47652011-10-17 Martin Rudalics <rudalics@gmx.at>
4766
8b79f3e0 4767 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4768
b8f7ff0d 4769 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4770 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4771 entries and separate them from frame entries.
4772
c235b555
GM
47732011-10-15 Glenn Morris <rgm@gnu.org>
4774
4775 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4776 Doc fixes.
4777
6bbfa6e1
CY
47782011-10-15 Chong Yidong <cyd@stupidchicken.com>
4779
8b79f3e0
SM
4780 * net/network-stream.el (network-stream-open-starttls):
4781 Improve detection of failure due to lack of TLS support.
ec5c990d 4782
6bbfa6e1
CY
4783 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4784 putting the input text in front and in bold.
4785
98488977
SM
47862011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4787
3d1337be
SM
4788 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4789
ee0b45e4
SM
4790 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4791 empty buffer.
4792
98488977
SM
4793 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4794 unread-command-events rather than pushing yet-another event.
4795
186f4720
EZ
47962011-10-14 Eli Zaretskii <eliz@gnu.org>
4797
4798 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4799 the explanation of the possible choices. Make the options passed
4800 to completing-read shorter.
4801
8b7a997c
AM
48022011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4803
4804 * textmodes/flyspell.el (flyspell-large-region): Make sure
4805 extended character mode is used if defined (Bug#1339).
4806
12587bbb
EZ
48072011-10-13 Eli Zaretskii <eliz@gnu.org>
4808
4809 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4810 character info for LRE, LRO, RLE, and RLO characters by appending
4811 an invisible PDF.
12587bbb 4812
bad41229
SM
48132011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4816 even in case of error; add debug spec; simplify data flow.
4817 (with-timeout-handler): Remove.
4818
28dbc92f
MA
48192011-10-12 Michael Albinus <michael.albinus@gmx.de>
4820
4821 Fix Bug#6019, Bug#9315.
4822
4823 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4824 complete `buffer-file-name', the local file name part could look
4825 remotely (for example on VMS).
4826
4827 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4828 `tramp-run-real-handler'.
4829 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4830 already quoted by '"'.
4831
4832 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4833 Let `file-name-handler-alist' be nil, the local file name part
4834 could look remotely (for example on VMS).
4835
e1b0b23a
SM
48362011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4839 from here...
4840 (flyspell-post-command-hook): ...to here.
4841
a120bde9
SM
48422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4845 if not needed.
4846 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4847 using completion. Protect against "slow" callers.
4848 Remove the "message hack".
4849
7ce7717b
JL
48502011-10-11 Juri Linkov <juri@jurta.org>
4851
4852 * isearch.el (isearch-lazy-highlight-word): New variable.
4853 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4854 Use it. (Bug#9727)
4855
c02ee9d6
GM
48562011-10-11 Glenn Morris <rgm@gnu.org>
4857
4858 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4859 like f90-previous-statement does.
4860
93e616fd 48612011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4862
1f190e73 4863 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4864 only in interactive use, to avoid error.
4865
af7b6078
SM
48662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * minibuffer.el (completion-file-name-table): Fix last change,
4869 i.e. ignore normal errors but not the other ones.
4870
0563dae9
MR
48712011-10-10 Martin Rudalics <rudalics@gmx.at>
4872
4873 * window.el (special-display-buffer-names)
4874 (special-display-regexps): Remove some remnants of earlier
4875 changes from doc-strings.
366ca7f3
MR
4876 (quit-windows-on): New function.
4877
4878 * vc/vc.el (vc-revert, vc-rollback):
4879 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4880 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4881 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4882
49677495
MR
48832011-10-09 Martin Rudalics <rudalics@gmx.at>
4884
4885 * window.el (frame-auto-hide-function): Add version tag.
4886 (Bug#9699)
4887
56f2d1e1
MA
48882011-10-09 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4891 condition.
4892
112a6592
LL
48932011-10-09 Leo Liu <sdl.web@gmail.com>
4894
4895 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4896 (Bug#9701)
4897
0812589b
GM
48982011-10-08 Glenn Morris <rgm@gnu.org>
4899
4900 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4901 before the first code statement zero indent. (Bug#9690)
4902
b2b0776e
CY
49032011-10-08 Chong Yidong <cyd@stupidchicken.com>
4904
4905 * simple.el (count-words-region): Always count in the region.
4906 Report the number of lines and characters too.
4907 (count-words): New command, which counts in the buffer if the
4908 region is inactive, as count-words-region used to.
4909 (count-words--message): New function. Handle plurals.
4910 (count-lines-region): Make it an alias for count-words-region.
4911
4912 * bindings.el (esc-map): Replace count-lines-region with
4913 count-words-region.
4914
c557cd6b
MR
49152011-10-08 Martin Rudalics <rudalics@gmx.at>
4916
4917 * window.el (window--delete): Delete dedicated frame
4918 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4919 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4920
61a57ef4 49212011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4922
3a7d293b 4923 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4924
c3833279
CY
49252011-10-07 Chong Yidong <cyd@stupidchicken.com>
4926
4927 * bindings.el ([M-left],[M-right]): Bind to left-word and
4928 right-word respectively.
4929
21ce8245
GM
49302011-10-07 Glenn Morris <rgm@gnu.org>
4931
4932 * cus-start.el (debug-on-quit): Fix custom type.
4933
6d823bb2
LMI
49342011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4935
0181e193
LMI
4936 * subr.el (define-key-after): Clarify that the function is not
4937 useful for non-menu keymaps.
4938
6d823bb2
LMI
4939 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4940
8e3459ce 49412011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4942
21ce8245 4943 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4944 in current minibuffer (Fix bug with recursive minibuffers).
4945
a1c2d21e
CY
49462011-10-06 Chong Yidong <cyd@stupidchicken.com>
4947
4948 * progmodes/gdb-mi.el (gdb): Doc fix.
4949
5a4cf282
MR
49502011-10-05 Martin Rudalics <rudalics@gmx.at>
4951
4952 * window.el (frame-auto-hide-function): New option replacing
4953 frame-auto-delete. Suggested by Stefan Monnier.
4954 (window--delete): Call frame-auto-hide-function instead of
4955 investigating frame-auto-delete.
c96111ea
MR
4956 (window-point-1, set-window-point-1): New functions.
4957 (window-in-direction, record-window-buffer, window-state-get-1)
4958 (display-buffer-record-window): Use window-point-1 instead of
4959 window-point.
4960 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4961
9854542e
SM
49622011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4965
8943cfb0
GM
49662011-10-05 Glenn Morris <rgm@gnu.org>
4967
4968 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4969 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4970
647ab967
LL
49712011-10-05 Leo Liu <sdl.web@gmail.com>
4972
4973 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4974 works with buffer object.
4975
3ddfbced
SM
49762011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * mpc.el (mpc-tool-bar-map): Add labels.
4979
bdfa5dd2
GM
49802011-10-04 Glenn Morris <rgm@gnu.org>
4981
4982 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4983
0e2070b5
MR
49842011-10-04 Martin Rudalics <rudalics@gmx.at>
4985
4986 * window.el (window--delete): New function.
4987 (frame-auto-delete): Resuscitate option.
4988 (bury-buffer, replace-buffer-in-windows)
4989 (quit-window): Rewrite using window--delete.
4990 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4991 Pass display-buffer-mark-dedicated to window--display-buffer-2
4992 (Bug#9639).
4993
3dc61a09
SM
49942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4995
915a9b64
SM
4996 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4997 returns a list (bug#9554). Add remote file name completion.
4998 * comint.el (comint--table-subvert): Curry and get quote&unquote
4999 functions as arguments.
5000 (comint--complete-file-name-data): Adjust call accordingly.
5001 * pcomplete.el (pcomplete--table-subvert): Remove.
5002 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5003
3dc61a09
SM
5004 * minibuffer.el (completion-table-case-fold): Use currying.
5005 (completion--styles-type, completion--cycling-threshold-type):
5006 New constants.
5007 (completion-styles, completion-category-overrides)
5008 (completion-cycle-threshold): Use them.
5009 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5010 completion-table-case-fold.
5011
8ea0a993
SB
50122011-10-03 Stephen Berman <stephen.berman@gmx.net>
5013
5014 * minibuffer.el (completion-category-overrides): Fix type of styles
5015 and add more user friendly tags (bug#9660).
5016
8c24b7f6
SM
50172011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5020 (mule-input-method-string): New widget.
5021 (default-input-method, language-info-custom-alist): Use it.
5022
428fe61a
SM
50232011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5024
32c1fffd
SM
5025 * pcomplete.el: Require comint.
5026 (pcomplete--common-suffix): Remove.
5027 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5028 (pcomplete--table-subvert): Sync with comint--table-subvert.
5029 (pcomplete--entries): Use comint-completion-file-name-table.
5030 * comint.el (comint-unquote-filename): Simplify.
5031 (comint-completion-file-name-table): New function (bug#9616).
5032 (comint--complete-file-name-data): Use it.
5033
428fe61a
SM
5034 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5035 (pcmpl-gnu-tar-buffer): Remove.
5036 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5037 around. Make sure pcomplete-suffix-list is only changed temporarily.
5038 Don't look inside the tar's file if it's too large.
428fe61a 5039
04c52e2f
CY
50402011-10-01 Chong Yidong <cyd@stupidchicken.com>
5041
ce3cefcc
CY
5042 * cus-edit.el (custom-mode-map):
5043 * epa.el (epa-key-list-mode-map):
5044 * man.el (Man-mode-map):
5045 * startup.el (splash-screen-keymap):
5046 * simple.el (special-mode-map): Use scroll-up-command and
5047 scroll-down-command.
5048
5049 * progmodes/idlw-help.el (idlwave-help-mode-map):
5050 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5051 * net/newst-plainview.el (newsticker-mode-map):
5052 * emulation/ws-mode.el (wordstar-mode-map):
5053 * emulation/vi.el (vi-com-map):
5054 * calc/calc-graph.el (calc-graph-show-dumb):
5055 * term/sun.el (terminal-init-sun):
5056 * term/ns-win.el (global-map):
5057 * progmodes/grep.el (grep-mode-map):
5058 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5059 * mail/rmail.el (rmail-mode-map):
5060 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5061
04c52e2f
CY
5062 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5063 custom-safe-themes as special.
5064
79adf8c8
JD
50652011-10-01 Julien Danjou <julien@danjou.info>
5066
5067 * notifications.el (notifications-notify): Fix docstring.
5068
63bd50d3
PS
50692011-10-01 Per Starbäck <per@starback.se>
5070
5071 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5072
199e4c7e
MR
50732011-09-30 Martin Rudalics <rudalics@gmx.at>
5074
5075 * startup.el (command-line-1): Fix last fix by inserting
5076 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5077 (Bug#9605) and (Bug#9636)
199e4c7e 5078
fe5f08dd
EZ
50792011-09-29 Eli Zaretskii <eliz@gnu.org>
5080
5081 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5082 window is hscrolled, move by logical lines. (Bug#9607)
5083 (line-move-visual): Update the doc string to the above effect.
5084
b5516bbd
MR
50852011-09-29 Martin Rudalics <rudalics@gmx.at>
5086
ccee00c0
MR
5087 * window.el (display-buffer-record-window): When WINDOW is the
5088 selected window use `point' instead of `window-point'. (Bug#9626)
5089
b5516bbd
MR
5090 * startup.el (command-line-1): Use insert-before-markers when
5091 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5092
b5516bbd
MR
5093 * help.el (help-window): Remove variable.
5094
52aa0014
GM
50952011-09-29 Glenn Morris <rgm@gnu.org>
5096
5097 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5098
df9a7357
JB
50992011-09-29 Juanma Barranquero <lekktu@gmail.com>
5100
5101 * descr-text.el (describe-char-categories): Accept category
5102 descriptions more than one line long.
5103
a8406c20
SM
51042011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5105
88d9610c
SM
5106 * simple.el (delete-trailing-whitespace): Fix last change.
5107
a5daf810
SM
5108 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5109 Don't confuse "y => 3" as the beginning of a `y' operation.
5110
a8406c20
SM
5111 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5112 object has more than 4 slots (bug#9613).
5113
a239d4e9
JB
51142011-09-28 Juanma Barranquero <lekktu@gmail.com>
5115
5116 * subr.el (with-output-to-temp-buffer):
5117 * net/quickurl.el (quickurl, quickurl-browse-url):
5118 Fix typos in docstrings.
5119
693fbdb6
EZ
51202011-09-27 Eli Zaretskii <eliz@gnu.org>
5121
5122 * minibuffer.el (completion-styles)
5123 (completion-category-overrides): Cross reference each other in doc
5124 strings.
5125
8b457e28
GM
51262011-09-27 Glenn Morris <rgm@gnu.org>
5127
5128 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5129 to split-string. (Bug#9606)
5130
85a16208
LMI
51312011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5132
5133 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5134 (bug#9615).
5135
502f9ebd
CY
51362011-09-27 Chong Yidong <cyd@stupidchicken.com>
5137
5138 * emacs-lisp/package.el (list-packages): Fix echo area message.
5139
7690bdea
LL
51402011-09-27 Leo Liu <sdl.web@gmail.com>
5141
5142 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5143
e2ee6f30
MA
51442011-09-25 Michael Albinus <michael.albinus@gmx.de>
5145
5146 * net/dbus.el (dbus-unregister-object): Don't release services for
5147 registered signals. (Bug#9581)
5148
f3f98342
TZ
51492011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5150
5151 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5152 function that picks between cfengine 2 and 3 support
5153 automatically. Update docs accordingly.
5154
dd7aa8dd
KH
51552011-09-22 Kenichi Handa <handa@m17n.org>
5156
5157 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5158 ZERO.
5159 (indian-itrans-v5-table-for-tamil): New variable.
5160 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5161
3f2b07f8
KM
51622011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5163
5164 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5165 that's true if the current command involved collapsing of text.
5166 It's reset to false at the beginning of the next command.
5167 (allout-post-command-business): Move the cursor to the beginning
5168 of entry if the cursor is hidden and collapsing activity just
5169 happened.
5170
371d6a61
CY
51712011-09-24 Chong Yidong <cyd@stupidchicken.com>
5172
5173 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5174 tracking (Bug#9541).
5175
2ac2721a
UJ
51762011-09-24 Ulf Jasper <ulf.jasper@web.de>
5177
5178 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5179 (newsticker-show-news): Automatically load html rendering package
5180 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5181 because w3m-fill-column is let-bound" and the error "Symbol's value
5182 as variable is void: w3m-fill-column".
2ac2721a 5183
fac7ae53
MA
51842011-09-24 Michael Albinus <michael.albinus@gmx.de>
5185
5186 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5187 Release services only if they are defined. (Bug#9581)
5188
e08b633b
RS
51892011-09-23 Richard Stallman <rms@gnu.org>
5190
e488d29c
RS
5191 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5192 distinguish start of paragraph from start of its text.
5193
19c38752
RS
5194 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5195
e08b633b
RS
5196 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5197 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5198 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5199
0a39f27e
AS
52002011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5201
5202 * international/mule-diag.el (mule-diag): Insert a newline after
5203 each fontset description.
5204
db4e950d
SM
52052011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * simple.el (delete-trailing-whitespace):
5208 Document last change; simplify.
5209
eca3f3ea
PW
52102011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5211
d68e189a
PW
5212 * simple.el (delete-trailing-whitespace): Also delete
5213 extra newlines at the end of the buffer.
5214
eca3f3ea
PW
5215 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5216 (picture-newline): Use forward-line so as to ignore fields.
5217
01c157cc
SM
52182011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * subr.el (with-wrapper-hook): Fix edebug spec.
5221
022de23e
LMI
52222011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5223
5224 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5225 (bug#4538).
5226
91683089
MA
52272011-09-23 Michael Albinus <michael.albinus@gmx.de>
5228
eca3f3ea
PW
5229 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5230 Fix nasty bug using wrong cached values.
91683089 5231
5bdd6fa4
AM
52322011-09-23 Alan Mackenzie <acm@muc.de>
5233
5234 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5235
97adfb97
CY
52362011-09-23 Chong Yidong <cyd@stupidchicken.com>
5237
5238 * window.el (pop-to-buffer): Ensure right window is selected if we
5239 chose another frame.
5240
d4ef2b50
EZ
52412011-09-22 Eli Zaretskii <eliz@gnu.org>
5242
5243 * simple.el (what-cursor-position): Use get-char-property-change
5244 and next-single-char-property-change, to be able to show display
5245 properties that come from overlays as well as text properties.
5246
72258fe5
CY
52472011-09-22 Chong Yidong <cyd@stupidchicken.com>
5248
5249 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5250
5251 * cmuscheme.el (run-scheme, switch-to-scheme):
5252 * cus-edit.el (customize-group, custom-buffer-create)
5253 (customize-browse):
5254 * info.el (info):
5255 * shell.el (shell):
5256 * mail/sendmail.el (mail):
5257 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5258
8f098516
RS
52592011-09-22 Richard Stallman <rms@gnu.org>
5260
5261 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5262 move back only to line beg, don't move back over blank lines.
5263
e74f1bb6
MA
52642011-09-22 Michael Albinus <michael.albinus@gmx.de>
5265
5266 * files.el (copy-directory): Set directory attributes only in case
5267 they could be retrieved from the source directory. (Bug#9565)
5268
bfeef8b6
DK
52692011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5270
5271 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5272 (hs-find-block-beginning, hs-hide-level-recursive):
5273 Ignore strings as well as comments. (Bug#9502)
5274
7e423bb8
AS
52752011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5276
5277 * progmodes/sql.el (sql-comint-postgres):
5278 Convert port number to a string. (Bug#9566)
5279
b4d72fcf
MR
52802011-09-22 Martin Rudalics <rudalics@gmx.at>
5281
5282 * window.el (quit-window): Undedicate window when switching to
5283 previous buffer. Reported by Thierry Volpiatto
5284 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5285 (special-display-popup-frame): When popping up a new frame reset
5286 its previous buffers to nil. Simplify code.
b4d72fcf 5287
a7b88dc6
MA
52882011-09-21 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5291 and process filter, as done also in `shell-command'.
5292
cf4eacfd
MR
52932011-09-21 Martin Rudalics <rudalics@gmx.at>
5294
eca3f3ea 5295 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5296 Call set-window-start with NOFORCE argument t.
5297 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5298 (quit-window): Reword doc-string. Handle new format of
5299 quit-restore parameter. Don't delete window if it has a
5300 previous buffer we can show instead of the present one.
5301 (display-buffer-record-window): Rewrite using a new format for
5302 the quit-restore window parameter
5303 (special-display-popup-frame, display-buffer-same-window)
5304 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5305 (display-buffer-pop-up-window, display-buffer-use-some-window):
5306 Adapt symbol passed to display-buffer-record-window.
5307 * help.el (help-window-setup): Handle new format of quit-restore
5308 parameter.
5309
8d28cb95
SM
53102011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5311
94ab793f
SM
5312 * faces.el (face-list): Fix docstring (bug#9564).
5313
8d28cb95
SM
5314 * window.el (display-buffer--action-function-custom-type):
5315 Don't include internal functions in the Custom interface.
5316
3820edeb
JL
53172011-09-20 Juri Linkov <juri@jurta.org>
5318
5319 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5320 (Info-forward-node, Info-backward-node, Info-next-preorder)
5321 (Info-last-preorder): Use it. (Bug#9528)
5322
5147931d
JL
53232011-09-20 Juri Linkov <juri@jurta.org>
5324
5325 * info.el (Info-last-preorder): Visit last menu item only when
5326 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5327
cf499a1a
JD
53282011-09-20 Julien Danjou <julien@danjou.info>
5329
5330 * password-cache.el (password-cache-remove): Remove entries even if the
5331 value is nil, so that password with a nil value (negative caching) is
5332 possible to invalidate.
5333
f84e2fe2
LM
53342011-09-20 Lawrence Mitchell <wence@gmx.li>
5335
5336 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5337 all whitespace around breakpoint. (Bug#9553)
5338 (f90-find-breakpoint): Only break at whitespace inside a comment.
5339
78054a46
SM
53402011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * minibuffer.el (completion-file-name-table): Keep track of errors.
5343 (completion-table-with-predicate): Handle the case where pred1 is nil.
5344 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5345
345083b2
SM
53462011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5347
e24e27be
SM
5348 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5349 (debugger-return-value): Signal an error if the debugging context does
5350 not await any return value.
5351
345083b2
SM
5352 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5353 * image-mode.el (image-toggle-display-text)
5354 (image-toggle-display-image): Stay away from evil `intangible'.
5355
08d355e3
LL
53562011-09-19 Leo Liu <sdl.web@gmail.com>
5357
5358 * replace.el (occur-revert-arguments): Make it permanent-local.
5359 (occur-mode): Don't call font-lock-defontify.
5360
f01da43f
CY
53612011-09-19 Chong Yidong <cyd@stupidchicken.com>
5362
5363 * net/ldap.el (ldap-search-internal): Don't push empty search
5364 result (Bug#9508).
5365
b6072fa6
SM
53662011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5369
443d6696
MA
53702011-09-19 Michael Albinus <michael.albinus@gmx.de>
5371
5372 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5373 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5374
7cc6e154
JL
53752011-09-18 Juri Linkov <juri@jurta.org>
5376
5377 * buff-menu.el (Buffer-menu-mode-map):
5378 * dired.el (dired-mode-map):
5379 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5380 (lisp-interaction-mode-map):
5381 * emacs-lisp/package.el (package-menu-mode-map):
5382 * epa.el (epa-key-list-mode-map):
5383 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5384 (menu-bar-options-menu):
5385 * outline.el (outline-mode-menu-bar-map):
5386 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5387 * vc/vc-dir.el (vc-dir-menu-map):
5388 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5389 Capitalize non-function content words in menu item strings.
5390
5391 * dired.el (dired-mode-map): Add menu item for
5392 `image-dired-dired-toggle-marked-thumbs'.
5393
80302a81
JL
53942011-09-18 Juri Linkov <juri@jurta.org>
5395
5396 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5397 to `isearch-case-fold-search' and restore its original value
5398 after the `isearch-mode' call.
5399
46c5cf66
JL
54002011-09-18 Juri Linkov <juri@jurta.org>
5401
5402 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5403 because `zgrep' returns 1 for successful matches (bug#9226).
5404
d18b513b
JL
54052011-09-18 Juri Linkov <juri@jurta.org>
5406
5407 * info.el (Info-extract-menu-node-name): Check the second match
5408 for empty string (second test-case of bug#9528).
5409 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5410 intermediate nodes to the history (first test-case of bug#9528).
5411
72753f87
JL
54122011-09-18 Juri Linkov <juri@jurta.org>
5413
5414 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5415 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5416
c9384295
JL
54172011-09-18 Juri Linkov <juri@jurta.org>
5418
1154d12e
JB
5419 * info.el (Info-file-supports-index-cookies):
5420 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5421 outputs one more line for long file names (bug#4142).
c9384295 5422
d473dce8
CY
54232011-09-18 Chong Yidong <cyd@stupidchicken.com>
5424
5425 * newcomment.el (comment-normalize-vars): If prompting for
5426 comment-start, set comment-start-skip too (Bug#8424).
5427
2176854d
JB
54282011-09-18 Johan Bockgård <bojohan@gnu.org>
5429
5430 * icomplete.el: Fix previous fix of Bug#5849.
5431 (icomplete-mode): Don't set completion-show-inline-help.
5432 (icomplete-minibuffer-setup): Set completion-show-inline-help
5433 locally during icompletion.
5434
3aace4e4
CY
54352011-09-18 Chong Yidong <cyd@stupidchicken.com>
5436
c940224f
CY
5437 * woman.el (woman2-process-escapes): Don't delete unrecognized
5438 escapes (Bug#7843).
5439
3aace4e4
CY
5440 * files.el (inhibit-first-line-modes-regexps): Add image files.
5441 (hack-local-variables-prop-line): Return nil for malformed
5442 prop-lines (Bug#9044).
5443
710dec63
MA
54442011-09-18 Michael Albinus <michael.albinus@gmx.de>
5445
5446 * net/tramp.el (top): Don't require 'shell.
5447 (tramp-methods): Fix docstring.
5448 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5449 Return complete remote file name. Handle "smb" case.
5450 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5451 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5452
5453 * net/tramp-compat.el (top): Require 'shell.
5454
5455 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5456 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5457 `tramp-current-host'.
5458 (tramp-get-remote-tmpdir): Remove.
5459
5460 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5461 `tramp-tmpdir' entries.
5462 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5463 (tramp-smb-handle-file-attributes): Ignore errors.
5464 (tramp-smb-wait-for-output): Check also for process end.
5465
5d5ac8ec
LMI
54662011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5467
5468 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5469 when sending QUIT (bug#9312).
5470
8c0f49f0
CY
54712011-09-17 Chong Yidong <cyd@stupidchicken.com>
5472
5473 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5474 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5475 occur-mode-display-occurrence.
5476 (occur-edit-mode): Add usage message.
5477 (occur-cease-edit): New command.
5478 (occur-after-change-function): Use text properties to find the
5479 position of the prefix text.
5480 (occur-engine): Set stickiness of prefix text properties.
5481
8f1383f7
GM
54822011-09-17 Glenn Morris <rgm@gnu.org>
5483
5484 * progmodes/etags.el (complete-tag):
5485 Fix call to completion-in-region. (Bug#9526)
5486
744ba0e3
JL
54872011-09-17 Juri Linkov <juri@jurta.org>
5488
5489 * textmodes/ispell.el (ispell-word): Add to the error message
5490 the word, ispell program name and current dictionary (bug#9121).
5491 (ispell-tex-arg-end): Capitalize "error" in the error message.
5492
d9bbf400
AS
54932011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5494
5495 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5496 check. (Bug#4251)
5497
8da11505
JL
54982011-09-17 Juri Linkov <juri@jurta.org>
5499
5500 * window.el (window-safe-min-height, window-safe-min-width):
5501 Fix typos (followup to bug#9522).
5502
a91adc7e
SJ
55032011-09-17 Sven Joachim <svenjoac@gmx.de>
5504
5505 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5506
064f328a
EZ
55072011-09-16 Eli Zaretskii <eliz@gnu.org>
5508
5509 * simple.el (line-move): If goal-column is set, move by logical
5510 lines, not by display lines. (Bug#971)
5511 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5512 to reflect the above change.
5513
e69df516
SM
55142011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * image.el (imagemagick-register-types): Use regexp-opt.
5517
cbb0f9ab
CY
55182011-09-15 Chong Yidong <cyd@stupidchicken.com>
5519
5520 * window.el (display-buffer-base-action): Rename from
5521 display-buffer-default-action. Make default value empty.
5522 (display-buffer-overriding-action): Convert to defvar.
5523 (display-buffer-fallback-action): New var.
5524
25322144
CY
55252011-09-15 Chong Yidong <cyd@stupidchicken.com>
5526
5527 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5528 declaration.
5529 (package--add-to-archive-contents): If there is a duplicate entry
5530 with an older version, remove it.
5531 (package-menu-mark-delete, package-menu-mark-install)
5532 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5533 (package-menu-mark-obsolete-for-deletion):
5534 Use package-menu-get-status instead of a regexp search.
25322144
CY
5535 (package-menu-get-status): Use tabulated-list-entry.
5536 (package-menu-mark-upgrades): New command.
d770725a 5537 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5538 (package-menu-execute): Do installation before deletion.
5539 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5540 instead of checking major-mode.
5541 (package-menu--find-upgrades): New function.
5542
7520339c
LMI
55432011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5544
5545 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5546 passwords in the log buffer.
65a046c4
LMI
5547 (smtpmail-process-filter): Update the process marker so that the
5548 "broken by peer" status message is inserted in the right place.
7520339c 5549
d3c30954
SM
55502011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5551
3fe48822
SM
5552 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5553 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5554 bibtex-completion-at-point-function.
5555 (bibtex-completion-at-point-function): Use them.
5556
1b8b3954
SM
5557 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5558
d3c30954
SM
5559 * mpc.el (mpc-constraints-tag-lookup): New function.
5560 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5561 also to browser "album|playlist".
5562
72779976
JL
55632011-09-14 Juri Linkov <juri@jurta.org>
5564
5565 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5566 (isearch-edit-string): Use length of `isearch-string' when
5567 `isearch-fail-pos' returns nil.
5568 (isearch-message): Remove duplicate code and call
5569 `isearch-fail-pos' with arg `t'.
5570
a0bf2bcd
CY
55712011-09-14 Chong Yidong <cyd@stupidchicken.com>
5572
17bb0a2d
CY
5573 * replace.el (occur-mode-goto-occurrence): Don't force using other
5574 window (Bug#9499).
5575
a0bf2bcd
CY
5576 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5577
f678e0b6
MR
55782011-09-14 Martin Rudalics <rudalics@gmx.at>
5579
5580 * window.el (display-buffer-window): Remove.
5581 (display-buffer-record-window): Use help-setup window parameter
5582 instead of variable display-buffer-window.
5583 (display-buffer-function, special-display-buffer-names)
5584 (special-display-function): Mention help-setup parameter instead
5585 of display-buffer-window in doc-string.
d3c30954
SM
5586 * help.el (help-window-setup): New argument help-window.
5587 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5588 Reword some messages.
5589 (with-help-window): Pass window used for displaying the buffer
5590 to help-window-setup. Don't set display-buffer-window.
5591
8e39b2e8
GM
55922011-09-13 Glenn Morris <rgm@gnu.org>
5593
5594 * emacs-lisp/debug.el (debugger-make-xrefs):
5595 Preserve point. (Bug#9462)
5596
85e9c04b
CY
55972011-09-13 Chong Yidong <cyd@stupidchicken.com>
5598
5599 * window.el (window-deletable-p): Use next-frame.
5600
1b36ed6a
MR
56012011-09-13 Martin Rudalics <rudalics@gmx.at>
5602
5603 * window.el (window-auto-delete): Remove.
5604 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5605 dedication and previous buffers.
1b36ed6a
MR
5606 (switch-to-prev-buffer): Don't delete window.
5607 (delete-windows-on): Delete a window's frame if and only if the
5608 window is dedicated.
5609 (replace-buffer-in-windows): Delete buffer's window or frame if
5610 and only if window is dedicated.
5611 (quit-window): Handle quit-restore as before last change.
4d61f28d 5612 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5613
ef8ef9fb
CY
56142011-09-13 Chong Yidong <cyd@stupidchicken.com>
5615
5616 * window.el (window-deletable-p): Never delete the last frame on a
5617 given terminal.
5618
b2cba41e
GM
56192011-09-13 Glenn Morris <rgm@gnu.org>
5620
5621 * help.el (describe-key-briefly): Copy previous standard-output change.
5622
51553db6 56232011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5624
5625 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5626
b7556719
GM
56272011-09-13 Glenn Morris <rgm@gnu.org>
5628
5629 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5630 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5631
64b51947
CY
56322011-09-12 Chong Yidong <cyd@stupidchicken.com>
5633
5634 * dired-aux.el (dired-mark-read-string): Don't return default
5635 value on empty input (Bug#9361).
5636 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5637 Omit initial minibuffer contents.
5638 (dired-do-chmod): Signal an error on empty input.
5639 (dired-mark-read-string): Don't return default on empty input.
5640
5641 * files.el (file-modes-symbolic-to-number): Doc fix.
5642
393a301e
SM
56432011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * international/mule-cmds.el (ucs-completions): Remove.
5646 (read-char-by-name): Use complete-with-action instead; add metadata.
5647
fa5660f9
CY
56482011-09-11 Chong Yidong <cyd@stupidchicken.com>
5649
5650 * window.el (display-buffer--action-function-custom-type)
5651 (display-buffer--action-custom-type): New vars.
5652 (display-buffer-alist, display-buffer-default-action)
5653 (display-buffer-overriding-action): Add defcustom types.
5654
4a592f66
CY
5655 * frame.el (delete-other-frames): Doc fix (Bug#276).
5656
73d56dbd
LMI
56572011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5658
5659 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5660
37ac18a3
CY
56612011-09-11 Chong Yidong <cyd@stupidchicken.com>
5662
5663 Change modes that used same-window-* vars to use switch-to-buffer.
5664
5665 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5666 Use switch-to-buffer.
5667
5668 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5669 (customize-browse, custom-buffer-create-other-window):
5670 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5671
5672 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5673 (Info-prev, Info-up, Info-speedbar-goto-node)
5674 (info-display-manual): Use switch-to-buffer.
5675 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5676
5677 * mail/sendmail.el (mail): Use switch-to-buffer.
5678 (mail-recover): Use switch-to-buffer-other-window.
5679
5680 * cmuscheme.el (run-scheme, switch-to-scheme):
5681 * ielm.el (ielm):
5682 * shell.el (shell):
5683 * net/rlogin.el (rlogin):
5684 * net/telnet.el (telnet, rsh):
5685 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5686
10195bd6
AS
56872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5688
5689 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5690
b322f63a
LMI
56912011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5692
39d7fed6
LMI
5693 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5694 so don't mention it (bug#9301).
ba5a81f1 5695 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5696
ee0e9f11
LMI
5697 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5698 match `x', `w32' and `ns', like the manual says (bug#9029).
5699
0b1c89c1 5700 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5701 (process-kill-buffer-query-function): Mention the buffer name in
5702 the query.
0b1c89c1 5703
77549ea8
LMI
5704 * image-mode.el (image-next-line): The line parameter is mandatory
5705 (bug#9258).
5706
803ef892
LMI
5707 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5708 which can be useful (bug#9301).
5709
12980837
LMI
5710 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5711
91054f8f
LMI
5712 * subr.el (match-string): Mention that the current buffer should
5713 be the same as the search was done in (bug#9282).
5714
b322f63a
LMI
5715 * facemenu.el: Disable the remove-* commands if the mark isn't
5716 active (bug#9162).
5717
3199b96f
CY
57182011-09-10 Chong Yidong <cyd@stupidchicken.com>
5719
5720 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5721 of display-buffer.
5722 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5723
5724 * replace.el (occur-mode-goto-occurrence)
5725 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5726 and display-buffer.
5727
5728 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5729 display-buffer.
5730
5731 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5732 special-display and same-window variables.
5733 (mail-other-window): Use switch-to-buffer-other-window.
5734 (mail-other-frame): USe switch-to-buffer-other-frame.
5735
393a301e
SM
5736 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5737 Use display-buffer-other-frame.
3199b96f
CY
5738 (gdb-display-gdb-buffer): Use pop-to-buffer.
5739
5740 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5741
5742 * progmodes/python.el: Don't set same-window-buffer-names.
5743
5744 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5745
5746 * window.el (display-buffer-alist): Add *Python*.
5747
8319e0bf
CY
57482011-09-10 Chong Yidong <cyd@stupidchicken.com>
5749
5750 * window.el (display-buffer-alist): Add entry for buffers
5751 previously handled same-window-*.
5752 (display-buffer-alist, display-buffer-default-action)
5753 (display-buffer-overriding-action): Mark as risky.
5754 (display-buffer-alist): Document action function changes.
5755 (display-buffer--same-window-action)
5756 (display-buffer--other-frame-action): New variables.
5757 (switch-to-buffer, display-buffer-other-frame): Use them.
5758 (display-buffer): Rename reuse-frame entry to reusable-frames.
5759 (display-buffer-reuse-selected-window): Function deleted.
5760 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5761 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5762 (display-buffer-special): New function.
5763 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5764 display-buffer-reuse-or-pop-window. Split off special-display
5765 part into display-buffer-special.
5766 (display-buffer-use-some-window): Don't perform any special
5767 pop-up-frames handling.
5768 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5769 (display-buffer--maybe-same-window): Rename from
0d3ff375 5770 display-buffer-maybe-same-window.
8319e0bf 5771
919a69aa
CY
5772 * info.el: Don't set same-window-regexps.
5773 (info-setup): New function.
5774 (info-other-window, info): Call it.
5775
5776 * cus-edit.el: Don't set same-window-regexps.
5777 (customize-group): New argument.
5778 (customize-group-other-window): Use it.
5779 (customize-face, customize-face-other-window): Likewise.
5780 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5781
8319e0bf
CY
5782 * net/rlogin.el:
5783 * net/telnet.el:
5784 * progmodes/gud.el: Don't set same-window-regexps.
5785
5786 * cmuscheme.el:
5787 * ielm.el:
5788 * shell.el:
5789 * mail/sendmail.el:
5790 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5791
25173000
JL
57922011-09-10 Juri Linkov <juri@jurta.org>
5793
5794 * isearch.el (isearch-edit-string): Remove obsolete mention of
5795 `C-w' (`isearch-yank-word-or-char') from docstring.
5796 (isearch-query-replace): Fix typo in docstring (bug#9466).
5797
056e44ef
JL
57982011-09-10 Juri Linkov <juri@jurta.org>
5799
5800 * paren.el (show-paren-function): Don't show escaped parens.
5801 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5802
c3760c17
EZ
58032011-09-10 Eli Zaretskii <eliz@gnu.org>
5804
5805 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5806 (mm-default-file-encoding): Remove autoload forms, they are
5807 replaced with autoload cookies in mml.el and mm-encode.el.
5808 (mail-add-attachment): New command.
5809 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5810 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5811 the doc string.
5812 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5813
fece895e
RT
58142011-09-10 Reuben Thomas <rrt@sc3d.org>
5815
e69df516
SM
5816 * simple.el (count-words-region): Use buffer if there's no region
5817 (bug#9429).
fece895e 5818
5e68ce4a
JL
58192011-09-09 Juri Linkov <juri@jurta.org>
5820
5821 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5822 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5823 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5824
0a6b9622
AM
58252011-09-09 Alan Mackenzie <acm@muc.de>
5826
5827 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5828 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5829
14a29deb
EZ
58302011-09-09 Eli Zaretskii <eliz@gnu.org>
5831
5832 Fix for Savannah bug#9392.
5833 * simple.el (mail-encode-mml): New defvar.
5834
5835 * mail/rmail.el (mail-encode-mml): Add a defvar.
5836 (rmail-enable-mime-composing): Default to t.
5837 (rmail-forward): Use MIME method of forwarding only if both
5838 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5839 Set mail-encode-mml non-nil if the MIME method was used.
5840
5841 * mail/sendmail.el (mml-to-mime): Add autoload form.
5842 (mail-encode-mml): Add a defvar.
5843 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5844 to nil.
5845 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5846 message through mml-to-mime, and reset mail-encode-mml to nil.
5847
28c45130
GM
58482011-09-09 Glenn Morris <rgm@gnu.org>
5849
5850 * woman.el (woman-if-body): When processing an .el block,
5851 do not delete the next .el block as well. (Bug#9447)
69f4b618 5852 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5853
9b1c252e
MR
58542011-09-08 Martin Rudalics <rudalics@gmx.at>
5855
5856 * window.el (window-deletable-p): Make sure window is live before
5857 invoking window-prev-buffers.
5858
567457e3
LL
58592011-09-08 Leo Liu <sdl.web@gmail.com>
5860
5861 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5862
97f05794
JL
58632011-09-08 Juri Linkov <juri@jurta.org>
5864
5865 * progmodes/compile.el (compilation-environment): Make it
5866 a defcustom (bug#8340).
5867
8b0874b5
MR
58682011-09-08 Martin Rudalics <rudalics@gmx.at>
5869
5870 * window.el (frame-auto-delete): Rename to window-auto-delete.
5871 Make it control auto-deletion of windows and/or frames.
5872 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5873 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5874 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5875 Rewrite handling of case when window/frame can be deleted.
5876 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5877 argument t. (Bug#9456)
8b0874b5 5878
4feb6e73
CY
58792011-09-07 Chong Yidong <cyd@stupidchicken.com>
5880
5881 * help-mode.el (help-mode): Restore autoload.
5882
91ab9c13
JL
58832011-09-07 Juri Linkov <juri@jurta.org>
5884
5885 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5886 `compilation-environment'. Set buffer-local
5887 `compilation-environment' to `thisenv' later after (funcall mode).
5888 (Bug#8340)
5889
5890 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5891 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5892 instead of replacing its value. (Bug#8340)
5893
0527e251
JL
58942011-09-07 Juri Linkov <juri@jurta.org>
5895
5896 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5897 based on text properties put by `grep-filter' instead of matching
5898 escape sequences.
5899 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5900 to the value of `grep-error-screen-columns' (bug#9438).
5901
249f792c
JL
59022011-09-07 Juri Linkov <juri@jurta.org>
5903
5904 * simple.el (next-error-highlight, next-error-highlight-no-select):
5905 Doc fix (bug#9432).
5906
ff7271b9
OT
59072011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5908
5909 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5910 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5911
183fc730
LL
59122011-09-07 Leo Liu <sdl.web@gmail.com>
5913
5914 * net/rcirc.el (rcirc-mode): Conditionally initialize
5915 rcirc-input-ring.
5916
77694924
SM
59172011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * emacs-lisp/find-func.el (find-function-C-source): Only set
5920 find-function-C-source-directory after checking that we found a source
5921 file there (bug#9440).
5922
d809b8eb
AM
59232011-09-06 Alan Mackenzie <acm@muc.de>
5924
5925 * isearch.el (isearch-other-meta-char): Wherever a key list is
5926 unread, "unread" the prefix arg, too. This fixes bug #8901.
5927
453de99f
OG
59282011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5929
5930 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5931
90439906
JL
59322011-09-05 Juri Linkov <juri@jurta.org>
5933
5934 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5935
f62bd846
JL
59362011-09-05 Juri Linkov <juri@jurta.org>
5937
5938 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5939 keeping point where processing of grep matches begins, and
5940 continue to delete remaining escape sequences from the same point.
5941 (grep-filter): Make leading zero optional in "0?1;31m" because
5942 git-grep emits "\033[1;31m" escape sequences unlike expected
5943 "\033[01;31m" as GNU Grep does (bug#9408).
5944 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5945
045820ec
JL
59462011-09-05 Juri Linkov <juri@jurta.org>
5947
5948 * subr.el (y-or-n-p): Capitalize "yes".
5949
f5e29b9b
MA
59502011-09-04 Michael Albinus <michael.albinus@gmx.de>
5951
5952 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5953 `tramp-cache-unload-hook' where appropriate.
5954 (tramp-methods): Rename `tramp-remote-sh' to
5955 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5956 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5957
5958 * net/tramp-sh.el (top): Don't require 'shell.
5959 (tramp-methods): Add `tramp-remote-shell' and
5960 `tramp-remote-shell-args' entries.
5961 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5962 (tramp-sh-handle-shell-command): Remove.
5963 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5964 Use `tramp-remote-shell'.
5965
2784c434
CY
59662011-09-03 Chong Yidong <cyd@stupidchicken.com>
5967
393a301e 5968 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5969 (sendmail-query-once): Save directly to send-mail-function.
5970 Update message-send-mail-function too.
5971
5972 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5973
464cdf56
CS
59742011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5975
5976 * progmodes/python.el (python-mode-map): Use correct function to
5977 start python interpreter from menu-bar (as reported by Geert
5978 Kloosterman).
5979 (inferior-python-mode-map): Fix typo.
393a301e 5980 (python-shell-map): Remove.
464cdf56 5981
d37e5c87
DD
59822011-09-03 Deniz Dogan <deniz@dogan.se>
5983
5984 * net/rcirc.el (rcirc-print): Simplify code for
5985 rcirc-scroll-show-maximum-output. There is no need to walk
5986 through all windows to find the right one.
5987
f3ada0ee
CS
59882011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5989
5990 * help.el (help-return-method): Doc fix.
5991
1f3c99ca
MR
59922011-09-03 Martin Rudalics <rudalics@gmx.at>
5993
5994 * window.el (window-deletable-p): Don't return a non-nil value
5995 when there's a buffer that was shown in the window before.
5996 (Bug#9419)
393a301e
SM
5997 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5998 Set window's previous buffers to nil.
1f3c99ca 5999
a3cf097f
EZ
60002011-09-03 Eli Zaretskii <eliz@gnu.org>
6001
6002 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6003 newline before and after the tag line, so it doesn't interfere
6004 with determining the paragraph direction of bidirectional text.
6005
3d03de90
LL
60062011-09-03 Leo Liu <sdl.web@gmail.com>
6007
6008 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6009
c3313451
CY
60102011-09-02 Chong Yidong <cyd@stupidchicken.com>
6011
393a301e 6012 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6013 (pop-to-buffer): Change interactive spec. Pass second argument
6014 directly to display-buffer.
6015 (display-buffer): Fix interactive spec. Use functionp to
6016 distinguish between a function and a list of functions.
6017
6018 * abbrev.el (edit-abbrevs):
6019 * arc-mode.el (archive-extract):
6020 * autoinsert.el (auto-insert):
6021 * bookmark.el (bookmark-bmenu-list):
6022 * files.el (find-file):
6023 * view.el (view-buffer):
6024 * progmodes/compile.el (compilation-goto-locus):
6025 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6026
89894cd8
CY
60272011-09-02 Chong Yidong <cyd@stupidchicken.com>
6028
6029 * window.el (display-buffer-alist): Doc fix.
6030 (display-buffer): Add docstring. Don't treat
6031 display-buffer-default specially.
6032 (display-buffer-reuse-selected-window)
6033 (display-buffer-same-window, display-buffer-maybe-same-window)
6034 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6035 (display-buffer-pop-up-window)
6036 (display-buffer-reuse-or-pop-window)
6037 (display-buffer-use-some-window): New functions.
6038 (display-buffer-default-action): Use them.
393a301e 6039 (display-buffer-default): Delete.
89894cd8
CY
6040 (pop-to-buffer-1): Fix choice of actions.
6041
ae0bc9fb
SM
60422011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * minibuffer.el (completion--insert-strings): Don't get confused by
6045 completion entries that end with an LF char.
6046
e9d90883
EZ
60472011-09-01 Eli Zaretskii <eliz@gnu.org>
6048
6049 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6050
437014c8
CY
60512011-09-01 Chong Yidong <cyd@stupidchicken.com>
6052
6053 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6054 (display-buffer-same-window, display-buffer-other-window):
6055 New functions.
437014c8
CY
6056 (pop-to-buffer-1): New function. Use the above.
6057 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6058 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6059
6060 * view.el (view-buffer-other-window, view-buffer-other-frame):
6061 Just use pop-to-buffer.
6062
a5e063d5
TV
60632011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6064
6065 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6066
793d32bb
WH
60672011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6068
6069 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6070
d65e4c15
RS
60712011-08-31 Richard Stallman <rms@gnu.org>
6072
6073 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6074 of the separation of rmail-view-buffer from rmail-buffer.
6075 If you say no to "replace original", the decrypt is in the
6076 view buffer. If you say yes, the decrypt goes into the
6077 rmail buffer also.
6078
f818cd2a
MR
60792011-08-31 Martin Rudalics <rudalics@gmx.at>
6080
6081 * window.el (display-buffer-window): Rewrite doc-string.
6082 (display-buffer-record-window): New function.
6083 (display-buffer-macro-specifiers)
6084 (display-buffer-even-window-sizes, display-buffer-set-height)
6085 (display-buffer-set-width, display-buffer-in-window)
6086 (display-buffer-reuse-window, display-buffer-split-specifiers)
6087 (display-buffer-side-specifiers, display-buffer-split-window-1)
6088 (display-buffer-split-window, display-buffer-split-atom-window)
6089 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6090 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6091 (display-buffer-other-window-means-other-frame)
6092 (display-buffer-normalize-special)
6093 (display-buffer-normalize-default)
6094 (display-buffer-normalize-argument)
6095 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6096 (display-buffer-normalize-specifiers, display-buffer-frame)
6097 (display-buffer-same-window, display-buffer-same-frame)
6098 (display-buffer-other-window)
6099 (display-buffer-same-frame-other-window)
6100 (display-buffer-other-frame, pop-to-buffer-same-window)
6101 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6102 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6103 (switch-to-buffer-same-frame)
6104 (switch-to-buffer-other-window-same-frame)
6105 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6106 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6107 (display-buffer-alist-set): Remove.
6108 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6109 (special-display-regexps, special-display-function):
6110 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6111 parameter.
6112 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6113 (special-display-frame-alist, special-display-popup-frame)
6114 (same-window-buffer-names, same-window-regexps, same-window-p)
6115 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6116 (split-window-preferred-function, split-height-threshold)
6117 (split-width-threshold, window-splittable-p)
6118 (split-window-sensibly, window--try-to-split-window)
6119 (window--frame-usable-p, even-window-heights)
6120 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6121 (window--display-buffer-2, display-buffer-other-frame):
6122 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6123 (display-buffer-default, display-buffer-assq-regexp): New functions.
6124 (display-buffer-alist): Rewrite doc-string.
6125 (display-buffer-default-action)
6126 (display-buffer-overriding-action): New variables.
6127 (display-buffer, switch-to-buffer): Rewrite.
6128 (pop-to-buffer): Restore Emacs 23 behavior but use
6129 window-normalize-buffer-to-display.
6130 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6131 Restore Emacs 23 behavior but use
6132 window-normalize-buffer-to-switch-to.
6133 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6134 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6135 Rewrite using Emacs 23 options.
f818cd2a 6136
5bc3b51d
MA
61372011-08-31 Michael Albinus <michael.albinus@gmx.de>
6138
6139 * net/tramp.el (tramp-root-regexp): Remove.
6140 (tramp-completion-file-name-regexp-unified)
6141 (tramp-completion-file-name-regexp-separate)
6142 (tramp-completion-file-name-regexp-url): Don't use leading volume
6143 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6144 (tramp-drop-volume-letter): Simplify definition.
6145 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6146
b1a4f8e1
SM
61472011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6150 (bug#9356).
6151
5664fa7b
RT
61522011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6153
b1a4f8e1 6154 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6155
9a45d6c3
JL
61562011-08-29 Juri Linkov <juri@jurta.org>
6157
6158 * isearch.el (isearch-done): Don't display message "Mark saved"
6159 when arg `edit' is non-nil to prevent its flicker in the echo area.
6160
fb87e0fb
CY
61612011-08-28 Chong Yidong <cyd@stupidchicken.com>
6162
6163 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6164 obsolete packages for deletion.
6165
09ac1c2a
CS
61662011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6167
6168 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6169 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6170 view-mode from help-mode.
6171 (help-xref-override-view-map): Remove.
6172 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6173 view-mode is not used anymore.
6174
7a1ff57f
CY
61752011-08-28 Chong Yidong <cyd@stupidchicken.com>
6176
6177 * server.el (server-port): Doc fix.
6178
b9696605
CY
6179 * cus-theme.el (custom-theme-choose-mode): Inherit from
6180 special-mode (Bug#9124).
6181 (custom-theme-choose-mode-map): Add special-mode to parent.
6182
ef8cdf8c
AM
61832011-08-28 Alan Mackenzie <acm@muc.de>
6184
6185 * progmodes/cc-fonts.el
6186 (c-make-font-lock-BO-decl-search-function): New function.
6187 (c-basic-matchers-after - "Fontify the clauses after various
6188 keywords"): Extract the three keyword lists for the 3 erroneous
6189 constructs from the list of four, and use the new function above
6190 in place of an old one.
6191
27de4e20
DD
61922011-08-28 Deniz Dogan <deniz@dogan.se>
6193
6194 * net/rcirc.el (rcirc-insert-prev-input)
6195 (rcirc-insert-next-input): Remove unused argument.
6196
356a3681
SM
61972011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6200
3fc9b218
AM
62012011-08-27 Alan Mackenzie <acm@muc.de>
6202
6203 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6204 handle function pointer parameters properly.
6205
538a061c
MR
62062011-08-27 Martin Rudalics <rudalics@gmx.at>
6207
6208 * window.el (display-buffer-reuse-window): Fix case where
6209 selected window was reused with non-nil OTHER-WINDOW argument.
6210 (Bug#9381)
6211
35b1c40c
DD
62122011-08-27 Deniz Dogan <deniz@dogan.se>
6213
6214 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6215 oftc's NickServ messages.
6216
2f6a3e79
GM
62172011-08-27 Glenn Morris <rgm@gnu.org>
6218
6219 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6220
7254299e
CY
62212011-08-26 Chong Yidong <cyd@stupidchicken.com>
6222
6223 * emacs-lisp/package.el (package-install): Call package-initialize
6224 if called interactively.
6225
f8ccf167
LL
62262011-08-26 Leo Liu <sdl.web@gmail.com>
6227
6228 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6229
3e8cd5ce
JL
62302011-08-25 Juri Linkov <juri@jurta.org>
6231
6232 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6233 `search-whitespace-regexp' (bug#9364).
6234
93eb7113
JL
62352011-08-25 Juri Linkov <juri@jurta.org>
6236
6237 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6238 `regexp-search-ring' to their global values to protect from
6239 updating by `read-from-minibuffer' (bug#9185).
6240
f65d1611
JL
62412011-08-25 Juri Linkov <juri@jurta.org>
6242
6243 * textmodes/ispell.el (ispell-command-loop): Add newline
6244 at the end of the "Use option `i'..." line.
6245
f1cf7a31
JL
62462011-08-25 Juri Linkov <juri@jurta.org>
6247
6248 * battery.el (display-battery-mode): If `battery-status-function'
6249 or `battery-mode-line-format' is nil, display the message and set
6250 `display-battery-mode' to nil (bug#9363).
6251
0c95fcf7
EZ
62522011-08-25 Eli Zaretskii <eliz@gnu.org>
6253
6254 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6255 bidi-string-mark-left-to-right; they are unnecessary now.
6256
a2ebe600
DD
62572011-08-25 Deniz Dogan <deniz@dogan.se>
6258
6259 * net/quickurl.el: Documentation typo fixes.
6260
e4ed06f1
CY
62612011-08-25 Chong Yidong <cyd@stupidchicken.com>
6262
6263 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6264
e5f1c99e
GM
62652011-08-25 Glenn Morris <rgm@gnu.org>
6266
b2948976
GM
6267 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6268
e5f1c99e
GM
6269 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6270 (smtpmail-via-smtp): Handle nil response from smtp.
6271
f22f4808
JL
62722011-08-24 Juri Linkov <juri@jurta.org>
6273
6274 * proced.el (proced-marked): Inherit from `error' instead of
6275 `font-lock-warning-face'.
6276
6277 * ibuffer.el (ibuffer-marked-face): Change default face from
6278 `font-lock-warning-face' to `warning'.
6279 (ibuffer-deletion-face): Change default face from
6280 `font-lock-type-face' to `error'.
6281
6282 * battery.el (battery-update): Use the face `error' instead of
6283 `font-lock-warning-face' (bug#6117).
6284
6a93965e
JL
62852011-08-24 Juri Linkov <juri@jurta.org>
6286
6287 * faces.el (success): Change face color from "Green3" to
6288 "ForestGreen" on light background (bug#9353).
6289
1ed43b09
CY
62902011-08-24 Chong Yidong <cyd@stupidchicken.com>
6291
5664fa7b
RT
6292 * window.el (quit-window): Rename from quit-restore-window.
6293 Use same arglist as old quit-window.
1ed43b09
CY
6294 (frame-auto-delete): Doc fix.
6295
6296 * view.el (view-mode-exit): Use quit-window.
6297
11dcdbb2
JL
62982011-08-24 Juri Linkov <juri@jurta.org>
6299
6300 * isearch.el (isearch-ring-adjust1): Start visiting previous
6301 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6302 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6303 for empty search string (when the last search string is reused
6304 automatically) to adjust the isearch ring to the last element and
6305 prepare the correct index for further M-p commands (bug#9185).
6306
de62b4df
KH
63072011-08-24 Kenichi Handa <handa@m17n.org>
6308
6309 * international/ucs-normalize.el: If decomposition property of
6310 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6311 nil.
6312 (nfd, nfkd): Likewise.
6313
963b492b
SM
63142011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6317 from process filters aren't reliably transmitted to the surrounding
6318 accept-process-output.
6319 (mpc-proc-check): New function.
6320 (mpc-proc-sync): Use it (bug#8293)
6321
93b6b5e1
SM
63222011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6325 Add compatibility functions (bug#9313).
6326
bca633fb
EZ
63272011-08-23 Eli Zaretskii <eliz@gnu.org>
6328
b177498a
EZ
6329 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6330
6df6ae42 6331 * international/uni-bidi.el: Regenerate.
bca633fb 6332
0902a04e
KH
63332011-08-23 Kenichi Handa <handa@m17n.org>
6334
6335 * international/charprop.el:
6336 * international/uni-bidi.el:
6337 * international/uni-category.el:
6338 * international/uni-combining.el:
6339 * international/uni-comment.el:
6340 * international/uni-decimal.el:
6341 * international/uni-decomposition.el:
6342 * international/uni-digit.el:
6343 * international/uni-lowercase.el:
6344 * international/uni-mirrored.el:
6345 * international/uni-name.el:
6346 * international/uni-numeric.el:
6347 * international/uni-old-name.el:
6348 * international/uni-titlecase.el:
6349 * international/uni-uppercase.el: Regenerate.
6350
3bbf23bc
MR
63512011-08-23 Martin Rudalics <rudalics@gmx.at>
6352
6353 * help.el (help-window-setup): Fix message displayed when other
6354 window is reused. (Bug#9341)
6355
b3fd59bd
SM
63562011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6357
1802e444
SM
6358 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6359 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6360
b3fd59bd
SM
6361 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6362 Mark obsolete.
6363 * shell.el (shell-parse-pcomplete-arguments): New function.
6364 (shell-completion-vars): Use it instead (bug#9160).
6365
4eb61348
SM
63662011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6367
867cab74
SM
6368 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6369 strings and comments (bug#9333).
6370
4eb61348
SM
6371 * emacs-lisp/debug.el (debug-arglist): New function.
6372 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6373 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6374
262a1439
JL
63752011-08-22 Juri Linkov <juri@jurta.org>
6376
56ee679c
JL
6377 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6378 Revert regexp that highlights output switches to its old
6379 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6380
262a1439
JL
6381 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6382 to check for empty output (bug#9226).
6383
f13f86fb
CY
63842011-08-22 Chong Yidong <cyd@stupidchicken.com>
6385
6386 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6387 symbol-constituent as the default, as that stops font-lock from
6388 working properly (Bug#8843).
6389
c65c9622
LMI
63902011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6391
6392 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6393 `coding-system-for-*' around the process open call to avoid
6394 auth-source side effects.
e7f2c178 6395 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6396 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6397 probe hangs.
c65c9622 6398
23a8a5ab
CY
63992011-08-21 Chong Yidong <cyd@stupidchicken.com>
6400
ff98b2dd
CY
6401 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6402
23a8a5ab
CY
6403 * emacs-lisp/find-func.el (find-function-noselect): New arg
6404 lisp-only.
6405
6406 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6407 signal an error for built-in functions (Bug#6664).
6408
f5e3c598
LMI
64092011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6410
6411 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6412 (smtpmail-try-auth-methods): Use it.
6413
a3f2468a
CY
64142011-08-21 Chong Yidong <cyd@stupidchicken.com>
6415
2c34e8da
CY
6416 * font-lock.el (font-lock-fontify-region)
6417 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6418 (font-lock-default-unfontify-buffer)
6419 (font-lock-default-fontify-region)
6420 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6421
b3fd59bd
SM
6422 * progmodes/compile.el (compilation-error-properties):
6423 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6424 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6425 `ant' regexp.
ee31aabc 6426
a3f2468a
CY
6427 * net/browse-url.el (browse-url-firefox): Don't call
6428 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6429
8e999f70
GM
64302011-08-20 Glenn Morris <rgm@gnu.org>
6431
c21a496a
GM
6432 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6433
59ee0542
GM
6434 * tutorial.el (tutorial--default-keys): Update some default bindings.
6435
8e999f70
GM
6436 * files.el (hack-local-variables): Fully ignore case for "mode:".
6437
e3715033
AM
64382011-08-20 Alan Mackenzie <acm@muc.de>
6439
6440 Resolve invalid use of a regexp in regexp-opt.
6441
4d61f28d
JB
6442 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6443 detection for a java annotation.
e3715033 6444
4d61f28d 6445 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6446 detection for a java annotation.
6447
4d61f28d
JB
6448 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6449 handling for java.
e3715033
AM
6450 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6451
04ed2e9c
CY
64522011-08-20 Chong Yidong <cyd@stupidchicken.com>
6453
6454 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6455 (Bug#9274).
6456
826cee64
AM
64572011-08-20 Alan Mackenzie <acm@muc.de>
6458
58179cce 6459 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6460 such a construct. Mainly for when jit-lock etc. starts a chunk
6461 here.
6462
58179cce 6463 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6464 variable.
58179cce 6465 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6466 c-make-font-lock-search-function.
6467 (c-make-font-lock-search-function): Use the above function.
6468 (c-make-font-lock-context-search-function): New function.
6469 (c-cpp-matchers): Enhance the preprocessor expression case with
6470 the above function
6471 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6472 which takes an expression.
6473
6474 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6475
13009bd8
MR
64762011-08-20 Martin Rudalics <rudalics@gmx.at>
6477
6478 * window.el (display-buffer-reuse-window)
6479 (display-buffer-pop-up-window): Don't reuse or split a side
6480 window.
6481
9234ff7f
GM
64822011-08-19 Glenn Morris <rgm@gnu.org>
6483
6484 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6485 Downcase "Mode:". (Bug#9331)
9234ff7f 6486
f635daa1
CY
64872011-08-18 Chong Yidong <cyd@stupidchicken.com>
6488
6489 * international/characters.el: Add L and R categories.
6490
6491 * subr.el (bidi-string-mark-left-to-right): Rename from
6492 string-mark-left-to-right. Use category search.
6493
6494 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6495
bc987f8b
JL
64962011-08-18 Juri Linkov <juri@jurta.org>
6497
6498 * faces.el (error, warning, success): New faces with definitions
6499 copied from old default values of `font-lock-warning-face',
6500 `compilation-warning', `compilation-info' (bug#6117).
6501
6502 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6503
6504 * progmodes/compile.el (compilation-error): Inherit from `error'.
6505 (compilation-warning): Inherit from `warning'.
6506 (compilation-info): Inherit from `success'.
6507
6508 * dired.el (dired-marked): Inherit from `warning'.
6509 (dired-flagged): Inherit from `error'.
6510
57173b96
LMI
65112011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512
3e79eb87
LMI
6513 * mail/smtpmail.el (auth-source): Require to avoid problems with
6514 binding variables (bug#9298). Also clean up some unused
6515 autoloads.
6516
b3fd59bd
SM
6517 * net/network-stream.el (network-stream-open-starttls):
6518 Support using starttls.el without using gnutls-cli.
57173b96 6519
02b404de
JL
65202011-08-17 Juri Linkov <juri@jurta.org>
6521
6522 * progmodes/grep.el (rgrep): Handle the case when
6523 `grep-find-command' is a cons cell (bug#9278).
6524
8c9177f2
MR
65252011-08-17 Martin Rudalics <rudalics@gmx.at>
6526
6527 * window.el (display-buffer-pop-up-frame): Run frame creation
6528 function with BUFFER current (as special-display-popup-frame
6529 does). Reported by Drew Adams.
6530
3644a0ab
DU
65312011-08-17 Daiki Ueno <ueno@unixuser.org>
6532
6533 * epa-mail.el: Simplify GnuPG group expansion using
6534 epg-expand-group.
6535 (epa-mail-group-alist, epa-mail-group-modtime)
6536 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6537 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6538 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6539 Remove.
6540
5e617bc2 65412011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6542
6543 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6544
9c4aeabf
AM
65452011-08-16 Alan Mackenzie <acm@muc.de>
6546
6547 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6548 Correct, to avoid the inside of macros.
6549
3a99bf64
RS
65502011-08-16 Richard Stallman <rms@gnu.org>
6551
04963aa8
RS
6552 * epa-mail.el: Handle GnuPG group definitions.
6553 (epa-mail-group-alist, epa-mail-group-modtime)
6554 (epa-mail-gnupg-conf-file): New variables.
6555 (epa-mail-parse-groups, epa-mail-sync-groups)
6556 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6557 (epa-mail-expand-recipients): New functions.
6558 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6559
177549d0
RS
6560 * mail/rmail.el (rmail-epa-decrypt): New command.
6561
fe38beef
RS
6562 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6563 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6564 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6565 (epa-decrypt-armor-in-region): Make error message clearer.
6566
934eacb9
SM
65672011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6570 and "a2b" to "ab" for `prefix'.
6571
d024fb4e
CY
65722011-08-14 Chong Yidong <cyd@stupidchicken.com>
6573
6574 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6575 filter groups.
de148fee
CY
6576 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6577 Fourquet (Bug#8804).
d024fb4e 6578
62f1ca49
JB
65792011-08-12 Juanma Barranquero <lekktu@gmail.com>
6580
6581 * startup.el (argi): Declare as global variable (bug#9275).
6582
9ccaaa4b
CY
65832011-08-12 Chong Yidong <cyd@stupidchicken.com>
6584
6585 * subr.el (string-mark-left-to-right): Search the entire string
6586 for RTL script, not just the terminating character. Doc fix.
6587
a3dae87a
SM
65882011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6cd18349
SM
6590 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6591 New function.
6592 (js--regexp-literal, js-syntax-propertize-function): Remove.
6593 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6594 (js-mode-map): Don't rebind electric keys.
6595 (js-insert-and-indent): Remove.
6596 (js-mode): Setup electric-layout and electric-indent instead.
6597
a3dae87a
SM
6598 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6599
9d5cb631
DU
66002011-08-12 Daiki Ueno <ueno@unixuser.org>
6601
6602 * epa.el (epa-progress-callback-function): Fix the logic of
6603 displaying progress.
6604 * epa-file.el (epa-file-insert-file-contents): Make progress
6605 display more user-friendly.
6606 (epa-file-write-region): Ditto.
6607
3e26a4a2
CY
66082011-08-10 Chong Yidong <cyd@stupidchicken.com>
6609
6610 * subr.el (string-mark-left-to-right): New function.
6611
6612 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6613 Use string-mark-left-to-right.
6614 (list-buffers-noselect): Caller changed.
6615
a3dae87a
SM
6616 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6617 Use string-mark-left-to-right.
3e26a4a2
CY
6618 (tabulated-list-print): Recenter after moving point.
6619
ac8cf6e6
JL
66202011-08-10 Juri Linkov <juri@jurta.org>
6621
6622 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6623 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6624 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6625
8d96c9a4
CY
66262011-08-09 Chong Yidong <cyd@stupidchicken.com>
6627
6628 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6629 (Bug#7554).
6630
7be1c708 66312011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6632
6633 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6634 character. (Bug#6594)
6635
37e11a63
CY
66362011-08-08 Chong Yidong <cyd@stupidchicken.com>
6637
839dde57
CY
6638 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6639 (image-dired--with-db-file): New macro.
6640 (image-dired-write-tags, image-dired-remove-tag)
6641 (image-dired-create-gallery-lists, image-dired-write-comments)
6642 (image-dired-get-comment, image-dired-mark-tagged-files)
6643 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6644 (image-dired-gallery-generate): Use insert-file-contents.
6645
37e11a63
CY
6646 * time.el (display-time-world-list, display-time-world-display):
6647 * time-stamp.el (time-stamp-string):
6648 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6649 set-time-zone-rule (Bug#7337).
6650
0b4946c4
DU
66512011-08-08 Daiki Ueno <ueno@unixuser.org>
6652
6653 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6654 (epg-error-to-string, epg-errors-to-string): New function.
6655 (epg-wait-for-completion): Reverse errors list.
6656 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6657 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6658 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6659 (epg-sign-keys, epg-generate-key-from-file)
6660 (epg-generate-key-from-string): Format errors by using
6661 epg-errors-to-string (bug#9255).
6662 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6663
75bfc667
JL
66642011-08-07 Juri Linkov <juri@jurta.org>
6665
6666 * faces.el (list-faces-display): Remove extra angle bracket
6667 from `help-mode-map'.
6668
6669 * info.el (Info-history-toc-nodes): Doc fix.
6670
6671 * longlines.el (longlines-mode): Doc fix.
6672
673e08bb
SM
66732011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6674
4640dd88
SM
6675 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6676 of statements and in a few more cases (bug#9183).
6677
673e08bb
SM
6678 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6679 New functions.
6680 (cl-transform-lambda): Use them (bug#9239).
6681
89b3f019
MR
66822011-08-05 Martin Rudalics <rudalics@gmx.at>
6683
6684 * window.el (display-buffer-same-window)
6685 (display-buffer-same-frame, display-buffer-other-window)
6686 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6687 (pop-to-buffer-other-window)
6688 (pop-to-buffer-same-frame-other-window)
6689 (pop-to-buffer-other-frame): Make them defuns.
6690 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6691
640c8776
SM
66922011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * subr.el (make-composed-keymap): Move from C. Change calling
6695 convention, and improve docstring to bring attention to a subtle point.
6696 * minibuffer.el (completing-read-default): Adjust accordingly.
6697
63648a95
MA
66982011-08-03 Michael Albinus <michael.albinus@gmx.de>
6699
6700 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6701 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6702
6703 * net/trampver.el: Update release number.
6704
b796c9b7
SM
67052011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6708 "in" (bug#9190).
6709
2239d7d5
LMI
67102011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6711
e07dd7c3
LMI
6712 * mail/sendmail.el (sendmail-query-once): Restore the current
6713 buffer after querying (bug#9074).
6714
0e6a2bd7
LMI
6715 * dired.el (dired-flagged): Use different faces for marked and
6716 flagged files (bug#6117).
6717
ce887515
LMI
6718 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6719 (bug#4433).
6720
92f2affc
LMI
6721 * ido.el (ido-mode): Switch off the message if called
6722 non-interactively.
6723
57d5aff0
LMI
6724 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6725 before 587, since it appears that that's more likely to work for
6726 more people.
6727
98cd6c18 6728 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6729 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6730 exist.
6731
b96dec83
LMI
6732 * info.el: Remove the `Info-beginning-of-buffer' function
6733 (bug#8325).
6734
b796c9b7
SM
6735 * net/network-stream.el (network-stream-open-starttls):
6736 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6737
d90e2ea0
MR
67382011-08-01 Martin Rudalics <rudalics@gmx.at>
6739
6740 * window.el (display-buffer-in-window): Don't set dedicated status
6741 of window here (Bug#9215).
6742 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6743 (display-buffer-pop-up-side-window)
b796c9b7 6744 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6745
cca09170
SM
67462011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6749 before binding generated-autoload-file.
6750
027b979c
DD
67512011-08-01 Deniz Dogan <deniz@dogan.se>
6752
6753 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6754
3c7ee4f3
MA
67552011-07-30 Michael Albinus <michael.albinus@gmx.de>
6756
6757 Sync with Tramp 2.2.2.
6758
6759 * net/trampver.el: Update release number.
6760
2cc8e51a
JL
67612011-07-30 Juri Linkov <juri@jurta.org>
6762
6763 * dired-aux.el (dired-touch-initial): Remove function.
6764 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6765 current time, and `default' to the last modification time of the
6766 current marked file (bug#6887).
6767
a514d856
JM
67682011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6769
6770 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6771 numeric argument to read-number (bug#9163).
a514d856 6772
8a7eddd7
MA
67732011-07-27 Michael Albinus <michael.albinus@gmx.de>
6774
6775 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6776 connection process, it could be nil.
6777
1ddd96f5
LL
67782011-07-27 Leo Liu <sdl.web@gmail.com>
6779
6780 Simplify url handling in rcirc-mode.
6781
6782 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6783 (rcirc-browse-url-at-mouse): Remove.
6784 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6785
b248a85d
AM
67862011-07-26 Alan Mackenzie <acm@muc.de>
6787
6788 Fontify bitfield declarations properly.
6789
6790 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6791 (c-symbol-chars): Now exported as a lang variable.
6792 (c-not-primitive-type-keywords): New lang variable.
6793
6794 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6795 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6796 parsed as a bitfield declaration.
b248a85d 6797
b796c9b7
SM
6798 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6799 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6800 (c-punctuation-in): New function.
6801 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6802 declarations properly.
6803
68575ab0
UJ
68042011-07-26 Ulf Jasper <ulf.jasper@web.de>
6805
6806 * calendar/icalendar.el (icalendar--all-events): Take care of
6807 multiple vcalendars in a single file.
b796c9b7 6808 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6809
0f0a88b9
DD
68102011-07-25 Deniz Dogan <deniz@dogan.se>
6811
6812 * image.el (insert-image): Clarifying docstring.
6813
0b3f36df
MA
68142011-07-24 Michael Albinus <michael.albinus@gmx.de>
6815
6816 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6817 `tramp-send-command-and-check' if there is no error.
6818 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6819
a9901f61
AM
68202011-07-22 Alan Mackenzie <acm@muc.de>
6821
6822 Prevent cc-langs.elc being loaded at run time.
6823
6824 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6825 cc-langs.
6826
4d61f28d 6827 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6828 "(require 'cc-langs)". Quote a form so it will evaluate at
6829 (cc-mode's) compilation time.
6830
11d074b2
MA
68312011-07-22 Michael Albinus <michael.albinus@gmx.de>
6832
6833 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6834 loading. (Bug#9114)
6835
938b94c8
MR
68362011-07-21 Martin Rudalics <rudalics@gmx.at>
6837
6838 * window.el (display-buffer-pop-up-window)
6839 (display-buffer-pop-up-side-window)
6840 (display-buffer-in-side-window): Call display-buffer-set-height
6841 and display-buffer-set-width after setting the new window's
b796c9b7 6842 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6843
bfa4f190
SS
68442011-07-20 Sam Steingold <sds@gnu.org>
6845
6846 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6847 (etags-tags-included-tables): Call `convert-standard-filename' on
6848 the file names contained in TAGS so that windows Emacs can handle
6849 TAGS files created by cygwin ctags.
6850
8ca42262
LMI
68512011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6852
6853 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6854 which apparently didn't work.
6855
5db2afd2 68562011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6857
5db2afd2
RW
6858 * proced.el (proced-send-signal): For *Marked Processes* buffer
6859 put point at beginning of buffer.
6860
92e15d10
SB
68612011-07-19 Stephen Berman <stephen.berman@gmx.net>
6862
6863 * proced.el (proced-format): Make header lines align with the text
6864 (bug#1779).
6865
1bfd59e5
LMI
68662011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867
6868 * view.el (view-buffer): Allow running in `special' modes if we're
6869 visiting a file (bug#8615).
6870
f5aae37c
MR
68712011-07-19 Martin Rudalics <rudalics@gmx.at>
6872
6873 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6874 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6875 New functions.
f5aae37c
MR
6876 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6877 more accurately.
6878
bf2c1571
AM
68792011-07-18 Alan Mackenzie <acm@muc.de>
6880
6881 Fontify declarators properly when, e.g., a jit-lock chunk begins
6882 inside a declaration.
6883
6884 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6885
b796c9b7
SM
6886 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6887 New function.
bf2c1571
AM
6888 (c-complex-decl-matchers): Insert reference to
6889 c-font-lock-enclosing-decls.
6890
6891 * progmodes/cc-engine.el (c-backward-single-comment):
6892 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6893 to nil around calls to (forward-comment -1).
6894
4e190b80
LMI
68952011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6896
12dc863d
LMI
6897 * image.el (put-image): Doc typo fix.
6898
a762e966
LMI
6899 * progmodes/etags.el (tags-search): Doc typo fix.
6900
4e190b80
LMI
6901 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6902 password if we get errors 550 to 554.
6903
f019fb21
LMI
69042011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6905
b796c9b7 6906 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6907
81746738
LMI
6908 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6909 indentation character (bug#6380).
6910
3ee3a1b5
LMI
6911 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6912
c82f64de
LMI
6913 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6914 to clarify what the problem is (bug#4291).
6915
f019fb21
LMI
6916 * simple.el (current-kill): Clarify what
6917 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6918 (auto-fill-mode): Document `auto-fill-function' in relation to
6919 `auto-fill-mode' (bug#2470).
f019fb21 6920
0794775d
LM
69212011-07-16 Lawrence Mitchell <wence@gmx.li>
6922
6923 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6924 method if slot is read-only (bug#9035).
6925
be39b8cc
MR
69262011-07-16 Martin Rudalics <rudalics@gmx.at>
6927
b796c9b7 6928 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6929 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6930 selected before, see discussion of (Bug#8615), (Bug#6954).
6931 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6932
6ccf7859
GM
69332011-07-15 Glenn Morris <rgm@gnu.org>
6934
6935 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6936 Respect help-form.
6ccf7859 6937
87e86684
LM
69382011-07-09 Lawrence Mitchell <wence@gmx.li>
6939
6940 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6941 (gnutls-negotiate): Use it.
6942
d6066239
LMI
69432011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6944
b796c9b7
SM
6945 * net/gnutls.el (gnutls-negotiate):
6946 Upcase `gnutls-algorithm-priority'.
d6066239 6947
bd23ebc0
GM
69482011-07-15 Glenn Morris <rgm@gnu.org>
6949
c65bca65
GM
6950 * jka-compr.el (jka-compr-verbose): Move from here...
6951 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6952 Add missing :version tag.
6953 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6954
478615cc
LMI
69552011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6956
7b41decb
LMI
6957 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6958 (gnutls-negotiate): Use it.
6959
dbc44fcd
LMI
6960 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6961
06789f97
LMI
6962 * info.el (Info-beginning-of-buffer): New command.
6963 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6964 announcing `b' as the key (bug#8325).
ab896c37 6965 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6966
c39da690
LMI
6967 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6968
3aa5f34b
LMI
6969 * international/mule-cmds.el
6970 (describe-specified-language-support): Make the error message
6971 clearer (bug#8905).
6972
4bf0979f
LMI
6973 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6974
478615cc
LMI
6975 * isearch.el (isearch-barrier): Add a doc string, since it's
6976 mentioned in a function doc string (bug#8678).
6977
75c68aa1
MR
69782011-07-15 Martin Rudalics <rudalics@gmx.at>
6979
6980 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6981 buffer argument (Bug#9083) and self-identifying label argument.
6982
a7c33da2
GM
69832011-07-15 Glenn Morris <rgm@gnu.org>
6984
6985 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6986
2f5c6024
LMI
69872011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6988
6989 * man.el (Man-fontify-manpage): Fix message when formatting the
6990 man page (bug#7929).
6991
0bb23927 69922011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6993
6994 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6995 argument LRM; if non-nil, append an invisible LRM character to the
6996 buffer name.
6997 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6998 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6999 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7000 paragraph direction.
cce4b0a7 7001
621ef9ab
LMI
70022011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7003
d1583c48
LMI
7004 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7005 the man page name (bug#7929).
7006
6a57fb5f
LMI
7007 * image.el (put-image): Mention the `put-image' overlay property
7008 (bug#7834).
7009
d7956b14
LMI
7010 * scroll-bar.el (set-scroll-bar-mode): Mention that
7011 `scroll-bar-mode' lists the values (bug#7772).
7012
5b2d4a66
LMI
7013 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7014 command (bug#7729).
7015
7509a874
LMI
7016 * rect.el (apply-on-rectangle): Return the point after the last
7017 operation.
7018 (string-rectangle): Go to the point after the last operation
7019 (bug#7522).
7020
4fe74b19
LMI
7021 * printing.el (pr-toggle-region): Clarify the documentation
7022 slightly (bug#7493).
7023
b796c9b7
SM
7024 * time.el (display-time-update):
7025 Allow `display-time-mail-function' to return nil (bug#7158).
7026 Fix suggested by Detlev Zundel.
ab283561 7027
fc233c9d
LMI
7028 * vc/diff.el (diff): Clarify the order the file names are read
7029 (bug#7111).
7030
43f5740b
LMI
7031 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7032 the doc string (bug#7015).
7033
f2182a76
LMI
7034 * font-lock.el (font-lock-maximum-decoration): Mention what
7035 numeric levels mean (bug#6935).
7036
621ef9ab
LMI
7037 * startup.el (initial-buffer-choice): Don't mention the `none'
7038 selection, which is against policy.
7039
adc47434
MR
70402011-07-14 Martin Rudalics <rudalics@gmx.at>
7041
b796c9b7
SM
7042 * window.el (display-buffer-normalize-special):
7043 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7044
7e5bfb8f
EZ
70452011-07-14 Eli Zaretskii <eliz@gnu.org>
7046
7047 * subr.el (version<, version<=, version=): Mention "-CVS" and
7048 "-12345" alpha version numbers.
7049
27fa387a
CY
70502011-07-14 Chong Yidong <cyd@stupidchicken.com>
7051
7052 * bindings.el: Add advertised binding for set-mark-command
7053 (Bug#5772).
7054
8bdfa064
CY
70552011-07-14 Chong Yidong <cyd@stupidchicken.com>
7056
7057 * bindings.el (mode-line-other-buffer):
7058 * bookmark.el (bookmark-bmenu-2-window):
7059 * bs.el (bs-cycle-next, bs-cycle-previous):
7060 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7061 switch-to-buffer.
7062
7063 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7064 Delete.
8bdfa064 7065
5eba16a3
JB
70662011-07-14 Juanma Barranquero <lekktu@gmail.com>
7067
7068 * follow.el (follow-debug-message, follow-redisplay):
7069 * jka-cmpr-hook.el (with-auto-compression-mode):
7070 Fix typos in docstrings.
7071
15853710
LMI
70722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7073
a28e4607
LMI
7074 * subr.el (with-silent-modifications): Clarify somewhat what the
7075 macro inhibits (bug#6525).
7076
15853710
LMI
7077 * simple.el (eval-expression): Note what it does if called
7078 interactively (bug#6495).
7079
bee0fcef
CY
70802011-07-13 Chong Yidong <cyd@stupidchicken.com>
7081
b796c9b7
SM
7082 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7083 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7084
7085 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7086 Remove switch-to-buffer.
7087
58274504
LMI
70882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7089
bd2fcc8d
LMI
7090 * files.el (make-directory): Clarify that an error will be raised
7091 if there's an error (bug#6397).
7092
0f04b32c
LMI
7093 * startup.el (initial-buffer-choice): Add `none' as a choice
7094 (bug#6234).
7095
465c5fc8
LMI
7096 * subr.el (add-hook): Clarify section about buffer-local hooks
7097 (bug#6218).
7098
58274504
LMI
7099 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7100
bead9a43
JB
71012011-07-13 Juanma Barranquero <lekktu@gmail.com>
7102
7103 * tabify.el (untabify): Preserve the current column so that point
7104 doesn't move (bug#6032).
7105
3af98a7b
LMI
71062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107
b796c9b7
SM
7108 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7109 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7110
6240145a
GM
71112011-07-13 Glenn Morris <rgm@gnu.org>
7112
7113 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7114 (dired-insert-directory): Give a message the first time
7115 if ls is found not to support --dired.
7116
1d8c2ccc
LMI
71172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7118
7119 * simple.el (toggle-truncate-lines): Clarify what is toggled
7120 (bug#5580). Text by Drew Adams.
7121
5fc4038e
CY
71222011-07-13 Chong Yidong <cyd@stupidchicken.com>
7123
7124 * simple.el (blink-matching-open): Make the error message from the
7125 last change less verbose.
7126
bf6012e5
DN
71272011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7128
7129 * font-lock.el (font-lock-comment-face): Use the high contrast
7130 "yellow" color for font-lock-comment-face on low color terminals
7131 using a dark background color (bug#4221).
7132
343c3b5a
LMI
71332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7134
7e9505c5
LMI
7135 * dired.el (dired-insert-set-properties): Make the doc string
7136 reflect what it does now (bug#5325).
7137
c26fdcf5
LMI
7138 * simple.el (blink-matching-open): Say that we were unable to find
7139 the match within the limit, if we're limited (bug#5122).
7140
bb388cc5
LMI
7141 * international/mule-cmds.el (prefer-coding-system): Add an
7142 example (bug#4869).
7143
343c3b5a
LMI
7144 * progmodes/etags.el (tags-search): Document `file-list-form'
7145 (bug#4731).
7146
2a517d45
LM
71472011-07-13 Lawrence Mitchell <wence@gmx.li>
7148
7149 * net/browse-url.el (browse-url-default-browser)
7150 (browse-url-browser-function): Make the default browser choice a
7151 bit more logical (bug#4300). Also clean up the doc string.
7152
b6c78ef2
JB
71532011-07-13 Juanma Barranquero <lekktu@gmail.com>
7154
7155 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7156 binary endings (bug#4440).
7157
1c4dd947
LMI
71582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7159
a2014063
LMI
7160 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7161 which can be pretty annoying (bug#8971).
7162
9c9c2d88
LMI
7163 * jka-compr.el (jka-compr-verbose): New variable, and use
7164 throughout (bug#8971).
7165
1c4dd947
LMI
7166 * info.el (Info-find-file): Fall back on the installation
7167 directory if we can't find the info node anywhere else.
7168
a1c9f41b
SO
71692011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7170
7171 * vc/vc.el (vc-revert-file):
7172 Don't set file time-stamp in the past. (Bug#5181)
7173
536f3d36
LMI
71742011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7175
7152b011
LMI
7176 * files.el (after-find-file): Give a better error message when
7177 trying to find a symlink that points to a file that doesn't exist
7178 (bug#4398).
7179
536f3d36
LMI
7180 * progmodes/cc-vars.el: Remove (probably) misleading comment
7181 (bug#4396).
7182
460c0fba
JB
71832011-07-12 Johan Bockgård <bojohan@gnu.org>
7184
7185 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7186
7a6bda45
CY
71872011-07-12 Chong Yidong <cyd@stupidchicken.com>
7188
7189 * mouse-sel.el: Hack restoring functionality, while keeping
7190 compatibility with 2010-07-03 changes to mouse selection.
7191 (mouse-sel-primary-overlay): New var.
7192 (mouse-sel-selection-alist): Use it.
7193 (mouse-sel-mode): Doc fix; remove points that are default features
7194 of mouse.el.
7195
c79598ef
JB
71962011-07-12 Johan Bockgård <bojohan@gnu.org>
7197
7198 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7199 Fix previous fix (bug#2490).
7200
ff8be6ef
RW
72012011-07-12 Roland Winkler <winkler@gnu.org>
7202
b796c9b7
SM
7203 * textmodes/bibtex.el (bibtex-initialize):
7204 Use pop-to-buffer-same-window.
ff8be6ef
RW
7205 (bibtex-search-entries): Fix interactive call.
7206
296ba3ee
LMI
72072011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7208
f5242a02 7209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7210 Fontise bytecomp Error lines more correctly (bug#2490).
7211 Fix suggested by Johan Bockgård.
f5242a02 7212
296ba3ee
LMI
7213 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7214
7215 * dired-x.el (dired-guess-default): Use `delete-dups'.
7216
f69fd0d2
CY
72172011-07-12 Chong Yidong <cyd@stupidchicken.com>
7218
7219 * dired.el (dired-mark-prompt):
7220 * dired-aux.el (dired-read-shell-command): Doc fix.
7221
eab5dc07
LMI
72222011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7223
b796c9b7
SM
7224 * mail/sendmail.el (sendmail-query-once):
7225 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7226 emacs -Q.
7227
7228 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7229
eab5dc07
LMI
7230 * cus-edit.el (custom-file): Take an optional no-error variable.
7231 (customize-save-variable): Set the variable, and give a warning if
7232 running under "emacs -q".
7233
a1e65d42
JB
72342011-07-11 Juanma Barranquero <lekktu@gmail.com>
7235
7236 * loadhist.el (unload-feature-special-hooks):
7237 Add `auto-coding-functions', `fill-nobreak-predicate' and
7238 `find-directory-functions' (bug#5327).
7239
1d52da10
LMI
72402011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241
be958f1d
LMI
7242 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7243
5bedb26c
LMI
7244 * cus-edit.el (custom-guess-name-alist): -alist variables should
7245 use the `alist' type (bug#3120). Suggested by Drew Adams.
7246
1d52da10
LMI
7247 * printing.el: Add documentation to all the `pr-toggle-' commands.
7248
cd394be1 72492011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7250
7251 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7252 backends where it makes sense (bug#2623).
7253
dcc88d8a
LMI
72542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7255
c3de9feb
LMI
7256 * dired-x.el (dired-guess-default): Remove duplicate shell command
7257 entries (bug#2028).
8a93078b 7258 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7259 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7260
dcc88d8a
LMI
7261 * subr.el (remove-duplicates): New conveniency function.
7262
505e3645
LMI
72632011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7264
7265 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7266 (bug#1526).
7267
72682011-07-10 Martin Rudalics <rudalics@gmx.at>
7269
7270 * window.el (display-buffer-normalize-default): Don't invert
7271 meaning of even-window-heights. Reported by Eli Zaretskii
7272 <eliz@gnu.org>.
7273
455e4fa1
BR
72742011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7275
7276 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7277
8e0bc3e9
CY
72782011-07-10 Chong Yidong <cyd@stupidchicken.com>
7279
7280 * window.el (display-buffer): Fix arguments to
7281 display-buffer-reuse-window in last change.
7282
fa7c3228
CY
7283 * faces.el (link): Use a less saturated blue on light backgrounds.
7284
7285 * startup.el (fancy-startup-text, fancy-about-text)
7286 (fancy-startup-tail): Use font-lock faces, for background safety.
7287
c0a7f300
BN
72882011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7289
b796c9b7
SM
7290 * emulation/viper-cmd.el (viper-change-state-to-vi):
7291 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7292
4dc2a129
MR
72932011-07-09 Martin Rudalics <rudalics@gmx.at>
7294
7295 * window.el (display-buffer-default-specifiers): Remove.
7296 (display-buffer-macro-specifiers): Remove default specifiers.
7297 (display-buffer-alist): Default to nil.
b796c9b7 7298 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7299 (display-buffer-pop-up-window): Allow splitting internal
7300 windows. Check whether a live window was created.
7301 (display-buffer-other-window-means-other-frame)
7302 (display-buffer-normalize-arguments): Rename to
7303 display-buffer-normalize-argument and rewrite. Set the
7304 other-window specifier.
7305 (display-buffer-normalize-special): New function.
7306 (display-buffer-normalize-options): Rename to
7307 display-buffer-normalize-default and rewrite.
7308 (display-buffer-normalize-options-inhibit): Remove.
7309 (display-buffer-normalize-specifiers): Rewrite.
7310 (display-buffer): Process other-window specifier and call
7311 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7312 more faithfully.
b796c9b7 7313 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7314 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7315 (display-buffer-in-window, display-buffer-alist-set):
7316 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7317 <tassilo@member.fsf.org>.
7318
2d43b8c9
LL
73192011-07-09 Leo Liu <sdl.web@gmail.com>
7320
7321 * register.el (insert-register): Restore accidental change on
7322 2011-06-26. (Bug#9028)
7323
7f9b7c53
GM
73242011-07-09 Glenn Morris <rgm@gnu.org>
7325
7326 * subr.el (remq): Handle the empty list. (Bug#9024)
7327
f042cfd8
AS
73282011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7329
7330 * mail/sendmail.el (send-mail-function): No longer delay custom
7331 initialization.
7332 * custom.el (custom-initialize-delay): Doc fix.
7333
856b2f11
SM
73342011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7337
afae1d68
MA
73382011-07-08 Michael Albinus <michael.albinus@gmx.de>
7339
7340 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7341 human-friendly prompt.
7342
0757af94
SM
73432011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7346 provided by a particular plugin.
7347
d760b731
LMI
73482011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7349
7350 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7351 save customizations (with "emacs -Q"), just set the variable
7352 instead of erroring out.
7353
7354 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7355
cd79ce90
JL
73562011-07-08 Juri Linkov <juri@jurta.org>
7357
7358 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7359 (archive-zip-update-case): Use 7z if found by `executable-find'.
7360 The order of searching the available programs is the same as in
7361 `archive-zip-extract' (bug#8968).
7362
14cc04aa
CY
73632011-07-07 Chong Yidong <cyd@stupidchicken.com>
7364
7365 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7366 (menu-bar-options-menu): Tweak descriptions.
7367
0a1848ec
LMI
73682011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7369
7370 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7371 menu items into verb phrases (bug#1421). Also refill to fit under
7372 80 columns.
7373
f5bd0689
CY
73742011-07-07 Chong Yidong <cyd@stupidchicken.com>
7375
538e85c6
CY
7376 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7377 (Info-read-node-name): Doc fix (Bug#1084).
7378
f5bd0689
CY
7379 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7380 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7381 (end-of-sexp, beginning-of-sexp)
7382 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7383 (forward-symbol, forward-same-syntax, word-at-point)
7384 (sentence-at-point): Doc fix (Bug#1144).
7385
56ec5115
LMI
73862011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7387
f3f8e37f
LMI
7388 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7389 should cover it (bug#1281).
7390
0757af94 7391 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7392
e9fce1ac 7393 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7394 negotiation fails, then possibly try again with a non-encrypted
7395 connection (bug#9017).
7396
56ec5115
LMI
7397 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7398 be used.
7399
c2f9aec8
RS
74002011-07-07 Richard Stallman <rms@gnu.org>
7401
7402 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7403 property, and handle its changed format.
7404 Look for the correct line number.
7405 Use file's line contents (but not past first =) to find
7406 correct line in message.
7407
ef7b981d 74082011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7409
7410 * international/characters.el (build-unicode-category-table):
7411 Delete it.
0757af94 7412 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7413
0757af94 7414 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7415 to src/chartab.c.
7416 (get-char-code-property): Call unicode-property-table-internal to
7417 load a file. Call get-unicode-property-internal where necessary.
7418 (put-char-code-property): Call unicode-property-table-internal to
7419 load a file. Call put-unicode-property-internal where necessary.
7420 put-unicode-property-internal where necessary.
0757af94
SM
7421 (char-code-property-description):
7422 Call unicode-property-table-internal to load a file.
c805dec0
KH
7423
7424 * international/charprop.el:
7425 * international/uni-bidi.el:
7426 * international/uni-category.el:
7427 * international/uni-combining.el:
7428 * international/uni-comment.el:
7429 * international/uni-decimal.el:
7430 * international/uni-decomposition.el:
7431 * international/uni-digit.el:
7432 * international/uni-lowercase.el:
7433 * international/uni-mirrored.el:
7434 * international/uni-name.el:
7435 * international/uni-numeric.el:
7436 * international/uni-old-name.el:
7437 * international/uni-titlecase.el:
7438 * international/uni-uppercase.el: Regenerate.
7439
7440 * loadup.el: Load international/charprop.el before
7441 international/characters.
7442
e14b388a
CY
74432011-07-07 Chong Yidong <cyd@stupidchicken.com>
7444
7445 * window.el (next-buffer, previous-buffer): Signal an error if
7446 called from a minibuffer window.
7447
7448 * bindings.el: Revert 2011-07-04 change.
7449
354cf0ba
RS
74502011-07-06 Richard Stallman <rms@gnu.org>
7451
7452 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7453 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7454 Treat markers like ints.
7455 (rmail-mime-entity): Doc fix.
7456
a48868a7
LMI
74572011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
4906cd3d
LMI
7459 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7460 defcustom again for backwards compatibility.
7461
e0457abe
LMI
7462 * simple.el (shell-command-on-region): Fill.
7463
d67f7e1f
LMI
7464 * dired-aux.el (dired-kill-line): Add a doc string.
7465
fe204702
LMI
7466 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7467 to "\\sw\\|\\s_" (bug#358).
7468
a48868a7
LMI
7469 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7470 (dired-unmark-backward): Ditto.
7471 (dired-flag-backup-files): Ditto.
7472
7473 * dired-x.el (dired-mark-sexp): Ditto.
7474
aa8a705c
RS
74752011-07-06 Richard Stallman <rms@gnu.org>
7476
7477 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7478 (rmail-mime-entity): New arg TRUNCATED.
7479 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7480 New functions.
7481 (rmail-mime-save): Warn if entity is truncated.
7482 (rmail-mime-toggle-hidden): Likewise, for showing.
7483 (rmail-mime-process-multipart): Record when an entity is truncated.
7484
a9a936b9
RS
7485 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7486 if ENTITY is a string.
7487
1f2b92cb
LMI
74882011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7489
f4f73198 7490 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7491 of faces when `M-C-x'-ing their definitions (bug#8378).
7492 Also clean up the code slightly.
f4f73198 7493
12b16734 7494 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7495 because that makes the colors go away.
12b16734 7496
f0691d22
LMI
7497 * mail/sendmail.el (send-mail-function): Change the default to
7498 `sendmail-query-once'.
9e87df06 7499 (sendmail-query-once): Add an autoload cookie.
f0691d22 7500
1f2b92cb
LMI
7501 * net/network-stream.el (network-stream-open-starttls): Try using
7502 a plain connection even if the server offered STARTTLS, and we
7503 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7504 capability. This should make smtpmail.el work in slightly more
7505 configurations.
7506
1cdd2a1b
MA
75072011-07-06 Michael Albinus <michael.albinus@gmx.de>
7508
7509 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7510 New defun.
7511 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7512
fbcc67e2
MM
75132011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7514
7515 * progmodes/sql.el: Version 3.0
0757af94 7516 (sql-product-alist): Add product :completion-object,
fbcc67e2 7517 :completion-column, and :statement attributes.
0757af94 7518 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7519 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7520 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7521 ansi keywords.
7522 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7523 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7524 (sql-oracle-show-reserved-words): New function for development.
7525 (sql-product-font-lock): Simplify for source code buffers.
7526 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7527 New functions.
7528 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7529 (sql-mode-map): Add statement movement functions.
7530 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7531 New variable.
fbcc67e2
MM
7532 (sql-statement-regexp, sql-beginning-of-statement)
7533 (sql-end-of-statement, sql-signum): New functions.
0757af94 7534 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7535 (sql-show-sqli-buffer): Bug fix.
7536 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7537 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7538 with sql-interactive-mode.
7539 (sql-save-connection): Save buffer local settings.
0757af94 7540 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7541 (sql-product-interactive): Bug fix.
7542 (sql-preoutput-hold): New variable.
7543 (sql-interactive-remove-continuation-prompt): Bug fixes.
7544 (sql-debug-redirect): New variable.
7545 (sql-str-literal): New function.
7546 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7547 Redesign.
fbcc67e2
MM
7548 (sql-oracle-save-settings, sql-oracle-restore-settings)
7549 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7550 (sql-completion-object, sql-completion-column)
7551 (sql-completion-sqlbuf): New variables.
7552 (sql-build-completions-1, sql-build-completions)
7553 (sql-try-completion): New functions.
7554 (sql-read-table-name): Use them.
7555 (sql-contains-names): New buffer local variable.
7556 (sql-list-all, sql-list-table): Use it.
7557 (sql-oracle-completion-types): New variable.
7558 (sql-oracle-completion-object, sql-sqlite-completion-object)
7559 (sql-postgres-completion-object): New functions.
7560
d4eaeab1
GM
75612011-07-06 Glenn Morris <rgm@gnu.org>
7562
7563 * window.el (pop-to-buffer): Doc fix.
7564
322b7dab 75652011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7566
7567 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7568
322b7dab 75692011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7570
322b7dab 7571 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7572
322b7dab 7573 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7574
605dd5bf
CY
75752011-07-05 Chong Yidong <cyd@stupidchicken.com>
7576
7577 * button.el (button): Inherit from link face. Suggested by Dan
7578 Nicolaescu.
7579
7dbfa719
SM
75802011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7581
3db614b0
SM
7582 * progmodes/gdb-mi.el: Fit in 80 columns.
7583 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7584 switch-to-buffer.
7585
7dbfa719
SM
7586 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7587 if imenu is simply not configured (bug#8941).
7588
919d884a
KM
75892011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7590
7591 * allout.el (allout-post-undo-hook): New allout outline-change
7592 event hook to signal undo activity.
7593 (allout-post-command-business): Run allout-post-undo-hook if an
7594 undo just occurred.
7dbfa719
SM
7595 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7596 * allout-widgets.el (allout-widgets-after-undo-function):
7597 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7598 in the vicinity of an undo.
7599 (allout-widgets-mode): Include allout-widgets-after-undo-function
7600 on the new allout-post-undo-hook.
7601
450a0f09
SM
76022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7605 Let define-derived-mode define it.
7606 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7607 cycles of abbrev-table inheritance (bug#8998).
7608
2de69e00
RW
76092011-07-05 Roland Winkler <winkler@gnu.org>
7610
7611 * textmodes/bibtex.el: Add support for biblatex.
7612 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7613 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7614 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7615 (bibtex-entry-alist, bibtex-field-alist): New variables.
7616 (bibtex-entry-field-alist): Obsolete alias for
7617 bibtex-BibTeX-entry-alist.
7618 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7619 (bibtex-set-dialect): New command.
7620 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7621 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7622 Bind via bibtex-set-dialect.
2de69e00
RW
7623 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7624 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7625 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7626 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7627 Define via bibtex-set-dialect.
450a0f09
SM
7628 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7629 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7630 (bibtex-vec-push, bibtex-vec-incr): New functions.
7631 (bibtex-format-entry, bibtex-field-list)
7632 (bibtex-print-help-message, bibtex-validate)
7633 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7634
2dcdbdd9
SM
76352011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7636
7637 * progmodes/compile.el (compilation-goto-locus):
7638 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7639 * bs.el (bs-cycle-next, bs-cycle-previous):
7640 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7641 * bindings.el (mode-line-other-buffer):
7642 * autoinsert.el (auto-insert):
7643 * arc-mode.el (archive-extract):
7644 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7645
b27640fe
JB
76462011-07-05 Juanma Barranquero <lekktu@gmail.com>
7647
7648 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7649 Fix check of `emacs-lock-unlockable-modes'.
7650 Coerce true values of `emacs-lock--try-unlocking' to t.
7651
53bbe3ad
JB
76522011-07-05 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7655 * emacs-lock.el: New file.
7656
1d3cdbc7
JD
76572011-07-05 Julien Danjou <julien@danjou.info>
7658
7659 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7660 than `boundp' to check if face is set.
7661
9173deec
JB
76622011-07-05 Juanma Barranquero <lekktu@gmail.com>
7663
7664 * register.el (registerv-make):
7665 * window.el (window-min-height): Fix typos in docstrings.
7666
869795d6
JD
76672011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7668
9173deec 7669 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7670 Update doc string.
7671
b768cdcd
JB
76722011-07-04 Juanma Barranquero <lekktu@gmail.com>
7673
7674 * server.el (server-execute): Catch quit and call
7675 `server-return-error' to pass the error back to emacsclient and
7676 close the connection (bug#8942).
7677
13aa217b
KM
76782011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7679
7680 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7681 insecure exception for current topic. Also note that auto-saves
7682 are handled differently.
7683
7684 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7685 State variables for tracking auto-save inhibition situation.
7686
7687 (allout-write-contents-hook-handler): Rename from
7688 'allout-write-file-hook-handler', and describe how it depends on
7689 write-contents-functions sensitivity to non-nil value to prevent
7690 file write.
7691
7692 (allout-auto-save-hook-handler): Remove. auto-save does not check
7693 this in individual buffers, only in the starting buffer, so this
7694 is not the right way for us to inhibit auto-save in a buffer
7695 according to its condition.
7696
7697 (allout-mode): Use new allout-write-contents-hook-handler, and
7698 only with write-contents-functions. Remove auto-save provisions -
7699 they're implemented elsewhere.
7700
7701 (allout-before-change-handler): If undo is in progress, note that
7702 for attention of allout-post-command-business.
7703
7704 (allout-post-command-business): If the command we're following was
7705 an undo, check for change in the status of encrypted items and
7706 adjust auto-save inhibitions accordingly.
7707
7708 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7709 according to whether there are or aren't any plain-text topics
7710 pending encryption.
7711
2dcdbdd9 7712 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7713 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7714 if there are plain-text topics pending encryption.
13aa217b
KM
7715
7716 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7717 buffer-saved-size and some allout state to not inhibit auto-saves
7718 if there are no longer any plain-text topics pending encryption.
7719
0757af94
SM
7720 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7721 No longer provide for exemption of the current topic.
13aa217b 7722
ac89b32c
JL
77232011-07-04 Juri Linkov <juri@jurta.org>
7724
7725 Add 7z operations to delete and save changed members (bug#8968).
7726 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7727 New defcustoms.
7728 (archive-7z-write-file-member): New function.
7729 (archive-7z-summarize): Fix the number of dashes in the
7730 listing output.
7731
8fa39615
SM
77322011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7735 (bug#8958).
7736
2f11b3f1
CY
77372011-07-04 Chong Yidong <cyd@stupidchicken.com>
7738
d66fef2b
CY
7739 * bindings.el: Ignore next-buffer and previous-buffer in
7740 minibuffer-local-map.
7741
2f11b3f1
CY
7742 * font-lock.el (font-lock-builtin-face): Change light background
7743 color to dark slate blue (Bug#6693).
7744
f932a347
WD
77452011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7746
7747 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7748
c8af70e1
SM
77492011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7752 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7753 Add switch-to-buffer.
7754
f158badc
LMI
77552011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7756
7757 * isearch.el (isearch-search-fun-function): Clarify further the
7758 meaning of the function returned.
7759
6d95bd46
MA
77602011-07-04 Michael Albinus <michael.albinus@gmx.de>
7761
7762 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7763
7764 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7765 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7766 Use it.
7767 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7768 `tramp-default-remote-path' does not exist.
7769 (tramp-send-command-and-read): New optional argument NOERROR.
7770 (tramp-open-connection-setup-interactive-shell)
7771 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7772 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7773 (tramp-process-sentinel): Flush also process' connection property.
7774 (tramp-sh-handle-start-file-process): Do not set process
7775 sentinel. It is done now ...
7776 (tramp-maybe-open-connection): ... here. (Bug#8929)
7777
909e6b67
MK
77782011-07-04 MON KEY <monkey@sandpframing.com>
7779
7780 * play/animate.el (animate-string): Doc fixes and allow changing
7781 the buffer name (bug#5417).
7782
77832011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7784
c8af70e1 7785 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7786
f34755dc
PE
77872011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7788
396cec72
PE
7789 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7790 This is simpler and helps future-proof the code.
7791 (timer-until): Use time-subtract and float-time.
08235028 7792 (timer--time-less-p): Use time-less-p.
f34755dc 7793
56e6cc31
JB
77942011-07-04 Juanma Barranquero <lekktu@gmail.com>
7795
3abb79e5
JB
7796 * type-break.el (timep): Use the value of `float-time' to avoid a
7797 byte-compiler warning.
7798
56e6cc31
JB
7799 * server.el (server-eval-and-print): Return any result, even nil.
7800
7b9430b4
PE
78012011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7802
7803 * type-break.el: Accept time formats that the builtins accept.
7804 (timep, type-break-time-difference): Accept any format that
7805 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7806 This is simpler and helps future-proof the code.
7807 (type-break-time-difference): Round rather than ignoring
7808 subseconds components.
7809
3034e9e7
LMI
78102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7811
7812 * info.el (Info-apropos-matches): Make non-interactive, since it
7813 doesn't seem to do anything useful as a command (bug#8829).
7814
1485f4c0
CY
78152011-07-03 Chong Yidong <cyd@stupidchicken.com>
7816
7817 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7818 Move from faces.el.
1485f4c0
CY
7819 (frame-default-terminal-background): New function.
7820
7821 * custom.el (custom-push-theme): Don't record faces in `changed'
7822 theme; this doesn't work correctly for per-frame face settings.
7823 (disable-theme): Use face-set-after-frame-default to reset faces.
7824 (custom--frame-color-default): New function.
7825
9fa3dd45
LMI
78262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
c8af70e1 7828 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7829 (bug#8769).
7830
6cbbc20c
KR
78312011-03-29 Kevin Ryde <user42@zip.com.au>
7832
7833 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7834 `perl-Test2' extend to match possible "fail #N" rep count
7835 (bug#8377).
7836
c7f98048
LMI
78372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7838
65676592
LMI
7839 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7840 `smtpmail-via-smtp' now returns the error instead of nil.
7841
c7f98048
LMI
7842 * isearch.el (isearch-search-fun-function): Clarify the doc string
7843 (bug#8101).
7844
56e6cc31 78452011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7846
7847 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7848 unnecessary spaces (bug#8987).
7849
2b216704
LMI
78502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851
7852 * net/network-stream.el (open-network-stream): Use the
7853 :end-of-capability command thoughout.
7854
78552011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7856
7857 * net/network-stream.el (open-network-stream): Add the
7858 :end-of-capability command parameter, used by pop3.el.
7859
36adf6ce
LMI
78602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861
1ca0da0e
LMI
7862 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7863
fc00f69c
LMI
7864 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7865 for list)" (bug#6475).
7866
28fd8759 7867 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7868 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7869 an error (bug#6297).
7870
0dd8b6da
LMI
7871 * man.el (Man-reference-regexp): Allow matching possible
7872 word-wrapped references (bug#6289).
7873
ce1438d6
LMI
7874 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7875 for consistency with the other vc buffers (bug#6197).
7876 (vc-checkin): Ditto.
7877
7878 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7879
36adf6ce
LMI
7880 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7881
e83cc1f7
LMI
78822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7883
8a20ca4c
LMI
7884 * custom.el (defcustom): Clarify that :set is only used in the
7885 Customize user interface (bug#6089).
7886
83319045
LMI
7887 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7888 associated with a file, refuse to run instead of erroring out
7889 (bug#6084).
7890
a8392169
LMI
7891 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7892 the doc string, since it appears that using `fill-column' always
7893 controls the width (bug#7845).
7894
e83cc1f7
LMI
7895 * simple.el (shell-command-on-region): Say where the error output
7896 went if `shell-command-default-error-buffer' is set (bug#6857).
7897
e47ca23b
KM
78982011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7899
7900 * allout.el (allout-yank-processing): Adjust cursor position for
7901 backwards-deleted space.
7902
7903 (allout-rebullet-heading): Register changes with
7904 allout-exposure-changed-hook, so the modified topic is properly
7905 decorated.
7906
5cf56143
LMI
79072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7908
08549772
LMI
7909 * minibuffer.el (completion-in-region): Document PREDICATE
7910 (bug#7136).
7911
48e96771
LMI
7912 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7913 of keyword/argument pairs (bug#6904).
7914
c8af70e1
SM
7915 * replace.el (multi-occur):
7916 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7917
e17d05e2
LMI
79182011-07-02 Drew Adams <drew.adams@oracle.com>
7919
7920 * dired.el (dired-mark-if): Make the message about whether it's
7921 marking or unmarking clearer (bug#8523).
7922
063b0e45
LMI
79232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924
7925 * disp-table.el (display-table-print-array): New function.
7926 (describe-display-table): Use it to print the vectors more pretty
7927 (Bug#8859).
7928
28545e04
MR
79292011-07-02 Martin Rudalics <rudalics@gmx.at>
7930
7931 * window.el (window-state-get-1): Don't assign clone numbers.
7932 Add clone-of item to list of window parameters.
7933 (window-state-put-2): Don't process clone numbers.
7934 (display-buffer-alist): Fix doc-string.
7935
3349e122
SM
79362011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * subr.el (remq): Don't allocate if it's not needed.
7939 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7940 (keymap--merge-bindings): New functions.
7941 (keymap-canonicalize): Use them to refine the canonicalization.
7942 * minibuffer.el (minibuffer-local-completion-map)
7943 (minibuffer-local-must-match-map): Move initialization from C.
7944 (minibuffer-local-filename-completion-map): Move initialization from C;
7945 don't inherit from anything here.
7946 (minibuffer-local-filename-must-match-map): Make obsolete.
7947 (completing-read-default): Use make-composed-keymap to combine
7948 minibuffer-local-filename-completion-map with either
7949 minibuffer-local-must-match-map or
7950 minibuffer-local-filename-completion-map.
7951
d224ac83
GM
79522011-07-01 Glenn Morris <rgm@gnu.org>
7953
3de63bf8
GM
7954 * type-break.el (type-break-time-sum): Use dolist.
7955
d224ac83
GM
7956 * textmodes/flyspell.el (flyspell-word-search-backward):
7957 Replace CL function.
7958
1a1e3f32
SM
79592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7960
fe3f64d5
SM
7961 * mouse.el (mouse--strip-first-event): New function.
7962 (function-key-map): Use it to map fringe clicks to normal clicks
7963 by default.
7964
eb604e34
SM
7965 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7966 (vc-bzr-revision-completion-table): Add support for annotate and date.
7967
1a1e3f32
SM
7968 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7969 inherit from parent.
7970
5bd35902
LMI
79712011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7972
ace6c69c 7973 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7974 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7975
191e2bed
LMI
7976 * dired.el (dired-mode): Fix up the doc string as suggested by
7977 Drew Adams (bug#8817).
7978
5bd35902
LMI
7979 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7980 cookie, since the manual says that it should be possible to add
7981 this function to `find-file-hook' (bug#8709).
7982
eee8207a
TZ
79832011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7984
7985 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7986 here. Noted Ted Zlatanov as the maintainer.
7987 (cfengine-common-settings, cfengine-common-syntax): New functions
7988 to set up common things between `cfengine-mode' and
7989 `cfengine3-mode'.
7990 (cfengine3-mode): New mode.
7991 (cfengine3-defuns cfengine3-defuns-regex
7992 (cfengine3-class-selector-regex cfengine3-category-regex)
7993 (cfengine3-vartypes cfengine3-font-lock-keywords)
7994 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7995 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7996
36b148cf
MA
79972011-07-01 Michael Albinus <michael.albinus@gmx.de>
7998
7999 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8000
8001 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8002
0bf4ba9a
MR
80032011-07-01 Martin Rudalics <rudalics@gmx.at>
8004
8005 * window.el (same-window-buffer-names, same-window-regexps)
8006 (same-window-p, special-display-frame-alist)
8007 (special-display-popup-frame, special-display-function)
8008 (special-display-buffer-names, special-display-regexps)
8009 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8010 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8011 (split-window-preferred-function, split-height-threshold)
8012 (split-width-threshold, even-window-heights)
8013 (display-buffer-mark-dedicated, window-splittable-p)
8014 (split-window-sensibly, window-safely-shrinkable-p):
8015 Un-obsolete.
8016 (display-buffer): Don't spread args with function specifier
8017 because special-display-popup-frame won't like it.
8018
35837f51
PE
80192011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8020
d0672f86
PE
8021 Time-stamp simplifications and fixes.
8022 These improve accuracy slightly, and future-proof the code
8023 against some potential changes to current-time format.
8024
b9444d97
PE
8025 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8026 by using time-since and float-time.
8027
0ef923dc
PE
8028 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8029 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8030 + NNN microseconds".
8031
2f81380d
PE
8032 * type-break.el (type-break-time-sum): Rewrite using time-add.
8033
845b5c3e
PE
8034 * play/hanoi.el (hanoi-current-time-float): Remove.
8035 All uses replaced by float-time.
8036
ee6f1be0
PE
8037 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8038 This yields a more-accurate answer.
8039 (rng-time-to-float): Remove; no longer needed.
8040
fe955043
PE
8041 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8042
5777162a
PE
8043 * calendar/timeclock.el (timeclock-seconds-to-time):
8044 Defalias to seconds-to-time, since they're the same thing.
8045
3103f8b6 8046 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8047 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8048 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8049
0e61a35f
SM
80502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8051
8052 * window.el (bury-buffer): Don't iconify the only frame.
8053 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8054 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8055
ddd63a1e
CY
80562011-07-01 Chong Yidong <cyd@stupidchicken.com>
8057
0e61a35f
SM
8058 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8059 Add mouse-yank-primary.
ddd63a1e 8060
055f4923
TZ
80612011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8062
8063 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8064
6a2fb145
SM
80652011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8068 (find-library-name): Use it to find relative load names when provided
8069 absolute file name (bug#8803).
8070
fd4983f2
LMI
80712011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8072
887d14ad
LMI
8073 * textmodes/flyspell.el (flyspell-word): Consider words that
8074 differ only in case as potential doublons (bug#5687).
8075
c53dc7fc
LMI
8076 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8077 Remove two rather uninteresting debugging-like messages to make
8078 debbugs.el more silent.
8079
fd4983f2
LMI
8080 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8081 a password-like phrase.
8082
7a71b18d 80832011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8084
8085 * progmodes/cc-guess.el: New file.
8086
6a2fb145 8087 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8088
8089 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8090 derived from `c-basic-common-init'.
8091
8092 * progmodes/cc-mode.el (top-level): Require cc-guess.
8093 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8094
1fa280a3
LM
80952011-06-30 Lawrence Mitchell <wence@gmx.li>
8096
8097 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8098
e6597158
AM
80992011-06-30 Alan Mackenzie <acm@muc.de>
8100
1fa280a3
LM
8101 * progmodes/cc-engine.el (c-guess-continued-construct):
8102 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8103 lock is disabled. Name this case as "CASE G".
8104
68ba37fb
KM
81052011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8106
8107 * allout.el (allout-yank-processing): Fix injection of extra space
8108 between bullet and non-whitespace character in first topic when
8109 pasting, ensuring that the actual spacing in the pasted topic
8110 following the bullet char is preserved. This extra space was
8111 causing pasted encrypted topics to get a decrypted status even
8112 when the content was actually still encrypted. Now the decryption
8113 status from before the paste is preserved.
8114
8115 (allout-flag-region): Set all allout overlays so they evaporate
8116 when reduced to zero length (evanescent), to prevent overlay
8117 leakage.
8118
887a0b34
GM
81192011-06-30 Glenn Morris <rgm@gnu.org>
8120
94b9acce
GM
8121 * w32-fns.el (w32-charset-info-alist): Declare.
8122
1d9b46d4
GM
8123 * find-dired.el (find-grep-options): Simplify.
8124
cc232200
GM
8125 * term/ns-win.el (ns-set-resource): Declare.
8126
28e77c46
GM
8127 * ses.el (row, col): Declare dynamic variables honestly.
8128
887a0b34
GM
8129 * textmodes/reftex-parse.el (index-tags): Declare.
8130
658d8eb8
CY
81312011-06-30 Chong Yidong <cyd@stupidchicken.com>
8132
8133 * cus-edit.el (customize-push-and-save): New function.
8134
8135 * files.el (hack-local-variables-confirm): Use it.
8136
1fa280a3
LM
8137 * custom.el (load-theme): New arg NO-CONFIRM.
8138 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8139 (custom-enabled-themes): Doc fix.
8140
8141 * cus-theme.el (customize-create-theme)
8142 (custom-theme-merge-theme): Callers to load-theme changed.
8143
bb617717
LMI
81442011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8145
d61bdd5d
LMI
8146 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8147 short URLs have at least one dot in them (bug #7614).
8148
bb617717
LMI
8149 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8150 nil, because using a pty is apparently too slow (bug #895).
8151
2f31f37a
LMI
81522011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8153
8154 * mail/sendmail.el (sendmail-query-once): New function.
8155 (sendmail-query-once-function): New variable.
8156
3076b24e
GM
81572011-06-29 Glenn Morris <rgm@gnu.org>
8158
faf2a174
GM
8159 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8160
3076b24e
GM
8161 * ses.el (top-level): Require cl when compiling.
8162 (ses-set-localvars): Fix error statement.
8163 Call it at compile time to silence a storm of warnings.
8164
5386012d
MR
81652011-06-29 Martin Rudalics <rudalics@gmx.at>
8166
8167 * window.el (normalize-live-buffer): Rename to
8168 window-normalize-buffer.
8169 (normalize-live-frame): Rename to window-normalize-frame.
8170 (normalize-any-window): Rename to window-normalize-any-window.
8171 (normalize-live-window): Rename to window-normalize-live-window.
8172 (make-window-atom): Rename to window-make-atom.
8173 (window-resize-reset): Rename to window--resize-reset.
8174 (window-resize-reset-1): Rename to window--resize-reset-1.
8175 (resize-mini-window): Rename to window--resize-mini-window.
8176 (resize-subwindows-skip-p): Rename to
8177 window--resize-subwindows-skip-p.
8178 (resize-subwindows-normal): Rename to
8179 window--resize-subwindows-normal.
8180 (resize-subwindows): Rename to window--resize-subwindows.
8181 (resize-other-windows): Rename to window--resize-siblings.
8182 (resize-this-window): Rename to window--resize-this-window.
8183 (resize-root-window): Rename to window--resize-root-window.
8184 (resize-root-window-vertically): Rename to
8185 window--resize-root-window-vertically.
8186 (normalize-buffer-to-display): Rename to
8187 window-normalize-buffer-to-display.
8188 (normalize-buffer-to-switch-to): Rename to
8189 window-normalize-buffer-to-switch-to.
8190 Correspondingly update all callers of the functions listed
8191 above.
8192 (display-buffer-alist, display-buffer-normalize-arguments)
8193 (display-buffer-normalize-options, display-buffer)
8194 (display-buffer-alist-set): Use "function" instead of
8195 "fun-with-args".
8196
1176868d
CY
81972011-06-28 Chong Yidong <cyd@stupidchicken.com>
8198
8199 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8200 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8201 debbugs.gnu.org. Mention acknowledgment email.
8202
20a7a65f
LMI
82032011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8204
8205 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8206 buffer multibyteness, since it shouldn't matter.
8207
5f45cca5
MR
82082011-06-28 Martin Rudalics <rudalics@gmx.at>
8209
8210 * window.el (display-buffer-in-side-window): Handle dedicated
8211 windows as in display-buffer-reuse-window.
8212 (display-buffer-normalize-alist): Use value of override
8213 specifier.
8214 (display-buffer-normalize-specifiers): Use value of
8215 other-window-means-other-frame specifier.
8216 (display-buffer-alist): Rewrite some texts in widgets.
8217 (display-buffer): Spread arguments when calling function
8218 specified by fun-with-args.
8219
ad85fe1f
DD
82202011-06-28 Deniz Dogan <deniz@dogan.se>
8221
1fa280a3
LM
8222 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8223 Unnest `let'.
da68c4c8 8224
ad85fe1f
DD
8225 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8226 selectors (Bug#5732).
ec49bd31 8227 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8228
a08cc025
JA
82292011-06-27 Jari Aalto <jari.aalto@cante.net>
8230
8231 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8232 (eshell-ls-date-format): New defcustom.
8233 (eshell-ls-file): Use it.
8234
e2b551c5
SM
82352011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8238
8982b231
KY
82392011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8240
8241 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8242 (ange-ftp-make-tmp-name): New arg.
8243 (ange-ftp-file-local-copy): Use it.
8244
36c9fa27
J
82452011-06-27 Jambunathan K <kjambunathan@gmail.com>
8246
8247 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8248 no-conversion (Bug#8870).
8249
d68443dc
MR
82502011-06-27 Martin Rudalics <rudalics@gmx.at>
8251
8252 * window.el (window-right, window-left, window-child)
8253 (window-child-count, window-last-child)
8254 (window-iso-combination-p, walk-window-tree-1)
8255 (window-atom-check-1, window-tree-1, delete-window)
8256 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8257 new naming conventions - window-vchild, window-hchild,
8258 window-next and window-prev are now called window-top-child,
8259 window-left-child, window-next-sibling and window-prev-sibling
8260 respectively.
d615d6d2
MR
8261 (resize-window-reset): Rename to window-resize-reset.
8262 (resize-window-reset-1): Rename to window-resize-reset-1.
8263 (resize-window): Rename to window-resize.
8264 (window-min-height, window-min-width)
8265 (resize-mini-window, resize-this-window, resize-root-window)
8266 (resize-root-window-vertically, adjust-window-trailing-edge)
8267 (enlarge-window, shrink-window, maximize-window)
8268 (minimize-window, delete-window, quit-restore-window)
8269 (split-window, balance-windows, balance-windows-area-adjust)
8270 (balance-windows-area, window-state-put-2)
8271 (display-buffer-even-window-sizes, display-buffer-set-height)
8272 (display-buffer-set-width, set-window-text-height)
8273 (fit-window-to-buffer): Rename all "resize-window" prefixed
8274 calls to use the "window-resize" prefix convention.
8275 (display-buffer-alist): Fix symbol for label specifier.
8276 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8277 corresponding specifier.
8278 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8279
b6458526
VB
82802011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8281
8282 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8283 convention.
8284 (ses-call-printer): Does not pass an empty string to formatter when the
8285 cell is empty to keep from barking printer Calc math-format-value.
8286
d31fd9ac
RS
82872011-06-27 Richard Stallman <rms@gnu.org>
8288
43d5bf84
RS
8289 * battery.el (battery-mode-line-limit): New variable.
8290 (battery-update): Handle it.
8291
d31fd9ac
RS
8292 * mail/rmailmm.el (rmail-mime-process-multipart):
8293 Handle truncated messages.
8294
819a6054
GM
82952011-06-27 Glenn Morris <rgm@gnu.org>
8296
8297 * progmodes/flymake.el (flymake-err-line-patterns):
8298 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8299
cedc73f2
VB
83002011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8301
819a6054 8302 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8303 (ses--clean-!, ses--clean-_): New functions.
8304 (ses-range): Add configurability of readout order, and conversion
8305 to Calc vector.
8306
5e5d49b6
VB
8307 * ses.el (ses-repair-cell-reference-all): New function.
8308 (ses-cell-symbol): Set macro as safe, so that it can be used in
8309 formulas.
8310
56e6cc31 8311 * ses.el: Update cycle detection algorithm.
90ca8b49 8312 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8313 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8314 (ses-set-localvars): New function.
8315 (ses-make-cell): Add property-list as a cell element.
8316 (ses-cell-property-get-fun, ses-cell-property-get)
8317 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8318 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8319 New functions.
90ca8b49
VB
8320 (ses-cell-property-set, ses-cell-property-pop)
8321 (ses-cell-property-get-handle): New macro.
8322 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8323 New aliases, used for code readability.
8324 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8325 cycle detection.
8326 (ses-self-reference-early-detection): New defcustom.
fac916bf 8327 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8328 (ses-mode): Use ses-set-localvars.
8329 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8330 before lauching the update processing.
8331 (ses-initialize-Dijkstra-attempt): New function.
8332 (ses-recalculate-cell): Update for cycle detection based on
8333 Dijkstra algorithm.
8334
2bb63e81
VB
8335 * ses.el: Fix commenting and indenting convention.
8336
c9d29fb8
SM
83372011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * bs.el (bs-cycle-next): Complete last change.
8340
d8e4b68b
JB
83412011-06-27 Drew Adams <drew.adams@oracle.com>
8342
8343 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8344
40098786
LMI
83452011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8346
c9d29fb8
SM
8347 * net/network-stream.el (network-stream-open-starttls):
8348 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8349 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8350
40098786
LMI
8351 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8352 to binary to possibly avoid line encoding issues on Windows (among
8353 other things).
8354
468d09d4
LMI
83552011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8356
8357 * net/network-stream.el (open-network-stream): Return an :error
8358 saying what the problem was, if possible.
8359
8360 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8361 server.
8362
8363 * net/network-stream.el (network-stream-open-starttls): If we
8364 wanted to use STARTTLS, and the server offered it, but we weren't
8365 able to because we had no STARTTLS support, then close the connection.
8366 (open-network-stream): Return an :error element, if present.
8367
16f07dd7
CY
83682011-06-26 Chong Yidong <cyd@stupidchicken.com>
8369
88821ca0
CY
8370 * hl-line.el (hl-line-sticky-flag): Doc fix.
8371 (global-hl-line-sticky-flag): New option (Bug#8323).
8372 (global-hl-line-highlight): Obey it.
8373
16f07dd7
CY
8374 * vc/vc.el (vc-revert-show-diff): Default to t.
8375
6b5ccddf
KM
83762011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8377
c9d29fb8
SM
8378 * allout-widgets.el (allout-widgets-post-command-business):
8379 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8380 undecorated when an isearch is continued past, and isearch
8381 automatically collapses them. This leads to "widget leaks", where
8382 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8383 hidden widgets can slow down cursor travel, substantially.
8384 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8385 so we're doing without this nicety.
8386
8387 (allout-widgets-tally-string): Don't try to do a hash-table-count
8388 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8389 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8390 *Messages* when allout-widgets-maintain-tally is t.
8391
355f2e07
MR
83922011-06-26 Martin Rudalics <rudalics@gmx.at>
8393
8394 * window.el (display-buffer-normalize-argument): Rename to
8395 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8396 LABEL argument. Respect special-display-function when popping up
8397 a new frame. Fix code searching for a window showing the buffer
8398 on another frame.
c9d29fb8
SM
8399 (display-buffer-normalize-specifiers):
8400 Call display-buffer-normalize-arguments.
355f2e07
MR
8401 (display-buffer-in-window): Don't undedicate the window if its
8402 buffer remains the same.
8403 Reported by Drew Adams <drew.adams@oracle.com>.
8404 (display-buffer-alist): Add choice for same-window macro
8405 specfier.
8406 (display-buffer): Mention special meaning of LABEL argument in
8407 doc-string. Fix quoting. Don't pop up a new frame even as
8408 fallback.
8409
7ca8fc42
JB
84102011-06-26 Juanma Barranquero <lekktu@gmail.com>
8411
8412 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8413 avoid deleting the current window in some cases (bug#8911).
8414
bc312254
AS
84152011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8416
8417 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8418 (Bug#8934)
8419
2db18f3f
LMI
84202011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8421
c9d29fb8
SM
8422 * net/network-stream.el (network-stream-open-starttls):
8423 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8424 (network-stream-open-tls): Ditto.
8425
6302e0d3
LL
84262011-06-26 Leo Liu <sdl.web@gmail.com>
8427
8428 * register.el (registerv): New struct.
8429 (registerv-make): New function.
c9d29fb8
SM
8430 (jump-to-register, describe-register-1, insert-register):
8431 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8432 struct. (Bug#8415)
8433
5fdd4046
CY
84342011-06-26 Chong Yidong <cyd@stupidchicken.com>
8435
2afef60a
CY
8436 * vc/vc.el (vc-revert-show-diff): New defcustom.
8437 (vc-diff-internal): New arg specifying diff buffer.
8438 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8439 reuse an existing *vc-diff* buffer (Bug#8927).
8440
5fdd4046
CY
8441 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8442
e93db24a
GM
84432011-06-26 Glenn Morris <rgm@gnu.org>
8444
8445 * progmodes/f90.el (f90-critical-indent): New option.
8446 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8447 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8448 (f90-mode): Doc fix.
8449 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8450 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8451 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8452 (f90-match-end): Handle block, critical.
8453
eefff499
GM
84542011-06-25 Glenn Morris <rgm@gnu.org>
8455
f6ba4cc9
GM
8456 * calendar/diary-lib.el (diary-included-files): Doc fix.
8457 (diary-include-files): New function, extracted from
8458 diary-include-other-diary-files and diary-mark-included-diary-files.
8459 (diary-include-other-diary-files, diary-mark-included-diary-files):
8460 Just call diary-include-files.
8461 (diary-mark-entries): Reset diary-included-files on first call.
8462
16712304
GM
8463 * calendar/diary-lib.el (diary-mark-entries)
8464 (diary-mark-included-diary-files):
8465 Visit included diary-files in temp buffers.
8466
5d8e0d43
GM
8467 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8468 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8469 (f90-start-block-re, f90-imenu-generic-expression)
8470 (f90-looking-at-program-block-start, f90-no-block-limit):
8471 Add support for submodules.
8472
ccf7a5d5
GM
8473 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8474 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8475
11fdef7d 84762011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8477
8478 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8479 buffer-file-type before setting its value, to avoid disastrous
eefff499 8480 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8481
74f53697
JB
84822011-06-25 Juanma Barranquero <lekktu@gmail.com>
8483
8484 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8485
8486 * ses.el (ses-unload-function):
8487 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8488
8489 * proced.el (proced-unload-function):
8490 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8491
18a4ce5e
AR
84922011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8493
8494 * server.el (server-create-window-system-frame): Add parameters arg.
8495 (server-process-filter): Doc fix. Handle frame-parameters.
8496
519d22cc
JB
84972011-06-25 Juanma Barranquero <lekktu@gmail.com>
8498
8499 Fix bug#8730, bug#8781.
8500
8501 * loadhist.el (unload--set-major-mode): New function.
8502 (unload-feature): Use it.
8503
8504 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8505 (python-unload-function): New function.
8506
c206f5b0
SM
85072011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8510
f9ad64f3
GS
85112011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8512
8513 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8514 the candidates list.
8515
7d0da90e
JB
85162011-06-24 Juanma Barranquero <lekktu@gmail.com>
8517
8518 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8519
14b4e83d
RS
85202011-06-23 Richard Stallman <rms@gnu.org>
8521
8522 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8523 (rmail-variables): Set next-error-move-function.
8524 (rmail-what-message): Take argument POS.
8525 (rmail-next-error-move): New function.
8526
273d2baf
SM
85272011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8530 messages for adjacent non-terminals.
8531
56c2cc9a
RS
85322011-06-23 Richard Stallman <rms@gnu.org>
8533
8534 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8535 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8536 (rmail-start-mail): Don't specify use of rmail-mail-return;
8537 that's done by mail-bury now.
8538 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8539
d59eb518
MA
85402011-06-23 Michael Albinus <michael.albinus@gmx.de>
8541
8542 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8543 SIZE is a number.
8544
02cfc6d6
MR
85452011-06-23 Martin Rudalics <rudalics@gmx.at>
8546
8547 * window.el (get-lru-window, get-mru-window)
8548 (get-largest-window): Never return a minibuffer window.
8549 (display-buffer-pop-up-window): Fix a bug that could lead to
8550 reusing the minibuffer window.
8551 (display-buffer): Pass original specifier argument to
8552 display-buffer-function instead of the normalized one.
8553 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8554
4e323265
LL
85552011-06-22 Leo Liu <sdl.web@gmail.com>
8556
8557 * minibuffer.el (completing-read-function)
8558 (completing-read-default): Move from minibuf.c
8559
7a70468f
RS
85602011-06-22 Richard Stallman <rms@gnu.org>
8561
50718fc2
RS
8562 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8563 to Rmail even if not started by a special Rmail command.
8564
7a70468f
RS
8565 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8566 Copy the buffer currently showing just one message.
8567
297dde5a
RW
85682011-06-22 Roland Winkler <winkler@gnu.org>
8569
8570 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8571 (bibtex-clean-entry): First delete the old key so that a
8572 customized algorithm for generating the new key does not get
8573 confused by the old key.
8574 (bibtex-url): Obey regexp of first step.
8575 (bibtex-search-entries): Do not use add-to-list with local
8576 list-var.
8577
97bb1093
LMI
85782011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
8580 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8581 stored a user name, then query for the password first, instead of
8582 waiting for SMTP to give an error message and the trying again.
8583
1c0f1a19
JD
85842011-06-22 Lawrence Mitchell <wence@gmx.li>
8585
8586 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8587 BUFFER in call-process.
8588
396f7c9d
LMI
85892011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8590
8591 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8592 QUIT twice.
ddb7ffee
LMI
8593 (smtpmail-try-auth-methods): Require user name and password from
8594 auth-source.
396f7c9d 8595
8998d1b3
MR
85962011-06-22 Martin Rudalics <rudalics@gmx.at>
8597
8598 * window.el (display-buffer-default-specifiers)
8599 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8600 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8601 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8602
8603 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8604 (special-display-frame-alist, special-display-popup-frame):
8605 Remove duplicate declarations. These are now in window.el.
8606
4ea31e07
LMI
86072011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8608
c9d29fb8
SM
8609 * mail/smtpmail.el (smtpmail-via-smtp):
8610 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8611 server supports it. SMTP servers that support STARTTLS commonly
8612 require it.
8613
8614 * net/network-stream.el (network-stream-open-starttls): Support
8615 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8616 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8617
95f41d9a
LMI
8618 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8619 upgrades with `open-network-stream', and rely solely on
8620 auth-source for all credentials. Big changes throughout the file,
8621 but in particular:
c9d29fb8
SM
8622 (smtpmail-auth-credentials): Remove.
8623 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8624 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8625 MAIL FROM, too.
95f41d9a 8626
c9d29fb8
SM
8627 * net/network-stream.el (network-stream-open-starttls):
8628 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8629 STARTTLS.
8630 (auth-source): Require.
8631 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8632 (network-stream-certificate): Change cert-cert to cert and
8633 cert-key to key.
4ea31e07 8634
065ec2c7
MA
86352011-06-21 Michael Albinus <michael.albinus@gmx.de>
8636
8637 * net/tramp-cache.el (top): Don't load the persistency file when
8638 "emacs -Q" has been called.
8639
cd93b359
DR
86402011-06-21 Tim Harper <timcharper@gmail.com>
8641
d8e4b68b
JB
8642 * term/ns-win.el (ns-initialize-window-system):
8643 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8644 resource to NO as it is not yet supported by the NS port.
8645
ae9c0411
JB
86462011-06-21 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8649 (list-dynamic-libraries): ...not here.
8650
7f3f739f
LL
86512011-06-21 Leo Liu <sdl.web@gmail.com>
8652
8653 * subr.el (sha1): Implement sha1 using secure-hash.
8654
327c8fb1
MR
86552011-06-21 Martin Rudalics <rudalics@gmx.at>
8656
8657 * window.el (display-buffer-alist): In default value do not
8658 enforce searching a window on any but the selected frame.
8659 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8660 (display-buffer-select-window): Remove function.
8661 (display-buffer-in-window): When a window on another frame gets
8662 reused, do not select it any more but just raise its frame if
8663 necessary (Bug#8851) and (Bug#8856).
8664 (display-buffer-normalize-options): Handle pop-up-frames related
8665 options more faithfully.
8666 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8667 window if it is on another frame.
c9d29fb8
SM
8668 (display-buffer-alist, display-buffer-default-specifiers):
8669 Don't make new frame unsplittable by default.
9e9de014
MR
8670 (display-buffer-normalize-argument): Fix doc-string typo and use
8671 'same-frame-other-window instead of 'other-window when associating
8672 with display-buffer-macro-specifiers.
327c8fb1 8673
7cf3f556
VB
86742011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8675
8676 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8677 New functions.
8678 (5x5-mode-map, 5x5-mode-menu): Bind them.
8679 (5x5-draw-grid): Tweak the solver's rendering.
8680
60a406cf
SM
86812011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8684 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8685
d8e4b68b 86862011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8687
8688 * menu-bar.el: Use function variable instead of switch-to-buffer.
8689 (menu-bar-select-buffer-function): New variable.
60a406cf 8690 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8691
478d6f95
SM
86922011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8693
8694 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8695 variable's status.
8696
ca530739
JD
86972011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8698
8699 * x-dnd.el (x-dnd-version-from-flags)
8700 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8701 and long as number (Bug#8899).
8702 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8703
bcd70d97
SM
87042011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8705
60a406cf 8706 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8707 (completion-try-completion, completion-all-completions): Compute the
8708 metadata argument if it's missing; make it optional (bug#8795).
8709
60a406cf 8710 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8711 (widget-complete): Use new :completion-function property.
8712 (widget-completions-at-point): New function.
8713 (default): Use :completion-function instead of :complete.
60a406cf
SM
8714 (widget-default-completions): Rename from widget-default-complete;
8715 Rewrite.
bcd70d97
SM
8716 (widget-string-complete, widget-file-complete, widget-color-complete):
8717 Remove functions.
8718 (file, symbol, function, variable, coding-system, color):
8719 * international/mule-cmds.el (default-input-method, charset)
8720 (language-info-custom-alist):
8721 * cus-edit.el (face): Use new property :completions.
8722
8723 * progmodes/pascal.el (pascal-completions-at-point): New function.
8724 (pascal-mode): Use it.
8725 (pascal-mode-map): Use completion-at-point.
8726 (pascal-toggle-completions): Make obsolete.
8727 (pascal-complete-word, pascal-show-completions):
8728 * progmodes/octave-mod.el (octave-complete-symbol):
8729 Redefine as obsolete alias.
8730 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8731 Signal absence of completion info for old Octave,
8732 (inferior-octave-complete): Redefine as obsolete alias.
8733 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8734 (meta-completions-at-point): Rename from meta-complete-symbol and
8735 adapt it for use on completion-at-point-functions.
8736 (meta-common-mode): Use it.
8737 (meta-looking-at-backward, meta-match-buffer): Remove.
8738 (meta-complete-symbol): Redefine as obsolete alias.
8739 (meta-common-mode-map): Use completion-at-point.
8740 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8741 (makefile-mode-map): Use completion-at-point.
8742 (makefile-completions-at-point): Rename from makefile-complete and
8743 adapt it for use on completion-at-point-functions.
8744 (makefile-mode): Use it.
8745 (makefile-complete): Redefine as obsolete alias.
8746
aebf69c8
DD
87472011-06-20 Deniz Dogan <deniz@dogan.se>
8748
8749 * net/rcirc.el: Delete trailing whitespaces once and for all.
8750
bfbbb27d
DC
87512011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8752
8753 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8754
d264a46b
CY
87552011-06-19 Chong Yidong <cyd@stupidchicken.com>
8756
4ca009e5
CY
8757 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8758
d264a46b
CY
8759 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8760
fbf5b3ce
MR
87612011-06-19 Martin Rudalics <rudalics@gmx.at>
8762
8763 * window.el (display-buffer-other-window-means-other-frame):
8764 Call display-buffer-normalize-alist.
8765 (display-buffer-normalize-specifiers-1): Rename to
8766 display-buffer-normalize-argument. New argument other-frame.
8767 Rewrite.
8768 (display-buffer-normalize-specifiers-2): Rename to
8769 display-buffer-normalize-options.
8770 (display-buffer-normalize-alist-1): New function.
8771 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8772 display-buffer-normalize-alist.
8773 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8774 (display-buffer-normalize-options-inhibit): New variable.
8775 (display-buffer-normalize-specifiers): Rewrite calling
8776 display-buffer-normalize-alist,
8777 display-buffer-normalize-argument, and
8778 display-buffer-normalize-options. Don't call the latter if
8779 display-buffer-normalize-options-inhibit is non-nil.
8780 (frame-auto-delete): New option.
8781 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8782 (window-list-no-nils, window-state-ignored-parameters)
8783 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8784 (window-state-put-1, window-state-put-2, window-state-put):
8785 New functions.
9a028c23
MR
8786 (display-buffer-normalize-options): Move special-display-p group
8787 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8788
6d10d800
CY
87892011-06-18 Chong Yidong <cyd@stupidchicken.com>
8790
6420d28b
CY
8791 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8792 groups (Bug#8776).
8793 (rx-submatch-n): New function.
8794 (rx): Document it.
8795
ddb8b596
CY
8796 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8797 (Bug#8768).
8798
8799 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8800
77080289
CY
8801 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8802
61dfb316
CY
8803 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8804 anytime existing face settings are present (Bug#8889).
8805
6d10d800
CY
8806 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8807 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8808 Remove unused argument.
8809
be3fb2b8
MR
88102011-06-18 Martin Rudalics <rudalics@gmx.at>
8811
bcd70d97
SM
8812 * window.el (display-buffer-default-specifiers):
8813 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8814 pop-up-window-min-width, and another reuse-window specifier
8815 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8816 (display-buffer-normalize-specifiers-2):
8817 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8818 pop-up-windows is unset. Add a reuse-window specifier for the
8819 case popping up a new window fails.
8820 (special-display-popup-frame): Remove double quoting.
28dec25a 8821 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8822
1c6d8c76
SM
88232011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8826 according to comint-completion-addsuffix.
8827
8828 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8829 (pcomplete-suffix-list): Mark as obsolete.
8830 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8831 pcomplete-seen in the closure.
8832 (pcomplete-comint-setup): Setup completion-at-point as well.
8833 (pcomplete--entries): New function.
8834 (pcomplete--env-regexp): New var.
8835 (pcomplete-entries): Rewrite to work with partial-completion and
8836 without relying on pcomplete-suffix-list.
8837 (pcomplete-pare-list): Remove, unused.
8838
25aef8b8
MR
88392011-06-17 Martin Rudalics <rudalics@gmx.at>
8840
8841 * window.el (display-buffer-alist): Set pop-up-window-min-height
8842 and pop-up-window-min-width in default value. Reported by
8843 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8844 other-window-means-other-frame.
8845 (display-buffer-macro-specifiers): Comment out entry for
8846 other-window specifier.
8847 (display-buffer-other-window-means-other-frame): New function.
8848 (display-buffer-normalize-specifiers-1): New arguments
8849 buffer-name and label. Treat other-window case specially.
8850 (display-buffer-normalize-specifiers-2): Treat other-window case
8851 specially.
8852 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8853 (display-buffer-normalize-specifiers):
8854 Call display-buffer-normalize-specifiers-3.
25aef8b8 8855
dbad4f69
MR
88562011-06-17 Martin Rudalics <rudalics@gmx.at>
8857
8858 * window.el (same-window-p): Fix two typos introduced when
8859 adding with-no-warnings.
d1067961
MR
8860 (display-buffer-normalize-specifiers-1): Don't check
8861 pop-up-frames for 'unset initialization.
8862 (display-buffer-normalize-specifiers-2): Major rewrite using
8863 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8864 (pop-up-frames, display-buffer-reuse-frames)
8865 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8866 Suggested by David Engster <deng@randomsample.de>.
8867 (even-window-heights): Initialize to 'unset.
8868 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8869 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8870 other window case.
dbad4f69 8871
9b9c9e3a
MR
88722011-06-16 Martin Rudalics <rudalics@gmx.at>
8873
bcd70d97
SM
8874 * window.el (display-buffer-normalize-specifiers-1):
8875 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8876 second argument of display-buffer (Bug#8865).
981d5c09
MR
8877 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8878 (switch-to-buffer-other-window-same-frame)
8879 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8880 Adams (Bug#8875).
9c2755e9
MR
8881 (display-buffer): Don't check noninteractive when calling
8882 display-buffer-pop-up-frame.
8883 (display-buffer-pop-up-frame): Never pop up a frame in
8884 noninteractive mode (Bug#8857).
67222e1d
MR
8885 (enlarge-window, shrink-window): Don't report an error when the
8886 window can't be resized as requested (Bug#8862).
9b9c9e3a 8887
2b75be67
SM
88882011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8889
9ffdd3ba
SM
8890 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8891
cb581a67
SM
8892 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8893
2b75be67
SM
8894 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8895
8c0e3589
AM
88962011-06-15 Alan Mackenzie <acm@muc.de>
8897
cb581a67
SM
8898 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8899 for declarators, disable knr checking to speed up for normal files.
8900 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8901
b96e6cde
LMI
89022011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8903
4bba86e6
LMI
8904 * net/network-stream.el (open-network-stream): Add the keyword
8905 :always-query-capabilities for the case where you want to force a
8906 `plain' network connection, but the protocol still requires the
8907 capabilitiy command (i.e., SMTP and EHLO).
8908
2b75be67 8909 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8910 consistency with other `-live-p' functions.
8911
efdcdbf8
SM
89122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * window.el (same-window-buffer-names, same-window-regexps)
8915 (special-display-frame-alist, special-display-popup-frame)
8916 (special-display-function, special-display-buffer-names)
8917 (special-display-regexps, pop-up-frame-alist)
8918 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8919 (pop-up-windows, split-window-preferred-function)
8920 (split-height-threshold, split-width-threshold, even-window-heights)
8921 (display-buffer-mark-dedicated): Don't encourage the use of
8922 display-buffer-alist from Elisp code.
8923
c5cde042
DN
89242011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8925
8926 * progmodes/python.el (python-mode): Derive from prog-mode.
8927 * progmodes/ps-mode.el (ps-mode):
8928 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8929 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8930 * progmodes/ld-script.el (ld-script-mode): Likewise.
8931
baa1c9ab
MR
89322011-06-15 Martin Rudalics <rudalics@gmx.at>
8933
8934 * window.el (display-buffer-alist): Trim default value to avoid
8935 popping up a new frame (Bug#8857) or reusing an arbitrary window
8936 on another frame.
8937 (display-buffer): Do not fall back on popping up a new frame in
8938 batch mode (Bug#8857).
8939
c5dd5a51
CY
89402011-06-14 Chong Yidong <cyd@stupidchicken.com>
8941
8942 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8943 (custom-theme-summary): New function.
8944 (customize-themes): Use it.
8945
d647b7c4
GM
89462011-06-13 Glenn Morris <rgm@gnu.org>
8947
8948 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8949
9481c002
MR
89502011-06-13 Martin Rudalics <rudalics@gmx.at>
8951
357f93d2
MR
8952 * help.el (help-window): Remove variable.
8953 (help-window-point-marker, temp-buffer-max-height)
8954 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8955 (help-print-return-message): Don't set help-window.
8956 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8957 (help-window-setup-finish): Remove.
8958 (help-window-display-message, help-window-setup)
8959 (with-help-window): Major rewrite based on new
8960 display-buffer-window variable.
8961
8962 * help-mode.el (help-mode-finish): Remove help-window related
8963 code.
8964
8965 * view.el (view-exits-all-viewing-windows): Remove reference to
8966 view-return-to-alist in doc-string.
8967 (view-return-to-alist): Make obsolete.
8968 (view-buffer): Call pop-to-buffer-same-window and remove
8969 undo-window code.
8970 (view-buffer-other-window): Call pop-to-buffer-other-window and
8971 simplify code. Ignore second argument.
8972 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8973 simplify code. Ignore second argument.
8974 (view-return-to-alist-update): Make obsolete.
8975 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8976 Rewrite using quit-restore window parameters.
2b75be67
SM
8977 (view-mode-exit): Rename second argument to EXIT-ONLY.
8978 Rewrite using quit-restore-window.
357f93d2
MR
8979 (View-exit, View-exit-and-edit, View-leave, View-quit)
8980 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8981 appropriate arguments.
8982 (view-end-message): Use quit-restore window parameter.
8983
9481c002
MR
8984 * window.el (display-buffer-function): Rewrite doc-string.
8985 (display-buffer-window, display-buffer-alist): New variables.
8986 (display-buffer-split-specifiers)
8987 (display-buffer-side-specifiers)
8988 (display-buffer-macro-specifiers): New constants.
8989 (display-buffer-even-window-sizes, display-buffer-set-height)
8990 (display-buffer-set-width, display-buffer-select-window)
8991 (display-buffer-in-window, display-buffer-reuse-window)
8992 (display-buffer-split-window-1, display-buffer-split-window)
8993 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8994 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8995 (display-buffer-in-side-window, normalize-buffer-to-display)
8996 (display-buffer-normalize-specifiers-1)
8997 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8998 (display-buffer-normalize-specifiers, display-buffer-frame):
8999 New functions.
9481c002
MR
9000 (display-buffer): Major rewrite.
9001 (display-buffer-other-window, display-buffer-other-frame)
9002 (pop-to-buffer, switch-to-buffer-other-window)
9003 (switch-to-buffer-other-frame): Rewrite.
9004 (display-buffer-same-window, display-buffer-same-frame)
9005 (display-buffer-same-frame-other-window)
9006 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9007 (pop-to-buffer-other-window)
9008 (pop-to-buffer-same-frame-other-window)
9009 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9010 (switch-to-buffer-other-window-same-frame): New functions.
9011 (same-window-p, special-display-p): Rewrite disabling warnings.
9012 Make obsolete.
9013 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9014 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9015 Make obsolete
9016 (same-window-buffer-names, same-window-regexps)
9017 (special-display-frame-alist, special-display-popup-frame)
9018 (special-display-function, special-display-buffer-names)
9019 (special-display-regexps, pop-up-frame-alist)
9020 (pop-up-frame-function, split-window-preferred-function)
9021 (split-height-threshold, split-width-threshold)
9022 (even-window-heights): Make obsolete.
9023
9db51aca
GM
90242011-06-12 Glenn Morris <rgm@gnu.org>
9025
9026 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9027 Misc simplifications.
9db51aca 9028
39cffb44
MR
90292011-06-12 Martin Rudalics <rudalics@gmx.at>
9030
9031 * window.el (window-safely-shrinkable-p): Restore function which
9032 was inadvertently removed in change from 2011-06-11. Declare as
9033 obsolete.
9034
2b75be67
SM
9035 * calendar/calendar.el (calendar-generate-window):
9036 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9037 window-safely-shrinkable-p.
9038
a8955be7
GM
90392011-06-12 Glenn Morris <rgm@gnu.org>
9040
9041 * progmodes/fortran.el (fortran-mode-syntax-table):
9042 * progmodes/f90.el (f90-mode-syntax-table):
9043 Set % to punctuation. (Bug#8820)
9044 (f90-find-tag-default): Remove, no longer needed.
9045
f0d4059d
DC
90462011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9047
9048 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9049
1100a63c
CY
90502011-06-11 Chong Yidong <cyd@stupidchicken.com>
9051
9052 * image.el (image-animated-p): Return animation delay in seconds.
9053 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9054 (image-animate-timeout): Remove DELAY argument. Don't assume
9055 every subimage has the same delay; get it from image-animated-p.
9056 (image-animate): Caller changed.
9057
def722bf
MA
90582011-06-11 Michael Albinus <michael.albinus@gmx.de>
9059
9060 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9061 to ignored backtrace functions.
9062
0a2bb1a9
GM
90632011-06-11 Glenn Morris <rgm@gnu.org>
9064
9065 * calendar/appt.el (appt-disp-window-function): Doc fix.
9066 (appt-check): Handle overlapping appointments. (Bug#8337)
9067
6198ccd0
MR
90682011-06-11 Martin Rudalics <rudalics@gmx.at>
9069
9070 * window.el (window-tree-1, window-tree): New functions, moving
9071 the latter to window.el.
9072 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9073 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9074 (bw-refresh-edges): Remove.
9075 (balance-windows-1, balance-windows-2): New functions.
9076 (balance-windows): Rewrite in terms of window tree functions,
9077 balance-windows-1 and balance-windows-2.
9078 (bw-adjust-window): Remove.
9079 (balance-windows-area-adjust): New function with functionality of
9080 bw-adjust-window but using resize-window.
2b75be67
SM
9081 (set-window-text-height): Rewrite doc-string.
9082 Use normalize-live-window and resize-window.
9083 (enlarge-window-horizontally, shrink-window-horizontally):
9084 Rename argument to DELTA.
6198ccd0
MR
9085 (window-buffer-height): New function.
9086 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9087 Rewrite using new window resize routines.
2b75be67
SM
9088 (kill-buffer-and-window, mouse-autoselect-window-select):
9089 Use ignore-errors instead of condition-case.
6198ccd0
MR
9090 (quit-window): Call delete-frame instead of delete-windows-on
9091 for the only buffer on frame.
9092
9397e56f
MR
90932011-06-10 Martin Rudalics <rudalics@gmx.at>
9094
9095 * loadup.el (top-level): Load window before files for the sake
9096 of replace-buffer-in-windows.
9097
9098 * files.el (read-buffer-to-switch)
9099 (switch-to-buffer-other-window)
2b75be67
SM
9100 (switch-to-buffer-other-frame, display-buffer-other-frame):
9101 Move to window.el.
9397e56f
MR
9102
9103 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9104 (previous-buffer): Move to window.el.
9105
9106 * bindings.el (unbury-buffer): Move to window.el.
9107
9108 * window.el (delete-other-windows-vertically): Move after
9109 definition of delete-other-windows.
9110 (other-window, delete-windows-on, replace-buffer-in-windows):
9111 Move here from window.c.
9112 (record-window-buffer, unrecord-window-buffer)
9113 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9114 (switch-to-next-buffer): New functions.
9115 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9116 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9117 (previous-buffer): Move here from simple.el.
9118 Call switch-to-prev-buffer.
9397e56f
MR
9119 (bury-buffer): Move here from buffer.c. Switch to previous
9120 buffer when window cannot be deleted.
9121 (unbury-buffer): Move here from bindings.el.
9122 (ctl-x-map): Move binding for other-window from window.c to
9123 here.
9124 (read-buffer-to-switch, switch-to-buffer-other-window)
9125 (switch-to-buffer-other-frame): Move here from files.el.
9126 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9127 (switch-to-buffer): Move here from buffer.c.
9128 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9129
562dd5e9
MR
91302011-06-10 Martin Rudalics <rudalics@gmx.at>
9131
9132 * window.el (window-min-height, window-min-width): Move here
9133 from window.c. Add defcustoms and rewrite doc-strings.
9134 (resize-mini-window, resize-window): New functions.
9135 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9136 Move here from window.c.
9137 (maximize-window, minimize-window): New functions.
9138 (delete-window, delete-other-windows, split-window): Move here
9139 from window.c.
9140 (window-split-min-size): New function.
9141 (split-window-keep-point): Mention split-window-above-each-other
9142 instead of split-window-vertically.
2b75be67 9143 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9144 Rename split-window-vertically to split-window-above-each-other
9145 and provide defalias for old definition.
9146 (split-window-side-by-side, split-window-horizontally):
9147 Rename split-window-horizontally to split-window-side-by-side
9148 and provide defalias for the old definition.
562dd5e9
MR
9149 (ctl-x-map): Move bindings for delete-window,
9150 delete-other-windows and enlarge-window here from window.c.
9151 Replace bindings for split-window-vertically and
9152 split-window-horizontally by bindings for
9153 split-window-above-each-other and split-window-side-by-side.
9154
9155 * cus-start.el (all): Remove entries for window-min-height and
9156 window-min-width. Add entries for window-splits and
9157 window-nest.
9158
f0da764a
GM
91592011-06-09 Glenn Morris <rgm@gnu.org>
9160
80675c21
GM
9161 * calendar/appt.el (appt-mode-line): New function.
9162 (appt-check, appt-disp-window): Use it.
9163
f0da764a
GM
9164 * files.el (hack-one-local-variable-eval-safep):
9165 Allow minor-modes with explicit +/-1 arguments.
9166
59f623b7
TZ
91672011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9168
9169 * term/xterm.el (xterm): Add defgroup.
9170 (xterm-extra-capabilities): Add defcustom to supply known xterm
9171 capabilities, skip querying them, or query them (default).
9172 (terminal-init-xterm): Use it.
9173 (terminal-init-xterm-modify-other-keys): New function to set up
9174 modifyOtherKeys support to simplify `terminal-init-xterm'.
9175
9aab8e0d
MR
91762011-06-09 Martin Rudalics <rudalics@gmx.at>
9177
9178 * window.el (resize-window-reset, resize-window-reset-1)
9179 (resize-subwindows-skip-p, resize-subwindows-normal)
9180 (resize-subwindows, resize-other-windows, resize-this-window)
9181 (resize-root-window, resize-root-window-vertically)
9182 (window-deletable-p, window-or-subwindow-p)
9183 (frame-root-window-p): New functions.
9184
e8b08aee
GM
91852011-06-09 Glenn Morris <rgm@gnu.org>
9186
9187 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9188 (ange-ftp-get-files): Use it.
9189
254c37a5
AK
91902011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9191
9192 * mail/sendmail.el (mail-recover-1, mail-recover):
9193 * files.el (recover-file, recover-session):
9194 Handle dired-listing-switches not being just a single short option.
9195
35d7dbd3
GM
91962011-06-09 Glenn Morris <rgm@gnu.org>
9197
9198 * calendar/appt.el (appt-display-message, appt-disp-window):
9199 Handle lists of appointments.
9200
387522b2
MR
92012011-06-08 Martin Rudalics <rudalics@gmx.at>
9202
2b75be67
SM
9203 * window.el (one-window-p): Move down in code.
9204 Rewrite doc-string.
9205 (window-current-scroll-bars): Rewrite doc-string.
9206 Normalize live window argument.
387522b2
MR
9207 (walk-windows, get-window-with-predicate, count-windows):
9208 Rewrite doc-string. Use window-list-1.
9209 (window-in-direction-2, window-in-direction, get-mru-window):
9210 New functions.
9211
d8e4b68b 92122011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9213
9214 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9215 Doc fix (Bug#8713).
9216
92172011-06-08 Chong Yidong <cyd@stupidchicken.com>
9218
9219 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9220
92212011-06-08 Juanma Barranquero <lekktu@gmail.com>
9222
9223 * loadhist.el (unload-feature-special-hooks):
9224 Add `comint-output-filter-functions'.
9225
0de12c52
IK
92262011-06-08 Ivan Kanis <gnu@kanis.fr>
9227
9228 * calendar/appt.el (appt-check): Move some initializations into the let.
9229
f3d1777e
MR
92302011-06-08 Martin Rudalics <rudalics@gmx.at>
9231
9232 * window.el (window-height): Defalias to window-total-height.
9233 (window-width): Defalias to window-body-width.
9234
18af70d0
CY
92352011-06-07 Chong Yidong <cyd@stupidchicken.com>
9236
9237 * image-mode.el (image-toggle-animation): New command.
9238 (image-mode-map): Bind it to RET.
9239 (image-mode): Update message.
9240 (image-toggle-display-image): Avoid a spurious cache flush.
9241 (image-transform-rotation): Doc fix.
9242 (image-transform-properties): Return quickly in the normal case.
9243 (image-animate-loop): Rename from image-animate-max-time.
9244
2b75be67 9245 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9246 (create-animated-image): Remove unnecessary function.
9247 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9248 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9249 (image-animate-timer): Use car-safe.
9250 (image-animate-timeout): Rename argument.
9251
190b47e6
MR
92522011-06-07 Martin Rudalics <rudalics@gmx.at>
9253
9254 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9255 window.c. Rename first argument to ALL-FRAMES.
9256 Rephrase doc-strings.
9257 (get-buffer-window-list): Rewrite using window-list-1.
9258 Rephrase doc-string.
a1511caf
MR
9259 (window-safe-min-height, window-safe-min-width): New constants.
9260 (window-size-ignore, window-min-size, window-min-size-1)
9261 (window-sizable, window-sizable-p, window-size-fixed-1)
9262 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9263 (window-max-delta-1, window-max-delta, window-resizable)
9264 (window-resizable-p, window-total-height, window-total-width)
9265 (window-body-width): New functions.
9266 (window-full-height-p, window-full-width-p): Rewrite using
9267 window-total-size.
9268 (window-body-height): Rewrite using window-body-size.
190b47e6 9269
85cc1f11
MR
92702011-06-06 Martin Rudalics <rudalics@gmx.at>
9271
9272 * window.el (window-right, window-left, window-child)
9273 (window-child-count, window-last-child, window-any-p)
9274 (normalize-live-buffer, normalize-live-frame)
9275 (normalize-any-window, normalize-live-window)
9276 (window-iso-combination-p, window-iso-combined-p)
9277 (window-iso-combinations)
9278 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9279 (windows-with-parameter, window-with-parameter)
9280 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9281 (window-atom-check, window-side-check, window-check):
9282 New functions.
85cc1f11
MR
9283 (ignore-window-parameters, window-sides, window-sides-vertical)
9284 (window-sides-slots): New variables.
9285 (window-size-fixed): Move down in code. Minor doc-string fix.
9286
e7156492
AS
92872011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9288
9289 * comint.el (comint-dynamic-complete-as-filename)
9290 (comint-dynamic-complete-filename): Correctly call
9291 completion-in-region.
9292
7e821d0d
DD
92932011-06-05 Deniz Dogan <deniz@dogan.se>
9294
9295 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9296 in last change.
9297
ac09b8a1
DD
92982011-06-05 Deniz Dogan <deniz@dogan.se>
9299
9300 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9301 (rcirc): Use it to prompt for encryption.
9302
34699b85
RW
93032011-06-05 Roland Winkler <winkler@gnu.org>
9304
9305 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9306 (bibtex-search-entries): New command bound to C-c C-a.
9307 (bibtex-display-entries): New function.
9308
004dedd3
RW
93092011-06-05 Roland Winkler <winkler@gnu.org>
9310
9311 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9312 (bibtex-insert-kill): After yanking insert newline if necessary.
9313 (bibtex-initialize): Call bibtex-string-files-init only once.
9314 (bibtex-mode): Do not call easy-menu-add.
9315 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9316 (bibtex-yank): Set arg properly if nil.
9317
022fe7ce
RW
93182011-06-05 Roland Winkler <winkler@gnu.org>
9319
2b75be67
SM
9320 * textmodes/bibtex.el (bibtex-search-entry-globally):
9321 New variable.
022fe7ce
RW
9322 (bibtex-search-entry): Use it.
9323
b7c3692a
RW
93242011-06-05 Roland Winkler <winkler@gnu.org>
9325
9326 * textmodes/bibtex.el (bibtex-entry-format): New option
9327 sort-fields.
9328 (bibtex-format-entry, bibtex-reformat): Honor this option.
9329 (bibtex-parse-entry): Return fields in proper order.
9330
8eda563d
JB
93312011-06-05 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * doc-view.el (doc-view-remove-if): Move computation of result out
9334 of `dolist' to silence misleading lexical-binding warning.
9335
7dbe3dbc
CY
93362011-06-04 Chong Yidong <cyd@stupidchicken.com>
9337
9338 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9339 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9340
0c33dd17
MA
93412011-06-04 Michael Albinus <michael.albinus@gmx.de>
9342
9343 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9344 "SunOS 5.10".
9345
f8f91c2b
MA
93462011-06-04 Michael Albinus <michael.albinus@gmx.de>
9347
9348 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9349 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9350 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9351 (tramp-parse-putty):
9352 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9353 (tramp-completion-function-alist-ssh)
9354 (tramp-completion-function-alist-telnet)
9355 (tramp-completion-function-alist-su)
9356 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9357 cookie.
9358
9359 * net/tramp-ftp.el:
9360 * net/tramp-sh.el:
9361 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9362 load "tramp.el" `tramp-set-completion-function'.
9363
e17d9003
SM
93642011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * shell.el: Require and use pcomplete.
9367 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9368 (shell-completion-vars): Set pcomplete-default-completion-function.
9369
6c4cab03
DD
93702011-06-04 Deniz Dogan <deniz@dogan.se>
9371
9372 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9373 `memq' (Bug#8799).
9374
ea9fafe0
SM
93752011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9378
b3e945d3
JB
93792011-06-02 Juanma Barranquero <lekktu@gmail.com>
9380
9381 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9382 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9383 * vc/log-view.el (log-view-beginning-of-defun):
9384 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9385 (smerge-refine-forward, smerge-refine-chopup-region):
9386 Silence warning for unused `dotimes' counter variables.
9387
7d520089
SM
93882011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * net/tramp.el (tramp-with-progress-reporter): Rename from
9391 with-progress-reporter. Use `declare'.
9392 * net/tramp-smb.el:
9393 * net/tramp-sh.el:
9394 * net/tramp-gvfs.el: Update all uses.
9395
a1c2400f
JB
93962011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9397
9398 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9399 buffer isn't killed before making it current.
9400
2403c841
SM
94012011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 Silence various byte-compiler warnings.
9404 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9405 `access-type' and new obsolescence format.
9406 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9407 new format.
9408 (byte-compile-check-variable): New `access-type' argument.
9409 Only warn if the access-type is obsolete.
9410 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9411 (byte-compile-variable-set): Adjust callers.
9412 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9413 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9414 setting it as obsolete.
9415 * simple.el (minibuffer-completing-symbol):
9416 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9417 access as obsolete.
9418 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9419 obsolete yet.
9420 * international/quail.el (quail-mouse-choose-completion): Remove unused
9421 code referring to obsolete var.
9422 (quail-choose-completion-string): Remove.
9423 * server.el (server-clients-with, server-kill-buffer-query-function)
9424 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9425 * proced.el (proced-send-signal):
9426 * emacs-lisp/lisp.el (lisp-complete-symbol):
9427 Replace completion-annotate-function with completion-extra-properties.
9428
2462470b
SM
94292011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9430
fb5b2591
SM
9431 * simple.el (goto-line): Use read-number.
9432 (overriding-map-is-bound): Remove.
9433 (saved-overriding-map): Change default.
9434 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9435 Take the map as argument.
9436 (universal-argument, negative-argument, digit-argument): Use it.
9437 (restore-overriding-map): Adjust.
9438 (do-auto-fill): Use fill-forward-paragraph.
9439 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9440
fd6fa53f
SM
9441 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9442 (minibuffer-inactive-mode): New major mode.
9443 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9444 the *Messages* buffer" hack.
9445 (mouse-popup-menubar): Don't burp if the event is a normal key.
9446
2462470b
SM
9447 Miscellaneous tweaks.
9448 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9449 lexical scoping as in subr.el's dolist and dotimes.
9450 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9451 Silence compiler warning.
9452 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9453 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9454 * international/ccl.el (ccl-compile): Trivial simplification.
9455 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9456 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9457 `printflag' argument.
9458 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9459 Purecopy the whole obsolescence data.
9460
108bf785
LL
94612011-06-01 Leo Liu <sdl.web@gmail.com>
9462
9463 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9464 improve doc-string as suggested by Marco Pessotto
9465 <melmothx@gmail.com>.
9466 (rcirc-print): Fix last change.
9467
30a23501
SM
94682011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * minibuffer.el (complete-with-action): Return nil for the metadata and
9471 boundaries of non-functional tables.
9472 (completion-table-dynamic): Return nil for the metadata.
9473 (completion-table-with-terminator): Add default case, using
9474 complete-with-action.
9475 (completion--metadata): New function.
9476 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9477 to try and avoid pathological performance problems.
9478 (completion--embedded-envvar-table): Return `category' metadata.
9479
bcd54f83
LMI
94802011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481
9482 * subr.el (process-alive-p): New tiny convenience function.
9483
e227544d
SM
94842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9487 content but also its previous major mode.
9488
e8296fdc
HE
94892011-05-31 Helmut Eller <eller.helmut@gmail.com>
9490
4d61f28d 9491 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9492 *Backtrace* buffer when we exit with C-M-c.
9493
620c53a6
SM
94942011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * minibuffer.el: Add metadata method to completion tables.
9497 (completion-category-overrides): New defcustom.
9498 (completion-metadata, completion--field-metadata)
9499 (completion-metadata-get, completion--styles)
9500 (completion--cycle-threshold): New functions.
9501 (completion-try-completion, completion-all-completions):
9502 Add `metadata' argument to choose completion-styles.
9503 (completion--do-completion): Use metadata to choose cycling.
9504 (completion-all-sorted-completions): Use metadata for sorting.
9505 Remove :completion-cycle-penalty which is not needed any more.
9506 (completion--try-word-completion): Add `metadata' argument.
9507 (minibuffer-completion-help): Check metadata for annotation function
9508 and sorting.
9509 (completion-file-name-table): Return `category' metadata.
9510 (minibuffer-completing-file-name): Make obsolete.
9511 * simple.el (minibuffer-completing-symbol): Make obsolete.
9512 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9513 completion-try-completion.
9514
1257e755
SM
95152011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9518
3767e706
LL
95192011-05-30 Leo Liu <sdl.web@gmail.com>
9520
9521 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9522 (rcirc-print): Decode all incoming messages (bug#8744).
9523 (rcirc-decode-coding-system): Allow value nil for automatic coding
9524 system detection.
3767e706 9525
d1a5d56a
GM
95262011-06-01 Glenn Morris <rgm@gnu.org>
9527
9528 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9529
e8cbec34
CY
95302011-05-29 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * image.el (image-animate-max-time): Allow nil and t values.
9533 Default to nil.
9534 (create-animated-image): Doc fix.
9535 (image-animate-start): Remove second arg; just use
9536 image-animate-max-time.
9537 (image-animate-timeout): Doc fix. Args changed.
9538
9539 * image-mode.el (image-toggle-display-image): Ensure that the
9540 image spec passed to the animate timer is the same object as in
58179cce 9541 the buffer's display property (Bug#6981).
e8cbec34
CY
9542 (image-transform-properties): Doc fix.
9543
9544 * image.el (image-animate-max-time): Default to nil.
9545
159daf87
MR
95462011-05-29 Martin Rudalics <rudalics@gmx.at>
9547
9548 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9549 entire buffer list (Bug#8184).
9550
d66c4c7c
CY
95512011-05-29 Chong Yidong <cyd@stupidchicken.com>
9552
9553 * image.el (imagemagick-types-inhibit)
9554 (imagemagick-register-types): Doc fix.
9555
80aec780
DD
95562011-05-29 Deniz Dogan <deniz@dogan.se>
9557
9558 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9559 default.
9560
1dd3c2d9
CY
95612011-05-29 Chong Yidong <cyd@stupidchicken.com>
9562
9563 * select.el: Don't perform clipboard-manager saving in hooks;
9564 leave the hooks empty.
9565
60e56523
LL
95662011-05-28 Leo Liu <sdl.web@gmail.com>
9567
9568 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9569 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9570 (occur-edit-mode): New major mode (Bug#8463).
9571 (occur-after-change-function): New function.
9572 (occur-engine): Give Occur tags a read-only property.
9573
2b1e1a22
KR
95742011-05-28 Kevin Ryde <user42@zip.com.au>
9575
9576 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9577
5d344e88
CY
95782011-05-28 Chong Yidong <cyd@stupidchicken.com>
9579
8e6ca83d
CY
9580 * bindings.el (help-echo): Make the initial non-indicator dash
9581 empty on graphical terminals (Bug#7295).
9582
5d344e88
CY
9583 * files.el (auto-mode-alist): Move config rule after the
9584 in-stripping one (Bug#8547).
9585
bfbbace7
CY
9586 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9587
fbeba6e2
CY
9588 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9589 setting (Bug#8740).
9590
60ed8c72
AA
95912011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9592
4ac619f0
AA
9593 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9594 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9595 (Bug#8539).
60ed8c72 9596
23db196e
CY
95972011-05-28 Chong Yidong <cyd@stupidchicken.com>
9598
9599 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9600
5012f24c
DK
96012011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9602
9603 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9604 (hs-hide-block-at-point, hs-find-block-beginning)
9605 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9606 (Bug#8279).
9607
6a639b16
GM
96082011-05-28 Glenn Morris <rgm@gnu.org>
9609
9610 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9611
d43eaf2c
CY
96122011-05-28 Chong Yidong <cyd@stupidchicken.com>
9613
5199bde1
CY
9614 * help-fns.el (describe-function-1): If the function is a derived
9615 major mode, print the parent mode.
9616
d43eaf2c
CY
9617 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9618 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9619
423428a8
SM
96202011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9621
0ff8e1ba 9622 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9623 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9624 * progmodes/etags.el (tags-completion-at-point-function):
9625 * info-look.el (info-lookup-completions-at-point): Mark as
9626 non-exclusive.
9627 (info-complete): Adjust accordingly.
9628
423428a8
SM
9629 * info-look.el: Convert to lexical-binding and completion-at-point.
9630 (info-lookup-completions-at-point): New function.
9631 (info-complete): Use it and completion-in-region.
9632
b74aa22b
DA
96332011-05-28 Drew Adams <drew.adams@oracle.com>
9634
9635 * isearch.el: Let M-e start with point at the first mismatched char.
9636 (isearch-fail-pos): New function.
9637 (isearch-edit-string): Use it.
9638
66e2e71d
DK
96392011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9640
9641 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9642
b1890b0f 96432011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9644
9645 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9646 traversal functions for avl-trees.
9647 (avl-tree--stack): New struct.
9648 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9649 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9650 (avl-tree--do-enter): Add optional `updatefun' arg.
9651 Change return value.
eb95d01d 9652 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9653 (avl-tree--do-delete): Add `test' and `nilflag' args.
9654 Change return value.
eb95d01d
TC
9655 (avl-tree-member): Add optional `nilflag'
9656 (avl-tree-member-p): New function.
9657 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9658 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9659 (avl-tree-stack-empty-p): New functions.
9660
3769ddcf
TC
9661 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9662 avl-tree--del-balance1 and make it work both ways.
9663 (avl-tree--del-balance2): Remove.
9664 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9665 make it work both ways.
9666 (avl-tree--enter-balance2): Remove.
9667 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9668 New macros.
9669 (avl-tree--mapc, avl-tree-map): Add direction argument.
9670
eb95d01d 96712011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9672
9673 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9674
a9f737ee
CY
96752011-05-27 Chong Yidong <cyd@stupidchicken.com>
9676
9677 * select.el: Support clipboard managers with built-in function
9678 x-clipboard-manager-save, via delete-frame-functions and
9679 kill-emacs-hook.
9680 (xselect-convert-to-targets): Add MULTIPLE target to list.
9681 (xselect-convert-to-save-targets): New function.
9682
c92a1e54
KH
96832011-05-27 Kenichi Handa <handa@m17n.org>
9684
9685 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9686 let-binding rfc2047-encode-encoded-words to nil.
9687
e145f188
GM
96882011-05-27 Glenn Morris <rgm@gnu.org>
9689
5ec8a862
GM
9690 * mail/emacsbug.el: Don't require url-util.
9691
4b29d9fb
GM
9692 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9693
e145f188
GM
9694 * files.el (set-auto-mode):
9695 Also respect mode: entries at the end of the file. (Bug#8586)
9696
7d15102b
GM
96972011-05-26 Glenn Morris <rgm@gnu.org>
9698
98f593b8
GM
9699 * files.el (hack-local-variables-prop-line, hack-local-variables):
9700 Downcase mode names, as seems to be traditional.
27b48e63 9701 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9702
7d15102b
GM
9703 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9704 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9705
51d5b4ec
JD
97062011-05-25 Julien Danjou <julien@danjou.info>
9707
9708 * textmodes/rst.el (rst-define-level-faces): Do not define face
9709 symbol if it is already defined.
9710
91513f63
VB
97112011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9712
9713 * play/5x5.el (5x5-new-game, 5x5-randomize):
9714 Reset 5x5-solver-output to nil when a new grid is cast.
9715 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9716 these debugging traces, as defmacro breaks the compiled code.
9717
4d90d6d0
DK
97182011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9719
9720 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9721
e1b90ef6
LL
97222011-05-24 Leo Liu <sdl.web@gmail.com>
9723
9724 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9725 (vc-bzr-sha1): Adapt.
9726
d8e4b68b 9727 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9728
9729 * bindings.el: Provide sha1 feature.
9730
db0406bb 97312011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9732
9733 * mail/sendmail.el: Require `rfc2047'.
9734 (mail-insert-from-field): Do not perform RFC2047 encoding.
9735 (mail-encode-header): New function.
9736 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9737 buffer to the return value of select-message-coding-system.
9738 Call mail-encode-header.
b8d747b9
KH
9739
9740 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9741
db0406bb 97422011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9743
4d90d6d0
DK
9744 * mail/supercite.el (sc-default-cite-frame):
9745 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9746
eb8a5e9b
GM
97472011-05-24 Glenn Morris <rgm@gnu.org>
9748
f8630703
GM
9749 * progmodes/python.el (brm-menu): Declare.
9750
8831bbed
GM
9751 * emulation/viper.el (viper-set-hooks): Declare.
9752
eb8a5e9b
GM
9753 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9754 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9755 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9756 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9757 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9758 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9759
a2a25d24
SM
97602011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9761
9762 Add an :exit-function for completion-at-point.
9763
9764 * minibuffer.el (completion--done): New fun.
9765 (completion--do-completion): Use it. New arg `expect-exact'.
9766 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9767 since completion--do-completion does it for us now.
9768 (minibuffer-force-complete): Use completion--done and
9769 completion--replace. Handle sole-completion case with more care.
9770 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9771 (completion-extra-properties): New var.
9772 (completion-annotate-function): Make obsolete.
9773 (minibuffer-completion-help): Adjust accordingly.
9774 Use completion-list-insert-choice-function.
9775 (completion-at-point, completion-help-at-point):
9776 Bind completion-extra-properties.
9777 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9778 * simple.el (completion-list-insert-choice-function): New var.
9779 (completion-setup-function): Preserve it.
9780 (choose-completion): Pay attention to it, shuffle the code a bit.
9781 (choose-completion-string): New arg `insert-function'.
9782
9783 * textmodes/bibtex.el: Convert to lexical binding.
9784 (bibtex-mode-map): Use completion-at-point.
9785 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9786 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9787 (bibtex-complete): Define as obsolete alias.
9788 (bibtex-complete-internal): Remove.
9789 (bibtex-format-entry): Remove unused sub-group in regexp.
9790 * shell.el (shell--command-completion-data)
9791 (shell-environment-variable-completion):
9792 * pcomplete.el (pcomplete-completions-at-point):
9793 * comint.el (comint--complete-file-name-data): Use :exit-function
9794 instead of completion-table-with-terminator so it also works for
9795 choose-completion.
9796
e44e373d
SM
97972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9798
4f91a816
SM
9799 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9800
782fc819
SM
9801 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9802 (bug#8710).
9803
e44e373d
SM
9804 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9805
381987c3
KM
98062011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9807
9808 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9809 customization variable and implement: If non-nil, auto-fill will
9810 be inhibited while on topic's header line.
9811
b776bc70
VB
98122011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9813
9814 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9815 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9816 always have a solution in grid size = 5 cases.
9817 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9818 (5x5-solver-output, 5x5-log-buffer): New vars.
9819 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9820 Make these variables buffer local to achieve 5x5 multi-session-ness.
9821 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9822 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9823 (5x5-solve-suggest): New funs.
9824 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9825 randomize a grid so that we ensure that there is always a solution.
9826 (5x5-make-random-grid): Allow other movement than flipping.
9827
7de88b6e
KR
98282011-05-23 Kevin Ryde <user42@zip.com.au>
9829
9830 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9831 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9832 advice and passes PREDICATE.
9833
b1ef1257
SM
98342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9835
bbca48fe
SM
9836 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9837 byte-compile-lambda if it's actually a lambda.
9838
b1ef1257
SM
9839 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9840 Fix function quoting. Use backquote better.
9841
92a9cc65
YS
98422011-05-22 Yuanle Song <sylecn@gmail.com>
9843
9844 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9845 matching (Bug#8516).
9846
f0fb8059
JA
98472011-01-22 Jari Aalto <jari.aalto@cante.net>
9848
9849 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9850 different face (Bug#8178).
9851
d5b44c93
CY
98522011-05-22 Chong Yidong <cyd@stupidchicken.com>
9853
9854 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9855 defface (Bug#8144).
9856
79106a44
SM
98572011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9c848d8a
SM
9859 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9860 funcall as well (bug#8712). Warn when performing those conversions.
9861 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9862
79106a44
SM
9863 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9864
88dfa756
GM
98652011-05-22 Glenn Morris <rgm@gnu.org>
9866
9867 * files.el (hack-local-variables-prop-line): Small simplifications.
9868 (hack-local-variables, hack-local-variables-prop-line):
9869 If MODE-ONLY, return the mode, rather than just `t'.
9870
b7cf2c79
SM
98712011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9874
3f1a8558
GM
98752011-05-21 Glenn Morris <rgm@gnu.org>
9876
7e4ccca3
GM
9877 * files.el (hack-local-variables-prop-line, hack-local-variables):
9878 If only interested in the mode, don't bother doing the other stuff.
9879
637d46ca
GM
9880 * image-mode.el (image-after-revert-hook):
9881 Redraw all frames on which the image is visible. (Bug#8567)
9882
973d955b
GM
9883 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9884
3f1a8558
GM
9885 * wid-edit.el (widget-checklist-match-inline):
9886 Fix 2011-04-19 change. (Bug#8649)
9887
96479927
SM
98882011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9889
1dcf791f
SM
9890 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9891 Also allow singlespace after single-letter capitals followed by a dot.
9892
96479927
SM
9893 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9894 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9895
35fd0881
N
98962011-05-20 Nix <nix@esperi.org.uk>
9897
9898 * files.el (basic-save-buffer-2):
9899 Fix handling of break-hardlink-on-save with non-existent files.
9900
82745640
DD
99012011-05-19 Deniz Dogan <deniz@dogan.se>
9902
9903 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9904 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9905
4a720484
GM
99062011-05-19 Glenn Morris <rgm@gnu.org>
9907
d1f21341
GM
9908 * progmodes/f90.el (f90-type-def-re):
9909 Handle "type, bind(c)". (Bug#8691)
9910
4a720484
GM
9911 * emacs-lisp/autoload.el (batch-update-autoloads):
9912 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9913
2fb0a219
MA
99142011-05-18 Michael Albinus <michael.albinus@gmx.de>
9915
9916 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9917 property for the correct connection in case of multihops.
9918
e565dd37
GM
99192011-05-18 Glenn Morris <rgm@gnu.org>
9920
c2571358 9921 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9922 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9923
e565dd37
GM
9924 Rationalize calendar handling of day and month abbrev-arrays.
9925 * calendar/calendar.el (calendar-customized-p): New function.
9926 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9927 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9928 Add :set function.
9929 (calendar-abbrev-length, calendar-day-abbrev-array)
9930 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9931 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9932 Elements may no longer be nil.
9933 (calendar-day-name, calendar-month-name):
9934 Update for changed nature of abbrev arrays.
9935 * calendar/diary-lib.el (diary-name-pattern):
9936 Update for changed nature of abbrev arrays.
9937 (diary-mark-entries-1): Update calendar-make-alist calls.
9938 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9939 * calendar/cal-html.el (cal-html-day-abbrev-array):
9940 Simply inherit from calendar-day-abbrev-array.
9941
1d99a745
SM
99422011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * progmodes/grep.el (grep-mode): Disable default
9945 compilation-directory-matcher setting (bug#8684).
9946
7c1d9aa0
MA
99472011-05-17 Michael Albinus <michael.albinus@gmx.de>
9948
9949 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9950 instead of "head" and "tail". There were problems with SunOS 5.9,
9951 and it performs better.
9952
3952e9d8
GM
99532011-05-17 Glenn Morris <rgm@gnu.org>
9954
2dd12e7f
GM
9955 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9956
e4157b9c
GM
9957 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9958 Replace obsolete function.
9959
8e249bbd
GM
9960 * shell.el (pcomplete-parse-arguments-function): Declare.
9961
3952e9d8
GM
9962 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9963 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9964 (appt-check): Doc fixes.
9965 (appt-disp-window-function, appt-delete-window-function):
9966 Remove needless special case in custom :type.
9967 (appt-display-count): Default to 0, not nil.
9968 (appt-check): Reset appt-display-count to 0, not nil.
9969
c71a0d48 99702011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9971
c71a0d48
GM
9972 * progmodes/python.el (python-font-lock-keywords):
9973 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9974
31d55be9
SM
99752011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9978
3bfacb2f
KR
99792011-05-16 Kevin Ryde <user42@zip.com.au>
9980
9981 * info-look.el (makefile-automake-mode): New setups, looking in
9982 automake manual, then makefile-mode.
9983 (makefile-mode): Remove automake manual, have it just in
9984 makefile-automake-mode since there's various things different or
9985 not relevant to plain make.
9986 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9987 believe a hypothetical automake-mode would go to makefile-mode,
9988 not the other way around.
9989
c8e83751
CY
99902011-05-15 Chong Yidong <cyd@stupidchicken.com>
9991
5e9e35cd
CY
9992 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9993 hunk-end tags (Bug#8672).
9994
c8e83751
CY
9995 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9996 vc-annotate-show-diff-revision-at-line (Bug#8671).
9997
50b23e5a
GM
99982011-05-14 Glenn Morris <rgm@gnu.org>
9999
7210a739
GM
10000 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10001 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10002 (change-log-font-lock-keywords): Also handle multiple author lines
10003 with leading tabs. (Bug#8644)
7210a739 10004
4691905a
GM
10005 * calendar/appt.el (appt-check): Rename some local variables.
10006 Some simplification/reordering.
10007
50b23e5a
GM
10008 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10009 (feedmail-sendmail-f-doesnt-sell-me-out)
10010 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10011 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10012 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10013 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10014 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10015 (feedmail-binmail-gnulinuxish-template):
10016 Rename from feedmail-binmail-linuxish-template.
10017 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10018 Use insert-buffer-substring.
10019
215cda7c
BC
100202011-05-14 Bill Carpenter <bill@carpenter.org>
10021
10022 * mail/feedmail.el (feedmail-patch-level): Increase.
10023 (feedmail-debug): New custom group.
10024 (feedmail-confirm-outgoing-timeout)
10025 (feedmail-sendmail-f-doesnt-sell-me-out)
10026 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10027 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10028 (feedmail-sender-line, feedmail-from-line)
10029 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10030 (feedmail-spray-this-address)
215cda7c
BC
10031 (feedmail-spray-address-fiddle-plex-list)
10032 (feedmail-queue-use-send-time-for-date)
10033 (feedmail-queue-use-send-time-for-message-id)
10034 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10035 (feedmail-buffer-eating-function):
10036 Doc fixes.
10037 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10038 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10039 (feedmail-message-action-scroll-down): New functions.
10040 (feedmail-queue-directory, feedmail-queue-draft-directory):
10041 Use expand-file-name.
10042 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10043 Remove C-v help entry.
10044 (feedmail-queue-buffer-file-name): New variable.
10045 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10046 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10047 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10048 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10049 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10050 (feedmail-message-action-toggle-spray)
10051 (feedmail-run-the-queue-no-prompts)
10052 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10053 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10054 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10055 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10056 (feedmail-envelope-deducer, feedmail-fiddle-from)
10057 (feedmail-fiddle-sender, feedmail-default-date-generator)
10058 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10059 (feedmail-fiddle-spray-address)
10060 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10061 (feedmail-fiddle-list-of-fiddle-plexes)
10062 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10063 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10064 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10065 Change default. Doc fix.
10066 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10067 (feedmail-binmail-linuxish-template): New constant.
10068 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10069 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10070 (feedmail-send-it): Add debug call.
10071 Use feedmail-queue-buffer-file-name, and
10072 feedmail-send-it-immediately-wrapper.
10073 (feedmail-message-action-send): Add debug call.
10074 Use feedmail-send-it-immediately-wrapper.
10075 (feedmail-queue-express-to-queue): Add debug call.
10076 Run feedmail-queue-express-hook.
10077 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10078 (feedmail-message-action-help-blat):
10079 Rename from feedmail-queue-send-edit-prompt-help-first.
10080 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10081 Check line-endings. Handle errors better.
10082 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10083 Doc fix. Add debug call.
10084 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10085 Use feedmail-queue-send-edit-prompt-inner.
10086 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10087 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10088 from feedmail-queue-send-edit-prompt.
10089 (feedmail-queue-send-edit-prompt-help)
10090 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10091 (feedmail-tidy-up-slug): Add debug call.
10092 Respect feedmail-queue-slug-suspect-regexp.
10093 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10094 (feedmail-dump-message-to-queue): Add debug call.
10095 Expand queue-directory.
10096 (feedmail-dump-message-to-queue): Change message slightly.
10097 Use feedmail-say-chatter.
10098 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10099 (feedmail-send-it-immediately-wrapper): New function.
10100 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10101 Insert empty string rather than newline. Handle full-frame case.
10102 Use catch/throw. Use feedmail-say-chatter.
10103 (feedmail-fiddle-from): Try mail-host-address.
10104 (feedmail-default-message-id-generator): Doc fix.
10105 Bind system-time-locale. Handle missing end.
10106 (feedmail-fiddle-x-mailer): Add debug call.
10107 Handle feedmail-x-mailer-line being nil.
10108 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10109 Add debug call. Use buffer-substring-no-properties.
10110 (feedmail-say-debug, feedmail-say-chatter): New functions.
10111 (feedmail-find-eoh): Give an explicit error.
10112
42c7e61e
UJ
101132011-05-13 Ulf Jasper <ulf.jasper@web.de>
10114
c2571358 10115 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10116 family from helvetica to sans.
c2571358 10117 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10118 etc/images/newsticker.
10119
c2571358 10120 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10121 family from helvetica to sans.
10122
10123 * net/newst-plainview.el (newsticker-new-item-face)
10124 (newsticker-old-item-face, newsticker-immortal-item-face)
10125 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10126 (newsticker-statistics-face): Change default family from
42c7e61e 10127 helvetica to sans.
c2571358 10128 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10129 etc/images/newsticker.
10130
10131 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10132 (newsticker--process-auto-mark-filter-match): : Tell user about
10133 auto-marking.
10134
8497a297
DV
101352011-05-13 Didier Verna <didier@xemacs.org>
10136
10137 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10138 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10139 TODO entries.
8497a297
DV
10140 (lisp-lambda-list-keyword-parameter-indentation)
10141 (lisp-lambda-list-keyword-parameter-alignment)
10142 (lisp-lambda-list-keyword-alignment): New customizable user options.
10143 (lisp-indent-defun-method): Improve docstring.
10144 (extended-loop-p): Fix comment.
10145 (lisp-indent-lambda-list-keywords-regexp): New variable.
10146 (lisp-indent-lambda-list): New function.
10147 (lisp-indent-259): Use it.
10148 (lisp-indent-defmethod): Support for more than one
10149 method qualifier and properly indent methods lambda-lists.
10150 (defgeneric): Provide a missing common-lisp-indent-function property.
10151
f278f87f
SM
101522011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10155 bounds for the empty string (bug#8667).
10156
5233edd7
GM
101572011-05-13 Glenn Morris <rgm@gnu.org>
10158
5237a44f
GM
10159 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10160
8340026c 10161 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10162 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10163
5233edd7 10164 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10165 (appt-time-msg-list): Doc fix.
a5464014 10166 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10167
92d10796
AS
101682011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10169
10170 * progmodes/ld-script.el (ld-script-keywords)
10171 (ld-script-builtins): Update keywords list.
10172
914a0ae1
SM
101732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10174
c89be45f
SM
10175 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10176
914a0ae1
SM
10177 * shell.el (shell-completion-vars): New function.
10178 (shell-mode):
10179 * simple.el (read-shell-command): Use it.
10180 (blink-matching-open): No need for " [...]" in minibuffer-message.
10181
98dc3df3
GM
101822011-05-12 Glenn Morris <rgm@gnu.org>
10183
10184 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10185 (appt-check): Simplify.
10186
d2fc7e3d 101872011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10188
4d61f28d 10189 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10190 literal "/dev/null".
10191
d2fc7e3d 101922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10193
10194 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10195 Fix typo.
10196
d2fc7e3d 101972011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10198
3f254caa
SM
10199 * progmodes/which-func.el (which-function):
10200 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10201 which might not be defined (Bug#8260).
10202
d45885f7
GM
102032011-05-12 Glenn Morris <rgm@gnu.org>
10204
10205 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10206 Let byte-compile-initial-macro-environment always take precedence.
10207
488086f4
SM
102082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10209
10210 * net/rcirc.el: Add support for SSL/TLS connections.
10211 (rcirc-server-alist): New field `encryption'.
10212 (rcirc): Check `encryption' settings.
10213 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10214 Merge make-local-variable into `set'.
10215 (rcirc--connection-open-p): New function.
10216 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10217 the process is not a network process (e.g. running gnutls-cli).
10218 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10219 Make rcirc-(en|de)code-coding-system local here.
10220 (rcirc-mode): Merge make-local-variable into `set'.
10221 (rcirc-parent-buffer): Make permanent buffer-local.
10222 (rcirc-multiline-minor-mode): Don't do it here.
10223 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10224 there's no server buffer.
10225
7d3b9d44
GM
102262011-05-11 Glenn Morris <rgm@gnu.org>
10227
f64049c6
GM
10228 * newcomment.el (comment-kill): Prefix "unused" local.
10229
93c9df73
GM
10230 * term/w32console.el (get-screen-color): Declare.
10231
7d3b9d44
GM
10232 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10233 Handle symbol elements of byte-compile-initial-macro-environment.
10234
9e2dd53f
LL
102352011-05-10 Leo Liu <sdl.web@gmail.com>
10236
488086f4
SM
10237 * bookmark.el (bookmark-bmenu-mode-map):
10238 Bind bookmark-bmenu-search to `/'.
8b340240 10239
9e2dd53f 10240 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10241 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10242 (Footnote-unicode): New function.
10243 (footnote-style-alist): Add unicode style to the list.
10244 (footnote-style): Doc fix.
9e2dd53f 10245
79b70037
GM
102462011-05-10 Jim Meyering <meyering@redhat.com>
10247
10248 Fix doubled-word typos.
10249 * international/quail.el (quail-insert-kbd-layout): and and -> and
10250 * kermit.el: and and -> and
10251 * net/ldap.el (ldap-search-internal): to to -> to
10252 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10253 * progmodes/js.el (js-mode): and and -> and
10254 * textmodes/artist.el (artist-move-to-xy): at at -> at
10255 (artist-draw-region-trim-line-endings): if if -> if
10256 And Safetyc -> Safety.
10257 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10258
b8f82dc1 102592011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10260 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10261
10262 * files.el (hack-one-local-variable-eval-safep):
10263 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10264
4f99f44b
GM
102652011-05-10 Glenn Morris <rgm@gnu.org>
10266
10267 * calendar/diary-lib.el (diary-list-entries-hook)
10268 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10269 (diary-nongregorian-marking-hook, diary-list-entries)
10270 (diary-include-other-diary-files, diary-mark-entries)
10271 (diary-mark-included-diary-files): Doc fixes.
10272
84f29e6b
JB
102732011-05-09 Juanma Barranquero <lekktu@gmail.com>
10274
10275 * misc.el: Require tabulated-list.el during compilation.
10276
9bedd73a
CY
102772011-05-09 Chong Yidong <cyd@stupidchicken.com>
10278
488086f4
SM
10279 * progmodes/compile.el (compilation-start):
10280 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10281 (compilation-filter-hook): Doc fix.
10282
797c735c
DD
102832011-05-09 Deniz Dogan <deniz@dogan.se>
10284
10285 * wdired.el: Remove outdated installation comment. Fix usage
10286 comment.
10287
5f4b1dfe
JB
102882011-05-09 Juanma Barranquero <lekktu@gmail.com>
10289
10290 * misc.el: Implement new command `list-dynamic-libraries'.
10291 (list-dynamic-libraries--loaded-only-p): New variable.
10292 (list-dynamic-libraries--refresh): New function.
10293 (list-dynamic-libraries): New command.
10294
4c44026c
CY
102952011-05-09 Chong Yidong <cyd@stupidchicken.com>
10296
488086f4
SM
10297 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10298 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10299 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10300 higher priority to avoid clobbering by gnu.
10301
027f966d
CY
103022011-05-08 Chong Yidong <cyd@stupidchicken.com>
10303
10304 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10305 if the face has existing theme settings (Bug#8454).
10306
085f5d7d
CY
103072011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10308
488086f4
SM
10309 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10310 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10311
2a86a00c
RS
10312 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10313 special file names `.' and `..' (Bug#8259).
10314
d9c54a06
CY
103152011-05-08 Chong Yidong <cyd@stupidchicken.com>
10316
488086f4
SM
10317 * progmodes/grep.el (grep-mode-font-lock-keywords):
10318 Remove buffer-changing entries.
d9c54a06
CY
10319 (grep-filter): New function.
10320 (grep-mode): Add it to compilation-filter-hook.
10321
10322 * progmodes/compile.el (compilation-filter-hook)
10323 (compilation-filter-start): New defvars.
10324 (compilation-filter): Call compilation-filter-hook prior to
10325 updating the process mark.
10326
c4662635
SM
103272011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10330
b0512a1d
EZ
103312011-05-07 Eli Zaretskii <eliz@gnu.org>
10332
605c9376
EZ
10333 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10334 mailclient-send-it even if window-system is nil. (Bug#8595)
10335
c4662635
SM
10336 * term/w32console.el (terminal-init-w32console):
10337 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10338 background-mode. (Bug#8597)
10339
d1dc2cc2
SM
103402011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10343 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10344 New functions.
10345 (defgeneric, eieio--defmethod): Use them.
10346 (eieio-defgeneric): Remove.
10347 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10348
915d1300
GM
103492011-05-07 Glenn Morris <rgm@gnu.org>
10350
a3961c3e
GM
10351 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10352 Use let rather than let*.
10353 (timeclock-find-discrep): Remove unused local.
10354
314347b9
GM
10355 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10356
915d1300
GM
10357 * calendar/appt.el (appt-time-msg-list): Doc fix.
10358
275b59b0
NF
103592011-05-06 Noah Friedman <friedman@splode.com>
10360
10361 * apropos.el (apropos-print-doc): Only use
10362 emacs-lisp-docstring-fill-column when it is bound to an integer,
10363 per that variable's documentation.
10364
6c19f744
SM
103652011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10368 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10369
60f884b2
GM
103702011-05-06 Glenn Morris <rgm@gnu.org>
10371
5006e634
GM
10372 * calendar/appt.el (appt-message-warning-time): Doc fix.
10373 (appt-warning-time-regexp): New option.
10374 (appt-make-list): Respect appt-message-warning-time.
10375
548d0a63
GM
10376 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10377 New options.
10378 (diary-add-to-list): Strip comments from the displayed string.
10379 (diary-mode): Set comment-start and comment-end.
10380
60f884b2
GM
10381 * vc/diff-mode.el (smerge-refine-subst): Declare.
10382 (diff-refine-hunk): Don't require smerge-mode when compiling.
10383
989681bb
JB
103842011-05-06 Juanma Barranquero <lekktu@gmail.com>
10385
10386 * simple.el (list-processes): Return nil as the docstring says.
10387
a6bc05e1
MA
103882011-05-05 Michael Albinus <michael.albinus@gmx.de>
10389
10390 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10391 to "".
10392 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10393 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10394 determining of binary transfer. (Bug#7383)
10395
23c22e9a
MA
103962011-05-05 Michael Albinus <michael.albinus@gmx.de>
10397
c4662635
SM
10398 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10399 Fix port computation bug. (Bug#8618)
23c22e9a 10400
0bff894f
GM
104012011-05-05 Glenn Morris <rgm@gnu.org>
10402
b8296902
GM
10403 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10404
1f522ce8
GM
10405 * simple.el (shell-dynamic-complete-functions)
10406 (comint-dynamic-complete-functions): Declare.
10407
cf5bee67
GM
10408 * net/network-stream.el (gnutls-negotiate):
10409 * simple.el (tabulated-list-print): Fix declarations.
10410
10411 * progmodes/gud.el (syntax-symbol, syntax-point):
10412 Remove unnecessary and incorrect declarations.
10413
0bff894f
GM
10414 * emacs-lisp/check-declare.el (check-declare-scan):
10415 Handle byte-compile-initial-macro-environment in bytecomp.el
10416
9869b3ae
SM
104172011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 Fix earlier half-done eieio-defmethod change (bug#8338).
10420 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10421 Streamline and change calling convention.
10422 (defmethod): Adjust accordingly and simplify.
10423 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10424 new eieio--defmethod.
10425 (slot-boundp): Minor CSE simplification.
10426
9c1d5ac5
MZ
104272011-05-05 Milan Zamazal <pdm@zamazal.org>
10428
10429 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10430 (glasses-make-readable): Use glasses-separate-capital-groups.
10431
455c834e
JB
104322011-05-05 Juanma Barranquero <lekktu@gmail.com>
10433
10434 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10435 (warning-series): Doc fix.
10436 (display-warning): Don't try to create the buffer if we just found it.
10437
9ed7c8cb
CY
104382011-05-04 Chong Yidong <cyd@stupidchicken.com>
10439
10440 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10441 (autoload-find-generated-file): New function.
10442 (generate-file-autoloads): Bind generated-autoload-file to
10443 buffer-file-name.
9869b3ae
SM
10444 (update-file-autoloads, update-directory-autoloads):
10445 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10446 output file (Bug#7989).
10447 (batch-update-autoloads): Doc fix.
10448
0898ca10
JB
104492011-05-04 Juanma Barranquero <lekktu@gmail.com>
10450
10451 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10452
31dfb76c
GM
104532011-05-04 Glenn Morris <rgm@gnu.org>
10454
f330b642
GM
10455 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10456 function, so it follows changes in calendar-date-style.
10457 (diary-fancy-date-matcher): New function.
10458 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10459 (diary-fancy-font-lock-fontify-region-function):
10460 Use diary-fancy-date-pattern as a function.
10461
31dfb76c
GM
10462 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10463 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10464
48e79d6a
TZ
104652011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10466
10467 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10468 instead of positional arguments. Allow :keylist and :crlfiles
10469 arguments.
10470 (open-gnutls-stream): Call it.
10471
10472 * net/network-stream.el (network-stream-open-starttls): Adjust to
10473 call `gnutls-negotiate' with :process and :hostname arguments.
10474
dd5a5ee0
SM
104752011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10476
ef80fc09
SM
10477 * minibuffer.el (completion--message): New function.
10478 (completion--do-completion, minibuffer-complete)
10479 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10480 (completion--do-completion): Don't ignore completion-auto-help when in
10481 icomplete-mode.
10482
dd5a5ee0
SM
10483 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10484 internal encoding (e.g. tibetan zero is not whitespace).
10485 (global-whitespace-mode): Prefer save-current-buffer.
10486 (whitespace-trailing-regexp): Remove useless save-match-data.
10487 (whitespace-empty-at-bob-regexp): Minor simplification.
10488
b7d22a83
CY
104892011-05-03 Chong Yidong <cyd@stupidchicken.com>
10490
10491 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10492
5192af46
AM
104932011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10494
10495 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10496 Use `concat' to create string for insertion.
5192af46 10497
5767d190
SM
104982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10499
10500 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10501 Avoid open-line which runs post-self-insert-hook.
10502 (bibtex-fill-entry): Remove unused `end' var.
10503
bf242939
AM
105042011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10505
5767d190
SM
10506 * textmodes/ispell.el (ispell-add-per-file-word-list):
10507 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10508
25666126
LL
105092011-05-03 Leo Liu <sdl.web@gmail.com>
10510
10511 * isearch.el (isearch-yank-pop): New command.
5767d190 10512 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10513 (isearch-forward): Mention it.
10514
52d3c2d0
SM
105152011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10516
1bcace58
SM
10517 * simple.el (minibuffer-complete-shell-command): Remove.
10518 (minibuffer-local-shell-command-map): Use completion-at-point.
10519 (read-shell-command): Setup completion vars here instead.
10520 (read-expression-map): Bind TAB to symbol completion.
10521
52d3c2d0
SM
10522 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10523 error directly rather via storing it into `results'.
10524
35813471
LL
105252011-05-02 Leo Liu <sdl.web@gmail.com>
10526
10527 * vc/diff.el: Fix description.
10528
e793a940
LMI
105292011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10530
10531 * server.el (server-eval-at): New function.
10532
8de66e05
LMI
105332011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10534
10535 * net/network-stream.el (open-network-stream): Take a :nowait
10536 parameter and pass it on to `make-network-process'.
10537 (network-stream-open-plain): Ditto.
10538
dcb79f20
AS
105392011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10540
10541 * faces.el (face-spec-set-match-display): Don't match toolkit
10542 options on terminal frames.
10543
14a7fbd8
SM
105442011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10545
7eabc1be
SM
10546 * progmodes/pascal.el: Use lexical binding.
10547 (pascal-mode-map): Remove author preferences.
10548
14a7fbd8
SM
10549 * pcomplete.el (pcomplete-std-complete): Don't abuse
10550 completion-at-point.
10551
50f84510
JB
105522011-04-28 Juanma Barranquero <lekktu@gmail.com>
10553
6e087a44
JB
10554 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10555 removing code that has been dead since 1991 or so.
10556
50f84510
JB
10557 * startup.el (command-line): When warning about "_emacs", use a
10558 delayed warning to allow the user to filter it out.
10559
0ba690bd
DD
105602011-04-28 Deniz Dogan <deniz@dogan.se>
10561
10562 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10563 user has not joined.
10564
08abfaad
SM
105652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10566
10567 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10568 aren't any completions at point.
10569
638f053a
JB
105702011-04-28 Juanma Barranquero <lekktu@gmail.com>
10571
10572 * subr.el (display-delayed-warnings): New function.
10573 (delayed-warnings-hook): New variable.
10574
8fff8daa
SM
105752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10576
08abfaad
SM
10577 * minibuffer.el (completion-at-point, completion-help-at-point):
10578 Don't presume that a given completion-at-point-function will always
10579 use the same calling convention.
10580
8fff8daa
SM
10581 * pcomplete.el (pcomplete-completions-at-point):
10582 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10583 pcomplete-seen is non-nil.
10584 (pcomplete-comint-setup): Also recognize the new comint/shell
10585 completion functions.
10586 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10587 pcomplete-seen is non-nil.
10588
841a1577 105892011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10590
841a1577 10591 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10592 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10593 the first character in the entry. This allows for code to add its
211ec907
UJ
10594 own uid to the entry.
10595 (icalendar--convert-float-to-ical): Add export of
10596 `diary-float'-entries save for those with the optional DAY
10597 argument.
10598
2a782793
DC
105992011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10600
10601 * subr.el (shell-quote-argument): Use alternate escaping strategy
10602 when we spot a variable reference in a string.
10603
0438ce91
DC
106042011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10605
10606 * cus-start.el (all): Define customization for debug-on-event.
10607
841a1577 106082011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10609
10610 * subr.el (shell-quote-argument): Escape correctly under Windows.
10611
d090ed6c
SM
106122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10615
bfd31217
MA
106162011-04-25 Michael Albinus <michael.albinus@gmx.de>
10617
d090ed6c
SM
10618 * net/tramp.el (tramp-process-actions): Add POS argument.
10619 Delete region between POS and (pos).
bfd31217 10620
d090ed6c
SM
10621 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10622 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10623 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10624
10625 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10626 position in `tramp-process-actions' call.
10627
10628 * net/trampver.el: Update release number.
10629
e92f3bd3
SM
106302011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10631
850256b5
SM
10632 * custom.el (defcustom): Obey lexical-binding.
10633
e92f3bd3
SM
10634 Fix octave-inf completion problems reported by Alexander Klimov.
10635 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10636 Inherit from octave-mode-syntax-table.
10637 (inferior-octave-mode): Set info-lookup-mode.
10638 (inferior-octave-completion-at-point): New function.
10639 (inferior-octave-complete): Use it and completion-in-region.
10640 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10641 comint-filename-completion.
10642 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10643 symbol elements which shouldn't be word elements.
10644 (octave-font-lock-keywords, octave-beginning-of-defun)
10645 (octave-function-header-regexp): Adjust regexps accordingly.
10646 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10647
cd22b309
JB
106482011-04-25 Juanma Barranquero <lekktu@gmail.com>
10649
10650 * net/gnutls.el (gnutls-errorp): Declare before first use.
10651
8b492194
TZ
106522011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10653
10654 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10655 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10656 default trustfile exists before going to use it. Add missing
5a5fa834 10657 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10658 Reported by Claudio Bley <claudio.bley@gmail.com>.
10659 (open-gnutls-stream): Add usage example.
10660
10661 * net/network-stream.el (network-stream-open-starttls): Give host
10662 parameter to `gnutls-negotiate'.
10663 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10664 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10665
841a1577 106662011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10667
cd22b309
JB
10668 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10669 Use correct match group (bug#8438).
05842630 10670
3ba7869c
CY
106712011-04-24 Chong Yidong <cyd@stupidchicken.com>
10672
512e3ae1
CY
10673 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10674 (package-menu--generate): New arg specifying packages to show.
10675 (package-menu-refresh, package-menu-execute, list-packages):
10676 Callers changed.
10677 (package-show-package-list): New function, replacing deleted
10678 package--list-packages (renamed because it is non-internal).
10679
10680 * finder.el (finder-list-matches): Use package-show-package-list
10681 instead of deleted package--list-packages.
10682
e92f3bd3
SM
10683 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10684 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10685 (vc-annotate-mode-map): Bind it to RET.
10686
7031be6d
UR
106872011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10688
10689 * progmodes/etags.el (next-file): Don't use set-buffer to change
10690 buffers (Bug#8478).
10691
4ef177aa
CY
106922011-04-24 Chong Yidong <cyd@stupidchicken.com>
10693
c8d173eb
CY
10694 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10695
4ef177aa
CY
10696 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10697 (apropos-accumulator): Doc fix.
10698 (apropos-function, apropos-macro, apropos-command)
10699 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10700 (apropos-plist): Add face property.
10701 (apropos-symbols-internal): Fix indentation.
10702 (apropos-print): Simplify help, and recognize apropos-multi-type.
10703 (apropos-print-doc): Use button-type-get to extract the button's
10704 face property. Fill docstring (Bug#8352).
10705
4ffd0d6b 107062011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10707
10708 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10709
c6c32125 10710 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10711 (mpuz-mode-map): Use mapc.
c6c32125
JB
10712 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10713 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10714 Fix typos in docstrings.
10715
58d468b4
JB
10716 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10717 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10718
6470c3c6
JB
10719 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10720
4ffd0d6b 107212011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10722
10723 * minibuffer.el (completion--do-completion): Avoid the "Next char
10724 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10725
3ad8bad0
CY
10726 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10727 mouse-2 into unread-command-events, it is interpreted correctly.
10728
71d73c9c 10729 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10730 (image-toggle-display): Doc fix.
71d73c9c 10731
841a1577 107322011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10733
4ffd0d6b
GM
10734 * textmodes/page.el (what-page): Use line-number-at-pos to
10735 calculate line number (Bug#6825).
6e1dbaa9 10736
c2fb1b60
JB
107372011-04-22 Juanma Barranquero <lekktu@gmail.com>
10738
10739 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10740 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10741 Pass argument NO-DEFAULT to `find-tag-interactive'.
10742
e02f48d7
JB
107432011-04-22 Juanma Barranquero <lekktu@gmail.com>
10744
10745 Lexical-binding cleanup.
10746
10747 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10748 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10749 * progmodes/ada-prj.el (ada-prj-initialize-values)
10750 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10751 (ada-prj-show-value):
10752 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10753 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10754 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10755 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10756 * progmodes/bug-reference.el (bug-reference-push-button):
10757 * progmodes/fortran.el (fortran-line-length):
10758 * progmodes/glasses.el (glasses-change):
10759 * progmodes/octave-mod.el (octave-fill-paragraph):
10760 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10761 (python-pdbtrack-grub-for-buffer, python-sentinel):
10762 * progmodes/sql.el (sql-save-connection):
10763 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10764 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10765 Mark unused parameters.
10766
10767 * progmodes/compile.el (compilation--flush-directory-cache)
10768 (compilation--flush-parse, compile-internal): Mark unused parameters.
10769 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10770 (compilation-next-error-function): Remove unused variable `timestamp'.
10771
10772 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10773 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10774
10775 * progmodes/dcl-mode.el (dcl-end-of-command):
10776 Remove unused variable `start'.
10777 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10778 (dcl-option-value-basic, dcl-option-value-offset)
10779 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10780 Mark unused parameters.
10781 (dcl-save-local-variable): Remove unused variable `val'.
10782 (mode): Declare.
10783
10784 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10785 Mark unused parameters.
10786 (delphi-ignore-changes): Move before first use.
10787 (delphi-charset-token-at): Remove unused variable `start'.
10788 (delphi-else-start): Remove unused variable `if-count'.
10789 (delphi-comment-block-start, delphi-comment-block-end):
10790 Remove unused variable `kind'.
10791 (delphi-indent-line): Remove unused variable `new-point'.
10792
10793 * progmodes/ebrowse.el (ebrowse-files-list)
10794 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10795 Mark unused parameters. Don't quote `lambda'.
10796 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10797 Don't quote `lambda'.
10798 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10799 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10800 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10801 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10802 Use `ignore-errors'.
10803 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10804 (ebrowse-view/find-file-and-search-pattern)
10805 (ebrowse-view/find-member-declaration/definition):
10806 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10807 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10808 Rename parameter PREFIX-ARG to PREFIX.
10809 (ebrowse-tags-read-name): Remove unused variables `start' and
10810 `member-info'.
10811 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10812 to `tags-file'.
10813
10814 * progmodes/etags.el (local-find-tag-hook): Declare.
10815 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10816 Mark unused parameters.
10817
10818 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10819 (executable-interpret): Mark unused parameter.
10820
10821 * progmodes/flymake.el (flymake-process-sentinel)
10822 (flymake-after-change-function)
10823 (flymake-create-temp-with-folder-structure)
10824 (flymake-get-include-dirs-dot): Mark unused parameters.
10825 (flymake-safe-delete-directory): Remove unused variable `err'.
10826
10827 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10828 (speedbar-timer-fn, speedbar-line-text)
10829 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10830 (speedbar-center-buffer-smartly): Declare functions.
10831 (gdb-find-watch-expression): Remove unused variable `array'.
10832 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10833 (gdb-starting): Mark unused parameters.
10834 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10835 (gdb-table-string): Remove unused variable `res'.
10836 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10837 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10838 (gdb-display-buffer): Remove unused variable `cur-size'.
10839
10840 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10841 allow lexical-binding compilation.
10842 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10843 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10844 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10845 Mark unused parameters.
10846 (gud-gdb-marker-filter): Remove unused variable `match'.
10847 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10848 lambda expressions and funcall them, instead of using `fset'.
10849
10850 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10851 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10852
10853 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10854 variable `header-beg'; use `let'.
10855
10856 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10857 `restart', `last-sexp' and `at-do'.
10858
10859 * progmodes/js.el (js--debug): Mark unused parameter.
10860 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10861 (js--splice-into-items): Remove unused variable `item'.
10862 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10863
10864 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10865 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10866 (makefile-complete): Remove unused variable `try'.
10867 (makefile-fill-paragraph, makefile-match-function-end):
10868 Mark unused parameters.
10869
10870 * progmodes/octave-inf.el (inferior-octave-complete):
10871 Remove unused variable `proc'.
10872 (inferior-octave-output-digest): Mark unused parameter.
10873
10874 * progmodes/perl-mode.el (perl-calculate-indent):
10875 Remove unused variable `err'.
10876
10877 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10878 (prolog-indent-line): Mark unused parameters.
10879 (prolog-indent-line): Remove unused variable `beg'.
10880
10881 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10882 (reporter-dont-compact-list): Declare.
10883
10884 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10885 Remove unused variable `char'.
10886 (sh-debug): Mark unused parameter.
10887 (sh-get-indent-info): Remove unused variable `start'.
10888 (sh-calculate-indent): Remove unused variable `var'.
10889
10890 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10891 (simula-electric-keyword): Remove unused variable `null'.
10892 (simula-search-backward, simula-search-forward): Remove unused
10893 variables `begin' and `end'.
10894
10895 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10896 Remove unused variable `pos'.
10897 (vera-electric-tab, vera-comment-uncomment-region):
10898 Mark unused parameters.
10899 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10900
7ede3b65
CY
109012011-04-22 Chong Yidong <cyd@stupidchicken.com>
10902
10903 * emacs-lisp/package.el (package--builtins, package-alist)
10904 (package-load-descriptor, package-built-in-p, package-activate)
10905 (define-package, package-installed-p)
10906 (package-compute-transaction, package-buffer-info)
10907 (package--push): Doc fix. Distinguish more clearly between
10908 version strings and version lists.
10909
121656e9
JB
109102011-04-21 Juanma Barranquero <lekktu@gmail.com>
10911
10912 Lexical-binding cleanup.
10913
10914 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10915 (5x5-make-mutate-best):
10916 * play/fortune.el (fortune-in-buffer):
10917 * play/gomoku.el (gomoku-init-display):
10918 * play/solitaire.el (solitaire, solitaire-do-check):
10919 * play/tetris.el (tetris-default-update-speed-function):
10920 Mark unused parameters.
10921
10922 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10923 (bubbles--shift): Remove unused variable `char-org'.
10924 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10925 (bubbles--show-images): Remove unused variable `char'.
10926
10927 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10928 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10929 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10930 (decipher-analyze-buffer): Use ?\s.
10931 (decipher-make-checkpoint): Remove unused variable `mapping'.
10932
10933 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10934
10935 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10936 Remove unused variable `result'; use `let'.
10937
10938 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10939 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10940 (gametree-children-shown-p, gametree-compute-reduced-score):
10941 Use `ignore-errors'.
10942
10943 * play/handwrite.el (ps-lpr-switches): Declare.
10944 (handwrite): Remove unused variables `pmin' and `lastp'.
10945
10946 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10947
10948 * play/landmark.el (landmark-init-display)
10949 (landmark-update-naught-weights): Mark unused parameters.
10950 (landmark-y): Remove unused variable `noise'. Simplify.
10951 (landmark-human-plays): Remove unused variable `score'.
10952
10953 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10954 (mpuz-try-proposal): Remove unused variable `game'.
10955
10956 * play/zone.el (life-patterns): Declare.
10957
80f499c7
JB
109582011-04-20 Juanma Barranquero <lekktu@gmail.com>
10959
10960 * vc/vc.el (ediff-vc-internal): Declare function.
10961
024ff170
SM
109622011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10963
c0a193ea
SM
10964 * shell.el: Use lexical-binding and std completion UI.
10965 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10966 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10967 comint-preoutput-filter-functions rather than on
10968 comint-output-filter-functions.
10969 (shell-command-completion, shell--command-completion-data)
10970 (shell-filename-completion, shell-environment-variable-completion)
10971 (shell-c-a-p-replace-by-expanded-directory): New functions.
10972 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10973 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10974 (shell-dynamic-complete-environment-variable): Use them.
10975 (shell-dynamic-complete-as-environment-variable)
10976 (shell-dynamic-complete-as-command): Remove.
10977 (shell-match-partial-variable): Match past point.
10978 * comint.el: Clean up use of completion-at-point-functions.
10979 (comint-completion-at-point): New function.
10980 (comint-mode): Use it completion-at-point-functions.
10981 (comint-dynamic-complete): Make it obsolete.
10982 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10983 (comint-c-a-p-replace-by-expanded-history): New function.
10984 (comint-dynamic-complete-functions)
10985 (comint-replace-by-expanded-history): Use it.
10986 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10987 termination strings. Try harder to avoid second try-completion.
10988 (completion-in-region-mode-map): Disable bindings that don't work yet.
10989
2dbaa080
SM
10990 * comint.el: Use lexical-binding. Require CL.
10991 (comint-dynamic-complete-functions): Use comint-filename-completion.
10992 (comint-completion-addsuffix): Tweak custom type.
10993 (comint-filename-completion, comint--common-suffix)
10994 (comint--common-quoted-suffix, comint--table-subvert)
10995 (comint--complete-file-name-data): New functions.
10996 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10997 (comint-dynamic-list-filename-completions): Use them.
10998 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10999
2dbaa080
SM
11000 * minibuffer.el (completion-in-region-mode):
11001 Keep completion-in-region-mode--predicate global.
11002 (completion-in-region--postch):
11003 Assume completion-in-region-mode--predicate is not null.
11004
c79a6f38
SM
11005 * progmodes/flymake.el (flymake-start-syntax-check-process):
11006 Obey `dir'. Simplify.
11007
024ff170
SM
11008 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11009 we're in VC after all.
11010
1c6c854e
CS
110112011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11012
11013 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11014 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11015 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11016
bed7f140
SM
110172011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11018
332e62ab
SM
11019 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11020 add sanity check.
11021
bed7f140
SM
11022 * obsolete/erc-hecomplete.el: Make obsolete.
11023 * obsolete/: Standardize obsolescence info in the header.
11024
f195c582
GM
110252011-04-20 Glenn Morris <rgm@gnu.org>
11026
11027 * calendar/solar.el (solar-horizontal-coordinates):
11028 Use the longitude argument rather than `calendar-longitude'.
11029 (solar-date-next-longitude): Remove unused locals.
11030
cb79b8c0
VJL
110312011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11032
11033 * whitespace.el: New version 13.2.1.
11034
110352011-04-20 felix <EmacsWiki> (tiny change)
11036
d8e4b68b 11037 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11038 switching between major modes on a file.
11039
602ea69d
SM
110402011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11041
11042 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11043 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11044 multi-line comments as well.
11045
06b60517
JB
110462011-04-19 Juanma Barranquero <lekktu@gmail.com>
11047
11048 Lexical-binding cleanup.
11049
11050 * arc-mode.el (archive-mode-revert):
11051 * cmuscheme.el (scheme-interactively-start-process):
11052 * custom.el (custom-initialize-delay):
11053 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11054 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11055 * emacs-lock.el (emacs-lock-clear-sentinel):
11056 * ezimage.el (defezimage):
11057 * follow.el (follow-avoid-tail-recenter):
11058 * fringe.el (set-fringe-mode-1):
11059 * generic-x.el (bat-generic-mode-compile):
11060 * help-mode.el (help-info-variable, help-do-xref)
11061 (help-mode-revert-buffer):
11062 * help.el (view-emacs-todo):
11063 * iswitchb.el (iswitchb-completion-help):
11064 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11065 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11066 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11067 * locate.el (locate-update):
11068 * longlines.el (longlines-encode-region)
11069 (longlines-after-change-function):
11070 * outline.el (outline-isearch-open-invisible):
11071 * ps-def.el (declare-function, charset-dimension, char-width)
11072 (encode-char):
11073 * ps-mule.el (ps-mule-plot-string):
11074 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11075 (recentf-edit-list-select, recentf-edit-list-validate)
11076 (recentf-open-files-action):
11077 * rect.el (delete-whitespace-rectangle-line)
11078 (rectangle-number-line-callback):
11079 * register.el (window-configuration-to-register)
11080 (frame-configuration-to-register):
11081 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11082 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11083 (xselect-convert-to-targets, xselect-convert-to-delete)
11084 (xselect-convert-to-filename, xselect-convert-to-charpos)
11085 (xselect-convert-to-lineno, xselect-convert-to-colno)
11086 (xselect-convert-to-os, xselect-convert-to-host)
11087 (xselect-convert-to-user, xselect-convert-to-class)
11088 (xselect-convert-to-name, xselect-convert-to-integer)
11089 (xselect-convert-to-atom, xselect-convert-to-identity):
11090 * subr.el (declare, ignore, process-kill-without-query)
11091 (text-clone-maintain):
11092 * terminal.el (te-get-char, te-tic-sentinel):
11093 * tool-bar.el (tool-bar-make-keymap):
11094 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11095 * type-break.el (type-break-mode, type-break-noninteractive-query):
11096 * view.el (View-back-to-mark):
11097 * wid-browse.el (widget-browse-action, widget-browse-widget)
11098 (widget-browse-widgets, widget-browse-sexp):
11099 * widget.el (define-widget-keywords):
11100 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11101 Mark unused parameters.
11102
11103 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11104 (align-areas): Remove unused variable `look'.
11105 (align-region): Remove unused variables `real-end' and `pos-list'.
11106
11107 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11108
11109 * bindings.el (mode-line-modified, mode-line-remote):
11110 Mark unused parameters.
11111 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11112
11113 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11114 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11115
11116 * comint.el (comint-history-isearch-pop-state)
11117 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11118 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11119 (comint-substitute-in-file-name): Doc fix.
11120
11121 * completion.el (cmpl-statistics-block): Mark unused parameter.
11122 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11123 (save-completions-to-file, load-completions-from-file):
11124 Remove unused local variable `e'.
11125
11126 * composite.el (compose-chars): Remove unused variable `len'.
11127 (lgstring-insert-glyph): Remove unused variable `g'.
11128 (compose-glyph-string): Remove unused variables `ascent',
11129 `descent', `lbearing' and `rbearing'.
11130 (compose-glyph-string-relative): Remove unused variables
11131 `lbearing', `rbearing' and `wadjust'.
11132 (compose-gstring-for-graphic): Remove unused variables `header',
11133 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11134 (compose-gstring-for-terminal): Remove unused variables `header'
11135 and `nchars'. Use `let', not `let*'.
11136
11137 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11138 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11139 (Custom-buffer-done, custom-buffer-create-internal)
11140 (custom-browse-visibility-action, custom-browse-group-tag-action)
11141 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11142 (widget-magic-mouse-down-action, custom-toggle-parent)
11143 (custom-add-parent-links, custom-toggle-hide-variable)
11144 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11145 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11146 (custom-face-menu-create, custom-variable-menu-create, get)
11147 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11148 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11149 (customize-apropos): Remove unused variable `tests'.
11150 (custom-group-value-create): Remove unused variable `hidden-p'.
11151 (sort-fold-case): Declare.
11152
11153 * cus-theme.el (custom-reset-standard-faces-list)
11154 (custom-reset-standard-variables-list): Declare.
11155 (customize-create-theme, custom-theme-revert, custom-theme-write)
11156 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11157 Mark unused parameters.
11158
11159 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11160
11161 * delim-col.el (delimit-columns-max): Move defvar before first use.
11162
11163 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11164 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11165
11166 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11167 (auto-insert): Declare.
11168 (desktop-restore-file-buffer): Rename desktop-* parameters;
11169 mark unused ones.
11170 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11171 (desktop-buffer): Rename desktop-* parameters.
11172
11173 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11174 (dframe-reposition-frame-xemacs, dframe-help-echo)
11175 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11176 Mark unused parameters.
11177
11178 * dired-aux.el (backup-extract-version-start, overwrite-query)
11179 (overwrite-backup-query, rename-regexp-query)
11180 (rename-non-directory-query): Declare.
11181 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11182 (dired-add-entry): Remove unused variable `orig-file-name'.
11183 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11184 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11185 `dired-copy-preserve-time' directly.
11186 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11187 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11188
11189 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11190 (dired-virtual-revert, dired-make-relative-symlink):
11191 Mark unused parameters.
11192 (manual-program): Declare.
11193 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11194 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11195 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11196
11197 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11198
11199 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11200
11201 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11202 Declare.
11203
11204 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11205
11206 * electric.el (Electric-command-loop): Rename parameter
11207 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11208
11209 * expand.el (expand-in-literal): Remove unused variable `here'.
11210
11211 * facemenu.el (facemenu-add-new-color):
11212 Remove unused variable `docstring'.
11213
11214 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11215 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11216 (face-attr-construct): Mark unused parameter. Doc fix.
11217 (read-color): Remove unused variable `hex-string'.
11218
11219 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11220 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11221 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11222 (display-buffer-other-frame): Remove unused variable `old-window'.
11223 (kill-buffer-hook): Declare.
11224 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11225 Mark unused parameters.
11226 (after-find-file): Pass 1 to `auto-save-mode', not t.
11227
11228 * files-x.el (auto-insert): Declare.
11229 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11230
11231 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11232 variable `buf'. Mark unused parameter.
06b60517
JB
11233 (find-lisp-insert-directory): Mark unused parameter.
11234
11235 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11236 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11237 (format-common-tail): Remove, unused.
11238 (format-deannotate-region): Remove unused variable `loc'.
11239 (format-annotate-region): Remove unused variable `p'.
11240 (format-annotate-single-property-change): Remove unused variables
11241 `default' and `tail'.
11242
11243 * forms.el (read-file-filter): Declare.
11244 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11245
11246 * frame.el (frame-creation-function-alist): Mark unused parameter.
11247 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11248
11249 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11250 Remove unused parameters.
11251 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11252 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11253
11254 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11255 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11256 (hfy-prepare-tag-map): Mark unused parameters.
11257 (htmlfontify-buffer): Use `called-interactively-p'.
11258
11259 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11260 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11261 (ibuffer-do-occur): Mark unused parameters.
11262 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11263 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11264
11265 * ibuffer.el: Don't quote `lambda'.
11266 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11267 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11268 Mark unused parameters.
11269
11270 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11271 (ido-completing-read): Mark unused parameters.
11272 (ido-copy-current-word): Mark unused parameters;
11273 remove unused variable `name'.
11274 (ido-sort-merged-list): Remove unused parameter `dirs'.
11275
11276 * ielm.el (ielm-input-sender): Mark unused parameter.
11277 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11278 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11279 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11280 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11281 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11282
11283 * image-dired.el (image-dired-display-thumbs): Remove unused
11284 variables `curr-file' and `count'.
11285 (image-dired-remove-tag): Remove unused variable `start'.
11286 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11287 variable `curr-file'
11288 (image-dired-rotate-original): Remove unused variable `temp-file'.
11289 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11290 Remove unused variable `file'.
11291 (image-dired-gallery-generate): Remove unused variable `curr'.
11292 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11293
11294 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11295
11296 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11297
11298 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11299
11300 * isearch.el (minibuffer-history-symbol): Declare.
11301 (isearch-edit-string): Remove unused variable `err'.
11302 (isearch-message-prefix, isearch-message-suffix):
11303 Mark unused parameters.
11304
11305 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11306
11307 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11308
11309 * makesum.el (double-column): Remove unused variable `cnt'.
11310
11311 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11312 (ido-ignore-item-temp-list): Declare.
11313
11314 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11315 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11316 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11317 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11318 `mouse-col-delta'.
11319
11320 * mouse-sel.el (mouse-extend-internal):
11321 Remove unused variable `orig-window-frame'.
11322
11323 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11324 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11325 Move declarations before first use.
11326 (pcomplete-opt): Mark unused parameters; doc fix.
11327
11328 * proced.el (proced-revert): Mark unused parameter.
11329 (proced-send-signal): Remove unused variable `err'.
11330
11331 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11332 Rename parameter PREFIX-ARG to ARG.
11333 (ps-basic-plot-string, ps-basic-plot-whitespace):
11334 Mark unused parameters.
11335
11336 * replace.el (replace-count): Define.
11337 (occur-revert-function): Mark unused parameters.
11338 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11339 (isearch-case-fold-search, isearch-string): Declare.
11340 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11341 bind `case-fold-search'. Remove unused variables `beg' and `end',
11342 and simplify.
11343 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11344 COUNT and bind `replace-count'.
11345 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11346 to COUNT.
11347
11348 * savehist.el (print-readably, print-string-length): Declare.
11349
11350 * shadowfile.el (shadow-expand-cluster-in-file-name):
11351 Remove unused variable `cluster'.
11352 (shadow-copy-file): Remove unused variable `i'.
11353 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11354 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11355 (shadow-define-literal-group, shadow-define-regexp-group)
11356 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11357
11358 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11359 (shell): Use `called-interactively-p'.
11360 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11361
11362 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11363 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11364 (delete-backward-char): Remove unused variable `ocol'.
11365 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11366 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11367 (event-apply-hyper-modifier, event-apply-shift-modifier)
11368 (event-apply-control-modifier, event-apply-meta-modifier):
11369 Mark unused parameters.
11370 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11371 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11372
11373 * speedbar.el (speedbar-ignored-directory-expressions)
11374 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11375 (speedbar-find-file, speedbar-dir-follow)
11376 (speedbar-directory-buttons-follow, speedbar-tag-find)
11377 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11378 (speedbar-buffers-line-directory, speedbar-buffer-click):
11379 Mark unused parameters.
11380 (speedbar-tag-file): Remove unused variable `mode'.
11381 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11382
11383 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11384
11385 * talk.el (talk): Remove unused variable `display'.
11386
11387 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11388 (tar-write-region-annotate): Mark unused parameter.
11389
11390 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11391 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11392 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11393 warning by another.
11394
11395 * time-stamp.el (time-stamp-string-preprocess):
11396 Remove unused variable `require-padding'.
11397
11398 * tree-widget.el (widget-glyph-enable): Declare.
11399 (tree-widget-action): Mark unused parameter.
11400
11401 * w32-fns.el (x-get-selection): Mark unused parameter.
11402 (autoload-make-program, generated-autoload-file): Declare.
11403
11404 * wdired.el (wdired-revert): Mark unused parameters.
11405 (wdired-xcase-word): Remove unused variable `err'.
11406
11407 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11408 (whitespace-help-scroll): Remove unused variable `data-help'.
11409
11410 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11411 (widget-image-insert, widget-after-change, default)
11412 (widget-default-format-handler, widget-default-notify)
11413 (widget-default-prompt-value, widget-info-link-action)
11414 (widget-url-link-action, widget-function-link-action)
11415 (widget-variable-link-action, widget-file-link-action)
11416 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11417 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11418 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11419 (widget-insert-button-action, widget-delete-button-action, visibility)
11420 (widget-documentation-link-action, widget-documentation-string-action)
11421 (widget-const-prompt-value, widget-regexp-match, symbol)
11422 (widget-coding-system-prompt-value)
11423 (widget-key-sequence-value-to-external, sexp)
11424 (widget-sexp-value-to-internal, character, vector, cons)
11425 (widget-choice-prompt-value, widget-boolean-prompt-value)
11426 (widget-color--choose-action): Mark unused parameters.
11427 (widget-item-match-inline, widget-choice-match-inline)
11428 (widget-checklist-match, widget-checklist-match-inline)
11429 (widget-group-match): Rename parameter VALUES to VALS.
11430 (widget-field-value-set): Remove unused variable `size'.
11431 (widget-color-action): Remove unused variables `value' and `start'.
11432
11433 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11434 variable `dir'. Doc fix.
06b60517
JB
11435 (windmove-find-other-window): Don't pass it.
11436
11437 * window.el (count-windows): Mark unused parameter.
11438 (bw-adjust-window): Remove unused variable `err'.
11439
11440 * woman.el (woman-file-name): Remove unused variable `default'.
11441 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11442 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11443 (global-font-lock-mode): Declare.
11444 (woman-decode-region): Mark unused parameter.
11445 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11446
11447 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11448 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11449 (x-dnd-handle-moz-url): Remove unused variable `title'.
11450 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11451
11452 * xml.el (xml-parse-tag, xml-parse-attlist):
11453 Remove unused variable `pos'.
11454
bc4f7f3d
GM
114552011-04-19 Glenn Morris <rgm@gnu.org>
11456
11457 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11458 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11459 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11460 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11461 * calendar/cal-html.el (cal-html-insert-minical):
11462 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11463 (calendar-mark-date-pattern):
11464 Prefix "unused" locals.
11465
11466 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11467 optional argument `style'.
11468
11469 * calendar/appt.el (appt-make-list):
11470 * calendar/cal-china.el (calendar-chinese-date-string):
11471 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11472 (diary-hebrew-yahrzeit):
11473 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11474 * calendar/calendar.el (calendar-generate-window):
11475 * calendar/time-date.el (time-to-days):
11476 Remove unused local variables.
11477
16a43933
CY
114782011-04-18 Chong Yidong <cyd@stupidchicken.com>
11479
11480 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11481 glyphless-char-display table.
11482 (tabulated-list-glyphless-char-display): New var.
11483
7eed1860
SS
114842011-04-18 Sam Steingold <sds@gnu.org>
11485
11486 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11487 to acknowledgments.
11488
4d2d1ccd
GM
114892011-04-17 Glenn Morris <rgm@gnu.org>
11490
11491 * calendar/diary-lib.el (diary-sexp-entry):
11492 * calendar/holidays.el (holiday-sexp):
11493 Set debug-on-error rather than the removed stack-trace-on-error.
11494
239da61d
GM
114952011-04-16 Glenn Morris <rgm@gnu.org>
11496
11497 * progmodes/f90.el: Use lexical-binding.
11498 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11499
8b05752a
SM
115002011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11501
daca8ba5
SM
11502 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11503 (mail-mode): Setup mailalias completion here instead.
11504 * mail/mailalias.el: Use lexical-binding.
11505 (pattern, mailalias-done): Declare dynamic.
11506 (mail-completion-at-point-function): New function, from mail-complete.
11507 (mail-complete): Use it.
11508 (mail-completion-expand): New function.
11509 (mail-get-names): Use it.
11510 (mail-directory, mail-directory-process, mail-directory-stream):
11511 Don't use `pattern' for lexically bound arg.
11512
6f542485
SM
11513 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11514
037e7c3f
SM
11515 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11516 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11517 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11518
8b05752a
SM
11519 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11520 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11521 (byte-interactive-p): Define them again, for use when inlining
11522 old code.
11523
49093f60
JB
115242011-04-15 Juanma Barranquero <lekktu@gmail.com>
11525
11526 * loadup.el: Use `string-to-number', not `string-to-int'.
11527
b5b8e7de
SM
115282011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11531 gud-gdb-complete-command.
11532 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11533 (gud-gdb-completion-at-point): New function.
11534 (gud-gdb-completions): Remove.
11535
f42efeb5
MA
115362011-04-14 Michael Albinus <michael.albinus@gmx.de>
11537
49093f60
JB
11538 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11539 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11540 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11541 whether `executable-find' is bound.
f42efeb5
MA
11542
11543 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11544
e240cc21
SM
115452011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * minibuffer.el (completion-in-region-mode-predicate)
11548 (completion-in-region-mode--predicate): New vars.
11549 (completion-in-region, completion-in-region--postch)
11550 (completion-in-region-mode): Use them.
11551 (completion--capf-wrapper): Also return the hook function.
11552 (completion-at-point, completion-help-at-point):
11553 Adjust and provide a predicate.
c2bd2ab0
SM
11554
11555 Preserve arg names for advice of subr and lexical functions (bug#8457).
11556 * help-fns.el (help-function-arglist): Consolidate the subr and
11557 new-byte-code cases. Add argument `preserve-names' to extract names
11558 from the docstring when needed.
11559 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11560 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11561 (ad-arglist): Use help-function-arglist's new arg.
11562 (ad-definition-type): Use cond.
11563
c183f693
JB
115642011-04-13 Juanma Barranquero <lekktu@gmail.com>
11565
06641a47
JB
11566 * autorevert.el (auto-revert-handler):
11567 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11568 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11569 Don't quote lambda.
11570
c183f693
JB
11571 * image-mode.el (image-transform-set-scale):
11572 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11573
1e3b6001
G
115742011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11575
11576 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11577 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11578 Upgrades via gnutls-cli are too slow to be done opportunistically.
11579
2d6af8dd
JB
115802011-04-12 Juanma Barranquero <lekktu@gmail.com>
11581
11582 * dframe.el (dframe-current-frame): Remove spurious quote.
11583
c0749a51
GM
115842011-04-12 Glenn Morris <rgm@gnu.org>
11585
088d0d61
GM
11586 * calendar/cal-tex.el (cal-tex-end-document):
11587 Try to automatically use latin1 input if needed.
11588
c0749a51
GM
11589 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11590 Don't try to cons a mark onto an empty element.
11591
5c90fde0
LL
115922011-04-11 Leo Liu <sdl.web@gmail.com>
11593
11594 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11595 buffers.
11596 (ido-kill-buffer-at-head): Support killing virtual buffers.
11597
369e974d
CY
115982011-04-10 Chong Yidong <cyd@stupidchicken.com>
11599
11600 * minibuffer.el (completion-show-inline-help): New var.
11601 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11602 (minibuffer-force-complete, minibuffer-complete-word):
11603 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11604
11605 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11606 to avoid interference from inline help (Bug#5849).
11607
37f1c930
LL
116082011-04-10 Leo Liu <sdl.web@gmail.com>
11609
099c39a4
JB
11610 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11611 Fix typo.
37f1c930 11612
a32d4040
CY
116132011-04-09 Chong Yidong <cyd@stupidchicken.com>
11614
11615 * image-mode.el (image-toggle-display-image): Signal an error if
11616 not in Image mode.
11617 (image-transform-mode, image-transform-resize)
11618 (image-transform-set-rotation): Doc fix.
daca8ba5 11619 (image-transform-set-resize): Delete.
a32d4040
CY
11620 (image-transform-set-scale, image-transform-fit-to-height)
11621 (image-transform-fit-to-width): Handle image-toggle-display-image
11622 and image-transform-resize directly.
11623
099c39a4 116242011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11625
11626 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11627 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11628 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11629 (doc-view-mode-map): Add bindings for the new functions.
11630
099c39a4 116312011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11632
4d61f28d 11633 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11634 Fix typo in docstring.
11635
3726838a
EZ
116362011-04-08 Eli Zaretskii <eliz@gnu.org>
11637
04f33f1e
EZ
11638 * files.el (file-size-human-readable): Produce one digit after
11639 decimal, like "ls -lh" does.
11640
11641 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11642 the file size representation.
11643
3726838a
EZ
11644 * simple.el (list-processes): If async subprocesses are not
11645 available, error out with a clear error message.
11646
cbb59342
CY
116472011-04-08 Chong Yidong <cyd@stupidchicken.com>
11648
11649 * help.el (help-form-show): New function, to be called from C.
11650 Put help-form output in a buffer named differently than *Help*.
11651
e3971c44
EZ
116522011-04-08 Eli Zaretskii <eliz@gnu.org>
11653
11654 * files.el (file-size-human-readable): New function.
11655
11656 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11657 computing the representation inline. Don't require `cl'.
11658
12544bbe
GM
116592011-04-08 Glenn Morris <rgm@gnu.org>
11660
a1de6c6a
GM
11661 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11662
3c4671f4
GM
11663 * net/browse-url.el (browse-url-firefox):
11664 Test system-type, not system-configuration.
11665
b605679c
GM
11666 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11667 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11668 Use log-edit-empty-buffer-p. (Bug#7598)
11669
56442f0c
GM
11670 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11671 (rlogin-mode-map): Initialize in the defvar.
11672 (rlogin): Use ignore-errors.
11673
12544bbe
GM
11674 * replace.el (occur-mode-map): Some fixes for menu items.
11675
eb237b0f
AH
116762011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11677
11678 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11679
7d668f2c
CY
116802011-04-06 Chong Yidong <cyd@stupidchicken.com>
11681
e67a13ab
CY
11682 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11683 issuing unused warnings.
11684
11685 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11686 macro directly.
11687
7d668f2c
CY
11688 * simple.el: Lisp reimplement of list-processes. Based on an
11689 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11690 (process-menu-mode): New major mode.
11691 (list-processes--refresh, list-processes):
11692 (process-menu-visit-buffer): New functions.
11693
11694 * files.el (save-buffers-kill-emacs): Don't assume any return
11695 value of list-processes, which is undocumented anyway.
11696
a83ec3c9
CY
116972011-04-06 Chong Yidong <cyd@stupidchicken.com>
11698
11699 * emacs-lisp/tabulated-list.el: New file.
11700
e91a96fe
CY
11701 * emacs-lisp/package.el: Use Tabulated List mode.
11702 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11703 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11704 table format using Tabulated List mode variables.
11705 (package--push): New macro, replacing package-list-maybe-add.
11706 (package-menu--generate): Use package--push. Renamed from
11707 package--generate-package-list.
11708 (package-menu-refresh, list-packages): Use it.
daca8ba5 11709 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11710 Return insertion data instead of inserting it directly.
099c39a4
JB
11711 (package-menu-describe-package, package-menu-execute):
11712 Use tabulated-list-get-id.
e91a96fe
CY
11713 (package-menu-mark-delete, package-menu-mark-install)
11714 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11715 (package-menu-mark-obsolete-for-deletion):
11716 Use tabulated-list-put-tag.
e91a96fe
CY
11717 (package--list-packages, package-menu-revert)
11718 (package-menu-get-package, package-menu-get-version)
11719 (package-menu-sort-by-column): Functions deleted.
11720 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11721 (package-menu--status-predicate, package-menu--version-predicate)
11722 (package-menu--name-predicate)
11723 (package-menu--description-predicate): Handle arguments in the
11724 Tabulated List format.
11725 (package-list-packages-no-fetch): Call list-packages.
11726
3e214b50
JB
117272011-04-06 Juanma Barranquero <lekktu@gmail.com>
11728
11729 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11730 (after-find-file): Don't bind it.
3e214b50
JB
11731 (revert-buffer-in-progress-p): New variable.
11732 (revert-buffer): Bind it.
11733 Pass nil for `after-find-file-from-revert-buffer'.
11734
11735 * saveplace.el (save-place-find-file-hook): Use new variable
11736 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11737
3f0f1700
GM
117382011-04-06 Glenn Morris <rgm@gnu.org>
11739
c0274801
GM
11740 * Makefile.in (AUTOGEN_VCS): New variable.
11741 (autoloads): Use $AUTOGEN_VCS.
11742
3f0f1700
GM
11743 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11744 * calendar/calendar.el (calendar-mode-map):
11745 Check for toolkit scroll bars. (Bug#8305)
11746
41ea9e48
CY
117472011-04-05 Chong Yidong <cyd@stupidchicken.com>
11748
11749 * minibuffer.el (completion-in-region--postch)
11750 (completion-in-region-mode): Remove unnecessary messages.
11751
6194c800
JB
117522011-04-05 Juanma Barranquero <lekktu@gmail.com>
11753
33256f14
JB
11754 * font-lock.el (font-lock-refresh-defaults):
11755 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11756 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11757
6194c800
JB
11758 * info.el (Info-directory-list, Info-read-node-name-2)
11759 (Info-split-parameter-string): Doc fixes.
11760 (Info-virtual-nodes): Reflow docstring.
11761 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11762 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11763 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11764 Fix typos in docstrings.
11765 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11766 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11767 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11768 (Info-restore-desktop-buffer): Mark unused parameters.
11769 (Info-directory-find-file, Info-directory-find-node)
11770 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11771 (Info-virtual-index-find-node, Info-apropos-find-file)
11772 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11773 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11774 (Info-virtual-index): Remove unused local variable `nodename'.
11775
b87a8200 117762011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11777
b87a8200
DD
11778 * net/rcirc.el: Update my e-mail address.
11779 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11780
3b2ff876
CY
117812011-04-05 Chong Yidong <cyd@stupidchicken.com>
11782
11783 * startup.el (command-line): Save the cursor's theme-face
11784 directly, instead of using face-override-spec.
11785
11786 * custom.el (load-theme): Minor optimization in assigning faces.
11787
8d17e7ca
JB
117882011-04-04 Juanma Barranquero <lekktu@gmail.com>
11789
11790 * help-fns.el (describe-variable): Complete all variables having
11791 documentation, including keywords.
11792 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11793
2fbc1934
JB
117942011-04-04 Juanma Barranquero <lekktu@gmail.com>
11795
11796 Convert to lexical-binding.
11797
11798 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11799 (bs--get-marked-string, bs--get-modified-string)
11800 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11801 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11802 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11803
11804 * ehelp.el (electric-help-execute-extended)
11805 (electric-help-ctrl-x-prefix):
11806 * hexl.el (hexl-revert-buffer-function):
11807 * linum.el (linum-after-change, linum-after-scroll):
11808 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11809
11810 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11811
74f50695
DU
118122011-04-04 Daiki Ueno <ueno@unixuser.org>
11813
11814 * epa-dired.el:
11815 * epa-mail.el:
11816 * epa-hook.el:
11817 * epa-file.el:
11818 * epa.el:
11819 * epg.el: Use lexical binding.
11820
c11325f7
CY
118212011-04-03 Chong Yidong <cyd@stupidchicken.com>
11822
0d9e9a12
CY
11823 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11824
c11325f7 11825 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11826 dictionary case for flyspell-mark-duplications-exceptions.
11827 Use regexp matching for languages.
c11325f7
CY
11828 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11829 default dictionary (Bug#7926).
11830
da91b5f2
CY
118312011-04-02 Chong Yidong <cyd@stupidchicken.com>
11832
099c39a4
JB
11833 * emacs-lisp/package.el (package--with-work-buffer):
11834 Recognize https URLs.
da91b5f2 11835
099c39a4
JB
11836 * net/network-stream.el: Move from gnus/proto-stream.el.
11837 Change prefix to network-stream throughout.
da91b5f2
CY
11838 (open-protocol-stream): Merge into open-network-stream, leaving
11839 open-protocol-stream as an alias. Handle nil BUFFER args.
11840
11841 * subr.el (open-network-stream): Move to net/network-stream.el.
11842
afa8e9f6
GM
118432011-04-02 Glenn Morris <rgm@gnu.org>
11844
1d2e369d
GM
11845 * find-dired.el (find-exec-terminator): New option.
11846 (find-ls-option): Test for -ls support.
11847 (find-ls-subdir-switches): Test for -b in find-ls-option.
11848 (find-dired, find-grep-dired): Doc fixes.
11849 (find-dired): Use find-exec-terminator.
11850
8abb7da8 11851 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11852 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11853 (find-name-arg): Remove purecopy.
8abb7da8 11854
f3ca7378
GM
11855 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11856 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11857 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11858 accordingly. Don't add the null-device if not needed.
11859
afa8e9f6
GM
11860 * files.el (save-some-buffers): Doc fix.
11861
35eae264
EZ
118622011-04-02 Eli Zaretskii <eliz@gnu.org>
11863
11864 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11865
26b51db5
JB
118662011-04-01 Juanma Barranquero <lekktu@gmail.com>
11867
11868 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11869 Use `dolist' rather than `mapcar'.
11870
7200d79c
SM
118712011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11872
03408648 11873 Add lexical binding.
7200d79c 11874
03408648
SM
11875 * subr.el (apply-partially): Use new closures rather than CL.
11876 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11877 (dolist, dotimes): Use slightly different expansion for lexical code.
11878 (functionp): Move to C.
11879 (letrec): New macro.
11880 (with-wrapper-hook): Use it and apply-partially instead of CL.
11881 (eval-after-load): Preserve lexical-binding.
11882 (save-window-excursion, with-output-to-temp-buffer): Turn them
11883 into macros.
7200d79c 11884
03408648
SM
11885 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11886
11887 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11888 than the arglist.
11889 (help-add-fundoc-usage): Don't add `Not documented'.
11890 (help-function-arglist): Handle closures, subroutines, and new
11891 byte-code-functions.
11892 (help-make-usage): Remove leading underscores.
11893 (describe-function-1): Handle closures.
11894 (describe-variable): Use special-variable-p for completion.
11895
11896 * files.el (lexical-binding): Declare safe.
f488fb65 11897
03408648
SM
11898 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11899 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11900 (pcase): Add `let' pattern.
11901 Change memoization so it actually works.
11902 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11903 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11904 <let>: New case.
f488fb65 11905
03408648
SM
11906 * emacs-lisp/macroexp.el: Use lexical binding.
11907 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11908 Don't convert ' to #' without checking that it's indeed quoting
11909 a lambda.
11910
11911 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11912 Use eval-sexp-add-defvars.
03408648
SM
11913 (eval-sexp-add-defvars): New fun.
11914
11915 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11916
11917 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11918 Don't autoload.
11919 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11920 than the internal `byte-compile-lambda'.
11921 (defmethod): Don't hide code under quotes.
11922 (eieio-defmethod): New `code' argument.
11923
11924 * emacs-lisp/eieio-comp.el: Remove.
11925
11926 * emacs-lisp/edebug.el (edebug-eval-defun)
11927 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11928 (edebug-toggle): Avoid `eval'.
11929
11930 * emacs-lisp/disass.el (disassemble-internal): Handle new
11931 `closure' objects.
11932 (disassemble-1): Handle new byte codes.
11933
11934 * emacs-lisp/cl.el (pushnew): Silence warning.
11935
11936 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11937 (cl-byte-compile-throw): Remove.
11938 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11939
11940 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11941 closures.
11942
11943 * emacs-lisp/cconv.el: New file.
11944
11945 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11946 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11947 (byte-compile-initial-macro-environment):
11948 Handle declare-function here.
11949 (byte-compile--lexical-environment): New var.
11950 (byte-stack-ref, byte-stack-set, byte-discardN)
11951 (byte-discardN-preserve-tos): New lap codes.
11952 (byte-interactive-p): Don't use any more.
11953 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11954 New macros.
11955 (byte-compile-lapcode): Use them and handle new lap codes.
11956 (byte-compile-obsolete): Remove.
11957 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11958 (byte-compile-arglist-warn): Check late def of inlinable funs.
11959 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11960 since they should have been expanded by now.
11961 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11962 (byte-compile-from-buffer): Remove unused second arg.
11963 (byte-compile-preprocess): New function.
11964 (byte-compile-toplevel-file-form): New function to distinguish
11965 file-form calls from outside from file-form calls from hunk-handlers.
11966 (byte-compile-file-form): Simplify.
11967 (byte-compile-file-form-defsubst): Remove.
11968 (byte-compile-file-form-defmumble): Simplify now that
11969 byte-compile-lambda always returns a byte-code-function.
11970 (byte-compile): Preprocess.
11971 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11972 Remove, not used any more.
11973 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11974 (byte-compile-make-args-desc): New funs.
11975 (byte-compile-lambda): Handle lexical functions. Always return
11976 a byte-code-function.
11977 (byte-compile-reserved-constants): New var, to make up room for
11978 closed-over variables.
11979 (byte-compile-constants-vector): Obey it.
11980 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11981 (byte-compile-macroexpand-declare-function): New function.
11982 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11983 byte-code-functions.
11984 (byte-compile-form): Check obsolescence here.
11985 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11986 (byte-compile-variable-ref): Remove.
11987 (byte-compile-dynamic-variable-op): New fun.
11988 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11989 (byte-compile-variable-set): New funs.
11990 (byte-compile-discard): Add 2 args.
11991 (byte-compile-stack-ref, byte-compile-stack-set)
11992 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11993 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11994 macroexpand-all instead.
11995 (byte-compile-quote-form): Remove.
11996 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11997 (byte-compile-bind, byte-compile-unbind): New funs.
11998 (byte-compile-let): Handle let* and lexical binding.
11999 (byte-compile-let*): Remove.
12000 (byte-compile-catch, byte-compile-unwind-protect)
12001 (byte-compile-track-mouse, byte-compile-condition-case):
12002 Handle a new :fun-body form, used for lexical scoping.
12003 (byte-compile-save-window-excursion)
12004 (byte-compile-with-output-to-temp-buffer): Remove.
12005 (byte-compile-defun): Simplify.
12006 (byte-compile-stack-adjustment): New fun.
12007 (byte-compile-out): Use it.
12008 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12009
12010 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12011 handler any more.
12012
12013 * emacs-lisp/byte-opt.el: Use lexical binding.
12014 (byte-inline-lapcode): Remove (to bytecomp).
12015 (byte-compile-inline-expand): Pay attention to inlining to/from
12016 lexically bound code.
12017 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12018 any more.
12019 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12020 any more and don't call compiler-macros.
12021 (byte-compile-splice-in-already-compiled-code): Remove.
12022 (byte-code): Don't inline any more.
12023 (disassemble-offset): Receive `bytes' as argument rather than via
12024 dynamic scoping.
12025 (byte-compile-tag-number): Declare before first use.
12026 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12027 `return' even if make-spliceable.
12028 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12029 obsolete interactive-p.
12030 (byte-optimize-lapcode): Optimize new lap-codes.
12031 Don't trip up on new form of `byte-constant' lap code.
12032
12033 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12034
12035 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12036
12037 * custom.el (custom-initialize-default, custom-declare-variable):
12038 Use `defvar'.
12039
12040 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12041 New variables.
12042 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12043 (COMPILE_FIRST): Add macroexp and cconv.
12044 * makefile.w32-in: Mirror changes in Makefile.in.
12045
12046 * vc/cvs-status.el:
12047 * vc/diff-mode.el:
12048 * vc/log-edit.el:
12049 * vc/log-view.el:
12050 * vc/smerge-mode.el:
12051 * textmodes/bibtex-style.el:
12052 * textmodes/css.el:
12053 * startup.el:
12054 * uniquify.el:
da91b5f2
CY
12055 * minibuffer.el:
12056 * newcomment.el:
12057 * reveal.el:
12058 * server.el:
12059 * mpc.el:
12060 * emacs-lisp/smie.el:
12061 * doc-view.el:
12062 * dired.el:
03408648
SM
12063 * abbrev.el: Use lexical binding.
12064
0f0c1f27
EZ
120652011-04-01 Eli Zaretskii <eliz@gnu.org>
12066
12067 * info.el (info-display-manual): New function.
12068
c82b2579
SM
120692011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12072
221ddf68
TH
120732011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12074
12075 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12076 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12077
cba6e77e
GM
120782011-03-31 Glenn Morris <rgm@gnu.org>
12079
e040639f
GM
12080 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12081
cba6e77e
GM
12082 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12083
6d0f1c9e
CS
120842011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12085
12086 * progmodes/python.el (python-default-interpreter)
12087 (python-python-command-args, python-jython-command-args)
12088 (python-which-shell, python-which-args, python-which-bufname)
12089 (python-file-queue, python-comint-output-filter-function)
12090 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12091 variables and functions.
12092
3e2d70fd
SM
120932011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12094
12095 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12096 (completion-in-region-mode): New minor mode.
12097 (completion-in-region): Use it.
12098 (completion-in-region--data, completion-in-region-mode-map): New vars.
12099 (completion-in-region--postch): New function.
12100 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12101 New vars.
12102 (completion--capf-wrapper): New function.
12103 (completion-at-point): Use it to track well-behavedness of
12104 hook functions.
12105 (completion-help-at-point): New command.
12106
f3e4086c
JM
121072011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12108
12109 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12110 syntax class to search for whitespace on a single line
12111 (Message-ID: <4D938140.4030905@redhat.com>).
12112
eb7ffc14
LL
121132011-03-30 Leo Liu <sdl.web@gmail.com>
12114
12115 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12116 New commands.
12117 (edit-abbrevs-map): Bind them here.
12118 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12119
d806ab68
KM
121202011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12121
12122 * allout.el (allout-hide-by-annotation, allout-flag-region):
12123 Reduce possibility of overlay leakage by making them volatile.
12124
12125 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12126 hash is not shared between buffers. Mode initialization is
12127 responsible for giving it a useful starting value.
12128 (allout-item-span): Reduce possibility of overlay leakage by
12129 making them volatile.
12130 (allout-widgets-count-buttons-in-region): Add diagnostic function
12131 for tracking down button overlay leaks.
12132
ea622834
LL
121332011-03-29 Leo Liu <sdl.web@gmail.com>
12134
12135 * ido.el (ido-read-internal): Use the default history var
12136 minibuffer-history if no HISTORY is specified.
12137
b62f8267
G
121382011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12139
03408648
SM
12140 * net/imap.el (imap-shell-open, imap-process-connection-type):
12141 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12142 Kerberos, SSL, other subprocesses.
12143
947b6566
LL
121442011-03-28 Leo Liu <sdl.web@gmail.com>
12145
12146 * abbrev.el (abbrev-table-empty-p): New function.
12147 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12148 nonempty ones. (Bug#5937)
12149
5ffb62aa
JD
121502011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12151
12152 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12153
7a097943
LL
121542011-03-27 Leo Liu <sdl.web@gmail.com>
12155
12156 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12157 for foreground and background colors.
12158 (ansi-color-make-color-map): Adapt.
12159
c5b40130
LL
121602011-03-25 Leo Liu <sdl.web@gmail.com>
12161
1f48f7d2
LL
12162 * midnight.el (midnight-time-float): Remove. Note it calculates
12163 the microsecond component incorrectly and seconds-to-time does the
12164 same job.
625897ec 12165 Remove redundant (require 'timer).
1f48f7d2 12166
c5b40130
LL
12167 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12168 (ido-completions): Remove unused arguments. (Bug#8329)
12169
d86d2721
SM
121702011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * minibuffer.el (completion--flush-all-sorted-completions):
12173 Remove itself from hook.
12174 (completion-at-point): Let the functions perform the completion
12175 immediately and return nil or t.
12176 * comint.el (comint-dynamic-complete-functions): Now identical to
12177 completion-at-point-functions.
12178 (comint-dynamic-list-input-ring): Remove unused var `index'.
12179 (comint--match-partial-filename, comint--unquote&expand-filename):
12180 New funs, split from comint-match-partial-filename.
12181 (comint-dynamic-complete): Use completion-at-point.
12182 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12183
e8974c48
DA
121842011-03-24 Drew Adams <drew.adams@oracle.com>
12185
12186 * thingatpt.el: Support `defun'.
12187
def71b5e
LL
121882011-03-23 Leo Liu <sdl.web@gmail.com>
12189
cb5af48e
LL
12190 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12191
def71b5e
LL
12192 * help-mode.el (help-mode-finish): Tweak regexp.
12193
927c53e7
GM
121942011-03-23 Glenn Morris <rgm@gnu.org>
12195
18d05bed
GM
12196 * eshell/esh-opt.el (eshell-eval-using-options):
12197 Do not bind unused local variable `eshell-option-stub'.
12198
927c53e7
GM
12199 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12200
9d0da923
JB
122012011-03-22 Juanma Barranquero <lekktu@gmail.com>
12202
12203 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12204 keymap variable in `with-no-warnings' to avoid a warning when the
12205 keymap has been already `defconst'ed.
12206
4b978a67
LL
122072011-03-22 Leo Liu <sdl.web@gmail.com>
12208
12209 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12210 encode all chars in abbrevs; otherwise use emacs-mule or
12211 utf-8-emacs. (Bug#8308)
12212
5fd62452
JB
122132011-03-22 Juanma Barranquero <lekktu@gmail.com>
12214
0b1596c6
JB
12215 * simple.el (backward-delete-char-untabify):
12216 Avoid warning about using `delete-backward-char'.
12217
5fd62452
JB
12218 * image.el (image-type-file-name-regexps): Make it variable.
12219 `imagemagick-register-types' modifies it, and the user may want
12220 to add new extensions for known image types.
12221 (imagemagick-register-types): Throw error if not using ImageMagick.
12222
0b4e93f1
LL
122232011-03-22 Leo Liu <sdl.web@gmail.com>
12224
12225 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12226 located before rcirc-prompt-end-marker.
12227 (rcirc-complete): Error if point is not after rcirc prompt.
12228 Handle the case when table is nil.
9882e214 12229 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12230
fccee4ab
CY
122312011-03-22 Chong Yidong <cyd@stupidchicken.com>
12232
12233 * custom.el (custom--inhibit-theme-enable): Make it affect only
12234 custom-theme-set-variables and custom-theme-set-faces.
12235 (provide-theme): Ignore custom--inhibit-theme-enable.
12236 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12237 (custom-enabling-themes): Delete variable.
d86d2721
SM
12238 (enable-theme): Accept only loaded themes as arguments.
12239 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12240 (custom-enabled-themes): Forbid themes from setting this.
12241 Eliminate use of custom-enabling-themes.
12242 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12243
af896da6
LL
122442011-03-21 Leo Liu <sdl.web@gmail.com>
12245
12246 * ido.el (ido-read-internal): Add ido-selected to history instead
12247 of user input.
12248
78f64af0
SM
122492011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12250
12251 * subr.el (deferred-action-list, deferred-action-function):
12252 Mark obsolete.
12253
b16ac1ec
LL
122542011-03-21 Leo Liu <sdl.web@gmail.com>
12255
810f7698
LL
12256 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12257 change on 2011-02-13 (bug#8309).
12258
b16ac1ec
LL
12259 * minibuffer.el (read-file-name-function): Change default value.
12260 (read-file-name--defaults): Rename from read-file-name-defaults.
12261 (read-file-name-default): Rename from read-file-name.
12262 (read-file-name): Call read-file-name-function.
12263
4e05e67e
GM
122642011-03-21 Glenn Morris <rgm@gnu.org>
12265
12266 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12267 Doc fixes.
12268
4359915b
CY
122692011-03-21 Chong Yidong <cyd@stupidchicken.com>
12270
12271 * cus-theme.el: Add missing provide statement.
12272 (customize-create-theme): Extract theme value correctly.
12273 (custom-theme-visit-theme): Autoload.
12274 (customize-create-theme): Prompt before inserting default faces.
12275
1fe275ee
JB
122762011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12277
12278 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12279 units and musical notes.
12280
cd394be1 122812011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12282
12283 * ido.el (ido-read-internal): Use completing-read-default.
12284 (ido-completing-read): Fix compatibility with completing-read.
12285
7d476bde
CO
122862011-03-20 Christian Ohler <ohler@gnu.org>
12287
12288 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12289 (ert-delete-all-tests): Use `called-interactively-p' rather than
12290 `interactive-p'.
12291 (ert--make-xrefs-region): Respect END.
12292
fe0fb33e
CY
122932011-03-19 Chong Yidong <cyd@stupidchicken.com>
12294
ff854b0b
CY
12295 * dired-aux.el (dired-create-directory): Signal an error if the
12296 directory already exists (Bug#8246).
12297
fe0fb33e
CY
12298 * facemenu.el (list-colors-display): Call list-faces-display
12299 inside with-help-window.
12300 (list-colors-print): Use display property to align the final
12301 column, instead of checking window-width.
12302
576bce32
EZ
123032011-03-19 Eli Zaretskii <eliz@gnu.org>
12304
4d61f28d 12305 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12306 windows-nt systems.
12307 (emerge-protect-metachars): Quote correctly for ms-dos and
12308 windows-nt systems.
12309
89c41d68 123102011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12311
12312 * info.el (info-initialize): Replace all uses of `:' with
12313 path-separator for compatibility with non-Unix systems.
12314 Cache quoting of path-separator. (Bug#8258)
12315
b14e3e21 123162011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12317
12318 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12319 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12320 (mouse-avoidance-mode): Fix typos in docstrings.
12321
4525ce3e
CY
123222011-03-19 Chong Yidong <cyd@stupidchicken.com>
12323
12324 * startup.el (package-subdirectory-regexp): Move from package.el.
12325 Omit \\` and \\', and let callers add them.
12326
12327 * emacs-lisp/package.el (package-strip-version)
12328 (package-load-all-descriptors): Add \\` and \\' to
12329 package-subdirectory-regexp before using it.
12330 (package-untar-buffer): New arg DIR; ensure that file untars only
12331 into this expected directory. Remove superfluous delete-region.
12332 (package-unpack): Caller changed.
12333 (package-tar-file-info): Use package-subdirectory-regexp.
12334
a904a09a 123352011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12336
a904a09a
SM
12337 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12338 diff-mode-shared-map (bug#8284).
12339 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12340
123412011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12342
12343 * calendar/time-date.el (format-seconds): Use assoc instead of
12344 assoc-string, since assoc-string doesn't exist in XEmacs.
12345
171fc304
JB
123462011-03-17 Juanma Barranquero <lekktu@gmail.com>
12347
12348 * custom.el (custom-known-themes): Reflow docstring.
12349 (custom-theme-load-path): Fix typo in docstring.
12350 (load-theme): Fix typo in error message.
12351 (custom-available-themes, custom-variable-theme-value):
12352 Use `let', not `let*'.
12353
d71990a1
JB
123542011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12355
12356 * calc/README: Mention inclusion of musical notes.
12357
12358 * calc/calc-units.el (calc-lu-quant): Rename from
12359 `calc-logunits-quantity'.
12360 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12361 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12362 (calc-db): Rename from `calc-dblevel'.
12363 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12364 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12365 (calc-np): Rename from `calc-nplevel'.
12366 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12367 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12368 (calc-lu-plus): Rename from `calc-logunits-add'.
12369 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12370 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12371 (calc-lu-minus): Rename from `calc-logunits-sub'.
12372 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12373 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12374 (calc-lu-times): Rename from `calc-logunits-mul'.
12375 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12376 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12377 (calc-lu-divide): Rename from `calc-logunits-div'.
12378 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12379 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12380
12381 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12382 functions being autoloaded.
12383
12384 * calc/calc.el (calc-lu-power-reference): Rename from
12385 `calc-logunits-power-reference'.
12386 (calc-lu-field-reference): Rename from
12387 `calc-logunits-field-reference'.
12388
7a71b18d
GM
12389 * calc/calc-help.el (calc-l-prefix-help):
12390 Mention musical note functions.
d71990a1 12391
40c2934b
SM
123922011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * minibuffer.el (completion-all-sorted-completions):
12395 Use :completion-cycle-penalty text property if present.
12396
b0911414
KM
123972011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12398
12399 * allout.el (allout-yank-processing): Adjust for new rebulleting
12400 regime so bullet being yanked is used without prompting the user
12401 for a choice.
12402
8a05b668
JB
124032011-03-16 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * startup.el (command-line): Warn the user that _emacs is deprecated.
12406
5ba5fb81
JB
124072011-03-16 Juanma Barranquero <lekktu@gmail.com>
12408
12409 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12410 (delphi-verbose, delphi-comment-face, delphi-string-face)
12411 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12412 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12413 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12414 (delphi-new-comment-line, delphi-font-lock-defaults)
12415 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12416 Fix typos in docstrings.
12417
2dab465b
KM
124182011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12419
5ba5fb81 12420 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12421 Invert the roles of character and string values for INSTEAD, so a
12422 string is used for the more common case of a defaulting prompt.
12423
0adf5618
SM
124242011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * progmodes/ruby-mode.el (ruby-backward-sexp):
12427 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12428 * play/gamegrid.el (gamegrid-make-face):
12429 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12430 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12431 * notifications.el (notifications-notify):
12432 * net/xesam.el (xesam-search-engines):
12433 * net/quickurl.el (quickurl-list-insert):
12434 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12435
d72700e5
CY
124362011-03-15 Chong Yidong <cyd@stupidchicken.com>
12437
12438 * startup.el (command-line): Update package subdirectory regexp.
12439
49c5410a
SM
124402011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12441
c6eee9aa
SM
12442 * allout.el (allout-abbreviate-flattened-numbering)
12443 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12444
49c5410a
SM
12445 * subr.el (read-char-choice): Only show the cursor after the prompt,
12446 not after the answer.
12447
047b2bb9
KR
124482011-03-15 Kevin Ryde <user42@zip.com.au>
12449
12450 * help-fns.el (variable-at-point): Skip leading quotes, if any
12451 (bug#8253).
12452
0a57d256
SM
124532011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12456 warning message.
12457
77c992bc
MA
124582011-03-14 Michael Albinus <michael.albinus@gmx.de>
12459
12460 * shell.el (shell): When called interactively, offer to change the
12461 shell file name on remote hosts.
12462
eebc475d
TZ
124632011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12464
12465 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12466 integration for LDAP parameters. The host, base, user or binddn,
12467 and secret tokens can be specified in a netrc file, for instance.
12468 This is optional because an `auth-source' parameter must be
12469 specified in the search attributes.
12470
9d05d1ba
JB
124712011-03-13 Juanma Barranquero <lekktu@gmail.com>
12472
12473 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12474
09d9db2c
GM
124752011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12476
12477 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12478 into declaration. Remove redundant and harmful binding.
12479
124802011-03-12 Eli Zaretskii <eliz@gnu.org>
12481
12482 * files.el (file-ownership-preserved-p): Pass `integer' as an
12483 explicit 2nd argument to `file-attributes'. If the file's owner
12484 is the Administrators group on Windows, and the current user is
12485 Administrator, consider that a match.
12486
12487 * server.el (server-ensure-safe-dir): Consider server directory
12488 safe on MS-Windows if its owner is the Administrators group while
12489 the current Emacs user is Administrator. Use `=' to compare
12490 numerical UIDs, since they could be integers or floats.
12491
219bd536
JB
124922011-03-12 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12495
f3afd36b
MA
124962011-03-12 Michael Albinus <michael.albinus@gmx.de>
12497
12498 Sync with Tramp 2.2.1.
12499
12500 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12501
12502 * net/trampver.el: Update release number.
12503
3aaaa6f1
SM
125042011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12505
94642599
SM
12506 * progmodes/compile.el (compilation--previous-directory): Fix up
12507 various nil/dead-marker mismatches (bug#8014).
12508 (compilation-directory-properties, compilation-error-properties):
12509 Don't call it at a position past the one we're about to change.
12510
3aaaa6f1
SM
12511 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12512 Disable obsolescence warnings in the file that declares it.
12513
14239447
KM
125142011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12515
099c39a4
JB
12516 * allout-widgets.el (allout-widgets-tally):
12517 Initialize allout-widgets-tally as a hash table rather than nil to
12518 prevent mode-line redisplay warnings. Also, clarify the module
12519 description and fix a comment typo.
14239447 12520
135e287c
JB
125212011-03-11 Juanma Barranquero <lekktu@gmail.com>
12522
12523 * help-fns.el (describe-variable): Don't complete keywords.
12524 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12525
ffbf300e
CY
125262011-03-10 Chong Yidong <cyd@stupidchicken.com>
12527
ba08b241
CY
12528 * emacs-lisp/package.el (package-version-join): Impose a standard
12529 string representation for pre/alpha/beta version lists.
12530 (package-unpack-single): Standardize the directory name by passing
12531 it through package-version-join.
12532 (package-strip-rcs-id): Accept any version string that does not
12533 signal an error in version-to-list.
ffbf300e 12534
f346fd6b
MA
125352011-03-10 Michael Albinus <michael.albinus@gmx.de>
12536
12537 * simple.el (delete-trailing-whitespace): Return nil for the
12538 benefit of `write-file-functions'.
12539
ccb55d27
GM
125402011-03-10 Glenn Morris <rgm@gnu.org>
12541
5ceaac0c
GM
12542 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12543
02da65ff
GM
12544 * vc/vc-git.el (vc-git-program): New option.
12545 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12546 (vc-git--call): Use it.
12547
b2f603cc
GM
12548 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12549
5772caab
GM
12550 * cus-edit.el (Custom-newline): If no button at point, look
12551 for a subgroup button at start-of-line. (Bug#2298)
12552
ccb55d27
GM
12553 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12554
ec6ecaed
JD
125552011-03-10 Julien Danjou <julien@danjou.info>
12556
12557 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12558 `cursor-type' is nil.
12559
9d5aa01d
JB
125602011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12561
12562 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12563
b6a5875b
KM
125642011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12565
7a71b18d 12566 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12567 preserves the existing header prefix, rebulleting it if necessary,
12568 rather than replacing it. This is necessary for proper operation
12569 of cooperative addons like allout-widgets.
1154d12e
JB
12570 (allout-make-topic-prefix, allout-rebullet-heading):
12571 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12572 value as alternate bullet to be used, instead of prompting the user
12573 for a bullet character.
b6a5875b 12574
ee545c35
MA
125752011-03-09 Michael Albinus <michael.albinus@gmx.de>
12576
d86d2721
SM
12577 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12578 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12579 `tramp-default-port'.
12580
c47971d7
DD
125812011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12582
12583 * net/rcirc.el (rcirc-handler-001): Remove useless
12584 with-rcirc-process-buffer.
12585 (rcirc-check-auth-status): Swap arguments to string-match.
12586
13522cb4
GM
125872011-03-09 Glenn Morris <rgm@gnu.org>
12588
0be6f4f1
GM
12589 * shell.el (shell-mode):
12590 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12591
13522cb4
GM
12592 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12593 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12594
515de2e3
CY
125952011-03-08 Chong Yidong <cyd@stupidchicken.com>
12596
12597 * emacs-lisp/package.el (package-refresh-contents)
12598 (package-menu-execute): Use condition-case-no-debug.
12599
b511b994
MA
126002011-03-08 Michael Albinus <michael.albinus@gmx.de>
12601
12602 * simple.el (shell-command-to-string): Use `process-file'.
12603
12604 * emacs-lisp/package.el (package-tar-file-info): Handle also
12605 remote files.
12606
d86d2721
SM
12607 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12608 Use `equal' for upload base check.
b511b994 12609
25bbfb31
AM
126102011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12611
12612 * textmodes/texinfo.el (texinfo-environments):
12613 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12614
be996521
GM
126152011-03-08 Glenn Morris <rgm@gnu.org>
12616
e9c8529f
GM
12617 * cus-start.el (cursor-in-non-selected-windows):
12618 Fix :set quoting oddness. (Bug#8192)
12619
be996521
GM
12620 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12621 in some setf expressions. (Bug#2159)
12622
2bb5649e
CY
126232011-03-08 Chong Yidong <cyd@stupidchicken.com>
12624
12625 * custom.el (custom-available-themes): Return themes in
12626 alphabetical order.
12627
33383987 12628See ChangeLog.15 for earlier changes.
e3d51b27
MR
12629
12630;; Local Variables:
12631;; coding: utf-8
e3d51b27
MR
12632;; End:
12633
acaf905b 12634 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12635
12636 This file is part of GNU Emacs.
12637
12638 GNU Emacs is free software: you can redistribute it and/or modify
12639 it under the terms of the GNU General Public License as published by
12640 the Free Software Foundation, either version 3 of the License, or
12641 (at your option) any later version.
12642
12643 GNU Emacs is distributed in the hope that it will be useful,
12644 but WITHOUT ANY WARRANTY; without even the implied warranty of
12645 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12646 GNU General Public License for more details.
12647
12648 You should have received a copy of the GNU General Public License
12649 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.