Merge from emacs-24 branch
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
54071013
DN
12012-04-20 Dan Nicolaescu <dann@gnu.org>
2
3 * battery.el (battery-echo-area-format): Display remaining time
4 for sysfs backend too (Bug#11269).
5 (battery-linux-sysfs): Fix conditional for the charge.
6
f30d612a
CY
72012-04-20 Chong Yidong <cyd@gnu.org>
8
c07a4c0b 9 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10 (gdb-inferior-io--init-proc): New function.
11 (gdb-init-1): Use it.
12 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13 responsible for allocating a new pty and hooking it to gdb when
14 the old pty gets an EIO due to process exit.
15 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
16 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
17 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
18
2116e93c
EZ
192012-04-20 Eli Zaretskii <eliz@gnu.org>
20
21 * window.el (window-min-size, window-sizable, window-min-delta)
22 (window-max-delta, window--resizable, window-resizable)
23 (window-total-size, window-full-height-p, window-full-width-p)
24 (window-in-direction, window--resize-mini-window, window-resize)
25 (window--resize-child-windows-normal)
26 (window--resize-child-windows, window--resize-siblings)
27 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 28 (enlarge-window, shrink-window): Doc fixes.
2116e93c 29
c07a4c0b 302012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e
CY
31
32 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
33 function to call delete-process on the gdb-inferior buffer's pty.
34 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
35 pty process (Bug#11273).
36 (gdb-update): New arg to suppress talking to the gdb process.
37 (gdb-done-or-error): Use it.
38 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
39 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
40 sentinel not being called.
41
42 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
43
d02766ab
CY
44 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
45
c07a4c0b 462012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
47
48 * net/network-stream.el (open-network-stream): Doc fix.
49
c07a4c0b 502012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
51
52 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
53
c07a4c0b 542012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
55
56 Ensure searching for keywords is case sensitive.
57
58 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
59 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
60 (c-defun-name, c-mark-function, c-cpp-define-name)
61 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 62 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 63
c07a4c0b 64 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
f0f6bc35
AM
65 case-fold-search to nil.
66
c07a4c0b 672012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
68
69 * mail/sendmail.el (mail-bury): Call return action with the right
70 Rmail buffer (Bug#11242).
71
9a864fa2
CY
72 * server.el (server-process-filter): Handle corner case where both
73 tty and nowait options are present (Bug#11102).
74
539aa513
EZ
752012-04-20 Eli Zaretskii <eliz@gnu.org>
76
77 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
78 (top level): Put into the executable the ident-style '$Id:' tag on
79 windows-nt as well.
539aa513 80
cfc7d5da
SM
812012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * electric.el (electric-indent-post-self-insert-function): Check that
84 electric-indent-mode is enabled in current buffer.
85
5b01685c
JB
862012-04-19 Juanma Barranquero <lekktu@gmail.com>
87
88 * imenu.el (imenu-progress-message): Restore; it is "used" in
89 erc/erc-imenu.el and net/snmp-mode.el.
90
4d6769e1
JB
912012-04-19 Juanma Barranquero <lekktu@gmail.com>
92
93 * avoid.el (mouse-avoidance-mode): Mark unused arg.
94 (mouse-avoidance-nudge-mouse): Remove unused binding.
95
96 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
97
98 * descr-text.el (describe-char):
99 * progmodes/python.el (python-describe-symbol):
100 Don't call `toggle-read-only', set `buffer-read-only'.
101
102 * imenu.el (imenu-default-goto-function): Mark unused args.
103 (imenu-progress-message): Remove obsolete macro; all callers changed.
104
105 * subr.el (keymap-canonicalize): Remove unused binding.
106 (read-passwd): Mark unused arg.
107
108 * tutorial.el (tutorial--display-changes): Remove unused binding.
109 (tutorial--save-tutorial-to): Remove unused variable.
110
111 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
112 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
113 (package-generate-autoloads, package-menu--generate)
114 (package-menu--find-upgrades): Remove unused bindings.
115
116 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
117 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
118 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
119 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
120 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
121 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
122 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
123 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
124 (cua-delete-char-rectangle): Mark unused args.
125 (cua-align-rectangle): Remove unused binding.
126
127 * mail/rmail.el (compilation--message->loc)
128 (epa--find-coding-system-for-mime-charset): Declare.
129
130 * net/dbus.el (dbus-register-service): Declare.
131 (dbus-name-owner-changed-handler): Remove unused binding.
132
133 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
134 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
135 (nxml-scan-backward-within): Mark unused arg.
136 (nxml-dynamic-markup-word): Remove unused binding.
137
138 * mouse.el (mouse-menu-major-mode-map):
139 * emacs-lisp/authors.el (authors-scan-change-log)
140 (authors-add-to-author-list):
141 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
142 * emacs-lisp/smie.el (smie-auto-fill):
143 * mail/sendmail.el (mail-bury):
144 * mail/unrmail.el (unrmail):
145 * net/tls.el (open-tls-stream):
146 * textmodes/picture.el (picture-mouse-set-point):
147 Remove unused bindings.
148
8c8fc5df
MA
1492012-04-19 Michael Albinus <michael.albinus@gmx.de>
150
151 * net/tramp.el (tramp-action-password): Let-bind
152 `enable-recursive-minibuffers' to t.
153
a77b0ac9
SS
1542012-04-18 Sam Steingold <sds@gnu.org>
155
156 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
157 instead of 'string to accommodate values like [f11].
158 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
159 * progmodes/gdb-mi.el: Likewise.
160
12a106a9
LL
1612012-04-18 Leo Liu <sdl.web@gmail.com>
162
163 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
164 current buffer.
165 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
166 LOCAL is nil.
167
bc6494ef
CY
1682012-04-18 Chong Yidong <cyd@gnu.org>
169
170 * simple.el (line-move): Use forward-line if in batch mode
171 (Bug#11053).
172
c09c46b2
CS
1732012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
174
175 * files.el (after-find-file): Do not try to add a final newline if
176 the buffer is read-only (Bug#11156).
177
5f6530ea
RS
1782012-04-17 Richard Stallman <rms@gnu.org>
179
180 * mail/rmail.el (rmail-start-mail):
181 Pass (rmail-mail-return...) for the return-action.
182 Pass (rmail-yank-current-message...) for the yank-action.
183 (rmail-yank-current-message): New function.
184 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
185 (rmail-reply): Likewise.
186 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
187
188 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 189 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
190 buffer, not newbuf.
191
197b6f3c
JB
1922012-04-17 Juanma Barranquero <lekktu@gmail.com>
193
194 * server.el (server-ensure-safe-dir): Simplify.
195
2311d8e5 1962012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 197
2311d8e5
GM
198 * emacs-lisp/smie.el: Provide smarter auto-filling.
199 (smie-auto-fill): New function.
200 (smie-setup): Use it.
98fb480e 201
2311d8e5
GM
202 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
203
2042012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
205
206 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
207 (comment-indent): Use it.
208
2311d8e5 2092012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
210
211 * ses.el: The overall change is to add cell renaming, that is
212 setting fancy names for cell symbols other than name matching
213 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 214 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 215 (ses-create-cell-variable): New defun.
2311d8e5 216 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
217 (ses-relocate-formula): Relocate formulas only for cells the
218 symbols of which are not renamed, i.e. symbols whose names do not
219 match regexp "\\`[A-Z]+[0-9]+\\'".
220 (ses-relocate-all): Relocate values only for cells the symbols of
221 which are not renamed.
222 (ses-load): Create cells variables as the (ses-cell ...) are read,
223 in order to check row col consistency with cell symbol name only
224 for cells that are not renamed.
225 (ses-replace-name-in-formula): New defun.
226 (ses-rename-cell): New defun.
4bdf2ad2 227
fc72b15c
PO
2282012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
229
230 * progmodes/perl-mode.el (perl-indent-parens-as-block):
231 New option (bug#11118).
232 (perl-calculate-indent): Respect it.
233
12e10e61
GM
2342012-04-17 Glenn Morris <rgm@gnu.org>
235
236 * dired-aux.el (dired-mark-read-string): Doc fix.
237
30009afd
DA
2382012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
239
240 * dired-aux.el (dired-mark-read-string): Offer optional completion.
241 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
242
41f03f4d
GM
2432012-04-17 Glenn Morris <rgm@gnu.org>
244
245 * mouse.el (mouse-drag-track):
246 * speedbar.el (speedbar-frame-mode):
247 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
248
f45f90f3
LL
2492012-04-16 Leo Liu <sdl.web@gmail.com>
250
251 * progmodes/python.el: Trivial cleanup.
252
94ee8db5
GM
2532012-04-16 Glenn Morris <rgm@gnu.org>
254
121b8917
GM
255 * vc/vc.el (vc-string-prefix-p):
256 * vc/pcvs-util.el (cvs-string-prefix-p):
257 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
258 * mpc.el (mpc-string-prefix-p):
259 Make all of these into obsolete aliases for string-prefix-p.
260 Update callers.
261 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
262
1197ecfa
GM
263 * textmodes/two-column.el: Move custom options to the start.
264 (frame-width): Remove compat definition.
265 (2C-associate-buffer, 2C-dissociate):
266 Use with-current-buffer rather than save-excursion.
267 (2C-dissociate): Force a mode-line update.
268 (2C-autoscroll): Use ignore-errors.
269
099e7202
GM
270 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
271 Autoload trivia.
272
bf350d6a
GM
273 * emacs-lisp/cl-extra.el (*random-state*):
274 Remove unnecessary declaration.
275
0e829eab
GM
276 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
277
e3ad7552
GM
278 * play/cookie1.el (cookie-snarf):
279 Give an explicit error if input file cannot be read.
280
68892d27
GM
281 * play/yow.el (yow-file): Use expand-file-name rather than concat.
282
20f0c46d
GM
283 * progmodes/perl-mode.el (c-macro-expand):
284 Remove unnecessary autoload (it is in loaddefs.el).
285
5a0978ce
GM
286 * textmodes/picture.el (picture-desired-column)
287 (picture-update-desired-column): Convert comments to doc-strings.
288 (picture-substitute): Remove function.
289 (picture-mode-map): Initialize in the defvar.
290
6b955486
GM
291 * woman.el: Remove eval-after-load for tar-mode.
292 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
293 (woman-tar-extract-file): Autoload it.
294
94ee8db5
GM
295 * frame.el (automatic-hscrolling): Make this alias obsolete.
296
177eca34
AM
2972012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
298
299 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 300 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
301 (ispell-dictionary-base-alist): Revert to original XEmacs
302 friendly version for default. [:alpha:] will be added in
303 `ispell-set-spellchecker-params' if needed
177eca34 304
c505aaeb
CY
3052012-04-16 Chong Yidong <cyd@gnu.org>
306
307 * image.el (imagemagick--extension-regexp): New variable.
308 (imagemagick-register-types): Use it.
309 (imagemagick-types-inhibit): Add :set function. Allow new value
310 of t to inhibit all types.
311
312 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
313 so we can preload it.
314
315 * loadup.el (fboundp): Preload regexp-opt, needed by
316 imagemagick-register-types.
317
60efac0f
CY
3182012-04-15 Chong Yidong <cyd@gnu.org>
319
320 * frame.el (scrolling): Remove nearly unused customization group.
321
322 * scroll-all.el (scroll-all-mode): Move to windows group.
323
5dd1713e
CY
3242012-04-15 Chong Yidong <cyd@gnu.org>
325
326 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
327
e6fd457e
CY
3282012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 331 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 332
e153c136
GM
3332012-04-15 Glenn Morris <rgm@gnu.org>
334
335 * simple.el (process-file-side-effects): Doc fix.
336
e6fd457e 3372012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
338
339 * international/mule-cmds.el (set-language-environment): Doc fix.
340
3603c3b1
JB
3412012-04-14 Juanma Barranquero <lekktu@gmail.com>
342
343 * server.el (server-auth-key, server-generate-key): Doc fixes.
344 (server-get-auth-key): Doc fix. Use `string-match-p'.
345 (server-start): Reflow docstring.
346
e6de100c
LI
3472012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
348
349 * server.el (server-generate-key): `called-interactively-p'
350 requires a parameter.
351
29734c21
MN
3522012-04-14 Michal Nazarewicz <mina86@mina86.com>
353
354 * server.el (server-auth-key): New variable.
75f1671a 355 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
356 (server-start): Use the new variable and functions to allow
357 setting a permanent server key (bug#9423).
358
d65c9521
LL
3592012-04-14 Leo Liu <sdl.web@gmail.com>
360
361 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
362
5ae255c7
PE
3632012-04-14 Paul Eggert <eggert@cs.ucla.edu>
364
365 Spelling fixes.
366 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
367 Emacs uses American spelling.
368
d5e6342e
JB
3692012-04-14 Juanma Barranquero <lekktu@gmail.com>
370
371 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
372 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
373 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
374 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
375
ab036cd7
SM
3762012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * progmodes/which-func.el (which-func-modes): Change default.
379
35dc09a1 3802012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
381
382 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
383 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
384
35dc09a1 3852012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
386
387 * custom.el (custom-theme-set-variables): Doc fix.
388
35dc09a1 3892012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
390
391 * international/mule.el (set-auto-coding-for-load): Doc fix.
392
35dc09a1 3932012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 394
35dc09a1
GM
395 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
396 imenu work again for Objective C Mode. Correct the *-index values,
397 these having been disturbed by a previous change in 2011-08.
57f845ee 398
0de3da9f
AM
399 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
400 Correct two search limits.
401
35dc09a1 4022012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
403
404 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
405
35dc09a1 4062012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
407
408 * international/characters.el: Fix sorting.
409
35dc09a1 4102012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
411
412 * international/characters.el: Add more missing Latin case pairs.
413
35dc09a1 4142012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
415
416 * files.el (dir-locals-set-class-variables): Doc fix.
417
35dc09a1 4182012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 419
3f1b5bf8
EZ
420 * international/characters.el: Add set-case-syntax-pair call for
421 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
422 counterpart. (Bug#11209)
423
9f847f41
EZ
424 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
425
35dc09a1 4262012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
427
428 * calendar/holidays.el (calendar-check-holidays): Doc fix.
429
35dc09a1 4302012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 431
35dc09a1
GM
432 * textmodes/ispell.el (ispell-dictionary-base-alist):
433 Add data for Hebrew.
e2627d21 434
35dc09a1 4352012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 436
35dc09a1
GM
437 * net/rcirc.el (rcirc-cmd-quit):
438 Revert 2012-03-18 change (Bug#11192).
5c14e333 439
35dc09a1 4402012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
441
442 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
443
35dc09a1 4442012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 445
4517fe3a
SM
446 * minibuffer.el (completion-in-region-mode-map):
447 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 448
b472a594
VD
4492012-04-13 Vivek Dasmohapatra <vivek@etla.org>
450
451 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
452
09b95ce3
MY
4532012-04-13 Masatake YAMATO <yamato@redhat.com>
454
455 * minibuffer.el (minibuffer-local-filename-syntax): New variable
456 to allow `C-M-f' and `C-M-b' to move to the nearest path
457 separator (bug#9511).
458
4b63a9ca
LI
4592012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
460
461 * avoid.el: Require cl when compiling. And also move the
462 `provide' to the end.
463
7b55b8bf
TV
4642012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
465
466 * avoid.el (mouse-avoidance-banish-position): New variable.
467 (mouse-avoidance-banish-destination): Use it (bug#10165).
468
adedaa1f
LL
4692012-04-13 Leo Liu <sdl.web@gmail.com>
470
471 * progmodes/which-func.el (which-func-modes): Add objc-mode.
472
70e74021
KB
4732012-04-13 Ken Brown <kbrown@cornell.edu>
474
475 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 476 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
477 (browse-url-filename-alist): For the same reason, don't modify
478 file:// URLs on Cygwin.
479
e75e89ba
SM
4802012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
483 the region on shift if the binding is already shifted (bug#11221).
484
82f289a4
GM
4852012-04-12 Glenn Morris <rgm@gnu.org>
486
487 * mail/mailpost.el: Move to obsolete/.
488
d333dc4c
DA
4892012-04-12 Drew Adams <drew.adams@oracle.com>
490
491 * imenu.el (imenu--generic-function): Ignore invisible definitions
492 (bug#10123).
493
0d15b5ba
VD
4942012-04-12 Vivek Dasmohapatra <vivek@etla.org>
495
496 * hexl.el (hexl-bits): New variable.
497 (hexl-options): Mention the variable in the doc string.
75f1671a 498 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 499 (hexl-mode): Mention the new variable.
75f1671a
JB
500 (hexl-mode, hexl-current-address, hexl-current-address):
501 Use the displen.
0d15b5ba
VD
502 (hexl-ascii-start-column): New function.
503 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
504 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
505
64a440db
AM
5062012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
507
508 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
509 '("-i" ENCODING), in 2 separate command-line arguments, to specify
510 the encoding, as expected by hunspell.
511
6decb6c2
SM
5122012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * battery.el (battery--linux-sysfs-regexp): New const.
515 (battery-status-function): Use it. Remove yeeloong special case.
516 (battery-yeeloong-sysfs): Remove.
517 (battery-echo-area-format): Remove yeeloong special case.
518
088be6fb
SM
5192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
520
6622e416
SM
521 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
522 Reported by Noah Friedman.
523
088be6fb
SM
524 * subr.el (read-passwd): Use read-string.
525
b49f886e
LMI
5262012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
527
528 * vcursor.el (vcursor-move): Increase the priority of the overlay
529 (bug#9663).
530
a63067fc
DD
5312012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
532
533 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
534 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
535
ac3cf14a
WS
5362012-04-11 William Stevenson <yhvh2000@gmail.com>
537
538 * textmodes/artist.el (artist-mode): Convert artist-mode to use
539 define-minor-mode (bug#10760).
540
c4fc691b 5412012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 542
4d6769e1 543 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
544 that directories matching `grep-find-ignored-files' won't be
545 pruned (bug#10351).
546
af23e2e5
CY
5472012-04-11 Chong Yidong <cyd@gnu.org>
548
549 * startup.el (command-line): Remove support for long-obsolete
550 variable font-lock-face-attributes.
551
ab7ce8c1
GM
5522012-04-11 Glenn Morris <rgm@gnu.org>
553
554 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
555
de8c03dc
SM
5562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * window.el (window--state-get-1): Obey window-point-insertion-type.
559
050cc68b
LB
5602012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
561
562 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
563 to previous function when point is on the first character of a
75f1671a 564 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 565
a38c310c
GM
5662012-04-11 Glenn Morris <rgm@gnu.org>
567
effed0c2
GM
568 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
569 not just file-errors.
570
a38c310c
GM
571 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
572 (vc-bzr-sha1): Use internal sha1.
573
0221e323
SM
5742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
577
43956923
SG
5782012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
579
580 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
581 that start in the middle of the line (bug#10496).
582
6a8c9eaf
DN
5832012-04-10 Dan Nicolaescu <dann@gnu.org>
584
585 * battery.el (battery-linux-proc-acpi): Only one battery is
586 discharged at a time, but that seems to confuse battery.el when
587 computing `rate-type' for the battery not being discharged
588 (bug#10332).
589
1930bf5d
SM
5902012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
591
2a718f6f
SM
592 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
593
599430d0
SM
594 * international/quail.el: Use dolist and simplify.
595 (quail-define-package, quail-update-keyboard-layout)
596 (quail-define-rules): Use dolist.
597 (quail-insert-kbd-layout, quail-get-translation): CSE.
598
a2754b6c
SM
599 * tmm.el: Use dolist, remove left over hook.
600 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
601 Use dolist.
602 (calendar-load-hook): Don't mess with it.
603
1930bf5d
SM
604 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
605 Use derived-mode-p. Run the diff asynchronously.
606
9f67961c
LMI
6072012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
608
609 * obsolete/mouse-sel.el: Add an Obsolete-since header.
610
2a8ce227
JB
6112012-04-10 Juanma Barranquero <lekktu@gmail.com>
612
613 * misc.el: Display absolute path of loaded DLLs (bug#10424).
614 (list-dynamic-libraries--loaded): New function.
615 (list-dynamic-libraries--refresh): Use it.
616
8f33b5f8
NW
6172012-04-10 Nathan Weizenbaum <nweiz@google.com>
618
1930bf5d
SM
619 * progmodes/python.el (python-fill-paragraph):
620 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
621 disabled (bug#7018).
622
b12f0439
L
6232012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
624
1930bf5d 625 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
626 DOS/MS Windows for the Baltic languages. There are still plenty
627 of texts written in this encoding/codepage (bug#6519).
b12f0439 628
57c3bd01
GM
6292012-04-10 Glenn Morris <rgm@gnu.org>
630
631 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
632 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
633
6c3eab30
FA
6342012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
635
1930bf5d 636 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
637 next-line "n" and previous-line "p" in order to make recentf more
638 consistent with ibuffer, dired or org-mode (bug#9387).
639
24d78a88
LMI
6402012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
641
bc72b5d9
LMI
642 * image.el (put-image): Return the overlay created instead of the
643 optional input string (bug#7834). Note that this may break code
644 that is (for some reason or other) depending on `put-image'
645 returning the string.
646
bd2dba5a
LMI
647 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
648
74beb59f
LMI
649 * simple.el (zap-to-char): Allow zapping using input methods
650 (bug#1580).
651
24d78a88
LMI
652 * textmodes/fill.el (fill-region): Leave point and mark where they
653 were before filling (bug#5399).
654
263f20cd
GM
6552012-04-09 Glenn Morris <rgm@gnu.org>
656
657 * version.el (emacs-bzr-get-version):
658 Handle lightweight checkouts of local branches.
659
58d1f797
AS
6602012-04-09 Andreas Schwab <schwab@linux-m68k.org>
661
263f20cd 662 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 663
b4d3bc10
CY
6642012-04-09 Chong Yidong <cyd@gnu.org>
665
666 * custom.el (custom-variable-p): Return nil for non-symbol
667 arguments instead of signaling an error.
668 (user-variable-p): Obsolete alias for custom-variable-p.
669
670 * apropos.el (apropos-variable):
671 * files-x.el (read-file-local-variable):
672 * simple.el (set-variable):
673 * woman.el (woman-mini-help):
674 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
675
fd06db5d
GM
6762012-04-09 Glenn Morris <rgm@gnu.org>
677
e5fcdb5e
GM
678 * startup.el (normal-top-level): Don't look for leim-list.el
679 in places where it will not be found. (Bug#910)
680
fd06db5d
GM
681 * international/mule-cmds.el (set-default-coding-systems):
682 * files.el (normal-mode):
683 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
684 This function was removed with ucs-tables.el in 2008.
685
b39bb7e1
EZ
6862012-04-08 Eli Zaretskii <eliz@gnu.org>
687
688 * textmodes/ispell.el (ispell-check-version): For hunspell, set
689 ispell-encoding8-command to "-i", without a trailing space.
690 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
691 separate command-line arguments, to specify the encoding, since
692 that's how hunspell expects it.
693
5c5b8e23
GM
6942012-04-08 Glenn Morris <rgm@gnu.org>
695
696 * loadup.el: Load bindings before cus-start.
697 This reduces somewhat the number of "rogue" settings in emacs -Q.
698
a1ed8b05
GM
6992012-04-07 Glenn Morris <rgm@gnu.org>
700
701 * version.el (emacs-bzr-get-version): New function.
dfae128a 702 (emacs-bzr-version): New variable.
a1ed8b05
GM
703 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
704 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
705
b142f158
EZ
7062012-04-07 Eli Zaretskii <eliz@gnu.org>
707
dfae128a
GM
708 * international/uni-bidi.el, international/uni-category.el:
709 * international/uni-combining.el, international/uni-decimal.el:
710 * international/uni-decomposition.el, international/uni-digit.el:
711 * international/uni-lowercase.el, international/uni-mirrored.el:
712 * international/uni-name.el, international/uni-numeric.el:
713 * international/uni-titlecase.el, international/uni-uppercase.el:
714 Update for Unicode 6.1.
b142f158 715
9078ead6
EZ
7162012-04-07 Eli Zaretskii <eliz@gnu.org>
717
718 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
719
f23d2c7d
LMI
7202012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
721
722 * window.el (shrink-window): Mention the `window-min-height'
723 variable in the doc string.
724
0a0a3573
BG
7252012-04-05 Bastien Guerry <bzg@altern.org>
726
727 * color.el (color-lighten-name): Fix typo.
728
e5248ac9
SM
7292012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * server.el (server--on-display-p): New function.
732 (server--on-display-p): Use it.
733
b4243e22
GV
7342012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
735
736 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
737 (bug#11145).
738
305d9f44
SM
7392012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * comint.el (comint--common-quoted-suffix): Check string boundary
742 before comparing (bug#11158).
743 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
744
3d439cd1
CY
7452012-04-04 Chong Yidong <cyd@gnu.org>
746
321cc491
CY
747 * minibuffer.el (completion-extra-properties): Doc fix.
748
3d439cd1
CY
749 * subr.el (delayed-warnings-hook): Doc fix.
750
2d562c0f
DU
7512012-04-04 Daiki Ueno <ueno@unixuser.org>
752
753 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
754 selection (Bug#11159).
755 (epa-insert-keys): Inform that the default public key will be
756 exported if no key is selected.
757
4443f204
RS
7582012-04-04 Richard Stallman <rms@gnu.org>
759
760 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
761
529c06b6
CY
7622012-04-03 Chong Yidong <cyd@gnu.org>
763
764 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
765 mail-insert-file, not its obsolete alias mail-attach-file.
766
66b907dc
MA
7672012-04-03 Michael Albinus <michael.albinus@gmx.de>
768
769 * notifications.el (notifications-notify): Fix docstring.
770
c0ea195d
GM
7712012-04-02 Glenn Morris <rgm@gnu.org>
772
773 * emacs-lisp/authors.el (authors-aliases): Another addition.
774
5ca64e00
MA
7752012-04-02 Michael Albinus <michael.albinus@gmx.de>
776
777 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
778 `tramp-compat-call-process' instead of `tramp-local-call-process'.
779 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
780
42ee526b
CY
7812012-04-01 Chong Yidong <cyd@gnu.org>
782
783 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
784 Handle root directory properly.
785 (copy-directory): Caller changed.
786
787 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
788 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
789
0b021094
GM
7902012-03-31 Glenn Morris <rgm@gnu.org>
791
40f86458
GM
792 * term/xterm.el (xterm-extra-capabilities): Doc fix.
793
7019c177
GM
794 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
795
a1daddd6
GM
796 * calendar/calendar.el (calendar-window-list)
797 (calendar-hide-window): Restore. (Bug#11140)
798 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
799
0b021094
GM
800 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
801
40311efc
TV
8022012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
803
804 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
805 Check if file is a symlink (Bug#10489).
806
807 * files.el (copy-directory): Likewise.
808
5319014e
CY
8092012-03-30 Chong Yidong <cyd@gnu.org>
810
811 * image.el (imagemagick-types-inhibit)
812 (imagemagick-register-types): Doc fix.
813
935d1290
AM
8142012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
815
816 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
817 extended-char-mode for hunspell. hunspell does not support it
818 and treats ~word as ordinary words in pipe mode.
935d1290 819
61c6e8fd
GM
8202012-03-30 Glenn Morris <rgm@gnu.org>
821
822 * tutorial.el (help-with-tutorial): Ensure local variables don't
823 happen to make the buffer read-only. (Bug#11127)
824
81fdff00
SM
8252012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
828 (perl-calculate-indent): Return `noindent' in strings.
829
6e7a6ec0
SS
8302012-03-28 Sam Steingold <sds@gnu.org>
831
832 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
833 instead of the broken adhockery which does not prevent calendar
834 buffers from being displayed at random after exit.
835 (calendar-window-list, calendar-hide-window): Remove the broken
836 adhockery.
837
fee88ca0
GM
8382012-03-28 Glenn Morris <rgm@gnu.org>
839
840 * replace.el (query-replace-map): Doc fix.
841
38de3354
AS
8422012-03-28 Andreas Schwab <schwab@linux-m68k.org>
843
844 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
845 contents. (Bug#11109)
846
b973155e
SM
8472012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
850 (bug#11077).
851 (avl-tree--check, avl-tree--check-node): New funs.
852
dcb6e7b3
MR
8532012-03-27 Martin Rudalics <rudalics@gmx.at>
854
855 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
856 (switch-to-prev-buffer, switch-to-next-buffer):
857 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
858 showing a buffer already is done on the same frame.
859
b4fa35fa
GM
8602012-03-27 Glenn Morris <rgm@gnu.org>
861
862 * startup.el (mail-host-address): Doc fix.
863
f9210e18
SM
8642012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
867 than 197 variables.
868
c0bf7753
AF
8692012-03-26 Ami Fischman <ami@fischman.org>
870
871 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
872
33da7b16
GM
8732012-03-26 Glenn Morris <rgm@gnu.org>
874
02243d9d
GM
875 * files.el (save-buffers-kill-emacs): Doc fix.
876
33da7b16
GM
877 * startup.el (normal-top-level, command-line, command-line-1):
878 Give them doc strings.
879
e5a69fd0
EZ
8802012-03-25 Eli Zaretskii <eliz@gnu.org>
881
882 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 883 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 884
9a69676a
CY
8852012-03-25 Chong Yidong <cyd@gnu.org>
886
4125cb8b
CY
887 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
888 theme if it was previously enabled before (Bug#11031).
889
dd470960
CY
890 * cus-theme.el (custom-theme-write-faces): Retrieve current face
891 spec with custom-face-get-current-spec if its :shown-value is not
892 determined yet (Bug#9337).
4125cb8b 893 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 894
9a69676a
CY
895 * button.el (button-at): Minor addition to docstring.
896
6e7e90fa
SL
8972012-03-24 Simon Leinen <simon.leinen@gmail.com>
898
899 * vc/vc.el (vc-merge): Fix a prompt.
900
f06e2758
CY
9012012-03-24 Chong Yidong <cyd@gnu.org>
902
903 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
904 point (Bug#9623).
905
6e7e90fa
SL
906 * button.el (button-at): Minor addition to docstring.
907
b9d0879b
SM
9082012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * newcomment.el (comment-choose-indent): No space after BOL.
911
e71cebb3
SS
9122012-03-22 Sam Steingold <sds@gnu.org>
913
914 * window.el (switch-to-prev-buffer): Revert last patch because the
915 bug turned out to be an advertised feature (Elisp manual 28.14).
916
335aff35
GM
9172012-03-22 Glenn Morris <rgm@gnu.org>
918
919 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
920 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
921
c676576a
LMI
9222012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
923
924 * net/network-stream.el (network-stream-open-starttls): Make error
925 message under Windows be less misleading.
926
126f3d39
LW
9272012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
928
929 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
930 understands (bug#9942).
931
64fee311
CY
9322012-03-22 Chong Yidong <cyd@gnu.org>
933
934 * simple.el (end-of-visible-line): Handle return value of
935 next-single-property-change properly (Bug#9371).
936
a640d29a
KH
9372012-03-22 Kenichi Handa <handa@m17n.org>
938
939 * international/quail.el (quail-insert-kbd-layout): Fix previous
940 change. To avoid unwanted bidi reordering, use
941 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
942
39675016
DG
9432012-03-21 Dmitry Gutov <dgutov@yandex.ru>
944
945 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
946 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
947 (ruby-beginning-of-indent): Be more careful with the difference
948 between word-boundary and symbol boundary.
949 (ruby-mode-syntax-table): Make : a symbol constituent.
950
0a6934fc 9512012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 952
3d008e4f
SM
953 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
954
0a6934fc
SM
9552012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
956
af67c9d7
SM
957 * progmodes/etags.el (tags-completion-at-point-function):
958 Improve last fix.
959
1acad97c
SM
960 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
961
e298b5da
SS
9622012-03-21 Sam Steingold <sds@gnu.org>
963
964 * progmodes/etags.el (tags-completion-at-point-function):
965 Avoid the error when point is inside the pattern.
966
91d82a70
JY
9672012-03-21 John Yates <john@yates-sheets.org> (tiny change)
968
969 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
970 line (Bug#10855).
971
69188b79
CY
9722012-03-21 Drew Adams <drew.adams@oracle.com>
973
974 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
975
99fc91fe
AK
9762012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
977
978 * ido.el (ido-set-current-directory, ido-read-internal)
979 (ido-choose-completion-string, ido-completion-help): Handle nil
980 value of ido-completion-buffer (Bug#11008).
981
087bbb4c
SS
9822012-03-21 Sam Steingold <sds@gnu.org>
983
984 * window.el (switch-to-prev-buffer): Do not switch to a visible
985 window previous buffer, just like with the frame previous buffers.
986
fb5b8aca
CY
9872012-03-21 Chong Yidong <cyd@gnu.org>
988
989 * faces.el (make-face, make-empty-face, copy-face):
990 * face-remap.el (face-remap-add-relative, face-remap-set-base):
991 Doc fixes.
992
dc9924b8
SM
9932012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * wid-edit.el (widget-complete-field): Remove (bug#11051).
996 (widget-complete): Remove broken use of it.
997
f0bcceb9
CY
9982012-03-20 Chong Yidong <cyd@gnu.org>
999
dc9924b8
SM
1000 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1001 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1002 characters.
1003
ee52ebf3
TH
10042012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1005
1006 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1007 to draw rectangles, not squares. (Regression introduced by revno
1008 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1009
4c5779ab
CY
10102012-03-18 Chong Yidong <cyd@gnu.org>
1011
1012 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1013 it is not yet defined (for temacs).
1014
15360934
LL
10152012-03-18 Leo Liu <sdl.web@gmail.com>
1016
dc9924b8 1017 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1018
d9a8eb66
EZ
10192012-03-17 Eli Zaretskii <eliz@gnu.org>
1020
1021 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1022 (ispell-choices-win-default-height, ispell-silently-savep)
1023 (ispell-dictionary-alist, ispell-encoding8-command)
1024 (ispell-check-version, ispell-aspell-find-dictionary)
1025 (ispell-valid-dictionary-list, ispell-words-keyword)
1026 (ispell-get-word, ispell-internal-change-dictionary)
1027 (ispell-region, ispell-skip-region-list)
1028 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1029 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1030 (ispell-message-text-end, ispell-message)
1031 (ispell-buffer-local-parsing): Doc fix.
1032
f02ff80d
J
10332012-03-13 Jambunathan K <kjambunathan@gmail.com>
1034
1035 * htmlfontify.el: Add support for code block fontification for ODT
1036 export (Bug #9914).
1037 (hfy-optimisations): Define new option
1038 `body-text-only'
1039 (hfy-fontify-buffer): Honor above setting.
1040 (hfy-begin-span, hfy-end-span): New routines factored out form
1041 `hfy-fontify-buffer'.
1042 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1043 that permit insertion of custom tags.
1044 (hfy-fontify-buffer): Use above handlers.
1045 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1046 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1047 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1048 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1049 bind a special variable `hfy-user-sheet-assoc'.
1050 (htmlfontify-string): New defun.
1051 (hfy-compile-face-map): Make sure that the last char in the
1052 buffer is correctly fontified.
1053 (hfy-face-resolve-face): Whitespace only change.
1054
9ac7a13f
EZ
10552012-03-17 Eli Zaretskii <eliz@gnu.org>
1056
1057 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1058 message more clear.
1059
e2b5bdd7
LL
10602012-03-16 Leo Liu <sdl.web@gmail.com>
1061
1062 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1063
2e492df3
AM
10642012-03-16 Alan Mackenzie <acm@muc.de>
1065
1066 Further optimise the handling of large macros.
1067
1068 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1069 limit to a call of `c-literal-limits'.
1070 (c-determine-+ve-limit): New function.
dc9924b8
SM
1071 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1072 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1073 In CASE 5B, restrict a search limit to 500.
1074 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1075
1076 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1077 Restrict macro bounds to +-500 from after-change's BEG END.
1078
50e94f0c
LL
10792012-03-16 Leo Liu <sdl.web@gmail.com>
1080
1081 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1082
6f09f6ed
AH
10832012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1084
1085 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1086 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1087
c7e73d51
GM
10882012-03-16 Glenn Morris <rgm@gnu.org>
1089
da986230
GM
1090 * view.el (view-buffer, view-buffer-other-window)
1091 (view-buffer-other-frame): Doc fixes re special mode-class.
1092
0835f01e
GM
1093 * subr.el (eval-after-load): If named feature is provided not from
1094 a file, run after-load forms. (Bug#10946)
1095
c7e73d51
GM
1096 * calendar/calendar.el (calendar-insert-at-column):
1097 Handle non-unit-width characters a bit better. (Bug#10978)
1098
3f2eafd1
CY
10992012-03-15 Chong Yidong <cyd@gnu.org>
1100
1101 * emacs-lisp/ring.el (ring-extend): New function.
1102 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1103
1104 * comint.el (comint-read-input-ring)
1105 (comint-add-to-input-history): Grow comint-input-ring lazily.
1106
103af3fe
SM
11072012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1108
663b1677
SM
1109 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1110 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1111
103af3fe
SM
1112 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1113 (imenu-add-to-menubar): Don't add a redundant index.
1114 (imenu-update-menubar): Handle a dynamically composed keymap.
1115
899cb7cb
KY
11162012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1117
1118 * mail/sendmail.el (mail-encode-header):
1119 Bind rfc2047-encode-encoded-words to nil.
1120
3809f91d
GM
11212012-03-13 Glenn Morris <rgm@gnu.org>
1122
1123 * calendar/calendar.el (calendar-string-spread):
1124 Handle non-unit-width characters a bit better. (Bug#10978)
1125
9e345a01
LL
11262012-03-13 Leo Liu <sdl.web@gmail.com>
1127
1128 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1129 directory and file as argument (Bug#10822).
1130
4a07df36
KS
11312012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1132
1133 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1134 For dynamically generated code, follow $PC.
1135 (gdb-disassembly-handler-custom): Handle no function name case.
1136
4aaa9356
TL
11372012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1138
1139 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1140 * emulation/ws-mode.el (ws-query-replace):
1141 * sort.el (sort-regexp-fields):
1142 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1143
225979da
SM
11442012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * dabbrev.el: Fix cycle completion order (bug#10963).
1147 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1148 (dabbrev-completion): Don't use an obarray; provide
1149 a cycle-sort-function.
1150
e2f1fdab
LL
11512012-03-12 Leo Liu <sdl.web@gmail.com>
1152
dc9924b8 1153 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1154 (kill-do-not-save-duplicates): Doc fix.
1155
b19490ed
SM
11562012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * dabbrev.el: Fix cycle completion (bug#10963).
1159 Use lexical binding and wrap to 80 columns.
1160 (dabbrev-completion): Delay computing the list of completions.
1161
4b05d722
KH
11622012-03-12 Kenichi Handa <handa@m17n.org>
1163
1164 * international/quail.el (quail-insert-kbd-layout): Surround each
1165 row by LRO and PDF instead of inserting many LRMs. Pad the left
1166 and right of each non-spacing marks. Insert invisible space
1167 between lower and upper characters to prevent composition.
1168
dbbc2e69
SM
11692012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * minibuffer.el (minibuffer-complete): Don't get confused when the
1172 function is run twice via different commands (bug#10958).
1173 (complete-with-action): Fix docstring.
1174
292112ed
CY
11752012-03-12 Chong Yidong <cyd@gnu.org>
1176
5d1ac394
CY
1177 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1178 (nxml-completion-at-point-function): New function.
1179 (nxml-mode): Use it.
1180 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1181
292112ed
CY
1182 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1183 Load generated autoloads file before byte compiling (Bug#10970).
1184 (package--make-autoloads-and-compile): New helper fun.
1185
4098f8f7
CS
11862012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1187
1188 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1189
8f754691
MA
11902012-03-11 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * autorevert.el (auto-revert-handler): Ensure, that
1193 file-readable-p is applied only for local files or in
1194 auto-revert-tail-mode.
1195
e29ab36b
AS
11962012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1197
dbbc2e69
SM
1198 * server.el (server-eval-at): Handle non-tcp connections.
1199 Decode result string.
ad0bf5b6 1200
e29ab36b
AS
1201 * server.el (server-msg-size): New constant.
1202 (server-reply-print): New function.
1203 (server-eval-and-print): Use it.
1204 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1205 Handle -print-nonl.
1206
de5939ba
CS
12072012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1208
1209 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1210 (Bug#10987).
1211
0c93eabf
CY
12122012-03-11 Chong Yidong <cyd@gnu.org>
1213
397a688f
CY
1214 * simple.el (goto-line): Doc fix (Bug#9938).
1215
2cc775f9
CY
1216 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1217
0c93eabf
CY
1218 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1219 when finished (Bug#10963).
1220
c491fa41
MR
12212012-03-11 Martin Rudalics <rudalics@gmx.at>
1222
1223 * window.el (split-window-below): Fix bug in case where
1224 split-window-keep-point is nil (Bug#10971).
1225
300e8fa5
JL
12262012-03-11 Juri Linkov <juri@jurta.org>
1227
1228 * replace.el (replace-highlight): Set isearch-word to nil
1229 unconditionally. (Bug#10887)
1230
dbf6c5a1
EZ
12312012-03-10 Eli Zaretskii <eliz@gnu.org>
1232
1233 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1234 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1235 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1236 (mairix-widget-create-query): Add usage information about mairix
1237 search forms: negating words, searching for substrings, etc.
1238
b9e501de
JP
12392012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1240
1241 * international/fontset.el (font-encoding-alist): Add an entry for
1242 ksx1001 (Bug#5667).
1243
92795c91
RS
12442012-03-10 Richard Stallman <rms@gnu.org>
1245
1694e6c1
RS
1246 * mail/sendmail.el (mail-encode-header):
1247 Set rfc2047-encode-encoded-words.
1248
607e8555
RS
1249 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1250
de3bc99a
RS
1251 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1252 view buffer means not swapped.
1253 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1254 (rmail-write-region-annotate): Error if real text has disappeared.
1255
92795c91
RS
1256 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1257
699bd04e
CY
12582012-03-10 Chong Yidong <cyd@gnu.org>
1259
1260 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1261 * emulation/cua-base.el (cua--init-keymaps):
1262 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1263
570a1714
MR
12642012-03-10 Martin Rudalics <rudalics@gmx.at>
1265
dbbc2e69
SM
1266 * speedbar.el (speedbar-unhighlight-one-tag-line):
1267 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1268
82dcf4e4
CY
12692012-03-10 Chong Yidong <cyd@gnu.org>
1270
7a2c7ca7
CY
1271 * minibuffer.el (completion-in-region, completion-help-at-point):
1272 Give the completion field overlay a high priority (Bug#6830).
1273
82dcf4e4
CY
1274 * dired.el (dired-goto-file): Recognize absolute file name
1275 listings (Bug#7126).
1276 (dired-goto-file-1): New helper function.
1277 (dired-toggle-read-only): Inhibit warnings.
1278
052e28ac
MA
12792012-03-09 Michael Albinus <michael.albinus@gmx.de>
1280
75f1671a 1281 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1282 there are no properties.
1283
95d5e396
LL
12842012-03-09 Leo Liu <sdl.web@gmail.com>
1285
1286 * savehist.el (savehist-printable): Stricter check for string
1287 value (Bug#10937).
1288
3f018d6d
EZ
12892012-03-09 Eli Zaretskii <eliz@gnu.org>
1290
dbbc2e69
SM
1291 * mail/smtpmail.el (smtpmail-send-it):
1292 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1293 valid mbox format.
1294
f7fd3d79
GM
12952012-03-09 Glenn Morris <rgm@gnu.org>
1296
1297 * files.el (dir-locals-find-file):
1298 Don't check result is regular, readable.
1299 (dir-locals-read-from-file): Demote errors.
1300
6ff6e72f
EZ
13012012-03-08 Eli Zaretskii <eliz@gnu.org>
1302
dbbc2e69
SM
1303 * international/quail.el (quail-insert-kbd-layout):
1304 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1305 layout cell, to prevent their reordering by bidi display engine.
1306 For details, see the discussion in
1307 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1308
9cec7834
AM
13092012-03-08 Alan Mackenzie <acm@muc.de>
1310
1311 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1312 the starting position; make it extend the marked region when
1313 invoked repeatedly - all under appropriate circumstances.
1314 Fixes bugs #5525, #10906.
1315
9a40b8d4
GM
13162012-03-08 Glenn Morris <rgm@gnu.org>
1317
1318 * files.el (locate-dominating-file, dir-locals-find-file):
1319 Undo 2012-03-06 change.
1320
7a08ed35
EZ
13212012-03-07 Eli Zaretskii <eliz@gnu.org>
1322
dbbc2e69
SM
1323 * international/quail.el (quail-help):
1324 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1325 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1326 for the reason.
1327
5aca4f71 13282012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1329
1330 Avoid superfluous registering of signals. (Bug#10807)
1331
1332 * notifications.el (notifications-on-action-object)
1333 (notifications-on-close-object): New defvars.
1334 (notifications-on-action-signal, notifications-on-closed-signal):
1335 Unregister the signal if not needed any longer.
1336 (notifications-notify): Register `notifications-action-signal' or
1337 `notifications-closed-signal', if :on-action or :on-close has been
1338 passed as argument.
1339
78e8b10a
CY
13402012-03-07 Chong Yidong <cyd@gnu.org>
1341
1342 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1343 non-X platforms.
1344
69481eb8
GM
13452012-03-06 Glenn Morris <rgm@gnu.org>
1346
1347 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1348 (x-disown-selection-internal, x-get-selection-internal):
1349 Doc fix (add arglist signatures). (Bug#10783)
1350
133b8e11
KS
13512012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1352
1353 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1354 Handle breakpoints with no "type".
1355
99a83064
GM
13562012-03-06 Glenn Morris <rgm@gnu.org>
1357
1358 * files.el (locate-dominating-file): Add optional predicate argument.
1359 (dir-locals-find-file): Make use of above change.
1360
17798e78
TTN
13612012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1362
1363 * info.el (Info-insert-dir): Also try "dir.gz".
1364
eb182446
GM
13652012-03-06 Glenn Morris <rgm@gnu.org>
1366
8f2114ee
GM
1367 * files.el (dir-locals-find-file):
1368 Ignore non-readable or non-regular files. (Bug#10928)
1369
eb182446
GM
1370 * files.el (locate-dominating-file): Doc fix.
1371
24679323
AS
13722012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1373
1374 * calendar/calendar.el (calendar-set-mode-line):
1375 `getenv' returns a string. (Bug#10951)
1376
01d972a9
LL
13772012-03-05 Leo Liu <sdl.web@gmail.com>
1378
109aa8a9
LL
1379 * simple.el (backward-delete-char-untabify): Constrain point to
1380 field (Bug#10939).
1381
01d972a9
LL
1382 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1383
10607bea
CY
13842012-03-05 Chong Yidong <cyd@gnu.org>
1385
1386 * simple.el (count-words): If called from Lisp, return the word
1387 count, for symmetry with `count-lines'. Arglist changed.
1388 (count-words--message): Args changed. Consolidate counting code
1389 from count-words and count-words-region.
1390 (count-words-region): Caller changed.
1391 (count-lines-region): Make it an obsolete alias.
1392
5dd11cfe
TH
13932012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1394
1395 * saveplace.el (save-place-to-alist)
1396 (save-place-ignore-files-regexp): Allow value nil to disable this
1397 feature.
1398
c349f4e6
CY
13992012-03-04 Chong Yidong <cyd@gnu.org>
1400
1401 * faces.el (face-spec-reset-face): For the default face, reset the
1402 attributes to default values (Bug#10748).
1403
e627be4c
LMI
14042012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1405
1406 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1407 previous patch: Check `message-send-mail-function', and not the
1408 default function (bug#10897).
1409
ebeabff4
MA
14102012-03-04 Michael Albinus <michael.albinus@gmx.de>
1411
a41a6cf4
MA
1412 * notifications.el (notifications-on-action-signal)
1413 (notifications-on-closed-signal): Check for unique service name of
1414 incoming event. Fix error in removing entry.
ebeabff4 1415 (top): Register for signals with wildcard service name.
a41a6cf4 1416 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1417
c1ca42b4
CY
14182012-03-04 Chong Yidong <cyd@gnu.org>
1419
dc9924b8 1420 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1421
ea16568d
GM
14222012-03-04 Glenn Morris <rgm@gnu.org>
1423
1424 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1425 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1426 (expand-abbrev, define-abbrev-table): Doc fixes.
1427
fbae4637
LMI
14282012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1429
1430 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1431 `message-default-send-mail-function' and not `send-mail-function'
1432 when doing the prompting for `sendmail-query-once' before sending
1433 in Message buffers (bug#10897).
1434
a1e7225c
LMI
1435 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1436 This is inconsistent with all the other stream functions, which leave
1437 the setting up to the higher levels (if so wanted) (bug#10931).
1438
56d093a9
AM
14392012-03-02 Alan Mackenzie <acm@muc.de>
1440
1441 Depessimize the handling of very large macros.
1442
1443 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1444 (c-macro-cache-syntactic): New variables to implement a one
1445 element macro cache.
1446 (c-invalidate-macro-cache): New function.
1447 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1448 Adapt to use the new cache.
1449 (c-state-safe-place): Use better the cache of safe positions.
1450 (c-state-semi-nonlit-pos-cache)
1451 (c-state-semi-nonlit-pos-cache-limit):
1452 New variables for...
1453 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1454 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1455 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1456 Use c-state-semi-safe-place.
56d093a9 1457
dbbc2e69
SM
1458 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1459 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1460
817e5c3d
MA
14612012-03-02 Michael Albinus <michael.albinus@gmx.de>
1462
dbbc2e69
SM
1463 * jka-compr.el (jka-compr-call-process):
1464 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1465 not remote.
1466
a032a702
MA
14672012-03-01 Michael Albinus <michael.albinus@gmx.de>
1468
1469 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1470 access of FILE2, if FILE1 does not exist.
1471
99a54f21
MA
1472 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1473 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1474
1475 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1476 Add "PAGER=" to `process-environment'.
1477
f6561e1f
MM
14782012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1479
1480 * progmodes/sql.el: Bug fix
1481 (sql-get-login-ext): Save login values in globals.
1482 (sql-get-login): Use new version of `sql-get-login-ext'.
1483 (sql-interactive-mode): Set global `sql-connection' to nil.
1484 (sql-connect): Set global values for connection.
1485 (sql-product-interactive): Save global values as buffer local.
1486
2d44d9cc
LL
14872012-02-29 Leo Liu <sdl.web@gmail.com>
1488
1489 * abbrev.el (define-abbrevs): Reset sys to nil.
1490
96b49301 14912012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1492
bf7f9bc5
JB
1493 * files.el (file-equal-p): Rename from `files-equal-p'.
1494 Return nil when one or both files don't exist.
96b49301 1495 (file-subdir-of-p): Now only top directory must exists,
1496 return nil if it doesn't.
bf7f9bc5
JB
1497 (copy-directory): No need to test with `file-subdir-of-p' after
1498 creating dir.
1499 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1500 to `file-equal-p'.
96b49301 1501
44e97401
GM
15022012-02-28 Glenn Morris <rgm@gnu.org>
1503
1504 * shell.el (shell-mode):
1505 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1506 * play/landmark.el (landmark-font-lock-face-O):
1507 * play/handwrite.el (handwrite):
1508 * play/gomoku.el (gomoku-O):
1509 * net/browse-url.el (browse-url-browser-display):
1510 * international/mule.el (define-charset):
1511 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1512 * filesets.el (filesets-find-file-delay):
1513 * eshell/em-xtra.el (eshell-xtra):
1514 * eshell/em-unix.el (eshell-grep):
1515 * emulation/viper.el (viper-mode):
1516 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1517 * emacs-lisp/easymenu.el (easy-menu-define):
1518 * calendar/timeclock.el (timeclock-use-display-time):
1519 * bs.el (bs-mode):
1520 * bookmark.el (bookmark-save-flag):
1521 Doc fix (standardize possessive apostrophe usage).
1522
c98c6276
CY
15232012-02-27 Chong Yidong <cyd@gnu.org>
1524
bf7f9bc5
JB
1525 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1526 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1527
c98c6276
CY
1528 * font-lock.el (font-lock-specified-p): Rename from
1529 font-lock-spec-present. Callers changed.
1530
9c62cd04 15312012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1532
bf7f9bc5
JB
1533 * emacs-lisp/package.el (package-compute-transaction):
1534 Handle holding a package version to t in package-load-list.
8ac9e529 1535
530739c9
MA
15362012-02-26 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1539 (tramp-get-inode, tramp-get-device): Use cached values.
1540
487915d7
AM
15412012-02-26 Alan Mackenzie <acm@muc.de>
1542
1543 Check there is a font-lock specification before doing initial
1544 fontification.
1545
1546 * font-core.el (font-lock-mode): Move the conditional from
1547 :after-hook to font-lock-initial-fontify.
1548 (font-lock-default-function): Move the check for a specification
1549 to font-lock-spec-present.
1550
dc9924b8 1551 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1552 (font-lock-spec-present): New function.
1553
4fd96557
JB
15542012-02-26 Jim Blandy <jimb@red-bean.com>
1555
1556 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1557 (gdb-send): Apply it to the operand of the '-interpreter-exec
1558 console' command, so that we can pass arguments with (say) quotes
1559 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1560
9a4888c0
CY
15612012-02-26 Chong Yidong <cyd@gnu.org>
1562
07498861
CY
1563 * help-fns.el (describe-function-1): Clarify description of
1564 remapping (Bug#10844).
1565
9a4888c0
CY
1566 * files.el (files-equal-p): Doc fix.
1567 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1568 and quit the loop once a mismatch is found.
1569
ea8fb88d
JB
15702012-02-25 Juanma Barranquero <lekktu@gmail.com>
1571
1572 * bs.el (bs--show-with-configuration): Don't throw an error
1573 if the window cannot be split; otherwise, subsequent calls to
1574 bs-show fail, restoring a stale window config. (Bug#10882)
1575
525795c1
JD
15762012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1577
1578 * term/ns-win.el (global-map): Bind ns-drag-file to
1579 ns-find-file (Bug#5855, Bug#10050).
1580
f008086f
AS
15812012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1582
1583 * calendar/parse-time.el (parse-time-string): Allow extractor to
1584 return nil.
1585
a3fcfa99
MA
15862012-02-25 Michael Albinus <michael.albinus@gmx.de>
1587
91027d08
JB
1588 * net/tramp.el (tramp-file-name-for-operation):
1589 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1590
1591 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1592 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1593 Add COPY-CONTENTS argument.
a3fcfa99 1594
67b0de11
CY
15952012-02-25 Chong Yidong <cyd@gnu.org>
1596
1597 Add custom groups for VC backends, for consistency with vc-bzr.
1598
1599 * vc/vc-arch.el (vc-arch):
1600 * vc/vc-cvs.el (vc-cvs):
1601 * vc/vc-git.el (vc-git):
1602 * vc/vc-hg.el (vc-hg):
1603 * vc/vc-mtn.el (vc-mtn):
1604 * vc/vc-rcs.el (vc-rcs):
1605 * vc/vc-sccs.el (vc-sccs):
1606 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1607 All relevant defcustoms reassigned.
1608
3c9dfce6
CY
16092012-02-25 Chong Yidong <cyd@gnu.org>
1610
1339bf43
CY
1611 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1612
3c9dfce6
CY
1613 * term/x-win.el (x-initialize-window-system): Reduce default for
1614 x-selection-timeout to 5 seconds (Bug#8869).
1615
25b2e303 16162012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1617
ec70a47d
GM
1618 * files.el (files-equal-p, file-subdir-of-p): New functions.
1619 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1620 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1621 * dired-aux.el (dired-copy-file-recursive): Same.
1622 (dired-create-files): Modify destination when source is equal to
1623 dest when copying files.
53a46cd0 1624 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1625
914260cd
MA
16262012-02-24 Michael Albinus <michael.albinus@gmx.de>
1627
1628 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1629 (Bug#10874)
1630
2cb228f7
AM
16312012-02-23 Alan Mackenzie <acm@muc.de>
1632
1633 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1634 parameter "after-hook:" to allow the expansion to run code after
1635 the execution of the mode hooks.
1636
1637 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1638 from font-lock-mode-internal.
2cb228f7 1639
91027d08 1640 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1641 :after-hook.
1642
8f0fde21
SM
16432012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1644
3e88618b
SM
1645 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1646 (completion--cache-all-sorted-completions): New function.
1647 (completion-all-sorted-completions): Use it.
1648 (completion--do-completion, minibuffer-force-complete):
1649 Use it to re-instate the flush hook.
1650
8f0fde21
SM
1651 * icomplete.el (icomplete-completions): Replace last fix with a better
1652 one (bug#10850).
1653
8e911f6f
DG
16542012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1655
1656 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1657 when it might call us back infinitely (bug#10797).
1658
49fe4321
GM
16592012-02-23 Glenn Morris <rgm@gnu.org>
1660
1661 * minibuffer.el (completion-category-overrides): Doc fix.
1662
b291b572
SM
16632012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1666 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1667
31a9ef2e
GM
16682012-02-23 Glenn Morris <rgm@gnu.org>
1669
5e6e6794 1670 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1671 (authors-obsolete-files-regexps, authors-ignored-files)
1672 (authors-ambiguous-files, authors-renamed-files-alist):
1673 Add more entries.
1674
0bd1e074
JL
16752012-02-23 Juri Linkov <juri@jurta.org>
1676
1677 * isearch.el (isearch-occur): Sync interactive spec with occur's
1678 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1679
b617673c
JL
1680 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1681
19e9789e
JL
16822012-02-22 Juri Linkov <juri@jurta.org>
1683
1684 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1685 (ucs-insert): Doc fix. Check for hex digits in the string.
1686 Don't display `nil' in the error message. (Bug#10857)
1687
f41ce09d
AM
16882012-02-22 Alan Mackenzie <acm@muc.de>
1689
7a71b18d 1690 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1691
ac2eceee
GM
16922012-02-22 Glenn Morris <rgm@gnu.org>
1693
1694 * ffap.el (ffap-c-path):
1695 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1696
abd1f678
CY
16972012-02-22 Chong Yidong <cyd@gnu.org>
1698
1699 * custom.el (load-theme): Doc fix.
1700
f25aef2e
GM
17012012-02-22 Glenn Morris <rgm@gnu.org>
1702
1703 * dired-x.el (dired-guess-shell-alist-default):
1704 Remove escape sequences from nroff output. (Bug#172)
1705
5f8dc2ca
GM
17062012-02-21 Glenn Morris <rgm@gnu.org>
1707
6ff86ec4
GM
1708 * vc/emerge.el (emerge-defvar-local):
1709 Set `permanent-local' property rather than unused `preserved'.
1710
be3223a3 1711 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1712 (picture-mode-map): Use it. (Bug#10860)
1713 (picture-mode): Doc fix.
1714
3fe58f4f
JB
17152012-02-21 Juanma Barranquero <lekktu@gmail.com>
1716
1717 * newcomment.el (uncomment-region-default): Remove unused binding.
1718
f9a998c3
GM
17192012-02-21 Glenn Morris <rgm@gnu.org>
1720
1721 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1722 (picture-self-insert, picture-tab-chars): Doc fix.
1723 (picture-mode-map): Fix C-a, C-e.
1724
c6029348
GM
17252012-02-20 Glenn Morris <rgm@gnu.org>
1726
1727 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1728
ab1ce9d7
LL
17292012-02-20 Leo Liu <sdl.web@gmail.com>
1730
1731 * icomplete.el (icomplete-completions): Check FROM arg before
1732 passing to substring (Bug#10850).
1733
0fd40f89
CY
17342012-02-19 Chong Yidong <cyd@gnu.org>
1735
1736 * comint.el: Require ansi-color.
1737 (comint-output-filter-functions): Add ansi-color-process-output.
1738
1739 * ansi-color.el: Don't set comint-output-filter-functions; it is
1740 now in the initial value defined in comint.el.
1741 (ansi-color-apply-face-function): New variable.
1742 (ansi-color-apply-on-region): Use it.
1743 (ansi-color-apply-overlay-face): New function.
1744
1745 * shell.el (shell): No need to require ansi-color.
1746 (shell-mode): Use ansi-color-apply-face-function to highlight
1747 color escapes using font-lock-face property (Bug#10835).
1748
20af2394
CY
17492012-02-19 Chong Yidong <cyd@gnu.org>
1750
1751 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1752 mode-line formats (Bug#10839).
1753
e23a3fbe
GM
17542012-02-18 Glenn Morris <rgm@gnu.org>
1755
b474519e
GM
1756 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1757
1758 * mail/undigest.el (unforward-rmail-message): Doc fix.
1759
e23a3fbe
GM
1760 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1761
57939ff4
EZ
17622012-02-18 Eli Zaretskii <eliz@gnu.org>
1763
1764 * international/characters.el (script-list): Sync with the latest
1765 Unicode Character Database.
1766
0c23686e
AS
17672012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1768
1769 * international/titdic-cnv.el: Remove duplicate coding tag.
1770 * language/cham.el: Likewise.
1771 * language/tai-viet.el: Likewise.
1772
6818b449
GM
17732012-02-18 Glenn Morris <rgm@gnu.org>
1774
1775 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1776 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1777 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1778 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1779 * calendar/holidays.el (holiday-bahai-holidays)
1780 (calendar-holidays, list-holidays):
1781 Use utf-8 Bahá'í in doc-strings, menus, etc.
1782
0311a3fc
TH
17832012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1784
1785 * saveplace.el (save-place-ignore-files-regexp): New variable
1786 allowing for excluding files from saving their location of point.
1787 The default value matches the temporary commit message editing
1788 files from Git, SVN, Bazaar, and Mercurial.
1789 (save-place-to-alist): Use it.
1790
eb864a71
LM
17912012-02-17 Lawrence Mitchell <wence@gmx.li>
1792 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * newcomment.el (uncomment-region-default): Don't leave extra space
1795 when an arg is provided (bug#8150).
1796
ee0ce425
TZ
17972012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1798
eb864a71 1799 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1800
95ddf442
GM
18012012-02-17 Glenn Morris <rgm@gnu.org>
1802
1803 * net/socks.el: Require network-stream. (Bug#10599)
1804
48dd1e39 18052012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1806
1807 * international/charprop.el:
1808 * international/uni-name.el:
1809 * international/uni-old-name.el:
1810 * international/uni-comment.el: Regenerate.
1811
d68cd087
GM
18122012-02-16 Glenn Morris <rgm@gnu.org>
1813
1814 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1815 Interactively in calendar buffer, give an error if not on a date.
1816
13932042
GM
18172012-02-15 Glenn Morris <rgm@gnu.org>
1818
1819 * shell.el (shell-delimiter-argument-list):
1820 Revert 2011-02-17 change. (Bug#8027)
1821
c3a70e2b
CY
18222012-02-15 Chong Yidong <cyd@gnu.org>
1823
60236b0d
CY
1824 * minibuffer.el (completion-at-point-functions): Doc fix.
1825
c3a70e2b
CY
1826 * custom.el (defcustom): Doc fix; note use of defvar.
1827
9f26dc24
GM
18282012-02-15 Glenn Morris <rgm@gnu.org>
1829
1830 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1831 Doc fixes.
1832
6546b134
GM
18332012-02-14 Glenn Morris <rgm@gnu.org>
1834
1835 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1836
d29b2b4c
LI
18372012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1838
1839 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1840 way the ports list is computed.
835bdcba
LI
1841 (smtpmail-query-smtp-server): Prompt the user for a port number if
1842 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1843
08dcdbc9
TZ
18442012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1845
1846 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1847
2605051a
GM
18482012-02-13 Glenn Morris <rgm@gnu.org>
1849
1850 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1851
7ee99f32
TZ
18522012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1853
1854 * net/gnutls.el (gnutls-trustfiles): New variable.
1855 (gnutls-negotiate): Use it.
1856
5f0af64f
LI
18572012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1858
1859 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1860 does its stuff if Gnus is running.
1861
c14fcc95
AM
18622012-02-13 Alan Mackenzie <acm@muc.de>
1863
1864 Fix a loop in c-set-fl-decl-start.
1865
7a71b18d 1866 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1867 c-backward-syntactic-ws actually moves backwards.
1868
142b4d90
LL
18692012-02-13 Leo Liu <sdl.web@gmail.com>
1870
1871 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1872 beginning so that all \C-o chars are removed.
1873
fa9958a6
TZ
18742012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1875
dc9924b8 1876 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1877
0bc5886a
AM
18782012-02-12 Alan Mackenzie <acm@muc.de>
1879
1880 Fix infinite loop with long macros.
4d6769e1 1881 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 1882
d4bd55e7
CY
18832012-02-12 Chong Yidong <cyd@gnu.org>
1884
1885 * window.el (display-buffer): Doc fix (Bug#10785).
1886
66f3fe22
GM
18872012-02-12 Glenn Morris <rgm@gnu.org>
1888
bd7da63e
GM
1889 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1890 (x-disown-selection-internal, x-get-selection-internal):
1891 Sync docs with the xselect.c versions.
1892
66f3fe22
GM
1893 * allout-widgets.el: Add missing license notice.
1894
3e0d2fa7
GM
18952012-02-11 Glenn Morris <rgm@gnu.org>
1896
cfecdf09
GM
1897 * select.el (x-get-selection-internal, x-own-selection-internal)
1898 (x-disown-selection-internal):
1899 * x-dnd.el (x-get-selection-internal): Update declarations.
1900
6d216d7f
GM
1901 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1902
2bed3f04
GM
1903 * window.el (window-sides-slots):
1904 * tool-bar.el (tool-bar-position):
1905 * term/xterm.el (xterm-extra-capabilities):
1906 * ses.el (ses-self-reference-early-detection):
1907 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1908 (verilog-auto-wire-type)
1909 (verilog-auto-delete-trailing-whitespace)
1910 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1911 (verilog-auto-tieoff-declaration):
1912 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1913 (sql-oracle-statement-starters, sql-oracle-scan-on):
1914 * progmodes/prolog.el (prolog-align-comments-flag)
1915 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1916 (prolog-left-indent-regexp, prolog-paren-indent-p)
1917 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1918 (prolog-types, prolog-mode-specificators)
1919 (prolog-determinism-specificators, prolog-directives)
1920 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1921 (prolog-electric-dot-flag)
1922 (prolog-electric-dot-full-predicate-template)
1923 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1924 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1925 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1926 (prolog-program-switches, prolog-prompt-regexp)
1927 (prolog-debug-on-string, prolog-debug-off-string)
1928 (prolog-trace-on-string, prolog-trace-off-string)
1929 (prolog-zip-on-string, prolog-zip-off-string)
1930 (prolog-use-standard-consult-compile-method-flag)
1931 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1932 (prolog-imenu-max-lines, prolog-info-predicate-index)
1933 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1934 (prolog-char-quote-workaround):
1935 * progmodes/cc-vars.el (c-defun-tactic):
1936 * net/tramp.el (tramp-encoding-command-interactive)
1937 (tramp-local-end-of-line):
1938 * net/soap-client.el (soap-client):
1939 * net/netrc.el (netrc-file):
1940 * net/gnutls.el (gnutls):
1941 * minibuffer.el (completion-category-overrides)
1942 (completion-cycle-threshold)
1943 (completion-pcm-complete-word-inserts-delimiters):
1944 * man.el (Man-name-local-regexp):
1945 * mail/feedmail.el (feedmail-display-full-frame):
1946 * international/characters.el (glyphless-char-display-control):
1947 * eshell/em-ls.el (eshell-ls-date-format):
1948 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1949 (lisp-lambda-list-keyword-parameter-indentation)
1950 (lisp-lambda-list-keyword-parameter-alignment):
1951 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1952 * dired-x.el (dired-omit-verbose):
1953 * cus-theme.el (custom-theme-allow-multiple-selections):
1954 * calc/calc.el (calc-highlight-selections-with-faces)
1955 (calc-lu-field-reference, calc-lu-power-reference)
1956 (calc-note-threshold):
1957 * battery.el (battery-mode-line-limit):
1958 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1959 (archive-7z-update):
1960 * allout.el (allout-prefixed-keybindings)
1961 (allout-unprefixed-keybindings)
1962 (allout-inhibit-auto-fill-on-headline)
1963 (allout-flattened-numbering-abbreviation):
1964 * allout-widgets.el (allout-widgets-auto-activation)
1965 (allout-widgets-icons-dark-subdir)
1966 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1967 (allout-widgets-theme-dark-background)
1968 (allout-widgets-theme-light-background)
1969 (allout-widgets-item-image-properties-emacs)
1970 (allout-widgets-item-image-properties-xemacs)
1971 (allout-widgets-run-unit-tests-on-load)
1972 (allout-widgets-time-decoration-activity)
1973 (allout-widgets-hook-error-post-time)
1974 (allout-widgets-track-decoration):
1975 Add missing :version tags to new defcustoms and defgroups.
1976
5fec1b8e
GM
1977 * progmodes/sql.el (sql-ansi-statement-starters)
1978 (sql-oracle-statement-starters): Add custom type.
1979
3e0d2fa7
GM
1980 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1981 (prolog-system-version): Give it a type.
1982
90b671e2
EZ
19832012-02-11 Eli Zaretskii <eliz@gnu.org>
1984
1985 * term/pc-win.el (x-select-text, x-selection-owner-p)
1986 (x-own-selection-internal, x-disown-selection-internal)
1987 (x-get-selection-internal): Sync doc strings and argument lists
1988 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1989
5eac0c02
LL
19902012-02-11 Leo Liu <sdl.web@gmail.com>
1991
1992 * progmodes/python.el (python-end-of-statement): Fix infinite
1993 loop. (Bug#10788)
1994
f82cb659
GM
19952012-02-10 Glenn Morris <rgm@gnu.org>
1996
1997 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1998 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1999
cc26d239
LI
20002012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2001
2002 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2003 about SMTP before checking the From header.
2004
91027d08 2005 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2006 into own function for reuse by emacsbug.el.
2007
1be3ca5a
LL
20082012-02-10 Leo Liu <sdl.web@gmail.com>
2009
2010 * subr.el (condition-case-unless-debug): Rename from
2011 condition-case-no-debug. All callers changed.
2012 (with-demoted-errors): Fix caller.
2013
2014 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2015 * nxml/rng-valid.el (rng-do-some-validation):
2016 * emacs-lisp/package.el (package-refresh-contents)
2017 (package-menu-execute):
2018 * desktop.el (desktop-create-buffer):
91027d08 2019 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2020
b011fbfe
GM
20212012-02-10 Glenn Morris <rgm@gnu.org>
2022
b2096d72
GM
2023 * textmodes/bibtex.el:
2024 Add missing :version tags for new/changed defcustoms.
2025
b011fbfe
GM
2026 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2027
4c7e65bf
LI
20282012-02-09 Lars Ingebrigtsen <larsi@rusty>
2029
2030 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2031 (smtpmail-via-smtp): Use it, or fall back on the From address.
2032 (smtpmail-send-it): Ditto.
2033
f3934f6f
SM
20342012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2037 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2038 (byte-compile-tmp-var): New const.
2039 (byte-compile-defvar): Use it to minimize .elc size.
2040 Just use `defvar' rather than simulate it (bug#10761).
2041
a075a2c5
GM
20422012-02-09 Glenn Morris <rgm@gnu.org>
2043
cf3aa21b
GM
2044 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2045
354998cd
GM
2046 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2047 Add :version tags.
2048
dc9924b8
SM
2049 * progmodes/compile.el (compilation-error-screen-columns)
2050 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2051
dab3703d
GM
2052 * vc/log-view.el (log-view-toggle-entry-display):
2053 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2054
3f88cd72
GM
2055 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2056 (report-emacs-bug-can-use-xdg-email):
2057 (report-emacs-bug-insert-to-mailer): Doc fixes.
2058 (report-emacs-bug): Message fix.
2059
d95b247d
GM
2060 * net/browse-url.el (browse-url-can-use-xdg-open)
2061 (browse-url-xdg-open): Doc fixes.
2062
a075a2c5
GM
2063 * electric.el (electric-indent-mode, electric-pair-mode)
2064 (electric-layout-rules, electric-layout-mode): Doc fixes.
2065 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2066
ffb6157e
MR
20672012-02-08 Martin Rudalics <rudalics@gmx.at>
2068
2069 * server.el (server-unselect-display): Don't inadvertently kill
2070 the current buffer. (Bug#10729)
2071
e1ac4066
GM
20722012-02-08 Glenn Morris <rgm@gnu.org>
2073
34e8a2da
GM
2074 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2075 (sql-list-table): Doc fixes.
2076
b4ac6e8c
GM
2077 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2078 Comment out (does nothing).
2079
e1ac4066
GM
2080 * completion.el (dynamic-completion-mode):
2081 * dirtrack.el (dirtrack-debug-mode):
2082 * electric.el (electric-layout-mode):
2083 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2084 * face-remap.el (text-scale-mode, buffer-face-mode):
2085 * iimage.el (iimage-mode):
2086 * image-mode.el (image-transform-mode):
2087 * minibuffer.el (completion-in-region-mode):
2088 * scroll-lock.el (scroll-lock-mode):
2089 * simple.el (next-error-follow-minor-mode):
2090 * tar-mode.el (tar-subfile-mode):
2091 * tooltip.el (tooltip-mode):
2092 * vcursor.el (vcursor-use-vcursor-map):
2093 * wid-browse.el (widget-minor-mode):
2094 * emulation/tpu-edt.el (tpu-edt-mode):
2095 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2096 * international/iso-ascii.el (iso-ascii-mode):
2097 * language/thai-util.el (thai-word-mode):
2098 * mail/supercite.el (sc-minor-mode):
2099 * net/goto-addr.el (goto-address-mode):
2100 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2101 * progmodes/cwarn.el (cwarn-mode):
2102 * progmodes/flymake.el (flymake-mode):
2103 * progmodes/glasses.el (glasses-mode):
2104 * progmodes/hideshow.el (hs-minor-mode):
2105 * progmodes/pascal.el (pascal-outline-mode):
2106 * textmodes/enriched.el (enriched-mode):
2107 * vc/smerge-mode.el (smerge-mode):
2108 Doc fixes (minor mode argument).
2109
5e0d957f
EZ
21102012-02-07 Eli Zaretskii <eliz@gnu.org>
2111
2112 * ls-lisp.el (ls-lisp-sanitize): New function.
2113 (ls-lisp-insert-directory): Use it to fix or remove any elements
2114 in file-alist with missing attributes. (Bug#4673)
2115
98d7371e
AM
21162012-02-07 Alan Mackenzie <acm@muc.de>
2117
2118 Fix spurious recognition of c-in-knr-argdecl.
2119
2120 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2121 putative K&R region.
2122
667ced3a
AM
21232012-02-07 Alan Mackenzie <acm@muc.de>
2124
eb864a71
LM
2125 * progmodes/cc-engine.el (c-forward-objc-directive):
2126 Prevent looping in "#pragma mark @implementation".
667ced3a 2127
5b77774d
MA
21282012-02-07 Michael Albinus <michael.albinus@gmx.de>
2129
2130 * notifications.el (notifications-on-closed-signal): Make `reason'
2131 optional. (Bug#10744)
2132
af008560
GM
21332012-02-07 Glenn Morris <rgm@gnu.org>
2134
60d47423
GM
2135 * emacs-lisp/easy-mmode.el (define-minor-mode):
2136 Doc fixes for the macro and the mode it defines.
2137
dd605cc4
GM
2138 * image.el (imagemagick-types-inhibit): Doc fix.
2139
af008560
GM
2140 * cus-start.el (imagemagick-render-type): Add it.
2141
5cc59a37
LI
21422012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2143
4d6769e1
JB
2144 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2145 Set the default at load time, too, so that `font-lock-fontify-buffer'
2146 can be called without setting up the entire mode first. This fixes
2147 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2148
9a6dd747
CY
21492012-02-06 Chong Yidong <cyd@gnu.org>
2150
2d16b285
CY
2151 * simple.el (list-processes--refresh): Delete exited processes
2152 (Bug#8094).
2153
171e9b6e
CY
2154 * comint.el (comint-next-prompt): next-single-char-property-change
2155 and prev-single-char-property-change never return nil (Bug#8657).
2156
9a6dd747
CY
2157 * custom.el (defcustom): Doc fix (Bug#9711).
2158
aa4589a7
CY
21592012-02-05 Chong Yidong <cyd@gnu.org>
2160
5c2a252f
CY
2161 * cus-edit.el (custom-variable-reset-backup): Quote the value
2162 before storing it in the customized-value property (Bug#6712).
4aab9006 2163 (custom-display): Add a customization type tag.
983b9602 2164 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2165
aa4589a7
CY
2166 * wid-edit.el (widget-field-value-get): New optional arg to
2167 suppress trailing whitespace truncation.
2168 (character): Use it (Bug#2689).
2169
1ff980ae
AS
21702012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2171
2172 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2173 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2174
03988c98
CY
21752012-02-05 Chong Yidong <cyd@gnu.org>
2176
eeb6cc88
CY
2177 * cus-edit.el (custom-variable-value-create): For mismatched
2178 types, show the current value (Bug#7600).
2179
03988c98
CY
2180 * custom.el (defcustom): Doc fix.
2181
f8cdeef0
GM
21822012-02-05 Glenn Morris <rgm@gnu.org>
2183
2184 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2185
0696d255
JB
21862012-02-05 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2189 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2190 (pp-last-sexp): Use `looking-at-p'.
2191
34c99998
GM
21922012-02-04 Glenn Morris <rgm@gnu.org>
2193
8f05da42
GM
2194 * files.el (revert-buffer):
2195 Doc fix (mention revert-buffer-in-progress-p).
2196
f160676e
GM
2197 * emacs-lisp/ert-x.el (ert-simulate-command):
2198 Check deferred-action-list (which is obsolete) is bound.
2199
c7291ad9
GM
2200 * subr.el (with-wrapper-hook): Doc fixes.
2201
34c99998
GM
2202 * simple.el (filter-buffer-substring-functions)
2203 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2204
6283a7d3
LL
22052012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2206
2207 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2208 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2209
e96e3013
LL
22102012-02-04 Leo Liu <sdl.web@gmail.com>
2211
2212 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2213
8ded50f2
GM
22142012-02-04 Glenn Morris <rgm@gnu.org>
2215
82ff1d13
GM
2216 * image.el (image-extension-data): Add obsolete alias.
2217
987a0a16
GM
2218 * isearch.el (isearch-update): Doc fix.
2219
ea32ef46
GM
2220 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2221
8ded50f2
GM
2222 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2223
eea14f31
GM
22242012-02-03 Glenn Morris <rgm@gnu.org>
2225
2226 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2227 (image-animate-timeout): Doc fix.
2228
2229 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2230
12f381b7
GM
22312012-02-02 Glenn Morris <rgm@gnu.org>
2232
953cebf5
GM
2233 * server.el (server-auth-dir): Doc fix.
2234 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2235
12f381b7
GM
2236 * subr.el (run-mode-hooks): Doc fix.
2237
953a8c3b
JL
22382012-02-02 Juri Linkov <juri@jurta.org>
2239
2240 * image-mode.el (image-toggle-display-image): Remove tautological
2241 `major-mode' from the `derived-mode-p' test.
2242
c5d3843c
KH
22432012-02-02 Kenichi Handa <handa@m17n.org>
2244
9f6e692e 2245 * composite.el (compose-region): Cancel previous change.
c5d3843c 2246
159462d4 22472012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2248
2249 * composite.el (compose-region, compose-string): Signal error for
2250 a null string component (Bug#6988).
2251
9f562668
CY
22522012-02-01 Chong Yidong <cyd@gnu.org>
2253
e2cef717
CY
2254 * view.el (view-buffer-other-window, view-buffer-other-frame):
2255 Handle special modes like view-buffer (Bug#10650).
2256 (view-buffer): Simplify.
2257
9f562668
CY
2258 * frame.el (set-frame-font): Tweak meaning of third argument.
2259
9f6e692e
JB
2260 * dynamic-setting.el (font-setting-change-default-font):
2261 Use set-frame-font (Bug#9982).
9f562668 2262
781acb9f
GM
22632012-02-01 Glenn Morris <rgm@gnu.org>
2264
6035be52
GM
2265 * progmodes/compile.el (compilation-internal-error-properties):
2266 Respect compilation-first-column in the "*compilation*" buffer.
2267
781acb9f
GM
2268 * emacs-lisp/easy-mmode.el (define-minor-mode):
2269 Relax :variable's test for a named function.
2270
abbceb00
AM
22712012-01-31 Alan Mackenzie <acm@muc.de>
2272
2273 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2274 off by one error.
2275
fce3fdeb
CY
22762012-01-31 Chong Yidong <cyd@gnu.org>
2277
2278 * frame.el (set-frame-font): New arg ALL-FRAMES.
2279
2280 * menu-bar.el (menu-set-font): Use set-frame-font.
2281
2282 * faces.el (face-spec-reset-face): Don't apply unspecified
2283 attribute values to the default face.
2284
47893581
JB
22852012-01-31 Juanma Barranquero <lekktu@gmail.com>
2286
2287 * progmodes/cwarn.el (cwarn): Remove dead link.
2288 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2289 Remove * from defcustom docstrings.
2290 (turn-on-cwarn-mode): Make obsolete.
2291 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2292 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2293
e58e988a
GM
22942012-01-31 Glenn Morris <rgm@gnu.org>
2295
60dc2671 2296 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2297 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2298 Allow named functions to be used as the cdr of :variable.
e58e988a 2299
7a3f511d
GM
23002012-01-30 Glenn Morris <rgm@gnu.org>
2301
2302 * emacs-lisp/authors.el (authors-fixed-entries):
2303 Remove reference to deleted file rnewspost.el.
2304
cb882333
JB
23052012-01-29 Juanma Barranquero <lekktu@gmail.com>
2306
2307 * window.el (window-with-parameter): Remove unused variable `windows'.
2308 (window--side-check): Remove unused variable `code'.
2309 (window--resize-siblings): Remove unused variable `first'.
2310 (adjust-window-trailing-edge): Remove unused variable `failed'.
2311 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2312 Use `let', not `let*'.
2313 (balance-windows-2): Remove unused variable `found'.
2314 (window--state-put-2): Remove unused variable `splits'.
2315 (window-state-put): Remove unused variable `selected'.
2316 (same-window-p): Use `string-match-p'.
2317 (display-buffer-assq-regexp): Remove unused variable `value'.
2318 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2319 Mark argument ALIST as ignored.
2320 (pop-to-buffer): Remove unused variable `old-window'.
2321
907201af
EZ
23222012-01-29 Eli Zaretskii <eliz@gnu.org>
2323
2324 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2325 and .lzma compressed files.
2326
ea162670
CY
23272012-01-29 Chong Yidong <cyd@gnu.org>
2328
5b95ee8a
CY
2329 * frame.el (window-system-default-frame-alist): Doc fix.
2330
ea162670
CY
2331 * dynamic-setting.el (font-setting-change-default-font): Don't
2332 change the default face if SET-FONT argument is non-nil (Bug#9982).
2333
d6e6f4b1
SB
23342012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2335
2336 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2337
0f29fa41 23382012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2339
2340 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2341 breakpoints in files outside current directory (Bug#6098).
2342
db174434
CY
23432012-01-29 Chong Yidong <cyd@gnu.org>
2344
6b25e4e2
SE
2345 * progmodes/python.el: Require ansi-color at top-level.
2346
6df6ae42
JB
2347 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2348 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2349 (lisp-mode-abbrev-table): Add doc.
2350 (lisp-mode-variables): Don't set local-abbrev-table.
2351 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2352
e70ee681
RW
23532012-01-28 Roland Winkler <winkler@gnu.org>
2354
2355 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2356
ace88aa2
RW
23572012-01-28 Roland Winkler <winkler@gnu.org>
2358
2359 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2360 (bibtex-set-dialect): Use it. Either set global values of
2361 dialect-dependent variables or bind these variables buffer-locally
2362 (Bug#10254).
2363 (bibtex-mode): Call bibtex-set-dialect via
2364 hack-local-variables-hook.
eb864a71
LM
2365 (bibtex-dialect): Update docstring.
2366 Add safe-local-variable predicate.
ace88aa2
RW
2367 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2368 bibtex-set-dialect.
2369 (bibtex-mode-map): Define menu for each dialect.
2370 (bibtex-entry): Fix docstring.
2371
93376c5b
CY
23722012-01-28 Chong Yidong <cyd@gnu.org>
2373
2374 * eshell/esh-arg.el (eshell-quote-argument): New function.
2375
2376 * eshell/esh-ext.el (eshell-invoke-batch-file):
2377 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2378 first arg to eshell-parse-command (Bug#10523).
2379
4372494f
DA
23802012-01-28 Drew Adams <drew.adams@oracle.com>
2381
2382 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2383 `default-directory' is non-nil.
2384
4d4ec1f8
EZ
23852012-01-28 Eli Zaretskii <eliz@gnu.org>
2386
2387 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2388 line that displays system-configuration-options. (Bug#9924)
2389
7c188927
DA
23902012-01-28 Drew Adams <drew.adams@oracle.com>
2391
2392 * descr-text.el (describe-char): Show information about POS, in
2393 addition to information about the character at POS. Improve and
2394 update the doc string. Change "code point" to "code point in
2395 charset", to avoid confusion with the character's Unicode code
2396 point shown above that. (Bug#10129)
2397
e0da685a
EZ
23982012-01-28 Eli Zaretskii <eliz@gnu.org>
2399
2400 * descr-text.el (describe-char): Show the raw character, not only
2401 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2402 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2403 for the reasons.
2404
70550acf
PH
24052012-01-28 Phil Hagelberg <phil@hagelb.org>
2406
eb864a71
LM
2407 * emacs-lisp/package.el (package-install):
2408 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2409
0ce8e868
CY
24102012-01-28 Chong Yidong <cyd@gnu.org>
2411
cb882333
JB
2412 * emacs-lisp/package.el (package-maybe-load-descriptor):
2413 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2414 (package-maybe-load-descriptor): Use it.
2415 (package-download-transaction): Fully load required packages
2416 inside the loop, so that `require' calls work (Bug#10593).
2417 (package-install): No need to call package-initialize now.
2418
2e7f3bea
CY
24192012-01-28 Chong Yidong <cyd@gnu.org>
2420
6e9bad14
CY
2421 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2422
f823b8ca
CY
2423 * tooltip.el (tooltip-mode): Doc fix.
2424 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2425
2680c309
CY
2426 * frame.el (set-cursor-color): Doc fix (Bug#352).
2427
d7a9e63b
CY
2428 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2429 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2430
2e7f3bea
CY
2431 * cus-edit.el (custom-buffer-create-internal): Fix search button
2432 action (Bug#10542).
2ae01800 2433 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2434
fc4f7a23
EW
24352012-01-27 Eduard Wiebe <usenet@pusto.de>
2436
2437 * dired.el (dired-mark-files-regexp):
2438 Include any subdirectory components. (Bug#10445)
2439
7dd37071
ML
24402012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2441
2442 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2443 Handle [host]:port syntax. (Bug#10533)
2444
a268160b
AH
24452012-01-27 Alex Harsanyi <harsanyi@mac.com>
2446
2447 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2448
e43273ef
GM
24492012-01-26 Glenn Morris <rgm@gnu.org>
2450
2451 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2452 * term.el (term-raw-escape-map): Use Control-X-prefix.
2453 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2454
1edf595d
MR
24552012-01-25 Martin Rudalics <rudalics@gmx.at>
2456
2457 * window.el (window-state-get, window--state-get-1): Don't deal
2458 with fixed-sizeness of windows. Simplify code.
2459
fa8eafef
JC
24602012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2461
6df6ae42
JB
2462 * window.el (window--state-get-1, window--state-put-2):
2463 Don't save and restore the mark.
fa8eafef 2464
0b21c100
CY
24652012-01-25 Chong Yidong <cyd@gnu.org>
2466
2467 * custom.el (custom-variable-p): Doc fix.
2468
5ae1a6c8
GM
24692012-01-25 Glenn Morris <rgm@gnu.org>
2470
40047858
GM
2471 * dired.el (dired-goto-file): Handle some of the more common
2472 characters that `ls -b' escapes. (Bug#10596)
2473
5ddce96c
GM
2474 * progmodes/compile.el (compilation-next-error-function):
2475 Respect compilation-first-column in the "*compilation*" buffer.
2476 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2477
5ae1a6c8
GM
2478 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2479
b559f1a9
GM
24802012-01-24 Glenn Morris <rgm@gnu.org>
2481
2482 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2483
6725d21a
JD
24842012-01-24 Julien Danjou <julien@danjou.info>
2485
2486 * color.el (color-rgb-to-hsl): Fix value computing.
2487 (color-hue-to-rgb): New function.
2488 (color-hsl-to-rgb): New function.
2489 (color-clamp, color-saturate-hsl, color-saturate-name)
2490 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2491 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2492
70df4bbe
GM
24932012-01-24 Glenn Morris <rgm@gnu.org>
2494
2495 * vc/vc-rcs.el (vc-rcs-create-tag):
2496 * vc/vc-sccs.el (vc-sccs-create-tag):
2497 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2498
802a2ae2
ML
24992012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2500
2501 * eshell/esh-util.el (eshell-read-hosts-file):
2502 Skip comment lines. (Bug#10549)
2503
d7128bb1
ML
2504 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2505
d1a5c3b4
JB
25062012-01-23 Juanma Barranquero <lekktu@gmail.com>
2507
2724d9c7
JB
2508 * subr.el (display-delayed-warnings): Doc fix.
2509 (collapse-delayed-warnings): New function to collapse identical
2510 adjacent warnings.
2511 (delayed-warnings-hook): Add it.
d1a5c3b4 2512
a5509865
MA
25132012-01-22 Michael Albinus <michael.albinus@gmx.de>
2514
2515 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2516
2517 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2518 properties, when "login-as" is set.
2519
2520 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2521 (tramp-default-user-alist): Don't add "pscp".
2522 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2523 property "login-as", if set. (Bug#10530)
2524
cc6d5805
MA
25252012-01-21 Michael Albinus <michael.albinus@gmx.de>
2526
2527 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2528 "plink1" and "psftp". (Bug#10530)
2529
25302012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2531
2532 * international/mule-cmds.el (prefer-coding-system): Show a
2533 warning message if the default value of file-name-coding-system
2534 was not changed.
2535
f0960428
JC
25362012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2537
cb882333
JB
2538 * windmove.el (windmove-reference-loc):
2539 Fix windmove-reference-loc miscalculation.
f0960428 2540
dd6f2a63
JB
25412012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2542
2543 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2544 default unit.
2545
7b447e9b
GM
25462012-01-21 Glenn Morris <rgm@gnu.org>
2547
117a9ea1
GM
2548 * international/mule.el (auto-coding-alist): Add .tbz.
2549
7b447e9b
GM
2550 * files.el (local-enable-local-variables): Doc fix.
2551 (inhibit-local-variables-regexps): Rename from
2552 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2553 Doc fix. Add some extensions from auto-coding-alist.
2554 (inhibit-local-variables-suffixes):
2555 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2556 (inhibit-local-variables-p):
2557 New function, extracted from set-auto-mode-1.
2558 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2559 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2560 (hack-local-variables): Doc fix. Make the mode-only case
2561 respect enable-local-variables and friends.
2562 Respect inhibit-local-variables-regexps for file-locals, but
2563 not for directory-locals.
2564 (set-visited-file-name):
2565 Take account of inhibit-local-variables-regexps.
2566 Whether it applies may change as the file name is changed.
2567 * jka-cmpr-hook.el (jka-compr-install):
2568 * jka-compr.el (jka-compr-uninstall):
2569 Update for inhibit-first-line-modes-suffixes name change.
2570
dd6e3cdd
MR
25712012-01-20 Martin Rudalics <rudalics@gmx.at>
2572
2573 * help-macro.el (make-help-screen): Temporarily restore original
2574 binding for minor-mode-map-alist (Bug#10454).
2575
0d0deb38
JD
25762012-01-19 Julien Danjou <julien@danjou.info>
2577
2578 * color.el (color-name-to-rgb): Use the white color to find the max
2579 color component value and return correctly computed values.
2580 (color-name-to-rgb): Add missing float conversion for max value.
2581
34a02f46
MR
25822012-01-19 Martin Rudalics <rudalics@gmx.at>
2583
2584 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2585 special state value for window-persistent-parameters.
2586 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2587 (window--state-put-2): Reset all window parameters to nil before
2588 assigning values of persistent parameters.
2589
606c44c4
AM
25902012-01-18 Alan Mackenzie <acm@muc.de>
2591
2592 Eliminate sluggishness and hangs in fontification of "semicolon
2593 deserts".
2594
cb882333
JB
2595 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2596 Change value 10000 -> 3000.
606c44c4
AM
2597 (c-state-safe-place): Reformulate so it doesn't stack up an
2598 infinite number of wrong entries in c-state-nonlit-pos-cache.
2599 (c-determine-limit-get-base, c-determine-limit): New functions to
2600 determine backward search limits disregarding literals.
2601 (c-find-decl-spots): Amend commenting.
2602 (c-cheap-inside-bracelist-p): New function which detects "={".
2603
2604 * progmodes/cc-fonts.el
2605 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2606 backward search.
2607 (c-font-lock-declarations): Fix an occurrence of point being
2608 undefined. Check additionally for point being in a bracelist or
2609 near a macro invocation without a semicolon so as to avoid a
2610 fruitless time consuming search for a declarator. Give a more
2611 precise search limit for declarators using the new
2612 c-determine-limit.
2613
f3860cea
GM
26142012-01-18 Glenn Morris <rgm@gnu.org>
2615
2616 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2617 (set-auto-mode): Doc fixes.
2618
1db03b16
GM
26192012-01-17 Glenn Morris <rgm@gnu.org>
2620
0e6038be
GM
2621 * isearch.el (search-nonincremental-instead): Fix doc typo.
2622
1db03b16
GM
2623 * dired.el (dired-insert-directory): Handle newlines in directory name.
2624 (dired-build-subdir-alist): Unescape newlines in directory name.
2625
4cb0aa75
MA
26262012-01-17 Michael Albinus <michael.albinus@gmx.de>
2627
2628 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2629 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2630 (tramp-action-terminal): Use it. (Bug#10530)
2631
1d00653d
SM
26322012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2635
6a6ee00d
MR
26362012-01-16 Martin Rudalics <rudalics@gmx.at>
2637
2638 * window.el (window-state-ignored-parameters): Remove variable.
2639 (window--state-get-1): Rename argument MARKERS to IGNORE.
2640 Handle persistent window parameters. Make copy of clone-of
2641 parameter only if requested. (Bug#10348)
2642 (window--state-put-2): Install a window parameter only if it has
2643 a non-nil value or an existing parameter shall be overwritten.
2644
97912def
MA
26452012-01-15 Michael Albinus <michael.albinus@gmx.de>
2646
2647 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2648
688070a5
EZ
26492012-01-14 Eli Zaretskii <eliz@gnu.org>
2650
2651 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2652 don't pass the (nil) value of `upnode' to string-match.
2653
301afadc
CY
26542012-01-14 Chong Yidong <cyd@gnu.org>
2655
2656 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2657 Fix values recognized by the cursorBlink resource.
301afadc 2658
9e5788aa
PE
26592012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2660
2661 * epg.el (epg--make-temp-file): Avoid permission race condition
2662 when running on old Emacs versions (bug#10403).
2663
3cdb7f5a
GM
26642012-01-14 Glenn Morris <rgm@gnu.org>
2665
2666 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2667
8c82b1b4
AM
26682012-01-13 Alan Mackenzie <acm@muc.de>
2669
2670 Fix filling for when filladapt mode is enabled.
2671
2672 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2673 c-mask-paragraph, pass in `fill-paragraph' rather than
2674 `fill-region-as-paragraph'. (This is a reversion of a previous
2675 change.)
eb864a71
LM
2676 * progmodes/cc-mode.el (c-basic-common-init):
2677 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2678
e517eda4
GM
26792012-01-13 Glenn Morris <rgm@gnu.org>
2680
1498536e
GM
2681 * dired.el (dired-switches-escape-p): New function.
2682 (dired-insert-directory): Use dired-switches-escape-p.
2683 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2684
e517eda4
GM
2685 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2686
328f984d
GM
26872012-01-12 Glenn Morris <rgm@gnu.org>
2688
2689 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2690 changes in adaptive-fill-regexp. (Bug#10276)
2691
2cc769a8
AM
26922012-01-11 Alan Mackenzie <acm@muc.de>
2693
2694 Fix Emacs bug #10463 - put `widen's around the critical spots.
2695
1d00653d 2696 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2697 widen around each invocation of c-state-pp-to-literal. Remove an
2698 unused let variable.
2699
e52c37fa
GM
27002012-01-11 Glenn Morris <rgm@gnu.org>
2701
2702 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2703 Doc fix.
e52c37fa 2704
96f8741e
CY
27052012-01-10 Chong Yidong <cyd@gnu.org>
2706
1d00653d
SM
2707 * net/network-stream.el (network-stream-open-starttls):
2708 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2709 response to the capability command.
2710
b09a806e
GM
27112012-01-10 Glenn Morris <rgm@gnu.org>
2712
2713 * mail/unrmail.el (unrmail): Tweak previous change.
2714
7655cb66
CY
27152012-01-09 Chong Yidong <cyd@gnu.org>
2716
2717 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2718
9d5a8f0b
AM
27192012-01-08 Alan Mackenzie <acm@muc.de>
2720
2721 Optimise font locking in long enum definitions.
2722
2723 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2724 arm to a cond form to handle enums.
2725 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2726 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2727
9a0115ab 27282012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2729
2730 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2731 (Bug#10401)
6bb72cbd 2732
f186bb95
LMI
27332012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2734
29232a68
LMI
2735 * faces.el (set-face-attribute): Clarify the meaning of the nil
2736 frame (bug#10294).
2737
4e5d086d
LMI
2738 * subr.el (with-selected-frame): Mention that the selected frame
2739 is restored (bug#9980).
2740
8e66aebe
LMI
2741 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2742 (bug#9759).
2743
cd394be1 2744 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2745 (password-read): Don't autoload unused function.
2746
adf4e762
JB
27472012-01-07 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * progmodes/which-func.el (which-func-mode): Turn into a
2750 non-interactive function and mark as obsolete (bug#10428).
2751
89bd9ccd
CY
27522012-01-06 Chong Yidong <cyd@gnu.org>
2753
2754 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2755 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2756 functions, along with 1 and -1.
2757
4afee9d5
EZ
27582012-01-06 Eli Zaretskii <eliz@gnu.org>
2759
2760 * time.el (display-time-load-average)
2761 (display-time-default-load-average): Doc fixes. See the thread
2762 starting at
2763 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2764 for the details.
2765
536aea70
GM
27662012-01-06 Glenn Morris <rgm@gnu.org>
2767
665ae865
GM
2768 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2769 has no messages. (Bug#10377)
2770
c869783d
GM
2771 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2772 than Info-edit. (Bug#10385)
2773
2bb4227e
GM
2774 * time.el (display-time-load-average, display-time-next-load-average):
2775 Doc fixes.
2776
7d5944b9
GM
2777 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2778 local setting of buffer-read-only to the input buffer. (Bug#10419)
2779
536aea70
GM
2780 * calendar/calendar.el (calendar-mode):
2781 Locally set scroll-margin to 0. (Bug#10379)
2782
7dccca16
UM
27832012-01-06 Ulrich Mueller <ulm@gentoo.org>
2784
2785 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2786
afbb7930
GM
27872012-01-05 Glenn Morris <rgm@gnu.org>
2788
2789 * eshell/em-unix.el (diff-no-select): Autoload it.
2790 (eshell/diff): Use diff-no-select. (Bug#10420)
2791
04482335
CY
27922012-01-05 Chong Yidong <cyd@gnu.org>
2793
7baca3bc
CY
2794 * shell.el (shell-dynamic-complete-functions): Revert last change.
2795 (shell-command-completion-function): New function.
2796 (shell-completion-vars): Use it to implement
2797 shell-completion-execonly (Bug#10417).
2798
04482335
CY
2799 * custom.el (enable-theme): Don't set custom-safe-themes.
2800
1d00653d
SM
2801 * cus-theme.el (custom-theme-merge-theme):
2802 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2803
bb5aa5d6
MM
28042012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2805
2806 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2807 first prompt in `sql-interacive-mode'.
2808 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2809 keywords.
6df6ae42 2810 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2811 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2812 context of original buffer. Invoke `sql-login-hook'.
2813
a7183d7c
EZ
28142012-01-04 Eli Zaretskii <eliz@gnu.org>
2815
2816 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2817 letters in cite-prefix.
2818
a1eacd1e
LMI
28192012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2820
2821 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2822
787cdb34
CY
28232012-01-03 Chong Yidong <cyd@gnu.org>
2824
1d00653d
SM
2825 * shell.el (shell-dynamic-complete-functions):
2826 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2827 comint-filename-completion first (Bug#10417).
2828
30710442
RS
28292012-01-02 Richard Stallman <rms@gnu.org>
2830
2831 * battery.el (battery-status-function):
2832 Detect when to use battery-yeeloong-sysfs.
2833 (battery-echo-area-format): Add string for Yeeloong.
2834 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2835 (battery-yeeloong-sysfs): New function.
2836
f75bfc33
CY
28372012-01-02 Chong Yidong <cyd@gnu.org>
2838
2839 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2840 (dirtrack): Merge code for handling relative filenames in prompt
2841 from shell-dir-cookie-watcher.
2842 (dirtrack-debug-message): New arg to avoid excess format calls.
2843
2844 * shell.el (shell-dir-cookie-re): Variable deleted.
2845 (shell-dir-cookie-watcher): Function deleted.
2846 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2847 with dirtrack-mode.
2848
651e947e
EZ
28492012-01-01 Eli Zaretskii <eliz@gnu.org>
2850
1d00653d
SM
2851 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2852 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2853 libgnutls-26.dll.
2854
94d4c7dc
AS
28552011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2856
2857 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2858
8d43f3cd
EZ
28592011-12-31 Eli Zaretskii <eliz@gnu.org>
2860
2861 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2862 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2863
98c8795a
MA
28642011-12-29 Michael Albinus <michael.albinus@gmx.de>
2865
2866 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2867 also for alternative shells.
2868 (tramp-open-connection-setup-interactive-shell): Check, whether
2869 the shell is a busybox.
2870 (tramp-send-command): Don't suppress multiple prompts for
2871 busyboxes, it hurts.
2872
51281b32
CY
28732011-12-28 Chong Yidong <cyd@gnu.org>
2874
2875 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2876 (gdb-get-source-file): Move mode line update to
2877 gdb-get-source-file (Bug#10087).
2878
2170cb53
CY
28792011-12-25 Chong Yidong <cyd@gnu.org>
2880
2881 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2882 gud-gdb-marker-filter without taking it as an argument.
2883 (gud-gdb-run-command-fetch-lines): Caller changed.
2884 (gud-gdb-completion-function): New variable.
2885 (gud-gdb-completion-at-point): Use it.
2886 (gud-gdb-completions-1): Split from gud-gdb-completions.
2887
2888 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2889 function as separate arguments.
2890 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2891 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2892 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2893 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2894 (gdb-stopped, def-gdb-auto-update-trigger)
2895 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2896 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2897 Callers changed.
2170cb53
CY
2898 (gud-gdbmi-completions): New function.
2899 (gdb): Use it for generating the completion table.
2900
be8b11bb
AM
29012011-12-24 Alan Mackenzie <acm@muc.de>
2902
2903 Introduce a mechanism to widen the region used in context font
1d00653d 2904 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2905
1d00653d
SM
2906 * progmodes/cc-langs.el (c-before-font-lock-functions):
2907 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2908 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2909 functions to be run just before context (etc.) font locking.
2910
2911 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2912 New, functionality extracted from
be8b11bb 2913 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2914 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2915 (c-after-change): Set c-in-after-change-fontification.
2916 (c-set-fl-decl-start): Rejig its interface, so it can be called
2917 from both after-change and context fontifying.
b81d40f0
JB
2918 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2919 New functions.
2920 (c-standard-font-lock-fontify-region-function): New variable.
2921 (c-font-lock-fontify-region): New function.
be8b11bb 2922
341cf6ac
JL
29232011-12-24 Juri Linkov <juri@jurta.org>
2924
2925 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2926 (Bug#10348)
2927
bffcee0a
MA
29282011-12-23 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2931 existence of source file. (Bug#10325)
2932
cb5e207c
AM
29332011-12-23 Alan Mackenzie <acm@muc.de>
2934
2935 Fix unstable fontification inside templates.
2936
b81d40f0
JB
2937 * progmodes/cc-langs.el (c-before-font-lock-functions):
2938 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2939 additionally has c-set-fl-decl-start. The other languages (apart
2940 from AWK) have that as a single entry.
2941
b81d40f0
JB
2942 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2943 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2944 c-set-fl-decl-start.
2945
b81d40f0
JB
2946 * progmodes/cc-mode.el (c-common-init, c-after-change):
2947 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2948 (c-set-fl-decl-start): New function, extracted from
2949 c-font-lock-enclosing-decls and enhanced.
2950
60ff536c
JB
29512011-12-23 Juanma Barranquero <lekktu@gmail.com>
2952
2953 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2954
1c4757d6
JL
29552011-12-22 Juri Linkov <juri@jurta.org>
2956
2957 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2958
d031f2c7
CY
29592011-12-22 Chong Yidong <cyd@gnu.org>
2960
2961 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2962
bace743a
DA
29632011-12-21 Drew Adams <drew.adams@oracle.com>
2964
2965 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2966
728a1f2b
JC
29672011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2968
2969 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2970
0d373f73
TZ
29712011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2972
fec0aaa4
TZ
2973 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2974 highlighting and support. Fix up comments for capitalization.
2975 (cfengine-mode-debug): New var.
2976 (cfengine3-mode): Change the modeline indicator to "CFE3".
2977 (cfengine3-font-lock-keywords): Improve defun highlighting.
2978 (cfengine2-actions): Rename from `cfengine-actions'.
2979 (cfengine2-font-lock-keywords): Rename from
2980 `cfengine-font-lock-keywords'.
2981 (cfengine2-imenu-expression): Rename from
2982 `cfengine-imenu-expression'.
2983 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2984 (cfengine2-beginning-of-defun): Rename from
2985 `cfengine-beginning-of-defun'.
2986 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2987 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2988 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2989 modeline indicator to "CFE2".
2990 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2991 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2992
bc86f573
CY
29932011-12-21 Chong Yidong <cyd@gnu.org>
2994
2995 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2996 filename argument.
2997
d45ba96b
MR
29982011-12-20 Martin Rudalics <rudalics@gmx.at>
2999
3000 * window.el (window-normalize-buffer-to-display): Remove.
3001 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3002
a6198c90
CY
30032011-12-19 Chong Yidong <cyd@gnu.org>
3004
3005 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3006 Don't signal an error in a predicate function; return non-nil.
3007 (vc-dir-mark-file): Move the error here.
3008 (vc-dir-mark-unmark): If acting on the region, keep going if one
3009 of the entries cannot be marked/unmarked.
3010 (vc-dir-mark-all-files): If current entry is a directory, mark
3011 only child files, as documented.
3012
34c5fb55
VB
30132011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3014
3015 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3016 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3017 addition.
3018
c803b2b7
JD
30192011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3020
3021 * term/ns-win.el (ns-get-selection-internal)
3022 (ns-store-selection-internal): Declare.
1154d12e
JB
3023 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3024 Declare as obsolete.
3025 (ns-get-pasteboard, ns-paste-secondary):
3026 Use ns-get-selection-internal.
3027 (ns-set-pasteboard, ns-copy-including-secondary):
3028 Use ns-store-selection-internal.
c803b2b7 3029
9cff91f8 30302011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3031
3032 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3033 (vc-deduce-fileset): Doc fix.
99a289d9 3034
f16c898a
AS
30352011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3036
3037 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3038
763237c4
SS
30392011-12-13 Sam Steingold <sds@gnu.org>
3040
3041 * man.el (Man-getpage-in-background): When running under a
3042 window-system, ignore $MANWIDTH and $COLUMNS.
3043
5fc1c122
KH
30442011-12-15 Kenichi Handa <handa@m17n.org>
3045
3046 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3047 (setup-ethiopic-environment-internal): Comment out key-binding for
3048 ethio-toggle-punctuation.
3049
13d49cbb
AM
30502011-12-13 Alan Mackenzie <acm@muc.de>
3051
898169a2
AM
3052 Add the switch statement to AWK Mode.
3053
7a71b18d 3054 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3055 "default" to the keywords regexp.
3056
7a71b18d 3057 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3058 expression as the rest.
1d00653d
SM
3059 (c-nonlabel-token-key): Allow string literals for AWK.
3060 Refactor for the other modes.
898169a2 3061
13d49cbb 3062 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3063 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3064 routines. Limit backward searching in c-font-lock-enclosing.decl.
3065
3066 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3067 pp-state and literal type in addition to the limits.
1d00653d 3068 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3069 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3070 (c-slow-in-literal, c-fast-in-literal): Remove.
3071 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3072
3073 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3074 being in a literal. Add a limit for backward searching.
3075
3076 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3077 c-slow-in-literal.
3078
15e0efc7
SM
30792011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3082
454592a6
MR
30832011-12-13 Martin Rudalics <rudalics@gmx.at>
3084
3085 * window.el (delete-other-windows): Use correct frame in call to
3086 window-with-parameter.
3087
87393f26
DP
30882011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3089
3090 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3091 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3092 (makefile-gmake-statements, makefile-makepp-statements):
3093 Use it and add new makepp keywords.
3094 (makefile-makepp-font-lock-keywords): Add new patterns.
3095 (makefile-match-function-end): Match new [...] and [[...]].
3096
11636b22
JB
30972011-12-11 Juanma Barranquero <lekktu@gmail.com>
3098
3099 * ses.el (ses-call-printer-return, ses-cell-property-get)
3100 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3101 (ses-create-cell-variable, ses-reset-header-string)
3102 (ses-cell-set-formula, ses-repair-cell-reference-all)
3103 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3104 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3105 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3106 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3107 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3108 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3109 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3110 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3111 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3112 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3113 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3114 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3115
cf018193
VB
31162011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3117
3118 * ses.el: The overall change is to add cell renaming, that is
3119 setting fancy names for cell symbols other than name matching
3120 "\\`[A-Z]+[0-9]+\\'" regexp .
3121 (ses-create-cell-variable): New defun.
3122 (ses-relocate-formula): Relocate formulas only for cells the
3123 symbols of which are not renamed, i.e. symbols whose names do not
3124 match regexp "\\`[A-Z]+[0-9]+\\'".
3125 (ses-relocate-all): Relocate values only for cells the symbols of
3126 which are not renamed.
3127 (ses-load): Create cells variables as the (ses-cell ...) are read,
3128 in order to check row col consistency with cell symbol name only
3129 for cells that are not renamed.
3130 (ses-replace-name-in-formula): New defun.
3131 (ses-rename-cell): New defun.
3132
ee957461
CY
31332011-12-11 Chong Yidong <cyd@gnu.org>
3134
3135 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3136 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3137
9a9e9ef0
MR
31382011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3139
3140 * window.el (other-window): Fix docstring.
3141
92a8eba5
EZ
31422011-12-10 Eli Zaretskii <eliz@gnu.org>
3143
3144 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3145 `from' or `to' address before taking its substring.
3146 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3147 encoded name is chopped in the middle of the encoded string, and
3148 thus displayed encoded.
3149
e152e577
JB
31502011-12-10 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3153
e5d84bfe
EZ
31542011-12-10 Eli Zaretskii <eliz@gnu.org>
3155
3156 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3157 to use texinfo-update-node and commands that call it if the
3158 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3159 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3160 (texinfo-all-menus-update, texinfo-master-menu)
3161 (texinfo-update-node, texinfo-every-node-update)
3162 (texinfo-multiple-files-update): Doc fix. Warn against updating
3163 all the @node lines.
3164 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3165 argument is numeric. Explain better in the doc string what the
3166 function really does.
3167 (texinfo-insert-master-menu-list): Improve the error message
3168 displayed if there's no menu in the Top node.
3169 (Bug#2975) See also this thread:
e5d84bfe
EZ
3170 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3171
1d84e9bb
MG
31722011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3173
3174 * speedbar.el (speedbar-supported-extension-expressions):
3175 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3176
382c953b
JB
31772011-12-09 Juanma Barranquero <lekktu@gmail.com>
3178
3179 * printing.el (pr-mode-alist):
3180 * simple.el (filter-buffer-substring-functions)
3181 (completion-list-insert-choice-function):
3182 * window.el (window-with-parameter, window-atom-root)
3183 (window-sides-slots, window-size-fixed, window-min-delta)
3184 (window-max-delta, window--resize-mini-window)
3185 (window--resize-child-windows-normal, window-tree)
3186 (delete-other-windows, quit-window, split-window)
3187 (display-buffer-record-window, special-display-buffer-names)
3188 (special-display-regexps, special-display-popup-frame)
3189 (same-window-p, split-window-sensibly)
3190 (display-buffer-overriding-action, display-buffer-alist)
3191 (display-buffer-base-action, display-buffer, switch-to-buffer)
3192 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3193 (fit-window-to-buffer, recenter-positions)
3194 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3195 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3196 and remove unneeded backslashes in docstrings.
3197
39c9faef
SM
31982011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3199
98449af8
SM
3200 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3201
39c9faef
SM
3202 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3203 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3204 end in ".mk".
3205 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3206 when reading the makefile (bug#10116).
3207
86ed9fdc
SM
32082011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3211 (bug#10116).
3212
5580f89d
GM
32132011-12-06 Glenn Morris <rgm@gnu.org>
3214
3215 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3216
28d3917c
CY
32172011-12-06 Chong Yidong <cyd@gnu.org>
3218
3219 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3220
a98edce9
JB
32212011-12-06 Juanma Barranquero <lekktu@gmail.com>
3222
3223 * textmodes/table.el (table-shorten-cell): Fix typo.
3224
e65adfac
CG
32252011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3226
3227 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3228
71cc0b74
EZ
32292011-12-05 Eli Zaretskii <eliz@gnu.org>
3230
3231 * descr-text.el (describe-char): Fix display of strong
3232 right-to-left characters and directional embeddings and overrides.
3233
3234 * simple.el (what-cursor-position): Fix display of codepoints of
3235 strong right-to-left characters.
3236
315bc30d
CY
32372011-12-05 Chong Yidong <cyd@gnu.org>
3238
3239 * faces.el (read-color): Doc fix.
3240
58a70b94
GM
32412011-12-05 Glenn Morris <rgm@gnu.org>
3242
3243 * align.el (align--set-marker): Add doc-string.
3244 Don't try to move something that is not a marker. (Bug#10216)
3245
5158face
GM
32462011-12-04 Glenn Morris <rgm@gnu.org>
3247
3248 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3249 overly zealous deletion of trailing whitespace.
3250
520fca41
JB
32512011-12-04 Juanma Barranquero <lekktu@gmail.com>
3252
3253 * server.el (server-delete-client): On Windows, do not try to delete
3254 the only terminal.
3255 (server-process-filter): On Windows, treat requests for a tty frame as
3256 if they were for a GUI frame if the running server is in GUI mode.
3257
5e605a2e
GM
32582011-12-03 Glenn Morris <rgm@gnu.org>
3259
3260 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3261
5c3fe83f
SM
32622011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3263
6f5e57e7
SM
3264 * electric.el: Streamline electric-indent's hook.
3265 (electric-indent-chars): Revert to simple list.
3266 (electric-indent-functions): New var.
3267 (electric-indent-post-self-insert-function): Use it.
3268
5c3fe83f
SM
3269 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3270 there's no inferior buffer (bug#10196).
3271 (prolog-consult-compile): Don't use toggle-read-only.
3272
6bdac736
MA
32732011-12-02 Michael Albinus <michael.albinus@gmx.de>
3274
3275 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3276 interrupt. (Bug#10187)
3277
6131ba7f
SM
32782011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3279
99c79fee
SM
3280 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3281 (bug#9160).
3282
6131ba7f
SM
3283 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3284 (bug#10191).
3285
cb0a02ea
JL
32862011-12-02 Juri Linkov <juri@jurta.org>
3287
3288 * info.el (Info-search): Display "end of manual" when Isearch
3289 reaches the end of single-file Info manual. (Bug#9918)
3290
66e0570c
EZ
32912011-12-02 Eli Zaretskii <eliz@gnu.org>
3292
3293 * isearch.el (isearch-message-prefix): Run the input method part
3294 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3295
02b16839
JL
32962011-12-02 Juri Linkov <juri@jurta.org>
3297
3298 * isearch.el (isearch-occur): Use `word-search-regexp' for
3299 `isearch-word'.
3300 (isearch-search-and-update): Add condition for `isearch-word' and
3301 call `word-search-regexp'. (Bug#10145)
3302
0b950688
GM
33032011-12-01 Glenn Morris <rgm@gnu.org>
3304
3305 * eshell/em-hist.el (eshell-hist-initialize):
3306 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3307 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3308
9505c3c7
SM
33092011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3312
1bbe96b2 33132011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3314
a1beca85
SM
3315 * progmodes/verilog-mode.el (verilog-pretty-expr):
3316 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3317 verilog, such as += *= and the like.
3318 (verilog-assignment-operator-re): Regular expression to find the
3319 assigment operator in a verilog assignment.
3320 (verilog-assignment-operation-re): Regular expression to find an
3321 assignment statement for pretty-expr.
3322 (verilog-in-attribute-p): Query returns true if point is in an
3323 attribute context; used to skip these for expression line up from
3324 pretty-expr.
3325 (verilog-in-parameter-p): Query returns true if point is in an
3326 parameter definition context; used to skip these for expression
3327 line up from pretty-expr.
3328 (verilog-in-parenthesis-p): Query returns true if point is in a
3329 parenthetical expression, specifically ( ) but not [ ] or { };
3330 used by pretty-expr.
3331 (verilog-just-one-space): If there is no space, don't add one.
3332 (verilog-get-lineup-indent-2): Specifically skip just attribute
3333 contexts for expression lineup, rather than skipping all
3334 parenthetical expressions.
3335 (verilog-calculate-indent): Fix comment, and fix indent.
3336 (verilog-do-indent): Indent declarations in lists (suggested by
3337 Joachim Lechner).
3338 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3339 skeleton items.
3340 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3341 by Alain Mellan).
3342
1bbe96b2 33432011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3344
3345 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3346 parameters with embedded comments. Reported by Ray Stevens.
3347 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3348 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3349 Reported by Tim Holt.
3350 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3351 instantiated by upper module causing wrong expansion until AUTOed a
3352 second time. Reported by K C Buckenmaier.
3353 (verilog-diff-auto): Fix showing .* as a difference when
3354 `verilog-auto-star-save' off. Reported by Dan Dever.
3355 (verilog-auto-reset, verilog-read-always-signals)
3356 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3357 temporary signals in reset list if
3358 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3359 style to each signal's assignment type, bug381.
3360 Reported by Thomas Esposito.
6288f0ca
WS
3361 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3362 (verilog-uvm-statement-re): Support UVM indentation and
3363 highlighting, with old OVM keywords only.
a1beca85 3364 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3365 Support AUTOTIEOFF creating non-wire data types.
3366 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3367 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3368 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3369 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3370 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3371 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3372 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3373 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3374 non-numeric vector width. Reported by Alex Reed.
3375 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3376 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3377 (verilog-auto-delete-trailing-whitespace):
3378 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3379 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3380 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3381 Fix verilog-scan-cache corruption when running user AUTO expansion
3382 hooks that call indentation routines.
3383 (verilog-simplify-range-expression): Fix typo ignoring lower case
3384 identifiers.
3385 (verilog-delete-auto): Fix delete-autos to also remove user created
3386 automatics, as long as they start with AUTO.
3387 (verilog-batch-diff-auto, verilog-diff-auto)
3388 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3389 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3390 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3391 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3392 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3393 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3394 is disabled and its cache will get corrupt, causing AUTOS not to
3395 expand. Instead use only -quick functions.
3396 (verilog-scan-region): Fix scanning over escaped quotes.
3397 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3398 (verilog-re-search-backward-quick)
3399 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3400 related functions now ignore strings, to fix misparsing of strings
3401 with magic comments embedded in them.
a1beca85
SM
3402 (verilog-read-auto-template):
3403 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3404 Reported by Brad Dobbie.
3405 (verilog-read-auto-template):
3406 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3407 Reported by Brad Dobbie.
6288f0ca
WS
3408 (verilog-auto-inst, verilog-auto-inst-param)
3409 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3410 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3411 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3412 debugging templates without merge conflicts, bug357.
3413 Reported by Brad Dobbie.
3414 (verilog-read-auto-template):
3415 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3416 Reported by Brad Dobbie.
3417 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3418 abbrevs so user won't be asked to save.
3419 (verilog-read-auto-lisp-present): Fix to start at beginning of
3420 buffer in case called outside of verilog-auto.
3421 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3422 to "X-2". Reported by Matthew Myers.
3423 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3424 all inputs from module templates. Reported by Leith Johnson.
3425 (verilog-module-inside-filename-p): Fix locating programs as with
3426 modules.
3427 (verilog-auto-inst-port): Fix vl-width expressions when using
3428 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3429 (verilog-decls-get-regs, verilog-decls-get-signals,
3430 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3431 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3432 verilog-read-decls): Combine reg and wire structures into one var
3433 structure to represent SystemVerilog concepts.
3434 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3435 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3436 (verilog-auto-wire-type, verilog-insert-definition):
3437 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3438 SystemVerilog "logic" keyword instead of "wire"/"reg".
3439 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3440 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3441 ifdef or generate if so there's not a driver conflict).
3442 Reported by Matthew Myers.
3443 (verilog-auto-declare-nettype, verilog-insert-definition):
3444 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3445 `default_nettype none. Reported by Julian Gorfajn.
3446 (verilog-read-always-signals-recurse, verilog-read-decls)
3447 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3448 malformed end statement, bug325. Reported by Joshua Wise and
3449 Andrew Drake.
3450 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3451 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3452 when expanding .* in interfaces, bug320.
3453 Reported by Pierre-David Pfister.
6288f0ca 3454 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3455 name and open parenthesis, bug317.
3456 Reported by Pierre-David Pfister.
6288f0ca
WS
3457 (verilog-simplify-range-expression): Fix simplification of
3458 multiplications inside AUTOWIRE connections, bug303.
3459 (verilog-auto-inst-port): Support parameter expansion in
3460 multidimensional arrays.
3461 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3462 after "assert property". Reported by Julian Gorfajn.
3463 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3464 with multiplication, bug303.
3465 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3466 Reported by Jan Frode Lonnum.
3467
1bbe96b2
GM
34682011-11-30 Juanma Barranquero <lekktu@gmail.com>
3469
3470 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3471 (hfy-shell-file-name, hfy-shell):
3472 * international/fontset.el (x-decompose-font-name): Fix typos.
3473
34742011-11-29 Ken Brown <kbrown@cornell.edu>
3475
3476 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3477 (gdb-version): Remove defvar.
3478 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3479 (gdb-gud-context-command, gdb-non-stop-handler)
3480 (gdb-current-context-command, gdb-stopped): Use it.
3481 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3482 (gdb-non-stop-handler): Don't enable pretty-printing here.
3483 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3484 non-stop mode. Use the following.
3485 (gdb-check-target-async): New defun.
3486 (gud-watch, gdb-stopped): Fix whitespace.
3487 (gdb-get-source-file): Don't try to display the source file if
3488 `gdb-main-file' is nil.
3489
34902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * align.el: Try to generate fewer markers (bug#10047).
3493 (align--set-marker): New macro.
3494 (align-region): Use it.
3495
c935221f
SM
34962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3499
e70b5064
CY
35002011-11-29 Chong Yidong <cyd@gnu.org>
3501
3502 * indent.el (indent-for-tab-command, indent-according-to-mode):
3503 Doc fix.
3504 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3505
f3af92b7
MA
35062011-11-29 Michael Albinus <michael.albinus@gmx.de>
3507
3508 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3509 aware of remote file names. (Bug#10124)
3510
ed472be9
CY
35112011-11-29 Chong Yidong <cyd@gnu.org>
3512
3513 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3514
24510c22
SM
35152011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * files.el (find-file): Don't use force-same-window (bug#10144).
3518 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3519 use pop-to-buffer if the selected window can't be used.
3520 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3521
c60c3703
EZ
35222011-11-28 Eli Zaretskii <eliz@gnu.org>
3523
3524 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3525 special-mode-map.
3526
e95def75
CY
35272011-11-28 Chong Yidong <cyd@gnu.org>
3528
3529 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3530
c3f1c606
NR
35312011-11-27 Nick Roberts <nickrob@snap.net.nz>
3532
3533 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3534 gdb-get-source-file-list on gdb-create-source-file-list.
3535
00db469c
EZ
35362011-11-26 Eli Zaretskii <eliz@gnu.org>
3537
3538 * whitespace.el (whitespace-newline): Use a different foreground
3539 color for 16-color light-background displays.
3540
4ad3bc2a
CY
35412011-11-24 Chong Yidong <cyd@gnu.org>
3542
3543 * window.el (display-buffer--special-action): Doc fix.
3544
e9fce1ac
JB
35452011-11-25 Juanma Barranquero <lekktu@gmail.com>
3546
3547 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3548 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3549 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3550 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3551 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3552 (avl-tree-stack-first):
3553 * emacs-lisp/cconv.el (cconv--analyse-use):
3554 * net/gnutls.el (gnutls-negotiate): Fix typos.
3555
cb825e5d
GM
35562011-11-24 Glenn Morris <rgm@gnu.org>
3557
3adbe224
GM
3558 * lpr.el (lpr-windows-system, lpr-lp-system):
3559 * mail/binhex.el (binhex-begin-line):
3560 * progmodes/grep.el (grep-history, grep-find-history):
3561 * textmodes/flyspell.el:
3562 * vc/pcvs-defs.el (cvs-global-menu):
3563 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3564 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3565 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3566
321decc8
GM
3567 * net/tls.el: Fix case of "GnuTLS".
3568
420b63ad
GM
3569 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3570
cb825e5d
GM
3571 * version.el (emacs-build-system): Give it a doc-string.
3572
a0649f08
JL
35732011-11-24 Juri Linkov <juri@jurta.org>
3574
3575 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3576
c0bc0fd4
GM
35772011-11-24 Glenn Morris <rgm@gnu.org>
3578
3579 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3580 if called on a non-mime message just toggle the headers. (Bug#8006)
3581
20db1522
JB
35822011-11-24 Juanma Barranquero <lekktu@gmail.com>
3583
3584 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3585 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3586 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3587 (allout-rebullet-heading, allout-open-sibtopic)
3588 (allout-toggle-current-subtree-encryption)
3589 (allout-toggle-subtree-encryption, allout-encrypt-string)
3590 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3591 (allout-distinctive-bullets-string, allout-auto-activation):
3592 * window.el (window-normalize-buffer-to-display):
3593 * progmodes/verilog-mode.el (verilog-batch-indent):
3594 * textmodes/bibtex.el (bibtex-field-braces-opt)
3595 (bibtex-field-strings-opt):
3596 * vc/cvs-status.el (cvs-tree-merge):
3597 Fix typos.
3598
7262a87c
MA
35992011-11-23 Michael Albinus <michael.albinus@gmx.de>
3600
3601 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3602 `non-essential' to t, in order to avoid remote connections.
3603
283430a1
EZ
36042011-11-23 Eli Zaretskii <eliz@gnu.org>
3605
a1beca85
SM
3606 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3607 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3608 case-insensitively.
3609
d2992a38
ML
36102011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3611
3612 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3613
50419064
GM
36142011-11-23 Glenn Morris <rgm@gnu.org>
3615
da94eca1
GM
3616 * paths.el (rmail-file-name): Reformat the doc-string so that it
3617 is picked up.
3618
9aac4de2
GM
3619 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3620 (rmail-auto-file): Ignore case in the "special" field names,
3621 as mail-fetch-field does for all others.
3622
8038d2d2
GM
3623 * mail/rmail.el (rmail-forward):
3624 * mail/rmailkwd.el (rmail-set-label):
3625 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3626 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3627
f3fe222a
GM
3628 * mail/rmail.el (rmail-current-message): Doc fix.
3629
50419064
GM
3630 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3631
28109f49
SM
36322011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3635
394c65f1
GM
36362011-11-22 Glenn Morris <rgm@gnu.org>
3637
3638 * mail/rmailmm.el (test-rmail-mime-handler)
3639 (test-rmail-mime-bulk-handler)
3640 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3641
f2a0aa3a
JL
36422011-11-21 Juri Linkov <juri@jurta.org>
3643
1154d12e
JB
3644 * calc/calc.el (calc-read-key-sequence):
3645 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3646
9c34a344
LMI
36472011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3648
3649 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3650 Tell the caller that the next line needs recomputation, even
3651 though it doesn't start a sexp (bug#10094).
3652
f04a3be9
SM
36532011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3656
7978747f
SM
36572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3658
f04a3be9
SM
3659 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3660 Use force-same-window.
7978747f 3661
fe7a3057
JB
36622011-11-20 Juanma Barranquero <lekktu@gmail.com>
3663
3664 * descr-text.el (describe-char-unicode-data):
3665 * json.el (json-string-escape):
3666 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3667 (Footnote-unicode, Footnote-style-p):
3668 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3669
24901d61
CY
36702011-11-20 Chong Yidong <cyd@gnu.org>
3671
3672 * window.el (replace-buffer-in-windows): Restore interactive spec.
3673
bac7ff22
SM
36742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3675
24f3d7b9
SM
3676 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3677
bac7ff22
SM
3678 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3679 (byte-compile-global-not-obsolete-vars): New var.
3680 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3681 Use it.
3682 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3683
cd1181db
JB
36842011-11-20 Juanma Barranquero <lekktu@gmail.com>
3685
3686 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3687 * progmodes/pascal.el (electric-pascal-equal):
3688 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3689 * xml.el (xml-substitute-special): Fix typos.
3690
7fb18e9e
GM
36912011-11-20 Glenn Morris <rgm@gnu.org>
3692
3693 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3694 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3695 Doc fixes.
3696 (rmail-decode-mime-charset): Mark as obsolete.
3697
3698 * mail/rmailsum.el (rmail-message-regexp-p-1):
3699 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3700 Before using mime functions, check they are set. (Bug#10077)
3701
d5a6b3ba
JL
37022011-11-19 Juri Linkov <juri@jurta.org>
3703
3704 * info.el (Info-finder-find-node): Use `package--builtins' instead
3705 of `package-alist'. Use node names formed by the pattern "Keyword "
3706 and the keyword name.
3707
e981b61f
AS
37082011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3709
1d00653d 3710 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3711
3ffbc301
JL
37122011-11-19 Juri Linkov <juri@jurta.org>
3713
3714 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3715 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3716 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3717 `old-history', `old-history-forward'. Add let-binding
3718 `window-selected'. Remove calls to `kill-buffer',
3719 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3720 before calling `Info-find-node', so `Info-find-node-2' will reread
3721 the Info file. Restore window positions only when `window-selected'
3722 is non-nil.
3723
30c62133
JL
37242011-11-19 Juri Linkov <juri@jurta.org>
3725
3726 * isearch.el (isearch-lazy-highlight-new-loop):
3727 Remove condition `(not isearch-error)'. (Bug#9918)
3728
3729 * misearch.el (multi-isearch-search-fun): Add condition
3730 `(not bound)' to ignore lazy-highlighting search.
3731 Add the search-failed message "end of multi" when the end of
3732 multi-sequence is reached. Uncapitalize the search-failed
3733 message "Repeat for next buffer".
3734
3735 * info.el (Info-search): Add the search-failed message
3736 "end of the manual" when the end of the manual is reached
3737 in Isearch mode.
3738
645ca9cf
JL
37392011-11-19 Juri Linkov <juri@jurta.org>
3740
3741 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3742 Use non-destructive `remove' instead of `delete' because
3743 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3744 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3745
df754f66
JL
37462011-11-19 Juri Linkov <juri@jurta.org>
3747
3748 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3749 to nil instead of binding `search-ring' and `regexp-search-ring'.
3750 (Bug#9185)
3751
0e23d96a
EZ
37522011-11-19 Eli Zaretskii <eliz@gnu.org>
3753
3754 * simple.el (line-move): Force movement by logical lines for any
3755 hscrolled window, not only when auto-hscroll-mode is on.
3756 (line-move-visual): Update doc string to that effect. (Bug#10076)
3757
8a6ccb66
AS
37582011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3759
3760 * language/european.el (macintosh): Define as alias for mac-roman.
3761
49ae5b39
EZ
37622011-11-19 Eli Zaretskii <eliz@gnu.org>
3763
3764 * mail/rmailmm.el (rmail-mime-display-header)
3765 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3766 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3767 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3768 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3769 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3770 of a raw aref.
3771 (rmail-mime-entity-segment): To get past the tagline, move forward
3772 2 more lines, to account for the 2 empty lines that precede and
3773 follow the line with the buttons.
3774 (rmail-mime-update-tagline): Move one more line, to get past the
3775 empty line that follows the buttons in the tagline. (Bug#9520)
3776
c56cad4a
MR
37772011-11-19 Martin Rudalics <rudalics@gmx.at>
3778
3779 * window.el (window-max-delta-1, window-min-delta-1)
3780 (window-min-size-1, window-state-get-1, window-state-put-1)
3781 (window-state-put-2): Use "window--" prefix.
3782
cbe71af3
SM
37832011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3784
2ad52c60
SM
3785 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3786 (smie-warning-count): New var.
3787 (smie-set-prec2tab): Use it.
3788 (smie-bnf->prec2): Improve warnings. Add docstring.
3789 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3790 (smie-bnf--set-class): New function.
3791 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3792 corner case.
3793
6944dbc1
SM
3794 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3795 (compilation-error-properties, compilation-move-to-column):
3796 Handle compilation-first-column while in the target buffer.
3797
c400c4d7
SM
3798 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3799 Don't hardcode point-min==1.
3800
6dbe3e96
SM
3801 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3802 (eshell-rewrite-for-command): Remove workaround.
3803 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3804 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3805 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3806
cbe71af3
SM
3807 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3808
a8e1496d
GM
38092011-11-17 Glenn Morris <rgm@gnu.org>
3810
3811 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3812 Ignore buffer-local generated-autoload-file if it is the same
3813 as the global value. (Bug#10049)
3814
df85d315
JB
38152011-11-17 Juanma Barranquero <lekktu@gmail.com>
3816
3817 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3818 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3819 (reftex-toc-previous-heading, reftex-toc-max-level)
3820 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3821 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3822 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3823 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3824 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3825 (reftex-toc-rename-label, reftex-toc-visit-location)
3826 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3827 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3828 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3829 leaving "*toc*" only for references to the buffer.
3830
a0c2d0ae
MR
38312011-11-17 Martin Rudalics <rudalics@gmx.at>
3832
3833 * window.el (window-resize, delete-window, split-window):
3834 Replace window-splits by window-combination-resize.
1d00653d 3835 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3836
35c0bac8
GM
38372011-11-17 Glenn Morris <rgm@gnu.org>
3838
3839 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3840 Make bash entry derive from sh entry, not shell entry.
3841
d0c8fc8a
MA
38422011-11-16 Michael Albinus <michael.albinus@gmx.de>
3843
d0c8fc8a
MA
3844 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3845 properties of linked files. (Bug#9879)
3846
7262a87c
MA
3847 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3848 local file name.
3849
7877f373
JB
38502011-11-16 Juanma Barranquero <lekktu@gmail.com>
3851
3852 * menu-bar.el (menu-bar-file-menu):
3853 * printing.el (pr-ps-utility):
3854 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3855 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3856 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3857 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3858 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3859 (icalendar--convert-cyclic-to-ical)
3860 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3861 (icalendar--convert-ical-to-diary)
3862 (icalendar--convert-recurring-to-diary)
3863 (icalendar--convert-non-recurring-all-day-to-diary)
3864 (icalendar-import-format-sample):
3865 * progmodes/idlw-shell.el (idlwave-shell-mode):
3866 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3867 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3868 (vhdl-ps-print-init): Fix typos.
3869
10649b82
KM
38702011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3871
9d0cfcd6
GM
3872 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3873 FSF and collapse date sequence, obscure author/maintainer email address
3874 better, remove extra version line, track relocation of author's webpage.
10649b82 3875
9d0cfcd6
GM
3876 * progmodes/python.el (python-pdbtrack-input-prompt)
3877 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3878 regular python pdb prompts. Adjustments shamelessly taken exactly as
3879 suggested in EmacsWiki page (tiny change):
3880 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3881
58179cce
JB
38822011-11-16 Juanma Barranquero <lekktu@gmail.com>
3883
3884 * expand.el (expand-pos, expand-index, expand-point):
3885 Remove redundant info from docstring.
3886 (expand-add-abbrevs): Doc fix.
3887 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3888 (expand-sample-perl-mode-expand-list): Fix typos.
3889
3890 * net/dbus.el (dbus-event-member-name):
3891 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3892 * term/pc-win.el (msdos-create-frame-with-faces):
3893 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3894
b6f67890
MR
38952011-11-16 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (split-window, window-state-get-1)
3898 (window-state-put-1, window-state-put-2): Rename occurrences of
3899 window-nest to window-combination-limit.
1d00653d 3900 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3901
ce7ddba0
CY
39022011-11-16 Chong Yidong <cyd@gnu.org>
3903
3904 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3905 regexp (Bug#10033).
3906
3ae704f4
SM
39072011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3910 `completing-read' will remove *Completions* and will preserve
3911 current-buffer for us.
3912 (tmm-add-prompt): Users of *Completions* will always (re)set its
3913 major mode.
3914 (tmm-old-comp-map): Remove.
3915
6ad1cdde
GM
39162011-11-16 Glenn Morris <rgm@gnu.org>
3917
3918 * mail/rmailedit.el: Require rmailmm when compiling.
3919 (rmail-old-mime-state): New declaration.
3920 (rmail-edit-current-message): If editing a mime message,
3921 edit the "raw" message from the mbox buffer.
3922 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3923
d20faa20
GM
39242011-11-15 Glenn Morris <rgm@gnu.org>
3925
3926 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3927 which wasn't being used. Add optional arg to force given state.
3928 (rmail-mime): Add optional arg to force given state.
3929
c7015153
JB
39302011-11-15 Juanma Barranquero <lekktu@gmail.com>
3931
3932 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3933 * frame.el (display-mm-dimensions-alist):
3934 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3935 (outline-move-subtree-down):
3936 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3937 (newsticker--treeview-do-get-node):
3938 * net/quickurl.el (quickurl-list-buffer-name):
3939 * progmodes/dcl-mode.el (dcl-mode):
3940 * progmodes/gdb-mi.el (gdb-mapcar*):
3941 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3942
45261b50
GM
39432011-11-15 Glenn Morris <rgm@gnu.org>
3944
3945 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3946 in a boolean sense, so just make it a boolean, and fix the doc.
3947 (rmail-show-mime-function, rmail-mime-feature)
3948 (rmail-require-mime-maybe): Doc fixes.
3949 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3950
3951 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3952
0d26e0b6
JB
39532011-11-15 Juanma Barranquero <lekktu@gmail.com>
3954
3955 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3956 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3957 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3958 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3959
447f30f6
GM
39602011-11-15 Glenn Morris <rgm@gnu.org>
3961
672b871d
GM
3962 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3963 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3964 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3965 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3966 (rmail-mime, rmail-show-mime): Doc fixes.
3967
f6aa5bb1
GM
3968 * term/ns-win.el (mode-line-frame-identification):
3969 Leave it alone. (Bug#10051)
3970
947cd66b
GM
3971 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3972
447f30f6
GM
3973 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3974 Handle empty buffers. (Bug#9978)
3975
0b381c7e
JB
39762011-11-14 Juanma Barranquero <lekktu@gmail.com>
3977
3978 * international/mule.el (define-charset):
3979 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3980 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3981 * progmodes/verilog-mode.el (verilog-backward-token):
3982 * textmodes/ispell.el (lookup-words):
3983 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3984
71e027ac
GM
39852011-11-14 Glenn Morris <rgm@gnu.org>
3986
56632ce4
GM
3987 * progmodes/executable.el
3988 (executable-make-buffer-file-executable-if-script-p):
3989 Handle file-modes returning nil.
3990
40500957
GM
3991 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3992 message - not necessary, and causes problems. (Bug#9831)
3993
071c2340
GM
3994 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3995
d3cfca60
GM
3996 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3997
71e027ac
GM
3998 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3999 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4000 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4001
89d61221
MR
40022011-11-12 Martin Rudalics <rudalics@gmx.at>
4003
4004 * window.el (window-resize, delete-window): Use window-splits
4005 variable instead of function.
4006 (window-state-get-1, window-state-put-2, window-state-put):
4007 Don't deal with windows' splits status.
4008
98282f6f
GM
40092011-11-12 Glenn Morris <rgm@gnu.org>
4010
4011 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4012 (apropos-documentation): Doc fixes.
4013
40a8bdf6
JB
40142011-11-11 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4017 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4018
65bd19ff
SM
40192011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4020
4021 * electric.el (electric-indent-post-self-insert-function): Make it
4022 possible for a char to only indent in some circumstances.
4023 (electric-indent-mode): Simplify.
4024
54f9154c
MR
40252011-11-11 Martin Rudalics <rudalics@gmx.at>
4026
4027 * window.el (windows-with-parameter): Remove unused function.
4028 (windows-at-side): Rename to window-at-side-list.
4029 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4030 (window-side-check, window-size-ignore, window-size-fixed-1)
4031 (window-in-direction-2): Prefix with "window--".
4032 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4033
68cbc58b
GM
40342011-11-11 Glenn Morris <rgm@gnu.org>
4035
4036 * subr.el (eval-after-load): If FILE is already loaded,
4037 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4038
b2621720
GM
40392011-11-10 Glenn Morris <rgm@gnu.org>
4040
9a4de110
GM
4041 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4042 Call svn via vc-svn-command rather than vc-do-command.
4043 (vc-svn-command): Add --non-interactive. (Bug#9993)
4044 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4045
b2621720
GM
4046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4047 Add toggle-read-only. (Bug#7292)
4048 * files.el (toggle-read-only): Mention that it should only
4049 be used interactively. (Bug#10006)
4050
1dce7193
SM
40512011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4052
d9ac1a1e
SM
4053 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4054 Adjust regexp for OCaml warnings.
4055
0c325082
SM
4056 * electric.el (electric-pair-post-self-insert-function): Let user
4057 turn it off buffer-locally (bug#9932).
4058
90132c14
SM
4059 * progmodes/python.el (python-beginning-of-statement):
4060 Rewrite (bug#2703).
4061
1dce7193
SM
4062 * progmodes/compile.el: Better handle TABs (bug#9749).
4063 (compilation-internal-error-properties)
4064 (compilation-next-error-function): Obey the target buffer's
4065 compilation-error-screen-columns.
4066
c4e7c63a
JB
40672011-11-09 Juanma Barranquero <lekktu@gmail.com>
4068
4069 * progmodes/meta-mode.el: Remove obsolete comments.
4070 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4071 Fix typos in docstrings.
4072
2cffd681
MR
40732011-11-09 Martin Rudalics <rudalics@gmx.at>
4074
4075 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4076 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4077 (window--resizable): New function. Make all callers of
4078 window-resizable call window--resizable instead.
4079 (window-resizable): Rewrite in terms of window--resizable.
4080
0edcba87
GM
40812011-11-08 Glenn Morris <rgm@gnu.org>
4082
4083 * progmodes/delphi.el (delphi-mode-syntax-table):
4084 Let define-derived-mode define a proper syntax table. (Bug#9994)
4085
4b0d61e3
SM
40862011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * window.el: Stay away from defsubst.
4089 (window-list-no-nils): Remove.
4090 (window-state-get-1, window-state-get): Use backquote instead.
4091
cd394be1 40922011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4093
4b0d61e3 4094 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4095 Fix incorrect use of default argument in `completing-read'.
4096
e1c2c6f2
MR
40972011-11-08 Martin Rudalics <rudalics@gmx.at>
4098
4099 * window.el (display-buffer-function, special-display-function):
4100 Mention display-buffer-record-window but do not mention
4101 help-setup parameter in doc-strings.
b3f4a882 4102 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4103
105216ed
CY
41042011-11-08 Chong Yidong <cyd@gnu.org>
4105
4106 * window.el (window-total-height, window-total-width): Doc fix.
4107 (window-body-size): Move from C.
4108 (window-body-height, window-body-width): Move to C.
4109
0a9f9ab5
SM
41102011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * window.el: Make special-display like display-buffer-alist (bug#9532).
4113 (display-buffer--special-action): New function, morphed
4114 from display-buffer--special.
4115 (display-buffer): Use it to handle special-display-buffers at higher
4116 priority (just after display-buffer-alist).
4117 (display-buffer-fallback-action, display-buffer--other-frame-action)
4118 (pop-to-buffer-same-window): Remove display-buffer--special.
4119
a769dd15
GM
41202011-11-07 Glenn Morris <rgm@gnu.org>
4121
4122 * calendar/cal-menu.el (cal-menu-set-date-title):
4123 Do nothing if not in a calendar. (Bug#9976)
4124
05a61ee3
SM
41252011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * files.el (find-file): Always use selected-window.
4128
be7f5545
MR
41292011-11-07 Martin Rudalics <rudalics@gmx.at>
4130
4131 * window.el (window-combinations): Make WINDOW argument
4132 mandatory. Rewrite doc-string.
4133 (walk-window-subtree, window-atom-check, window-min-delta)
4134 (window-max-delta, window--resize-this-window)
4135 (window--resize-root-window-vertically, window-tree)
4136 (balance-windows, window-state-put): Rewrite doc-strings as to
4137 not mention the term "subwindow".
4138 (window--resize-subwindows-skip-p): Rename to
4139 window--resize-child-windows-skip-p.
4140 (window--resize-subwindows-normal): Rename to
4141 window--resize-child-windows-normal.
4142 (window--resize-subwindows): Rename to
4143 window--resize-child-windows.
4144 (window-or-subwindow-p): Rename to window--in-subtree-p.
4145
3c6702ef
ML
41462011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4147
4148 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4149 Ensure that mbox format messages end in two newlines (Bug#9974).
4150
49745b39
CY
41512011-11-06 Chong Yidong <cyd@gnu.org>
4152
4153 * window.el (window-combination-p): Function deleted; its
4154 side-effect is not used in any existing code.
4155 (window-combinations, window-combined-p): Call window-*-child
4156 directly.
4157
24300f5f
CY
41582011-11-05 Chong Yidong <cyd@gnu.org>
4159
4160 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4161 (window-size-ignore, window-state-get): Callers changed.
4162 (window-normalize-window): Rename from window-normalize-any-window.
4163 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4164 (window-normalize-live-window): Delete.
447f16b8
CY
4165 (window-combination-p, window-combined-p, window-combinations)
4166 (walk-window-subtree, window-atom-root, window-min-size)
4167 (window-sizable, window-sizable-p, window-size-fixed-p)
4168 (window-min-delta, window-max-delta, window-resizable)
4169 (window-resizable-p, window-full-height-p, window-full-width-p)
4170 (window-current-scroll-bars, window-point-1, set-window-point-1)
4171 (window-at-side-p, window-in-direction, window-resize)
4172 (adjust-window-trailing-edge, maximize-window, minimize-window)
4173 (window-deletable-p, delete-window, delete-other-windows)
4174 (record-window-buffer, unrecord-window-buffer)
4175 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4176 (quit-window, split-window, window-state-put)
4177 (set-window-text-height, fit-window-to-buffer)
4178 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4179
89bd5ee1
EZ
41802011-11-04 Eli Zaretskii <eliz@gnu.org>
4181
53479029
EZ
4182 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4183 rfc2047-decode-string.
4184 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4185 warnings.
4186
89bd5ee1
EZ
4187 * window.el (window-body-height, window-body-width): Mention in
4188 the doc string that the return values are in frame's canonical
4189 units. (Bug#9949)
4190
bd17fdee
AM
41912011-11-03 Alan Mackenzie <acm@muc.de>
4192
4193 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4194 change in cc-engine.el.
4195
acc825c5
SM
41962011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4199
1885e5b8
MR
42002011-11-02 Martin Rudalics <rudalics@gmx.at>
4201
4202 * window.el (quit-window): Call unrecord-window-buffer after
4203 showing another buffer in the window. (Bug#9937)
acc825c5 4204 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4205
ebe06da9
JB
42062011-11-02 Juanma Barranquero <lekktu@gmail.com>
4207
4208 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4209 Accept status with more than 9 shelves. (Bug#9935)
4210 Reported by Colin D Bennett <colin@gibibit.com>.
4211
4ee88440
MR
42122011-11-01 Martin Rudalics <rudalics@gmx.at>
4213
4214 * help.el (with-help-window): Don't reference
4215 temp-buffer-show-specifiers in doc-string.
4216
08e1d82c
AS
42172011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4218
4219 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4220 menu-item.
4221
84bd6e9e
VJL
42222011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4223
4224 * whitespace.el: New version 13.2.2.
4225 (whitespace-newline-mode): Disable properly. Reported by Sarah
4226 <EmacsWiki>.
4227
dba0634a
UJ
42282011-10-30 Ulf Jasper <ulf.jasper@web.de>
4229
4230 * net/newst-treeview.el: Remove "Time-stamp".
4231 (newsticker--group-manage-orphan-feeds): Do not call
4232 newsticker--treeview-tree-update.
db22a3c2
JB
4233 (newsticker-treeview-update, newsticker-treeview):
4234 Call newsticker--treeview-tree-update if necessary.
dba0634a 4235
3d8daefe
MR
42362011-10-30 Martin Rudalics <rudalics@gmx.at>
4237
4238 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4239 (window-iso-combinations): Remove "iso-" infix.
4240 Suggested by Chong Yidong.
3d8daefe
MR
4241 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4242 (window-max-delta-1, window-resize, window--resize-siblings)
4243 (window--resize-this-window, adjust-window-trailing-edge)
4244 (split-window, balance-windows-1)
4245 (shrink-window-if-larger-than-buffer):
4246 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4247 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4248
1bc4c3ae
SM
42492011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4252 in place (bug#9907).
4253 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4254 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4255 (eshell-structure-basic-command, eshell-rewrite-while-command)
4256 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4257 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4258 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4259 (eshell-do-pipelines-synchronously, eshell-eval-command):
4260 Use backquotes and prefer setq to set.
4261 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4262 (eshell-macrop): Use functionp.
c1e2f5fa 4263 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4264
30b65d9c
CY
42652011-10-30 Chong Yidong <cyd@gnu.org>
4266
4267 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4268 instead of set-mark (Bug#9810).
4269
2d197ffb
CY
42702011-10-30 Chong Yidong <cyd@gnu.org>
4271
4272 * window.el (split-window-below, split-window-right): Rename from
4273 split-window-above-each-other and split-window-side-by-side
4274 respectively. All callers changed.
4275 (split-window-sensibly, split-window-sensibly): Use them.
4276 (split-window-keep-point): Doc fix.
4277
4278 * isearch.el: Add isearch-scroll property to split-window-below
4279 and split-window-right.
4280
4281 * follow.el (follow-mode):
4282 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4283 * progmodes/ada-xref.el (ada-gdb-application):
4284 * emulation/vip.el (vip-buffer-in-two-windows):
4285 * image-dired.el (image-dired-dired-with-window-configuration):
4286 * dired-x.el (dired-do-find-marked-files):
4287 * dired.el (dired-pop-to-buffer):
4288 * bs.el (bs--show-with-configuration):
4289 * vc/emerge.el (emerge-setup-windows):
4290 * textmodes/two-column.el (2C-two-columns):
4291 * textmodes/reftex-toc.el (reftex-toc):
4292 * progmodes/gdb-mi.el (gdb-setup-windows):
4293 * progmodes/fortran.el (fortran-window-create):
4294 * net/newst-treeview.el (newsticker--treeview-window-init):
4295 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4296 * emulation/tpu-edt.el (tpu-gold-map):
4297 * emulation/crisp.el (crisp-mode-map):
4298 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4299
38bb2ca8
CY
43002011-10-29 Chong Yidong <cyd@gnu.org>
4301
aa4de341
CY
4302 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4303
e1eb5385
CY
4304 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4305
5d2ece3c
CY
4306 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4307 forged Ispell output (Bug#7904).
4308
38bb2ca8
CY
4309 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4310
d0af9f77
SM
43112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * doc-view.el: Avoid ugly errors about not finding nil.
4314 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4315 (doc-view-dvipdf-program, doc-view-unoconv-program)
4316 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4317 Avoid nil or absolute file name as default value.
4318 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4319
52bedd34
AM
43202011-10-28 Alan Mackenzie <acm@muc.de>
4321
db22a3c2 4322 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4323
7e43cfa5
AM
43242011-10-28 Alan Mackenzie <acm@muc.de>
4325
4326 Amend the handling of c-beginning/end-of-defun in nested declaration
4327 scopes.
4328
52bedd34
AM
4329 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4330 cc-langs.el. Change it to a defcustom.
7e43cfa5 4331
52bedd34
AM
4332 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4333 cc-vars.el.
7e43cfa5 4334
d0af9f77
SM
4335 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4336 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4337
52bedd34 4338 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4339 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4340 (c-widen-to-enclosing-decl-scope): New function.
4341 (c-while-widening-to-decl-block): New macro.
4342 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4343 outward for defun boundaries, and correspondingly change symbol
4344 `respect-enclosure' to `go-outward'.
4345 (c-declaration-limits): Change algorithm to report only the "innermost"
4346 defun's boundaries.
4347
1a2ce9ee
DD
43482011-10-28 Deniz Dogan <deniz@dogan.se>
4349
4350 * net/rcirc.el (rcirc-mode): Use hard newlines.
4351
bc97a826
AM
43522011-10-28 Alan Mackenzie <acm@muc.de>
4353
4354 Amend to indent and fontify macros "which include their own semicolon"
4355 correctly, using the "virtual semicolon" mechanism.
4356
52bedd34 4357 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4358
d0af9f77 4359 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4360 Recode to scan one line at a time rather than having \n and \r
58179cce 4361 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4362 (c-forward-label): Amend for virtual semicolons.
58179cce 4363 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4364
52bedd34
AM
4365 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4366 of the new C macros.
bc97a826 4367
52bedd34 4368 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4369 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4370 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4371 (c-opt-cpp-macro-define): Make into a full language variable.
4372 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4373 AWK Mode (including \n, \r) removed, no longer needed.
4374
d0af9f77
SM
4375 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4376 Invoke c-make-macro-with-semi-re.
bc97a826 4377
52bedd34
AM
4378 * progmodes/cc-vars.el (c-macro-with-semi-re):
4379 (c-macro-names-with-semicolon): New variables.
58179cce 4380 (c-make-macro-with-semi-re): New function.
bc97a826 4381
7a6c0941
SM
43822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * vc/log-edit.el: Fill empty field rather than adding new one.
4385 (log-edit-add-field): New function.
4386 (log-edit-insert-changelog): Use it.
4387
b0c4cdcf
ML
43882011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4389
4390 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4391
ee1f1da9
SM
43922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4395 (gdb--check-interpreter): New function.
4396 (gdb): Use it.
4397
51bc5f8b
GM
43982011-10-27 Glenn Morris <rgm@gnu.org>
4399
416a2c45
GM
4400 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4401 (least-positive-float, least-negative-float)
4402 (least-positive-normalized-float, least-negative-normalized-float)
4403 (float-epsilon, float-negative-epsilon):
4404 Remove unnecessary declarations.
4405
4406 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4407 * emacs-lisp/cl.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): Add doc-strings,
4411 based on those in cl.texi.
4412
51bc5f8b
GM
4413 * files.el (set-visited-file-name): If the major-mode changed,
4414 reload the local variables. (Bug#9796)
4415
15de15c6
CY
44162011-10-27 Chong Yidong <cyd@gnu.org>
4417
4418 * subr.el (change-major-mode-after-body-hook): New hook.
4419 (run-mode-hooks): Run it.
4420
ee1f1da9
SM
4421 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4422 Use change-major-mode-before-body-hook.
15de15c6
CY
4423
4424 * simple.el (fundamental-mode):
4425 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4426 change introducing fundamental-mode-hook.
4427
5430d399
JB
44282011-10-26 Juanma Barranquero <lekktu@gmail.com>
4429
acc825c5 4430 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4431
ad74a69e
MA
44322011-10-26 Michael Albinus <michael.albinus@gmx.de>
4433
4434 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4435 tramp.el explicitly. (Bug#7583)
ad74a69e 4436
71d4c2a5
SM
44372011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * progmodes/octave-mod.el:
4440 * progmodes/octave-inf.el: Update maintainer.
4441
b1f6fa26
CY
44422011-10-26 Chong Yidong <cyd@gnu.org>
4443
4444 * subr.el (with-wrapper-hook): Rewrite doc.
4445
3f04efd6
MA
44462011-10-25 Michael Albinus <michael.albinus@gmx.de>
4447
4448 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4449 filenames "/method:foo:". (Bug#9793)
3f04efd6 4450
410488d3
SM
44512011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4454 (bug#9865).
4455
c1ebb47e
GM
44562011-10-24 Glenn Morris <rgm@gnu.org>
4457
4458 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4459
7f5c46c7
MA
44602011-10-24 Michael Albinus <michael.albinus@gmx.de>
4461
4462 * notifications.el: Add the requirement of a running D-Bus session
4463 bus to the Commentary.
4464
db2440b6
JL
44652011-10-24 Juri Linkov <juri@jurta.org>
4466
4467 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4468 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4469 (Bug#9364)
4470
feecf435
JL
44712011-10-24 Juri Linkov <juri@jurta.org>
4472
4473 * info.el (Info-following-node-name-re): Add newline to the list
4474 of allowed characters for leading space. (Bug#9824)
4475
a3839de2
SM
44762011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4477
acc825c5
SM
4478 * progmodes/octave-inf.el (inferior-octave-mode-map):
4479 Fix C-c C-h binding.
a3839de2
SM
4480 * progmodes/octave-mod.el (octave-help): Remove.
4481
09388e76
MA
44822011-10-23 Michael Albinus <michael.albinus@gmx.de>
4483
4484 Sync with Tramp 2.2.3.
4485
4486 * net/tramp-cache.el (top): Pacify byte-compiler using
4487 `init-file-user' and `site-run-file'.
4488
4489 * net/trampver.el: Update release number.
4490
86c60681
CY
44912011-10-23 Chong Yidong <cyd@gnu.org>
4492
4493 * files.el (toggle-read-only): Remove obsolete comment about
4494 version control.
4495
4496 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4497 for toggle-read-only. Note that this hasn't called vc-next-action
4498 since 2008-05-02, though it wasn't documented at the time.
4499
a3839de2
SM
4500 * vc/ediff-init.el (ediff-toggle-read-only-function):
4501 Use toggle-read-only.
86c60681 4502
cd5495ff
AM
45032011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4504
4505 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4506 of c-parse-state.
4507
00b77525 4508 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4509 correct faulty logical expression.
cd5495ff
AM
4510 (c-parse-state-state, c-record-parse-state-state):
4511 (c-replay-parse-state-state): New defvar/defuns.
4512 (c-debug-parse-state): Use new functions.
4513
42ee24ed
MR
45142011-10-22 Martin Rudalics <rudalics@gmx.at>
4515
4516 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4517 last fix. Use window-in-direction correctly.
42ee24ed 4518
a7dee7e7
CY
45192011-10-21 Chong Yidong <cyd@gnu.org>
4520
4521 * progmodes/idlwave.el (idlwave-mode):
4522 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4523 require-final-newline; that's done in prog-mode.
4524 Suggested by Stefan Monnier.
a7dee7e7 4525
e07b9a6d
MR
45262011-10-21 Martin Rudalics <rudalics@gmx.at>
4527
4528 * mouse.el (mouse-drag-window-above)
4529 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4530 (mouse-drag-mode-line-1, mouse-drag-header-line)
4531 (mouse-drag-vertical-line-rightward-window): Remove.
4532 (mouse-drag-line): New function.
4533 (mouse-drag-mode-line, mouse-drag-header-line)
4534 (mouse-drag-vertical-line): Call mouse-drag-line.
4535 * window.el (window-at-side-p, windows-at-side): New functions.
4536
7e1361d9
UM
45372011-10-21 Ulrich Mueller <ulm@gentoo.org>
4538
4539 * tar-mode.el (tar-grind-file-mode):
4540 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4541
30fcaf3a
CY
45422011-10-21 Chong Yidong <cyd@gnu.org>
4543
4544 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4545 * progmodes/vera-mode.el (vera-mode):
4546 Use mode-require-final-newline.
30fcaf3a 4547
516eddb0
GM
45482011-10-20 Glenn Morris <rgm@gnu.org>
4549
db22a3c2 4550 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4551
10d5f513
CS
45522011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4553
4554 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4555
ac6c8639
CY
45562011-10-20 Chong Yidong <cyd@gnu.org>
4557
4558 * emulation/cua-base.el (cua-mode):
4559 * mail/footnote.el (footnote-mode):
4560 * mail/mailabbrev.el (mail-abbrevs-mode):
4561 * net/xesam.el (xesam-minor-mode):
4562 * progmodes/bug-reference.el (bug-reference-mode):
4563 * progmodes/cap-words.el (capitalized-words-mode):
4564 * progmodes/compile.el (compilation-minor-mode)
4565 (compilation-shell-minor-mode):
4566 * progmodes/gud.el (gud-tooltip-mode):
4567 * progmodes/hideif.el (hide-ifdef-mode):
4568 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4569 * progmodes/subword.el (subword-mode):
4570 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4571 * progmodes/which-func.el (which-function-mode):
4572 * term/tvi970.el (tvi970-set-keypad-mode):
4573 * term/vt100.el (vt100-wide-mode):
4574 * textmodes/flyspell.el (flyspell-mode):
4575 * textmodes/ispell.el (ispell-minor-mode):
4576 * textmodes/nroff-mode.el (nroff-electric-mode):
4577 * textmodes/paragraphs.el (use-hard-newlines):
4578 * textmodes/refill.el (refill-mode):
4579 * textmodes/reftex.el (reftex-mode):
4580 * textmodes/rst.el (rst-minor-mode):
4581 * textmodes/sgml-mode.el (html-autoview-mode)
4582 (sgml-electric-tag-pair-mode):
4583 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4584 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4585 * emulation/crisp.el (crisp-mode):
4586 * emacs-lisp/eldoc.el (eldoc-mode):
4587 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4588 minor mode behavior.
4589
aa42ab43
JL
45902011-10-19 Juri Linkov <juri@jurta.org>
4591
4592 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4593 the list of hard-coded chars with escape-glyph face.
4594
89400f1d
SM
45952011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4598
305c07f6
MA
45992011-10-19 Michael Albinus <michael.albinus@gmx.de>
4600
4601 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4602 running process.
4603
13754b54
GM
46042011-10-19 Glenn Morris <rgm@gnu.org>
4605
4606 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4607 Ignore ignored files. (Bug#9726)
4608
06e21633
CY
46092011-10-19 Chong Yidong <cyd@gnu.org>
4610
4611 Doc fix for minor modes, stating that an omitted argument enables
4612 the mode unconditionally when called from Lisp.
4613
4614 * abbrev.el (abbrev-mode):
4615 * allout.el (allout-mode):
4616 * autoinsert.el (auto-insert-mode):
4617 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4618 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4619 (global-auto-revert-mode):
4620 * battery.el (display-battery-mode):
4621 * composite.el (global-auto-composition-mode)
4622 (auto-composition-mode):
4623 * delsel.el (delete-selection-mode):
4624 * desktop.el (desktop-save-mode):
4625 * dired-x.el (dired-omit-mode):
4626 * dirtrack.el (dirtrack-mode):
4627 * doc-view.el (doc-view-minor-mode):
4628 * double.el (double-mode):
4629 * electric.el (electric-indent-mode, electric-pair-mode):
4630 * emacs-lock.el (emacs-lock-mode):
4631 * epa-hook.el (auto-encryption-mode):
4632 * follow.el (follow-mode):
4633 * font-core.el (font-lock-mode):
4634 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4635 * help.el (temp-buffer-resize-mode):
4636 * hilit-chg.el (highlight-changes-mode)
4637 (highlight-changes-visible-mode):
4638 * hi-lock.el (hi-lock-mode):
4639 * hl-line.el (hl-line-mode, global-hl-line-mode):
4640 * icomplete.el (icomplete-mode):
4641 * ido.el (ido-everywhere):
4642 * image-file.el (auto-image-file-mode):
4643 * image-mode.el (image-minor-mode):
4644 * iswitchb.el (iswitchb-mode):
4645 * jka-cmpr-hook.el (auto-compression-mode):
4646 * linum.el (linum-mode):
4647 * longlines.el (longlines-mode):
4648 * master.el (master-mode):
4649 * mb-depth.el (minibuffer-depth-indicate-mode):
4650 * menu-bar.el (menu-bar-mode):
4651 * minibuf-eldef.el (minibuffer-electric-default-mode):
4652 * mouse-sel.el (mouse-sel-mode):
4653 * msb.el (msb-mode):
4654 * mwheel.el (mouse-wheel-mode):
4655 * outline.el (outline-minor-mode):
4656 * paren.el (show-paren-mode):
4657 * recentf.el (recentf-mode):
4658 * reveal.el (reveal-mode, global-reveal-mode):
4659 * rfn-eshadow.el (file-name-shadow-mode):
4660 * ruler-mode.el (ruler-mode):
4661 * savehist.el (savehist-mode):
4662 * scroll-all.el (scroll-all-mode):
4663 * scroll-bar.el (scroll-bar-mode):
4664 * server.el (server-mode):
4665 * shell.el (shell-dirtrack-mode):
4666 * simple.el (auto-fill-mode, transient-mark-mode)
4667 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4668 (line-number-mode, column-number-mode, size-indication-mode)
4669 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4670 * strokes.el (strokes-mode):
4671 * time.el (display-time-mode):
4672 * t-mouse.el (gpm-mouse-mode):
4673 * tool-bar.el (tool-bar-mode):
4674 * tooltip.el (tooltip-mode):
4675 * type-break.el (type-break-mode-line-message-mode)
4676 (type-break-query-mode):
4677 * view.el (view-mode):
4678 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4679 (global-whitespace-mode, global-whitespace-newline-mode):
4680 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4681
a3839de2
SM
4682 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4683 Fix autogenerated docstring.
06e21633 4684
5214e501
JL
46852011-10-19 Juri Linkov <juri@jurta.org>
4686
4687 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4688 by checking environment variables "DESKTOP_SESSION" and
4689 "XDG_CURRENT_DESKTOP". (Bug#9779)
4690
195f8db9
JL
46912011-10-19 Juri Linkov <juri@jurta.org>
4692
4693 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4694 (browse-url-chromium-program, browse-url-chromium-arguments):
4695 New defcustoms.
4696 (browse-url-default-browser): Check for `browse-url-chromium' and
4697 call `browse-url-chromium-program'.
4698 (browse-url-chromium): New command. (Bug#9779)
4699
343a34ff
JB
47002011-10-18 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * facemenu.el (list-colors-duplicates): On Windows, detect more
4703 duplicates by assuming that only colors matching "^System" are
4704 special "system colors". (Bug#9722)
4705
6978a151
SM
47062011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4709 to distinguish the author from the committer.
4710
6a80b297
MA
47112011-10-18 Michael Albinus <michael.albinus@gmx.de>
4712
4713 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4714
b31a5677
JK
47152011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4716
4717 * international/mule.el (sgml-html-meta-auto-coding-function):
4718 Add support for detecting encoding in HTML5 specified only as
4719 <meta charset="UTF-8">. Implementation just makes http-equiv and
4720 content-type parts from HTML4 encoding string optional. (Bug#9716)
4721
80c6d77f
GM
47222011-10-18 Glenn Morris <rgm@gnu.org>
4723
4724 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4725
08b0fee8
CY
47262011-10-18 Chong Yidong <cyd@gnu.org>
4727
4728 * faces.el (cursor): Doc fix.
4729
67e729a5
CY
47302011-10-17 Chong Yidong <cyd@gnu.org>
4731
4732 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4733
343a34ff 47342011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4735
4736 * dirtrack.el (dirtrack): Support shell buffers with path
4737 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4738
0bc06380
TZ
47392011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4740
4741 * json.el: Bump version to 1.3 and note change in History.
4742 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4743
8b79f3e0
SM
47442011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4745
5a7c536b
SM
4746 * comint.el (comint-insert-input, comint-send-input)
4747 (comint-get-old-input-default, comint-backward-matching-input)
4748 (comint-next-prompt): Use nil instead of `input' for field property of
4749 past user input (bug#114).
4750
96a8a0df
SM
4751 * minibuffer.el (completion--replace): Inherit surrounding properties
4752 (bug#114).
4753 (minibuffer-complete-and-exit): Use it.
4754
8b79f3e0
SM
4755 * comint.el (comint--table-subvert): Quote the all-completions output
4756 (bug#9160).
4757
b8f7ff0d
MR
47582011-10-17 Martin Rudalics <rudalics@gmx.at>
4759
8b79f3e0 4760 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4761
b8f7ff0d 4762 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4763 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4764 entries and separate them from frame entries.
4765
c235b555
GM
47662011-10-15 Glenn Morris <rgm@gnu.org>
4767
4768 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4769 Doc fixes.
4770
6bbfa6e1
CY
47712011-10-15 Chong Yidong <cyd@stupidchicken.com>
4772
8b79f3e0
SM
4773 * net/network-stream.el (network-stream-open-starttls):
4774 Improve detection of failure due to lack of TLS support.
ec5c990d 4775
6bbfa6e1
CY
4776 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4777 putting the input text in front and in bold.
4778
98488977
SM
47792011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4780
3d1337be
SM
4781 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4782
ee0b45e4
SM
4783 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4784 empty buffer.
4785
98488977
SM
4786 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4787 unread-command-events rather than pushing yet-another event.
4788
186f4720
EZ
47892011-10-14 Eli Zaretskii <eliz@gnu.org>
4790
4791 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4792 the explanation of the possible choices. Make the options passed
4793 to completing-read shorter.
4794
8b7a997c
AM
47952011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4796
4797 * textmodes/flyspell.el (flyspell-large-region): Make sure
4798 extended character mode is used if defined (Bug#1339).
4799
12587bbb
EZ
48002011-10-13 Eli Zaretskii <eliz@gnu.org>
4801
4802 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4803 character info for LRE, LRO, RLE, and RLO characters by appending
4804 an invisible PDF.
12587bbb 4805
bad41229
SM
48062011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4809 even in case of error; add debug spec; simplify data flow.
4810 (with-timeout-handler): Remove.
4811
28dbc92f
MA
48122011-10-12 Michael Albinus <michael.albinus@gmx.de>
4813
4814 Fix Bug#6019, Bug#9315.
4815
4816 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4817 complete `buffer-file-name', the local file name part could look
4818 remotely (for example on VMS).
4819
4820 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4821 `tramp-run-real-handler'.
4822 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4823 already quoted by '"'.
4824
4825 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4826 Let `file-name-handler-alist' be nil, the local file name part
4827 could look remotely (for example on VMS).
4828
e1b0b23a
SM
48292011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4832 from here...
4833 (flyspell-post-command-hook): ...to here.
4834
a120bde9
SM
48352011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4838 if not needed.
4839 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4840 using completion. Protect against "slow" callers.
4841 Remove the "message hack".
4842
7ce7717b
JL
48432011-10-11 Juri Linkov <juri@jurta.org>
4844
4845 * isearch.el (isearch-lazy-highlight-word): New variable.
4846 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4847 Use it. (Bug#9727)
4848
c02ee9d6
GM
48492011-10-11 Glenn Morris <rgm@gnu.org>
4850
4851 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4852 like f90-previous-statement does.
4853
93e616fd 48542011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4855
1f190e73 4856 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4857 only in interactive use, to avoid error.
4858
af7b6078
SM
48592011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * minibuffer.el (completion-file-name-table): Fix last change,
4862 i.e. ignore normal errors but not the other ones.
4863
0563dae9
MR
48642011-10-10 Martin Rudalics <rudalics@gmx.at>
4865
4866 * window.el (special-display-buffer-names)
4867 (special-display-regexps): Remove some remnants of earlier
4868 changes from doc-strings.
366ca7f3
MR
4869 (quit-windows-on): New function.
4870
4871 * vc/vc.el (vc-revert, vc-rollback):
4872 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4873 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4874 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4875
49677495
MR
48762011-10-09 Martin Rudalics <rudalics@gmx.at>
4877
4878 * window.el (frame-auto-hide-function): Add version tag.
4879 (Bug#9699)
4880
56f2d1e1
MA
48812011-10-09 Michael Albinus <michael.albinus@gmx.de>
4882
4883 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4884 condition.
4885
112a6592
LL
48862011-10-09 Leo Liu <sdl.web@gmail.com>
4887
4888 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4889 (Bug#9701)
4890
0812589b
GM
48912011-10-08 Glenn Morris <rgm@gnu.org>
4892
4893 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4894 before the first code statement zero indent. (Bug#9690)
4895
b2b0776e
CY
48962011-10-08 Chong Yidong <cyd@stupidchicken.com>
4897
4898 * simple.el (count-words-region): Always count in the region.
4899 Report the number of lines and characters too.
4900 (count-words): New command, which counts in the buffer if the
4901 region is inactive, as count-words-region used to.
4902 (count-words--message): New function. Handle plurals.
4903 (count-lines-region): Make it an alias for count-words-region.
4904
4905 * bindings.el (esc-map): Replace count-lines-region with
4906 count-words-region.
4907
c557cd6b
MR
49082011-10-08 Martin Rudalics <rudalics@gmx.at>
4909
4910 * window.el (window--delete): Delete dedicated frame
4911 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4912 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4913
61a57ef4 49142011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4915
3a7d293b 4916 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4917
c3833279
CY
49182011-10-07 Chong Yidong <cyd@stupidchicken.com>
4919
4920 * bindings.el ([M-left],[M-right]): Bind to left-word and
4921 right-word respectively.
4922
21ce8245
GM
49232011-10-07 Glenn Morris <rgm@gnu.org>
4924
4925 * cus-start.el (debug-on-quit): Fix custom type.
4926
6d823bb2
LMI
49272011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4928
0181e193
LMI
4929 * subr.el (define-key-after): Clarify that the function is not
4930 useful for non-menu keymaps.
4931
6d823bb2
LMI
4932 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4933
8e3459ce 49342011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4935
21ce8245 4936 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4937 in current minibuffer (Fix bug with recursive minibuffers).
4938
a1c2d21e
CY
49392011-10-06 Chong Yidong <cyd@stupidchicken.com>
4940
4941 * progmodes/gdb-mi.el (gdb): Doc fix.
4942
5a4cf282
MR
49432011-10-05 Martin Rudalics <rudalics@gmx.at>
4944
4945 * window.el (frame-auto-hide-function): New option replacing
4946 frame-auto-delete. Suggested by Stefan Monnier.
4947 (window--delete): Call frame-auto-hide-function instead of
4948 investigating frame-auto-delete.
c96111ea
MR
4949 (window-point-1, set-window-point-1): New functions.
4950 (window-in-direction, record-window-buffer, window-state-get-1)
4951 (display-buffer-record-window): Use window-point-1 instead of
4952 window-point.
4953 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4954
9854542e
SM
49552011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4958
8943cfb0
GM
49592011-10-05 Glenn Morris <rgm@gnu.org>
4960
4961 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4962 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4963
647ab967
LL
49642011-10-05 Leo Liu <sdl.web@gmail.com>
4965
4966 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4967 works with buffer object.
4968
3ddfbced
SM
49692011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * mpc.el (mpc-tool-bar-map): Add labels.
4972
bdfa5dd2
GM
49732011-10-04 Glenn Morris <rgm@gnu.org>
4974
4975 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4976
0e2070b5
MR
49772011-10-04 Martin Rudalics <rudalics@gmx.at>
4978
4979 * window.el (window--delete): New function.
4980 (frame-auto-delete): Resuscitate option.
4981 (bury-buffer, replace-buffer-in-windows)
4982 (quit-window): Rewrite using window--delete.
4983 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4984 Pass display-buffer-mark-dedicated to window--display-buffer-2
4985 (Bug#9639).
4986
3dc61a09
SM
49872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4988
915a9b64
SM
4989 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4990 returns a list (bug#9554). Add remote file name completion.
4991 * comint.el (comint--table-subvert): Curry and get quote&unquote
4992 functions as arguments.
4993 (comint--complete-file-name-data): Adjust call accordingly.
4994 * pcomplete.el (pcomplete--table-subvert): Remove.
4995 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4996
3dc61a09
SM
4997 * minibuffer.el (completion-table-case-fold): Use currying.
4998 (completion--styles-type, completion--cycling-threshold-type):
4999 New constants.
5000 (completion-styles, completion-category-overrides)
5001 (completion-cycle-threshold): Use them.
5002 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5003 completion-table-case-fold.
5004
8ea0a993
SB
50052011-10-03 Stephen Berman <stephen.berman@gmx.net>
5006
5007 * minibuffer.el (completion-category-overrides): Fix type of styles
5008 and add more user friendly tags (bug#9660).
5009
8c24b7f6
SM
50102011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5011
5012 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5013 (mule-input-method-string): New widget.
5014 (default-input-method, language-info-custom-alist): Use it.
5015
428fe61a
SM
50162011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5017
32c1fffd
SM
5018 * pcomplete.el: Require comint.
5019 (pcomplete--common-suffix): Remove.
5020 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5021 (pcomplete--table-subvert): Sync with comint--table-subvert.
5022 (pcomplete--entries): Use comint-completion-file-name-table.
5023 * comint.el (comint-unquote-filename): Simplify.
5024 (comint-completion-file-name-table): New function (bug#9616).
5025 (comint--complete-file-name-data): Use it.
5026
428fe61a
SM
5027 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5028 (pcmpl-gnu-tar-buffer): Remove.
5029 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5030 around. Make sure pcomplete-suffix-list is only changed temporarily.
5031 Don't look inside the tar's file if it's too large.
428fe61a 5032
04c52e2f
CY
50332011-10-01 Chong Yidong <cyd@stupidchicken.com>
5034
ce3cefcc
CY
5035 * cus-edit.el (custom-mode-map):
5036 * epa.el (epa-key-list-mode-map):
5037 * man.el (Man-mode-map):
5038 * startup.el (splash-screen-keymap):
5039 * simple.el (special-mode-map): Use scroll-up-command and
5040 scroll-down-command.
5041
5042 * progmodes/idlw-help.el (idlwave-help-mode-map):
5043 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5044 * net/newst-plainview.el (newsticker-mode-map):
5045 * emulation/ws-mode.el (wordstar-mode-map):
5046 * emulation/vi.el (vi-com-map):
5047 * calc/calc-graph.el (calc-graph-show-dumb):
5048 * term/sun.el (terminal-init-sun):
5049 * term/ns-win.el (global-map):
5050 * progmodes/grep.el (grep-mode-map):
5051 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5052 * mail/rmail.el (rmail-mode-map):
5053 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5054
04c52e2f
CY
5055 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5056 custom-safe-themes as special.
5057
79adf8c8
JD
50582011-10-01 Julien Danjou <julien@danjou.info>
5059
5060 * notifications.el (notifications-notify): Fix docstring.
5061
63bd50d3
PS
50622011-10-01 Per Starbäck <per@starback.se>
5063
5064 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5065
199e4c7e
MR
50662011-09-30 Martin Rudalics <rudalics@gmx.at>
5067
5068 * startup.el (command-line-1): Fix last fix by inserting
5069 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5070 (Bug#9605) and (Bug#9636)
199e4c7e 5071
fe5f08dd
EZ
50722011-09-29 Eli Zaretskii <eliz@gnu.org>
5073
5074 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5075 window is hscrolled, move by logical lines. (Bug#9607)
5076 (line-move-visual): Update the doc string to the above effect.
5077
b5516bbd
MR
50782011-09-29 Martin Rudalics <rudalics@gmx.at>
5079
ccee00c0
MR
5080 * window.el (display-buffer-record-window): When WINDOW is the
5081 selected window use `point' instead of `window-point'. (Bug#9626)
5082
b5516bbd
MR
5083 * startup.el (command-line-1): Use insert-before-markers when
5084 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5085
b5516bbd
MR
5086 * help.el (help-window): Remove variable.
5087
52aa0014
GM
50882011-09-29 Glenn Morris <rgm@gnu.org>
5089
5090 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5091
df9a7357
JB
50922011-09-29 Juanma Barranquero <lekktu@gmail.com>
5093
5094 * descr-text.el (describe-char-categories): Accept category
5095 descriptions more than one line long.
5096
a8406c20
SM
50972011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5098
88d9610c
SM
5099 * simple.el (delete-trailing-whitespace): Fix last change.
5100
a5daf810
SM
5101 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5102 Don't confuse "y => 3" as the beginning of a `y' operation.
5103
a8406c20
SM
5104 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5105 object has more than 4 slots (bug#9613).
5106
a239d4e9
JB
51072011-09-28 Juanma Barranquero <lekktu@gmail.com>
5108
5109 * subr.el (with-output-to-temp-buffer):
5110 * net/quickurl.el (quickurl, quickurl-browse-url):
5111 Fix typos in docstrings.
5112
693fbdb6
EZ
51132011-09-27 Eli Zaretskii <eliz@gnu.org>
5114
5115 * minibuffer.el (completion-styles)
5116 (completion-category-overrides): Cross reference each other in doc
5117 strings.
5118
8b457e28
GM
51192011-09-27 Glenn Morris <rgm@gnu.org>
5120
5121 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5122 to split-string. (Bug#9606)
5123
85a16208
LMI
51242011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5125
5126 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5127 (bug#9615).
5128
502f9ebd
CY
51292011-09-27 Chong Yidong <cyd@stupidchicken.com>
5130
5131 * emacs-lisp/package.el (list-packages): Fix echo area message.
5132
7690bdea
LL
51332011-09-27 Leo Liu <sdl.web@gmail.com>
5134
5135 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5136
e2ee6f30
MA
51372011-09-25 Michael Albinus <michael.albinus@gmx.de>
5138
5139 * net/dbus.el (dbus-unregister-object): Don't release services for
5140 registered signals. (Bug#9581)
5141
f3f98342
TZ
51422011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5143
5144 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5145 function that picks between cfengine 2 and 3 support
5146 automatically. Update docs accordingly.
5147
dd7aa8dd
KH
51482011-09-22 Kenichi Handa <handa@m17n.org>
5149
5150 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5151 ZERO.
5152 (indian-itrans-v5-table-for-tamil): New variable.
5153 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5154
3f2b07f8
KM
51552011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5156
5157 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5158 that's true if the current command involved collapsing of text.
5159 It's reset to false at the beginning of the next command.
5160 (allout-post-command-business): Move the cursor to the beginning
5161 of entry if the cursor is hidden and collapsing activity just
5162 happened.
5163
371d6a61
CY
51642011-09-24 Chong Yidong <cyd@stupidchicken.com>
5165
5166 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5167 tracking (Bug#9541).
5168
2ac2721a
UJ
51692011-09-24 Ulf Jasper <ulf.jasper@web.de>
5170
5171 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5172 (newsticker-show-news): Automatically load html rendering package
5173 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5174 because w3m-fill-column is let-bound" and the error "Symbol's value
5175 as variable is void: w3m-fill-column".
2ac2721a 5176
fac7ae53
MA
51772011-09-24 Michael Albinus <michael.albinus@gmx.de>
5178
5179 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5180 Release services only if they are defined. (Bug#9581)
5181
e08b633b
RS
51822011-09-23 Richard Stallman <rms@gnu.org>
5183
e488d29c
RS
5184 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5185 distinguish start of paragraph from start of its text.
5186
19c38752
RS
5187 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5188
e08b633b
RS
5189 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5190 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5191 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5192
0a39f27e
AS
51932011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5194
5195 * international/mule-diag.el (mule-diag): Insert a newline after
5196 each fontset description.
5197
db4e950d
SM
51982011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * simple.el (delete-trailing-whitespace):
5201 Document last change; simplify.
5202
eca3f3ea
PW
52032011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5204
d68e189a
PW
5205 * simple.el (delete-trailing-whitespace): Also delete
5206 extra newlines at the end of the buffer.
5207
eca3f3ea
PW
5208 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5209 (picture-newline): Use forward-line so as to ignore fields.
5210
01c157cc
SM
52112011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * subr.el (with-wrapper-hook): Fix edebug spec.
5214
022de23e
LMI
52152011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5216
5217 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5218 (bug#4538).
5219
91683089
MA
52202011-09-23 Michael Albinus <michael.albinus@gmx.de>
5221
eca3f3ea
PW
5222 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5223 Fix nasty bug using wrong cached values.
91683089 5224
5bdd6fa4
AM
52252011-09-23 Alan Mackenzie <acm@muc.de>
5226
5227 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5228
97adfb97
CY
52292011-09-23 Chong Yidong <cyd@stupidchicken.com>
5230
5231 * window.el (pop-to-buffer): Ensure right window is selected if we
5232 chose another frame.
5233
d4ef2b50
EZ
52342011-09-22 Eli Zaretskii <eliz@gnu.org>
5235
5236 * simple.el (what-cursor-position): Use get-char-property-change
5237 and next-single-char-property-change, to be able to show display
5238 properties that come from overlays as well as text properties.
5239
72258fe5
CY
52402011-09-22 Chong Yidong <cyd@stupidchicken.com>
5241
5242 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5243
5244 * cmuscheme.el (run-scheme, switch-to-scheme):
5245 * cus-edit.el (customize-group, custom-buffer-create)
5246 (customize-browse):
5247 * info.el (info):
5248 * shell.el (shell):
5249 * mail/sendmail.el (mail):
5250 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5251
8f098516
RS
52522011-09-22 Richard Stallman <rms@gnu.org>
5253
5254 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5255 move back only to line beg, don't move back over blank lines.
5256
e74f1bb6
MA
52572011-09-22 Michael Albinus <michael.albinus@gmx.de>
5258
5259 * files.el (copy-directory): Set directory attributes only in case
5260 they could be retrieved from the source directory. (Bug#9565)
5261
bfeef8b6
DK
52622011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5263
5264 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5265 (hs-find-block-beginning, hs-hide-level-recursive):
5266 Ignore strings as well as comments. (Bug#9502)
5267
7e423bb8
AS
52682011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5269
5270 * progmodes/sql.el (sql-comint-postgres):
5271 Convert port number to a string. (Bug#9566)
5272
b4d72fcf
MR
52732011-09-22 Martin Rudalics <rudalics@gmx.at>
5274
5275 * window.el (quit-window): Undedicate window when switching to
5276 previous buffer. Reported by Thierry Volpiatto
5277 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5278 (special-display-popup-frame): When popping up a new frame reset
5279 its previous buffers to nil. Simplify code.
b4d72fcf 5280
a7b88dc6
MA
52812011-09-21 Michael Albinus <michael.albinus@gmx.de>
5282
5283 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5284 and process filter, as done also in `shell-command'.
5285
cf4eacfd
MR
52862011-09-21 Martin Rudalics <rudalics@gmx.at>
5287
eca3f3ea 5288 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5289 Call set-window-start with NOFORCE argument t.
5290 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5291 (quit-window): Reword doc-string. Handle new format of
5292 quit-restore parameter. Don't delete window if it has a
5293 previous buffer we can show instead of the present one.
5294 (display-buffer-record-window): Rewrite using a new format for
5295 the quit-restore window parameter
5296 (special-display-popup-frame, display-buffer-same-window)
5297 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5298 (display-buffer-pop-up-window, display-buffer-use-some-window):
5299 Adapt symbol passed to display-buffer-record-window.
5300 * help.el (help-window-setup): Handle new format of quit-restore
5301 parameter.
5302
8d28cb95
SM
53032011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5304
94ab793f
SM
5305 * faces.el (face-list): Fix docstring (bug#9564).
5306
8d28cb95
SM
5307 * window.el (display-buffer--action-function-custom-type):
5308 Don't include internal functions in the Custom interface.
5309
3820edeb
JL
53102011-09-20 Juri Linkov <juri@jurta.org>
5311
5312 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5313 (Info-forward-node, Info-backward-node, Info-next-preorder)
5314 (Info-last-preorder): Use it. (Bug#9528)
5315
5147931d
JL
53162011-09-20 Juri Linkov <juri@jurta.org>
5317
5318 * info.el (Info-last-preorder): Visit last menu item only when
5319 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5320
cf499a1a
JD
53212011-09-20 Julien Danjou <julien@danjou.info>
5322
5323 * password-cache.el (password-cache-remove): Remove entries even if the
5324 value is nil, so that password with a nil value (negative caching) is
5325 possible to invalidate.
5326
f84e2fe2
LM
53272011-09-20 Lawrence Mitchell <wence@gmx.li>
5328
5329 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5330 all whitespace around breakpoint. (Bug#9553)
5331 (f90-find-breakpoint): Only break at whitespace inside a comment.
5332
78054a46
SM
53332011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * minibuffer.el (completion-file-name-table): Keep track of errors.
5336 (completion-table-with-predicate): Handle the case where pred1 is nil.
5337 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5338
345083b2
SM
53392011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5340
e24e27be
SM
5341 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5342 (debugger-return-value): Signal an error if the debugging context does
5343 not await any return value.
5344
345083b2
SM
5345 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5346 * image-mode.el (image-toggle-display-text)
5347 (image-toggle-display-image): Stay away from evil `intangible'.
5348
08d355e3
LL
53492011-09-19 Leo Liu <sdl.web@gmail.com>
5350
5351 * replace.el (occur-revert-arguments): Make it permanent-local.
5352 (occur-mode): Don't call font-lock-defontify.
5353
f01da43f
CY
53542011-09-19 Chong Yidong <cyd@stupidchicken.com>
5355
5356 * net/ldap.el (ldap-search-internal): Don't push empty search
5357 result (Bug#9508).
5358
b6072fa6
SM
53592011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5362
443d6696
MA
53632011-09-19 Michael Albinus <michael.albinus@gmx.de>
5364
5365 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5366 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5367
7cc6e154
JL
53682011-09-18 Juri Linkov <juri@jurta.org>
5369
5370 * buff-menu.el (Buffer-menu-mode-map):
5371 * dired.el (dired-mode-map):
5372 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5373 (lisp-interaction-mode-map):
5374 * emacs-lisp/package.el (package-menu-mode-map):
5375 * epa.el (epa-key-list-mode-map):
5376 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5377 (menu-bar-options-menu):
5378 * outline.el (outline-mode-menu-bar-map):
5379 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5380 * vc/vc-dir.el (vc-dir-menu-map):
5381 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5382 Capitalize non-function content words in menu item strings.
5383
5384 * dired.el (dired-mode-map): Add menu item for
5385 `image-dired-dired-toggle-marked-thumbs'.
5386
80302a81
JL
53872011-09-18 Juri Linkov <juri@jurta.org>
5388
5389 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5390 to `isearch-case-fold-search' and restore its original value
5391 after the `isearch-mode' call.
5392
46c5cf66
JL
53932011-09-18 Juri Linkov <juri@jurta.org>
5394
5395 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5396 because `zgrep' returns 1 for successful matches (bug#9226).
5397
d18b513b
JL
53982011-09-18 Juri Linkov <juri@jurta.org>
5399
5400 * info.el (Info-extract-menu-node-name): Check the second match
5401 for empty string (second test-case of bug#9528).
5402 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5403 intermediate nodes to the history (first test-case of bug#9528).
5404
72753f87
JL
54052011-09-18 Juri Linkov <juri@jurta.org>
5406
5407 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5408 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5409
c9384295
JL
54102011-09-18 Juri Linkov <juri@jurta.org>
5411
1154d12e
JB
5412 * info.el (Info-file-supports-index-cookies):
5413 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5414 outputs one more line for long file names (bug#4142).
c9384295 5415
d473dce8
CY
54162011-09-18 Chong Yidong <cyd@stupidchicken.com>
5417
5418 * newcomment.el (comment-normalize-vars): If prompting for
5419 comment-start, set comment-start-skip too (Bug#8424).
5420
2176854d
JB
54212011-09-18 Johan Bockgård <bojohan@gnu.org>
5422
5423 * icomplete.el: Fix previous fix of Bug#5849.
5424 (icomplete-mode): Don't set completion-show-inline-help.
5425 (icomplete-minibuffer-setup): Set completion-show-inline-help
5426 locally during icompletion.
5427
3aace4e4
CY
54282011-09-18 Chong Yidong <cyd@stupidchicken.com>
5429
c940224f
CY
5430 * woman.el (woman2-process-escapes): Don't delete unrecognized
5431 escapes (Bug#7843).
5432
3aace4e4
CY
5433 * files.el (inhibit-first-line-modes-regexps): Add image files.
5434 (hack-local-variables-prop-line): Return nil for malformed
5435 prop-lines (Bug#9044).
5436
710dec63
MA
54372011-09-18 Michael Albinus <michael.albinus@gmx.de>
5438
5439 * net/tramp.el (top): Don't require 'shell.
5440 (tramp-methods): Fix docstring.
5441 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5442 Return complete remote file name. Handle "smb" case.
5443 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5444 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5445
5446 * net/tramp-compat.el (top): Require 'shell.
5447
5448 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5449 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5450 `tramp-current-host'.
5451 (tramp-get-remote-tmpdir): Remove.
5452
5453 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5454 `tramp-tmpdir' entries.
5455 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5456 (tramp-smb-handle-file-attributes): Ignore errors.
5457 (tramp-smb-wait-for-output): Check also for process end.
5458
5d5ac8ec
LMI
54592011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5460
5461 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5462 when sending QUIT (bug#9312).
5463
8c0f49f0
CY
54642011-09-17 Chong Yidong <cyd@stupidchicken.com>
5465
5466 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5467 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5468 occur-mode-display-occurrence.
5469 (occur-edit-mode): Add usage message.
5470 (occur-cease-edit): New command.
5471 (occur-after-change-function): Use text properties to find the
5472 position of the prefix text.
5473 (occur-engine): Set stickiness of prefix text properties.
5474
8f1383f7
GM
54752011-09-17 Glenn Morris <rgm@gnu.org>
5476
5477 * progmodes/etags.el (complete-tag):
5478 Fix call to completion-in-region. (Bug#9526)
5479
744ba0e3
JL
54802011-09-17 Juri Linkov <juri@jurta.org>
5481
5482 * textmodes/ispell.el (ispell-word): Add to the error message
5483 the word, ispell program name and current dictionary (bug#9121).
5484 (ispell-tex-arg-end): Capitalize "error" in the error message.
5485
d9bbf400
AS
54862011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5487
5488 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5489 check. (Bug#4251)
5490
8da11505
JL
54912011-09-17 Juri Linkov <juri@jurta.org>
5492
5493 * window.el (window-safe-min-height, window-safe-min-width):
5494 Fix typos (followup to bug#9522).
5495
a91adc7e
SJ
54962011-09-17 Sven Joachim <svenjoac@gmx.de>
5497
5498 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5499
064f328a
EZ
55002011-09-16 Eli Zaretskii <eliz@gnu.org>
5501
5502 * simple.el (line-move): If goal-column is set, move by logical
5503 lines, not by display lines. (Bug#971)
5504 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5505 to reflect the above change.
5506
e69df516
SM
55072011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * image.el (imagemagick-register-types): Use regexp-opt.
5510
cbb0f9ab
CY
55112011-09-15 Chong Yidong <cyd@stupidchicken.com>
5512
5513 * window.el (display-buffer-base-action): Rename from
5514 display-buffer-default-action. Make default value empty.
5515 (display-buffer-overriding-action): Convert to defvar.
5516 (display-buffer-fallback-action): New var.
5517
25322144
CY
55182011-09-15 Chong Yidong <cyd@stupidchicken.com>
5519
5520 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5521 declaration.
5522 (package--add-to-archive-contents): If there is a duplicate entry
5523 with an older version, remove it.
5524 (package-menu-mark-delete, package-menu-mark-install)
5525 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5526 (package-menu-mark-obsolete-for-deletion):
5527 Use package-menu-get-status instead of a regexp search.
25322144
CY
5528 (package-menu-get-status): Use tabulated-list-entry.
5529 (package-menu-mark-upgrades): New command.
d770725a 5530 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5531 (package-menu-execute): Do installation before deletion.
5532 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5533 instead of checking major-mode.
5534 (package-menu--find-upgrades): New function.
5535
7520339c
LMI
55362011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5537
5538 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5539 passwords in the log buffer.
65a046c4
LMI
5540 (smtpmail-process-filter): Update the process marker so that the
5541 "broken by peer" status message is inserted in the right place.
7520339c 5542
d3c30954
SM
55432011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5544
3fe48822
SM
5545 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5546 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5547 bibtex-completion-at-point-function.
5548 (bibtex-completion-at-point-function): Use them.
5549
1b8b3954
SM
5550 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5551
d3c30954
SM
5552 * mpc.el (mpc-constraints-tag-lookup): New function.
5553 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5554 also to browser "album|playlist".
5555
72779976
JL
55562011-09-14 Juri Linkov <juri@jurta.org>
5557
5558 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5559 (isearch-edit-string): Use length of `isearch-string' when
5560 `isearch-fail-pos' returns nil.
5561 (isearch-message): Remove duplicate code and call
5562 `isearch-fail-pos' with arg `t'.
5563
a0bf2bcd
CY
55642011-09-14 Chong Yidong <cyd@stupidchicken.com>
5565
17bb0a2d
CY
5566 * replace.el (occur-mode-goto-occurrence): Don't force using other
5567 window (Bug#9499).
5568
a0bf2bcd
CY
5569 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5570
f678e0b6
MR
55712011-09-14 Martin Rudalics <rudalics@gmx.at>
5572
5573 * window.el (display-buffer-window): Remove.
5574 (display-buffer-record-window): Use help-setup window parameter
5575 instead of variable display-buffer-window.
5576 (display-buffer-function, special-display-buffer-names)
5577 (special-display-function): Mention help-setup parameter instead
5578 of display-buffer-window in doc-string.
d3c30954
SM
5579 * help.el (help-window-setup): New argument help-window.
5580 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5581 Reword some messages.
5582 (with-help-window): Pass window used for displaying the buffer
5583 to help-window-setup. Don't set display-buffer-window.
5584
8e39b2e8
GM
55852011-09-13 Glenn Morris <rgm@gnu.org>
5586
5587 * emacs-lisp/debug.el (debugger-make-xrefs):
5588 Preserve point. (Bug#9462)
5589
85e9c04b
CY
55902011-09-13 Chong Yidong <cyd@stupidchicken.com>
5591
5592 * window.el (window-deletable-p): Use next-frame.
5593
1b36ed6a
MR
55942011-09-13 Martin Rudalics <rudalics@gmx.at>
5595
5596 * window.el (window-auto-delete): Remove.
5597 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5598 dedication and previous buffers.
1b36ed6a
MR
5599 (switch-to-prev-buffer): Don't delete window.
5600 (delete-windows-on): Delete a window's frame if and only if the
5601 window is dedicated.
5602 (replace-buffer-in-windows): Delete buffer's window or frame if
5603 and only if window is dedicated.
5604 (quit-window): Handle quit-restore as before last change.
4d61f28d 5605 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5606
ef8ef9fb
CY
56072011-09-13 Chong Yidong <cyd@stupidchicken.com>
5608
5609 * window.el (window-deletable-p): Never delete the last frame on a
5610 given terminal.
5611
b2cba41e
GM
56122011-09-13 Glenn Morris <rgm@gnu.org>
5613
5614 * help.el (describe-key-briefly): Copy previous standard-output change.
5615
51553db6 56162011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5617
5618 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5619
b7556719
GM
56202011-09-13 Glenn Morris <rgm@gnu.org>
5621
5622 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5623 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5624
64b51947
CY
56252011-09-12 Chong Yidong <cyd@stupidchicken.com>
5626
5627 * dired-aux.el (dired-mark-read-string): Don't return default
5628 value on empty input (Bug#9361).
5629 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5630 Omit initial minibuffer contents.
5631 (dired-do-chmod): Signal an error on empty input.
5632 (dired-mark-read-string): Don't return default on empty input.
5633
5634 * files.el (file-modes-symbolic-to-number): Doc fix.
5635
393a301e
SM
56362011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * international/mule-cmds.el (ucs-completions): Remove.
5639 (read-char-by-name): Use complete-with-action instead; add metadata.
5640
fa5660f9
CY
56412011-09-11 Chong Yidong <cyd@stupidchicken.com>
5642
5643 * window.el (display-buffer--action-function-custom-type)
5644 (display-buffer--action-custom-type): New vars.
5645 (display-buffer-alist, display-buffer-default-action)
5646 (display-buffer-overriding-action): Add defcustom types.
5647
4a592f66
CY
5648 * frame.el (delete-other-frames): Doc fix (Bug#276).
5649
73d56dbd
LMI
56502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5651
5652 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5653
37ac18a3
CY
56542011-09-11 Chong Yidong <cyd@stupidchicken.com>
5655
5656 Change modes that used same-window-* vars to use switch-to-buffer.
5657
5658 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5659 Use switch-to-buffer.
5660
5661 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5662 (customize-browse, custom-buffer-create-other-window):
5663 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5664
5665 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5666 (Info-prev, Info-up, Info-speedbar-goto-node)
5667 (info-display-manual): Use switch-to-buffer.
5668 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5669
5670 * mail/sendmail.el (mail): Use switch-to-buffer.
5671 (mail-recover): Use switch-to-buffer-other-window.
5672
5673 * cmuscheme.el (run-scheme, switch-to-scheme):
5674 * ielm.el (ielm):
5675 * shell.el (shell):
5676 * net/rlogin.el (rlogin):
5677 * net/telnet.el (telnet, rsh):
5678 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5679
10195bd6
AS
56802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5681
5682 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5683
b322f63a
LMI
56842011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5685
39d7fed6
LMI
5686 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5687 so don't mention it (bug#9301).
ba5a81f1 5688 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5689
ee0e9f11
LMI
5690 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5691 match `x', `w32' and `ns', like the manual says (bug#9029).
5692
0b1c89c1 5693 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5694 (process-kill-buffer-query-function): Mention the buffer name in
5695 the query.
0b1c89c1 5696
77549ea8
LMI
5697 * image-mode.el (image-next-line): The line parameter is mandatory
5698 (bug#9258).
5699
803ef892
LMI
5700 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5701 which can be useful (bug#9301).
5702
12980837
LMI
5703 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5704
91054f8f
LMI
5705 * subr.el (match-string): Mention that the current buffer should
5706 be the same as the search was done in (bug#9282).
5707
b322f63a
LMI
5708 * facemenu.el: Disable the remove-* commands if the mark isn't
5709 active (bug#9162).
5710
3199b96f
CY
57112011-09-10 Chong Yidong <cyd@stupidchicken.com>
5712
5713 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5714 of display-buffer.
5715 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5716
5717 * replace.el (occur-mode-goto-occurrence)
5718 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5719 and display-buffer.
5720
5721 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5722 display-buffer.
5723
5724 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5725 special-display and same-window variables.
5726 (mail-other-window): Use switch-to-buffer-other-window.
5727 (mail-other-frame): USe switch-to-buffer-other-frame.
5728
393a301e
SM
5729 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5730 Use display-buffer-other-frame.
3199b96f
CY
5731 (gdb-display-gdb-buffer): Use pop-to-buffer.
5732
5733 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5734
5735 * progmodes/python.el: Don't set same-window-buffer-names.
5736
5737 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5738
5739 * window.el (display-buffer-alist): Add *Python*.
5740
8319e0bf
CY
57412011-09-10 Chong Yidong <cyd@stupidchicken.com>
5742
5743 * window.el (display-buffer-alist): Add entry for buffers
5744 previously handled same-window-*.
5745 (display-buffer-alist, display-buffer-default-action)
5746 (display-buffer-overriding-action): Mark as risky.
5747 (display-buffer-alist): Document action function changes.
5748 (display-buffer--same-window-action)
5749 (display-buffer--other-frame-action): New variables.
5750 (switch-to-buffer, display-buffer-other-frame): Use them.
5751 (display-buffer): Rename reuse-frame entry to reusable-frames.
5752 (display-buffer-reuse-selected-window): Function deleted.
5753 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5754 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5755 (display-buffer-special): New function.
5756 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5757 display-buffer-reuse-or-pop-window. Split off special-display
5758 part into display-buffer-special.
5759 (display-buffer-use-some-window): Don't perform any special
5760 pop-up-frames handling.
5761 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5762 (display-buffer--maybe-same-window): Rename from
0d3ff375 5763 display-buffer-maybe-same-window.
8319e0bf 5764
919a69aa
CY
5765 * info.el: Don't set same-window-regexps.
5766 (info-setup): New function.
5767 (info-other-window, info): Call it.
5768
5769 * cus-edit.el: Don't set same-window-regexps.
5770 (customize-group): New argument.
5771 (customize-group-other-window): Use it.
5772 (customize-face, customize-face-other-window): Likewise.
5773 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5774
8319e0bf
CY
5775 * net/rlogin.el:
5776 * net/telnet.el:
5777 * progmodes/gud.el: Don't set same-window-regexps.
5778
5779 * cmuscheme.el:
5780 * ielm.el:
5781 * shell.el:
5782 * mail/sendmail.el:
5783 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5784
25173000
JL
57852011-09-10 Juri Linkov <juri@jurta.org>
5786
5787 * isearch.el (isearch-edit-string): Remove obsolete mention of
5788 `C-w' (`isearch-yank-word-or-char') from docstring.
5789 (isearch-query-replace): Fix typo in docstring (bug#9466).
5790
056e44ef
JL
57912011-09-10 Juri Linkov <juri@jurta.org>
5792
5793 * paren.el (show-paren-function): Don't show escaped parens.
5794 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5795
c3760c17
EZ
57962011-09-10 Eli Zaretskii <eliz@gnu.org>
5797
5798 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5799 (mm-default-file-encoding): Remove autoload forms, they are
5800 replaced with autoload cookies in mml.el and mm-encode.el.
5801 (mail-add-attachment): New command.
5802 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5803 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5804 the doc string.
5805 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5806
fece895e
RT
58072011-09-10 Reuben Thomas <rrt@sc3d.org>
5808
e69df516
SM
5809 * simple.el (count-words-region): Use buffer if there's no region
5810 (bug#9429).
fece895e 5811
5e68ce4a
JL
58122011-09-09 Juri Linkov <juri@jurta.org>
5813
5814 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5815 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5816 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5817
0a6b9622
AM
58182011-09-09 Alan Mackenzie <acm@muc.de>
5819
5820 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5821 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5822
14a29deb
EZ
58232011-09-09 Eli Zaretskii <eliz@gnu.org>
5824
5825 Fix for Savannah bug#9392.
5826 * simple.el (mail-encode-mml): New defvar.
5827
5828 * mail/rmail.el (mail-encode-mml): Add a defvar.
5829 (rmail-enable-mime-composing): Default to t.
5830 (rmail-forward): Use MIME method of forwarding only if both
5831 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5832 Set mail-encode-mml non-nil if the MIME method was used.
5833
5834 * mail/sendmail.el (mml-to-mime): Add autoload form.
5835 (mail-encode-mml): Add a defvar.
5836 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5837 to nil.
5838 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5839 message through mml-to-mime, and reset mail-encode-mml to nil.
5840
28c45130
GM
58412011-09-09 Glenn Morris <rgm@gnu.org>
5842
5843 * woman.el (woman-if-body): When processing an .el block,
5844 do not delete the next .el block as well. (Bug#9447)
69f4b618 5845 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5846
9b1c252e
MR
58472011-09-08 Martin Rudalics <rudalics@gmx.at>
5848
5849 * window.el (window-deletable-p): Make sure window is live before
5850 invoking window-prev-buffers.
5851
567457e3
LL
58522011-09-08 Leo Liu <sdl.web@gmail.com>
5853
5854 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5855
97f05794
JL
58562011-09-08 Juri Linkov <juri@jurta.org>
5857
5858 * progmodes/compile.el (compilation-environment): Make it
5859 a defcustom (bug#8340).
5860
8b0874b5
MR
58612011-09-08 Martin Rudalics <rudalics@gmx.at>
5862
5863 * window.el (frame-auto-delete): Rename to window-auto-delete.
5864 Make it control auto-deletion of windows and/or frames.
5865 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5866 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5867 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5868 Rewrite handling of case when window/frame can be deleted.
5869 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5870 argument t. (Bug#9456)
8b0874b5 5871
4feb6e73
CY
58722011-09-07 Chong Yidong <cyd@stupidchicken.com>
5873
5874 * help-mode.el (help-mode): Restore autoload.
5875
91ab9c13
JL
58762011-09-07 Juri Linkov <juri@jurta.org>
5877
5878 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5879 `compilation-environment'. Set buffer-local
5880 `compilation-environment' to `thisenv' later after (funcall mode).
5881 (Bug#8340)
5882
5883 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5884 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5885 instead of replacing its value. (Bug#8340)
5886
0527e251
JL
58872011-09-07 Juri Linkov <juri@jurta.org>
5888
5889 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5890 based on text properties put by `grep-filter' instead of matching
5891 escape sequences.
5892 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5893 to the value of `grep-error-screen-columns' (bug#9438).
5894
249f792c
JL
58952011-09-07 Juri Linkov <juri@jurta.org>
5896
5897 * simple.el (next-error-highlight, next-error-highlight-no-select):
5898 Doc fix (bug#9432).
5899
ff7271b9
OT
59002011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5901
5902 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5903 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5904
183fc730
LL
59052011-09-07 Leo Liu <sdl.web@gmail.com>
5906
5907 * net/rcirc.el (rcirc-mode): Conditionally initialize
5908 rcirc-input-ring.
5909
77694924
SM
59102011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * emacs-lisp/find-func.el (find-function-C-source): Only set
5913 find-function-C-source-directory after checking that we found a source
5914 file there (bug#9440).
5915
d809b8eb
AM
59162011-09-06 Alan Mackenzie <acm@muc.de>
5917
5918 * isearch.el (isearch-other-meta-char): Wherever a key list is
5919 unread, "unread" the prefix arg, too. This fixes bug #8901.
5920
453de99f
OG
59212011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5922
5923 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5924
90439906
JL
59252011-09-05 Juri Linkov <juri@jurta.org>
5926
5927 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5928
f62bd846
JL
59292011-09-05 Juri Linkov <juri@jurta.org>
5930
5931 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5932 keeping point where processing of grep matches begins, and
5933 continue to delete remaining escape sequences from the same point.
5934 (grep-filter): Make leading zero optional in "0?1;31m" because
5935 git-grep emits "\033[1;31m" escape sequences unlike expected
5936 "\033[01;31m" as GNU Grep does (bug#9408).
5937 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5938
045820ec
JL
59392011-09-05 Juri Linkov <juri@jurta.org>
5940
5941 * subr.el (y-or-n-p): Capitalize "yes".
5942
f5e29b9b
MA
59432011-09-04 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5946 `tramp-cache-unload-hook' where appropriate.
5947 (tramp-methods): Rename `tramp-remote-sh' to
5948 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5949 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5950
5951 * net/tramp-sh.el (top): Don't require 'shell.
5952 (tramp-methods): Add `tramp-remote-shell' and
5953 `tramp-remote-shell-args' entries.
5954 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5955 (tramp-sh-handle-shell-command): Remove.
5956 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5957 Use `tramp-remote-shell'.
5958
2784c434
CY
59592011-09-03 Chong Yidong <cyd@stupidchicken.com>
5960
393a301e 5961 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5962 (sendmail-query-once): Save directly to send-mail-function.
5963 Update message-send-mail-function too.
5964
5965 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5966
464cdf56
CS
59672011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5968
5969 * progmodes/python.el (python-mode-map): Use correct function to
5970 start python interpreter from menu-bar (as reported by Geert
5971 Kloosterman).
5972 (inferior-python-mode-map): Fix typo.
393a301e 5973 (python-shell-map): Remove.
464cdf56 5974
d37e5c87
DD
59752011-09-03 Deniz Dogan <deniz@dogan.se>
5976
5977 * net/rcirc.el (rcirc-print): Simplify code for
5978 rcirc-scroll-show-maximum-output. There is no need to walk
5979 through all windows to find the right one.
5980
f3ada0ee
CS
59812011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5982
5983 * help.el (help-return-method): Doc fix.
5984
1f3c99ca
MR
59852011-09-03 Martin Rudalics <rudalics@gmx.at>
5986
5987 * window.el (window-deletable-p): Don't return a non-nil value
5988 when there's a buffer that was shown in the window before.
5989 (Bug#9419)
393a301e
SM
5990 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5991 Set window's previous buffers to nil.
1f3c99ca 5992
a3cf097f
EZ
59932011-09-03 Eli Zaretskii <eliz@gnu.org>
5994
5995 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5996 newline before and after the tag line, so it doesn't interfere
5997 with determining the paragraph direction of bidirectional text.
5998
3d03de90
LL
59992011-09-03 Leo Liu <sdl.web@gmail.com>
6000
6001 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6002
c3313451
CY
60032011-09-02 Chong Yidong <cyd@stupidchicken.com>
6004
393a301e 6005 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6006 (pop-to-buffer): Change interactive spec. Pass second argument
6007 directly to display-buffer.
6008 (display-buffer): Fix interactive spec. Use functionp to
6009 distinguish between a function and a list of functions.
6010
6011 * abbrev.el (edit-abbrevs):
6012 * arc-mode.el (archive-extract):
6013 * autoinsert.el (auto-insert):
6014 * bookmark.el (bookmark-bmenu-list):
6015 * files.el (find-file):
6016 * view.el (view-buffer):
6017 * progmodes/compile.el (compilation-goto-locus):
6018 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6019
89894cd8
CY
60202011-09-02 Chong Yidong <cyd@stupidchicken.com>
6021
6022 * window.el (display-buffer-alist): Doc fix.
6023 (display-buffer): Add docstring. Don't treat
6024 display-buffer-default specially.
6025 (display-buffer-reuse-selected-window)
6026 (display-buffer-same-window, display-buffer-maybe-same-window)
6027 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6028 (display-buffer-pop-up-window)
6029 (display-buffer-reuse-or-pop-window)
6030 (display-buffer-use-some-window): New functions.
6031 (display-buffer-default-action): Use them.
393a301e 6032 (display-buffer-default): Delete.
89894cd8
CY
6033 (pop-to-buffer-1): Fix choice of actions.
6034
ae0bc9fb
SM
60352011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * minibuffer.el (completion--insert-strings): Don't get confused by
6038 completion entries that end with an LF char.
6039
e9d90883
EZ
60402011-09-01 Eli Zaretskii <eliz@gnu.org>
6041
6042 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6043
437014c8
CY
60442011-09-01 Chong Yidong <cyd@stupidchicken.com>
6045
6046 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6047 (display-buffer-same-window, display-buffer-other-window):
6048 New functions.
437014c8
CY
6049 (pop-to-buffer-1): New function. Use the above.
6050 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6051 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6052
6053 * view.el (view-buffer-other-window, view-buffer-other-frame):
6054 Just use pop-to-buffer.
6055
a5e063d5
TV
60562011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6057
6058 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6059
793d32bb
WH
60602011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6061
6062 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6063
d65e4c15
RS
60642011-08-31 Richard Stallman <rms@gnu.org>
6065
6066 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6067 of the separation of rmail-view-buffer from rmail-buffer.
6068 If you say no to "replace original", the decrypt is in the
6069 view buffer. If you say yes, the decrypt goes into the
6070 rmail buffer also.
6071
f818cd2a
MR
60722011-08-31 Martin Rudalics <rudalics@gmx.at>
6073
6074 * window.el (display-buffer-window): Rewrite doc-string.
6075 (display-buffer-record-window): New function.
6076 (display-buffer-macro-specifiers)
6077 (display-buffer-even-window-sizes, display-buffer-set-height)
6078 (display-buffer-set-width, display-buffer-in-window)
6079 (display-buffer-reuse-window, display-buffer-split-specifiers)
6080 (display-buffer-side-specifiers, display-buffer-split-window-1)
6081 (display-buffer-split-window, display-buffer-split-atom-window)
6082 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6083 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6084 (display-buffer-other-window-means-other-frame)
6085 (display-buffer-normalize-special)
6086 (display-buffer-normalize-default)
6087 (display-buffer-normalize-argument)
6088 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6089 (display-buffer-normalize-specifiers, display-buffer-frame)
6090 (display-buffer-same-window, display-buffer-same-frame)
6091 (display-buffer-other-window)
6092 (display-buffer-same-frame-other-window)
6093 (display-buffer-other-frame, pop-to-buffer-same-window)
6094 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6095 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6096 (switch-to-buffer-same-frame)
6097 (switch-to-buffer-other-window-same-frame)
6098 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6099 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6100 (display-buffer-alist-set): Remove.
6101 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6102 (special-display-regexps, special-display-function):
6103 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6104 parameter.
6105 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6106 (special-display-frame-alist, special-display-popup-frame)
6107 (same-window-buffer-names, same-window-regexps, same-window-p)
6108 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6109 (split-window-preferred-function, split-height-threshold)
6110 (split-width-threshold, window-splittable-p)
6111 (split-window-sensibly, window--try-to-split-window)
6112 (window--frame-usable-p, even-window-heights)
6113 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6114 (window--display-buffer-2, display-buffer-other-frame):
6115 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6116 (display-buffer-default, display-buffer-assq-regexp): New functions.
6117 (display-buffer-alist): Rewrite doc-string.
6118 (display-buffer-default-action)
6119 (display-buffer-overriding-action): New variables.
6120 (display-buffer, switch-to-buffer): Rewrite.
6121 (pop-to-buffer): Restore Emacs 23 behavior but use
6122 window-normalize-buffer-to-display.
6123 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6124 Restore Emacs 23 behavior but use
6125 window-normalize-buffer-to-switch-to.
6126 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6127 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6128 Rewrite using Emacs 23 options.
f818cd2a 6129
5bc3b51d
MA
61302011-08-31 Michael Albinus <michael.albinus@gmx.de>
6131
6132 * net/tramp.el (tramp-root-regexp): Remove.
6133 (tramp-completion-file-name-regexp-unified)
6134 (tramp-completion-file-name-regexp-separate)
6135 (tramp-completion-file-name-regexp-url): Don't use leading volume
6136 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6137 (tramp-drop-volume-letter): Simplify definition.
6138 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6139
b1a4f8e1
SM
61402011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6143 (bug#9356).
6144
5664fa7b
RT
61452011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6146
b1a4f8e1 6147 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6148
9a45d6c3
JL
61492011-08-29 Juri Linkov <juri@jurta.org>
6150
6151 * isearch.el (isearch-done): Don't display message "Mark saved"
6152 when arg `edit' is non-nil to prevent its flicker in the echo area.
6153
fb87e0fb
CY
61542011-08-28 Chong Yidong <cyd@stupidchicken.com>
6155
6156 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6157 obsolete packages for deletion.
6158
09ac1c2a
CS
61592011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6160
6161 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6162 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6163 view-mode from help-mode.
6164 (help-xref-override-view-map): Remove.
6165 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6166 view-mode is not used anymore.
6167
7a1ff57f
CY
61682011-08-28 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * server.el (server-port): Doc fix.
6171
b9696605
CY
6172 * cus-theme.el (custom-theme-choose-mode): Inherit from
6173 special-mode (Bug#9124).
6174 (custom-theme-choose-mode-map): Add special-mode to parent.
6175
ef8cdf8c
AM
61762011-08-28 Alan Mackenzie <acm@muc.de>
6177
6178 * progmodes/cc-fonts.el
6179 (c-make-font-lock-BO-decl-search-function): New function.
6180 (c-basic-matchers-after - "Fontify the clauses after various
6181 keywords"): Extract the three keyword lists for the 3 erroneous
6182 constructs from the list of four, and use the new function above
6183 in place of an old one.
6184
27de4e20
DD
61852011-08-28 Deniz Dogan <deniz@dogan.se>
6186
6187 * net/rcirc.el (rcirc-insert-prev-input)
6188 (rcirc-insert-next-input): Remove unused argument.
6189
356a3681
SM
61902011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6193
3fc9b218
AM
61942011-08-27 Alan Mackenzie <acm@muc.de>
6195
6196 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6197 handle function pointer parameters properly.
6198
538a061c
MR
61992011-08-27 Martin Rudalics <rudalics@gmx.at>
6200
6201 * window.el (display-buffer-reuse-window): Fix case where
6202 selected window was reused with non-nil OTHER-WINDOW argument.
6203 (Bug#9381)
6204
35b1c40c
DD
62052011-08-27 Deniz Dogan <deniz@dogan.se>
6206
6207 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6208 oftc's NickServ messages.
6209
2f6a3e79
GM
62102011-08-27 Glenn Morris <rgm@gnu.org>
6211
6212 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6213
7254299e
CY
62142011-08-26 Chong Yidong <cyd@stupidchicken.com>
6215
6216 * emacs-lisp/package.el (package-install): Call package-initialize
6217 if called interactively.
6218
f8ccf167
LL
62192011-08-26 Leo Liu <sdl.web@gmail.com>
6220
6221 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6222
3e8cd5ce
JL
62232011-08-25 Juri Linkov <juri@jurta.org>
6224
6225 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6226 `search-whitespace-regexp' (bug#9364).
6227
93eb7113
JL
62282011-08-25 Juri Linkov <juri@jurta.org>
6229
6230 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6231 `regexp-search-ring' to their global values to protect from
6232 updating by `read-from-minibuffer' (bug#9185).
6233
f65d1611
JL
62342011-08-25 Juri Linkov <juri@jurta.org>
6235
6236 * textmodes/ispell.el (ispell-command-loop): Add newline
6237 at the end of the "Use option `i'..." line.
6238
f1cf7a31
JL
62392011-08-25 Juri Linkov <juri@jurta.org>
6240
6241 * battery.el (display-battery-mode): If `battery-status-function'
6242 or `battery-mode-line-format' is nil, display the message and set
6243 `display-battery-mode' to nil (bug#9363).
6244
0c95fcf7
EZ
62452011-08-25 Eli Zaretskii <eliz@gnu.org>
6246
6247 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6248 bidi-string-mark-left-to-right; they are unnecessary now.
6249
a2ebe600
DD
62502011-08-25 Deniz Dogan <deniz@dogan.se>
6251
6252 * net/quickurl.el: Documentation typo fixes.
6253
e4ed06f1
CY
62542011-08-25 Chong Yidong <cyd@stupidchicken.com>
6255
6256 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6257
e5f1c99e
GM
62582011-08-25 Glenn Morris <rgm@gnu.org>
6259
b2948976
GM
6260 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6261
e5f1c99e
GM
6262 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6263 (smtpmail-via-smtp): Handle nil response from smtp.
6264
f22f4808
JL
62652011-08-24 Juri Linkov <juri@jurta.org>
6266
6267 * proced.el (proced-marked): Inherit from `error' instead of
6268 `font-lock-warning-face'.
6269
6270 * ibuffer.el (ibuffer-marked-face): Change default face from
6271 `font-lock-warning-face' to `warning'.
6272 (ibuffer-deletion-face): Change default face from
6273 `font-lock-type-face' to `error'.
6274
6275 * battery.el (battery-update): Use the face `error' instead of
6276 `font-lock-warning-face' (bug#6117).
6277
6a93965e
JL
62782011-08-24 Juri Linkov <juri@jurta.org>
6279
6280 * faces.el (success): Change face color from "Green3" to
6281 "ForestGreen" on light background (bug#9353).
6282
1ed43b09
CY
62832011-08-24 Chong Yidong <cyd@stupidchicken.com>
6284
5664fa7b
RT
6285 * window.el (quit-window): Rename from quit-restore-window.
6286 Use same arglist as old quit-window.
1ed43b09
CY
6287 (frame-auto-delete): Doc fix.
6288
6289 * view.el (view-mode-exit): Use quit-window.
6290
11dcdbb2
JL
62912011-08-24 Juri Linkov <juri@jurta.org>
6292
6293 * isearch.el (isearch-ring-adjust1): Start visiting previous
6294 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6295 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6296 for empty search string (when the last search string is reused
6297 automatically) to adjust the isearch ring to the last element and
6298 prepare the correct index for further M-p commands (bug#9185).
6299
de62b4df
KH
63002011-08-24 Kenichi Handa <handa@m17n.org>
6301
6302 * international/ucs-normalize.el: If decomposition property of
6303 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6304 nil.
6305 (nfd, nfkd): Likewise.
6306
963b492b
SM
63072011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6310 from process filters aren't reliably transmitted to the surrounding
6311 accept-process-output.
6312 (mpc-proc-check): New function.
6313 (mpc-proc-sync): Use it (bug#8293)
6314
93b6b5e1
SM
63152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6318 Add compatibility functions (bug#9313).
6319
bca633fb
EZ
63202011-08-23 Eli Zaretskii <eliz@gnu.org>
6321
b177498a
EZ
6322 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6323
6df6ae42 6324 * international/uni-bidi.el: Regenerate.
bca633fb 6325
0902a04e
KH
63262011-08-23 Kenichi Handa <handa@m17n.org>
6327
6328 * international/charprop.el:
6329 * international/uni-bidi.el:
6330 * international/uni-category.el:
6331 * international/uni-combining.el:
6332 * international/uni-comment.el:
6333 * international/uni-decimal.el:
6334 * international/uni-decomposition.el:
6335 * international/uni-digit.el:
6336 * international/uni-lowercase.el:
6337 * international/uni-mirrored.el:
6338 * international/uni-name.el:
6339 * international/uni-numeric.el:
6340 * international/uni-old-name.el:
6341 * international/uni-titlecase.el:
6342 * international/uni-uppercase.el: Regenerate.
6343
3bbf23bc
MR
63442011-08-23 Martin Rudalics <rudalics@gmx.at>
6345
6346 * help.el (help-window-setup): Fix message displayed when other
6347 window is reused. (Bug#9341)
6348
b3fd59bd
SM
63492011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6350
1802e444
SM
6351 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6352 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6353
b3fd59bd
SM
6354 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6355 Mark obsolete.
6356 * shell.el (shell-parse-pcomplete-arguments): New function.
6357 (shell-completion-vars): Use it instead (bug#9160).
6358
4eb61348
SM
63592011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6360
867cab74
SM
6361 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6362 strings and comments (bug#9333).
6363
4eb61348
SM
6364 * emacs-lisp/debug.el (debug-arglist): New function.
6365 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6366 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6367
262a1439
JL
63682011-08-22 Juri Linkov <juri@jurta.org>
6369
56ee679c
JL
6370 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6371 Revert regexp that highlights output switches to its old
6372 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6373
262a1439
JL
6374 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6375 to check for empty output (bug#9226).
6376
f13f86fb
CY
63772011-08-22 Chong Yidong <cyd@stupidchicken.com>
6378
6379 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6380 symbol-constituent as the default, as that stops font-lock from
6381 working properly (Bug#8843).
6382
c65c9622
LMI
63832011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6384
6385 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6386 `coding-system-for-*' around the process open call to avoid
6387 auth-source side effects.
e7f2c178 6388 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6389 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6390 probe hangs.
c65c9622 6391
23a8a5ab
CY
63922011-08-21 Chong Yidong <cyd@stupidchicken.com>
6393
ff98b2dd
CY
6394 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6395
23a8a5ab
CY
6396 * emacs-lisp/find-func.el (find-function-noselect): New arg
6397 lisp-only.
6398
6399 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6400 signal an error for built-in functions (Bug#6664).
6401
f5e3c598
LMI
64022011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6403
6404 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6405 (smtpmail-try-auth-methods): Use it.
6406
a3f2468a
CY
64072011-08-21 Chong Yidong <cyd@stupidchicken.com>
6408
2c34e8da
CY
6409 * font-lock.el (font-lock-fontify-region)
6410 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6411 (font-lock-default-unfontify-buffer)
6412 (font-lock-default-fontify-region)
6413 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6414
b3fd59bd
SM
6415 * progmodes/compile.el (compilation-error-properties):
6416 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6417 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6418 `ant' regexp.
ee31aabc 6419
a3f2468a
CY
6420 * net/browse-url.el (browse-url-firefox): Don't call
6421 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6422
8e999f70
GM
64232011-08-20 Glenn Morris <rgm@gnu.org>
6424
c21a496a
GM
6425 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6426
59ee0542
GM
6427 * tutorial.el (tutorial--default-keys): Update some default bindings.
6428
8e999f70
GM
6429 * files.el (hack-local-variables): Fully ignore case for "mode:".
6430
e3715033
AM
64312011-08-20 Alan Mackenzie <acm@muc.de>
6432
6433 Resolve invalid use of a regexp in regexp-opt.
6434
4d61f28d
JB
6435 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6436 detection for a java annotation.
e3715033 6437
4d61f28d 6438 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6439 detection for a java annotation.
6440
4d61f28d
JB
6441 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6442 handling for java.
e3715033
AM
6443 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6444
04ed2e9c
CY
64452011-08-20 Chong Yidong <cyd@stupidchicken.com>
6446
6447 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6448 (Bug#9274).
6449
826cee64
AM
64502011-08-20 Alan Mackenzie <acm@muc.de>
6451
58179cce 6452 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6453 such a construct. Mainly for when jit-lock etc. starts a chunk
6454 here.
6455
58179cce 6456 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6457 variable.
58179cce 6458 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6459 c-make-font-lock-search-function.
6460 (c-make-font-lock-search-function): Use the above function.
6461 (c-make-font-lock-context-search-function): New function.
6462 (c-cpp-matchers): Enhance the preprocessor expression case with
6463 the above function
6464 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6465 which takes an expression.
6466
6467 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6468
13009bd8
MR
64692011-08-20 Martin Rudalics <rudalics@gmx.at>
6470
6471 * window.el (display-buffer-reuse-window)
6472 (display-buffer-pop-up-window): Don't reuse or split a side
6473 window.
6474
9234ff7f
GM
64752011-08-19 Glenn Morris <rgm@gnu.org>
6476
6477 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6478 Downcase "Mode:". (Bug#9331)
9234ff7f 6479
f635daa1
CY
64802011-08-18 Chong Yidong <cyd@stupidchicken.com>
6481
6482 * international/characters.el: Add L and R categories.
6483
6484 * subr.el (bidi-string-mark-left-to-right): Rename from
6485 string-mark-left-to-right. Use category search.
6486
6487 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6488
bc987f8b
JL
64892011-08-18 Juri Linkov <juri@jurta.org>
6490
6491 * faces.el (error, warning, success): New faces with definitions
6492 copied from old default values of `font-lock-warning-face',
6493 `compilation-warning', `compilation-info' (bug#6117).
6494
6495 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6496
6497 * progmodes/compile.el (compilation-error): Inherit from `error'.
6498 (compilation-warning): Inherit from `warning'.
6499 (compilation-info): Inherit from `success'.
6500
6501 * dired.el (dired-marked): Inherit from `warning'.
6502 (dired-flagged): Inherit from `error'.
6503
57173b96
LMI
65042011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6505
3e79eb87
LMI
6506 * mail/smtpmail.el (auth-source): Require to avoid problems with
6507 binding variables (bug#9298). Also clean up some unused
6508 autoloads.
6509
b3fd59bd
SM
6510 * net/network-stream.el (network-stream-open-starttls):
6511 Support using starttls.el without using gnutls-cli.
57173b96 6512
02b404de
JL
65132011-08-17 Juri Linkov <juri@jurta.org>
6514
6515 * progmodes/grep.el (rgrep): Handle the case when
6516 `grep-find-command' is a cons cell (bug#9278).
6517
8c9177f2
MR
65182011-08-17 Martin Rudalics <rudalics@gmx.at>
6519
6520 * window.el (display-buffer-pop-up-frame): Run frame creation
6521 function with BUFFER current (as special-display-popup-frame
6522 does). Reported by Drew Adams.
6523
3644a0ab
DU
65242011-08-17 Daiki Ueno <ueno@unixuser.org>
6525
6526 * epa-mail.el: Simplify GnuPG group expansion using
6527 epg-expand-group.
6528 (epa-mail-group-alist, epa-mail-group-modtime)
6529 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6530 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6531 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6532 Remove.
6533
5e617bc2 65342011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6535
6536 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6537
9c4aeabf
AM
65382011-08-16 Alan Mackenzie <acm@muc.de>
6539
6540 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6541 Correct, to avoid the inside of macros.
6542
3a99bf64
RS
65432011-08-16 Richard Stallman <rms@gnu.org>
6544
04963aa8
RS
6545 * epa-mail.el: Handle GnuPG group definitions.
6546 (epa-mail-group-alist, epa-mail-group-modtime)
6547 (epa-mail-gnupg-conf-file): New variables.
6548 (epa-mail-parse-groups, epa-mail-sync-groups)
6549 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6550 (epa-mail-expand-recipients): New functions.
6551 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6552
177549d0
RS
6553 * mail/rmail.el (rmail-epa-decrypt): New command.
6554
fe38beef
RS
6555 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6556 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6557 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6558 (epa-decrypt-armor-in-region): Make error message clearer.
6559
934eacb9
SM
65602011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6563 and "a2b" to "ab" for `prefix'.
6564
d024fb4e
CY
65652011-08-14 Chong Yidong <cyd@stupidchicken.com>
6566
6567 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6568 filter groups.
de148fee
CY
6569 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6570 Fourquet (Bug#8804).
d024fb4e 6571
62f1ca49
JB
65722011-08-12 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * startup.el (argi): Declare as global variable (bug#9275).
6575
9ccaaa4b
CY
65762011-08-12 Chong Yidong <cyd@stupidchicken.com>
6577
6578 * subr.el (string-mark-left-to-right): Search the entire string
6579 for RTL script, not just the terminating character. Doc fix.
6580
a3dae87a
SM
65812011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6cd18349
SM
6583 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6584 New function.
6585 (js--regexp-literal, js-syntax-propertize-function): Remove.
6586 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6587 (js-mode-map): Don't rebind electric keys.
6588 (js-insert-and-indent): Remove.
6589 (js-mode): Setup electric-layout and electric-indent instead.
6590
a3dae87a
SM
6591 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6592
9d5cb631
DU
65932011-08-12 Daiki Ueno <ueno@unixuser.org>
6594
6595 * epa.el (epa-progress-callback-function): Fix the logic of
6596 displaying progress.
6597 * epa-file.el (epa-file-insert-file-contents): Make progress
6598 display more user-friendly.
6599 (epa-file-write-region): Ditto.
6600
3e26a4a2
CY
66012011-08-10 Chong Yidong <cyd@stupidchicken.com>
6602
6603 * subr.el (string-mark-left-to-right): New function.
6604
6605 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6606 Use string-mark-left-to-right.
6607 (list-buffers-noselect): Caller changed.
6608
a3dae87a
SM
6609 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6610 Use string-mark-left-to-right.
3e26a4a2
CY
6611 (tabulated-list-print): Recenter after moving point.
6612
ac8cf6e6
JL
66132011-08-10 Juri Linkov <juri@jurta.org>
6614
6615 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6616 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6617 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6618
8d96c9a4
CY
66192011-08-09 Chong Yidong <cyd@stupidchicken.com>
6620
6621 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6622 (Bug#7554).
6623
7be1c708 66242011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6625
6626 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6627 character. (Bug#6594)
6628
37e11a63
CY
66292011-08-08 Chong Yidong <cyd@stupidchicken.com>
6630
839dde57
CY
6631 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6632 (image-dired--with-db-file): New macro.
6633 (image-dired-write-tags, image-dired-remove-tag)
6634 (image-dired-create-gallery-lists, image-dired-write-comments)
6635 (image-dired-get-comment, image-dired-mark-tagged-files)
6636 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6637 (image-dired-gallery-generate): Use insert-file-contents.
6638
37e11a63
CY
6639 * time.el (display-time-world-list, display-time-world-display):
6640 * time-stamp.el (time-stamp-string):
6641 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6642 set-time-zone-rule (Bug#7337).
6643
0b4946c4
DU
66442011-08-08 Daiki Ueno <ueno@unixuser.org>
6645
6646 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6647 (epg-error-to-string, epg-errors-to-string): New function.
6648 (epg-wait-for-completion): Reverse errors list.
6649 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6650 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6651 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6652 (epg-sign-keys, epg-generate-key-from-file)
6653 (epg-generate-key-from-string): Format errors by using
6654 epg-errors-to-string (bug#9255).
6655 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6656
75bfc667
JL
66572011-08-07 Juri Linkov <juri@jurta.org>
6658
6659 * faces.el (list-faces-display): Remove extra angle bracket
6660 from `help-mode-map'.
6661
6662 * info.el (Info-history-toc-nodes): Doc fix.
6663
6664 * longlines.el (longlines-mode): Doc fix.
6665
673e08bb
SM
66662011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6667
4640dd88
SM
6668 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6669 of statements and in a few more cases (bug#9183).
6670
673e08bb
SM
6671 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6672 New functions.
6673 (cl-transform-lambda): Use them (bug#9239).
6674
89b3f019
MR
66752011-08-05 Martin Rudalics <rudalics@gmx.at>
6676
6677 * window.el (display-buffer-same-window)
6678 (display-buffer-same-frame, display-buffer-other-window)
6679 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6680 (pop-to-buffer-other-window)
6681 (pop-to-buffer-same-frame-other-window)
6682 (pop-to-buffer-other-frame): Make them defuns.
6683 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6684
640c8776
SM
66852011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * subr.el (make-composed-keymap): Move from C. Change calling
6688 convention, and improve docstring to bring attention to a subtle point.
6689 * minibuffer.el (completing-read-default): Adjust accordingly.
6690
63648a95
MA
66912011-08-03 Michael Albinus <michael.albinus@gmx.de>
6692
6693 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6694 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6695
6696 * net/trampver.el: Update release number.
6697
b796c9b7
SM
66982011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6701 "in" (bug#9190).
6702
2239d7d5
LMI
67032011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
e07dd7c3
LMI
6705 * mail/sendmail.el (sendmail-query-once): Restore the current
6706 buffer after querying (bug#9074).
6707
0e6a2bd7
LMI
6708 * dired.el (dired-flagged): Use different faces for marked and
6709 flagged files (bug#6117).
6710
ce887515
LMI
6711 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6712 (bug#4433).
6713
92f2affc
LMI
6714 * ido.el (ido-mode): Switch off the message if called
6715 non-interactively.
6716
57d5aff0
LMI
6717 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6718 before 587, since it appears that that's more likely to work for
6719 more people.
6720
98cd6c18 6721 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6722 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6723 exist.
6724
b96dec83
LMI
6725 * info.el: Remove the `Info-beginning-of-buffer' function
6726 (bug#8325).
6727
b796c9b7
SM
6728 * net/network-stream.el (network-stream-open-starttls):
6729 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6730
d90e2ea0
MR
67312011-08-01 Martin Rudalics <rudalics@gmx.at>
6732
6733 * window.el (display-buffer-in-window): Don't set dedicated status
6734 of window here (Bug#9215).
6735 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6736 (display-buffer-pop-up-side-window)
b796c9b7 6737 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6738
cca09170
SM
67392011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6742 before binding generated-autoload-file.
6743
027b979c
DD
67442011-08-01 Deniz Dogan <deniz@dogan.se>
6745
6746 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6747
3c7ee4f3
MA
67482011-07-30 Michael Albinus <michael.albinus@gmx.de>
6749
6750 Sync with Tramp 2.2.2.
6751
6752 * net/trampver.el: Update release number.
6753
2cc8e51a
JL
67542011-07-30 Juri Linkov <juri@jurta.org>
6755
6756 * dired-aux.el (dired-touch-initial): Remove function.
6757 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6758 current time, and `default' to the last modification time of the
6759 current marked file (bug#6887).
6760
a514d856
JM
67612011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6762
6763 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6764 numeric argument to read-number (bug#9163).
a514d856 6765
8a7eddd7
MA
67662011-07-27 Michael Albinus <michael.albinus@gmx.de>
6767
6768 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6769 connection process, it could be nil.
6770
1ddd96f5
LL
67712011-07-27 Leo Liu <sdl.web@gmail.com>
6772
6773 Simplify url handling in rcirc-mode.
6774
6775 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6776 (rcirc-browse-url-at-mouse): Remove.
6777 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6778
b248a85d
AM
67792011-07-26 Alan Mackenzie <acm@muc.de>
6780
6781 Fontify bitfield declarations properly.
6782
6783 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6784 (c-symbol-chars): Now exported as a lang variable.
6785 (c-not-primitive-type-keywords): New lang variable.
6786
6787 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6788 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6789 parsed as a bitfield declaration.
b248a85d 6790
b796c9b7
SM
6791 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6792 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6793 (c-punctuation-in): New function.
6794 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6795 declarations properly.
6796
68575ab0
UJ
67972011-07-26 Ulf Jasper <ulf.jasper@web.de>
6798
6799 * calendar/icalendar.el (icalendar--all-events): Take care of
6800 multiple vcalendars in a single file.
b796c9b7 6801 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6802
0f0a88b9
DD
68032011-07-25 Deniz Dogan <deniz@dogan.se>
6804
6805 * image.el (insert-image): Clarifying docstring.
6806
0b3f36df
MA
68072011-07-24 Michael Albinus <michael.albinus@gmx.de>
6808
6809 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6810 `tramp-send-command-and-check' if there is no error.
6811 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6812
a9901f61
AM
68132011-07-22 Alan Mackenzie <acm@muc.de>
6814
6815 Prevent cc-langs.elc being loaded at run time.
6816
6817 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6818 cc-langs.
6819
4d61f28d 6820 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6821 "(require 'cc-langs)". Quote a form so it will evaluate at
6822 (cc-mode's) compilation time.
6823
11d074b2
MA
68242011-07-22 Michael Albinus <michael.albinus@gmx.de>
6825
6826 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6827 loading. (Bug#9114)
6828
938b94c8
MR
68292011-07-21 Martin Rudalics <rudalics@gmx.at>
6830
6831 * window.el (display-buffer-pop-up-window)
6832 (display-buffer-pop-up-side-window)
6833 (display-buffer-in-side-window): Call display-buffer-set-height
6834 and display-buffer-set-width after setting the new window's
b796c9b7 6835 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6836
bfa4f190
SS
68372011-07-20 Sam Steingold <sds@gnu.org>
6838
6839 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6840 (etags-tags-included-tables): Call `convert-standard-filename' on
6841 the file names contained in TAGS so that windows Emacs can handle
6842 TAGS files created by cygwin ctags.
6843
8ca42262
LMI
68442011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6845
6846 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6847 which apparently didn't work.
6848
5db2afd2 68492011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6850
5db2afd2
RW
6851 * proced.el (proced-send-signal): For *Marked Processes* buffer
6852 put point at beginning of buffer.
6853
92e15d10
SB
68542011-07-19 Stephen Berman <stephen.berman@gmx.net>
6855
6856 * proced.el (proced-format): Make header lines align with the text
6857 (bug#1779).
6858
1bfd59e5
LMI
68592011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6860
6861 * view.el (view-buffer): Allow running in `special' modes if we're
6862 visiting a file (bug#8615).
6863
f5aae37c
MR
68642011-07-19 Martin Rudalics <rudalics@gmx.at>
6865
6866 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6867 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6868 New functions.
f5aae37c
MR
6869 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6870 more accurately.
6871
bf2c1571
AM
68722011-07-18 Alan Mackenzie <acm@muc.de>
6873
6874 Fontify declarators properly when, e.g., a jit-lock chunk begins
6875 inside a declaration.
6876
6877 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6878
b796c9b7
SM
6879 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6880 New function.
bf2c1571
AM
6881 (c-complex-decl-matchers): Insert reference to
6882 c-font-lock-enclosing-decls.
6883
6884 * progmodes/cc-engine.el (c-backward-single-comment):
6885 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6886 to nil around calls to (forward-comment -1).
6887
4e190b80
LMI
68882011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6889
12dc863d
LMI
6890 * image.el (put-image): Doc typo fix.
6891
a762e966
LMI
6892 * progmodes/etags.el (tags-search): Doc typo fix.
6893
4e190b80
LMI
6894 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6895 password if we get errors 550 to 554.
6896
f019fb21
LMI
68972011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6898
b796c9b7 6899 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6900
81746738
LMI
6901 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6902 indentation character (bug#6380).
6903
3ee3a1b5
LMI
6904 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6905
c82f64de
LMI
6906 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6907 to clarify what the problem is (bug#4291).
6908
f019fb21
LMI
6909 * simple.el (current-kill): Clarify what
6910 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6911 (auto-fill-mode): Document `auto-fill-function' in relation to
6912 `auto-fill-mode' (bug#2470).
f019fb21 6913
0794775d
LM
69142011-07-16 Lawrence Mitchell <wence@gmx.li>
6915
6916 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6917 method if slot is read-only (bug#9035).
6918
be39b8cc
MR
69192011-07-16 Martin Rudalics <rudalics@gmx.at>
6920
b796c9b7 6921 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6922 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6923 selected before, see discussion of (Bug#8615), (Bug#6954).
6924 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6925
6ccf7859
GM
69262011-07-15 Glenn Morris <rgm@gnu.org>
6927
6928 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6929 Respect help-form.
6ccf7859 6930
87e86684
LM
69312011-07-09 Lawrence Mitchell <wence@gmx.li>
6932
6933 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6934 (gnutls-negotiate): Use it.
6935
d6066239
LMI
69362011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6937
b796c9b7
SM
6938 * net/gnutls.el (gnutls-negotiate):
6939 Upcase `gnutls-algorithm-priority'.
d6066239 6940
bd23ebc0
GM
69412011-07-15 Glenn Morris <rgm@gnu.org>
6942
c65bca65
GM
6943 * jka-compr.el (jka-compr-verbose): Move from here...
6944 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6945 Add missing :version tag.
6946 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6947
478615cc
LMI
69482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6949
7b41decb
LMI
6950 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6951 (gnutls-negotiate): Use it.
6952
dbc44fcd
LMI
6953 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6954
06789f97
LMI
6955 * info.el (Info-beginning-of-buffer): New command.
6956 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6957 announcing `b' as the key (bug#8325).
ab896c37 6958 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6959
c39da690
LMI
6960 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6961
3aa5f34b
LMI
6962 * international/mule-cmds.el
6963 (describe-specified-language-support): Make the error message
6964 clearer (bug#8905).
6965
4bf0979f
LMI
6966 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6967
478615cc
LMI
6968 * isearch.el (isearch-barrier): Add a doc string, since it's
6969 mentioned in a function doc string (bug#8678).
6970
75c68aa1
MR
69712011-07-15 Martin Rudalics <rudalics@gmx.at>
6972
6973 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6974 buffer argument (Bug#9083) and self-identifying label argument.
6975
a7c33da2
GM
69762011-07-15 Glenn Morris <rgm@gnu.org>
6977
6978 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6979
2f5c6024
LMI
69802011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6981
6982 * man.el (Man-fontify-manpage): Fix message when formatting the
6983 man page (bug#7929).
6984
0bb23927 69852011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6986
6987 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6988 argument LRM; if non-nil, append an invisible LRM character to the
6989 buffer name.
6990 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6991 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6992 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6993 paragraph direction.
cce4b0a7 6994
621ef9ab
LMI
69952011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6996
d1583c48
LMI
6997 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6998 the man page name (bug#7929).
6999
6a57fb5f
LMI
7000 * image.el (put-image): Mention the `put-image' overlay property
7001 (bug#7834).
7002
d7956b14
LMI
7003 * scroll-bar.el (set-scroll-bar-mode): Mention that
7004 `scroll-bar-mode' lists the values (bug#7772).
7005
5b2d4a66
LMI
7006 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7007 command (bug#7729).
7008
7509a874
LMI
7009 * rect.el (apply-on-rectangle): Return the point after the last
7010 operation.
7011 (string-rectangle): Go to the point after the last operation
7012 (bug#7522).
7013
4fe74b19
LMI
7014 * printing.el (pr-toggle-region): Clarify the documentation
7015 slightly (bug#7493).
7016
b796c9b7
SM
7017 * time.el (display-time-update):
7018 Allow `display-time-mail-function' to return nil (bug#7158).
7019 Fix suggested by Detlev Zundel.
ab283561 7020
fc233c9d
LMI
7021 * vc/diff.el (diff): Clarify the order the file names are read
7022 (bug#7111).
7023
43f5740b
LMI
7024 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7025 the doc string (bug#7015).
7026
f2182a76
LMI
7027 * font-lock.el (font-lock-maximum-decoration): Mention what
7028 numeric levels mean (bug#6935).
7029
621ef9ab
LMI
7030 * startup.el (initial-buffer-choice): Don't mention the `none'
7031 selection, which is against policy.
7032
adc47434
MR
70332011-07-14 Martin Rudalics <rudalics@gmx.at>
7034
b796c9b7
SM
7035 * window.el (display-buffer-normalize-special):
7036 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7037
7e5bfb8f
EZ
70382011-07-14 Eli Zaretskii <eliz@gnu.org>
7039
7040 * subr.el (version<, version<=, version=): Mention "-CVS" and
7041 "-12345" alpha version numbers.
7042
27fa387a
CY
70432011-07-14 Chong Yidong <cyd@stupidchicken.com>
7044
7045 * bindings.el: Add advertised binding for set-mark-command
7046 (Bug#5772).
7047
8bdfa064
CY
70482011-07-14 Chong Yidong <cyd@stupidchicken.com>
7049
7050 * bindings.el (mode-line-other-buffer):
7051 * bookmark.el (bookmark-bmenu-2-window):
7052 * bs.el (bs-cycle-next, bs-cycle-previous):
7053 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7054 switch-to-buffer.
7055
7056 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7057 Delete.
8bdfa064 7058
5eba16a3
JB
70592011-07-14 Juanma Barranquero <lekktu@gmail.com>
7060
7061 * follow.el (follow-debug-message, follow-redisplay):
7062 * jka-cmpr-hook.el (with-auto-compression-mode):
7063 Fix typos in docstrings.
7064
15853710
LMI
70652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7066
a28e4607
LMI
7067 * subr.el (with-silent-modifications): Clarify somewhat what the
7068 macro inhibits (bug#6525).
7069
15853710
LMI
7070 * simple.el (eval-expression): Note what it does if called
7071 interactively (bug#6495).
7072
bee0fcef
CY
70732011-07-13 Chong Yidong <cyd@stupidchicken.com>
7074
b796c9b7
SM
7075 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7076 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7077
7078 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7079 Remove switch-to-buffer.
7080
58274504
LMI
70812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7082
bd2fcc8d
LMI
7083 * files.el (make-directory): Clarify that an error will be raised
7084 if there's an error (bug#6397).
7085
0f04b32c
LMI
7086 * startup.el (initial-buffer-choice): Add `none' as a choice
7087 (bug#6234).
7088
465c5fc8
LMI
7089 * subr.el (add-hook): Clarify section about buffer-local hooks
7090 (bug#6218).
7091
58274504
LMI
7092 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7093
bead9a43
JB
70942011-07-13 Juanma Barranquero <lekktu@gmail.com>
7095
7096 * tabify.el (untabify): Preserve the current column so that point
7097 doesn't move (bug#6032).
7098
3af98a7b
LMI
70992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7100
b796c9b7
SM
7101 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7102 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7103
6240145a
GM
71042011-07-13 Glenn Morris <rgm@gnu.org>
7105
7106 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7107 (dired-insert-directory): Give a message the first time
7108 if ls is found not to support --dired.
7109
1d8c2ccc
LMI
71102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7111
7112 * simple.el (toggle-truncate-lines): Clarify what is toggled
7113 (bug#5580). Text by Drew Adams.
7114
5fc4038e
CY
71152011-07-13 Chong Yidong <cyd@stupidchicken.com>
7116
7117 * simple.el (blink-matching-open): Make the error message from the
7118 last change less verbose.
7119
bf6012e5
DN
71202011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7121
7122 * font-lock.el (font-lock-comment-face): Use the high contrast
7123 "yellow" color for font-lock-comment-face on low color terminals
7124 using a dark background color (bug#4221).
7125
343c3b5a
LMI
71262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7127
7e9505c5
LMI
7128 * dired.el (dired-insert-set-properties): Make the doc string
7129 reflect what it does now (bug#5325).
7130
c26fdcf5
LMI
7131 * simple.el (blink-matching-open): Say that we were unable to find
7132 the match within the limit, if we're limited (bug#5122).
7133
bb388cc5
LMI
7134 * international/mule-cmds.el (prefer-coding-system): Add an
7135 example (bug#4869).
7136
343c3b5a
LMI
7137 * progmodes/etags.el (tags-search): Document `file-list-form'
7138 (bug#4731).
7139
2a517d45
LM
71402011-07-13 Lawrence Mitchell <wence@gmx.li>
7141
7142 * net/browse-url.el (browse-url-default-browser)
7143 (browse-url-browser-function): Make the default browser choice a
7144 bit more logical (bug#4300). Also clean up the doc string.
7145
b6c78ef2
JB
71462011-07-13 Juanma Barranquero <lekktu@gmail.com>
7147
7148 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7149 binary endings (bug#4440).
7150
1c4dd947
LMI
71512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7152
a2014063
LMI
7153 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7154 which can be pretty annoying (bug#8971).
7155
9c9c2d88
LMI
7156 * jka-compr.el (jka-compr-verbose): New variable, and use
7157 throughout (bug#8971).
7158
1c4dd947
LMI
7159 * info.el (Info-find-file): Fall back on the installation
7160 directory if we can't find the info node anywhere else.
7161
a1c9f41b
SO
71622011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7163
7164 * vc/vc.el (vc-revert-file):
7165 Don't set file time-stamp in the past. (Bug#5181)
7166
536f3d36
LMI
71672011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7168
7152b011
LMI
7169 * files.el (after-find-file): Give a better error message when
7170 trying to find a symlink that points to a file that doesn't exist
7171 (bug#4398).
7172
536f3d36
LMI
7173 * progmodes/cc-vars.el: Remove (probably) misleading comment
7174 (bug#4396).
7175
460c0fba
JB
71762011-07-12 Johan Bockgård <bojohan@gnu.org>
7177
7178 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7179
7a6bda45
CY
71802011-07-12 Chong Yidong <cyd@stupidchicken.com>
7181
7182 * mouse-sel.el: Hack restoring functionality, while keeping
7183 compatibility with 2010-07-03 changes to mouse selection.
7184 (mouse-sel-primary-overlay): New var.
7185 (mouse-sel-selection-alist): Use it.
7186 (mouse-sel-mode): Doc fix; remove points that are default features
7187 of mouse.el.
7188
c79598ef
JB
71892011-07-12 Johan Bockgård <bojohan@gnu.org>
7190
7191 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7192 Fix previous fix (bug#2490).
7193
ff8be6ef
RW
71942011-07-12 Roland Winkler <winkler@gnu.org>
7195
b796c9b7
SM
7196 * textmodes/bibtex.el (bibtex-initialize):
7197 Use pop-to-buffer-same-window.
ff8be6ef
RW
7198 (bibtex-search-entries): Fix interactive call.
7199
296ba3ee
LMI
72002011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201
f5242a02 7202 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7203 Fontise bytecomp Error lines more correctly (bug#2490).
7204 Fix suggested by Johan Bockgård.
f5242a02 7205
296ba3ee
LMI
7206 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7207
7208 * dired-x.el (dired-guess-default): Use `delete-dups'.
7209
f69fd0d2
CY
72102011-07-12 Chong Yidong <cyd@stupidchicken.com>
7211
7212 * dired.el (dired-mark-prompt):
7213 * dired-aux.el (dired-read-shell-command): Doc fix.
7214
eab5dc07
LMI
72152011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7216
b796c9b7
SM
7217 * mail/sendmail.el (sendmail-query-once):
7218 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7219 emacs -Q.
7220
7221 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7222
eab5dc07
LMI
7223 * cus-edit.el (custom-file): Take an optional no-error variable.
7224 (customize-save-variable): Set the variable, and give a warning if
7225 running under "emacs -q".
7226
a1e65d42
JB
72272011-07-11 Juanma Barranquero <lekktu@gmail.com>
7228
7229 * loadhist.el (unload-feature-special-hooks):
7230 Add `auto-coding-functions', `fill-nobreak-predicate' and
7231 `find-directory-functions' (bug#5327).
7232
1d52da10
LMI
72332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7234
be958f1d
LMI
7235 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7236
5bedb26c
LMI
7237 * cus-edit.el (custom-guess-name-alist): -alist variables should
7238 use the `alist' type (bug#3120). Suggested by Drew Adams.
7239
1d52da10
LMI
7240 * printing.el: Add documentation to all the `pr-toggle-' commands.
7241
cd394be1 72422011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7243
7244 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7245 backends where it makes sense (bug#2623).
7246
dcc88d8a
LMI
72472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7248
c3de9feb
LMI
7249 * dired-x.el (dired-guess-default): Remove duplicate shell command
7250 entries (bug#2028).
8a93078b 7251 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7252 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7253
dcc88d8a
LMI
7254 * subr.el (remove-duplicates): New conveniency function.
7255
505e3645
LMI
72562011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7257
7258 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7259 (bug#1526).
7260
72612011-07-10 Martin Rudalics <rudalics@gmx.at>
7262
7263 * window.el (display-buffer-normalize-default): Don't invert
7264 meaning of even-window-heights. Reported by Eli Zaretskii
7265 <eliz@gnu.org>.
7266
455e4fa1
BR
72672011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7268
7269 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7270
8e0bc3e9
CY
72712011-07-10 Chong Yidong <cyd@stupidchicken.com>
7272
7273 * window.el (display-buffer): Fix arguments to
7274 display-buffer-reuse-window in last change.
7275
fa7c3228
CY
7276 * faces.el (link): Use a less saturated blue on light backgrounds.
7277
7278 * startup.el (fancy-startup-text, fancy-about-text)
7279 (fancy-startup-tail): Use font-lock faces, for background safety.
7280
c0a7f300
BN
72812011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7282
b796c9b7
SM
7283 * emulation/viper-cmd.el (viper-change-state-to-vi):
7284 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7285
4dc2a129
MR
72862011-07-09 Martin Rudalics <rudalics@gmx.at>
7287
7288 * window.el (display-buffer-default-specifiers): Remove.
7289 (display-buffer-macro-specifiers): Remove default specifiers.
7290 (display-buffer-alist): Default to nil.
b796c9b7 7291 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7292 (display-buffer-pop-up-window): Allow splitting internal
7293 windows. Check whether a live window was created.
7294 (display-buffer-other-window-means-other-frame)
7295 (display-buffer-normalize-arguments): Rename to
7296 display-buffer-normalize-argument and rewrite. Set the
7297 other-window specifier.
7298 (display-buffer-normalize-special): New function.
7299 (display-buffer-normalize-options): Rename to
7300 display-buffer-normalize-default and rewrite.
7301 (display-buffer-normalize-options-inhibit): Remove.
7302 (display-buffer-normalize-specifiers): Rewrite.
7303 (display-buffer): Process other-window specifier and call
7304 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7305 more faithfully.
b796c9b7 7306 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7307 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7308 (display-buffer-in-window, display-buffer-alist-set):
7309 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7310 <tassilo@member.fsf.org>.
7311
2d43b8c9
LL
73122011-07-09 Leo Liu <sdl.web@gmail.com>
7313
7314 * register.el (insert-register): Restore accidental change on
7315 2011-06-26. (Bug#9028)
7316
7f9b7c53
GM
73172011-07-09 Glenn Morris <rgm@gnu.org>
7318
7319 * subr.el (remq): Handle the empty list. (Bug#9024)
7320
f042cfd8
AS
73212011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7322
7323 * mail/sendmail.el (send-mail-function): No longer delay custom
7324 initialization.
7325 * custom.el (custom-initialize-delay): Doc fix.
7326
856b2f11
SM
73272011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7330
afae1d68
MA
73312011-07-08 Michael Albinus <michael.albinus@gmx.de>
7332
7333 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7334 human-friendly prompt.
7335
0757af94
SM
73362011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7339 provided by a particular plugin.
7340
d760b731
LMI
73412011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342
7343 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7344 save customizations (with "emacs -Q"), just set the variable
7345 instead of erroring out.
7346
7347 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7348
cd79ce90
JL
73492011-07-08 Juri Linkov <juri@jurta.org>
7350
7351 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7352 (archive-zip-update-case): Use 7z if found by `executable-find'.
7353 The order of searching the available programs is the same as in
7354 `archive-zip-extract' (bug#8968).
7355
14cc04aa
CY
73562011-07-07 Chong Yidong <cyd@stupidchicken.com>
7357
7358 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7359 (menu-bar-options-menu): Tweak descriptions.
7360
0a1848ec
LMI
73612011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7362
7363 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7364 menu items into verb phrases (bug#1421). Also refill to fit under
7365 80 columns.
7366
f5bd0689
CY
73672011-07-07 Chong Yidong <cyd@stupidchicken.com>
7368
538e85c6
CY
7369 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7370 (Info-read-node-name): Doc fix (Bug#1084).
7371
f5bd0689
CY
7372 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7373 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7374 (end-of-sexp, beginning-of-sexp)
7375 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7376 (forward-symbol, forward-same-syntax, word-at-point)
7377 (sentence-at-point): Doc fix (Bug#1144).
7378
56ec5115
LMI
73792011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7380
f3f8e37f
LMI
7381 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7382 should cover it (bug#1281).
7383
0757af94 7384 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7385
e9fce1ac 7386 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7387 negotiation fails, then possibly try again with a non-encrypted
7388 connection (bug#9017).
7389
56ec5115
LMI
7390 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7391 be used.
7392
c2f9aec8
RS
73932011-07-07 Richard Stallman <rms@gnu.org>
7394
7395 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7396 property, and handle its changed format.
7397 Look for the correct line number.
7398 Use file's line contents (but not past first =) to find
7399 correct line in message.
7400
ef7b981d 74012011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7402
7403 * international/characters.el (build-unicode-category-table):
7404 Delete it.
0757af94 7405 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7406
0757af94 7407 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7408 to src/chartab.c.
7409 (get-char-code-property): Call unicode-property-table-internal to
7410 load a file. Call get-unicode-property-internal where necessary.
7411 (put-char-code-property): Call unicode-property-table-internal to
7412 load a file. Call put-unicode-property-internal where necessary.
7413 put-unicode-property-internal where necessary.
0757af94
SM
7414 (char-code-property-description):
7415 Call unicode-property-table-internal to load a file.
c805dec0
KH
7416
7417 * international/charprop.el:
7418 * international/uni-bidi.el:
7419 * international/uni-category.el:
7420 * international/uni-combining.el:
7421 * international/uni-comment.el:
7422 * international/uni-decimal.el:
7423 * international/uni-decomposition.el:
7424 * international/uni-digit.el:
7425 * international/uni-lowercase.el:
7426 * international/uni-mirrored.el:
7427 * international/uni-name.el:
7428 * international/uni-numeric.el:
7429 * international/uni-old-name.el:
7430 * international/uni-titlecase.el:
7431 * international/uni-uppercase.el: Regenerate.
7432
7433 * loadup.el: Load international/charprop.el before
7434 international/characters.
7435
e14b388a
CY
74362011-07-07 Chong Yidong <cyd@stupidchicken.com>
7437
7438 * window.el (next-buffer, previous-buffer): Signal an error if
7439 called from a minibuffer window.
7440
7441 * bindings.el: Revert 2011-07-04 change.
7442
354cf0ba
RS
74432011-07-06 Richard Stallman <rms@gnu.org>
7444
7445 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7446 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7447 Treat markers like ints.
7448 (rmail-mime-entity): Doc fix.
7449
a48868a7
LMI
74502011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7451
4906cd3d
LMI
7452 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7453 defcustom again for backwards compatibility.
7454
e0457abe
LMI
7455 * simple.el (shell-command-on-region): Fill.
7456
d67f7e1f
LMI
7457 * dired-aux.el (dired-kill-line): Add a doc string.
7458
fe204702
LMI
7459 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7460 to "\\sw\\|\\s_" (bug#358).
7461
a48868a7
LMI
7462 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7463 (dired-unmark-backward): Ditto.
7464 (dired-flag-backup-files): Ditto.
7465
7466 * dired-x.el (dired-mark-sexp): Ditto.
7467
aa8a705c
RS
74682011-07-06 Richard Stallman <rms@gnu.org>
7469
7470 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7471 (rmail-mime-entity): New arg TRUNCATED.
7472 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7473 New functions.
7474 (rmail-mime-save): Warn if entity is truncated.
7475 (rmail-mime-toggle-hidden): Likewise, for showing.
7476 (rmail-mime-process-multipart): Record when an entity is truncated.
7477
a9a936b9
RS
7478 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7479 if ENTITY is a string.
7480
1f2b92cb
LMI
74812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7482
f4f73198 7483 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7484 of faces when `M-C-x'-ing their definitions (bug#8378).
7485 Also clean up the code slightly.
f4f73198 7486
12b16734 7487 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7488 because that makes the colors go away.
12b16734 7489
f0691d22
LMI
7490 * mail/sendmail.el (send-mail-function): Change the default to
7491 `sendmail-query-once'.
9e87df06 7492 (sendmail-query-once): Add an autoload cookie.
f0691d22 7493
1f2b92cb
LMI
7494 * net/network-stream.el (network-stream-open-starttls): Try using
7495 a plain connection even if the server offered STARTTLS, and we
7496 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7497 capability. This should make smtpmail.el work in slightly more
7498 configurations.
7499
1cdd2a1b
MA
75002011-07-06 Michael Albinus <michael.albinus@gmx.de>
7501
7502 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7503 New defun.
7504 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7505
fbcc67e2
MM
75062011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7507
7508 * progmodes/sql.el: Version 3.0
0757af94 7509 (sql-product-alist): Add product :completion-object,
fbcc67e2 7510 :completion-column, and :statement attributes.
0757af94 7511 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7512 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7513 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7514 ansi keywords.
7515 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7516 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7517 (sql-oracle-show-reserved-words): New function for development.
7518 (sql-product-font-lock): Simplify for source code buffers.
7519 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7520 New functions.
7521 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7522 (sql-mode-map): Add statement movement functions.
7523 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7524 New variable.
fbcc67e2
MM
7525 (sql-statement-regexp, sql-beginning-of-statement)
7526 (sql-end-of-statement, sql-signum): New functions.
0757af94 7527 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7528 (sql-show-sqli-buffer): Bug fix.
7529 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7530 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7531 with sql-interactive-mode.
7532 (sql-save-connection): Save buffer local settings.
0757af94 7533 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7534 (sql-product-interactive): Bug fix.
7535 (sql-preoutput-hold): New variable.
7536 (sql-interactive-remove-continuation-prompt): Bug fixes.
7537 (sql-debug-redirect): New variable.
7538 (sql-str-literal): New function.
7539 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7540 Redesign.
fbcc67e2
MM
7541 (sql-oracle-save-settings, sql-oracle-restore-settings)
7542 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7543 (sql-completion-object, sql-completion-column)
7544 (sql-completion-sqlbuf): New variables.
7545 (sql-build-completions-1, sql-build-completions)
7546 (sql-try-completion): New functions.
7547 (sql-read-table-name): Use them.
7548 (sql-contains-names): New buffer local variable.
7549 (sql-list-all, sql-list-table): Use it.
7550 (sql-oracle-completion-types): New variable.
7551 (sql-oracle-completion-object, sql-sqlite-completion-object)
7552 (sql-postgres-completion-object): New functions.
7553
d4eaeab1
GM
75542011-07-06 Glenn Morris <rgm@gnu.org>
7555
7556 * window.el (pop-to-buffer): Doc fix.
7557
322b7dab 75582011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7559
7560 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7561
322b7dab 75622011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7563
322b7dab 7564 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7565
322b7dab 7566 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7567
605dd5bf
CY
75682011-07-05 Chong Yidong <cyd@stupidchicken.com>
7569
7570 * button.el (button): Inherit from link face. Suggested by Dan
7571 Nicolaescu.
7572
7dbfa719
SM
75732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7574
3db614b0
SM
7575 * progmodes/gdb-mi.el: Fit in 80 columns.
7576 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7577 switch-to-buffer.
7578
7dbfa719
SM
7579 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7580 if imenu is simply not configured (bug#8941).
7581
919d884a
KM
75822011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7583
7584 * allout.el (allout-post-undo-hook): New allout outline-change
7585 event hook to signal undo activity.
7586 (allout-post-command-business): Run allout-post-undo-hook if an
7587 undo just occurred.
7dbfa719
SM
7588 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7589 * allout-widgets.el (allout-widgets-after-undo-function):
7590 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7591 in the vicinity of an undo.
7592 (allout-widgets-mode): Include allout-widgets-after-undo-function
7593 on the new allout-post-undo-hook.
7594
450a0f09
SM
75952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7598 Let define-derived-mode define it.
7599 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7600 cycles of abbrev-table inheritance (bug#8998).
7601
2de69e00
RW
76022011-07-05 Roland Winkler <winkler@gnu.org>
7603
7604 * textmodes/bibtex.el: Add support for biblatex.
7605 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7606 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7607 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7608 (bibtex-entry-alist, bibtex-field-alist): New variables.
7609 (bibtex-entry-field-alist): Obsolete alias for
7610 bibtex-BibTeX-entry-alist.
7611 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7612 (bibtex-set-dialect): New command.
7613 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7614 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7615 Bind via bibtex-set-dialect.
2de69e00
RW
7616 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7617 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7618 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7619 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7620 Define via bibtex-set-dialect.
450a0f09
SM
7621 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7622 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7623 (bibtex-vec-push, bibtex-vec-incr): New functions.
7624 (bibtex-format-entry, bibtex-field-list)
7625 (bibtex-print-help-message, bibtex-validate)
7626 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7627
2dcdbdd9
SM
76282011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * progmodes/compile.el (compilation-goto-locus):
7631 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7632 * bs.el (bs-cycle-next, bs-cycle-previous):
7633 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7634 * bindings.el (mode-line-other-buffer):
7635 * autoinsert.el (auto-insert):
7636 * arc-mode.el (archive-extract):
7637 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7638
b27640fe
JB
76392011-07-05 Juanma Barranquero <lekktu@gmail.com>
7640
7641 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7642 Fix check of `emacs-lock-unlockable-modes'.
7643 Coerce true values of `emacs-lock--try-unlocking' to t.
7644
53bbe3ad
JB
76452011-07-05 Juanma Barranquero <lekktu@gmail.com>
7646
7647 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7648 * emacs-lock.el: New file.
7649
1d3cdbc7
JD
76502011-07-05 Julien Danjou <julien@danjou.info>
7651
7652 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7653 than `boundp' to check if face is set.
7654
9173deec
JB
76552011-07-05 Juanma Barranquero <lekktu@gmail.com>
7656
7657 * register.el (registerv-make):
7658 * window.el (window-min-height): Fix typos in docstrings.
7659
869795d6
JD
76602011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7661
9173deec 7662 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7663 Update doc string.
7664
b768cdcd
JB
76652011-07-04 Juanma Barranquero <lekktu@gmail.com>
7666
7667 * server.el (server-execute): Catch quit and call
7668 `server-return-error' to pass the error back to emacsclient and
7669 close the connection (bug#8942).
7670
13aa217b
KM
76712011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7672
7673 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7674 insecure exception for current topic. Also note that auto-saves
7675 are handled differently.
7676
7677 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7678 State variables for tracking auto-save inhibition situation.
7679
7680 (allout-write-contents-hook-handler): Rename from
7681 'allout-write-file-hook-handler', and describe how it depends on
7682 write-contents-functions sensitivity to non-nil value to prevent
7683 file write.
7684
7685 (allout-auto-save-hook-handler): Remove. auto-save does not check
7686 this in individual buffers, only in the starting buffer, so this
7687 is not the right way for us to inhibit auto-save in a buffer
7688 according to its condition.
7689
7690 (allout-mode): Use new allout-write-contents-hook-handler, and
7691 only with write-contents-functions. Remove auto-save provisions -
7692 they're implemented elsewhere.
7693
7694 (allout-before-change-handler): If undo is in progress, note that
7695 for attention of allout-post-command-business.
7696
7697 (allout-post-command-business): If the command we're following was
7698 an undo, check for change in the status of encrypted items and
7699 adjust auto-save inhibitions accordingly.
7700
7701 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7702 according to whether there are or aren't any plain-text topics
7703 pending encryption.
7704
2dcdbdd9 7705 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7706 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7707 if there are plain-text topics pending encryption.
13aa217b
KM
7708
7709 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7710 buffer-saved-size and some allout state to not inhibit auto-saves
7711 if there are no longer any plain-text topics pending encryption.
7712
0757af94
SM
7713 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7714 No longer provide for exemption of the current topic.
13aa217b 7715
ac89b32c
JL
77162011-07-04 Juri Linkov <juri@jurta.org>
7717
7718 Add 7z operations to delete and save changed members (bug#8968).
7719 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7720 New defcustoms.
7721 (archive-7z-write-file-member): New function.
7722 (archive-7z-summarize): Fix the number of dashes in the
7723 listing output.
7724
8fa39615
SM
77252011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7728 (bug#8958).
7729
2f11b3f1
CY
77302011-07-04 Chong Yidong <cyd@stupidchicken.com>
7731
d66fef2b
CY
7732 * bindings.el: Ignore next-buffer and previous-buffer in
7733 minibuffer-local-map.
7734
2f11b3f1
CY
7735 * font-lock.el (font-lock-builtin-face): Change light background
7736 color to dark slate blue (Bug#6693).
7737
f932a347
WD
77382011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7739
7740 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7741
c8af70e1
SM
77422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7745 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7746 Add switch-to-buffer.
7747
f158badc
LMI
77482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7749
7750 * isearch.el (isearch-search-fun-function): Clarify further the
7751 meaning of the function returned.
7752
6d95bd46
MA
77532011-07-04 Michael Albinus <michael.albinus@gmx.de>
7754
7755 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7756
7757 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7758 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7759 Use it.
7760 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7761 `tramp-default-remote-path' does not exist.
7762 (tramp-send-command-and-read): New optional argument NOERROR.
7763 (tramp-open-connection-setup-interactive-shell)
7764 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7765 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7766 (tramp-process-sentinel): Flush also process' connection property.
7767 (tramp-sh-handle-start-file-process): Do not set process
7768 sentinel. It is done now ...
7769 (tramp-maybe-open-connection): ... here. (Bug#8929)
7770
909e6b67
MK
77712011-07-04 MON KEY <monkey@sandpframing.com>
7772
7773 * play/animate.el (animate-string): Doc fixes and allow changing
7774 the buffer name (bug#5417).
7775
77762011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7777
c8af70e1 7778 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7779
f34755dc
PE
77802011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7781
396cec72
PE
7782 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7783 This is simpler and helps future-proof the code.
7784 (timer-until): Use time-subtract and float-time.
08235028 7785 (timer--time-less-p): Use time-less-p.
f34755dc 7786
56e6cc31
JB
77872011-07-04 Juanma Barranquero <lekktu@gmail.com>
7788
3abb79e5
JB
7789 * type-break.el (timep): Use the value of `float-time' to avoid a
7790 byte-compiler warning.
7791
56e6cc31
JB
7792 * server.el (server-eval-and-print): Return any result, even nil.
7793
7b9430b4
PE
77942011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7795
7796 * type-break.el: Accept time formats that the builtins accept.
7797 (timep, type-break-time-difference): Accept any format that
7798 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7799 This is simpler and helps future-proof the code.
7800 (type-break-time-difference): Round rather than ignoring
7801 subseconds components.
7802
3034e9e7
LMI
78032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7804
7805 * info.el (Info-apropos-matches): Make non-interactive, since it
7806 doesn't seem to do anything useful as a command (bug#8829).
7807
1485f4c0
CY
78082011-07-03 Chong Yidong <cyd@stupidchicken.com>
7809
7810 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7811 Move from faces.el.
1485f4c0
CY
7812 (frame-default-terminal-background): New function.
7813
7814 * custom.el (custom-push-theme): Don't record faces in `changed'
7815 theme; this doesn't work correctly for per-frame face settings.
7816 (disable-theme): Use face-set-after-frame-default to reset faces.
7817 (custom--frame-color-default): New function.
7818
9fa3dd45
LMI
78192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7820
c8af70e1 7821 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7822 (bug#8769).
7823
6cbbc20c
KR
78242011-03-29 Kevin Ryde <user42@zip.com.au>
7825
7826 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7827 `perl-Test2' extend to match possible "fail #N" rep count
7828 (bug#8377).
7829
c7f98048
LMI
78302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7831
65676592
LMI
7832 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7833 `smtpmail-via-smtp' now returns the error instead of nil.
7834
c7f98048
LMI
7835 * isearch.el (isearch-search-fun-function): Clarify the doc string
7836 (bug#8101).
7837
56e6cc31 78382011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7839
7840 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7841 unnecessary spaces (bug#8987).
7842
2b216704
LMI
78432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7844
7845 * net/network-stream.el (open-network-stream): Use the
7846 :end-of-capability command thoughout.
7847
78482011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7849
7850 * net/network-stream.el (open-network-stream): Add the
7851 :end-of-capability command parameter, used by pop3.el.
7852
36adf6ce
LMI
78532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7854
1ca0da0e
LMI
7855 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7856
fc00f69c
LMI
7857 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7858 for list)" (bug#6475).
7859
28fd8759 7860 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7861 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7862 an error (bug#6297).
7863
0dd8b6da
LMI
7864 * man.el (Man-reference-regexp): Allow matching possible
7865 word-wrapped references (bug#6289).
7866
ce1438d6
LMI
7867 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7868 for consistency with the other vc buffers (bug#6197).
7869 (vc-checkin): Ditto.
7870
7871 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7872
36adf6ce
LMI
7873 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7874
e83cc1f7
LMI
78752011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7876
8a20ca4c
LMI
7877 * custom.el (defcustom): Clarify that :set is only used in the
7878 Customize user interface (bug#6089).
7879
83319045
LMI
7880 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7881 associated with a file, refuse to run instead of erroring out
7882 (bug#6084).
7883
a8392169
LMI
7884 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7885 the doc string, since it appears that using `fill-column' always
7886 controls the width (bug#7845).
7887
e83cc1f7
LMI
7888 * simple.el (shell-command-on-region): Say where the error output
7889 went if `shell-command-default-error-buffer' is set (bug#6857).
7890
e47ca23b
KM
78912011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7892
7893 * allout.el (allout-yank-processing): Adjust cursor position for
7894 backwards-deleted space.
7895
7896 (allout-rebullet-heading): Register changes with
7897 allout-exposure-changed-hook, so the modified topic is properly
7898 decorated.
7899
5cf56143
LMI
79002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7901
08549772
LMI
7902 * minibuffer.el (completion-in-region): Document PREDICATE
7903 (bug#7136).
7904
48e96771
LMI
7905 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7906 of keyword/argument pairs (bug#6904).
7907
c8af70e1
SM
7908 * replace.el (multi-occur):
7909 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7910
e17d05e2
LMI
79112011-07-02 Drew Adams <drew.adams@oracle.com>
7912
7913 * dired.el (dired-mark-if): Make the message about whether it's
7914 marking or unmarking clearer (bug#8523).
7915
063b0e45
LMI
79162011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7917
7918 * disp-table.el (display-table-print-array): New function.
7919 (describe-display-table): Use it to print the vectors more pretty
7920 (Bug#8859).
7921
28545e04
MR
79222011-07-02 Martin Rudalics <rudalics@gmx.at>
7923
7924 * window.el (window-state-get-1): Don't assign clone numbers.
7925 Add clone-of item to list of window parameters.
7926 (window-state-put-2): Don't process clone numbers.
7927 (display-buffer-alist): Fix doc-string.
7928
3349e122
SM
79292011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * subr.el (remq): Don't allocate if it's not needed.
7932 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7933 (keymap--merge-bindings): New functions.
7934 (keymap-canonicalize): Use them to refine the canonicalization.
7935 * minibuffer.el (minibuffer-local-completion-map)
7936 (minibuffer-local-must-match-map): Move initialization from C.
7937 (minibuffer-local-filename-completion-map): Move initialization from C;
7938 don't inherit from anything here.
7939 (minibuffer-local-filename-must-match-map): Make obsolete.
7940 (completing-read-default): Use make-composed-keymap to combine
7941 minibuffer-local-filename-completion-map with either
7942 minibuffer-local-must-match-map or
7943 minibuffer-local-filename-completion-map.
7944
d224ac83
GM
79452011-07-01 Glenn Morris <rgm@gnu.org>
7946
3de63bf8
GM
7947 * type-break.el (type-break-time-sum): Use dolist.
7948
d224ac83
GM
7949 * textmodes/flyspell.el (flyspell-word-search-backward):
7950 Replace CL function.
7951
1a1e3f32
SM
79522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7953
fe3f64d5
SM
7954 * mouse.el (mouse--strip-first-event): New function.
7955 (function-key-map): Use it to map fringe clicks to normal clicks
7956 by default.
7957
eb604e34
SM
7958 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7959 (vc-bzr-revision-completion-table): Add support for annotate and date.
7960
1a1e3f32
SM
7961 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7962 inherit from parent.
7963
5bd35902
LMI
79642011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7965
ace6c69c 7966 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7967 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7968
191e2bed
LMI
7969 * dired.el (dired-mode): Fix up the doc string as suggested by
7970 Drew Adams (bug#8817).
7971
5bd35902
LMI
7972 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7973 cookie, since the manual says that it should be possible to add
7974 this function to `find-file-hook' (bug#8709).
7975
eee8207a
TZ
79762011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7977
7978 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7979 here. Noted Ted Zlatanov as the maintainer.
7980 (cfengine-common-settings, cfengine-common-syntax): New functions
7981 to set up common things between `cfengine-mode' and
7982 `cfengine3-mode'.
7983 (cfengine3-mode): New mode.
7984 (cfengine3-defuns cfengine3-defuns-regex
7985 (cfengine3-class-selector-regex cfengine3-category-regex)
7986 (cfengine3-vartypes cfengine3-font-lock-keywords)
7987 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7988 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7989
36b148cf
MA
79902011-07-01 Michael Albinus <michael.albinus@gmx.de>
7991
7992 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7993
7994 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7995
0bf4ba9a
MR
79962011-07-01 Martin Rudalics <rudalics@gmx.at>
7997
7998 * window.el (same-window-buffer-names, same-window-regexps)
7999 (same-window-p, special-display-frame-alist)
8000 (special-display-popup-frame, special-display-function)
8001 (special-display-buffer-names, special-display-regexps)
8002 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8003 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8004 (split-window-preferred-function, split-height-threshold)
8005 (split-width-threshold, even-window-heights)
8006 (display-buffer-mark-dedicated, window-splittable-p)
8007 (split-window-sensibly, window-safely-shrinkable-p):
8008 Un-obsolete.
8009 (display-buffer): Don't spread args with function specifier
8010 because special-display-popup-frame won't like it.
8011
35837f51
PE
80122011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8013
d0672f86
PE
8014 Time-stamp simplifications and fixes.
8015 These improve accuracy slightly, and future-proof the code
8016 against some potential changes to current-time format.
8017
b9444d97
PE
8018 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8019 by using time-since and float-time.
8020
0ef923dc
PE
8021 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8022 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8023 + NNN microseconds".
8024
2f81380d
PE
8025 * type-break.el (type-break-time-sum): Rewrite using time-add.
8026
845b5c3e
PE
8027 * play/hanoi.el (hanoi-current-time-float): Remove.
8028 All uses replaced by float-time.
8029
ee6f1be0
PE
8030 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8031 This yields a more-accurate answer.
8032 (rng-time-to-float): Remove; no longer needed.
8033
fe955043
PE
8034 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8035
5777162a
PE
8036 * calendar/timeclock.el (timeclock-seconds-to-time):
8037 Defalias to seconds-to-time, since they're the same thing.
8038
3103f8b6 8039 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8040 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8041 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8042
0e61a35f
SM
80432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * window.el (bury-buffer): Don't iconify the only frame.
8046 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8047 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8048
ddd63a1e
CY
80492011-07-01 Chong Yidong <cyd@stupidchicken.com>
8050
0e61a35f
SM
8051 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8052 Add mouse-yank-primary.
ddd63a1e 8053
055f4923
TZ
80542011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8055
8056 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8057
6a2fb145
SM
80582011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8059
8060 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8061 (find-library-name): Use it to find relative load names when provided
8062 absolute file name (bug#8803).
8063
fd4983f2
LMI
80642011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8065
887d14ad
LMI
8066 * textmodes/flyspell.el (flyspell-word): Consider words that
8067 differ only in case as potential doublons (bug#5687).
8068
c53dc7fc
LMI
8069 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8070 Remove two rather uninteresting debugging-like messages to make
8071 debbugs.el more silent.
8072
fd4983f2
LMI
8073 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8074 a password-like phrase.
8075
7a71b18d 80762011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8077
8078 * progmodes/cc-guess.el: New file.
8079
6a2fb145 8080 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8081
8082 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8083 derived from `c-basic-common-init'.
8084
8085 * progmodes/cc-mode.el (top-level): Require cc-guess.
8086 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8087
1fa280a3
LM
80882011-06-30 Lawrence Mitchell <wence@gmx.li>
8089
8090 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8091
e6597158
AM
80922011-06-30 Alan Mackenzie <acm@muc.de>
8093
1fa280a3
LM
8094 * progmodes/cc-engine.el (c-guess-continued-construct):
8095 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8096 lock is disabled. Name this case as "CASE G".
8097
68ba37fb
KM
80982011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8099
8100 * allout.el (allout-yank-processing): Fix injection of extra space
8101 between bullet and non-whitespace character in first topic when
8102 pasting, ensuring that the actual spacing in the pasted topic
8103 following the bullet char is preserved. This extra space was
8104 causing pasted encrypted topics to get a decrypted status even
8105 when the content was actually still encrypted. Now the decryption
8106 status from before the paste is preserved.
8107
8108 (allout-flag-region): Set all allout overlays so they evaporate
8109 when reduced to zero length (evanescent), to prevent overlay
8110 leakage.
8111
887a0b34
GM
81122011-06-30 Glenn Morris <rgm@gnu.org>
8113
94b9acce
GM
8114 * w32-fns.el (w32-charset-info-alist): Declare.
8115
1d9b46d4
GM
8116 * find-dired.el (find-grep-options): Simplify.
8117
cc232200
GM
8118 * term/ns-win.el (ns-set-resource): Declare.
8119
28e77c46
GM
8120 * ses.el (row, col): Declare dynamic variables honestly.
8121
887a0b34
GM
8122 * textmodes/reftex-parse.el (index-tags): Declare.
8123
658d8eb8
CY
81242011-06-30 Chong Yidong <cyd@stupidchicken.com>
8125
8126 * cus-edit.el (customize-push-and-save): New function.
8127
8128 * files.el (hack-local-variables-confirm): Use it.
8129
1fa280a3
LM
8130 * custom.el (load-theme): New arg NO-CONFIRM.
8131 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8132 (custom-enabled-themes): Doc fix.
8133
8134 * cus-theme.el (customize-create-theme)
8135 (custom-theme-merge-theme): Callers to load-theme changed.
8136
bb617717
LMI
81372011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8138
d61bdd5d
LMI
8139 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8140 short URLs have at least one dot in them (bug #7614).
8141
bb617717
LMI
8142 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8143 nil, because using a pty is apparently too slow (bug #895).
8144
2f31f37a
LMI
81452011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8146
8147 * mail/sendmail.el (sendmail-query-once): New function.
8148 (sendmail-query-once-function): New variable.
8149
3076b24e
GM
81502011-06-29 Glenn Morris <rgm@gnu.org>
8151
faf2a174
GM
8152 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8153
3076b24e
GM
8154 * ses.el (top-level): Require cl when compiling.
8155 (ses-set-localvars): Fix error statement.
8156 Call it at compile time to silence a storm of warnings.
8157
5386012d
MR
81582011-06-29 Martin Rudalics <rudalics@gmx.at>
8159
8160 * window.el (normalize-live-buffer): Rename to
8161 window-normalize-buffer.
8162 (normalize-live-frame): Rename to window-normalize-frame.
8163 (normalize-any-window): Rename to window-normalize-any-window.
8164 (normalize-live-window): Rename to window-normalize-live-window.
8165 (make-window-atom): Rename to window-make-atom.
8166 (window-resize-reset): Rename to window--resize-reset.
8167 (window-resize-reset-1): Rename to window--resize-reset-1.
8168 (resize-mini-window): Rename to window--resize-mini-window.
8169 (resize-subwindows-skip-p): Rename to
8170 window--resize-subwindows-skip-p.
8171 (resize-subwindows-normal): Rename to
8172 window--resize-subwindows-normal.
8173 (resize-subwindows): Rename to window--resize-subwindows.
8174 (resize-other-windows): Rename to window--resize-siblings.
8175 (resize-this-window): Rename to window--resize-this-window.
8176 (resize-root-window): Rename to window--resize-root-window.
8177 (resize-root-window-vertically): Rename to
8178 window--resize-root-window-vertically.
8179 (normalize-buffer-to-display): Rename to
8180 window-normalize-buffer-to-display.
8181 (normalize-buffer-to-switch-to): Rename to
8182 window-normalize-buffer-to-switch-to.
8183 Correspondingly update all callers of the functions listed
8184 above.
8185 (display-buffer-alist, display-buffer-normalize-arguments)
8186 (display-buffer-normalize-options, display-buffer)
8187 (display-buffer-alist-set): Use "function" instead of
8188 "fun-with-args".
8189
1176868d
CY
81902011-06-28 Chong Yidong <cyd@stupidchicken.com>
8191
8192 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8193 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8194 debbugs.gnu.org. Mention acknowledgment email.
8195
20a7a65f
LMI
81962011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8197
8198 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8199 buffer multibyteness, since it shouldn't matter.
8200
5f45cca5
MR
82012011-06-28 Martin Rudalics <rudalics@gmx.at>
8202
8203 * window.el (display-buffer-in-side-window): Handle dedicated
8204 windows as in display-buffer-reuse-window.
8205 (display-buffer-normalize-alist): Use value of override
8206 specifier.
8207 (display-buffer-normalize-specifiers): Use value of
8208 other-window-means-other-frame specifier.
8209 (display-buffer-alist): Rewrite some texts in widgets.
8210 (display-buffer): Spread arguments when calling function
8211 specified by fun-with-args.
8212
ad85fe1f
DD
82132011-06-28 Deniz Dogan <deniz@dogan.se>
8214
1fa280a3
LM
8215 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8216 Unnest `let'.
da68c4c8 8217
ad85fe1f
DD
8218 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8219 selectors (Bug#5732).
ec49bd31 8220 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8221
a08cc025
JA
82222011-06-27 Jari Aalto <jari.aalto@cante.net>
8223
8224 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8225 (eshell-ls-date-format): New defcustom.
8226 (eshell-ls-file): Use it.
8227
e2b551c5
SM
82282011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8231
8982b231
KY
82322011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8233
8234 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8235 (ange-ftp-make-tmp-name): New arg.
8236 (ange-ftp-file-local-copy): Use it.
8237
36c9fa27
J
82382011-06-27 Jambunathan K <kjambunathan@gmail.com>
8239
8240 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8241 no-conversion (Bug#8870).
8242
d68443dc
MR
82432011-06-27 Martin Rudalics <rudalics@gmx.at>
8244
8245 * window.el (window-right, window-left, window-child)
8246 (window-child-count, window-last-child)
8247 (window-iso-combination-p, walk-window-tree-1)
8248 (window-atom-check-1, window-tree-1, delete-window)
8249 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8250 new naming conventions - window-vchild, window-hchild,
8251 window-next and window-prev are now called window-top-child,
8252 window-left-child, window-next-sibling and window-prev-sibling
8253 respectively.
d615d6d2
MR
8254 (resize-window-reset): Rename to window-resize-reset.
8255 (resize-window-reset-1): Rename to window-resize-reset-1.
8256 (resize-window): Rename to window-resize.
8257 (window-min-height, window-min-width)
8258 (resize-mini-window, resize-this-window, resize-root-window)
8259 (resize-root-window-vertically, adjust-window-trailing-edge)
8260 (enlarge-window, shrink-window, maximize-window)
8261 (minimize-window, delete-window, quit-restore-window)
8262 (split-window, balance-windows, balance-windows-area-adjust)
8263 (balance-windows-area, window-state-put-2)
8264 (display-buffer-even-window-sizes, display-buffer-set-height)
8265 (display-buffer-set-width, set-window-text-height)
8266 (fit-window-to-buffer): Rename all "resize-window" prefixed
8267 calls to use the "window-resize" prefix convention.
8268 (display-buffer-alist): Fix symbol for label specifier.
8269 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8270 corresponding specifier.
8271 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8272
b6458526
VB
82732011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8274
8275 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8276 convention.
8277 (ses-call-printer): Does not pass an empty string to formatter when the
8278 cell is empty to keep from barking printer Calc math-format-value.
8279
d31fd9ac
RS
82802011-06-27 Richard Stallman <rms@gnu.org>
8281
43d5bf84
RS
8282 * battery.el (battery-mode-line-limit): New variable.
8283 (battery-update): Handle it.
8284
d31fd9ac
RS
8285 * mail/rmailmm.el (rmail-mime-process-multipart):
8286 Handle truncated messages.
8287
819a6054
GM
82882011-06-27 Glenn Morris <rgm@gnu.org>
8289
8290 * progmodes/flymake.el (flymake-err-line-patterns):
8291 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8292
cedc73f2
VB
82932011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8294
819a6054 8295 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8296 (ses--clean-!, ses--clean-_): New functions.
8297 (ses-range): Add configurability of readout order, and conversion
8298 to Calc vector.
8299
5e5d49b6
VB
8300 * ses.el (ses-repair-cell-reference-all): New function.
8301 (ses-cell-symbol): Set macro as safe, so that it can be used in
8302 formulas.
8303
56e6cc31 8304 * ses.el: Update cycle detection algorithm.
90ca8b49 8305 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8306 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8307 (ses-set-localvars): New function.
8308 (ses-make-cell): Add property-list as a cell element.
8309 (ses-cell-property-get-fun, ses-cell-property-get)
8310 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8311 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8312 New functions.
90ca8b49
VB
8313 (ses-cell-property-set, ses-cell-property-pop)
8314 (ses-cell-property-get-handle): New macro.
8315 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8316 New aliases, used for code readability.
8317 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8318 cycle detection.
8319 (ses-self-reference-early-detection): New defcustom.
fac916bf 8320 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8321 (ses-mode): Use ses-set-localvars.
8322 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8323 before lauching the update processing.
8324 (ses-initialize-Dijkstra-attempt): New function.
8325 (ses-recalculate-cell): Update for cycle detection based on
8326 Dijkstra algorithm.
8327
2bb63e81
VB
8328 * ses.el: Fix commenting and indenting convention.
8329
c9d29fb8
SM
83302011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * bs.el (bs-cycle-next): Complete last change.
8333
d8e4b68b
JB
83342011-06-27 Drew Adams <drew.adams@oracle.com>
8335
8336 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8337
40098786
LMI
83382011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8339
c9d29fb8
SM
8340 * net/network-stream.el (network-stream-open-starttls):
8341 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8342 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8343
40098786
LMI
8344 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8345 to binary to possibly avoid line encoding issues on Windows (among
8346 other things).
8347
468d09d4
LMI
83482011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
8350 * net/network-stream.el (open-network-stream): Return an :error
8351 saying what the problem was, if possible.
8352
8353 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8354 server.
8355
8356 * net/network-stream.el (network-stream-open-starttls): If we
8357 wanted to use STARTTLS, and the server offered it, but we weren't
8358 able to because we had no STARTTLS support, then close the connection.
8359 (open-network-stream): Return an :error element, if present.
8360
16f07dd7
CY
83612011-06-26 Chong Yidong <cyd@stupidchicken.com>
8362
88821ca0
CY
8363 * hl-line.el (hl-line-sticky-flag): Doc fix.
8364 (global-hl-line-sticky-flag): New option (Bug#8323).
8365 (global-hl-line-highlight): Obey it.
8366
16f07dd7
CY
8367 * vc/vc.el (vc-revert-show-diff): Default to t.
8368
6b5ccddf
KM
83692011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8370
c9d29fb8
SM
8371 * allout-widgets.el (allout-widgets-post-command-business):
8372 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8373 undecorated when an isearch is continued past, and isearch
8374 automatically collapses them. This leads to "widget leaks", where
8375 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8376 hidden widgets can slow down cursor travel, substantially.
8377 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8378 so we're doing without this nicety.
8379
8380 (allout-widgets-tally-string): Don't try to do a hash-table-count
8381 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8382 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8383 *Messages* when allout-widgets-maintain-tally is t.
8384
355f2e07
MR
83852011-06-26 Martin Rudalics <rudalics@gmx.at>
8386
8387 * window.el (display-buffer-normalize-argument): Rename to
8388 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8389 LABEL argument. Respect special-display-function when popping up
8390 a new frame. Fix code searching for a window showing the buffer
8391 on another frame.
c9d29fb8
SM
8392 (display-buffer-normalize-specifiers):
8393 Call display-buffer-normalize-arguments.
355f2e07
MR
8394 (display-buffer-in-window): Don't undedicate the window if its
8395 buffer remains the same.
8396 Reported by Drew Adams <drew.adams@oracle.com>.
8397 (display-buffer-alist): Add choice for same-window macro
8398 specfier.
8399 (display-buffer): Mention special meaning of LABEL argument in
8400 doc-string. Fix quoting. Don't pop up a new frame even as
8401 fallback.
8402
7ca8fc42
JB
84032011-06-26 Juanma Barranquero <lekktu@gmail.com>
8404
8405 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8406 avoid deleting the current window in some cases (bug#8911).
8407
bc312254
AS
84082011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8409
8410 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8411 (Bug#8934)
8412
2db18f3f
LMI
84132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414
c9d29fb8
SM
8415 * net/network-stream.el (network-stream-open-starttls):
8416 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8417 (network-stream-open-tls): Ditto.
8418
6302e0d3
LL
84192011-06-26 Leo Liu <sdl.web@gmail.com>
8420
8421 * register.el (registerv): New struct.
8422 (registerv-make): New function.
c9d29fb8
SM
8423 (jump-to-register, describe-register-1, insert-register):
8424 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8425 struct. (Bug#8415)
8426
5fdd4046
CY
84272011-06-26 Chong Yidong <cyd@stupidchicken.com>
8428
2afef60a
CY
8429 * vc/vc.el (vc-revert-show-diff): New defcustom.
8430 (vc-diff-internal): New arg specifying diff buffer.
8431 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8432 reuse an existing *vc-diff* buffer (Bug#8927).
8433
5fdd4046
CY
8434 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8435
e93db24a
GM
84362011-06-26 Glenn Morris <rgm@gnu.org>
8437
8438 * progmodes/f90.el (f90-critical-indent): New option.
8439 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8440 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8441 (f90-mode): Doc fix.
8442 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8443 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8444 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8445 (f90-match-end): Handle block, critical.
8446
eefff499
GM
84472011-06-25 Glenn Morris <rgm@gnu.org>
8448
f6ba4cc9
GM
8449 * calendar/diary-lib.el (diary-included-files): Doc fix.
8450 (diary-include-files): New function, extracted from
8451 diary-include-other-diary-files and diary-mark-included-diary-files.
8452 (diary-include-other-diary-files, diary-mark-included-diary-files):
8453 Just call diary-include-files.
8454 (diary-mark-entries): Reset diary-included-files on first call.
8455
16712304
GM
8456 * calendar/diary-lib.el (diary-mark-entries)
8457 (diary-mark-included-diary-files):
8458 Visit included diary-files in temp buffers.
8459
5d8e0d43
GM
8460 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8461 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8462 (f90-start-block-re, f90-imenu-generic-expression)
8463 (f90-looking-at-program-block-start, f90-no-block-limit):
8464 Add support for submodules.
8465
ccf7a5d5
GM
8466 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8467 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8468
11fdef7d 84692011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8470
8471 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8472 buffer-file-type before setting its value, to avoid disastrous
eefff499 8473 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8474
74f53697
JB
84752011-06-25 Juanma Barranquero <lekktu@gmail.com>
8476
8477 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8478
8479 * ses.el (ses-unload-function):
8480 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8481
8482 * proced.el (proced-unload-function):
8483 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8484
18a4ce5e
AR
84852011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8486
8487 * server.el (server-create-window-system-frame): Add parameters arg.
8488 (server-process-filter): Doc fix. Handle frame-parameters.
8489
519d22cc
JB
84902011-06-25 Juanma Barranquero <lekktu@gmail.com>
8491
8492 Fix bug#8730, bug#8781.
8493
8494 * loadhist.el (unload--set-major-mode): New function.
8495 (unload-feature): Use it.
8496
8497 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8498 (python-unload-function): New function.
8499
c206f5b0
SM
85002011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8503
f9ad64f3
GS
85042011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8505
8506 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8507 the candidates list.
8508
7d0da90e
JB
85092011-06-24 Juanma Barranquero <lekktu@gmail.com>
8510
8511 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8512
14b4e83d
RS
85132011-06-23 Richard Stallman <rms@gnu.org>
8514
8515 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8516 (rmail-variables): Set next-error-move-function.
8517 (rmail-what-message): Take argument POS.
8518 (rmail-next-error-move): New function.
8519
273d2baf
SM
85202011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8523 messages for adjacent non-terminals.
8524
56c2cc9a
RS
85252011-06-23 Richard Stallman <rms@gnu.org>
8526
8527 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8528 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8529 (rmail-start-mail): Don't specify use of rmail-mail-return;
8530 that's done by mail-bury now.
8531 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8532
d59eb518
MA
85332011-06-23 Michael Albinus <michael.albinus@gmx.de>
8534
8535 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8536 SIZE is a number.
8537
02cfc6d6
MR
85382011-06-23 Martin Rudalics <rudalics@gmx.at>
8539
8540 * window.el (get-lru-window, get-mru-window)
8541 (get-largest-window): Never return a minibuffer window.
8542 (display-buffer-pop-up-window): Fix a bug that could lead to
8543 reusing the minibuffer window.
8544 (display-buffer): Pass original specifier argument to
8545 display-buffer-function instead of the normalized one.
8546 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8547
4e323265
LL
85482011-06-22 Leo Liu <sdl.web@gmail.com>
8549
8550 * minibuffer.el (completing-read-function)
8551 (completing-read-default): Move from minibuf.c
8552
7a70468f
RS
85532011-06-22 Richard Stallman <rms@gnu.org>
8554
50718fc2
RS
8555 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8556 to Rmail even if not started by a special Rmail command.
8557
7a70468f
RS
8558 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8559 Copy the buffer currently showing just one message.
8560
297dde5a
RW
85612011-06-22 Roland Winkler <winkler@gnu.org>
8562
8563 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8564 (bibtex-clean-entry): First delete the old key so that a
8565 customized algorithm for generating the new key does not get
8566 confused by the old key.
8567 (bibtex-url): Obey regexp of first step.
8568 (bibtex-search-entries): Do not use add-to-list with local
8569 list-var.
8570
97bb1093
LMI
85712011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8572
8573 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8574 stored a user name, then query for the password first, instead of
8575 waiting for SMTP to give an error message and the trying again.
8576
1c0f1a19
JD
85772011-06-22 Lawrence Mitchell <wence@gmx.li>
8578
8579 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8580 BUFFER in call-process.
8581
396f7c9d
LMI
85822011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8583
8584 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8585 QUIT twice.
ddb7ffee
LMI
8586 (smtpmail-try-auth-methods): Require user name and password from
8587 auth-source.
396f7c9d 8588
8998d1b3
MR
85892011-06-22 Martin Rudalics <rudalics@gmx.at>
8590
8591 * window.el (display-buffer-default-specifiers)
8592 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8593 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8594 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8595
8596 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8597 (special-display-frame-alist, special-display-popup-frame):
8598 Remove duplicate declarations. These are now in window.el.
8599
4ea31e07
LMI
86002011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601
c9d29fb8
SM
8602 * mail/smtpmail.el (smtpmail-via-smtp):
8603 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8604 server supports it. SMTP servers that support STARTTLS commonly
8605 require it.
8606
8607 * net/network-stream.el (network-stream-open-starttls): Support
8608 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8609 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8610
95f41d9a
LMI
8611 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8612 upgrades with `open-network-stream', and rely solely on
8613 auth-source for all credentials. Big changes throughout the file,
8614 but in particular:
c9d29fb8
SM
8615 (smtpmail-auth-credentials): Remove.
8616 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8617 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8618 MAIL FROM, too.
95f41d9a 8619
c9d29fb8
SM
8620 * net/network-stream.el (network-stream-open-starttls):
8621 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8622 STARTTLS.
8623 (auth-source): Require.
8624 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8625 (network-stream-certificate): Change cert-cert to cert and
8626 cert-key to key.
4ea31e07 8627
065ec2c7
MA
86282011-06-21 Michael Albinus <michael.albinus@gmx.de>
8629
8630 * net/tramp-cache.el (top): Don't load the persistency file when
8631 "emacs -Q" has been called.
8632
cd93b359
DR
86332011-06-21 Tim Harper <timcharper@gmail.com>
8634
d8e4b68b
JB
8635 * term/ns-win.el (ns-initialize-window-system):
8636 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8637 resource to NO as it is not yet supported by the NS port.
8638
ae9c0411
JB
86392011-06-21 Juanma Barranquero <lekktu@gmail.com>
8640
8641 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8642 (list-dynamic-libraries): ...not here.
8643
7f3f739f
LL
86442011-06-21 Leo Liu <sdl.web@gmail.com>
8645
8646 * subr.el (sha1): Implement sha1 using secure-hash.
8647
327c8fb1
MR
86482011-06-21 Martin Rudalics <rudalics@gmx.at>
8649
8650 * window.el (display-buffer-alist): In default value do not
8651 enforce searching a window on any but the selected frame.
8652 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8653 (display-buffer-select-window): Remove function.
8654 (display-buffer-in-window): When a window on another frame gets
8655 reused, do not select it any more but just raise its frame if
8656 necessary (Bug#8851) and (Bug#8856).
8657 (display-buffer-normalize-options): Handle pop-up-frames related
8658 options more faithfully.
8659 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8660 window if it is on another frame.
c9d29fb8
SM
8661 (display-buffer-alist, display-buffer-default-specifiers):
8662 Don't make new frame unsplittable by default.
9e9de014
MR
8663 (display-buffer-normalize-argument): Fix doc-string typo and use
8664 'same-frame-other-window instead of 'other-window when associating
8665 with display-buffer-macro-specifiers.
327c8fb1 8666
7cf3f556
VB
86672011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8668
8669 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8670 New functions.
8671 (5x5-mode-map, 5x5-mode-menu): Bind them.
8672 (5x5-draw-grid): Tweak the solver's rendering.
8673
60a406cf
SM
86742011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8677 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8678
d8e4b68b 86792011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8680
8681 * menu-bar.el: Use function variable instead of switch-to-buffer.
8682 (menu-bar-select-buffer-function): New variable.
60a406cf 8683 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8684
478d6f95
SM
86852011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8688 variable's status.
8689
ca530739
JD
86902011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8691
8692 * x-dnd.el (x-dnd-version-from-flags)
8693 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8694 and long as number (Bug#8899).
8695 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8696
bcd70d97
SM
86972011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8698
60a406cf 8699 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8700 (completion-try-completion, completion-all-completions): Compute the
8701 metadata argument if it's missing; make it optional (bug#8795).
8702
60a406cf 8703 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8704 (widget-complete): Use new :completion-function property.
8705 (widget-completions-at-point): New function.
8706 (default): Use :completion-function instead of :complete.
60a406cf
SM
8707 (widget-default-completions): Rename from widget-default-complete;
8708 Rewrite.
bcd70d97
SM
8709 (widget-string-complete, widget-file-complete, widget-color-complete):
8710 Remove functions.
8711 (file, symbol, function, variable, coding-system, color):
8712 * international/mule-cmds.el (default-input-method, charset)
8713 (language-info-custom-alist):
8714 * cus-edit.el (face): Use new property :completions.
8715
8716 * progmodes/pascal.el (pascal-completions-at-point): New function.
8717 (pascal-mode): Use it.
8718 (pascal-mode-map): Use completion-at-point.
8719 (pascal-toggle-completions): Make obsolete.
8720 (pascal-complete-word, pascal-show-completions):
8721 * progmodes/octave-mod.el (octave-complete-symbol):
8722 Redefine as obsolete alias.
8723 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8724 Signal absence of completion info for old Octave,
8725 (inferior-octave-complete): Redefine as obsolete alias.
8726 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8727 (meta-completions-at-point): Rename from meta-complete-symbol and
8728 adapt it for use on completion-at-point-functions.
8729 (meta-common-mode): Use it.
8730 (meta-looking-at-backward, meta-match-buffer): Remove.
8731 (meta-complete-symbol): Redefine as obsolete alias.
8732 (meta-common-mode-map): Use completion-at-point.
8733 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8734 (makefile-mode-map): Use completion-at-point.
8735 (makefile-completions-at-point): Rename from makefile-complete and
8736 adapt it for use on completion-at-point-functions.
8737 (makefile-mode): Use it.
8738 (makefile-complete): Redefine as obsolete alias.
8739
aebf69c8
DD
87402011-06-20 Deniz Dogan <deniz@dogan.se>
8741
8742 * net/rcirc.el: Delete trailing whitespaces once and for all.
8743
bfbbb27d
DC
87442011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8745
8746 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8747
d264a46b
CY
87482011-06-19 Chong Yidong <cyd@stupidchicken.com>
8749
4ca009e5
CY
8750 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8751
d264a46b
CY
8752 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8753
fbf5b3ce
MR
87542011-06-19 Martin Rudalics <rudalics@gmx.at>
8755
8756 * window.el (display-buffer-other-window-means-other-frame):
8757 Call display-buffer-normalize-alist.
8758 (display-buffer-normalize-specifiers-1): Rename to
8759 display-buffer-normalize-argument. New argument other-frame.
8760 Rewrite.
8761 (display-buffer-normalize-specifiers-2): Rename to
8762 display-buffer-normalize-options.
8763 (display-buffer-normalize-alist-1): New function.
8764 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8765 display-buffer-normalize-alist.
8766 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8767 (display-buffer-normalize-options-inhibit): New variable.
8768 (display-buffer-normalize-specifiers): Rewrite calling
8769 display-buffer-normalize-alist,
8770 display-buffer-normalize-argument, and
8771 display-buffer-normalize-options. Don't call the latter if
8772 display-buffer-normalize-options-inhibit is non-nil.
8773 (frame-auto-delete): New option.
8774 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8775 (window-list-no-nils, window-state-ignored-parameters)
8776 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8777 (window-state-put-1, window-state-put-2, window-state-put):
8778 New functions.
9a028c23
MR
8779 (display-buffer-normalize-options): Move special-display-p group
8780 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8781
6d10d800
CY
87822011-06-18 Chong Yidong <cyd@stupidchicken.com>
8783
6420d28b
CY
8784 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8785 groups (Bug#8776).
8786 (rx-submatch-n): New function.
8787 (rx): Document it.
8788
ddb8b596
CY
8789 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8790 (Bug#8768).
8791
8792 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8793
77080289
CY
8794 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8795
61dfb316
CY
8796 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8797 anytime existing face settings are present (Bug#8889).
8798
6d10d800
CY
8799 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8800 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8801 Remove unused argument.
8802
be3fb2b8
MR
88032011-06-18 Martin Rudalics <rudalics@gmx.at>
8804
bcd70d97
SM
8805 * window.el (display-buffer-default-specifiers):
8806 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8807 pop-up-window-min-width, and another reuse-window specifier
8808 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8809 (display-buffer-normalize-specifiers-2):
8810 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8811 pop-up-windows is unset. Add a reuse-window specifier for the
8812 case popping up a new window fails.
8813 (special-display-popup-frame): Remove double quoting.
28dec25a 8814 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8815
1c6d8c76
SM
88162011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8819 according to comint-completion-addsuffix.
8820
8821 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8822 (pcomplete-suffix-list): Mark as obsolete.
8823 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8824 pcomplete-seen in the closure.
8825 (pcomplete-comint-setup): Setup completion-at-point as well.
8826 (pcomplete--entries): New function.
8827 (pcomplete--env-regexp): New var.
8828 (pcomplete-entries): Rewrite to work with partial-completion and
8829 without relying on pcomplete-suffix-list.
8830 (pcomplete-pare-list): Remove, unused.
8831
25aef8b8
MR
88322011-06-17 Martin Rudalics <rudalics@gmx.at>
8833
8834 * window.el (display-buffer-alist): Set pop-up-window-min-height
8835 and pop-up-window-min-width in default value. Reported by
8836 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8837 other-window-means-other-frame.
8838 (display-buffer-macro-specifiers): Comment out entry for
8839 other-window specifier.
8840 (display-buffer-other-window-means-other-frame): New function.
8841 (display-buffer-normalize-specifiers-1): New arguments
8842 buffer-name and label. Treat other-window case specially.
8843 (display-buffer-normalize-specifiers-2): Treat other-window case
8844 specially.
8845 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8846 (display-buffer-normalize-specifiers):
8847 Call display-buffer-normalize-specifiers-3.
25aef8b8 8848
dbad4f69
MR
88492011-06-17 Martin Rudalics <rudalics@gmx.at>
8850
8851 * window.el (same-window-p): Fix two typos introduced when
8852 adding with-no-warnings.
d1067961
MR
8853 (display-buffer-normalize-specifiers-1): Don't check
8854 pop-up-frames for 'unset initialization.
8855 (display-buffer-normalize-specifiers-2): Major rewrite using
8856 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8857 (pop-up-frames, display-buffer-reuse-frames)
8858 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8859 Suggested by David Engster <deng@randomsample.de>.
8860 (even-window-heights): Initialize to 'unset.
8861 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8862 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8863 other window case.
dbad4f69 8864
9b9c9e3a
MR
88652011-06-16 Martin Rudalics <rudalics@gmx.at>
8866
bcd70d97
SM
8867 * window.el (display-buffer-normalize-specifiers-1):
8868 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8869 second argument of display-buffer (Bug#8865).
981d5c09
MR
8870 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8871 (switch-to-buffer-other-window-same-frame)
8872 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8873 Adams (Bug#8875).
9c2755e9
MR
8874 (display-buffer): Don't check noninteractive when calling
8875 display-buffer-pop-up-frame.
8876 (display-buffer-pop-up-frame): Never pop up a frame in
8877 noninteractive mode (Bug#8857).
67222e1d
MR
8878 (enlarge-window, shrink-window): Don't report an error when the
8879 window can't be resized as requested (Bug#8862).
9b9c9e3a 8880
2b75be67
SM
88812011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8882
9ffdd3ba
SM
8883 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8884
cb581a67
SM
8885 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8886
2b75be67
SM
8887 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8888
8c0e3589
AM
88892011-06-15 Alan Mackenzie <acm@muc.de>
8890
cb581a67
SM
8891 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8892 for declarators, disable knr checking to speed up for normal files.
8893 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8894
b96e6cde
LMI
88952011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8896
4bba86e6
LMI
8897 * net/network-stream.el (open-network-stream): Add the keyword
8898 :always-query-capabilities for the case where you want to force a
8899 `plain' network connection, but the protocol still requires the
8900 capabilitiy command (i.e., SMTP and EHLO).
8901
2b75be67 8902 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8903 consistency with other `-live-p' functions.
8904
efdcdbf8
SM
89052011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * window.el (same-window-buffer-names, same-window-regexps)
8908 (special-display-frame-alist, special-display-popup-frame)
8909 (special-display-function, special-display-buffer-names)
8910 (special-display-regexps, pop-up-frame-alist)
8911 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8912 (pop-up-windows, split-window-preferred-function)
8913 (split-height-threshold, split-width-threshold, even-window-heights)
8914 (display-buffer-mark-dedicated): Don't encourage the use of
8915 display-buffer-alist from Elisp code.
8916
c5cde042
DN
89172011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8918
8919 * progmodes/python.el (python-mode): Derive from prog-mode.
8920 * progmodes/ps-mode.el (ps-mode):
8921 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8922 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8923 * progmodes/ld-script.el (ld-script-mode): Likewise.
8924
baa1c9ab
MR
89252011-06-15 Martin Rudalics <rudalics@gmx.at>
8926
8927 * window.el (display-buffer-alist): Trim default value to avoid
8928 popping up a new frame (Bug#8857) or reusing an arbitrary window
8929 on another frame.
8930 (display-buffer): Do not fall back on popping up a new frame in
8931 batch mode (Bug#8857).
8932
c5dd5a51
CY
89332011-06-14 Chong Yidong <cyd@stupidchicken.com>
8934
8935 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8936 (custom-theme-summary): New function.
8937 (customize-themes): Use it.
8938
d647b7c4
GM
89392011-06-13 Glenn Morris <rgm@gnu.org>
8940
8941 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8942
9481c002
MR
89432011-06-13 Martin Rudalics <rudalics@gmx.at>
8944
357f93d2
MR
8945 * help.el (help-window): Remove variable.
8946 (help-window-point-marker, temp-buffer-max-height)
8947 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8948 (help-print-return-message): Don't set help-window.
8949 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8950 (help-window-setup-finish): Remove.
8951 (help-window-display-message, help-window-setup)
8952 (with-help-window): Major rewrite based on new
8953 display-buffer-window variable.
8954
8955 * help-mode.el (help-mode-finish): Remove help-window related
8956 code.
8957
8958 * view.el (view-exits-all-viewing-windows): Remove reference to
8959 view-return-to-alist in doc-string.
8960 (view-return-to-alist): Make obsolete.
8961 (view-buffer): Call pop-to-buffer-same-window and remove
8962 undo-window code.
8963 (view-buffer-other-window): Call pop-to-buffer-other-window and
8964 simplify code. Ignore second argument.
8965 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8966 simplify code. Ignore second argument.
8967 (view-return-to-alist-update): Make obsolete.
8968 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8969 Rewrite using quit-restore window parameters.
2b75be67
SM
8970 (view-mode-exit): Rename second argument to EXIT-ONLY.
8971 Rewrite using quit-restore-window.
357f93d2
MR
8972 (View-exit, View-exit-and-edit, View-leave, View-quit)
8973 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8974 appropriate arguments.
8975 (view-end-message): Use quit-restore window parameter.
8976
9481c002
MR
8977 * window.el (display-buffer-function): Rewrite doc-string.
8978 (display-buffer-window, display-buffer-alist): New variables.
8979 (display-buffer-split-specifiers)
8980 (display-buffer-side-specifiers)
8981 (display-buffer-macro-specifiers): New constants.
8982 (display-buffer-even-window-sizes, display-buffer-set-height)
8983 (display-buffer-set-width, display-buffer-select-window)
8984 (display-buffer-in-window, display-buffer-reuse-window)
8985 (display-buffer-split-window-1, display-buffer-split-window)
8986 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8987 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8988 (display-buffer-in-side-window, normalize-buffer-to-display)
8989 (display-buffer-normalize-specifiers-1)
8990 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8991 (display-buffer-normalize-specifiers, display-buffer-frame):
8992 New functions.
9481c002
MR
8993 (display-buffer): Major rewrite.
8994 (display-buffer-other-window, display-buffer-other-frame)
8995 (pop-to-buffer, switch-to-buffer-other-window)
8996 (switch-to-buffer-other-frame): Rewrite.
8997 (display-buffer-same-window, display-buffer-same-frame)
8998 (display-buffer-same-frame-other-window)
8999 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9000 (pop-to-buffer-other-window)
9001 (pop-to-buffer-same-frame-other-window)
9002 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9003 (switch-to-buffer-other-window-same-frame): New functions.
9004 (same-window-p, special-display-p): Rewrite disabling warnings.
9005 Make obsolete.
9006 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9007 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9008 Make obsolete
9009 (same-window-buffer-names, same-window-regexps)
9010 (special-display-frame-alist, special-display-popup-frame)
9011 (special-display-function, special-display-buffer-names)
9012 (special-display-regexps, pop-up-frame-alist)
9013 (pop-up-frame-function, split-window-preferred-function)
9014 (split-height-threshold, split-width-threshold)
9015 (even-window-heights): Make obsolete.
9016
9db51aca
GM
90172011-06-12 Glenn Morris <rgm@gnu.org>
9018
9019 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9020 Misc simplifications.
9db51aca 9021
39cffb44
MR
90222011-06-12 Martin Rudalics <rudalics@gmx.at>
9023
9024 * window.el (window-safely-shrinkable-p): Restore function which
9025 was inadvertently removed in change from 2011-06-11. Declare as
9026 obsolete.
9027
2b75be67
SM
9028 * calendar/calendar.el (calendar-generate-window):
9029 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9030 window-safely-shrinkable-p.
9031
a8955be7
GM
90322011-06-12 Glenn Morris <rgm@gnu.org>
9033
9034 * progmodes/fortran.el (fortran-mode-syntax-table):
9035 * progmodes/f90.el (f90-mode-syntax-table):
9036 Set % to punctuation. (Bug#8820)
9037 (f90-find-tag-default): Remove, no longer needed.
9038
f0d4059d
DC
90392011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9040
9041 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9042
1100a63c
CY
90432011-06-11 Chong Yidong <cyd@stupidchicken.com>
9044
9045 * image.el (image-animated-p): Return animation delay in seconds.
9046 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9047 (image-animate-timeout): Remove DELAY argument. Don't assume
9048 every subimage has the same delay; get it from image-animated-p.
9049 (image-animate): Caller changed.
9050
def722bf
MA
90512011-06-11 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9054 to ignored backtrace functions.
9055
0a2bb1a9
GM
90562011-06-11 Glenn Morris <rgm@gnu.org>
9057
9058 * calendar/appt.el (appt-disp-window-function): Doc fix.
9059 (appt-check): Handle overlapping appointments. (Bug#8337)
9060
6198ccd0
MR
90612011-06-11 Martin Rudalics <rudalics@gmx.at>
9062
9063 * window.el (window-tree-1, window-tree): New functions, moving
9064 the latter to window.el.
9065 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9066 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9067 (bw-refresh-edges): Remove.
9068 (balance-windows-1, balance-windows-2): New functions.
9069 (balance-windows): Rewrite in terms of window tree functions,
9070 balance-windows-1 and balance-windows-2.
9071 (bw-adjust-window): Remove.
9072 (balance-windows-area-adjust): New function with functionality of
9073 bw-adjust-window but using resize-window.
2b75be67
SM
9074 (set-window-text-height): Rewrite doc-string.
9075 Use normalize-live-window and resize-window.
9076 (enlarge-window-horizontally, shrink-window-horizontally):
9077 Rename argument to DELTA.
6198ccd0
MR
9078 (window-buffer-height): New function.
9079 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9080 Rewrite using new window resize routines.
2b75be67
SM
9081 (kill-buffer-and-window, mouse-autoselect-window-select):
9082 Use ignore-errors instead of condition-case.
6198ccd0
MR
9083 (quit-window): Call delete-frame instead of delete-windows-on
9084 for the only buffer on frame.
9085
9397e56f
MR
90862011-06-10 Martin Rudalics <rudalics@gmx.at>
9087
9088 * loadup.el (top-level): Load window before files for the sake
9089 of replace-buffer-in-windows.
9090
9091 * files.el (read-buffer-to-switch)
9092 (switch-to-buffer-other-window)
2b75be67
SM
9093 (switch-to-buffer-other-frame, display-buffer-other-frame):
9094 Move to window.el.
9397e56f
MR
9095
9096 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9097 (previous-buffer): Move to window.el.
9098
9099 * bindings.el (unbury-buffer): Move to window.el.
9100
9101 * window.el (delete-other-windows-vertically): Move after
9102 definition of delete-other-windows.
9103 (other-window, delete-windows-on, replace-buffer-in-windows):
9104 Move here from window.c.
9105 (record-window-buffer, unrecord-window-buffer)
9106 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9107 (switch-to-next-buffer): New functions.
9108 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9109 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9110 (previous-buffer): Move here from simple.el.
9111 Call switch-to-prev-buffer.
9397e56f
MR
9112 (bury-buffer): Move here from buffer.c. Switch to previous
9113 buffer when window cannot be deleted.
9114 (unbury-buffer): Move here from bindings.el.
9115 (ctl-x-map): Move binding for other-window from window.c to
9116 here.
9117 (read-buffer-to-switch, switch-to-buffer-other-window)
9118 (switch-to-buffer-other-frame): Move here from files.el.
9119 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9120 (switch-to-buffer): Move here from buffer.c.
9121 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9122
562dd5e9
MR
91232011-06-10 Martin Rudalics <rudalics@gmx.at>
9124
9125 * window.el (window-min-height, window-min-width): Move here
9126 from window.c. Add defcustoms and rewrite doc-strings.
9127 (resize-mini-window, resize-window): New functions.
9128 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9129 Move here from window.c.
9130 (maximize-window, minimize-window): New functions.
9131 (delete-window, delete-other-windows, split-window): Move here
9132 from window.c.
9133 (window-split-min-size): New function.
9134 (split-window-keep-point): Mention split-window-above-each-other
9135 instead of split-window-vertically.
2b75be67 9136 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9137 Rename split-window-vertically to split-window-above-each-other
9138 and provide defalias for old definition.
9139 (split-window-side-by-side, split-window-horizontally):
9140 Rename split-window-horizontally to split-window-side-by-side
9141 and provide defalias for the old definition.
562dd5e9
MR
9142 (ctl-x-map): Move bindings for delete-window,
9143 delete-other-windows and enlarge-window here from window.c.
9144 Replace bindings for split-window-vertically and
9145 split-window-horizontally by bindings for
9146 split-window-above-each-other and split-window-side-by-side.
9147
9148 * cus-start.el (all): Remove entries for window-min-height and
9149 window-min-width. Add entries for window-splits and
9150 window-nest.
9151
f0da764a
GM
91522011-06-09 Glenn Morris <rgm@gnu.org>
9153
80675c21
GM
9154 * calendar/appt.el (appt-mode-line): New function.
9155 (appt-check, appt-disp-window): Use it.
9156
f0da764a
GM
9157 * files.el (hack-one-local-variable-eval-safep):
9158 Allow minor-modes with explicit +/-1 arguments.
9159
59f623b7
TZ
91602011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9161
9162 * term/xterm.el (xterm): Add defgroup.
9163 (xterm-extra-capabilities): Add defcustom to supply known xterm
9164 capabilities, skip querying them, or query them (default).
9165 (terminal-init-xterm): Use it.
9166 (terminal-init-xterm-modify-other-keys): New function to set up
9167 modifyOtherKeys support to simplify `terminal-init-xterm'.
9168
9aab8e0d
MR
91692011-06-09 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (resize-window-reset, resize-window-reset-1)
9172 (resize-subwindows-skip-p, resize-subwindows-normal)
9173 (resize-subwindows, resize-other-windows, resize-this-window)
9174 (resize-root-window, resize-root-window-vertically)
9175 (window-deletable-p, window-or-subwindow-p)
9176 (frame-root-window-p): New functions.
9177
e8b08aee
GM
91782011-06-09 Glenn Morris <rgm@gnu.org>
9179
9180 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9181 (ange-ftp-get-files): Use it.
9182
254c37a5
AK
91832011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9184
9185 * mail/sendmail.el (mail-recover-1, mail-recover):
9186 * files.el (recover-file, recover-session):
9187 Handle dired-listing-switches not being just a single short option.
9188
35d7dbd3
GM
91892011-06-09 Glenn Morris <rgm@gnu.org>
9190
9191 * calendar/appt.el (appt-display-message, appt-disp-window):
9192 Handle lists of appointments.
9193
387522b2
MR
91942011-06-08 Martin Rudalics <rudalics@gmx.at>
9195
2b75be67
SM
9196 * window.el (one-window-p): Move down in code.
9197 Rewrite doc-string.
9198 (window-current-scroll-bars): Rewrite doc-string.
9199 Normalize live window argument.
387522b2
MR
9200 (walk-windows, get-window-with-predicate, count-windows):
9201 Rewrite doc-string. Use window-list-1.
9202 (window-in-direction-2, window-in-direction, get-mru-window):
9203 New functions.
9204
d8e4b68b 92052011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9206
9207 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9208 Doc fix (Bug#8713).
9209
92102011-06-08 Chong Yidong <cyd@stupidchicken.com>
9211
9212 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9213
92142011-06-08 Juanma Barranquero <lekktu@gmail.com>
9215
9216 * loadhist.el (unload-feature-special-hooks):
9217 Add `comint-output-filter-functions'.
9218
0de12c52
IK
92192011-06-08 Ivan Kanis <gnu@kanis.fr>
9220
9221 * calendar/appt.el (appt-check): Move some initializations into the let.
9222
f3d1777e
MR
92232011-06-08 Martin Rudalics <rudalics@gmx.at>
9224
9225 * window.el (window-height): Defalias to window-total-height.
9226 (window-width): Defalias to window-body-width.
9227
18af70d0
CY
92282011-06-07 Chong Yidong <cyd@stupidchicken.com>
9229
9230 * image-mode.el (image-toggle-animation): New command.
9231 (image-mode-map): Bind it to RET.
9232 (image-mode): Update message.
9233 (image-toggle-display-image): Avoid a spurious cache flush.
9234 (image-transform-rotation): Doc fix.
9235 (image-transform-properties): Return quickly in the normal case.
9236 (image-animate-loop): Rename from image-animate-max-time.
9237
2b75be67 9238 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9239 (create-animated-image): Remove unnecessary function.
9240 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9241 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9242 (image-animate-timer): Use car-safe.
9243 (image-animate-timeout): Rename argument.
9244
190b47e6
MR
92452011-06-07 Martin Rudalics <rudalics@gmx.at>
9246
9247 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9248 window.c. Rename first argument to ALL-FRAMES.
9249 Rephrase doc-strings.
9250 (get-buffer-window-list): Rewrite using window-list-1.
9251 Rephrase doc-string.
a1511caf
MR
9252 (window-safe-min-height, window-safe-min-width): New constants.
9253 (window-size-ignore, window-min-size, window-min-size-1)
9254 (window-sizable, window-sizable-p, window-size-fixed-1)
9255 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9256 (window-max-delta-1, window-max-delta, window-resizable)
9257 (window-resizable-p, window-total-height, window-total-width)
9258 (window-body-width): New functions.
9259 (window-full-height-p, window-full-width-p): Rewrite using
9260 window-total-size.
9261 (window-body-height): Rewrite using window-body-size.
190b47e6 9262
85cc1f11
MR
92632011-06-06 Martin Rudalics <rudalics@gmx.at>
9264
9265 * window.el (window-right, window-left, window-child)
9266 (window-child-count, window-last-child, window-any-p)
9267 (normalize-live-buffer, normalize-live-frame)
9268 (normalize-any-window, normalize-live-window)
9269 (window-iso-combination-p, window-iso-combined-p)
9270 (window-iso-combinations)
9271 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9272 (windows-with-parameter, window-with-parameter)
9273 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9274 (window-atom-check, window-side-check, window-check):
9275 New functions.
85cc1f11
MR
9276 (ignore-window-parameters, window-sides, window-sides-vertical)
9277 (window-sides-slots): New variables.
9278 (window-size-fixed): Move down in code. Minor doc-string fix.
9279
e7156492
AS
92802011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9281
9282 * comint.el (comint-dynamic-complete-as-filename)
9283 (comint-dynamic-complete-filename): Correctly call
9284 completion-in-region.
9285
7e821d0d
DD
92862011-06-05 Deniz Dogan <deniz@dogan.se>
9287
9288 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9289 in last change.
9290
ac09b8a1
DD
92912011-06-05 Deniz Dogan <deniz@dogan.se>
9292
9293 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9294 (rcirc): Use it to prompt for encryption.
9295
34699b85
RW
92962011-06-05 Roland Winkler <winkler@gnu.org>
9297
9298 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9299 (bibtex-search-entries): New command bound to C-c C-a.
9300 (bibtex-display-entries): New function.
9301
004dedd3
RW
93022011-06-05 Roland Winkler <winkler@gnu.org>
9303
9304 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9305 (bibtex-insert-kill): After yanking insert newline if necessary.
9306 (bibtex-initialize): Call bibtex-string-files-init only once.
9307 (bibtex-mode): Do not call easy-menu-add.
9308 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9309 (bibtex-yank): Set arg properly if nil.
9310
022fe7ce
RW
93112011-06-05 Roland Winkler <winkler@gnu.org>
9312
2b75be67
SM
9313 * textmodes/bibtex.el (bibtex-search-entry-globally):
9314 New variable.
022fe7ce
RW
9315 (bibtex-search-entry): Use it.
9316
b7c3692a
RW
93172011-06-05 Roland Winkler <winkler@gnu.org>
9318
9319 * textmodes/bibtex.el (bibtex-entry-format): New option
9320 sort-fields.
9321 (bibtex-format-entry, bibtex-reformat): Honor this option.
9322 (bibtex-parse-entry): Return fields in proper order.
9323
8eda563d
JB
93242011-06-05 Juanma Barranquero <lekktu@gmail.com>
9325
9326 * doc-view.el (doc-view-remove-if): Move computation of result out
9327 of `dolist' to silence misleading lexical-binding warning.
9328
7dbe3dbc
CY
93292011-06-04 Chong Yidong <cyd@stupidchicken.com>
9330
9331 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9332 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9333
0c33dd17
MA
93342011-06-04 Michael Albinus <michael.albinus@gmx.de>
9335
9336 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9337 "SunOS 5.10".
9338
f8f91c2b
MA
93392011-06-04 Michael Albinus <michael.albinus@gmx.de>
9340
9341 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9342 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9343 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9344 (tramp-parse-putty):
9345 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9346 (tramp-completion-function-alist-ssh)
9347 (tramp-completion-function-alist-telnet)
9348 (tramp-completion-function-alist-su)
9349 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9350 cookie.
9351
9352 * net/tramp-ftp.el:
9353 * net/tramp-sh.el:
9354 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9355 load "tramp.el" `tramp-set-completion-function'.
9356
e17d9003
SM
93572011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * shell.el: Require and use pcomplete.
9360 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9361 (shell-completion-vars): Set pcomplete-default-completion-function.
9362
6c4cab03
DD
93632011-06-04 Deniz Dogan <deniz@dogan.se>
9364
9365 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9366 `memq' (Bug#8799).
9367
ea9fafe0
SM
93682011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9371
b3e945d3
JB
93722011-06-02 Juanma Barranquero <lekktu@gmail.com>
9373
9374 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9375 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9376 * vc/log-view.el (log-view-beginning-of-defun):
9377 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9378 (smerge-refine-forward, smerge-refine-chopup-region):
9379 Silence warning for unused `dotimes' counter variables.
9380
7d520089
SM
93812011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * net/tramp.el (tramp-with-progress-reporter): Rename from
9384 with-progress-reporter. Use `declare'.
9385 * net/tramp-smb.el:
9386 * net/tramp-sh.el:
9387 * net/tramp-gvfs.el: Update all uses.
9388
a1c2400f
JB
93892011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9390
9391 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9392 buffer isn't killed before making it current.
9393
2403c841
SM
93942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 Silence various byte-compiler warnings.
9397 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9398 `access-type' and new obsolescence format.
9399 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9400 new format.
9401 (byte-compile-check-variable): New `access-type' argument.
9402 Only warn if the access-type is obsolete.
9403 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9404 (byte-compile-variable-set): Adjust callers.
9405 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9406 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9407 setting it as obsolete.
9408 * simple.el (minibuffer-completing-symbol):
9409 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9410 access as obsolete.
9411 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9412 obsolete yet.
9413 * international/quail.el (quail-mouse-choose-completion): Remove unused
9414 code referring to obsolete var.
9415 (quail-choose-completion-string): Remove.
9416 * server.el (server-clients-with, server-kill-buffer-query-function)
9417 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9418 * proced.el (proced-send-signal):
9419 * emacs-lisp/lisp.el (lisp-complete-symbol):
9420 Replace completion-annotate-function with completion-extra-properties.
9421
2462470b
SM
94222011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9423
fb5b2591
SM
9424 * simple.el (goto-line): Use read-number.
9425 (overriding-map-is-bound): Remove.
9426 (saved-overriding-map): Change default.
9427 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9428 Take the map as argument.
9429 (universal-argument, negative-argument, digit-argument): Use it.
9430 (restore-overriding-map): Adjust.
9431 (do-auto-fill): Use fill-forward-paragraph.
9432 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9433
fd6fa53f
SM
9434 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9435 (minibuffer-inactive-mode): New major mode.
9436 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9437 the *Messages* buffer" hack.
9438 (mouse-popup-menubar): Don't burp if the event is a normal key.
9439
2462470b
SM
9440 Miscellaneous tweaks.
9441 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9442 lexical scoping as in subr.el's dolist and dotimes.
9443 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9444 Silence compiler warning.
9445 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9446 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9447 * international/ccl.el (ccl-compile): Trivial simplification.
9448 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9449 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9450 `printflag' argument.
9451 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9452 Purecopy the whole obsolescence data.
9453
108bf785
LL
94542011-06-01 Leo Liu <sdl.web@gmail.com>
9455
9456 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9457 improve doc-string as suggested by Marco Pessotto
9458 <melmothx@gmail.com>.
9459 (rcirc-print): Fix last change.
9460
30a23501
SM
94612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * minibuffer.el (complete-with-action): Return nil for the metadata and
9464 boundaries of non-functional tables.
9465 (completion-table-dynamic): Return nil for the metadata.
9466 (completion-table-with-terminator): Add default case, using
9467 complete-with-action.
9468 (completion--metadata): New function.
9469 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9470 to try and avoid pathological performance problems.
9471 (completion--embedded-envvar-table): Return `category' metadata.
9472
bcd54f83
LMI
94732011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9474
9475 * subr.el (process-alive-p): New tiny convenience function.
9476
e227544d
SM
94772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9480 content but also its previous major mode.
9481
e8296fdc
HE
94822011-05-31 Helmut Eller <eller.helmut@gmail.com>
9483
4d61f28d 9484 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9485 *Backtrace* buffer when we exit with C-M-c.
9486
620c53a6
SM
94872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 * minibuffer.el: Add metadata method to completion tables.
9490 (completion-category-overrides): New defcustom.
9491 (completion-metadata, completion--field-metadata)
9492 (completion-metadata-get, completion--styles)
9493 (completion--cycle-threshold): New functions.
9494 (completion-try-completion, completion-all-completions):
9495 Add `metadata' argument to choose completion-styles.
9496 (completion--do-completion): Use metadata to choose cycling.
9497 (completion-all-sorted-completions): Use metadata for sorting.
9498 Remove :completion-cycle-penalty which is not needed any more.
9499 (completion--try-word-completion): Add `metadata' argument.
9500 (minibuffer-completion-help): Check metadata for annotation function
9501 and sorting.
9502 (completion-file-name-table): Return `category' metadata.
9503 (minibuffer-completing-file-name): Make obsolete.
9504 * simple.el (minibuffer-completing-symbol): Make obsolete.
9505 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9506 completion-try-completion.
9507
1257e755
SM
95082011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9511
3767e706
LL
95122011-05-30 Leo Liu <sdl.web@gmail.com>
9513
9514 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9515 (rcirc-print): Decode all incoming messages (bug#8744).
9516 (rcirc-decode-coding-system): Allow value nil for automatic coding
9517 system detection.
3767e706 9518
d1a5d56a
GM
95192011-06-01 Glenn Morris <rgm@gnu.org>
9520
9521 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9522
e8cbec34
CY
95232011-05-29 Chong Yidong <cyd@stupidchicken.com>
9524
9525 * image.el (image-animate-max-time): Allow nil and t values.
9526 Default to nil.
9527 (create-animated-image): Doc fix.
9528 (image-animate-start): Remove second arg; just use
9529 image-animate-max-time.
9530 (image-animate-timeout): Doc fix. Args changed.
9531
9532 * image-mode.el (image-toggle-display-image): Ensure that the
9533 image spec passed to the animate timer is the same object as in
58179cce 9534 the buffer's display property (Bug#6981).
e8cbec34
CY
9535 (image-transform-properties): Doc fix.
9536
9537 * image.el (image-animate-max-time): Default to nil.
9538
159daf87
MR
95392011-05-29 Martin Rudalics <rudalics@gmx.at>
9540
9541 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9542 entire buffer list (Bug#8184).
9543
d66c4c7c
CY
95442011-05-29 Chong Yidong <cyd@stupidchicken.com>
9545
9546 * image.el (imagemagick-types-inhibit)
9547 (imagemagick-register-types): Doc fix.
9548
80aec780
DD
95492011-05-29 Deniz Dogan <deniz@dogan.se>
9550
9551 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9552 default.
9553
1dd3c2d9
CY
95542011-05-29 Chong Yidong <cyd@stupidchicken.com>
9555
9556 * select.el: Don't perform clipboard-manager saving in hooks;
9557 leave the hooks empty.
9558
60e56523
LL
95592011-05-28 Leo Liu <sdl.web@gmail.com>
9560
9561 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9562 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9563 (occur-edit-mode): New major mode (Bug#8463).
9564 (occur-after-change-function): New function.
9565 (occur-engine): Give Occur tags a read-only property.
9566
2b1e1a22
KR
95672011-05-28 Kevin Ryde <user42@zip.com.au>
9568
9569 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9570
5d344e88
CY
95712011-05-28 Chong Yidong <cyd@stupidchicken.com>
9572
8e6ca83d
CY
9573 * bindings.el (help-echo): Make the initial non-indicator dash
9574 empty on graphical terminals (Bug#7295).
9575
5d344e88
CY
9576 * files.el (auto-mode-alist): Move config rule after the
9577 in-stripping one (Bug#8547).
9578
bfbbace7
CY
9579 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9580
fbeba6e2
CY
9581 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9582 setting (Bug#8740).
9583
60ed8c72
AA
95842011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9585
4ac619f0
AA
9586 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9587 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9588 (Bug#8539).
60ed8c72 9589
23db196e
CY
95902011-05-28 Chong Yidong <cyd@stupidchicken.com>
9591
9592 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9593
5012f24c
DK
95942011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9595
9596 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9597 (hs-hide-block-at-point, hs-find-block-beginning)
9598 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9599 (Bug#8279).
9600
6a639b16
GM
96012011-05-28 Glenn Morris <rgm@gnu.org>
9602
9603 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9604
d43eaf2c
CY
96052011-05-28 Chong Yidong <cyd@stupidchicken.com>
9606
5199bde1
CY
9607 * help-fns.el (describe-function-1): If the function is a derived
9608 major mode, print the parent mode.
9609
d43eaf2c
CY
9610 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9611 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9612
423428a8
SM
96132011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9614
0ff8e1ba 9615 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9616 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9617 * progmodes/etags.el (tags-completion-at-point-function):
9618 * info-look.el (info-lookup-completions-at-point): Mark as
9619 non-exclusive.
9620 (info-complete): Adjust accordingly.
9621
423428a8
SM
9622 * info-look.el: Convert to lexical-binding and completion-at-point.
9623 (info-lookup-completions-at-point): New function.
9624 (info-complete): Use it and completion-in-region.
9625
b74aa22b
DA
96262011-05-28 Drew Adams <drew.adams@oracle.com>
9627
9628 * isearch.el: Let M-e start with point at the first mismatched char.
9629 (isearch-fail-pos): New function.
9630 (isearch-edit-string): Use it.
9631
66e2e71d
DK
96322011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9633
9634 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9635
b1890b0f 96362011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9637
9638 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9639 traversal functions for avl-trees.
9640 (avl-tree--stack): New struct.
9641 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9642 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9643 (avl-tree--do-enter): Add optional `updatefun' arg.
9644 Change return value.
eb95d01d 9645 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9646 (avl-tree--do-delete): Add `test' and `nilflag' args.
9647 Change return value.
eb95d01d
TC
9648 (avl-tree-member): Add optional `nilflag'
9649 (avl-tree-member-p): New function.
9650 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9651 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9652 (avl-tree-stack-empty-p): New functions.
9653
3769ddcf
TC
9654 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9655 avl-tree--del-balance1 and make it work both ways.
9656 (avl-tree--del-balance2): Remove.
9657 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9658 make it work both ways.
9659 (avl-tree--enter-balance2): Remove.
9660 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9661 New macros.
9662 (avl-tree--mapc, avl-tree-map): Add direction argument.
9663
eb95d01d 96642011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9665
9666 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9667
a9f737ee
CY
96682011-05-27 Chong Yidong <cyd@stupidchicken.com>
9669
9670 * select.el: Support clipboard managers with built-in function
9671 x-clipboard-manager-save, via delete-frame-functions and
9672 kill-emacs-hook.
9673 (xselect-convert-to-targets): Add MULTIPLE target to list.
9674 (xselect-convert-to-save-targets): New function.
9675
c92a1e54
KH
96762011-05-27 Kenichi Handa <handa@m17n.org>
9677
9678 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9679 let-binding rfc2047-encode-encoded-words to nil.
9680
e145f188
GM
96812011-05-27 Glenn Morris <rgm@gnu.org>
9682
5ec8a862
GM
9683 * mail/emacsbug.el: Don't require url-util.
9684
4b29d9fb
GM
9685 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9686
e145f188
GM
9687 * files.el (set-auto-mode):
9688 Also respect mode: entries at the end of the file. (Bug#8586)
9689
7d15102b
GM
96902011-05-26 Glenn Morris <rgm@gnu.org>
9691
98f593b8
GM
9692 * files.el (hack-local-variables-prop-line, hack-local-variables):
9693 Downcase mode names, as seems to be traditional.
27b48e63 9694 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9695
7d15102b
GM
9696 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9697 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9698
51d5b4ec
JD
96992011-05-25 Julien Danjou <julien@danjou.info>
9700
9701 * textmodes/rst.el (rst-define-level-faces): Do not define face
9702 symbol if it is already defined.
9703
91513f63
VB
97042011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9705
9706 * play/5x5.el (5x5-new-game, 5x5-randomize):
9707 Reset 5x5-solver-output to nil when a new grid is cast.
9708 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9709 these debugging traces, as defmacro breaks the compiled code.
9710
4d90d6d0
DK
97112011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9712
9713 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9714
e1b90ef6
LL
97152011-05-24 Leo Liu <sdl.web@gmail.com>
9716
9717 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9718 (vc-bzr-sha1): Adapt.
9719
d8e4b68b 9720 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9721
9722 * bindings.el: Provide sha1 feature.
9723
db0406bb 97242011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9725
9726 * mail/sendmail.el: Require `rfc2047'.
9727 (mail-insert-from-field): Do not perform RFC2047 encoding.
9728 (mail-encode-header): New function.
9729 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9730 buffer to the return value of select-message-coding-system.
9731 Call mail-encode-header.
b8d747b9
KH
9732
9733 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9734
db0406bb 97352011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9736
4d90d6d0
DK
9737 * mail/supercite.el (sc-default-cite-frame):
9738 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9739
eb8a5e9b
GM
97402011-05-24 Glenn Morris <rgm@gnu.org>
9741
f8630703
GM
9742 * progmodes/python.el (brm-menu): Declare.
9743
8831bbed
GM
9744 * emulation/viper.el (viper-set-hooks): Declare.
9745
eb8a5e9b
GM
9746 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9747 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9748 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9749 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9750 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9751 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9752
a2a25d24
SM
97532011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 Add an :exit-function for completion-at-point.
9756
9757 * minibuffer.el (completion--done): New fun.
9758 (completion--do-completion): Use it. New arg `expect-exact'.
9759 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9760 since completion--do-completion does it for us now.
9761 (minibuffer-force-complete): Use completion--done and
9762 completion--replace. Handle sole-completion case with more care.
9763 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9764 (completion-extra-properties): New var.
9765 (completion-annotate-function): Make obsolete.
9766 (minibuffer-completion-help): Adjust accordingly.
9767 Use completion-list-insert-choice-function.
9768 (completion-at-point, completion-help-at-point):
9769 Bind completion-extra-properties.
9770 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9771 * simple.el (completion-list-insert-choice-function): New var.
9772 (completion-setup-function): Preserve it.
9773 (choose-completion): Pay attention to it, shuffle the code a bit.
9774 (choose-completion-string): New arg `insert-function'.
9775
9776 * textmodes/bibtex.el: Convert to lexical binding.
9777 (bibtex-mode-map): Use completion-at-point.
9778 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9779 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9780 (bibtex-complete): Define as obsolete alias.
9781 (bibtex-complete-internal): Remove.
9782 (bibtex-format-entry): Remove unused sub-group in regexp.
9783 * shell.el (shell--command-completion-data)
9784 (shell-environment-variable-completion):
9785 * pcomplete.el (pcomplete-completions-at-point):
9786 * comint.el (comint--complete-file-name-data): Use :exit-function
9787 instead of completion-table-with-terminator so it also works for
9788 choose-completion.
9789
e44e373d
SM
97902011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9791
4f91a816
SM
9792 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9793
782fc819
SM
9794 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9795 (bug#8710).
9796
e44e373d
SM
9797 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9798
381987c3
KM
97992011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9800
9801 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9802 customization variable and implement: If non-nil, auto-fill will
9803 be inhibited while on topic's header line.
9804
b776bc70
VB
98052011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9806
9807 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9808 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9809 always have a solution in grid size = 5 cases.
9810 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9811 (5x5-solver-output, 5x5-log-buffer): New vars.
9812 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9813 Make these variables buffer local to achieve 5x5 multi-session-ness.
9814 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9815 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9816 (5x5-solve-suggest): New funs.
9817 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9818 randomize a grid so that we ensure that there is always a solution.
9819 (5x5-make-random-grid): Allow other movement than flipping.
9820
7de88b6e
KR
98212011-05-23 Kevin Ryde <user42@zip.com.au>
9822
9823 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9824 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9825 advice and passes PREDICATE.
9826
b1ef1257
SM
98272011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9828
bbca48fe
SM
9829 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9830 byte-compile-lambda if it's actually a lambda.
9831
b1ef1257
SM
9832 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9833 Fix function quoting. Use backquote better.
9834
92a9cc65
YS
98352011-05-22 Yuanle Song <sylecn@gmail.com>
9836
9837 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9838 matching (Bug#8516).
9839
f0fb8059
JA
98402011-01-22 Jari Aalto <jari.aalto@cante.net>
9841
9842 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9843 different face (Bug#8178).
9844
d5b44c93
CY
98452011-05-22 Chong Yidong <cyd@stupidchicken.com>
9846
9847 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9848 defface (Bug#8144).
9849
79106a44
SM
98502011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9c848d8a
SM
9852 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9853 funcall as well (bug#8712). Warn when performing those conversions.
9854 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9855
79106a44
SM
9856 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9857
88dfa756
GM
98582011-05-22 Glenn Morris <rgm@gnu.org>
9859
9860 * files.el (hack-local-variables-prop-line): Small simplifications.
9861 (hack-local-variables, hack-local-variables-prop-line):
9862 If MODE-ONLY, return the mode, rather than just `t'.
9863
b7cf2c79
SM
98642011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9867
3f1a8558
GM
98682011-05-21 Glenn Morris <rgm@gnu.org>
9869
7e4ccca3
GM
9870 * files.el (hack-local-variables-prop-line, hack-local-variables):
9871 If only interested in the mode, don't bother doing the other stuff.
9872
637d46ca
GM
9873 * image-mode.el (image-after-revert-hook):
9874 Redraw all frames on which the image is visible. (Bug#8567)
9875
973d955b
GM
9876 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9877
3f1a8558
GM
9878 * wid-edit.el (widget-checklist-match-inline):
9879 Fix 2011-04-19 change. (Bug#8649)
9880
96479927
SM
98812011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9882
1dcf791f
SM
9883 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9884 Also allow singlespace after single-letter capitals followed by a dot.
9885
96479927
SM
9886 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9887 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9888
35fd0881
N
98892011-05-20 Nix <nix@esperi.org.uk>
9890
9891 * files.el (basic-save-buffer-2):
9892 Fix handling of break-hardlink-on-save with non-existent files.
9893
82745640
DD
98942011-05-19 Deniz Dogan <deniz@dogan.se>
9895
9896 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9897 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9898
4a720484
GM
98992011-05-19 Glenn Morris <rgm@gnu.org>
9900
d1f21341
GM
9901 * progmodes/f90.el (f90-type-def-re):
9902 Handle "type, bind(c)". (Bug#8691)
9903
4a720484
GM
9904 * emacs-lisp/autoload.el (batch-update-autoloads):
9905 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9906
2fb0a219
MA
99072011-05-18 Michael Albinus <michael.albinus@gmx.de>
9908
9909 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9910 property for the correct connection in case of multihops.
9911
e565dd37
GM
99122011-05-18 Glenn Morris <rgm@gnu.org>
9913
c2571358 9914 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9915 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9916
e565dd37
GM
9917 Rationalize calendar handling of day and month abbrev-arrays.
9918 * calendar/calendar.el (calendar-customized-p): New function.
9919 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9920 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9921 Add :set function.
9922 (calendar-abbrev-length, calendar-day-abbrev-array)
9923 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9924 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9925 Elements may no longer be nil.
9926 (calendar-day-name, calendar-month-name):
9927 Update for changed nature of abbrev arrays.
9928 * calendar/diary-lib.el (diary-name-pattern):
9929 Update for changed nature of abbrev arrays.
9930 (diary-mark-entries-1): Update calendar-make-alist calls.
9931 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9932 * calendar/cal-html.el (cal-html-day-abbrev-array):
9933 Simply inherit from calendar-day-abbrev-array.
9934
1d99a745
SM
99352011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * progmodes/grep.el (grep-mode): Disable default
9938 compilation-directory-matcher setting (bug#8684).
9939
7c1d9aa0
MA
99402011-05-17 Michael Albinus <michael.albinus@gmx.de>
9941
9942 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9943 instead of "head" and "tail". There were problems with SunOS 5.9,
9944 and it performs better.
9945
3952e9d8
GM
99462011-05-17 Glenn Morris <rgm@gnu.org>
9947
2dd12e7f
GM
9948 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9949
e4157b9c
GM
9950 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9951 Replace obsolete function.
9952
8e249bbd
GM
9953 * shell.el (pcomplete-parse-arguments-function): Declare.
9954
3952e9d8
GM
9955 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9956 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9957 (appt-check): Doc fixes.
9958 (appt-disp-window-function, appt-delete-window-function):
9959 Remove needless special case in custom :type.
9960 (appt-display-count): Default to 0, not nil.
9961 (appt-check): Reset appt-display-count to 0, not nil.
9962
c71a0d48 99632011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9964
c71a0d48
GM
9965 * progmodes/python.el (python-font-lock-keywords):
9966 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9967
31d55be9
SM
99682011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9971
3bfacb2f
KR
99722011-05-16 Kevin Ryde <user42@zip.com.au>
9973
9974 * info-look.el (makefile-automake-mode): New setups, looking in
9975 automake manual, then makefile-mode.
9976 (makefile-mode): Remove automake manual, have it just in
9977 makefile-automake-mode since there's various things different or
9978 not relevant to plain make.
9979 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9980 believe a hypothetical automake-mode would go to makefile-mode,
9981 not the other way around.
9982
c8e83751
CY
99832011-05-15 Chong Yidong <cyd@stupidchicken.com>
9984
5e9e35cd
CY
9985 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9986 hunk-end tags (Bug#8672).
9987
c8e83751
CY
9988 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9989 vc-annotate-show-diff-revision-at-line (Bug#8671).
9990
50b23e5a
GM
99912011-05-14 Glenn Morris <rgm@gnu.org>
9992
7210a739
GM
9993 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9994 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9995 (change-log-font-lock-keywords): Also handle multiple author lines
9996 with leading tabs. (Bug#8644)
7210a739 9997
4691905a
GM
9998 * calendar/appt.el (appt-check): Rename some local variables.
9999 Some simplification/reordering.
10000
50b23e5a
GM
10001 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10002 (feedmail-sendmail-f-doesnt-sell-me-out)
10003 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10004 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10005 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10006 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10007 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10008 (feedmail-binmail-gnulinuxish-template):
10009 Rename from feedmail-binmail-linuxish-template.
10010 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10011 Use insert-buffer-substring.
10012
215cda7c
BC
100132011-05-14 Bill Carpenter <bill@carpenter.org>
10014
10015 * mail/feedmail.el (feedmail-patch-level): Increase.
10016 (feedmail-debug): New custom group.
10017 (feedmail-confirm-outgoing-timeout)
10018 (feedmail-sendmail-f-doesnt-sell-me-out)
10019 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10020 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10021 (feedmail-sender-line, feedmail-from-line)
10022 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10023 (feedmail-spray-this-address)
215cda7c
BC
10024 (feedmail-spray-address-fiddle-plex-list)
10025 (feedmail-queue-use-send-time-for-date)
10026 (feedmail-queue-use-send-time-for-message-id)
10027 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10028 (feedmail-buffer-eating-function):
10029 Doc fixes.
10030 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10031 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10032 (feedmail-message-action-scroll-down): New functions.
10033 (feedmail-queue-directory, feedmail-queue-draft-directory):
10034 Use expand-file-name.
10035 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10036 Remove C-v help entry.
10037 (feedmail-queue-buffer-file-name): New variable.
10038 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10039 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10040 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10041 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10042 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10043 (feedmail-message-action-toggle-spray)
10044 (feedmail-run-the-queue-no-prompts)
10045 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10046 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10047 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10048 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10049 (feedmail-envelope-deducer, feedmail-fiddle-from)
10050 (feedmail-fiddle-sender, feedmail-default-date-generator)
10051 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10052 (feedmail-fiddle-spray-address)
10053 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10054 (feedmail-fiddle-list-of-fiddle-plexes)
10055 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10056 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10057 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10058 Change default. Doc fix.
10059 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10060 (feedmail-binmail-linuxish-template): New constant.
10061 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10062 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10063 (feedmail-send-it): Add debug call.
10064 Use feedmail-queue-buffer-file-name, and
10065 feedmail-send-it-immediately-wrapper.
10066 (feedmail-message-action-send): Add debug call.
10067 Use feedmail-send-it-immediately-wrapper.
10068 (feedmail-queue-express-to-queue): Add debug call.
10069 Run feedmail-queue-express-hook.
10070 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10071 (feedmail-message-action-help-blat):
10072 Rename from feedmail-queue-send-edit-prompt-help-first.
10073 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10074 Check line-endings. Handle errors better.
10075 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10076 Doc fix. Add debug call.
10077 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10078 Use feedmail-queue-send-edit-prompt-inner.
10079 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10080 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10081 from feedmail-queue-send-edit-prompt.
10082 (feedmail-queue-send-edit-prompt-help)
10083 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10084 (feedmail-tidy-up-slug): Add debug call.
10085 Respect feedmail-queue-slug-suspect-regexp.
10086 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10087 (feedmail-dump-message-to-queue): Add debug call.
10088 Expand queue-directory.
10089 (feedmail-dump-message-to-queue): Change message slightly.
10090 Use feedmail-say-chatter.
10091 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10092 (feedmail-send-it-immediately-wrapper): New function.
10093 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10094 Insert empty string rather than newline. Handle full-frame case.
10095 Use catch/throw. Use feedmail-say-chatter.
10096 (feedmail-fiddle-from): Try mail-host-address.
10097 (feedmail-default-message-id-generator): Doc fix.
10098 Bind system-time-locale. Handle missing end.
10099 (feedmail-fiddle-x-mailer): Add debug call.
10100 Handle feedmail-x-mailer-line being nil.
10101 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10102 Add debug call. Use buffer-substring-no-properties.
10103 (feedmail-say-debug, feedmail-say-chatter): New functions.
10104 (feedmail-find-eoh): Give an explicit error.
10105
42c7e61e
UJ
101062011-05-13 Ulf Jasper <ulf.jasper@web.de>
10107
c2571358 10108 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10109 family from helvetica to sans.
c2571358 10110 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10111 etc/images/newsticker.
10112
c2571358 10113 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10114 family from helvetica to sans.
10115
10116 * net/newst-plainview.el (newsticker-new-item-face)
10117 (newsticker-old-item-face, newsticker-immortal-item-face)
10118 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10119 (newsticker-statistics-face): Change default family from
42c7e61e 10120 helvetica to sans.
c2571358 10121 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10122 etc/images/newsticker.
10123
10124 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10125 (newsticker--process-auto-mark-filter-match): : Tell user about
10126 auto-marking.
10127
8497a297
DV
101282011-05-13 Didier Verna <didier@xemacs.org>
10129
10130 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10131 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10132 TODO entries.
8497a297
DV
10133 (lisp-lambda-list-keyword-parameter-indentation)
10134 (lisp-lambda-list-keyword-parameter-alignment)
10135 (lisp-lambda-list-keyword-alignment): New customizable user options.
10136 (lisp-indent-defun-method): Improve docstring.
10137 (extended-loop-p): Fix comment.
10138 (lisp-indent-lambda-list-keywords-regexp): New variable.
10139 (lisp-indent-lambda-list): New function.
10140 (lisp-indent-259): Use it.
10141 (lisp-indent-defmethod): Support for more than one
10142 method qualifier and properly indent methods lambda-lists.
10143 (defgeneric): Provide a missing common-lisp-indent-function property.
10144
f278f87f
SM
101452011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10148 bounds for the empty string (bug#8667).
10149
5233edd7
GM
101502011-05-13 Glenn Morris <rgm@gnu.org>
10151
5237a44f
GM
10152 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10153
8340026c 10154 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10155 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10156
5233edd7 10157 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10158 (appt-time-msg-list): Doc fix.
a5464014 10159 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10160
92d10796
AS
101612011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10162
10163 * progmodes/ld-script.el (ld-script-keywords)
10164 (ld-script-builtins): Update keywords list.
10165
914a0ae1
SM
101662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10167
c89be45f
SM
10168 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10169
914a0ae1
SM
10170 * shell.el (shell-completion-vars): New function.
10171 (shell-mode):
10172 * simple.el (read-shell-command): Use it.
10173 (blink-matching-open): No need for " [...]" in minibuffer-message.
10174
98dc3df3
GM
101752011-05-12 Glenn Morris <rgm@gnu.org>
10176
10177 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10178 (appt-check): Simplify.
10179
d2fc7e3d 101802011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10181
4d61f28d 10182 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10183 literal "/dev/null".
10184
d2fc7e3d 101852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10186
10187 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10188 Fix typo.
10189
d2fc7e3d 101902011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10191
3f254caa
SM
10192 * progmodes/which-func.el (which-function):
10193 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10194 which might not be defined (Bug#8260).
10195
d45885f7
GM
101962011-05-12 Glenn Morris <rgm@gnu.org>
10197
10198 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10199 Let byte-compile-initial-macro-environment always take precedence.
10200
488086f4
SM
102012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * net/rcirc.el: Add support for SSL/TLS connections.
10204 (rcirc-server-alist): New field `encryption'.
10205 (rcirc): Check `encryption' settings.
10206 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10207 Merge make-local-variable into `set'.
10208 (rcirc--connection-open-p): New function.
10209 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10210 the process is not a network process (e.g. running gnutls-cli).
10211 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10212 Make rcirc-(en|de)code-coding-system local here.
10213 (rcirc-mode): Merge make-local-variable into `set'.
10214 (rcirc-parent-buffer): Make permanent buffer-local.
10215 (rcirc-multiline-minor-mode): Don't do it here.
10216 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10217 there's no server buffer.
10218
7d3b9d44
GM
102192011-05-11 Glenn Morris <rgm@gnu.org>
10220
f64049c6
GM
10221 * newcomment.el (comment-kill): Prefix "unused" local.
10222
93c9df73
GM
10223 * term/w32console.el (get-screen-color): Declare.
10224
7d3b9d44
GM
10225 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10226 Handle symbol elements of byte-compile-initial-macro-environment.
10227
9e2dd53f
LL
102282011-05-10 Leo Liu <sdl.web@gmail.com>
10229
488086f4
SM
10230 * bookmark.el (bookmark-bmenu-mode-map):
10231 Bind bookmark-bmenu-search to `/'.
8b340240 10232
9e2dd53f 10233 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10234 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10235 (Footnote-unicode): New function.
10236 (footnote-style-alist): Add unicode style to the list.
10237 (footnote-style): Doc fix.
9e2dd53f 10238
79b70037
GM
102392011-05-10 Jim Meyering <meyering@redhat.com>
10240
10241 Fix doubled-word typos.
10242 * international/quail.el (quail-insert-kbd-layout): and and -> and
10243 * kermit.el: and and -> and
10244 * net/ldap.el (ldap-search-internal): to to -> to
10245 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10246 * progmodes/js.el (js-mode): and and -> and
10247 * textmodes/artist.el (artist-move-to-xy): at at -> at
10248 (artist-draw-region-trim-line-endings): if if -> if
10249 And Safetyc -> Safety.
10250 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10251
b8f82dc1 102522011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10253 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10254
10255 * files.el (hack-one-local-variable-eval-safep):
10256 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10257
4f99f44b
GM
102582011-05-10 Glenn Morris <rgm@gnu.org>
10259
10260 * calendar/diary-lib.el (diary-list-entries-hook)
10261 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10262 (diary-nongregorian-marking-hook, diary-list-entries)
10263 (diary-include-other-diary-files, diary-mark-entries)
10264 (diary-mark-included-diary-files): Doc fixes.
10265
84f29e6b
JB
102662011-05-09 Juanma Barranquero <lekktu@gmail.com>
10267
10268 * misc.el: Require tabulated-list.el during compilation.
10269
9bedd73a
CY
102702011-05-09 Chong Yidong <cyd@stupidchicken.com>
10271
488086f4
SM
10272 * progmodes/compile.el (compilation-start):
10273 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10274 (compilation-filter-hook): Doc fix.
10275
797c735c
DD
102762011-05-09 Deniz Dogan <deniz@dogan.se>
10277
10278 * wdired.el: Remove outdated installation comment. Fix usage
10279 comment.
10280
5f4b1dfe
JB
102812011-05-09 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * misc.el: Implement new command `list-dynamic-libraries'.
10284 (list-dynamic-libraries--loaded-only-p): New variable.
10285 (list-dynamic-libraries--refresh): New function.
10286 (list-dynamic-libraries): New command.
10287
4c44026c
CY
102882011-05-09 Chong Yidong <cyd@stupidchicken.com>
10289
488086f4
SM
10290 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10291 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10292 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10293 higher priority to avoid clobbering by gnu.
10294
027f966d
CY
102952011-05-08 Chong Yidong <cyd@stupidchicken.com>
10296
10297 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10298 if the face has existing theme settings (Bug#8454).
10299
085f5d7d
CY
103002011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10301
488086f4
SM
10302 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10303 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10304
2a86a00c
RS
10305 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10306 special file names `.' and `..' (Bug#8259).
10307
d9c54a06
CY
103082011-05-08 Chong Yidong <cyd@stupidchicken.com>
10309
488086f4
SM
10310 * progmodes/grep.el (grep-mode-font-lock-keywords):
10311 Remove buffer-changing entries.
d9c54a06
CY
10312 (grep-filter): New function.
10313 (grep-mode): Add it to compilation-filter-hook.
10314
10315 * progmodes/compile.el (compilation-filter-hook)
10316 (compilation-filter-start): New defvars.
10317 (compilation-filter): Call compilation-filter-hook prior to
10318 updating the process mark.
10319
c4662635
SM
103202011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10323
b0512a1d
EZ
103242011-05-07 Eli Zaretskii <eliz@gnu.org>
10325
605c9376
EZ
10326 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10327 mailclient-send-it even if window-system is nil. (Bug#8595)
10328
c4662635
SM
10329 * term/w32console.el (terminal-init-w32console):
10330 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10331 background-mode. (Bug#8597)
10332
d1dc2cc2
SM
103332011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10336 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10337 New functions.
10338 (defgeneric, eieio--defmethod): Use them.
10339 (eieio-defgeneric): Remove.
10340 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10341
915d1300
GM
103422011-05-07 Glenn Morris <rgm@gnu.org>
10343
a3961c3e
GM
10344 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10345 Use let rather than let*.
10346 (timeclock-find-discrep): Remove unused local.
10347
314347b9
GM
10348 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10349
915d1300
GM
10350 * calendar/appt.el (appt-time-msg-list): Doc fix.
10351
275b59b0
NF
103522011-05-06 Noah Friedman <friedman@splode.com>
10353
10354 * apropos.el (apropos-print-doc): Only use
10355 emacs-lisp-docstring-fill-column when it is bound to an integer,
10356 per that variable's documentation.
10357
6c19f744
SM
103582011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10361 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10362
60f884b2
GM
103632011-05-06 Glenn Morris <rgm@gnu.org>
10364
5006e634
GM
10365 * calendar/appt.el (appt-message-warning-time): Doc fix.
10366 (appt-warning-time-regexp): New option.
10367 (appt-make-list): Respect appt-message-warning-time.
10368
548d0a63
GM
10369 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10370 New options.
10371 (diary-add-to-list): Strip comments from the displayed string.
10372 (diary-mode): Set comment-start and comment-end.
10373
60f884b2
GM
10374 * vc/diff-mode.el (smerge-refine-subst): Declare.
10375 (diff-refine-hunk): Don't require smerge-mode when compiling.
10376
989681bb
JB
103772011-05-06 Juanma Barranquero <lekktu@gmail.com>
10378
10379 * simple.el (list-processes): Return nil as the docstring says.
10380
a6bc05e1
MA
103812011-05-05 Michael Albinus <michael.albinus@gmx.de>
10382
10383 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10384 to "".
10385 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10386 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10387 determining of binary transfer. (Bug#7383)
10388
23c22e9a
MA
103892011-05-05 Michael Albinus <michael.albinus@gmx.de>
10390
c4662635
SM
10391 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10392 Fix port computation bug. (Bug#8618)
23c22e9a 10393
0bff894f
GM
103942011-05-05 Glenn Morris <rgm@gnu.org>
10395
b8296902
GM
10396 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10397
1f522ce8
GM
10398 * simple.el (shell-dynamic-complete-functions)
10399 (comint-dynamic-complete-functions): Declare.
10400
cf5bee67
GM
10401 * net/network-stream.el (gnutls-negotiate):
10402 * simple.el (tabulated-list-print): Fix declarations.
10403
10404 * progmodes/gud.el (syntax-symbol, syntax-point):
10405 Remove unnecessary and incorrect declarations.
10406
0bff894f
GM
10407 * emacs-lisp/check-declare.el (check-declare-scan):
10408 Handle byte-compile-initial-macro-environment in bytecomp.el
10409
9869b3ae
SM
104102011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 Fix earlier half-done eieio-defmethod change (bug#8338).
10413 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10414 Streamline and change calling convention.
10415 (defmethod): Adjust accordingly and simplify.
10416 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10417 new eieio--defmethod.
10418 (slot-boundp): Minor CSE simplification.
10419
9c1d5ac5
MZ
104202011-05-05 Milan Zamazal <pdm@zamazal.org>
10421
10422 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10423 (glasses-make-readable): Use glasses-separate-capital-groups.
10424
455c834e
JB
104252011-05-05 Juanma Barranquero <lekktu@gmail.com>
10426
10427 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10428 (warning-series): Doc fix.
10429 (display-warning): Don't try to create the buffer if we just found it.
10430
9ed7c8cb
CY
104312011-05-04 Chong Yidong <cyd@stupidchicken.com>
10432
10433 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10434 (autoload-find-generated-file): New function.
10435 (generate-file-autoloads): Bind generated-autoload-file to
10436 buffer-file-name.
9869b3ae
SM
10437 (update-file-autoloads, update-directory-autoloads):
10438 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10439 output file (Bug#7989).
10440 (batch-update-autoloads): Doc fix.
10441
0898ca10
JB
104422011-05-04 Juanma Barranquero <lekktu@gmail.com>
10443
10444 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10445
31dfb76c
GM
104462011-05-04 Glenn Morris <rgm@gnu.org>
10447
f330b642
GM
10448 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10449 function, so it follows changes in calendar-date-style.
10450 (diary-fancy-date-matcher): New function.
10451 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10452 (diary-fancy-font-lock-fontify-region-function):
10453 Use diary-fancy-date-pattern as a function.
10454
31dfb76c
GM
10455 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10456 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10457
48e79d6a
TZ
104582011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10459
10460 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10461 instead of positional arguments. Allow :keylist and :crlfiles
10462 arguments.
10463 (open-gnutls-stream): Call it.
10464
10465 * net/network-stream.el (network-stream-open-starttls): Adjust to
10466 call `gnutls-negotiate' with :process and :hostname arguments.
10467
dd5a5ee0
SM
104682011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10469
ef80fc09
SM
10470 * minibuffer.el (completion--message): New function.
10471 (completion--do-completion, minibuffer-complete)
10472 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10473 (completion--do-completion): Don't ignore completion-auto-help when in
10474 icomplete-mode.
10475
dd5a5ee0
SM
10476 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10477 internal encoding (e.g. tibetan zero is not whitespace).
10478 (global-whitespace-mode): Prefer save-current-buffer.
10479 (whitespace-trailing-regexp): Remove useless save-match-data.
10480 (whitespace-empty-at-bob-regexp): Minor simplification.
10481
b7d22a83
CY
104822011-05-03 Chong Yidong <cyd@stupidchicken.com>
10483
10484 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10485
5192af46
AM
104862011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10487
10488 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10489 Use `concat' to create string for insertion.
5192af46 10490
5767d190
SM
104912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10494 Avoid open-line which runs post-self-insert-hook.
10495 (bibtex-fill-entry): Remove unused `end' var.
10496
bf242939
AM
104972011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10498
5767d190
SM
10499 * textmodes/ispell.el (ispell-add-per-file-word-list):
10500 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10501
25666126
LL
105022011-05-03 Leo Liu <sdl.web@gmail.com>
10503
10504 * isearch.el (isearch-yank-pop): New command.
5767d190 10505 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10506 (isearch-forward): Mention it.
10507
52d3c2d0
SM
105082011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10509
1bcace58
SM
10510 * simple.el (minibuffer-complete-shell-command): Remove.
10511 (minibuffer-local-shell-command-map): Use completion-at-point.
10512 (read-shell-command): Setup completion vars here instead.
10513 (read-expression-map): Bind TAB to symbol completion.
10514
52d3c2d0
SM
10515 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10516 error directly rather via storing it into `results'.
10517
35813471
LL
105182011-05-02 Leo Liu <sdl.web@gmail.com>
10519
10520 * vc/diff.el: Fix description.
10521
e793a940
LMI
105222011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10523
10524 * server.el (server-eval-at): New function.
10525
8de66e05
LMI
105262011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10527
10528 * net/network-stream.el (open-network-stream): Take a :nowait
10529 parameter and pass it on to `make-network-process'.
10530 (network-stream-open-plain): Ditto.
10531
dcb79f20
AS
105322011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10533
10534 * faces.el (face-spec-set-match-display): Don't match toolkit
10535 options on terminal frames.
10536
14a7fbd8
SM
105372011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10538
7eabc1be
SM
10539 * progmodes/pascal.el: Use lexical binding.
10540 (pascal-mode-map): Remove author preferences.
10541
14a7fbd8
SM
10542 * pcomplete.el (pcomplete-std-complete): Don't abuse
10543 completion-at-point.
10544
50f84510
JB
105452011-04-28 Juanma Barranquero <lekktu@gmail.com>
10546
6e087a44
JB
10547 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10548 removing code that has been dead since 1991 or so.
10549
50f84510
JB
10550 * startup.el (command-line): When warning about "_emacs", use a
10551 delayed warning to allow the user to filter it out.
10552
0ba690bd
DD
105532011-04-28 Deniz Dogan <deniz@dogan.se>
10554
10555 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10556 user has not joined.
10557
08abfaad
SM
105582011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10561 aren't any completions at point.
10562
638f053a
JB
105632011-04-28 Juanma Barranquero <lekktu@gmail.com>
10564
10565 * subr.el (display-delayed-warnings): New function.
10566 (delayed-warnings-hook): New variable.
10567
8fff8daa
SM
105682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10569
08abfaad
SM
10570 * minibuffer.el (completion-at-point, completion-help-at-point):
10571 Don't presume that a given completion-at-point-function will always
10572 use the same calling convention.
10573
8fff8daa
SM
10574 * pcomplete.el (pcomplete-completions-at-point):
10575 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10576 pcomplete-seen is non-nil.
10577 (pcomplete-comint-setup): Also recognize the new comint/shell
10578 completion functions.
10579 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10580 pcomplete-seen is non-nil.
10581
841a1577 105822011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10583
841a1577 10584 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10585 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10586 the first character in the entry. This allows for code to add its
211ec907
UJ
10587 own uid to the entry.
10588 (icalendar--convert-float-to-ical): Add export of
10589 `diary-float'-entries save for those with the optional DAY
10590 argument.
10591
2a782793
DC
105922011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10593
10594 * subr.el (shell-quote-argument): Use alternate escaping strategy
10595 when we spot a variable reference in a string.
10596
0438ce91
DC
105972011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10598
10599 * cus-start.el (all): Define customization for debug-on-event.
10600
841a1577 106012011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10602
10603 * subr.el (shell-quote-argument): Escape correctly under Windows.
10604
d090ed6c
SM
106052011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10608
bfd31217
MA
106092011-04-25 Michael Albinus <michael.albinus@gmx.de>
10610
d090ed6c
SM
10611 * net/tramp.el (tramp-process-actions): Add POS argument.
10612 Delete region between POS and (pos).
bfd31217 10613
d090ed6c
SM
10614 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10615 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10616 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10617
10618 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10619 position in `tramp-process-actions' call.
10620
10621 * net/trampver.el: Update release number.
10622
e92f3bd3
SM
106232011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10624
850256b5
SM
10625 * custom.el (defcustom): Obey lexical-binding.
10626
e92f3bd3
SM
10627 Fix octave-inf completion problems reported by Alexander Klimov.
10628 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10629 Inherit from octave-mode-syntax-table.
10630 (inferior-octave-mode): Set info-lookup-mode.
10631 (inferior-octave-completion-at-point): New function.
10632 (inferior-octave-complete): Use it and completion-in-region.
10633 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10634 comint-filename-completion.
10635 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10636 symbol elements which shouldn't be word elements.
10637 (octave-font-lock-keywords, octave-beginning-of-defun)
10638 (octave-function-header-regexp): Adjust regexps accordingly.
10639 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10640
cd22b309
JB
106412011-04-25 Juanma Barranquero <lekktu@gmail.com>
10642
10643 * net/gnutls.el (gnutls-errorp): Declare before first use.
10644
8b492194
TZ
106452011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10646
10647 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10648 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10649 default trustfile exists before going to use it. Add missing
5a5fa834 10650 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10651 Reported by Claudio Bley <claudio.bley@gmail.com>.
10652 (open-gnutls-stream): Add usage example.
10653
10654 * net/network-stream.el (network-stream-open-starttls): Give host
10655 parameter to `gnutls-negotiate'.
10656 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10657 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10658
841a1577 106592011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10660
cd22b309
JB
10661 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10662 Use correct match group (bug#8438).
05842630 10663
3ba7869c
CY
106642011-04-24 Chong Yidong <cyd@stupidchicken.com>
10665
512e3ae1
CY
10666 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10667 (package-menu--generate): New arg specifying packages to show.
10668 (package-menu-refresh, package-menu-execute, list-packages):
10669 Callers changed.
10670 (package-show-package-list): New function, replacing deleted
10671 package--list-packages (renamed because it is non-internal).
10672
10673 * finder.el (finder-list-matches): Use package-show-package-list
10674 instead of deleted package--list-packages.
10675
e92f3bd3
SM
10676 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10677 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10678 (vc-annotate-mode-map): Bind it to RET.
10679
7031be6d
UR
106802011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10681
10682 * progmodes/etags.el (next-file): Don't use set-buffer to change
10683 buffers (Bug#8478).
10684
4ef177aa
CY
106852011-04-24 Chong Yidong <cyd@stupidchicken.com>
10686
c8d173eb
CY
10687 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10688
4ef177aa
CY
10689 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10690 (apropos-accumulator): Doc fix.
10691 (apropos-function, apropos-macro, apropos-command)
10692 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10693 (apropos-plist): Add face property.
10694 (apropos-symbols-internal): Fix indentation.
10695 (apropos-print): Simplify help, and recognize apropos-multi-type.
10696 (apropos-print-doc): Use button-type-get to extract the button's
10697 face property. Fill docstring (Bug#8352).
10698
4ffd0d6b 106992011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10700
10701 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10702
c6c32125 10703 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10704 (mpuz-mode-map): Use mapc.
c6c32125
JB
10705 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10706 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10707 Fix typos in docstrings.
10708
58d468b4
JB
10709 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10710 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10711
6470c3c6
JB
10712 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10713
4ffd0d6b 107142011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10715
10716 * minibuffer.el (completion--do-completion): Avoid the "Next char
10717 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10718
3ad8bad0
CY
10719 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10720 mouse-2 into unread-command-events, it is interpreted correctly.
10721
71d73c9c 10722 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10723 (image-toggle-display): Doc fix.
71d73c9c 10724
841a1577 107252011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10726
4ffd0d6b
GM
10727 * textmodes/page.el (what-page): Use line-number-at-pos to
10728 calculate line number (Bug#6825).
6e1dbaa9 10729
c2fb1b60
JB
107302011-04-22 Juanma Barranquero <lekktu@gmail.com>
10731
10732 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10733 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10734 Pass argument NO-DEFAULT to `find-tag-interactive'.
10735
e02f48d7
JB
107362011-04-22 Juanma Barranquero <lekktu@gmail.com>
10737
10738 Lexical-binding cleanup.
10739
10740 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10741 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10742 * progmodes/ada-prj.el (ada-prj-initialize-values)
10743 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10744 (ada-prj-show-value):
10745 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10746 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10747 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10748 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10749 * progmodes/bug-reference.el (bug-reference-push-button):
10750 * progmodes/fortran.el (fortran-line-length):
10751 * progmodes/glasses.el (glasses-change):
10752 * progmodes/octave-mod.el (octave-fill-paragraph):
10753 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10754 (python-pdbtrack-grub-for-buffer, python-sentinel):
10755 * progmodes/sql.el (sql-save-connection):
10756 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10757 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10758 Mark unused parameters.
10759
10760 * progmodes/compile.el (compilation--flush-directory-cache)
10761 (compilation--flush-parse, compile-internal): Mark unused parameters.
10762 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10763 (compilation-next-error-function): Remove unused variable `timestamp'.
10764
10765 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10766 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10767
10768 * progmodes/dcl-mode.el (dcl-end-of-command):
10769 Remove unused variable `start'.
10770 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10771 (dcl-option-value-basic, dcl-option-value-offset)
10772 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10773 Mark unused parameters.
10774 (dcl-save-local-variable): Remove unused variable `val'.
10775 (mode): Declare.
10776
10777 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10778 Mark unused parameters.
10779 (delphi-ignore-changes): Move before first use.
10780 (delphi-charset-token-at): Remove unused variable `start'.
10781 (delphi-else-start): Remove unused variable `if-count'.
10782 (delphi-comment-block-start, delphi-comment-block-end):
10783 Remove unused variable `kind'.
10784 (delphi-indent-line): Remove unused variable `new-point'.
10785
10786 * progmodes/ebrowse.el (ebrowse-files-list)
10787 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10788 Mark unused parameters. Don't quote `lambda'.
10789 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10790 Don't quote `lambda'.
10791 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10792 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10793 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10794 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10795 Use `ignore-errors'.
10796 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10797 (ebrowse-view/find-file-and-search-pattern)
10798 (ebrowse-view/find-member-declaration/definition):
10799 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10800 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10801 Rename parameter PREFIX-ARG to PREFIX.
10802 (ebrowse-tags-read-name): Remove unused variables `start' and
10803 `member-info'.
10804 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10805 to `tags-file'.
10806
10807 * progmodes/etags.el (local-find-tag-hook): Declare.
10808 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10809 Mark unused parameters.
10810
10811 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10812 (executable-interpret): Mark unused parameter.
10813
10814 * progmodes/flymake.el (flymake-process-sentinel)
10815 (flymake-after-change-function)
10816 (flymake-create-temp-with-folder-structure)
10817 (flymake-get-include-dirs-dot): Mark unused parameters.
10818 (flymake-safe-delete-directory): Remove unused variable `err'.
10819
10820 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10821 (speedbar-timer-fn, speedbar-line-text)
10822 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10823 (speedbar-center-buffer-smartly): Declare functions.
10824 (gdb-find-watch-expression): Remove unused variable `array'.
10825 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10826 (gdb-starting): Mark unused parameters.
10827 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10828 (gdb-table-string): Remove unused variable `res'.
10829 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10830 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10831 (gdb-display-buffer): Remove unused variable `cur-size'.
10832
10833 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10834 allow lexical-binding compilation.
10835 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10836 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10837 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10838 Mark unused parameters.
10839 (gud-gdb-marker-filter): Remove unused variable `match'.
10840 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10841 lambda expressions and funcall them, instead of using `fset'.
10842
10843 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10844 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10845
10846 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10847 variable `header-beg'; use `let'.
10848
10849 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10850 `restart', `last-sexp' and `at-do'.
10851
10852 * progmodes/js.el (js--debug): Mark unused parameter.
10853 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10854 (js--splice-into-items): Remove unused variable `item'.
10855 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10856
10857 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10858 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10859 (makefile-complete): Remove unused variable `try'.
10860 (makefile-fill-paragraph, makefile-match-function-end):
10861 Mark unused parameters.
10862
10863 * progmodes/octave-inf.el (inferior-octave-complete):
10864 Remove unused variable `proc'.
10865 (inferior-octave-output-digest): Mark unused parameter.
10866
10867 * progmodes/perl-mode.el (perl-calculate-indent):
10868 Remove unused variable `err'.
10869
10870 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10871 (prolog-indent-line): Mark unused parameters.
10872 (prolog-indent-line): Remove unused variable `beg'.
10873
10874 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10875 (reporter-dont-compact-list): Declare.
10876
10877 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10878 Remove unused variable `char'.
10879 (sh-debug): Mark unused parameter.
10880 (sh-get-indent-info): Remove unused variable `start'.
10881 (sh-calculate-indent): Remove unused variable `var'.
10882
10883 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10884 (simula-electric-keyword): Remove unused variable `null'.
10885 (simula-search-backward, simula-search-forward): Remove unused
10886 variables `begin' and `end'.
10887
10888 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10889 Remove unused variable `pos'.
10890 (vera-electric-tab, vera-comment-uncomment-region):
10891 Mark unused parameters.
10892 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10893
7ede3b65
CY
108942011-04-22 Chong Yidong <cyd@stupidchicken.com>
10895
10896 * emacs-lisp/package.el (package--builtins, package-alist)
10897 (package-load-descriptor, package-built-in-p, package-activate)
10898 (define-package, package-installed-p)
10899 (package-compute-transaction, package-buffer-info)
10900 (package--push): Doc fix. Distinguish more clearly between
10901 version strings and version lists.
10902
121656e9
JB
109032011-04-21 Juanma Barranquero <lekktu@gmail.com>
10904
10905 Lexical-binding cleanup.
10906
10907 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10908 (5x5-make-mutate-best):
10909 * play/fortune.el (fortune-in-buffer):
10910 * play/gomoku.el (gomoku-init-display):
10911 * play/solitaire.el (solitaire, solitaire-do-check):
10912 * play/tetris.el (tetris-default-update-speed-function):
10913 Mark unused parameters.
10914
10915 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10916 (bubbles--shift): Remove unused variable `char-org'.
10917 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10918 (bubbles--show-images): Remove unused variable `char'.
10919
10920 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10921 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10922 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10923 (decipher-analyze-buffer): Use ?\s.
10924 (decipher-make-checkpoint): Remove unused variable `mapping'.
10925
10926 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10927
10928 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10929 Remove unused variable `result'; use `let'.
10930
10931 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10932 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10933 (gametree-children-shown-p, gametree-compute-reduced-score):
10934 Use `ignore-errors'.
10935
10936 * play/handwrite.el (ps-lpr-switches): Declare.
10937 (handwrite): Remove unused variables `pmin' and `lastp'.
10938
10939 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10940
10941 * play/landmark.el (landmark-init-display)
10942 (landmark-update-naught-weights): Mark unused parameters.
10943 (landmark-y): Remove unused variable `noise'. Simplify.
10944 (landmark-human-plays): Remove unused variable `score'.
10945
10946 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10947 (mpuz-try-proposal): Remove unused variable `game'.
10948
10949 * play/zone.el (life-patterns): Declare.
10950
80f499c7
JB
109512011-04-20 Juanma Barranquero <lekktu@gmail.com>
10952
10953 * vc/vc.el (ediff-vc-internal): Declare function.
10954
024ff170
SM
109552011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10956
c0a193ea
SM
10957 * shell.el: Use lexical-binding and std completion UI.
10958 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10959 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10960 comint-preoutput-filter-functions rather than on
10961 comint-output-filter-functions.
10962 (shell-command-completion, shell--command-completion-data)
10963 (shell-filename-completion, shell-environment-variable-completion)
10964 (shell-c-a-p-replace-by-expanded-directory): New functions.
10965 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10966 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10967 (shell-dynamic-complete-environment-variable): Use them.
10968 (shell-dynamic-complete-as-environment-variable)
10969 (shell-dynamic-complete-as-command): Remove.
10970 (shell-match-partial-variable): Match past point.
10971 * comint.el: Clean up use of completion-at-point-functions.
10972 (comint-completion-at-point): New function.
10973 (comint-mode): Use it completion-at-point-functions.
10974 (comint-dynamic-complete): Make it obsolete.
10975 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10976 (comint-c-a-p-replace-by-expanded-history): New function.
10977 (comint-dynamic-complete-functions)
10978 (comint-replace-by-expanded-history): Use it.
10979 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10980 termination strings. Try harder to avoid second try-completion.
10981 (completion-in-region-mode-map): Disable bindings that don't work yet.
10982
2dbaa080
SM
10983 * comint.el: Use lexical-binding. Require CL.
10984 (comint-dynamic-complete-functions): Use comint-filename-completion.
10985 (comint-completion-addsuffix): Tweak custom type.
10986 (comint-filename-completion, comint--common-suffix)
10987 (comint--common-quoted-suffix, comint--table-subvert)
10988 (comint--complete-file-name-data): New functions.
10989 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10990 (comint-dynamic-list-filename-completions): Use them.
10991 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10992
2dbaa080
SM
10993 * minibuffer.el (completion-in-region-mode):
10994 Keep completion-in-region-mode--predicate global.
10995 (completion-in-region--postch):
10996 Assume completion-in-region-mode--predicate is not null.
10997
c79a6f38
SM
10998 * progmodes/flymake.el (flymake-start-syntax-check-process):
10999 Obey `dir'. Simplify.
11000
024ff170
SM
11001 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11002 we're in VC after all.
11003
1c6c854e
CS
110042011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11005
11006 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11007 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11008 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11009
bed7f140
SM
110102011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11011
332e62ab
SM
11012 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11013 add sanity check.
11014
bed7f140
SM
11015 * obsolete/erc-hecomplete.el: Make obsolete.
11016 * obsolete/: Standardize obsolescence info in the header.
11017
f195c582
GM
110182011-04-20 Glenn Morris <rgm@gnu.org>
11019
11020 * calendar/solar.el (solar-horizontal-coordinates):
11021 Use the longitude argument rather than `calendar-longitude'.
11022 (solar-date-next-longitude): Remove unused locals.
11023
cb79b8c0
VJL
110242011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11025
11026 * whitespace.el: New version 13.2.1.
11027
110282011-04-20 felix <EmacsWiki> (tiny change)
11029
d8e4b68b 11030 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11031 switching between major modes on a file.
11032
602ea69d
SM
110332011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11036 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11037 multi-line comments as well.
11038
06b60517
JB
110392011-04-19 Juanma Barranquero <lekktu@gmail.com>
11040
11041 Lexical-binding cleanup.
11042
11043 * arc-mode.el (archive-mode-revert):
11044 * cmuscheme.el (scheme-interactively-start-process):
11045 * custom.el (custom-initialize-delay):
11046 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11047 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11048 * emacs-lock.el (emacs-lock-clear-sentinel):
11049 * ezimage.el (defezimage):
11050 * follow.el (follow-avoid-tail-recenter):
11051 * fringe.el (set-fringe-mode-1):
11052 * generic-x.el (bat-generic-mode-compile):
11053 * help-mode.el (help-info-variable, help-do-xref)
11054 (help-mode-revert-buffer):
11055 * help.el (view-emacs-todo):
11056 * iswitchb.el (iswitchb-completion-help):
11057 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11058 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11059 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11060 * locate.el (locate-update):
11061 * longlines.el (longlines-encode-region)
11062 (longlines-after-change-function):
11063 * outline.el (outline-isearch-open-invisible):
11064 * ps-def.el (declare-function, charset-dimension, char-width)
11065 (encode-char):
11066 * ps-mule.el (ps-mule-plot-string):
11067 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11068 (recentf-edit-list-select, recentf-edit-list-validate)
11069 (recentf-open-files-action):
11070 * rect.el (delete-whitespace-rectangle-line)
11071 (rectangle-number-line-callback):
11072 * register.el (window-configuration-to-register)
11073 (frame-configuration-to-register):
11074 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11075 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11076 (xselect-convert-to-targets, xselect-convert-to-delete)
11077 (xselect-convert-to-filename, xselect-convert-to-charpos)
11078 (xselect-convert-to-lineno, xselect-convert-to-colno)
11079 (xselect-convert-to-os, xselect-convert-to-host)
11080 (xselect-convert-to-user, xselect-convert-to-class)
11081 (xselect-convert-to-name, xselect-convert-to-integer)
11082 (xselect-convert-to-atom, xselect-convert-to-identity):
11083 * subr.el (declare, ignore, process-kill-without-query)
11084 (text-clone-maintain):
11085 * terminal.el (te-get-char, te-tic-sentinel):
11086 * tool-bar.el (tool-bar-make-keymap):
11087 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11088 * type-break.el (type-break-mode, type-break-noninteractive-query):
11089 * view.el (View-back-to-mark):
11090 * wid-browse.el (widget-browse-action, widget-browse-widget)
11091 (widget-browse-widgets, widget-browse-sexp):
11092 * widget.el (define-widget-keywords):
11093 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11094 Mark unused parameters.
11095
11096 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11097 (align-areas): Remove unused variable `look'.
11098 (align-region): Remove unused variables `real-end' and `pos-list'.
11099
11100 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11101
11102 * bindings.el (mode-line-modified, mode-line-remote):
11103 Mark unused parameters.
11104 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11105
11106 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11107 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11108
11109 * comint.el (comint-history-isearch-pop-state)
11110 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11111 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11112 (comint-substitute-in-file-name): Doc fix.
11113
11114 * completion.el (cmpl-statistics-block): Mark unused parameter.
11115 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11116 (save-completions-to-file, load-completions-from-file):
11117 Remove unused local variable `e'.
11118
11119 * composite.el (compose-chars): Remove unused variable `len'.
11120 (lgstring-insert-glyph): Remove unused variable `g'.
11121 (compose-glyph-string): Remove unused variables `ascent',
11122 `descent', `lbearing' and `rbearing'.
11123 (compose-glyph-string-relative): Remove unused variables
11124 `lbearing', `rbearing' and `wadjust'.
11125 (compose-gstring-for-graphic): Remove unused variables `header',
11126 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11127 (compose-gstring-for-terminal): Remove unused variables `header'
11128 and `nchars'. Use `let', not `let*'.
11129
11130 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11131 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11132 (Custom-buffer-done, custom-buffer-create-internal)
11133 (custom-browse-visibility-action, custom-browse-group-tag-action)
11134 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11135 (widget-magic-mouse-down-action, custom-toggle-parent)
11136 (custom-add-parent-links, custom-toggle-hide-variable)
11137 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11138 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11139 (custom-face-menu-create, custom-variable-menu-create, get)
11140 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11141 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11142 (customize-apropos): Remove unused variable `tests'.
11143 (custom-group-value-create): Remove unused variable `hidden-p'.
11144 (sort-fold-case): Declare.
11145
11146 * cus-theme.el (custom-reset-standard-faces-list)
11147 (custom-reset-standard-variables-list): Declare.
11148 (customize-create-theme, custom-theme-revert, custom-theme-write)
11149 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11150 Mark unused parameters.
11151
11152 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11153
11154 * delim-col.el (delimit-columns-max): Move defvar before first use.
11155
11156 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11157 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11158
11159 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11160 (auto-insert): Declare.
11161 (desktop-restore-file-buffer): Rename desktop-* parameters;
11162 mark unused ones.
11163 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11164 (desktop-buffer): Rename desktop-* parameters.
11165
11166 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11167 (dframe-reposition-frame-xemacs, dframe-help-echo)
11168 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11169 Mark unused parameters.
11170
11171 * dired-aux.el (backup-extract-version-start, overwrite-query)
11172 (overwrite-backup-query, rename-regexp-query)
11173 (rename-non-directory-query): Declare.
11174 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11175 (dired-add-entry): Remove unused variable `orig-file-name'.
11176 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11177 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11178 `dired-copy-preserve-time' directly.
11179 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11180 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11181
11182 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11183 (dired-virtual-revert, dired-make-relative-symlink):
11184 Mark unused parameters.
11185 (manual-program): Declare.
11186 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11187 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11188 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11189
11190 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11191
11192 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11193
11194 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11195 Declare.
11196
11197 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11198
11199 * electric.el (Electric-command-loop): Rename parameter
11200 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11201
11202 * expand.el (expand-in-literal): Remove unused variable `here'.
11203
11204 * facemenu.el (facemenu-add-new-color):
11205 Remove unused variable `docstring'.
11206
11207 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11208 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11209 (face-attr-construct): Mark unused parameter. Doc fix.
11210 (read-color): Remove unused variable `hex-string'.
11211
11212 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11213 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11214 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11215 (display-buffer-other-frame): Remove unused variable `old-window'.
11216 (kill-buffer-hook): Declare.
11217 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11218 Mark unused parameters.
11219 (after-find-file): Pass 1 to `auto-save-mode', not t.
11220
11221 * files-x.el (auto-insert): Declare.
11222 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11223
11224 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11225 variable `buf'. Mark unused parameter.
06b60517
JB
11226 (find-lisp-insert-directory): Mark unused parameter.
11227
11228 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11229 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11230 (format-common-tail): Remove, unused.
11231 (format-deannotate-region): Remove unused variable `loc'.
11232 (format-annotate-region): Remove unused variable `p'.
11233 (format-annotate-single-property-change): Remove unused variables
11234 `default' and `tail'.
11235
11236 * forms.el (read-file-filter): Declare.
11237 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11238
11239 * frame.el (frame-creation-function-alist): Mark unused parameter.
11240 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11241
11242 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11243 Remove unused parameters.
11244 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11245 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11246
11247 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11248 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11249 (hfy-prepare-tag-map): Mark unused parameters.
11250 (htmlfontify-buffer): Use `called-interactively-p'.
11251
11252 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11253 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11254 (ibuffer-do-occur): Mark unused parameters.
11255 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11256 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11257
11258 * ibuffer.el: Don't quote `lambda'.
11259 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11260 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11261 Mark unused parameters.
11262
11263 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11264 (ido-completing-read): Mark unused parameters.
11265 (ido-copy-current-word): Mark unused parameters;
11266 remove unused variable `name'.
11267 (ido-sort-merged-list): Remove unused parameter `dirs'.
11268
11269 * ielm.el (ielm-input-sender): Mark unused parameter.
11270 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11271 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11272 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11273 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11274 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11275
11276 * image-dired.el (image-dired-display-thumbs): Remove unused
11277 variables `curr-file' and `count'.
11278 (image-dired-remove-tag): Remove unused variable `start'.
11279 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11280 variable `curr-file'
11281 (image-dired-rotate-original): Remove unused variable `temp-file'.
11282 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11283 Remove unused variable `file'.
11284 (image-dired-gallery-generate): Remove unused variable `curr'.
11285 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11286
11287 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11288
11289 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11290
11291 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11292
11293 * isearch.el (minibuffer-history-symbol): Declare.
11294 (isearch-edit-string): Remove unused variable `err'.
11295 (isearch-message-prefix, isearch-message-suffix):
11296 Mark unused parameters.
11297
11298 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11299
11300 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11301
11302 * makesum.el (double-column): Remove unused variable `cnt'.
11303
11304 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11305 (ido-ignore-item-temp-list): Declare.
11306
11307 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11308 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11309 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11310 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11311 `mouse-col-delta'.
11312
11313 * mouse-sel.el (mouse-extend-internal):
11314 Remove unused variable `orig-window-frame'.
11315
11316 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11317 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11318 Move declarations before first use.
11319 (pcomplete-opt): Mark unused parameters; doc fix.
11320
11321 * proced.el (proced-revert): Mark unused parameter.
11322 (proced-send-signal): Remove unused variable `err'.
11323
11324 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11325 Rename parameter PREFIX-ARG to ARG.
11326 (ps-basic-plot-string, ps-basic-plot-whitespace):
11327 Mark unused parameters.
11328
11329 * replace.el (replace-count): Define.
11330 (occur-revert-function): Mark unused parameters.
11331 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11332 (isearch-case-fold-search, isearch-string): Declare.
11333 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11334 bind `case-fold-search'. Remove unused variables `beg' and `end',
11335 and simplify.
11336 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11337 COUNT and bind `replace-count'.
11338 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11339 to COUNT.
11340
11341 * savehist.el (print-readably, print-string-length): Declare.
11342
11343 * shadowfile.el (shadow-expand-cluster-in-file-name):
11344 Remove unused variable `cluster'.
11345 (shadow-copy-file): Remove unused variable `i'.
11346 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11347 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11348 (shadow-define-literal-group, shadow-define-regexp-group)
11349 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11350
11351 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11352 (shell): Use `called-interactively-p'.
11353 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11354
11355 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11356 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11357 (delete-backward-char): Remove unused variable `ocol'.
11358 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11359 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11360 (event-apply-hyper-modifier, event-apply-shift-modifier)
11361 (event-apply-control-modifier, event-apply-meta-modifier):
11362 Mark unused parameters.
11363 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11364 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11365
11366 * speedbar.el (speedbar-ignored-directory-expressions)
11367 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11368 (speedbar-find-file, speedbar-dir-follow)
11369 (speedbar-directory-buttons-follow, speedbar-tag-find)
11370 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11371 (speedbar-buffers-line-directory, speedbar-buffer-click):
11372 Mark unused parameters.
11373 (speedbar-tag-file): Remove unused variable `mode'.
11374 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11375
11376 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11377
11378 * talk.el (talk): Remove unused variable `display'.
11379
11380 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11381 (tar-write-region-annotate): Mark unused parameter.
11382
11383 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11384 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11385 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11386 warning by another.
11387
11388 * time-stamp.el (time-stamp-string-preprocess):
11389 Remove unused variable `require-padding'.
11390
11391 * tree-widget.el (widget-glyph-enable): Declare.
11392 (tree-widget-action): Mark unused parameter.
11393
11394 * w32-fns.el (x-get-selection): Mark unused parameter.
11395 (autoload-make-program, generated-autoload-file): Declare.
11396
11397 * wdired.el (wdired-revert): Mark unused parameters.
11398 (wdired-xcase-word): Remove unused variable `err'.
11399
11400 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11401 (whitespace-help-scroll): Remove unused variable `data-help'.
11402
11403 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11404 (widget-image-insert, widget-after-change, default)
11405 (widget-default-format-handler, widget-default-notify)
11406 (widget-default-prompt-value, widget-info-link-action)
11407 (widget-url-link-action, widget-function-link-action)
11408 (widget-variable-link-action, widget-file-link-action)
11409 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11410 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11411 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11412 (widget-insert-button-action, widget-delete-button-action, visibility)
11413 (widget-documentation-link-action, widget-documentation-string-action)
11414 (widget-const-prompt-value, widget-regexp-match, symbol)
11415 (widget-coding-system-prompt-value)
11416 (widget-key-sequence-value-to-external, sexp)
11417 (widget-sexp-value-to-internal, character, vector, cons)
11418 (widget-choice-prompt-value, widget-boolean-prompt-value)
11419 (widget-color--choose-action): Mark unused parameters.
11420 (widget-item-match-inline, widget-choice-match-inline)
11421 (widget-checklist-match, widget-checklist-match-inline)
11422 (widget-group-match): Rename parameter VALUES to VALS.
11423 (widget-field-value-set): Remove unused variable `size'.
11424 (widget-color-action): Remove unused variables `value' and `start'.
11425
11426 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11427 variable `dir'. Doc fix.
06b60517
JB
11428 (windmove-find-other-window): Don't pass it.
11429
11430 * window.el (count-windows): Mark unused parameter.
11431 (bw-adjust-window): Remove unused variable `err'.
11432
11433 * woman.el (woman-file-name): Remove unused variable `default'.
11434 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11435 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11436 (global-font-lock-mode): Declare.
11437 (woman-decode-region): Mark unused parameter.
11438 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11439
11440 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11441 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11442 (x-dnd-handle-moz-url): Remove unused variable `title'.
11443 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11444
11445 * xml.el (xml-parse-tag, xml-parse-attlist):
11446 Remove unused variable `pos'.
11447
bc4f7f3d
GM
114482011-04-19 Glenn Morris <rgm@gnu.org>
11449
11450 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11451 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11452 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11453 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11454 * calendar/cal-html.el (cal-html-insert-minical):
11455 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11456 (calendar-mark-date-pattern):
11457 Prefix "unused" locals.
11458
11459 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11460 optional argument `style'.
11461
11462 * calendar/appt.el (appt-make-list):
11463 * calendar/cal-china.el (calendar-chinese-date-string):
11464 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11465 (diary-hebrew-yahrzeit):
11466 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11467 * calendar/calendar.el (calendar-generate-window):
11468 * calendar/time-date.el (time-to-days):
11469 Remove unused local variables.
11470
16a43933
CY
114712011-04-18 Chong Yidong <cyd@stupidchicken.com>
11472
11473 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11474 glyphless-char-display table.
11475 (tabulated-list-glyphless-char-display): New var.
11476
7eed1860
SS
114772011-04-18 Sam Steingold <sds@gnu.org>
11478
11479 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11480 to acknowledgments.
11481
4d2d1ccd
GM
114822011-04-17 Glenn Morris <rgm@gnu.org>
11483
11484 * calendar/diary-lib.el (diary-sexp-entry):
11485 * calendar/holidays.el (holiday-sexp):
11486 Set debug-on-error rather than the removed stack-trace-on-error.
11487
239da61d
GM
114882011-04-16 Glenn Morris <rgm@gnu.org>
11489
11490 * progmodes/f90.el: Use lexical-binding.
11491 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11492
8b05752a
SM
114932011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11494
daca8ba5
SM
11495 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11496 (mail-mode): Setup mailalias completion here instead.
11497 * mail/mailalias.el: Use lexical-binding.
11498 (pattern, mailalias-done): Declare dynamic.
11499 (mail-completion-at-point-function): New function, from mail-complete.
11500 (mail-complete): Use it.
11501 (mail-completion-expand): New function.
11502 (mail-get-names): Use it.
11503 (mail-directory, mail-directory-process, mail-directory-stream):
11504 Don't use `pattern' for lexically bound arg.
11505
6f542485
SM
11506 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11507
037e7c3f
SM
11508 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11509 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11510 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11511
8b05752a
SM
11512 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11513 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11514 (byte-interactive-p): Define them again, for use when inlining
11515 old code.
11516
49093f60
JB
115172011-04-15 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * loadup.el: Use `string-to-number', not `string-to-int'.
11520
b5b8e7de
SM
115212011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11524 gud-gdb-complete-command.
11525 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11526 (gud-gdb-completion-at-point): New function.
11527 (gud-gdb-completions): Remove.
11528
f42efeb5
MA
115292011-04-14 Michael Albinus <michael.albinus@gmx.de>
11530
49093f60
JB
11531 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11532 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11533 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11534 whether `executable-find' is bound.
f42efeb5
MA
11535
11536 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11537
e240cc21
SM
115382011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * minibuffer.el (completion-in-region-mode-predicate)
11541 (completion-in-region-mode--predicate): New vars.
11542 (completion-in-region, completion-in-region--postch)
11543 (completion-in-region-mode): Use them.
11544 (completion--capf-wrapper): Also return the hook function.
11545 (completion-at-point, completion-help-at-point):
11546 Adjust and provide a predicate.
c2bd2ab0
SM
11547
11548 Preserve arg names for advice of subr and lexical functions (bug#8457).
11549 * help-fns.el (help-function-arglist): Consolidate the subr and
11550 new-byte-code cases. Add argument `preserve-names' to extract names
11551 from the docstring when needed.
11552 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11553 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11554 (ad-arglist): Use help-function-arglist's new arg.
11555 (ad-definition-type): Use cond.
11556
c183f693
JB
115572011-04-13 Juanma Barranquero <lekktu@gmail.com>
11558
06641a47
JB
11559 * autorevert.el (auto-revert-handler):
11560 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11561 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11562 Don't quote lambda.
11563
c183f693
JB
11564 * image-mode.el (image-transform-set-scale):
11565 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11566
1e3b6001
G
115672011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11568
11569 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11570 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11571 Upgrades via gnutls-cli are too slow to be done opportunistically.
11572
2d6af8dd
JB
115732011-04-12 Juanma Barranquero <lekktu@gmail.com>
11574
11575 * dframe.el (dframe-current-frame): Remove spurious quote.
11576
c0749a51
GM
115772011-04-12 Glenn Morris <rgm@gnu.org>
11578
088d0d61
GM
11579 * calendar/cal-tex.el (cal-tex-end-document):
11580 Try to automatically use latin1 input if needed.
11581
c0749a51
GM
11582 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11583 Don't try to cons a mark onto an empty element.
11584
5c90fde0
LL
115852011-04-11 Leo Liu <sdl.web@gmail.com>
11586
11587 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11588 buffers.
11589 (ido-kill-buffer-at-head): Support killing virtual buffers.
11590
369e974d
CY
115912011-04-10 Chong Yidong <cyd@stupidchicken.com>
11592
11593 * minibuffer.el (completion-show-inline-help): New var.
11594 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11595 (minibuffer-force-complete, minibuffer-complete-word):
11596 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11597
11598 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11599 to avoid interference from inline help (Bug#5849).
11600
37f1c930
LL
116012011-04-10 Leo Liu <sdl.web@gmail.com>
11602
099c39a4
JB
11603 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11604 Fix typo.
37f1c930 11605
a32d4040
CY
116062011-04-09 Chong Yidong <cyd@stupidchicken.com>
11607
11608 * image-mode.el (image-toggle-display-image): Signal an error if
11609 not in Image mode.
11610 (image-transform-mode, image-transform-resize)
11611 (image-transform-set-rotation): Doc fix.
daca8ba5 11612 (image-transform-set-resize): Delete.
a32d4040
CY
11613 (image-transform-set-scale, image-transform-fit-to-height)
11614 (image-transform-fit-to-width): Handle image-toggle-display-image
11615 and image-transform-resize directly.
11616
099c39a4 116172011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11618
11619 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11620 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11621 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11622 (doc-view-mode-map): Add bindings for the new functions.
11623
099c39a4 116242011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11625
4d61f28d 11626 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11627 Fix typo in docstring.
11628
3726838a
EZ
116292011-04-08 Eli Zaretskii <eliz@gnu.org>
11630
04f33f1e
EZ
11631 * files.el (file-size-human-readable): Produce one digit after
11632 decimal, like "ls -lh" does.
11633
11634 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11635 the file size representation.
11636
3726838a
EZ
11637 * simple.el (list-processes): If async subprocesses are not
11638 available, error out with a clear error message.
11639
cbb59342
CY
116402011-04-08 Chong Yidong <cyd@stupidchicken.com>
11641
11642 * help.el (help-form-show): New function, to be called from C.
11643 Put help-form output in a buffer named differently than *Help*.
11644
e3971c44
EZ
116452011-04-08 Eli Zaretskii <eliz@gnu.org>
11646
11647 * files.el (file-size-human-readable): New function.
11648
11649 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11650 computing the representation inline. Don't require `cl'.
11651
12544bbe
GM
116522011-04-08 Glenn Morris <rgm@gnu.org>
11653
a1de6c6a
GM
11654 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11655
3c4671f4
GM
11656 * net/browse-url.el (browse-url-firefox):
11657 Test system-type, not system-configuration.
11658
b605679c
GM
11659 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11660 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11661 Use log-edit-empty-buffer-p. (Bug#7598)
11662
56442f0c
GM
11663 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11664 (rlogin-mode-map): Initialize in the defvar.
11665 (rlogin): Use ignore-errors.
11666
12544bbe
GM
11667 * replace.el (occur-mode-map): Some fixes for menu items.
11668
eb237b0f
AH
116692011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11670
11671 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11672
7d668f2c
CY
116732011-04-06 Chong Yidong <cyd@stupidchicken.com>
11674
e67a13ab
CY
11675 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11676 issuing unused warnings.
11677
11678 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11679 macro directly.
11680
7d668f2c
CY
11681 * simple.el: Lisp reimplement of list-processes. Based on an
11682 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11683 (process-menu-mode): New major mode.
11684 (list-processes--refresh, list-processes):
11685 (process-menu-visit-buffer): New functions.
11686
11687 * files.el (save-buffers-kill-emacs): Don't assume any return
11688 value of list-processes, which is undocumented anyway.
11689
a83ec3c9
CY
116902011-04-06 Chong Yidong <cyd@stupidchicken.com>
11691
11692 * emacs-lisp/tabulated-list.el: New file.
11693
e91a96fe
CY
11694 * emacs-lisp/package.el: Use Tabulated List mode.
11695 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11696 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11697 table format using Tabulated List mode variables.
11698 (package--push): New macro, replacing package-list-maybe-add.
11699 (package-menu--generate): Use package--push. Renamed from
11700 package--generate-package-list.
11701 (package-menu-refresh, list-packages): Use it.
daca8ba5 11702 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11703 Return insertion data instead of inserting it directly.
099c39a4
JB
11704 (package-menu-describe-package, package-menu-execute):
11705 Use tabulated-list-get-id.
e91a96fe
CY
11706 (package-menu-mark-delete, package-menu-mark-install)
11707 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11708 (package-menu-mark-obsolete-for-deletion):
11709 Use tabulated-list-put-tag.
e91a96fe
CY
11710 (package--list-packages, package-menu-revert)
11711 (package-menu-get-package, package-menu-get-version)
11712 (package-menu-sort-by-column): Functions deleted.
11713 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11714 (package-menu--status-predicate, package-menu--version-predicate)
11715 (package-menu--name-predicate)
11716 (package-menu--description-predicate): Handle arguments in the
11717 Tabulated List format.
11718 (package-list-packages-no-fetch): Call list-packages.
11719
3e214b50
JB
117202011-04-06 Juanma Barranquero <lekktu@gmail.com>
11721
11722 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11723 (after-find-file): Don't bind it.
3e214b50
JB
11724 (revert-buffer-in-progress-p): New variable.
11725 (revert-buffer): Bind it.
11726 Pass nil for `after-find-file-from-revert-buffer'.
11727
11728 * saveplace.el (save-place-find-file-hook): Use new variable
11729 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11730
3f0f1700
GM
117312011-04-06 Glenn Morris <rgm@gnu.org>
11732
c0274801
GM
11733 * Makefile.in (AUTOGEN_VCS): New variable.
11734 (autoloads): Use $AUTOGEN_VCS.
11735
3f0f1700
GM
11736 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11737 * calendar/calendar.el (calendar-mode-map):
11738 Check for toolkit scroll bars. (Bug#8305)
11739
41ea9e48
CY
117402011-04-05 Chong Yidong <cyd@stupidchicken.com>
11741
11742 * minibuffer.el (completion-in-region--postch)
11743 (completion-in-region-mode): Remove unnecessary messages.
11744
6194c800
JB
117452011-04-05 Juanma Barranquero <lekktu@gmail.com>
11746
33256f14
JB
11747 * font-lock.el (font-lock-refresh-defaults):
11748 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11749 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11750
6194c800
JB
11751 * info.el (Info-directory-list, Info-read-node-name-2)
11752 (Info-split-parameter-string): Doc fixes.
11753 (Info-virtual-nodes): Reflow docstring.
11754 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11755 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11756 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11757 Fix typos in docstrings.
11758 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11759 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11760 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11761 (Info-restore-desktop-buffer): Mark unused parameters.
11762 (Info-directory-find-file, Info-directory-find-node)
11763 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11764 (Info-virtual-index-find-node, Info-apropos-find-file)
11765 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11766 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11767 (Info-virtual-index): Remove unused local variable `nodename'.
11768
b87a8200 117692011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11770
b87a8200
DD
11771 * net/rcirc.el: Update my e-mail address.
11772 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11773
3b2ff876
CY
117742011-04-05 Chong Yidong <cyd@stupidchicken.com>
11775
11776 * startup.el (command-line): Save the cursor's theme-face
11777 directly, instead of using face-override-spec.
11778
11779 * custom.el (load-theme): Minor optimization in assigning faces.
11780
8d17e7ca
JB
117812011-04-04 Juanma Barranquero <lekktu@gmail.com>
11782
11783 * help-fns.el (describe-variable): Complete all variables having
11784 documentation, including keywords.
11785 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11786
2fbc1934
JB
117872011-04-04 Juanma Barranquero <lekktu@gmail.com>
11788
11789 Convert to lexical-binding.
11790
11791 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11792 (bs--get-marked-string, bs--get-modified-string)
11793 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11794 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11795 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11796
11797 * ehelp.el (electric-help-execute-extended)
11798 (electric-help-ctrl-x-prefix):
11799 * hexl.el (hexl-revert-buffer-function):
11800 * linum.el (linum-after-change, linum-after-scroll):
11801 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11802
11803 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11804
74f50695
DU
118052011-04-04 Daiki Ueno <ueno@unixuser.org>
11806
11807 * epa-dired.el:
11808 * epa-mail.el:
11809 * epa-hook.el:
11810 * epa-file.el:
11811 * epa.el:
11812 * epg.el: Use lexical binding.
11813
c11325f7
CY
118142011-04-03 Chong Yidong <cyd@stupidchicken.com>
11815
0d9e9a12
CY
11816 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11817
c11325f7 11818 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11819 dictionary case for flyspell-mark-duplications-exceptions.
11820 Use regexp matching for languages.
c11325f7
CY
11821 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11822 default dictionary (Bug#7926).
11823
da91b5f2
CY
118242011-04-02 Chong Yidong <cyd@stupidchicken.com>
11825
099c39a4
JB
11826 * emacs-lisp/package.el (package--with-work-buffer):
11827 Recognize https URLs.
da91b5f2 11828
099c39a4
JB
11829 * net/network-stream.el: Move from gnus/proto-stream.el.
11830 Change prefix to network-stream throughout.
da91b5f2
CY
11831 (open-protocol-stream): Merge into open-network-stream, leaving
11832 open-protocol-stream as an alias. Handle nil BUFFER args.
11833
11834 * subr.el (open-network-stream): Move to net/network-stream.el.
11835
afa8e9f6
GM
118362011-04-02 Glenn Morris <rgm@gnu.org>
11837
1d2e369d
GM
11838 * find-dired.el (find-exec-terminator): New option.
11839 (find-ls-option): Test for -ls support.
11840 (find-ls-subdir-switches): Test for -b in find-ls-option.
11841 (find-dired, find-grep-dired): Doc fixes.
11842 (find-dired): Use find-exec-terminator.
11843
8abb7da8 11844 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11845 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11846 (find-name-arg): Remove purecopy.
8abb7da8 11847
f3ca7378
GM
11848 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11849 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11850 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11851 accordingly. Don't add the null-device if not needed.
11852
afa8e9f6
GM
11853 * files.el (save-some-buffers): Doc fix.
11854
35eae264
EZ
118552011-04-02 Eli Zaretskii <eliz@gnu.org>
11856
11857 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11858
26b51db5
JB
118592011-04-01 Juanma Barranquero <lekktu@gmail.com>
11860
11861 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11862 Use `dolist' rather than `mapcar'.
11863
7200d79c
SM
118642011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11865
03408648 11866 Add lexical binding.
7200d79c 11867
03408648
SM
11868 * subr.el (apply-partially): Use new closures rather than CL.
11869 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11870 (dolist, dotimes): Use slightly different expansion for lexical code.
11871 (functionp): Move to C.
11872 (letrec): New macro.
11873 (with-wrapper-hook): Use it and apply-partially instead of CL.
11874 (eval-after-load): Preserve lexical-binding.
11875 (save-window-excursion, with-output-to-temp-buffer): Turn them
11876 into macros.
7200d79c 11877
03408648
SM
11878 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11879
11880 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11881 than the arglist.
11882 (help-add-fundoc-usage): Don't add `Not documented'.
11883 (help-function-arglist): Handle closures, subroutines, and new
11884 byte-code-functions.
11885 (help-make-usage): Remove leading underscores.
11886 (describe-function-1): Handle closures.
11887 (describe-variable): Use special-variable-p for completion.
11888
11889 * files.el (lexical-binding): Declare safe.
f488fb65 11890
03408648
SM
11891 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11892 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11893 (pcase): Add `let' pattern.
11894 Change memoization so it actually works.
11895 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11896 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11897 <let>: New case.
f488fb65 11898
03408648
SM
11899 * emacs-lisp/macroexp.el: Use lexical binding.
11900 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11901 Don't convert ' to #' without checking that it's indeed quoting
11902 a lambda.
11903
11904 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11905 Use eval-sexp-add-defvars.
03408648
SM
11906 (eval-sexp-add-defvars): New fun.
11907
11908 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11909
11910 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11911 Don't autoload.
11912 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11913 than the internal `byte-compile-lambda'.
11914 (defmethod): Don't hide code under quotes.
11915 (eieio-defmethod): New `code' argument.
11916
11917 * emacs-lisp/eieio-comp.el: Remove.
11918
11919 * emacs-lisp/edebug.el (edebug-eval-defun)
11920 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11921 (edebug-toggle): Avoid `eval'.
11922
11923 * emacs-lisp/disass.el (disassemble-internal): Handle new
11924 `closure' objects.
11925 (disassemble-1): Handle new byte codes.
11926
11927 * emacs-lisp/cl.el (pushnew): Silence warning.
11928
11929 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11930 (cl-byte-compile-throw): Remove.
11931 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11932
11933 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11934 closures.
11935
11936 * emacs-lisp/cconv.el: New file.
11937
11938 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11939 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11940 (byte-compile-initial-macro-environment):
11941 Handle declare-function here.
11942 (byte-compile--lexical-environment): New var.
11943 (byte-stack-ref, byte-stack-set, byte-discardN)
11944 (byte-discardN-preserve-tos): New lap codes.
11945 (byte-interactive-p): Don't use any more.
11946 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11947 New macros.
11948 (byte-compile-lapcode): Use them and handle new lap codes.
11949 (byte-compile-obsolete): Remove.
11950 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11951 (byte-compile-arglist-warn): Check late def of inlinable funs.
11952 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11953 since they should have been expanded by now.
11954 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11955 (byte-compile-from-buffer): Remove unused second arg.
11956 (byte-compile-preprocess): New function.
11957 (byte-compile-toplevel-file-form): New function to distinguish
11958 file-form calls from outside from file-form calls from hunk-handlers.
11959 (byte-compile-file-form): Simplify.
11960 (byte-compile-file-form-defsubst): Remove.
11961 (byte-compile-file-form-defmumble): Simplify now that
11962 byte-compile-lambda always returns a byte-code-function.
11963 (byte-compile): Preprocess.
11964 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11965 Remove, not used any more.
11966 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11967 (byte-compile-make-args-desc): New funs.
11968 (byte-compile-lambda): Handle lexical functions. Always return
11969 a byte-code-function.
11970 (byte-compile-reserved-constants): New var, to make up room for
11971 closed-over variables.
11972 (byte-compile-constants-vector): Obey it.
11973 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11974 (byte-compile-macroexpand-declare-function): New function.
11975 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11976 byte-code-functions.
11977 (byte-compile-form): Check obsolescence here.
11978 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11979 (byte-compile-variable-ref): Remove.
11980 (byte-compile-dynamic-variable-op): New fun.
11981 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11982 (byte-compile-variable-set): New funs.
11983 (byte-compile-discard): Add 2 args.
11984 (byte-compile-stack-ref, byte-compile-stack-set)
11985 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11986 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11987 macroexpand-all instead.
11988 (byte-compile-quote-form): Remove.
11989 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11990 (byte-compile-bind, byte-compile-unbind): New funs.
11991 (byte-compile-let): Handle let* and lexical binding.
11992 (byte-compile-let*): Remove.
11993 (byte-compile-catch, byte-compile-unwind-protect)
11994 (byte-compile-track-mouse, byte-compile-condition-case):
11995 Handle a new :fun-body form, used for lexical scoping.
11996 (byte-compile-save-window-excursion)
11997 (byte-compile-with-output-to-temp-buffer): Remove.
11998 (byte-compile-defun): Simplify.
11999 (byte-compile-stack-adjustment): New fun.
12000 (byte-compile-out): Use it.
12001 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12002
12003 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12004 handler any more.
12005
12006 * emacs-lisp/byte-opt.el: Use lexical binding.
12007 (byte-inline-lapcode): Remove (to bytecomp).
12008 (byte-compile-inline-expand): Pay attention to inlining to/from
12009 lexically bound code.
12010 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12011 any more.
12012 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12013 any more and don't call compiler-macros.
12014 (byte-compile-splice-in-already-compiled-code): Remove.
12015 (byte-code): Don't inline any more.
12016 (disassemble-offset): Receive `bytes' as argument rather than via
12017 dynamic scoping.
12018 (byte-compile-tag-number): Declare before first use.
12019 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12020 `return' even if make-spliceable.
12021 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12022 obsolete interactive-p.
12023 (byte-optimize-lapcode): Optimize new lap-codes.
12024 Don't trip up on new form of `byte-constant' lap code.
12025
12026 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12027
12028 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12029
12030 * custom.el (custom-initialize-default, custom-declare-variable):
12031 Use `defvar'.
12032
12033 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12034 New variables.
12035 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12036 (COMPILE_FIRST): Add macroexp and cconv.
12037 * makefile.w32-in: Mirror changes in Makefile.in.
12038
12039 * vc/cvs-status.el:
12040 * vc/diff-mode.el:
12041 * vc/log-edit.el:
12042 * vc/log-view.el:
12043 * vc/smerge-mode.el:
12044 * textmodes/bibtex-style.el:
12045 * textmodes/css.el:
12046 * startup.el:
12047 * uniquify.el:
da91b5f2
CY
12048 * minibuffer.el:
12049 * newcomment.el:
12050 * reveal.el:
12051 * server.el:
12052 * mpc.el:
12053 * emacs-lisp/smie.el:
12054 * doc-view.el:
12055 * dired.el:
03408648
SM
12056 * abbrev.el: Use lexical binding.
12057
0f0c1f27
EZ
120582011-04-01 Eli Zaretskii <eliz@gnu.org>
12059
12060 * info.el (info-display-manual): New function.
12061
c82b2579
SM
120622011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12063
12064 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12065
221ddf68
TH
120662011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12067
12068 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12069 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12070
cba6e77e
GM
120712011-03-31 Glenn Morris <rgm@gnu.org>
12072
e040639f
GM
12073 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12074
cba6e77e
GM
12075 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12076
6d0f1c9e
CS
120772011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12078
12079 * progmodes/python.el (python-default-interpreter)
12080 (python-python-command-args, python-jython-command-args)
12081 (python-which-shell, python-which-args, python-which-bufname)
12082 (python-file-queue, python-comint-output-filter-function)
12083 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12084 variables and functions.
12085
3e2d70fd
SM
120862011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12087
12088 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12089 (completion-in-region-mode): New minor mode.
12090 (completion-in-region): Use it.
12091 (completion-in-region--data, completion-in-region-mode-map): New vars.
12092 (completion-in-region--postch): New function.
12093 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12094 New vars.
12095 (completion--capf-wrapper): New function.
12096 (completion-at-point): Use it to track well-behavedness of
12097 hook functions.
12098 (completion-help-at-point): New command.
12099
f3e4086c
JM
121002011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12101
12102 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12103 syntax class to search for whitespace on a single line
12104 (Message-ID: <4D938140.4030905@redhat.com>).
12105
eb7ffc14
LL
121062011-03-30 Leo Liu <sdl.web@gmail.com>
12107
12108 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12109 New commands.
12110 (edit-abbrevs-map): Bind them here.
12111 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12112
d806ab68
KM
121132011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12114
12115 * allout.el (allout-hide-by-annotation, allout-flag-region):
12116 Reduce possibility of overlay leakage by making them volatile.
12117
12118 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12119 hash is not shared between buffers. Mode initialization is
12120 responsible for giving it a useful starting value.
12121 (allout-item-span): Reduce possibility of overlay leakage by
12122 making them volatile.
12123 (allout-widgets-count-buttons-in-region): Add diagnostic function
12124 for tracking down button overlay leaks.
12125
ea622834
LL
121262011-03-29 Leo Liu <sdl.web@gmail.com>
12127
12128 * ido.el (ido-read-internal): Use the default history var
12129 minibuffer-history if no HISTORY is specified.
12130
b62f8267
G
121312011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12132
03408648
SM
12133 * net/imap.el (imap-shell-open, imap-process-connection-type):
12134 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12135 Kerberos, SSL, other subprocesses.
12136
947b6566
LL
121372011-03-28 Leo Liu <sdl.web@gmail.com>
12138
12139 * abbrev.el (abbrev-table-empty-p): New function.
12140 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12141 nonempty ones. (Bug#5937)
12142
5ffb62aa
JD
121432011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12144
12145 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12146
7a097943
LL
121472011-03-27 Leo Liu <sdl.web@gmail.com>
12148
12149 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12150 for foreground and background colors.
12151 (ansi-color-make-color-map): Adapt.
12152
c5b40130
LL
121532011-03-25 Leo Liu <sdl.web@gmail.com>
12154
1f48f7d2
LL
12155 * midnight.el (midnight-time-float): Remove. Note it calculates
12156 the microsecond component incorrectly and seconds-to-time does the
12157 same job.
625897ec 12158 Remove redundant (require 'timer).
1f48f7d2 12159
c5b40130
LL
12160 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12161 (ido-completions): Remove unused arguments. (Bug#8329)
12162
d86d2721
SM
121632011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * minibuffer.el (completion--flush-all-sorted-completions):
12166 Remove itself from hook.
12167 (completion-at-point): Let the functions perform the completion
12168 immediately and return nil or t.
12169 * comint.el (comint-dynamic-complete-functions): Now identical to
12170 completion-at-point-functions.
12171 (comint-dynamic-list-input-ring): Remove unused var `index'.
12172 (comint--match-partial-filename, comint--unquote&expand-filename):
12173 New funs, split from comint-match-partial-filename.
12174 (comint-dynamic-complete): Use completion-at-point.
12175 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12176
e8974c48
DA
121772011-03-24 Drew Adams <drew.adams@oracle.com>
12178
12179 * thingatpt.el: Support `defun'.
12180
def71b5e
LL
121812011-03-23 Leo Liu <sdl.web@gmail.com>
12182
cb5af48e
LL
12183 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12184
def71b5e
LL
12185 * help-mode.el (help-mode-finish): Tweak regexp.
12186
927c53e7
GM
121872011-03-23 Glenn Morris <rgm@gnu.org>
12188
18d05bed
GM
12189 * eshell/esh-opt.el (eshell-eval-using-options):
12190 Do not bind unused local variable `eshell-option-stub'.
12191
927c53e7
GM
12192 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12193
9d0da923
JB
121942011-03-22 Juanma Barranquero <lekktu@gmail.com>
12195
12196 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12197 keymap variable in `with-no-warnings' to avoid a warning when the
12198 keymap has been already `defconst'ed.
12199
4b978a67
LL
122002011-03-22 Leo Liu <sdl.web@gmail.com>
12201
12202 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12203 encode all chars in abbrevs; otherwise use emacs-mule or
12204 utf-8-emacs. (Bug#8308)
12205
5fd62452
JB
122062011-03-22 Juanma Barranquero <lekktu@gmail.com>
12207
0b1596c6
JB
12208 * simple.el (backward-delete-char-untabify):
12209 Avoid warning about using `delete-backward-char'.
12210
5fd62452
JB
12211 * image.el (image-type-file-name-regexps): Make it variable.
12212 `imagemagick-register-types' modifies it, and the user may want
12213 to add new extensions for known image types.
12214 (imagemagick-register-types): Throw error if not using ImageMagick.
12215
0b4e93f1
LL
122162011-03-22 Leo Liu <sdl.web@gmail.com>
12217
12218 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12219 located before rcirc-prompt-end-marker.
12220 (rcirc-complete): Error if point is not after rcirc prompt.
12221 Handle the case when table is nil.
9882e214 12222 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12223
fccee4ab
CY
122242011-03-22 Chong Yidong <cyd@stupidchicken.com>
12225
12226 * custom.el (custom--inhibit-theme-enable): Make it affect only
12227 custom-theme-set-variables and custom-theme-set-faces.
12228 (provide-theme): Ignore custom--inhibit-theme-enable.
12229 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12230 (custom-enabling-themes): Delete variable.
d86d2721
SM
12231 (enable-theme): Accept only loaded themes as arguments.
12232 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12233 (custom-enabled-themes): Forbid themes from setting this.
12234 Eliminate use of custom-enabling-themes.
12235 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12236
af896da6
LL
122372011-03-21 Leo Liu <sdl.web@gmail.com>
12238
12239 * ido.el (ido-read-internal): Add ido-selected to history instead
12240 of user input.
12241
78f64af0
SM
122422011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * subr.el (deferred-action-list, deferred-action-function):
12245 Mark obsolete.
12246
b16ac1ec
LL
122472011-03-21 Leo Liu <sdl.web@gmail.com>
12248
810f7698
LL
12249 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12250 change on 2011-02-13 (bug#8309).
12251
b16ac1ec
LL
12252 * minibuffer.el (read-file-name-function): Change default value.
12253 (read-file-name--defaults): Rename from read-file-name-defaults.
12254 (read-file-name-default): Rename from read-file-name.
12255 (read-file-name): Call read-file-name-function.
12256
4e05e67e
GM
122572011-03-21 Glenn Morris <rgm@gnu.org>
12258
12259 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12260 Doc fixes.
12261
4359915b
CY
122622011-03-21 Chong Yidong <cyd@stupidchicken.com>
12263
12264 * cus-theme.el: Add missing provide statement.
12265 (customize-create-theme): Extract theme value correctly.
12266 (custom-theme-visit-theme): Autoload.
12267 (customize-create-theme): Prompt before inserting default faces.
12268
1fe275ee
JB
122692011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12270
12271 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12272 units and musical notes.
12273
cd394be1 122742011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12275
12276 * ido.el (ido-read-internal): Use completing-read-default.
12277 (ido-completing-read): Fix compatibility with completing-read.
12278
7d476bde
CO
122792011-03-20 Christian Ohler <ohler@gnu.org>
12280
12281 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12282 (ert-delete-all-tests): Use `called-interactively-p' rather than
12283 `interactive-p'.
12284 (ert--make-xrefs-region): Respect END.
12285
fe0fb33e
CY
122862011-03-19 Chong Yidong <cyd@stupidchicken.com>
12287
ff854b0b
CY
12288 * dired-aux.el (dired-create-directory): Signal an error if the
12289 directory already exists (Bug#8246).
12290
fe0fb33e
CY
12291 * facemenu.el (list-colors-display): Call list-faces-display
12292 inside with-help-window.
12293 (list-colors-print): Use display property to align the final
12294 column, instead of checking window-width.
12295
576bce32
EZ
122962011-03-19 Eli Zaretskii <eliz@gnu.org>
12297
4d61f28d 12298 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12299 windows-nt systems.
12300 (emerge-protect-metachars): Quote correctly for ms-dos and
12301 windows-nt systems.
12302
89c41d68 123032011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12304
12305 * info.el (info-initialize): Replace all uses of `:' with
12306 path-separator for compatibility with non-Unix systems.
12307 Cache quoting of path-separator. (Bug#8258)
12308
b14e3e21 123092011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12310
12311 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12312 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12313 (mouse-avoidance-mode): Fix typos in docstrings.
12314
4525ce3e
CY
123152011-03-19 Chong Yidong <cyd@stupidchicken.com>
12316
12317 * startup.el (package-subdirectory-regexp): Move from package.el.
12318 Omit \\` and \\', and let callers add them.
12319
12320 * emacs-lisp/package.el (package-strip-version)
12321 (package-load-all-descriptors): Add \\` and \\' to
12322 package-subdirectory-regexp before using it.
12323 (package-untar-buffer): New arg DIR; ensure that file untars only
12324 into this expected directory. Remove superfluous delete-region.
12325 (package-unpack): Caller changed.
12326 (package-tar-file-info): Use package-subdirectory-regexp.
12327
a904a09a 123282011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12329
a904a09a
SM
12330 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12331 diff-mode-shared-map (bug#8284).
12332 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12333
123342011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * calendar/time-date.el (format-seconds): Use assoc instead of
12337 assoc-string, since assoc-string doesn't exist in XEmacs.
12338
171fc304
JB
123392011-03-17 Juanma Barranquero <lekktu@gmail.com>
12340
12341 * custom.el (custom-known-themes): Reflow docstring.
12342 (custom-theme-load-path): Fix typo in docstring.
12343 (load-theme): Fix typo in error message.
12344 (custom-available-themes, custom-variable-theme-value):
12345 Use `let', not `let*'.
12346
d71990a1
JB
123472011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12348
12349 * calc/README: Mention inclusion of musical notes.
12350
12351 * calc/calc-units.el (calc-lu-quant): Rename from
12352 `calc-logunits-quantity'.
12353 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12354 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12355 (calc-db): Rename from `calc-dblevel'.
12356 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12357 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12358 (calc-np): Rename from `calc-nplevel'.
12359 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12360 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12361 (calc-lu-plus): Rename from `calc-logunits-add'.
12362 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12363 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12364 (calc-lu-minus): Rename from `calc-logunits-sub'.
12365 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12366 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12367 (calc-lu-times): Rename from `calc-logunits-mul'.
12368 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12369 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12370 (calc-lu-divide): Rename from `calc-logunits-div'.
12371 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12372 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12373
12374 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12375 functions being autoloaded.
12376
12377 * calc/calc.el (calc-lu-power-reference): Rename from
12378 `calc-logunits-power-reference'.
12379 (calc-lu-field-reference): Rename from
12380 `calc-logunits-field-reference'.
12381
7a71b18d
GM
12382 * calc/calc-help.el (calc-l-prefix-help):
12383 Mention musical note functions.
d71990a1 12384
40c2934b
SM
123852011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12386
12387 * minibuffer.el (completion-all-sorted-completions):
12388 Use :completion-cycle-penalty text property if present.
12389
b0911414
KM
123902011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12391
12392 * allout.el (allout-yank-processing): Adjust for new rebulleting
12393 regime so bullet being yanked is used without prompting the user
12394 for a choice.
12395
8a05b668
JB
123962011-03-16 Juanma Barranquero <lekktu@gmail.com>
12397
12398 * startup.el (command-line): Warn the user that _emacs is deprecated.
12399
5ba5fb81
JB
124002011-03-16 Juanma Barranquero <lekktu@gmail.com>
12401
12402 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12403 (delphi-verbose, delphi-comment-face, delphi-string-face)
12404 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12405 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12406 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12407 (delphi-new-comment-line, delphi-font-lock-defaults)
12408 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12409 Fix typos in docstrings.
12410
2dab465b
KM
124112011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12412
5ba5fb81 12413 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12414 Invert the roles of character and string values for INSTEAD, so a
12415 string is used for the more common case of a defaulting prompt.
12416
0adf5618
SM
124172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * progmodes/ruby-mode.el (ruby-backward-sexp):
12420 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12421 * play/gamegrid.el (gamegrid-make-face):
12422 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12423 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12424 * notifications.el (notifications-notify):
12425 * net/xesam.el (xesam-search-engines):
12426 * net/quickurl.el (quickurl-list-insert):
12427 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12428
d72700e5
CY
124292011-03-15 Chong Yidong <cyd@stupidchicken.com>
12430
12431 * startup.el (command-line): Update package subdirectory regexp.
12432
49c5410a
SM
124332011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12434
c6eee9aa
SM
12435 * allout.el (allout-abbreviate-flattened-numbering)
12436 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12437
49c5410a
SM
12438 * subr.el (read-char-choice): Only show the cursor after the prompt,
12439 not after the answer.
12440
047b2bb9
KR
124412011-03-15 Kevin Ryde <user42@zip.com.au>
12442
12443 * help-fns.el (variable-at-point): Skip leading quotes, if any
12444 (bug#8253).
12445
0a57d256
SM
124462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12447
12448 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12449 warning message.
12450
77c992bc
MA
124512011-03-14 Michael Albinus <michael.albinus@gmx.de>
12452
12453 * shell.el (shell): When called interactively, offer to change the
12454 shell file name on remote hosts.
12455
eebc475d
TZ
124562011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12457
12458 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12459 integration for LDAP parameters. The host, base, user or binddn,
12460 and secret tokens can be specified in a netrc file, for instance.
12461 This is optional because an `auth-source' parameter must be
12462 specified in the search attributes.
12463
9d05d1ba
JB
124642011-03-13 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12467
09d9db2c
GM
124682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12471 into declaration. Remove redundant and harmful binding.
12472
124732011-03-12 Eli Zaretskii <eliz@gnu.org>
12474
12475 * files.el (file-ownership-preserved-p): Pass `integer' as an
12476 explicit 2nd argument to `file-attributes'. If the file's owner
12477 is the Administrators group on Windows, and the current user is
12478 Administrator, consider that a match.
12479
12480 * server.el (server-ensure-safe-dir): Consider server directory
12481 safe on MS-Windows if its owner is the Administrators group while
12482 the current Emacs user is Administrator. Use `=' to compare
12483 numerical UIDs, since they could be integers or floats.
12484
219bd536
JB
124852011-03-12 Juanma Barranquero <lekktu@gmail.com>
12486
12487 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12488
f3afd36b
MA
124892011-03-12 Michael Albinus <michael.albinus@gmx.de>
12490
12491 Sync with Tramp 2.2.1.
12492
12493 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12494
12495 * net/trampver.el: Update release number.
12496
3aaaa6f1
SM
124972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12498
94642599
SM
12499 * progmodes/compile.el (compilation--previous-directory): Fix up
12500 various nil/dead-marker mismatches (bug#8014).
12501 (compilation-directory-properties, compilation-error-properties):
12502 Don't call it at a position past the one we're about to change.
12503
3aaaa6f1
SM
12504 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12505 Disable obsolescence warnings in the file that declares it.
12506
14239447
KM
125072011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12508
099c39a4
JB
12509 * allout-widgets.el (allout-widgets-tally):
12510 Initialize allout-widgets-tally as a hash table rather than nil to
12511 prevent mode-line redisplay warnings. Also, clarify the module
12512 description and fix a comment typo.
14239447 12513
135e287c
JB
125142011-03-11 Juanma Barranquero <lekktu@gmail.com>
12515
12516 * help-fns.el (describe-variable): Don't complete keywords.
12517 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12518
ffbf300e
CY
125192011-03-10 Chong Yidong <cyd@stupidchicken.com>
12520
ba08b241
CY
12521 * emacs-lisp/package.el (package-version-join): Impose a standard
12522 string representation for pre/alpha/beta version lists.
12523 (package-unpack-single): Standardize the directory name by passing
12524 it through package-version-join.
12525 (package-strip-rcs-id): Accept any version string that does not
12526 signal an error in version-to-list.
ffbf300e 12527
f346fd6b
MA
125282011-03-10 Michael Albinus <michael.albinus@gmx.de>
12529
12530 * simple.el (delete-trailing-whitespace): Return nil for the
12531 benefit of `write-file-functions'.
12532
ccb55d27
GM
125332011-03-10 Glenn Morris <rgm@gnu.org>
12534
5ceaac0c
GM
12535 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12536
02da65ff
GM
12537 * vc/vc-git.el (vc-git-program): New option.
12538 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12539 (vc-git--call): Use it.
12540
b2f603cc
GM
12541 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12542
5772caab
GM
12543 * cus-edit.el (Custom-newline): If no button at point, look
12544 for a subgroup button at start-of-line. (Bug#2298)
12545
ccb55d27
GM
12546 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12547
ec6ecaed
JD
125482011-03-10 Julien Danjou <julien@danjou.info>
12549
12550 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12551 `cursor-type' is nil.
12552
9d5aa01d
JB
125532011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12554
12555 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12556
b6a5875b
KM
125572011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12558
7a71b18d 12559 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12560 preserves the existing header prefix, rebulleting it if necessary,
12561 rather than replacing it. This is necessary for proper operation
12562 of cooperative addons like allout-widgets.
1154d12e
JB
12563 (allout-make-topic-prefix, allout-rebullet-heading):
12564 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12565 value as alternate bullet to be used, instead of prompting the user
12566 for a bullet character.
b6a5875b 12567
ee545c35
MA
125682011-03-09 Michael Albinus <michael.albinus@gmx.de>
12569
d86d2721
SM
12570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12571 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12572 `tramp-default-port'.
12573
c47971d7
DD
125742011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12575
12576 * net/rcirc.el (rcirc-handler-001): Remove useless
12577 with-rcirc-process-buffer.
12578 (rcirc-check-auth-status): Swap arguments to string-match.
12579
13522cb4
GM
125802011-03-09 Glenn Morris <rgm@gnu.org>
12581
0be6f4f1
GM
12582 * shell.el (shell-mode):
12583 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12584
13522cb4
GM
12585 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12586 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12587
515de2e3
CY
125882011-03-08 Chong Yidong <cyd@stupidchicken.com>
12589
12590 * emacs-lisp/package.el (package-refresh-contents)
12591 (package-menu-execute): Use condition-case-no-debug.
12592
b511b994
MA
125932011-03-08 Michael Albinus <michael.albinus@gmx.de>
12594
12595 * simple.el (shell-command-to-string): Use `process-file'.
12596
12597 * emacs-lisp/package.el (package-tar-file-info): Handle also
12598 remote files.
12599
d86d2721
SM
12600 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12601 Use `equal' for upload base check.
b511b994 12602
25bbfb31
AM
126032011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12604
12605 * textmodes/texinfo.el (texinfo-environments):
12606 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12607
be996521
GM
126082011-03-08 Glenn Morris <rgm@gnu.org>
12609
e9c8529f
GM
12610 * cus-start.el (cursor-in-non-selected-windows):
12611 Fix :set quoting oddness. (Bug#8192)
12612
be996521
GM
12613 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12614 in some setf expressions. (Bug#2159)
12615
2bb5649e
CY
126162011-03-08 Chong Yidong <cyd@stupidchicken.com>
12617
12618 * custom.el (custom-available-themes): Return themes in
12619 alphabetical order.
12620
33383987 12621See ChangeLog.15 for earlier changes.
e3d51b27
MR
12622
12623;; Local Variables:
12624;; coding: utf-8
e3d51b27
MR
12625;; End:
12626
acaf905b 12627 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12628
12629 This file is part of GNU Emacs.
12630
12631 GNU Emacs is free software: you can redistribute it and/or modify
12632 it under the terms of the GNU General Public License as published by
12633 the Free Software Foundation, either version 3 of the License, or
12634 (at your option) any later version.
12635
12636 GNU Emacs is distributed in the hope that it will be useful,
12637 but WITHOUT ANY WARRANTY; without even the implied warranty of
12638 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12639 GNU General Public License for more details.
12640
12641 You should have received a copy of the GNU General Public License
12642 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.