Fix up merged ChangeLog entries
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
39773899
LL
12012-04-20 Leo Liu <sdl.web@gmail.com>
2
3 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4 and pcase-let*.
5
de6ff46d
CY
62012-04-20 Chong Yidong <cyd@gnu.org>
7
8 * server.el (server-execute): Respect initial-buffer-choice if it
9 is a string and there are no files to open (Bug#2825).
10 (server-create-window-system-frame, server-create-tty-frame):
11 Don't switch buffers here.
2d0e8e61
CY
12 (server-process-filter): Only try to open a window system frame if
13 compiled with graphical support (Bug#8314).
de6ff46d 14
54071013
DN
152012-04-20 Dan Nicolaescu <dann@gnu.org>
16
17 * battery.el (battery-echo-area-format): Display remaining time
18 for sysfs backend too (Bug#11269).
19 (battery-linux-sysfs): Fix conditional for the charge.
20
f30d612a
CY
212012-04-20 Chong Yidong <cyd@gnu.org>
22
c07a4c0b 23 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
24 (gdb-inferior-io--init-proc): New function.
25 (gdb-init-1): Use it.
26 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
27 responsible for allocating a new pty and hooking it to gdb when
28 the old pty gets an EIO due to process exit.
29 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
30 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
31 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
32
2116e93c
EZ
332012-04-20 Eli Zaretskii <eliz@gnu.org>
34
35 * window.el (window-min-size, window-sizable, window-min-delta)
36 (window-max-delta, window--resizable, window-resizable)
37 (window-total-size, window-full-height-p, window-full-width-p)
38 (window-in-direction, window--resize-mini-window, window-resize)
39 (window--resize-child-windows-normal)
40 (window--resize-child-windows, window--resize-siblings)
41 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 42 (enlarge-window, shrink-window): Doc fixes.
2116e93c 43
c07a4c0b 442012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e
CY
45
46 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
47 function to call delete-process on the gdb-inferior buffer's pty.
48 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
49 pty process (Bug#11273).
50 (gdb-update): New arg to suppress talking to the gdb process.
51 (gdb-done-or-error): Use it.
52 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
53 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
54 sentinel not being called.
55
56 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
57
d02766ab
CY
58 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
59
c07a4c0b 602012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
61
62 * net/network-stream.el (open-network-stream): Doc fix.
63
c07a4c0b 642012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
65
66 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
67
c07a4c0b 682012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
69
70 Ensure searching for keywords is case sensitive.
71
72 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
73 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
74 (c-defun-name, c-mark-function, c-cpp-define-name)
75 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 76 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 77
c07a4c0b 78 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
f0f6bc35
AM
79 case-fold-search to nil.
80
c07a4c0b 812012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
82
83 * mail/sendmail.el (mail-bury): Call return action with the right
84 Rmail buffer (Bug#11242).
85
9a864fa2
CY
86 * server.el (server-process-filter): Handle corner case where both
87 tty and nowait options are present (Bug#11102).
88
539aa513
EZ
892012-04-20 Eli Zaretskii <eliz@gnu.org>
90
91 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
92 (top level): Put into the executable the ident-style '$Id:' tag on
93 windows-nt as well.
539aa513 94
cfc7d5da
SM
952012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * electric.el (electric-indent-post-self-insert-function): Check that
98 electric-indent-mode is enabled in current buffer.
99
5b01685c
JB
1002012-04-19 Juanma Barranquero <lekktu@gmail.com>
101
102 * imenu.el (imenu-progress-message): Restore; it is "used" in
103 erc/erc-imenu.el and net/snmp-mode.el.
104
4d6769e1
JB
1052012-04-19 Juanma Barranquero <lekktu@gmail.com>
106
107 * avoid.el (mouse-avoidance-mode): Mark unused arg.
108 (mouse-avoidance-nudge-mouse): Remove unused binding.
109
110 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
111
112 * descr-text.el (describe-char):
113 * progmodes/python.el (python-describe-symbol):
114 Don't call `toggle-read-only', set `buffer-read-only'.
115
116 * imenu.el (imenu-default-goto-function): Mark unused args.
117 (imenu-progress-message): Remove obsolete macro; all callers changed.
118
119 * subr.el (keymap-canonicalize): Remove unused binding.
120 (read-passwd): Mark unused arg.
121
122 * tutorial.el (tutorial--display-changes): Remove unused binding.
123 (tutorial--save-tutorial-to): Remove unused variable.
124
125 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
126 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
127 (package-generate-autoloads, package-menu--generate)
128 (package-menu--find-upgrades): Remove unused bindings.
129
130 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
131 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
132 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
133 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
134 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
135 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
136 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
137 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
138 (cua-delete-char-rectangle): Mark unused args.
139 (cua-align-rectangle): Remove unused binding.
140
141 * mail/rmail.el (compilation--message->loc)
142 (epa--find-coding-system-for-mime-charset): Declare.
143
144 * net/dbus.el (dbus-register-service): Declare.
145 (dbus-name-owner-changed-handler): Remove unused binding.
146
147 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
148 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
149 (nxml-scan-backward-within): Mark unused arg.
150 (nxml-dynamic-markup-word): Remove unused binding.
151
152 * mouse.el (mouse-menu-major-mode-map):
153 * emacs-lisp/authors.el (authors-scan-change-log)
154 (authors-add-to-author-list):
155 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
156 * emacs-lisp/smie.el (smie-auto-fill):
157 * mail/sendmail.el (mail-bury):
158 * mail/unrmail.el (unrmail):
159 * net/tls.el (open-tls-stream):
160 * textmodes/picture.el (picture-mouse-set-point):
161 Remove unused bindings.
162
8c8fc5df
MA
1632012-04-19 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp.el (tramp-action-password): Let-bind
166 `enable-recursive-minibuffers' to t.
167
a77b0ac9
SS
1682012-04-18 Sam Steingold <sds@gnu.org>
169
170 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
171 instead of 'string to accommodate values like [f11].
172 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
173 * progmodes/gdb-mi.el: Likewise.
174
12a106a9
LL
1752012-04-18 Leo Liu <sdl.web@gmail.com>
176
177 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
178 current buffer.
179 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
180 LOCAL is nil.
181
bc6494ef
CY
1822012-04-18 Chong Yidong <cyd@gnu.org>
183
184 * simple.el (line-move): Use forward-line if in batch mode
185 (Bug#11053).
186
c09c46b2
CS
1872012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
188
189 * files.el (after-find-file): Do not try to add a final newline if
190 the buffer is read-only (Bug#11156).
191
5f6530ea
RS
1922012-04-17 Richard Stallman <rms@gnu.org>
193
194 * mail/rmail.el (rmail-start-mail):
195 Pass (rmail-mail-return...) for the return-action.
196 Pass (rmail-yank-current-message...) for the yank-action.
197 (rmail-yank-current-message): New function.
198 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
199 (rmail-reply): Likewise.
200 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
201
202 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 203 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
204 buffer, not newbuf.
205
197b6f3c
JB
2062012-04-17 Juanma Barranquero <lekktu@gmail.com>
207
208 * server.el (server-ensure-safe-dir): Simplify.
209
2311d8e5 2102012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 211
2311d8e5
GM
212 * emacs-lisp/smie.el: Provide smarter auto-filling.
213 (smie-auto-fill): New function.
214 (smie-setup): Use it.
98fb480e 215
2311d8e5
GM
216 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
217
2182012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
219
220 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
221 (comment-indent): Use it.
222
2311d8e5 2232012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
224
225 * ses.el: The overall change is to add cell renaming, that is
226 setting fancy names for cell symbols other than name matching
227 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 228 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 229 (ses-create-cell-variable): New defun.
2311d8e5 230 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
231 (ses-relocate-formula): Relocate formulas only for cells the
232 symbols of which are not renamed, i.e. symbols whose names do not
233 match regexp "\\`[A-Z]+[0-9]+\\'".
234 (ses-relocate-all): Relocate values only for cells the symbols of
235 which are not renamed.
236 (ses-load): Create cells variables as the (ses-cell ...) are read,
237 in order to check row col consistency with cell symbol name only
238 for cells that are not renamed.
239 (ses-replace-name-in-formula): New defun.
240 (ses-rename-cell): New defun.
4bdf2ad2 241
fc72b15c
PO
2422012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
243
244 * progmodes/perl-mode.el (perl-indent-parens-as-block):
245 New option (bug#11118).
246 (perl-calculate-indent): Respect it.
247
12e10e61
GM
2482012-04-17 Glenn Morris <rgm@gnu.org>
249
250 * dired-aux.el (dired-mark-read-string): Doc fix.
251
30009afd
DA
2522012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
253
254 * dired-aux.el (dired-mark-read-string): Offer optional completion.
255 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
256
41f03f4d
GM
2572012-04-17 Glenn Morris <rgm@gnu.org>
258
259 * mouse.el (mouse-drag-track):
260 * speedbar.el (speedbar-frame-mode):
261 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
262
f45f90f3
LL
2632012-04-16 Leo Liu <sdl.web@gmail.com>
264
265 * progmodes/python.el: Trivial cleanup.
266
94ee8db5
GM
2672012-04-16 Glenn Morris <rgm@gnu.org>
268
121b8917
GM
269 * vc/vc.el (vc-string-prefix-p):
270 * vc/pcvs-util.el (cvs-string-prefix-p):
271 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
272 * mpc.el (mpc-string-prefix-p):
273 Make all of these into obsolete aliases for string-prefix-p.
274 Update callers.
275 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
276
1197ecfa
GM
277 * textmodes/two-column.el: Move custom options to the start.
278 (frame-width): Remove compat definition.
279 (2C-associate-buffer, 2C-dissociate):
280 Use with-current-buffer rather than save-excursion.
281 (2C-dissociate): Force a mode-line update.
282 (2C-autoscroll): Use ignore-errors.
283
099e7202
GM
284 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
285 Autoload trivia.
286
bf350d6a
GM
287 * emacs-lisp/cl-extra.el (*random-state*):
288 Remove unnecessary declaration.
289
0e829eab
GM
290 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
291
e3ad7552
GM
292 * play/cookie1.el (cookie-snarf):
293 Give an explicit error if input file cannot be read.
294
68892d27
GM
295 * play/yow.el (yow-file): Use expand-file-name rather than concat.
296
20f0c46d
GM
297 * progmodes/perl-mode.el (c-macro-expand):
298 Remove unnecessary autoload (it is in loaddefs.el).
299
5a0978ce
GM
300 * textmodes/picture.el (picture-desired-column)
301 (picture-update-desired-column): Convert comments to doc-strings.
302 (picture-substitute): Remove function.
303 (picture-mode-map): Initialize in the defvar.
304
6b955486
GM
305 * woman.el: Remove eval-after-load for tar-mode.
306 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
307 (woman-tar-extract-file): Autoload it.
308
94ee8db5
GM
309 * frame.el (automatic-hscrolling): Make this alias obsolete.
310
177eca34
AM
3112012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
312
313 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 314 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
315 (ispell-dictionary-base-alist): Revert to original XEmacs
316 friendly version for default. [:alpha:] will be added in
317 `ispell-set-spellchecker-params' if needed
177eca34 318
c505aaeb
CY
3192012-04-16 Chong Yidong <cyd@gnu.org>
320
321 * image.el (imagemagick--extension-regexp): New variable.
322 (imagemagick-register-types): Use it.
323 (imagemagick-types-inhibit): Add :set function. Allow new value
324 of t to inhibit all types.
325
326 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
327 so we can preload it.
328
329 * loadup.el (fboundp): Preload regexp-opt, needed by
330 imagemagick-register-types.
331
60efac0f
CY
3322012-04-15 Chong Yidong <cyd@gnu.org>
333
334 * frame.el (scrolling): Remove nearly unused customization group.
335
336 * scroll-all.el (scroll-all-mode): Move to windows group.
337
5dd1713e
CY
3382012-04-15 Chong Yidong <cyd@gnu.org>
339
340 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
341
e6fd457e
CY
3422012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 345 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 346
e153c136
GM
3472012-04-15 Glenn Morris <rgm@gnu.org>
348
349 * simple.el (process-file-side-effects): Doc fix.
350
e6fd457e 3512012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
352
353 * international/mule-cmds.el (set-language-environment): Doc fix.
354
3603c3b1
JB
3552012-04-14 Juanma Barranquero <lekktu@gmail.com>
356
357 * server.el (server-auth-key, server-generate-key): Doc fixes.
358 (server-get-auth-key): Doc fix. Use `string-match-p'.
359 (server-start): Reflow docstring.
360
e6de100c
LI
3612012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
362
363 * server.el (server-generate-key): `called-interactively-p'
364 requires a parameter.
365
29734c21
MN
3662012-04-14 Michal Nazarewicz <mina86@mina86.com>
367
368 * server.el (server-auth-key): New variable.
75f1671a 369 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
370 (server-start): Use the new variable and functions to allow
371 setting a permanent server key (bug#9423).
372
d65c9521
LL
3732012-04-14 Leo Liu <sdl.web@gmail.com>
374
375 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
376
5ae255c7
PE
3772012-04-14 Paul Eggert <eggert@cs.ucla.edu>
378
379 Spelling fixes.
380 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
381 Emacs uses American spelling.
382
d5e6342e
JB
3832012-04-14 Juanma Barranquero <lekktu@gmail.com>
384
385 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
386 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
387 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
388 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
389
ab036cd7
SM
3902012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * progmodes/which-func.el (which-func-modes): Change default.
393
35dc09a1 3942012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
395
396 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
397 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
398
35dc09a1 3992012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
400
401 * custom.el (custom-theme-set-variables): Doc fix.
402
35dc09a1 4032012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
404
405 * international/mule.el (set-auto-coding-for-load): Doc fix.
406
35dc09a1 4072012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 408
35dc09a1
GM
409 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
410 imenu work again for Objective C Mode. Correct the *-index values,
411 these having been disturbed by a previous change in 2011-08.
57f845ee 412
0de3da9f
AM
413 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
414 Correct two search limits.
415
35dc09a1 4162012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
417
418 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
419
35dc09a1 4202012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
421
422 * international/characters.el: Fix sorting.
423
35dc09a1 4242012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
425
426 * international/characters.el: Add more missing Latin case pairs.
427
35dc09a1 4282012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
429
430 * files.el (dir-locals-set-class-variables): Doc fix.
431
35dc09a1 4322012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 433
3f1b5bf8
EZ
434 * international/characters.el: Add set-case-syntax-pair call for
435 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
436 counterpart. (Bug#11209)
437
9f847f41
EZ
438 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
439
35dc09a1 4402012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
441
442 * calendar/holidays.el (calendar-check-holidays): Doc fix.
443
35dc09a1 4442012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 445
35dc09a1
GM
446 * textmodes/ispell.el (ispell-dictionary-base-alist):
447 Add data for Hebrew.
e2627d21 448
35dc09a1 4492012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 450
35dc09a1
GM
451 * net/rcirc.el (rcirc-cmd-quit):
452 Revert 2012-03-18 change (Bug#11192).
5c14e333 453
35dc09a1 4542012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
455
456 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
457
35dc09a1 4582012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 459
4517fe3a
SM
460 * minibuffer.el (completion-in-region-mode-map):
461 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 462
b472a594
VD
4632012-04-13 Vivek Dasmohapatra <vivek@etla.org>
464
465 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
466
09b95ce3
MY
4672012-04-13 Masatake YAMATO <yamato@redhat.com>
468
469 * minibuffer.el (minibuffer-local-filename-syntax): New variable
470 to allow `C-M-f' and `C-M-b' to move to the nearest path
471 separator (bug#9511).
472
4b63a9ca
LI
4732012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
474
475 * avoid.el: Require cl when compiling. And also move the
476 `provide' to the end.
477
7b55b8bf
TV
4782012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
479
480 * avoid.el (mouse-avoidance-banish-position): New variable.
481 (mouse-avoidance-banish-destination): Use it (bug#10165).
482
adedaa1f
LL
4832012-04-13 Leo Liu <sdl.web@gmail.com>
484
485 * progmodes/which-func.el (which-func-modes): Add objc-mode.
486
70e74021
KB
4872012-04-13 Ken Brown <kbrown@cornell.edu>
488
489 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 490 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
491 (browse-url-filename-alist): For the same reason, don't modify
492 file:// URLs on Cygwin.
493
e75e89ba
SM
4942012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
497 the region on shift if the binding is already shifted (bug#11221).
498
82f289a4
GM
4992012-04-12 Glenn Morris <rgm@gnu.org>
500
501 * mail/mailpost.el: Move to obsolete/.
502
d333dc4c
DA
5032012-04-12 Drew Adams <drew.adams@oracle.com>
504
505 * imenu.el (imenu--generic-function): Ignore invisible definitions
506 (bug#10123).
507
0d15b5ba
VD
5082012-04-12 Vivek Dasmohapatra <vivek@etla.org>
509
510 * hexl.el (hexl-bits): New variable.
511 (hexl-options): Mention the variable in the doc string.
75f1671a 512 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 513 (hexl-mode): Mention the new variable.
75f1671a
JB
514 (hexl-mode, hexl-current-address, hexl-current-address):
515 Use the displen.
0d15b5ba
VD
516 (hexl-ascii-start-column): New function.
517 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
518 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
519
64a440db
AM
5202012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
521
522 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
523 '("-i" ENCODING), in 2 separate command-line arguments, to specify
524 the encoding, as expected by hunspell.
525
6decb6c2
SM
5262012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * battery.el (battery--linux-sysfs-regexp): New const.
529 (battery-status-function): Use it. Remove yeeloong special case.
530 (battery-yeeloong-sysfs): Remove.
531 (battery-echo-area-format): Remove yeeloong special case.
532
088be6fb
SM
5332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
534
6622e416
SM
535 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
536 Reported by Noah Friedman.
537
088be6fb
SM
538 * subr.el (read-passwd): Use read-string.
539
b49f886e
LMI
5402012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
541
542 * vcursor.el (vcursor-move): Increase the priority of the overlay
543 (bug#9663).
544
a63067fc
DD
5452012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
546
547 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
548 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
549
ac3cf14a
WS
5502012-04-11 William Stevenson <yhvh2000@gmail.com>
551
552 * textmodes/artist.el (artist-mode): Convert artist-mode to use
553 define-minor-mode (bug#10760).
554
c4fc691b 5552012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 556
4d6769e1 557 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
558 that directories matching `grep-find-ignored-files' won't be
559 pruned (bug#10351).
560
af23e2e5
CY
5612012-04-11 Chong Yidong <cyd@gnu.org>
562
563 * startup.el (command-line): Remove support for long-obsolete
564 variable font-lock-face-attributes.
565
ab7ce8c1
GM
5662012-04-11 Glenn Morris <rgm@gnu.org>
567
568 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
569
de8c03dc
SM
5702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * window.el (window--state-get-1): Obey window-point-insertion-type.
573
050cc68b
LB
5742012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
575
576 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
577 to previous function when point is on the first character of a
75f1671a 578 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 579
a38c310c
GM
5802012-04-11 Glenn Morris <rgm@gnu.org>
581
effed0c2
GM
582 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
583 not just file-errors.
584
a38c310c
GM
585 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
586 (vc-bzr-sha1): Use internal sha1.
587
0221e323
SM
5882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
591
43956923
SG
5922012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
593
594 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
595 that start in the middle of the line (bug#10496).
596
6a8c9eaf
DN
5972012-04-10 Dan Nicolaescu <dann@gnu.org>
598
599 * battery.el (battery-linux-proc-acpi): Only one battery is
600 discharged at a time, but that seems to confuse battery.el when
601 computing `rate-type' for the battery not being discharged
602 (bug#10332).
603
1930bf5d
SM
6042012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
605
2a718f6f
SM
606 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
607
599430d0
SM
608 * international/quail.el: Use dolist and simplify.
609 (quail-define-package, quail-update-keyboard-layout)
610 (quail-define-rules): Use dolist.
611 (quail-insert-kbd-layout, quail-get-translation): CSE.
612
a2754b6c
SM
613 * tmm.el: Use dolist, remove left over hook.
614 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
615 Use dolist.
616 (calendar-load-hook): Don't mess with it.
617
1930bf5d
SM
618 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
619 Use derived-mode-p. Run the diff asynchronously.
620
9f67961c
LMI
6212012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
622
623 * obsolete/mouse-sel.el: Add an Obsolete-since header.
624
2a8ce227
JB
6252012-04-10 Juanma Barranquero <lekktu@gmail.com>
626
627 * misc.el: Display absolute path of loaded DLLs (bug#10424).
628 (list-dynamic-libraries--loaded): New function.
629 (list-dynamic-libraries--refresh): Use it.
630
8f33b5f8
NW
6312012-04-10 Nathan Weizenbaum <nweiz@google.com>
632
1930bf5d
SM
633 * progmodes/python.el (python-fill-paragraph):
634 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
635 disabled (bug#7018).
636
b12f0439
L
6372012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
638
1930bf5d 639 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
640 DOS/MS Windows for the Baltic languages. There are still plenty
641 of texts written in this encoding/codepage (bug#6519).
b12f0439 642
57c3bd01
GM
6432012-04-10 Glenn Morris <rgm@gnu.org>
644
645 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
646 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
647
6c3eab30
FA
6482012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
649
1930bf5d 650 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
651 next-line "n" and previous-line "p" in order to make recentf more
652 consistent with ibuffer, dired or org-mode (bug#9387).
653
24d78a88
LMI
6542012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
655
bc72b5d9
LMI
656 * image.el (put-image): Return the overlay created instead of the
657 optional input string (bug#7834). Note that this may break code
658 that is (for some reason or other) depending on `put-image'
659 returning the string.
660
bd2dba5a
LMI
661 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
662
74beb59f
LMI
663 * simple.el (zap-to-char): Allow zapping using input methods
664 (bug#1580).
665
24d78a88
LMI
666 * textmodes/fill.el (fill-region): Leave point and mark where they
667 were before filling (bug#5399).
668
263f20cd
GM
6692012-04-09 Glenn Morris <rgm@gnu.org>
670
671 * version.el (emacs-bzr-get-version):
672 Handle lightweight checkouts of local branches.
673
58d1f797
AS
6742012-04-09 Andreas Schwab <schwab@linux-m68k.org>
675
263f20cd 676 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 677
b4d3bc10
CY
6782012-04-09 Chong Yidong <cyd@gnu.org>
679
680 * custom.el (custom-variable-p): Return nil for non-symbol
681 arguments instead of signaling an error.
682 (user-variable-p): Obsolete alias for custom-variable-p.
683
684 * apropos.el (apropos-variable):
685 * files-x.el (read-file-local-variable):
686 * simple.el (set-variable):
687 * woman.el (woman-mini-help):
688 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
689
fd06db5d
GM
6902012-04-09 Glenn Morris <rgm@gnu.org>
691
e5fcdb5e
GM
692 * startup.el (normal-top-level): Don't look for leim-list.el
693 in places where it will not be found. (Bug#910)
694
fd06db5d
GM
695 * international/mule-cmds.el (set-default-coding-systems):
696 * files.el (normal-mode):
697 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
698 This function was removed with ucs-tables.el in 2008.
699
b39bb7e1
EZ
7002012-04-08 Eli Zaretskii <eliz@gnu.org>
701
702 * textmodes/ispell.el (ispell-check-version): For hunspell, set
703 ispell-encoding8-command to "-i", without a trailing space.
704 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
705 separate command-line arguments, to specify the encoding, since
706 that's how hunspell expects it.
707
5c5b8e23
GM
7082012-04-08 Glenn Morris <rgm@gnu.org>
709
710 * loadup.el: Load bindings before cus-start.
711 This reduces somewhat the number of "rogue" settings in emacs -Q.
712
a1ed8b05
GM
7132012-04-07 Glenn Morris <rgm@gnu.org>
714
715 * version.el (emacs-bzr-get-version): New function.
dfae128a 716 (emacs-bzr-version): New variable.
a1ed8b05
GM
717 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
718 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
719
b142f158
EZ
7202012-04-07 Eli Zaretskii <eliz@gnu.org>
721
dfae128a
GM
722 * international/uni-bidi.el, international/uni-category.el:
723 * international/uni-combining.el, international/uni-decimal.el:
724 * international/uni-decomposition.el, international/uni-digit.el:
725 * international/uni-lowercase.el, international/uni-mirrored.el:
726 * international/uni-name.el, international/uni-numeric.el:
727 * international/uni-titlecase.el, international/uni-uppercase.el:
728 Update for Unicode 6.1.
b142f158 729
9078ead6
EZ
7302012-04-07 Eli Zaretskii <eliz@gnu.org>
731
732 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
733
f23d2c7d
LMI
7342012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
735
736 * window.el (shrink-window): Mention the `window-min-height'
737 variable in the doc string.
738
0a0a3573
BG
7392012-04-05 Bastien Guerry <bzg@altern.org>
740
741 * color.el (color-lighten-name): Fix typo.
742
e5248ac9
SM
7432012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * server.el (server--on-display-p): New function.
746 (server--on-display-p): Use it.
747
b4243e22
GV
7482012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
749
750 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
751 (bug#11145).
752
305d9f44
SM
7532012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * comint.el (comint--common-quoted-suffix): Check string boundary
756 before comparing (bug#11158).
757 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
758
3d439cd1
CY
7592012-04-04 Chong Yidong <cyd@gnu.org>
760
321cc491
CY
761 * minibuffer.el (completion-extra-properties): Doc fix.
762
3d439cd1
CY
763 * subr.el (delayed-warnings-hook): Doc fix.
764
2d562c0f
DU
7652012-04-04 Daiki Ueno <ueno@unixuser.org>
766
767 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
768 selection (Bug#11159).
769 (epa-insert-keys): Inform that the default public key will be
770 exported if no key is selected.
771
4443f204
RS
7722012-04-04 Richard Stallman <rms@gnu.org>
773
774 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
775
529c06b6
CY
7762012-04-03 Chong Yidong <cyd@gnu.org>
777
778 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
779 mail-insert-file, not its obsolete alias mail-attach-file.
780
66b907dc
MA
7812012-04-03 Michael Albinus <michael.albinus@gmx.de>
782
783 * notifications.el (notifications-notify): Fix docstring.
784
c0ea195d
GM
7852012-04-02 Glenn Morris <rgm@gnu.org>
786
787 * emacs-lisp/authors.el (authors-aliases): Another addition.
788
5ca64e00
MA
7892012-04-02 Michael Albinus <michael.albinus@gmx.de>
790
791 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
792 `tramp-compat-call-process' instead of `tramp-local-call-process'.
793 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
794
42ee526b
CY
7952012-04-01 Chong Yidong <cyd@gnu.org>
796
797 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
798 Handle root directory properly.
799 (copy-directory): Caller changed.
800
801 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
802 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
803
0b021094
GM
8042012-03-31 Glenn Morris <rgm@gnu.org>
805
40f86458
GM
806 * term/xterm.el (xterm-extra-capabilities): Doc fix.
807
7019c177
GM
808 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
809
a1daddd6
GM
810 * calendar/calendar.el (calendar-window-list)
811 (calendar-hide-window): Restore. (Bug#11140)
812 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
813
0b021094
GM
814 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
815
40311efc
TV
8162012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
817
818 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
819 Check if file is a symlink (Bug#10489).
820
821 * files.el (copy-directory): Likewise.
822
5319014e
CY
8232012-03-30 Chong Yidong <cyd@gnu.org>
824
825 * image.el (imagemagick-types-inhibit)
826 (imagemagick-register-types): Doc fix.
827
935d1290
AM
8282012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
829
830 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
831 extended-char-mode for hunspell. hunspell does not support it
832 and treats ~word as ordinary words in pipe mode.
935d1290 833
61c6e8fd
GM
8342012-03-30 Glenn Morris <rgm@gnu.org>
835
836 * tutorial.el (help-with-tutorial): Ensure local variables don't
837 happen to make the buffer read-only. (Bug#11127)
838
81fdff00
SM
8392012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
842 (perl-calculate-indent): Return `noindent' in strings.
843
6e7a6ec0
SS
8442012-03-28 Sam Steingold <sds@gnu.org>
845
846 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
847 instead of the broken adhockery which does not prevent calendar
848 buffers from being displayed at random after exit.
849 (calendar-window-list, calendar-hide-window): Remove the broken
850 adhockery.
851
fee88ca0
GM
8522012-03-28 Glenn Morris <rgm@gnu.org>
853
854 * replace.el (query-replace-map): Doc fix.
855
38de3354
AS
8562012-03-28 Andreas Schwab <schwab@linux-m68k.org>
857
858 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
859 contents. (Bug#11109)
860
b973155e
SM
8612012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
864 (bug#11077).
865 (avl-tree--check, avl-tree--check-node): New funs.
866
dcb6e7b3
MR
8672012-03-27 Martin Rudalics <rudalics@gmx.at>
868
869 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
870 (switch-to-prev-buffer, switch-to-next-buffer):
871 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
872 showing a buffer already is done on the same frame.
873
b4fa35fa
GM
8742012-03-27 Glenn Morris <rgm@gnu.org>
875
876 * startup.el (mail-host-address): Doc fix.
877
f9210e18
SM
8782012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
881 than 197 variables.
882
c0bf7753
AF
8832012-03-26 Ami Fischman <ami@fischman.org>
884
885 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
886
33da7b16
GM
8872012-03-26 Glenn Morris <rgm@gnu.org>
888
02243d9d
GM
889 * files.el (save-buffers-kill-emacs): Doc fix.
890
33da7b16
GM
891 * startup.el (normal-top-level, command-line, command-line-1):
892 Give them doc strings.
893
e5a69fd0
EZ
8942012-03-25 Eli Zaretskii <eliz@gnu.org>
895
896 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 897 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 898
9a69676a
CY
8992012-03-25 Chong Yidong <cyd@gnu.org>
900
4125cb8b
CY
901 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
902 theme if it was previously enabled before (Bug#11031).
903
dd470960
CY
904 * cus-theme.el (custom-theme-write-faces): Retrieve current face
905 spec with custom-face-get-current-spec if its :shown-value is not
906 determined yet (Bug#9337).
4125cb8b 907 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 908
9a69676a
CY
909 * button.el (button-at): Minor addition to docstring.
910
6e7e90fa
SL
9112012-03-24 Simon Leinen <simon.leinen@gmail.com>
912
913 * vc/vc.el (vc-merge): Fix a prompt.
914
f06e2758
CY
9152012-03-24 Chong Yidong <cyd@gnu.org>
916
917 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
918 point (Bug#9623).
919
6e7e90fa
SL
920 * button.el (button-at): Minor addition to docstring.
921
b9d0879b
SM
9222012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
923
924 * newcomment.el (comment-choose-indent): No space after BOL.
925
e71cebb3
SS
9262012-03-22 Sam Steingold <sds@gnu.org>
927
928 * window.el (switch-to-prev-buffer): Revert last patch because the
929 bug turned out to be an advertised feature (Elisp manual 28.14).
930
335aff35
GM
9312012-03-22 Glenn Morris <rgm@gnu.org>
932
933 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
934 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
935
c676576a
LMI
9362012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
937
938 * net/network-stream.el (network-stream-open-starttls): Make error
939 message under Windows be less misleading.
940
126f3d39
LW
9412012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
942
943 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
944 understands (bug#9942).
945
64fee311
CY
9462012-03-22 Chong Yidong <cyd@gnu.org>
947
948 * simple.el (end-of-visible-line): Handle return value of
949 next-single-property-change properly (Bug#9371).
950
a640d29a
KH
9512012-03-22 Kenichi Handa <handa@m17n.org>
952
953 * international/quail.el (quail-insert-kbd-layout): Fix previous
954 change. To avoid unwanted bidi reordering, use
955 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
956
39675016
DG
9572012-03-21 Dmitry Gutov <dgutov@yandex.ru>
958
959 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
960 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
961 (ruby-beginning-of-indent): Be more careful with the difference
962 between word-boundary and symbol boundary.
963 (ruby-mode-syntax-table): Make : a symbol constituent.
964
0a6934fc 9652012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 966
3d008e4f
SM
967 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
968
0a6934fc
SM
9692012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
970
af67c9d7
SM
971 * progmodes/etags.el (tags-completion-at-point-function):
972 Improve last fix.
973
1acad97c
SM
974 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
975
e298b5da
SS
9762012-03-21 Sam Steingold <sds@gnu.org>
977
978 * progmodes/etags.el (tags-completion-at-point-function):
979 Avoid the error when point is inside the pattern.
980
91d82a70
JY
9812012-03-21 John Yates <john@yates-sheets.org> (tiny change)
982
983 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
984 line (Bug#10855).
985
69188b79
CY
9862012-03-21 Drew Adams <drew.adams@oracle.com>
987
988 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
989
99fc91fe
AK
9902012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
991
992 * ido.el (ido-set-current-directory, ido-read-internal)
993 (ido-choose-completion-string, ido-completion-help): Handle nil
994 value of ido-completion-buffer (Bug#11008).
995
087bbb4c
SS
9962012-03-21 Sam Steingold <sds@gnu.org>
997
998 * window.el (switch-to-prev-buffer): Do not switch to a visible
999 window previous buffer, just like with the frame previous buffers.
1000
fb5b8aca
CY
10012012-03-21 Chong Yidong <cyd@gnu.org>
1002
1003 * faces.el (make-face, make-empty-face, copy-face):
1004 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1005 Doc fixes.
1006
dc9924b8
SM
10072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1010 (widget-complete): Remove broken use of it.
1011
f0bcceb9
CY
10122012-03-20 Chong Yidong <cyd@gnu.org>
1013
dc9924b8
SM
1014 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1015 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1016 characters.
1017
ee52ebf3
TH
10182012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1019
1020 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1021 to draw rectangles, not squares. (Regression introduced by revno
1022 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1023
4c5779ab
CY
10242012-03-18 Chong Yidong <cyd@gnu.org>
1025
1026 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1027 it is not yet defined (for temacs).
1028
15360934
LL
10292012-03-18 Leo Liu <sdl.web@gmail.com>
1030
dc9924b8 1031 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1032
d9a8eb66
EZ
10332012-03-17 Eli Zaretskii <eliz@gnu.org>
1034
1035 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1036 (ispell-choices-win-default-height, ispell-silently-savep)
1037 (ispell-dictionary-alist, ispell-encoding8-command)
1038 (ispell-check-version, ispell-aspell-find-dictionary)
1039 (ispell-valid-dictionary-list, ispell-words-keyword)
1040 (ispell-get-word, ispell-internal-change-dictionary)
1041 (ispell-region, ispell-skip-region-list)
1042 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1043 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1044 (ispell-message-text-end, ispell-message)
1045 (ispell-buffer-local-parsing): Doc fix.
1046
f02ff80d
J
10472012-03-13 Jambunathan K <kjambunathan@gmail.com>
1048
1049 * htmlfontify.el: Add support for code block fontification for ODT
1050 export (Bug #9914).
1051 (hfy-optimisations): Define new option
1052 `body-text-only'
1053 (hfy-fontify-buffer): Honor above setting.
1054 (hfy-begin-span, hfy-end-span): New routines factored out form
1055 `hfy-fontify-buffer'.
1056 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1057 that permit insertion of custom tags.
1058 (hfy-fontify-buffer): Use above handlers.
1059 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1060 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1061 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1062 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1063 bind a special variable `hfy-user-sheet-assoc'.
1064 (htmlfontify-string): New defun.
1065 (hfy-compile-face-map): Make sure that the last char in the
1066 buffer is correctly fontified.
1067 (hfy-face-resolve-face): Whitespace only change.
1068
9ac7a13f
EZ
10692012-03-17 Eli Zaretskii <eliz@gnu.org>
1070
1071 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1072 message more clear.
1073
e2b5bdd7
LL
10742012-03-16 Leo Liu <sdl.web@gmail.com>
1075
1076 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1077
2e492df3
AM
10782012-03-16 Alan Mackenzie <acm@muc.de>
1079
1080 Further optimise the handling of large macros.
1081
1082 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1083 limit to a call of `c-literal-limits'.
1084 (c-determine-+ve-limit): New function.
dc9924b8
SM
1085 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1086 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1087 In CASE 5B, restrict a search limit to 500.
1088 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1089
1090 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1091 Restrict macro bounds to +-500 from after-change's BEG END.
1092
50e94f0c
LL
10932012-03-16 Leo Liu <sdl.web@gmail.com>
1094
1095 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1096
6f09f6ed
AH
10972012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1098
1099 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1100 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1101
c7e73d51
GM
11022012-03-16 Glenn Morris <rgm@gnu.org>
1103
da986230
GM
1104 * view.el (view-buffer, view-buffer-other-window)
1105 (view-buffer-other-frame): Doc fixes re special mode-class.
1106
0835f01e
GM
1107 * subr.el (eval-after-load): If named feature is provided not from
1108 a file, run after-load forms. (Bug#10946)
1109
c7e73d51
GM
1110 * calendar/calendar.el (calendar-insert-at-column):
1111 Handle non-unit-width characters a bit better. (Bug#10978)
1112
3f2eafd1
CY
11132012-03-15 Chong Yidong <cyd@gnu.org>
1114
1115 * emacs-lisp/ring.el (ring-extend): New function.
1116 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1117
1118 * comint.el (comint-read-input-ring)
1119 (comint-add-to-input-history): Grow comint-input-ring lazily.
1120
103af3fe
SM
11212012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1122
663b1677
SM
1123 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1124 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1125
103af3fe
SM
1126 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1127 (imenu-add-to-menubar): Don't add a redundant index.
1128 (imenu-update-menubar): Handle a dynamically composed keymap.
1129
899cb7cb
KY
11302012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1131
1132 * mail/sendmail.el (mail-encode-header):
1133 Bind rfc2047-encode-encoded-words to nil.
1134
3809f91d
GM
11352012-03-13 Glenn Morris <rgm@gnu.org>
1136
1137 * calendar/calendar.el (calendar-string-spread):
1138 Handle non-unit-width characters a bit better. (Bug#10978)
1139
9e345a01
LL
11402012-03-13 Leo Liu <sdl.web@gmail.com>
1141
1142 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1143 directory and file as argument (Bug#10822).
1144
4a07df36
KS
11452012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1146
1147 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1148 For dynamically generated code, follow $PC.
1149 (gdb-disassembly-handler-custom): Handle no function name case.
1150
4aaa9356
TL
11512012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1152
1153 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1154 * emulation/ws-mode.el (ws-query-replace):
1155 * sort.el (sort-regexp-fields):
1156 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1157
225979da
SM
11582012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * dabbrev.el: Fix cycle completion order (bug#10963).
1161 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1162 (dabbrev-completion): Don't use an obarray; provide
1163 a cycle-sort-function.
1164
e2f1fdab
LL
11652012-03-12 Leo Liu <sdl.web@gmail.com>
1166
dc9924b8 1167 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1168 (kill-do-not-save-duplicates): Doc fix.
1169
b19490ed
SM
11702012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * dabbrev.el: Fix cycle completion (bug#10963).
1173 Use lexical binding and wrap to 80 columns.
1174 (dabbrev-completion): Delay computing the list of completions.
1175
4b05d722
KH
11762012-03-12 Kenichi Handa <handa@m17n.org>
1177
1178 * international/quail.el (quail-insert-kbd-layout): Surround each
1179 row by LRO and PDF instead of inserting many LRMs. Pad the left
1180 and right of each non-spacing marks. Insert invisible space
1181 between lower and upper characters to prevent composition.
1182
dbbc2e69
SM
11832012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * minibuffer.el (minibuffer-complete): Don't get confused when the
1186 function is run twice via different commands (bug#10958).
1187 (complete-with-action): Fix docstring.
1188
292112ed
CY
11892012-03-12 Chong Yidong <cyd@gnu.org>
1190
5d1ac394
CY
1191 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1192 (nxml-completion-at-point-function): New function.
1193 (nxml-mode): Use it.
1194 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1195
292112ed
CY
1196 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1197 Load generated autoloads file before byte compiling (Bug#10970).
1198 (package--make-autoloads-and-compile): New helper fun.
1199
4098f8f7
CS
12002012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1201
1202 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1203
8f754691
MA
12042012-03-11 Michael Albinus <michael.albinus@gmx.de>
1205
1206 * autorevert.el (auto-revert-handler): Ensure, that
1207 file-readable-p is applied only for local files or in
1208 auto-revert-tail-mode.
1209
e29ab36b
AS
12102012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1211
dbbc2e69
SM
1212 * server.el (server-eval-at): Handle non-tcp connections.
1213 Decode result string.
ad0bf5b6 1214
e29ab36b
AS
1215 * server.el (server-msg-size): New constant.
1216 (server-reply-print): New function.
1217 (server-eval-and-print): Use it.
1218 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1219 Handle -print-nonl.
1220
de5939ba
CS
12212012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1222
1223 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1224 (Bug#10987).
1225
0c93eabf
CY
12262012-03-11 Chong Yidong <cyd@gnu.org>
1227
397a688f
CY
1228 * simple.el (goto-line): Doc fix (Bug#9938).
1229
2cc775f9
CY
1230 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1231
0c93eabf
CY
1232 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1233 when finished (Bug#10963).
1234
c491fa41
MR
12352012-03-11 Martin Rudalics <rudalics@gmx.at>
1236
1237 * window.el (split-window-below): Fix bug in case where
1238 split-window-keep-point is nil (Bug#10971).
1239
300e8fa5
JL
12402012-03-11 Juri Linkov <juri@jurta.org>
1241
1242 * replace.el (replace-highlight): Set isearch-word to nil
1243 unconditionally. (Bug#10887)
1244
dbf6c5a1
EZ
12452012-03-10 Eli Zaretskii <eliz@gnu.org>
1246
1247 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1248 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1249 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1250 (mairix-widget-create-query): Add usage information about mairix
1251 search forms: negating words, searching for substrings, etc.
1252
b9e501de
JP
12532012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1254
1255 * international/fontset.el (font-encoding-alist): Add an entry for
1256 ksx1001 (Bug#5667).
1257
92795c91
RS
12582012-03-10 Richard Stallman <rms@gnu.org>
1259
1694e6c1
RS
1260 * mail/sendmail.el (mail-encode-header):
1261 Set rfc2047-encode-encoded-words.
1262
607e8555
RS
1263 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1264
de3bc99a
RS
1265 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1266 view buffer means not swapped.
1267 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1268 (rmail-write-region-annotate): Error if real text has disappeared.
1269
92795c91
RS
1270 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1271
699bd04e
CY
12722012-03-10 Chong Yidong <cyd@gnu.org>
1273
1274 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1275 * emulation/cua-base.el (cua--init-keymaps):
1276 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1277
570a1714
MR
12782012-03-10 Martin Rudalics <rudalics@gmx.at>
1279
dbbc2e69
SM
1280 * speedbar.el (speedbar-unhighlight-one-tag-line):
1281 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1282
82dcf4e4
CY
12832012-03-10 Chong Yidong <cyd@gnu.org>
1284
7a2c7ca7
CY
1285 * minibuffer.el (completion-in-region, completion-help-at-point):
1286 Give the completion field overlay a high priority (Bug#6830).
1287
82dcf4e4
CY
1288 * dired.el (dired-goto-file): Recognize absolute file name
1289 listings (Bug#7126).
1290 (dired-goto-file-1): New helper function.
1291 (dired-toggle-read-only): Inhibit warnings.
1292
052e28ac
MA
12932012-03-09 Michael Albinus <michael.albinus@gmx.de>
1294
75f1671a 1295 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1296 there are no properties.
1297
95d5e396
LL
12982012-03-09 Leo Liu <sdl.web@gmail.com>
1299
1300 * savehist.el (savehist-printable): Stricter check for string
1301 value (Bug#10937).
1302
3f018d6d
EZ
13032012-03-09 Eli Zaretskii <eliz@gnu.org>
1304
dbbc2e69
SM
1305 * mail/smtpmail.el (smtpmail-send-it):
1306 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1307 valid mbox format.
1308
f7fd3d79
GM
13092012-03-09 Glenn Morris <rgm@gnu.org>
1310
1311 * files.el (dir-locals-find-file):
1312 Don't check result is regular, readable.
1313 (dir-locals-read-from-file): Demote errors.
1314
6ff6e72f
EZ
13152012-03-08 Eli Zaretskii <eliz@gnu.org>
1316
dbbc2e69
SM
1317 * international/quail.el (quail-insert-kbd-layout):
1318 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1319 layout cell, to prevent their reordering by bidi display engine.
1320 For details, see the discussion in
1321 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1322
9cec7834
AM
13232012-03-08 Alan Mackenzie <acm@muc.de>
1324
1325 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1326 the starting position; make it extend the marked region when
1327 invoked repeatedly - all under appropriate circumstances.
1328 Fixes bugs #5525, #10906.
1329
9a40b8d4
GM
13302012-03-08 Glenn Morris <rgm@gnu.org>
1331
1332 * files.el (locate-dominating-file, dir-locals-find-file):
1333 Undo 2012-03-06 change.
1334
7a08ed35
EZ
13352012-03-07 Eli Zaretskii <eliz@gnu.org>
1336
dbbc2e69
SM
1337 * international/quail.el (quail-help):
1338 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1339 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1340 for the reason.
1341
5aca4f71 13422012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1343
1344 Avoid superfluous registering of signals. (Bug#10807)
1345
1346 * notifications.el (notifications-on-action-object)
1347 (notifications-on-close-object): New defvars.
1348 (notifications-on-action-signal, notifications-on-closed-signal):
1349 Unregister the signal if not needed any longer.
1350 (notifications-notify): Register `notifications-action-signal' or
1351 `notifications-closed-signal', if :on-action or :on-close has been
1352 passed as argument.
1353
78e8b10a
CY
13542012-03-07 Chong Yidong <cyd@gnu.org>
1355
1356 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1357 non-X platforms.
1358
69481eb8
GM
13592012-03-06 Glenn Morris <rgm@gnu.org>
1360
1361 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1362 (x-disown-selection-internal, x-get-selection-internal):
1363 Doc fix (add arglist signatures). (Bug#10783)
1364
133b8e11
KS
13652012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1366
1367 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1368 Handle breakpoints with no "type".
1369
99a83064
GM
13702012-03-06 Glenn Morris <rgm@gnu.org>
1371
1372 * files.el (locate-dominating-file): Add optional predicate argument.
1373 (dir-locals-find-file): Make use of above change.
1374
17798e78
TTN
13752012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1376
1377 * info.el (Info-insert-dir): Also try "dir.gz".
1378
eb182446
GM
13792012-03-06 Glenn Morris <rgm@gnu.org>
1380
8f2114ee
GM
1381 * files.el (dir-locals-find-file):
1382 Ignore non-readable or non-regular files. (Bug#10928)
1383
eb182446
GM
1384 * files.el (locate-dominating-file): Doc fix.
1385
24679323
AS
13862012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1387
1388 * calendar/calendar.el (calendar-set-mode-line):
1389 `getenv' returns a string. (Bug#10951)
1390
01d972a9
LL
13912012-03-05 Leo Liu <sdl.web@gmail.com>
1392
109aa8a9
LL
1393 * simple.el (backward-delete-char-untabify): Constrain point to
1394 field (Bug#10939).
1395
01d972a9
LL
1396 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1397
10607bea
CY
13982012-03-05 Chong Yidong <cyd@gnu.org>
1399
1400 * simple.el (count-words): If called from Lisp, return the word
1401 count, for symmetry with `count-lines'. Arglist changed.
1402 (count-words--message): Args changed. Consolidate counting code
1403 from count-words and count-words-region.
1404 (count-words-region): Caller changed.
1405 (count-lines-region): Make it an obsolete alias.
1406
5dd11cfe
TH
14072012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1408
1409 * saveplace.el (save-place-to-alist)
1410 (save-place-ignore-files-regexp): Allow value nil to disable this
1411 feature.
1412
c349f4e6
CY
14132012-03-04 Chong Yidong <cyd@gnu.org>
1414
1415 * faces.el (face-spec-reset-face): For the default face, reset the
1416 attributes to default values (Bug#10748).
1417
e627be4c
LMI
14182012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1419
1420 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1421 previous patch: Check `message-send-mail-function', and not the
1422 default function (bug#10897).
1423
ebeabff4
MA
14242012-03-04 Michael Albinus <michael.albinus@gmx.de>
1425
a41a6cf4
MA
1426 * notifications.el (notifications-on-action-signal)
1427 (notifications-on-closed-signal): Check for unique service name of
1428 incoming event. Fix error in removing entry.
ebeabff4 1429 (top): Register for signals with wildcard service name.
a41a6cf4 1430 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1431
c1ca42b4
CY
14322012-03-04 Chong Yidong <cyd@gnu.org>
1433
dc9924b8 1434 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1435
ea16568d
GM
14362012-03-04 Glenn Morris <rgm@gnu.org>
1437
1438 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1439 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1440 (expand-abbrev, define-abbrev-table): Doc fixes.
1441
fbae4637
LMI
14422012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1443
1444 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1445 `message-default-send-mail-function' and not `send-mail-function'
1446 when doing the prompting for `sendmail-query-once' before sending
1447 in Message buffers (bug#10897).
1448
a1e7225c
LMI
1449 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1450 This is inconsistent with all the other stream functions, which leave
1451 the setting up to the higher levels (if so wanted) (bug#10931).
1452
56d093a9
AM
14532012-03-02 Alan Mackenzie <acm@muc.de>
1454
1455 Depessimize the handling of very large macros.
1456
1457 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1458 (c-macro-cache-syntactic): New variables to implement a one
1459 element macro cache.
1460 (c-invalidate-macro-cache): New function.
1461 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1462 Adapt to use the new cache.
1463 (c-state-safe-place): Use better the cache of safe positions.
1464 (c-state-semi-nonlit-pos-cache)
1465 (c-state-semi-nonlit-pos-cache-limit):
1466 New variables for...
1467 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1468 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1469 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1470 Use c-state-semi-safe-place.
56d093a9 1471
dbbc2e69
SM
1472 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1473 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1474
817e5c3d
MA
14752012-03-02 Michael Albinus <michael.albinus@gmx.de>
1476
dbbc2e69
SM
1477 * jka-compr.el (jka-compr-call-process):
1478 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1479 not remote.
1480
a032a702
MA
14812012-03-01 Michael Albinus <michael.albinus@gmx.de>
1482
1483 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1484 access of FILE2, if FILE1 does not exist.
1485
99a54f21
MA
1486 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1487 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1488
1489 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1490 Add "PAGER=" to `process-environment'.
1491
f6561e1f
MM
14922012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1493
1494 * progmodes/sql.el: Bug fix
1495 (sql-get-login-ext): Save login values in globals.
1496 (sql-get-login): Use new version of `sql-get-login-ext'.
1497 (sql-interactive-mode): Set global `sql-connection' to nil.
1498 (sql-connect): Set global values for connection.
1499 (sql-product-interactive): Save global values as buffer local.
1500
2d44d9cc
LL
15012012-02-29 Leo Liu <sdl.web@gmail.com>
1502
1503 * abbrev.el (define-abbrevs): Reset sys to nil.
1504
96b49301 15052012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1506
bf7f9bc5
JB
1507 * files.el (file-equal-p): Rename from `files-equal-p'.
1508 Return nil when one or both files don't exist.
96b49301 1509 (file-subdir-of-p): Now only top directory must exists,
1510 return nil if it doesn't.
bf7f9bc5
JB
1511 (copy-directory): No need to test with `file-subdir-of-p' after
1512 creating dir.
1513 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1514 to `file-equal-p'.
96b49301 1515
44e97401
GM
15162012-02-28 Glenn Morris <rgm@gnu.org>
1517
1518 * shell.el (shell-mode):
1519 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1520 * play/landmark.el (landmark-font-lock-face-O):
1521 * play/handwrite.el (handwrite):
1522 * play/gomoku.el (gomoku-O):
1523 * net/browse-url.el (browse-url-browser-display):
1524 * international/mule.el (define-charset):
1525 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1526 * filesets.el (filesets-find-file-delay):
1527 * eshell/em-xtra.el (eshell-xtra):
1528 * eshell/em-unix.el (eshell-grep):
1529 * emulation/viper.el (viper-mode):
1530 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1531 * emacs-lisp/easymenu.el (easy-menu-define):
1532 * calendar/timeclock.el (timeclock-use-display-time):
1533 * bs.el (bs-mode):
1534 * bookmark.el (bookmark-save-flag):
1535 Doc fix (standardize possessive apostrophe usage).
1536
c98c6276
CY
15372012-02-27 Chong Yidong <cyd@gnu.org>
1538
bf7f9bc5
JB
1539 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1540 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1541
c98c6276
CY
1542 * font-lock.el (font-lock-specified-p): Rename from
1543 font-lock-spec-present. Callers changed.
1544
9c62cd04 15452012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1546
bf7f9bc5
JB
1547 * emacs-lisp/package.el (package-compute-transaction):
1548 Handle holding a package version to t in package-load-list.
8ac9e529 1549
530739c9
MA
15502012-02-26 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1553 (tramp-get-inode, tramp-get-device): Use cached values.
1554
487915d7
AM
15552012-02-26 Alan Mackenzie <acm@muc.de>
1556
1557 Check there is a font-lock specification before doing initial
1558 fontification.
1559
1560 * font-core.el (font-lock-mode): Move the conditional from
1561 :after-hook to font-lock-initial-fontify.
1562 (font-lock-default-function): Move the check for a specification
1563 to font-lock-spec-present.
1564
dc9924b8 1565 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1566 (font-lock-spec-present): New function.
1567
4fd96557
JB
15682012-02-26 Jim Blandy <jimb@red-bean.com>
1569
1570 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1571 (gdb-send): Apply it to the operand of the '-interpreter-exec
1572 console' command, so that we can pass arguments with (say) quotes
1573 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1574
9a4888c0
CY
15752012-02-26 Chong Yidong <cyd@gnu.org>
1576
07498861
CY
1577 * help-fns.el (describe-function-1): Clarify description of
1578 remapping (Bug#10844).
1579
9a4888c0
CY
1580 * files.el (files-equal-p): Doc fix.
1581 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1582 and quit the loop once a mismatch is found.
1583
ea8fb88d
JB
15842012-02-25 Juanma Barranquero <lekktu@gmail.com>
1585
1586 * bs.el (bs--show-with-configuration): Don't throw an error
1587 if the window cannot be split; otherwise, subsequent calls to
1588 bs-show fail, restoring a stale window config. (Bug#10882)
1589
525795c1
JD
15902012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1591
1592 * term/ns-win.el (global-map): Bind ns-drag-file to
1593 ns-find-file (Bug#5855, Bug#10050).
1594
f008086f
AS
15952012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1596
1597 * calendar/parse-time.el (parse-time-string): Allow extractor to
1598 return nil.
1599
a3fcfa99
MA
16002012-02-25 Michael Albinus <michael.albinus@gmx.de>
1601
91027d08
JB
1602 * net/tramp.el (tramp-file-name-for-operation):
1603 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1604
1605 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1606 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1607 Add COPY-CONTENTS argument.
a3fcfa99 1608
67b0de11
CY
16092012-02-25 Chong Yidong <cyd@gnu.org>
1610
1611 Add custom groups for VC backends, for consistency with vc-bzr.
1612
1613 * vc/vc-arch.el (vc-arch):
1614 * vc/vc-cvs.el (vc-cvs):
1615 * vc/vc-git.el (vc-git):
1616 * vc/vc-hg.el (vc-hg):
1617 * vc/vc-mtn.el (vc-mtn):
1618 * vc/vc-rcs.el (vc-rcs):
1619 * vc/vc-sccs.el (vc-sccs):
1620 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1621 All relevant defcustoms reassigned.
1622
3c9dfce6
CY
16232012-02-25 Chong Yidong <cyd@gnu.org>
1624
1339bf43
CY
1625 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1626
3c9dfce6
CY
1627 * term/x-win.el (x-initialize-window-system): Reduce default for
1628 x-selection-timeout to 5 seconds (Bug#8869).
1629
25b2e303 16302012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1631
ec70a47d
GM
1632 * files.el (files-equal-p, file-subdir-of-p): New functions.
1633 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1634 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1635 * dired-aux.el (dired-copy-file-recursive): Same.
1636 (dired-create-files): Modify destination when source is equal to
1637 dest when copying files.
53a46cd0 1638 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1639
914260cd
MA
16402012-02-24 Michael Albinus <michael.albinus@gmx.de>
1641
1642 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1643 (Bug#10874)
1644
2cb228f7
AM
16452012-02-23 Alan Mackenzie <acm@muc.de>
1646
1647 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1648 parameter "after-hook:" to allow the expansion to run code after
1649 the execution of the mode hooks.
1650
1651 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1652 from font-lock-mode-internal.
2cb228f7 1653
91027d08 1654 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1655 :after-hook.
1656
8f0fde21
SM
16572012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1658
3e88618b
SM
1659 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1660 (completion--cache-all-sorted-completions): New function.
1661 (completion-all-sorted-completions): Use it.
1662 (completion--do-completion, minibuffer-force-complete):
1663 Use it to re-instate the flush hook.
1664
8f0fde21
SM
1665 * icomplete.el (icomplete-completions): Replace last fix with a better
1666 one (bug#10850).
1667
8e911f6f
DG
16682012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1669
1670 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1671 when it might call us back infinitely (bug#10797).
1672
49fe4321
GM
16732012-02-23 Glenn Morris <rgm@gnu.org>
1674
1675 * minibuffer.el (completion-category-overrides): Doc fix.
1676
b291b572
SM
16772012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1680 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1681
31a9ef2e
GM
16822012-02-23 Glenn Morris <rgm@gnu.org>
1683
5e6e6794 1684 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1685 (authors-obsolete-files-regexps, authors-ignored-files)
1686 (authors-ambiguous-files, authors-renamed-files-alist):
1687 Add more entries.
1688
0bd1e074
JL
16892012-02-23 Juri Linkov <juri@jurta.org>
1690
1691 * isearch.el (isearch-occur): Sync interactive spec with occur's
1692 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1693
b617673c
JL
1694 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1695
19e9789e
JL
16962012-02-22 Juri Linkov <juri@jurta.org>
1697
1698 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1699 (ucs-insert): Doc fix. Check for hex digits in the string.
1700 Don't display `nil' in the error message. (Bug#10857)
1701
f41ce09d
AM
17022012-02-22 Alan Mackenzie <acm@muc.de>
1703
7a71b18d 1704 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1705
ac2eceee
GM
17062012-02-22 Glenn Morris <rgm@gnu.org>
1707
1708 * ffap.el (ffap-c-path):
1709 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1710
abd1f678
CY
17112012-02-22 Chong Yidong <cyd@gnu.org>
1712
1713 * custom.el (load-theme): Doc fix.
1714
f25aef2e
GM
17152012-02-22 Glenn Morris <rgm@gnu.org>
1716
1717 * dired-x.el (dired-guess-shell-alist-default):
1718 Remove escape sequences from nroff output. (Bug#172)
1719
5f8dc2ca
GM
17202012-02-21 Glenn Morris <rgm@gnu.org>
1721
6ff86ec4
GM
1722 * vc/emerge.el (emerge-defvar-local):
1723 Set `permanent-local' property rather than unused `preserved'.
1724
be3223a3 1725 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1726 (picture-mode-map): Use it. (Bug#10860)
1727 (picture-mode): Doc fix.
1728
3fe58f4f
JB
17292012-02-21 Juanma Barranquero <lekktu@gmail.com>
1730
1731 * newcomment.el (uncomment-region-default): Remove unused binding.
1732
f9a998c3
GM
17332012-02-21 Glenn Morris <rgm@gnu.org>
1734
1735 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1736 (picture-self-insert, picture-tab-chars): Doc fix.
1737 (picture-mode-map): Fix C-a, C-e.
1738
c6029348
GM
17392012-02-20 Glenn Morris <rgm@gnu.org>
1740
1741 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1742
ab1ce9d7
LL
17432012-02-20 Leo Liu <sdl.web@gmail.com>
1744
1745 * icomplete.el (icomplete-completions): Check FROM arg before
1746 passing to substring (Bug#10850).
1747
0fd40f89
CY
17482012-02-19 Chong Yidong <cyd@gnu.org>
1749
1750 * comint.el: Require ansi-color.
1751 (comint-output-filter-functions): Add ansi-color-process-output.
1752
1753 * ansi-color.el: Don't set comint-output-filter-functions; it is
1754 now in the initial value defined in comint.el.
1755 (ansi-color-apply-face-function): New variable.
1756 (ansi-color-apply-on-region): Use it.
1757 (ansi-color-apply-overlay-face): New function.
1758
1759 * shell.el (shell): No need to require ansi-color.
1760 (shell-mode): Use ansi-color-apply-face-function to highlight
1761 color escapes using font-lock-face property (Bug#10835).
1762
20af2394
CY
17632012-02-19 Chong Yidong <cyd@gnu.org>
1764
1765 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1766 mode-line formats (Bug#10839).
1767
e23a3fbe
GM
17682012-02-18 Glenn Morris <rgm@gnu.org>
1769
b474519e
GM
1770 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1771
1772 * mail/undigest.el (unforward-rmail-message): Doc fix.
1773
e23a3fbe
GM
1774 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1775
57939ff4
EZ
17762012-02-18 Eli Zaretskii <eliz@gnu.org>
1777
1778 * international/characters.el (script-list): Sync with the latest
1779 Unicode Character Database.
1780
0c23686e
AS
17812012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1782
1783 * international/titdic-cnv.el: Remove duplicate coding tag.
1784 * language/cham.el: Likewise.
1785 * language/tai-viet.el: Likewise.
1786
6818b449
GM
17872012-02-18 Glenn Morris <rgm@gnu.org>
1788
1789 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1790 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1791 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1792 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1793 * calendar/holidays.el (holiday-bahai-holidays)
1794 (calendar-holidays, list-holidays):
1795 Use utf-8 Bahá'í in doc-strings, menus, etc.
1796
0311a3fc
TH
17972012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1798
1799 * saveplace.el (save-place-ignore-files-regexp): New variable
1800 allowing for excluding files from saving their location of point.
1801 The default value matches the temporary commit message editing
1802 files from Git, SVN, Bazaar, and Mercurial.
1803 (save-place-to-alist): Use it.
1804
eb864a71
LM
18052012-02-17 Lawrence Mitchell <wence@gmx.li>
1806 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * newcomment.el (uncomment-region-default): Don't leave extra space
1809 when an arg is provided (bug#8150).
1810
ee0ce425
TZ
18112012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1812
eb864a71 1813 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1814
95ddf442
GM
18152012-02-17 Glenn Morris <rgm@gnu.org>
1816
1817 * net/socks.el: Require network-stream. (Bug#10599)
1818
48dd1e39 18192012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1820
1821 * international/charprop.el:
1822 * international/uni-name.el:
1823 * international/uni-old-name.el:
1824 * international/uni-comment.el: Regenerate.
1825
d68cd087
GM
18262012-02-16 Glenn Morris <rgm@gnu.org>
1827
1828 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1829 Interactively in calendar buffer, give an error if not on a date.
1830
13932042
GM
18312012-02-15 Glenn Morris <rgm@gnu.org>
1832
1833 * shell.el (shell-delimiter-argument-list):
1834 Revert 2011-02-17 change. (Bug#8027)
1835
c3a70e2b
CY
18362012-02-15 Chong Yidong <cyd@gnu.org>
1837
60236b0d
CY
1838 * minibuffer.el (completion-at-point-functions): Doc fix.
1839
c3a70e2b
CY
1840 * custom.el (defcustom): Doc fix; note use of defvar.
1841
9f26dc24
GM
18422012-02-15 Glenn Morris <rgm@gnu.org>
1843
1844 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1845 Doc fixes.
1846
6546b134
GM
18472012-02-14 Glenn Morris <rgm@gnu.org>
1848
1849 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1850
d29b2b4c
LI
18512012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1852
1853 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1854 way the ports list is computed.
835bdcba
LI
1855 (smtpmail-query-smtp-server): Prompt the user for a port number if
1856 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1857
08dcdbc9
TZ
18582012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1859
1860 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1861
2605051a
GM
18622012-02-13 Glenn Morris <rgm@gnu.org>
1863
1864 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1865
7ee99f32
TZ
18662012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1867
1868 * net/gnutls.el (gnutls-trustfiles): New variable.
1869 (gnutls-negotiate): Use it.
1870
5f0af64f
LI
18712012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1872
1873 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1874 does its stuff if Gnus is running.
1875
c14fcc95
AM
18762012-02-13 Alan Mackenzie <acm@muc.de>
1877
1878 Fix a loop in c-set-fl-decl-start.
1879
7a71b18d 1880 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1881 c-backward-syntactic-ws actually moves backwards.
1882
142b4d90
LL
18832012-02-13 Leo Liu <sdl.web@gmail.com>
1884
1885 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1886 beginning so that all \C-o chars are removed.
1887
fa9958a6
TZ
18882012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1889
dc9924b8 1890 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1891
0bc5886a
AM
18922012-02-12 Alan Mackenzie <acm@muc.de>
1893
1894 Fix infinite loop with long macros.
4d6769e1 1895 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 1896
d4bd55e7
CY
18972012-02-12 Chong Yidong <cyd@gnu.org>
1898
1899 * window.el (display-buffer): Doc fix (Bug#10785).
1900
66f3fe22
GM
19012012-02-12 Glenn Morris <rgm@gnu.org>
1902
bd7da63e
GM
1903 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1904 (x-disown-selection-internal, x-get-selection-internal):
1905 Sync docs with the xselect.c versions.
1906
66f3fe22
GM
1907 * allout-widgets.el: Add missing license notice.
1908
3e0d2fa7
GM
19092012-02-11 Glenn Morris <rgm@gnu.org>
1910
cfecdf09
GM
1911 * select.el (x-get-selection-internal, x-own-selection-internal)
1912 (x-disown-selection-internal):
1913 * x-dnd.el (x-get-selection-internal): Update declarations.
1914
6d216d7f
GM
1915 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1916
2bed3f04
GM
1917 * window.el (window-sides-slots):
1918 * tool-bar.el (tool-bar-position):
1919 * term/xterm.el (xterm-extra-capabilities):
1920 * ses.el (ses-self-reference-early-detection):
1921 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1922 (verilog-auto-wire-type)
1923 (verilog-auto-delete-trailing-whitespace)
1924 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1925 (verilog-auto-tieoff-declaration):
1926 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1927 (sql-oracle-statement-starters, sql-oracle-scan-on):
1928 * progmodes/prolog.el (prolog-align-comments-flag)
1929 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1930 (prolog-left-indent-regexp, prolog-paren-indent-p)
1931 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1932 (prolog-types, prolog-mode-specificators)
1933 (prolog-determinism-specificators, prolog-directives)
1934 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1935 (prolog-electric-dot-flag)
1936 (prolog-electric-dot-full-predicate-template)
1937 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1938 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1939 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1940 (prolog-program-switches, prolog-prompt-regexp)
1941 (prolog-debug-on-string, prolog-debug-off-string)
1942 (prolog-trace-on-string, prolog-trace-off-string)
1943 (prolog-zip-on-string, prolog-zip-off-string)
1944 (prolog-use-standard-consult-compile-method-flag)
1945 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1946 (prolog-imenu-max-lines, prolog-info-predicate-index)
1947 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1948 (prolog-char-quote-workaround):
1949 * progmodes/cc-vars.el (c-defun-tactic):
1950 * net/tramp.el (tramp-encoding-command-interactive)
1951 (tramp-local-end-of-line):
1952 * net/soap-client.el (soap-client):
1953 * net/netrc.el (netrc-file):
1954 * net/gnutls.el (gnutls):
1955 * minibuffer.el (completion-category-overrides)
1956 (completion-cycle-threshold)
1957 (completion-pcm-complete-word-inserts-delimiters):
1958 * man.el (Man-name-local-regexp):
1959 * mail/feedmail.el (feedmail-display-full-frame):
1960 * international/characters.el (glyphless-char-display-control):
1961 * eshell/em-ls.el (eshell-ls-date-format):
1962 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1963 (lisp-lambda-list-keyword-parameter-indentation)
1964 (lisp-lambda-list-keyword-parameter-alignment):
1965 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1966 * dired-x.el (dired-omit-verbose):
1967 * cus-theme.el (custom-theme-allow-multiple-selections):
1968 * calc/calc.el (calc-highlight-selections-with-faces)
1969 (calc-lu-field-reference, calc-lu-power-reference)
1970 (calc-note-threshold):
1971 * battery.el (battery-mode-line-limit):
1972 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1973 (archive-7z-update):
1974 * allout.el (allout-prefixed-keybindings)
1975 (allout-unprefixed-keybindings)
1976 (allout-inhibit-auto-fill-on-headline)
1977 (allout-flattened-numbering-abbreviation):
1978 * allout-widgets.el (allout-widgets-auto-activation)
1979 (allout-widgets-icons-dark-subdir)
1980 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1981 (allout-widgets-theme-dark-background)
1982 (allout-widgets-theme-light-background)
1983 (allout-widgets-item-image-properties-emacs)
1984 (allout-widgets-item-image-properties-xemacs)
1985 (allout-widgets-run-unit-tests-on-load)
1986 (allout-widgets-time-decoration-activity)
1987 (allout-widgets-hook-error-post-time)
1988 (allout-widgets-track-decoration):
1989 Add missing :version tags to new defcustoms and defgroups.
1990
5fec1b8e
GM
1991 * progmodes/sql.el (sql-ansi-statement-starters)
1992 (sql-oracle-statement-starters): Add custom type.
1993
3e0d2fa7
GM
1994 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1995 (prolog-system-version): Give it a type.
1996
90b671e2
EZ
19972012-02-11 Eli Zaretskii <eliz@gnu.org>
1998
1999 * term/pc-win.el (x-select-text, x-selection-owner-p)
2000 (x-own-selection-internal, x-disown-selection-internal)
2001 (x-get-selection-internal): Sync doc strings and argument lists
2002 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2003
5eac0c02
LL
20042012-02-11 Leo Liu <sdl.web@gmail.com>
2005
2006 * progmodes/python.el (python-end-of-statement): Fix infinite
2007 loop. (Bug#10788)
2008
f82cb659
GM
20092012-02-10 Glenn Morris <rgm@gnu.org>
2010
2011 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2012 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2013
cc26d239
LI
20142012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2015
2016 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2017 about SMTP before checking the From header.
2018
91027d08 2019 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2020 into own function for reuse by emacsbug.el.
2021
1be3ca5a
LL
20222012-02-10 Leo Liu <sdl.web@gmail.com>
2023
2024 * subr.el (condition-case-unless-debug): Rename from
2025 condition-case-no-debug. All callers changed.
2026 (with-demoted-errors): Fix caller.
2027
2028 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2029 * nxml/rng-valid.el (rng-do-some-validation):
2030 * emacs-lisp/package.el (package-refresh-contents)
2031 (package-menu-execute):
2032 * desktop.el (desktop-create-buffer):
91027d08 2033 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2034
b011fbfe
GM
20352012-02-10 Glenn Morris <rgm@gnu.org>
2036
b2096d72
GM
2037 * textmodes/bibtex.el:
2038 Add missing :version tags for new/changed defcustoms.
2039
b011fbfe
GM
2040 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2041
4c7e65bf
LI
20422012-02-09 Lars Ingebrigtsen <larsi@rusty>
2043
2044 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2045 (smtpmail-via-smtp): Use it, or fall back on the From address.
2046 (smtpmail-send-it): Ditto.
2047
f3934f6f
SM
20482012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2051 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2052 (byte-compile-tmp-var): New const.
2053 (byte-compile-defvar): Use it to minimize .elc size.
2054 Just use `defvar' rather than simulate it (bug#10761).
2055
a075a2c5
GM
20562012-02-09 Glenn Morris <rgm@gnu.org>
2057
cf3aa21b
GM
2058 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2059
354998cd
GM
2060 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2061 Add :version tags.
2062
dc9924b8
SM
2063 * progmodes/compile.el (compilation-error-screen-columns)
2064 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2065
dab3703d
GM
2066 * vc/log-view.el (log-view-toggle-entry-display):
2067 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2068
3f88cd72
GM
2069 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2070 (report-emacs-bug-can-use-xdg-email):
2071 (report-emacs-bug-insert-to-mailer): Doc fixes.
2072 (report-emacs-bug): Message fix.
2073
d95b247d
GM
2074 * net/browse-url.el (browse-url-can-use-xdg-open)
2075 (browse-url-xdg-open): Doc fixes.
2076
a075a2c5
GM
2077 * electric.el (electric-indent-mode, electric-pair-mode)
2078 (electric-layout-rules, electric-layout-mode): Doc fixes.
2079 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2080
ffb6157e
MR
20812012-02-08 Martin Rudalics <rudalics@gmx.at>
2082
2083 * server.el (server-unselect-display): Don't inadvertently kill
2084 the current buffer. (Bug#10729)
2085
e1ac4066
GM
20862012-02-08 Glenn Morris <rgm@gnu.org>
2087
34e8a2da
GM
2088 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2089 (sql-list-table): Doc fixes.
2090
b4ac6e8c
GM
2091 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2092 Comment out (does nothing).
2093
e1ac4066
GM
2094 * completion.el (dynamic-completion-mode):
2095 * dirtrack.el (dirtrack-debug-mode):
2096 * electric.el (electric-layout-mode):
2097 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2098 * face-remap.el (text-scale-mode, buffer-face-mode):
2099 * iimage.el (iimage-mode):
2100 * image-mode.el (image-transform-mode):
2101 * minibuffer.el (completion-in-region-mode):
2102 * scroll-lock.el (scroll-lock-mode):
2103 * simple.el (next-error-follow-minor-mode):
2104 * tar-mode.el (tar-subfile-mode):
2105 * tooltip.el (tooltip-mode):
2106 * vcursor.el (vcursor-use-vcursor-map):
2107 * wid-browse.el (widget-minor-mode):
2108 * emulation/tpu-edt.el (tpu-edt-mode):
2109 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2110 * international/iso-ascii.el (iso-ascii-mode):
2111 * language/thai-util.el (thai-word-mode):
2112 * mail/supercite.el (sc-minor-mode):
2113 * net/goto-addr.el (goto-address-mode):
2114 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2115 * progmodes/cwarn.el (cwarn-mode):
2116 * progmodes/flymake.el (flymake-mode):
2117 * progmodes/glasses.el (glasses-mode):
2118 * progmodes/hideshow.el (hs-minor-mode):
2119 * progmodes/pascal.el (pascal-outline-mode):
2120 * textmodes/enriched.el (enriched-mode):
2121 * vc/smerge-mode.el (smerge-mode):
2122 Doc fixes (minor mode argument).
2123
5e0d957f
EZ
21242012-02-07 Eli Zaretskii <eliz@gnu.org>
2125
2126 * ls-lisp.el (ls-lisp-sanitize): New function.
2127 (ls-lisp-insert-directory): Use it to fix or remove any elements
2128 in file-alist with missing attributes. (Bug#4673)
2129
98d7371e
AM
21302012-02-07 Alan Mackenzie <acm@muc.de>
2131
2132 Fix spurious recognition of c-in-knr-argdecl.
2133
2134 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2135 putative K&R region.
2136
667ced3a
AM
21372012-02-07 Alan Mackenzie <acm@muc.de>
2138
eb864a71
LM
2139 * progmodes/cc-engine.el (c-forward-objc-directive):
2140 Prevent looping in "#pragma mark @implementation".
667ced3a 2141
5b77774d
MA
21422012-02-07 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * notifications.el (notifications-on-closed-signal): Make `reason'
2145 optional. (Bug#10744)
2146
af008560
GM
21472012-02-07 Glenn Morris <rgm@gnu.org>
2148
60d47423
GM
2149 * emacs-lisp/easy-mmode.el (define-minor-mode):
2150 Doc fixes for the macro and the mode it defines.
2151
dd605cc4
GM
2152 * image.el (imagemagick-types-inhibit): Doc fix.
2153
af008560
GM
2154 * cus-start.el (imagemagick-render-type): Add it.
2155
5cc59a37
LI
21562012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2157
4d6769e1
JB
2158 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2159 Set the default at load time, too, so that `font-lock-fontify-buffer'
2160 can be called without setting up the entire mode first. This fixes
2161 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2162
9a6dd747
CY
21632012-02-06 Chong Yidong <cyd@gnu.org>
2164
2d16b285
CY
2165 * simple.el (list-processes--refresh): Delete exited processes
2166 (Bug#8094).
2167
171e9b6e
CY
2168 * comint.el (comint-next-prompt): next-single-char-property-change
2169 and prev-single-char-property-change never return nil (Bug#8657).
2170
9a6dd747
CY
2171 * custom.el (defcustom): Doc fix (Bug#9711).
2172
aa4589a7
CY
21732012-02-05 Chong Yidong <cyd@gnu.org>
2174
5c2a252f
CY
2175 * cus-edit.el (custom-variable-reset-backup): Quote the value
2176 before storing it in the customized-value property (Bug#6712).
4aab9006 2177 (custom-display): Add a customization type tag.
983b9602 2178 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2179
aa4589a7
CY
2180 * wid-edit.el (widget-field-value-get): New optional arg to
2181 suppress trailing whitespace truncation.
2182 (character): Use it (Bug#2689).
2183
1ff980ae
AS
21842012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2185
2186 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2187 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2188
03988c98
CY
21892012-02-05 Chong Yidong <cyd@gnu.org>
2190
eeb6cc88
CY
2191 * cus-edit.el (custom-variable-value-create): For mismatched
2192 types, show the current value (Bug#7600).
2193
03988c98
CY
2194 * custom.el (defcustom): Doc fix.
2195
f8cdeef0
GM
21962012-02-05 Glenn Morris <rgm@gnu.org>
2197
2198 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2199
0696d255
JB
22002012-02-05 Juanma Barranquero <lekktu@gmail.com>
2201
2202 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2203 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2204 (pp-last-sexp): Use `looking-at-p'.
2205
34c99998
GM
22062012-02-04 Glenn Morris <rgm@gnu.org>
2207
8f05da42
GM
2208 * files.el (revert-buffer):
2209 Doc fix (mention revert-buffer-in-progress-p).
2210
f160676e
GM
2211 * emacs-lisp/ert-x.el (ert-simulate-command):
2212 Check deferred-action-list (which is obsolete) is bound.
2213
c7291ad9
GM
2214 * subr.el (with-wrapper-hook): Doc fixes.
2215
34c99998
GM
2216 * simple.el (filter-buffer-substring-functions)
2217 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2218
6283a7d3
LL
22192012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2220
2221 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2222 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2223
e96e3013
LL
22242012-02-04 Leo Liu <sdl.web@gmail.com>
2225
2226 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2227
8ded50f2
GM
22282012-02-04 Glenn Morris <rgm@gnu.org>
2229
82ff1d13
GM
2230 * image.el (image-extension-data): Add obsolete alias.
2231
987a0a16
GM
2232 * isearch.el (isearch-update): Doc fix.
2233
ea32ef46
GM
2234 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2235
8ded50f2
GM
2236 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2237
eea14f31
GM
22382012-02-03 Glenn Morris <rgm@gnu.org>
2239
2240 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2241 (image-animate-timeout): Doc fix.
2242
2243 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2244
12f381b7
GM
22452012-02-02 Glenn Morris <rgm@gnu.org>
2246
953cebf5
GM
2247 * server.el (server-auth-dir): Doc fix.
2248 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2249
12f381b7
GM
2250 * subr.el (run-mode-hooks): Doc fix.
2251
953a8c3b
JL
22522012-02-02 Juri Linkov <juri@jurta.org>
2253
2254 * image-mode.el (image-toggle-display-image): Remove tautological
2255 `major-mode' from the `derived-mode-p' test.
2256
c5d3843c
KH
22572012-02-02 Kenichi Handa <handa@m17n.org>
2258
9f6e692e 2259 * composite.el (compose-region): Cancel previous change.
c5d3843c 2260
159462d4 22612012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2262
2263 * composite.el (compose-region, compose-string): Signal error for
2264 a null string component (Bug#6988).
2265
9f562668
CY
22662012-02-01 Chong Yidong <cyd@gnu.org>
2267
e2cef717
CY
2268 * view.el (view-buffer-other-window, view-buffer-other-frame):
2269 Handle special modes like view-buffer (Bug#10650).
2270 (view-buffer): Simplify.
2271
9f562668
CY
2272 * frame.el (set-frame-font): Tweak meaning of third argument.
2273
9f6e692e
JB
2274 * dynamic-setting.el (font-setting-change-default-font):
2275 Use set-frame-font (Bug#9982).
9f562668 2276
781acb9f
GM
22772012-02-01 Glenn Morris <rgm@gnu.org>
2278
6035be52
GM
2279 * progmodes/compile.el (compilation-internal-error-properties):
2280 Respect compilation-first-column in the "*compilation*" buffer.
2281
781acb9f
GM
2282 * emacs-lisp/easy-mmode.el (define-minor-mode):
2283 Relax :variable's test for a named function.
2284
abbceb00
AM
22852012-01-31 Alan Mackenzie <acm@muc.de>
2286
2287 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2288 off by one error.
2289
fce3fdeb
CY
22902012-01-31 Chong Yidong <cyd@gnu.org>
2291
2292 * frame.el (set-frame-font): New arg ALL-FRAMES.
2293
2294 * menu-bar.el (menu-set-font): Use set-frame-font.
2295
2296 * faces.el (face-spec-reset-face): Don't apply unspecified
2297 attribute values to the default face.
2298
47893581
JB
22992012-01-31 Juanma Barranquero <lekktu@gmail.com>
2300
2301 * progmodes/cwarn.el (cwarn): Remove dead link.
2302 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2303 Remove * from defcustom docstrings.
2304 (turn-on-cwarn-mode): Make obsolete.
2305 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2306 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2307
e58e988a
GM
23082012-01-31 Glenn Morris <rgm@gnu.org>
2309
60dc2671 2310 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2311 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2312 Allow named functions to be used as the cdr of :variable.
e58e988a 2313
7a3f511d
GM
23142012-01-30 Glenn Morris <rgm@gnu.org>
2315
2316 * emacs-lisp/authors.el (authors-fixed-entries):
2317 Remove reference to deleted file rnewspost.el.
2318
cb882333
JB
23192012-01-29 Juanma Barranquero <lekktu@gmail.com>
2320
2321 * window.el (window-with-parameter): Remove unused variable `windows'.
2322 (window--side-check): Remove unused variable `code'.
2323 (window--resize-siblings): Remove unused variable `first'.
2324 (adjust-window-trailing-edge): Remove unused variable `failed'.
2325 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2326 Use `let', not `let*'.
2327 (balance-windows-2): Remove unused variable `found'.
2328 (window--state-put-2): Remove unused variable `splits'.
2329 (window-state-put): Remove unused variable `selected'.
2330 (same-window-p): Use `string-match-p'.
2331 (display-buffer-assq-regexp): Remove unused variable `value'.
2332 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2333 Mark argument ALIST as ignored.
2334 (pop-to-buffer): Remove unused variable `old-window'.
2335
907201af
EZ
23362012-01-29 Eli Zaretskii <eliz@gnu.org>
2337
2338 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2339 and .lzma compressed files.
2340
ea162670
CY
23412012-01-29 Chong Yidong <cyd@gnu.org>
2342
5b95ee8a
CY
2343 * frame.el (window-system-default-frame-alist): Doc fix.
2344
ea162670
CY
2345 * dynamic-setting.el (font-setting-change-default-font): Don't
2346 change the default face if SET-FONT argument is non-nil (Bug#9982).
2347
d6e6f4b1
SB
23482012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2349
2350 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2351
0f29fa41 23522012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2353
2354 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2355 breakpoints in files outside current directory (Bug#6098).
2356
db174434
CY
23572012-01-29 Chong Yidong <cyd@gnu.org>
2358
6b25e4e2
SE
2359 * progmodes/python.el: Require ansi-color at top-level.
2360
6df6ae42
JB
2361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2362 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2363 (lisp-mode-abbrev-table): Add doc.
2364 (lisp-mode-variables): Don't set local-abbrev-table.
2365 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2366
e70ee681
RW
23672012-01-28 Roland Winkler <winkler@gnu.org>
2368
2369 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2370
ace88aa2
RW
23712012-01-28 Roland Winkler <winkler@gnu.org>
2372
2373 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2374 (bibtex-set-dialect): Use it. Either set global values of
2375 dialect-dependent variables or bind these variables buffer-locally
2376 (Bug#10254).
2377 (bibtex-mode): Call bibtex-set-dialect via
2378 hack-local-variables-hook.
eb864a71
LM
2379 (bibtex-dialect): Update docstring.
2380 Add safe-local-variable predicate.
ace88aa2
RW
2381 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2382 bibtex-set-dialect.
2383 (bibtex-mode-map): Define menu for each dialect.
2384 (bibtex-entry): Fix docstring.
2385
93376c5b
CY
23862012-01-28 Chong Yidong <cyd@gnu.org>
2387
2388 * eshell/esh-arg.el (eshell-quote-argument): New function.
2389
2390 * eshell/esh-ext.el (eshell-invoke-batch-file):
2391 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2392 first arg to eshell-parse-command (Bug#10523).
2393
4372494f
DA
23942012-01-28 Drew Adams <drew.adams@oracle.com>
2395
2396 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2397 `default-directory' is non-nil.
2398
4d4ec1f8
EZ
23992012-01-28 Eli Zaretskii <eliz@gnu.org>
2400
2401 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2402 line that displays system-configuration-options. (Bug#9924)
2403
7c188927
DA
24042012-01-28 Drew Adams <drew.adams@oracle.com>
2405
2406 * descr-text.el (describe-char): Show information about POS, in
2407 addition to information about the character at POS. Improve and
2408 update the doc string. Change "code point" to "code point in
2409 charset", to avoid confusion with the character's Unicode code
2410 point shown above that. (Bug#10129)
2411
e0da685a
EZ
24122012-01-28 Eli Zaretskii <eliz@gnu.org>
2413
2414 * descr-text.el (describe-char): Show the raw character, not only
2415 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2416 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2417 for the reasons.
2418
70550acf
PH
24192012-01-28 Phil Hagelberg <phil@hagelb.org>
2420
eb864a71
LM
2421 * emacs-lisp/package.el (package-install):
2422 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2423
0ce8e868
CY
24242012-01-28 Chong Yidong <cyd@gnu.org>
2425
cb882333
JB
2426 * emacs-lisp/package.el (package-maybe-load-descriptor):
2427 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2428 (package-maybe-load-descriptor): Use it.
2429 (package-download-transaction): Fully load required packages
2430 inside the loop, so that `require' calls work (Bug#10593).
2431 (package-install): No need to call package-initialize now.
2432
2e7f3bea
CY
24332012-01-28 Chong Yidong <cyd@gnu.org>
2434
6e9bad14
CY
2435 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2436
f823b8ca
CY
2437 * tooltip.el (tooltip-mode): Doc fix.
2438 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2439
2680c309
CY
2440 * frame.el (set-cursor-color): Doc fix (Bug#352).
2441
d7a9e63b
CY
2442 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2443 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2444
2e7f3bea
CY
2445 * cus-edit.el (custom-buffer-create-internal): Fix search button
2446 action (Bug#10542).
2ae01800 2447 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2448
fc4f7a23
EW
24492012-01-27 Eduard Wiebe <usenet@pusto.de>
2450
2451 * dired.el (dired-mark-files-regexp):
2452 Include any subdirectory components. (Bug#10445)
2453
7dd37071
ML
24542012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2455
2456 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2457 Handle [host]:port syntax. (Bug#10533)
2458
a268160b
AH
24592012-01-27 Alex Harsanyi <harsanyi@mac.com>
2460
2461 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2462
e43273ef
GM
24632012-01-26 Glenn Morris <rgm@gnu.org>
2464
2465 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2466 * term.el (term-raw-escape-map): Use Control-X-prefix.
2467 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2468
1edf595d
MR
24692012-01-25 Martin Rudalics <rudalics@gmx.at>
2470
2471 * window.el (window-state-get, window--state-get-1): Don't deal
2472 with fixed-sizeness of windows. Simplify code.
2473
fa8eafef
JC
24742012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2475
6df6ae42
JB
2476 * window.el (window--state-get-1, window--state-put-2):
2477 Don't save and restore the mark.
fa8eafef 2478
0b21c100
CY
24792012-01-25 Chong Yidong <cyd@gnu.org>
2480
2481 * custom.el (custom-variable-p): Doc fix.
2482
5ae1a6c8
GM
24832012-01-25 Glenn Morris <rgm@gnu.org>
2484
40047858
GM
2485 * dired.el (dired-goto-file): Handle some of the more common
2486 characters that `ls -b' escapes. (Bug#10596)
2487
5ddce96c
GM
2488 * progmodes/compile.el (compilation-next-error-function):
2489 Respect compilation-first-column in the "*compilation*" buffer.
2490 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2491
5ae1a6c8
GM
2492 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2493
b559f1a9
GM
24942012-01-24 Glenn Morris <rgm@gnu.org>
2495
2496 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2497
6725d21a
JD
24982012-01-24 Julien Danjou <julien@danjou.info>
2499
2500 * color.el (color-rgb-to-hsl): Fix value computing.
2501 (color-hue-to-rgb): New function.
2502 (color-hsl-to-rgb): New function.
2503 (color-clamp, color-saturate-hsl, color-saturate-name)
2504 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2505 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2506
70df4bbe
GM
25072012-01-24 Glenn Morris <rgm@gnu.org>
2508
2509 * vc/vc-rcs.el (vc-rcs-create-tag):
2510 * vc/vc-sccs.el (vc-sccs-create-tag):
2511 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2512
802a2ae2
ML
25132012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2514
2515 * eshell/esh-util.el (eshell-read-hosts-file):
2516 Skip comment lines. (Bug#10549)
2517
d7128bb1
ML
2518 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2519
d1a5c3b4
JB
25202012-01-23 Juanma Barranquero <lekktu@gmail.com>
2521
2724d9c7
JB
2522 * subr.el (display-delayed-warnings): Doc fix.
2523 (collapse-delayed-warnings): New function to collapse identical
2524 adjacent warnings.
2525 (delayed-warnings-hook): Add it.
d1a5c3b4 2526
a5509865
MA
25272012-01-22 Michael Albinus <michael.albinus@gmx.de>
2528
2529 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2530
2531 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2532 properties, when "login-as" is set.
2533
2534 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2535 (tramp-default-user-alist): Don't add "pscp".
2536 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2537 property "login-as", if set. (Bug#10530)
2538
cc6d5805
MA
25392012-01-21 Michael Albinus <michael.albinus@gmx.de>
2540
2541 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2542 "plink1" and "psftp". (Bug#10530)
2543
25442012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2545
2546 * international/mule-cmds.el (prefer-coding-system): Show a
2547 warning message if the default value of file-name-coding-system
2548 was not changed.
2549
f0960428
JC
25502012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2551
cb882333
JB
2552 * windmove.el (windmove-reference-loc):
2553 Fix windmove-reference-loc miscalculation.
f0960428 2554
dd6f2a63
JB
25552012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2556
2557 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2558 default unit.
2559
7b447e9b
GM
25602012-01-21 Glenn Morris <rgm@gnu.org>
2561
117a9ea1
GM
2562 * international/mule.el (auto-coding-alist): Add .tbz.
2563
7b447e9b
GM
2564 * files.el (local-enable-local-variables): Doc fix.
2565 (inhibit-local-variables-regexps): Rename from
2566 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2567 Doc fix. Add some extensions from auto-coding-alist.
2568 (inhibit-local-variables-suffixes):
2569 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2570 (inhibit-local-variables-p):
2571 New function, extracted from set-auto-mode-1.
2572 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2573 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2574 (hack-local-variables): Doc fix. Make the mode-only case
2575 respect enable-local-variables and friends.
2576 Respect inhibit-local-variables-regexps for file-locals, but
2577 not for directory-locals.
2578 (set-visited-file-name):
2579 Take account of inhibit-local-variables-regexps.
2580 Whether it applies may change as the file name is changed.
2581 * jka-cmpr-hook.el (jka-compr-install):
2582 * jka-compr.el (jka-compr-uninstall):
2583 Update for inhibit-first-line-modes-suffixes name change.
2584
dd6e3cdd
MR
25852012-01-20 Martin Rudalics <rudalics@gmx.at>
2586
2587 * help-macro.el (make-help-screen): Temporarily restore original
2588 binding for minor-mode-map-alist (Bug#10454).
2589
0d0deb38
JD
25902012-01-19 Julien Danjou <julien@danjou.info>
2591
2592 * color.el (color-name-to-rgb): Use the white color to find the max
2593 color component value and return correctly computed values.
2594 (color-name-to-rgb): Add missing float conversion for max value.
2595
34a02f46
MR
25962012-01-19 Martin Rudalics <rudalics@gmx.at>
2597
2598 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2599 special state value for window-persistent-parameters.
2600 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2601 (window--state-put-2): Reset all window parameters to nil before
2602 assigning values of persistent parameters.
2603
606c44c4
AM
26042012-01-18 Alan Mackenzie <acm@muc.de>
2605
2606 Eliminate sluggishness and hangs in fontification of "semicolon
2607 deserts".
2608
cb882333
JB
2609 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2610 Change value 10000 -> 3000.
606c44c4
AM
2611 (c-state-safe-place): Reformulate so it doesn't stack up an
2612 infinite number of wrong entries in c-state-nonlit-pos-cache.
2613 (c-determine-limit-get-base, c-determine-limit): New functions to
2614 determine backward search limits disregarding literals.
2615 (c-find-decl-spots): Amend commenting.
2616 (c-cheap-inside-bracelist-p): New function which detects "={".
2617
2618 * progmodes/cc-fonts.el
2619 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2620 backward search.
2621 (c-font-lock-declarations): Fix an occurrence of point being
2622 undefined. Check additionally for point being in a bracelist or
2623 near a macro invocation without a semicolon so as to avoid a
2624 fruitless time consuming search for a declarator. Give a more
2625 precise search limit for declarators using the new
2626 c-determine-limit.
2627
f3860cea
GM
26282012-01-18 Glenn Morris <rgm@gnu.org>
2629
2630 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2631 (set-auto-mode): Doc fixes.
2632
1db03b16
GM
26332012-01-17 Glenn Morris <rgm@gnu.org>
2634
0e6038be
GM
2635 * isearch.el (search-nonincremental-instead): Fix doc typo.
2636
1db03b16
GM
2637 * dired.el (dired-insert-directory): Handle newlines in directory name.
2638 (dired-build-subdir-alist): Unescape newlines in directory name.
2639
4cb0aa75
MA
26402012-01-17 Michael Albinus <michael.albinus@gmx.de>
2641
2642 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2643 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2644 (tramp-action-terminal): Use it. (Bug#10530)
2645
1d00653d
SM
26462012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2649
6a6ee00d
MR
26502012-01-16 Martin Rudalics <rudalics@gmx.at>
2651
2652 * window.el (window-state-ignored-parameters): Remove variable.
2653 (window--state-get-1): Rename argument MARKERS to IGNORE.
2654 Handle persistent window parameters. Make copy of clone-of
2655 parameter only if requested. (Bug#10348)
2656 (window--state-put-2): Install a window parameter only if it has
2657 a non-nil value or an existing parameter shall be overwritten.
2658
97912def
MA
26592012-01-15 Michael Albinus <michael.albinus@gmx.de>
2660
2661 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2662
688070a5
EZ
26632012-01-14 Eli Zaretskii <eliz@gnu.org>
2664
2665 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2666 don't pass the (nil) value of `upnode' to string-match.
2667
301afadc
CY
26682012-01-14 Chong Yidong <cyd@gnu.org>
2669
2670 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2671 Fix values recognized by the cursorBlink resource.
301afadc 2672
9e5788aa
PE
26732012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2674
2675 * epg.el (epg--make-temp-file): Avoid permission race condition
2676 when running on old Emacs versions (bug#10403).
2677
3cdb7f5a
GM
26782012-01-14 Glenn Morris <rgm@gnu.org>
2679
2680 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2681
8c82b1b4
AM
26822012-01-13 Alan Mackenzie <acm@muc.de>
2683
2684 Fix filling for when filladapt mode is enabled.
2685
2686 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2687 c-mask-paragraph, pass in `fill-paragraph' rather than
2688 `fill-region-as-paragraph'. (This is a reversion of a previous
2689 change.)
eb864a71
LM
2690 * progmodes/cc-mode.el (c-basic-common-init):
2691 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2692
e517eda4
GM
26932012-01-13 Glenn Morris <rgm@gnu.org>
2694
1498536e
GM
2695 * dired.el (dired-switches-escape-p): New function.
2696 (dired-insert-directory): Use dired-switches-escape-p.
2697 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2698
e517eda4
GM
2699 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2700
328f984d
GM
27012012-01-12 Glenn Morris <rgm@gnu.org>
2702
2703 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2704 changes in adaptive-fill-regexp. (Bug#10276)
2705
2cc769a8
AM
27062012-01-11 Alan Mackenzie <acm@muc.de>
2707
2708 Fix Emacs bug #10463 - put `widen's around the critical spots.
2709
1d00653d 2710 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2711 widen around each invocation of c-state-pp-to-literal. Remove an
2712 unused let variable.
2713
e52c37fa
GM
27142012-01-11 Glenn Morris <rgm@gnu.org>
2715
2716 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2717 Doc fix.
e52c37fa 2718
96f8741e
CY
27192012-01-10 Chong Yidong <cyd@gnu.org>
2720
1d00653d
SM
2721 * net/network-stream.el (network-stream-open-starttls):
2722 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2723 response to the capability command.
2724
b09a806e
GM
27252012-01-10 Glenn Morris <rgm@gnu.org>
2726
2727 * mail/unrmail.el (unrmail): Tweak previous change.
2728
7655cb66
CY
27292012-01-09 Chong Yidong <cyd@gnu.org>
2730
2731 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2732
9d5a8f0b
AM
27332012-01-08 Alan Mackenzie <acm@muc.de>
2734
2735 Optimise font locking in long enum definitions.
2736
2737 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2738 arm to a cond form to handle enums.
2739 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2740 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2741
9a0115ab 27422012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2743
2744 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2745 (Bug#10401)
6bb72cbd 2746
f186bb95
LMI
27472012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2748
29232a68
LMI
2749 * faces.el (set-face-attribute): Clarify the meaning of the nil
2750 frame (bug#10294).
2751
4e5d086d
LMI
2752 * subr.el (with-selected-frame): Mention that the selected frame
2753 is restored (bug#9980).
2754
8e66aebe
LMI
2755 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2756 (bug#9759).
2757
cd394be1 2758 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2759 (password-read): Don't autoload unused function.
2760
adf4e762
JB
27612012-01-07 Juanma Barranquero <lekktu@gmail.com>
2762
2763 * progmodes/which-func.el (which-func-mode): Turn into a
2764 non-interactive function and mark as obsolete (bug#10428).
2765
89bd9ccd
CY
27662012-01-06 Chong Yidong <cyd@gnu.org>
2767
2768 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2769 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2770 functions, along with 1 and -1.
2771
4afee9d5
EZ
27722012-01-06 Eli Zaretskii <eliz@gnu.org>
2773
2774 * time.el (display-time-load-average)
2775 (display-time-default-load-average): Doc fixes. See the thread
2776 starting at
2777 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2778 for the details.
2779
536aea70
GM
27802012-01-06 Glenn Morris <rgm@gnu.org>
2781
665ae865
GM
2782 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2783 has no messages. (Bug#10377)
2784
c869783d
GM
2785 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2786 than Info-edit. (Bug#10385)
2787
2bb4227e
GM
2788 * time.el (display-time-load-average, display-time-next-load-average):
2789 Doc fixes.
2790
7d5944b9
GM
2791 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2792 local setting of buffer-read-only to the input buffer. (Bug#10419)
2793
536aea70
GM
2794 * calendar/calendar.el (calendar-mode):
2795 Locally set scroll-margin to 0. (Bug#10379)
2796
7dccca16
UM
27972012-01-06 Ulrich Mueller <ulm@gentoo.org>
2798
2799 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2800
afbb7930
GM
28012012-01-05 Glenn Morris <rgm@gnu.org>
2802
2803 * eshell/em-unix.el (diff-no-select): Autoload it.
2804 (eshell/diff): Use diff-no-select. (Bug#10420)
2805
04482335
CY
28062012-01-05 Chong Yidong <cyd@gnu.org>
2807
7baca3bc
CY
2808 * shell.el (shell-dynamic-complete-functions): Revert last change.
2809 (shell-command-completion-function): New function.
2810 (shell-completion-vars): Use it to implement
2811 shell-completion-execonly (Bug#10417).
2812
04482335
CY
2813 * custom.el (enable-theme): Don't set custom-safe-themes.
2814
1d00653d
SM
2815 * cus-theme.el (custom-theme-merge-theme):
2816 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2817
bb5aa5d6
MM
28182012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2819
2820 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2821 first prompt in `sql-interacive-mode'.
2822 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2823 keywords.
6df6ae42 2824 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2825 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2826 context of original buffer. Invoke `sql-login-hook'.
2827
a7183d7c
EZ
28282012-01-04 Eli Zaretskii <eliz@gnu.org>
2829
2830 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2831 letters in cite-prefix.
2832
a1eacd1e
LMI
28332012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2834
2835 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2836
787cdb34
CY
28372012-01-03 Chong Yidong <cyd@gnu.org>
2838
1d00653d
SM
2839 * shell.el (shell-dynamic-complete-functions):
2840 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2841 comint-filename-completion first (Bug#10417).
2842
30710442
RS
28432012-01-02 Richard Stallman <rms@gnu.org>
2844
2845 * battery.el (battery-status-function):
2846 Detect when to use battery-yeeloong-sysfs.
2847 (battery-echo-area-format): Add string for Yeeloong.
2848 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2849 (battery-yeeloong-sysfs): New function.
2850
f75bfc33
CY
28512012-01-02 Chong Yidong <cyd@gnu.org>
2852
2853 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2854 (dirtrack): Merge code for handling relative filenames in prompt
2855 from shell-dir-cookie-watcher.
2856 (dirtrack-debug-message): New arg to avoid excess format calls.
2857
2858 * shell.el (shell-dir-cookie-re): Variable deleted.
2859 (shell-dir-cookie-watcher): Function deleted.
2860 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2861 with dirtrack-mode.
2862
651e947e
EZ
28632012-01-01 Eli Zaretskii <eliz@gnu.org>
2864
1d00653d
SM
2865 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2866 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2867 libgnutls-26.dll.
2868
94d4c7dc
AS
28692011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2870
2871 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2872
8d43f3cd
EZ
28732011-12-31 Eli Zaretskii <eliz@gnu.org>
2874
2875 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2876 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2877
98c8795a
MA
28782011-12-29 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2881 also for alternative shells.
2882 (tramp-open-connection-setup-interactive-shell): Check, whether
2883 the shell is a busybox.
2884 (tramp-send-command): Don't suppress multiple prompts for
2885 busyboxes, it hurts.
2886
51281b32
CY
28872011-12-28 Chong Yidong <cyd@gnu.org>
2888
2889 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2890 (gdb-get-source-file): Move mode line update to
2891 gdb-get-source-file (Bug#10087).
2892
2170cb53
CY
28932011-12-25 Chong Yidong <cyd@gnu.org>
2894
2895 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2896 gud-gdb-marker-filter without taking it as an argument.
2897 (gud-gdb-run-command-fetch-lines): Caller changed.
2898 (gud-gdb-completion-function): New variable.
2899 (gud-gdb-completion-at-point): Use it.
2900 (gud-gdb-completions-1): Split from gud-gdb-completions.
2901
2902 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2903 function as separate arguments.
2904 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2905 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2906 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2907 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2908 (gdb-stopped, def-gdb-auto-update-trigger)
2909 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2910 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2911 Callers changed.
2170cb53
CY
2912 (gud-gdbmi-completions): New function.
2913 (gdb): Use it for generating the completion table.
2914
be8b11bb
AM
29152011-12-24 Alan Mackenzie <acm@muc.de>
2916
2917 Introduce a mechanism to widen the region used in context font
1d00653d 2918 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2919
1d00653d
SM
2920 * progmodes/cc-langs.el (c-before-font-lock-functions):
2921 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2922 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2923 functions to be run just before context (etc.) font locking.
2924
2925 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2926 New, functionality extracted from
be8b11bb 2927 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2928 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2929 (c-after-change): Set c-in-after-change-fontification.
2930 (c-set-fl-decl-start): Rejig its interface, so it can be called
2931 from both after-change and context fontifying.
b81d40f0
JB
2932 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2933 New functions.
2934 (c-standard-font-lock-fontify-region-function): New variable.
2935 (c-font-lock-fontify-region): New function.
be8b11bb 2936
341cf6ac
JL
29372011-12-24 Juri Linkov <juri@jurta.org>
2938
2939 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2940 (Bug#10348)
2941
bffcee0a
MA
29422011-12-23 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2945 existence of source file. (Bug#10325)
2946
cb5e207c
AM
29472011-12-23 Alan Mackenzie <acm@muc.de>
2948
2949 Fix unstable fontification inside templates.
2950
b81d40f0
JB
2951 * progmodes/cc-langs.el (c-before-font-lock-functions):
2952 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2953 additionally has c-set-fl-decl-start. The other languages (apart
2954 from AWK) have that as a single entry.
2955
b81d40f0
JB
2956 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2957 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2958 c-set-fl-decl-start.
2959
b81d40f0
JB
2960 * progmodes/cc-mode.el (c-common-init, c-after-change):
2961 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2962 (c-set-fl-decl-start): New function, extracted from
2963 c-font-lock-enclosing-decls and enhanced.
2964
60ff536c
JB
29652011-12-23 Juanma Barranquero <lekktu@gmail.com>
2966
2967 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2968
1c4757d6
JL
29692011-12-22 Juri Linkov <juri@jurta.org>
2970
2971 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2972
d031f2c7
CY
29732011-12-22 Chong Yidong <cyd@gnu.org>
2974
2975 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2976
bace743a
DA
29772011-12-21 Drew Adams <drew.adams@oracle.com>
2978
2979 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2980
728a1f2b
JC
29812011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2982
2983 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2984
0d373f73
TZ
29852011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2986
fec0aaa4
TZ
2987 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2988 highlighting and support. Fix up comments for capitalization.
2989 (cfengine-mode-debug): New var.
2990 (cfengine3-mode): Change the modeline indicator to "CFE3".
2991 (cfengine3-font-lock-keywords): Improve defun highlighting.
2992 (cfengine2-actions): Rename from `cfengine-actions'.
2993 (cfengine2-font-lock-keywords): Rename from
2994 `cfengine-font-lock-keywords'.
2995 (cfengine2-imenu-expression): Rename from
2996 `cfengine-imenu-expression'.
2997 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2998 (cfengine2-beginning-of-defun): Rename from
2999 `cfengine-beginning-of-defun'.
3000 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3001 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3002 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3003 modeline indicator to "CFE2".
3004 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3005 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3006
bc86f573
CY
30072011-12-21 Chong Yidong <cyd@gnu.org>
3008
3009 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3010 filename argument.
3011
d45ba96b
MR
30122011-12-20 Martin Rudalics <rudalics@gmx.at>
3013
3014 * window.el (window-normalize-buffer-to-display): Remove.
3015 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3016
a6198c90
CY
30172011-12-19 Chong Yidong <cyd@gnu.org>
3018
3019 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3020 Don't signal an error in a predicate function; return non-nil.
3021 (vc-dir-mark-file): Move the error here.
3022 (vc-dir-mark-unmark): If acting on the region, keep going if one
3023 of the entries cannot be marked/unmarked.
3024 (vc-dir-mark-all-files): If current entry is a directory, mark
3025 only child files, as documented.
3026
34c5fb55
VB
30272011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3028
3029 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3030 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3031 addition.
3032
c803b2b7
JD
30332011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3034
3035 * term/ns-win.el (ns-get-selection-internal)
3036 (ns-store-selection-internal): Declare.
1154d12e
JB
3037 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3038 Declare as obsolete.
3039 (ns-get-pasteboard, ns-paste-secondary):
3040 Use ns-get-selection-internal.
3041 (ns-set-pasteboard, ns-copy-including-secondary):
3042 Use ns-store-selection-internal.
c803b2b7 3043
9cff91f8 30442011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3045
3046 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3047 (vc-deduce-fileset): Doc fix.
99a289d9 3048
f16c898a
AS
30492011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3050
3051 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3052
763237c4
SS
30532011-12-13 Sam Steingold <sds@gnu.org>
3054
3055 * man.el (Man-getpage-in-background): When running under a
3056 window-system, ignore $MANWIDTH and $COLUMNS.
3057
5fc1c122
KH
30582011-12-15 Kenichi Handa <handa@m17n.org>
3059
3060 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3061 (setup-ethiopic-environment-internal): Comment out key-binding for
3062 ethio-toggle-punctuation.
3063
13d49cbb
AM
30642011-12-13 Alan Mackenzie <acm@muc.de>
3065
898169a2
AM
3066 Add the switch statement to AWK Mode.
3067
7a71b18d 3068 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3069 "default" to the keywords regexp.
3070
7a71b18d 3071 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3072 expression as the rest.
1d00653d
SM
3073 (c-nonlabel-token-key): Allow string literals for AWK.
3074 Refactor for the other modes.
898169a2 3075
13d49cbb 3076 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3077 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3078 routines. Limit backward searching in c-font-lock-enclosing.decl.
3079
3080 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3081 pp-state and literal type in addition to the limits.
1d00653d 3082 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3083 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3084 (c-slow-in-literal, c-fast-in-literal): Remove.
3085 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3086
3087 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3088 being in a literal. Add a limit for backward searching.
3089
3090 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3091 c-slow-in-literal.
3092
15e0efc7
SM
30932011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3096
454592a6
MR
30972011-12-13 Martin Rudalics <rudalics@gmx.at>
3098
3099 * window.el (delete-other-windows): Use correct frame in call to
3100 window-with-parameter.
3101
87393f26
DP
31022011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3103
3104 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3105 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3106 (makefile-gmake-statements, makefile-makepp-statements):
3107 Use it and add new makepp keywords.
3108 (makefile-makepp-font-lock-keywords): Add new patterns.
3109 (makefile-match-function-end): Match new [...] and [[...]].
3110
11636b22
JB
31112011-12-11 Juanma Barranquero <lekktu@gmail.com>
3112
3113 * ses.el (ses-call-printer-return, ses-cell-property-get)
3114 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3115 (ses-create-cell-variable, ses-reset-header-string)
3116 (ses-cell-set-formula, ses-repair-cell-reference-all)
3117 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3118 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3119 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3120 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3121 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3122 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3123 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3124 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3125 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3126 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3127 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3128 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3129
cf018193
VB
31302011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3131
3132 * ses.el: The overall change is to add cell renaming, that is
3133 setting fancy names for cell symbols other than name matching
3134 "\\`[A-Z]+[0-9]+\\'" regexp .
3135 (ses-create-cell-variable): New defun.
3136 (ses-relocate-formula): Relocate formulas only for cells the
3137 symbols of which are not renamed, i.e. symbols whose names do not
3138 match regexp "\\`[A-Z]+[0-9]+\\'".
3139 (ses-relocate-all): Relocate values only for cells the symbols of
3140 which are not renamed.
3141 (ses-load): Create cells variables as the (ses-cell ...) are read,
3142 in order to check row col consistency with cell symbol name only
3143 for cells that are not renamed.
3144 (ses-replace-name-in-formula): New defun.
3145 (ses-rename-cell): New defun.
3146
ee957461
CY
31472011-12-11 Chong Yidong <cyd@gnu.org>
3148
3149 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3150 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3151
9a9e9ef0
MR
31522011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3153
3154 * window.el (other-window): Fix docstring.
3155
92a8eba5
EZ
31562011-12-10 Eli Zaretskii <eliz@gnu.org>
3157
3158 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3159 `from' or `to' address before taking its substring.
3160 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3161 encoded name is chopped in the middle of the encoded string, and
3162 thus displayed encoded.
3163
e152e577
JB
31642011-12-10 Juanma Barranquero <lekktu@gmail.com>
3165
3166 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3167
e5d84bfe
EZ
31682011-12-10 Eli Zaretskii <eliz@gnu.org>
3169
3170 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3171 to use texinfo-update-node and commands that call it if the
3172 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3173 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3174 (texinfo-all-menus-update, texinfo-master-menu)
3175 (texinfo-update-node, texinfo-every-node-update)
3176 (texinfo-multiple-files-update): Doc fix. Warn against updating
3177 all the @node lines.
3178 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3179 argument is numeric. Explain better in the doc string what the
3180 function really does.
3181 (texinfo-insert-master-menu-list): Improve the error message
3182 displayed if there's no menu in the Top node.
3183 (Bug#2975) See also this thread:
e5d84bfe
EZ
3184 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3185
1d84e9bb
MG
31862011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3187
3188 * speedbar.el (speedbar-supported-extension-expressions):
3189 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3190
382c953b
JB
31912011-12-09 Juanma Barranquero <lekktu@gmail.com>
3192
3193 * printing.el (pr-mode-alist):
3194 * simple.el (filter-buffer-substring-functions)
3195 (completion-list-insert-choice-function):
3196 * window.el (window-with-parameter, window-atom-root)
3197 (window-sides-slots, window-size-fixed, window-min-delta)
3198 (window-max-delta, window--resize-mini-window)
3199 (window--resize-child-windows-normal, window-tree)
3200 (delete-other-windows, quit-window, split-window)
3201 (display-buffer-record-window, special-display-buffer-names)
3202 (special-display-regexps, special-display-popup-frame)
3203 (same-window-p, split-window-sensibly)
3204 (display-buffer-overriding-action, display-buffer-alist)
3205 (display-buffer-base-action, display-buffer, switch-to-buffer)
3206 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3207 (fit-window-to-buffer, recenter-positions)
3208 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3209 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3210 and remove unneeded backslashes in docstrings.
3211
39c9faef
SM
32122011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3213
98449af8
SM
3214 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3215
39c9faef
SM
3216 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3217 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3218 end in ".mk".
3219 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3220 when reading the makefile (bug#10116).
3221
86ed9fdc
SM
32222011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3225 (bug#10116).
3226
5580f89d
GM
32272011-12-06 Glenn Morris <rgm@gnu.org>
3228
3229 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3230
28d3917c
CY
32312011-12-06 Chong Yidong <cyd@gnu.org>
3232
3233 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3234
a98edce9
JB
32352011-12-06 Juanma Barranquero <lekktu@gmail.com>
3236
3237 * textmodes/table.el (table-shorten-cell): Fix typo.
3238
e65adfac
CG
32392011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3240
3241 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3242
71cc0b74
EZ
32432011-12-05 Eli Zaretskii <eliz@gnu.org>
3244
3245 * descr-text.el (describe-char): Fix display of strong
3246 right-to-left characters and directional embeddings and overrides.
3247
3248 * simple.el (what-cursor-position): Fix display of codepoints of
3249 strong right-to-left characters.
3250
315bc30d
CY
32512011-12-05 Chong Yidong <cyd@gnu.org>
3252
3253 * faces.el (read-color): Doc fix.
3254
58a70b94
GM
32552011-12-05 Glenn Morris <rgm@gnu.org>
3256
3257 * align.el (align--set-marker): Add doc-string.
3258 Don't try to move something that is not a marker. (Bug#10216)
3259
5158face
GM
32602011-12-04 Glenn Morris <rgm@gnu.org>
3261
3262 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3263 overly zealous deletion of trailing whitespace.
3264
520fca41
JB
32652011-12-04 Juanma Barranquero <lekktu@gmail.com>
3266
3267 * server.el (server-delete-client): On Windows, do not try to delete
3268 the only terminal.
3269 (server-process-filter): On Windows, treat requests for a tty frame as
3270 if they were for a GUI frame if the running server is in GUI mode.
3271
5e605a2e
GM
32722011-12-03 Glenn Morris <rgm@gnu.org>
3273
3274 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3275
5c3fe83f
SM
32762011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3277
6f5e57e7
SM
3278 * electric.el: Streamline electric-indent's hook.
3279 (electric-indent-chars): Revert to simple list.
3280 (electric-indent-functions): New var.
3281 (electric-indent-post-self-insert-function): Use it.
3282
5c3fe83f
SM
3283 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3284 there's no inferior buffer (bug#10196).
3285 (prolog-consult-compile): Don't use toggle-read-only.
3286
6bdac736
MA
32872011-12-02 Michael Albinus <michael.albinus@gmx.de>
3288
3289 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3290 interrupt. (Bug#10187)
3291
6131ba7f
SM
32922011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3293
99c79fee
SM
3294 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3295 (bug#9160).
3296
6131ba7f
SM
3297 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3298 (bug#10191).
3299
cb0a02ea
JL
33002011-12-02 Juri Linkov <juri@jurta.org>
3301
3302 * info.el (Info-search): Display "end of manual" when Isearch
3303 reaches the end of single-file Info manual. (Bug#9918)
3304
66e0570c
EZ
33052011-12-02 Eli Zaretskii <eliz@gnu.org>
3306
3307 * isearch.el (isearch-message-prefix): Run the input method part
3308 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3309
02b16839
JL
33102011-12-02 Juri Linkov <juri@jurta.org>
3311
3312 * isearch.el (isearch-occur): Use `word-search-regexp' for
3313 `isearch-word'.
3314 (isearch-search-and-update): Add condition for `isearch-word' and
3315 call `word-search-regexp'. (Bug#10145)
3316
0b950688
GM
33172011-12-01 Glenn Morris <rgm@gnu.org>
3318
3319 * eshell/em-hist.el (eshell-hist-initialize):
3320 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3321 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3322
9505c3c7
SM
33232011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3326
1bbe96b2 33272011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3328
a1beca85
SM
3329 * progmodes/verilog-mode.el (verilog-pretty-expr):
3330 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3331 verilog, such as += *= and the like.
3332 (verilog-assignment-operator-re): Regular expression to find the
3333 assigment operator in a verilog assignment.
3334 (verilog-assignment-operation-re): Regular expression to find an
3335 assignment statement for pretty-expr.
3336 (verilog-in-attribute-p): Query returns true if point is in an
3337 attribute context; used to skip these for expression line up from
3338 pretty-expr.
3339 (verilog-in-parameter-p): Query returns true if point is in an
3340 parameter definition context; used to skip these for expression
3341 line up from pretty-expr.
3342 (verilog-in-parenthesis-p): Query returns true if point is in a
3343 parenthetical expression, specifically ( ) but not [ ] or { };
3344 used by pretty-expr.
3345 (verilog-just-one-space): If there is no space, don't add one.
3346 (verilog-get-lineup-indent-2): Specifically skip just attribute
3347 contexts for expression lineup, rather than skipping all
3348 parenthetical expressions.
3349 (verilog-calculate-indent): Fix comment, and fix indent.
3350 (verilog-do-indent): Indent declarations in lists (suggested by
3351 Joachim Lechner).
3352 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3353 skeleton items.
3354 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3355 by Alain Mellan).
3356
1bbe96b2 33572011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3358
3359 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3360 parameters with embedded comments. Reported by Ray Stevens.
3361 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3362 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3363 Reported by Tim Holt.
3364 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3365 instantiated by upper module causing wrong expansion until AUTOed a
3366 second time. Reported by K C Buckenmaier.
3367 (verilog-diff-auto): Fix showing .* as a difference when
3368 `verilog-auto-star-save' off. Reported by Dan Dever.
3369 (verilog-auto-reset, verilog-read-always-signals)
3370 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3371 temporary signals in reset list if
3372 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3373 style to each signal's assignment type, bug381.
3374 Reported by Thomas Esposito.
6288f0ca
WS
3375 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3376 (verilog-uvm-statement-re): Support UVM indentation and
3377 highlighting, with old OVM keywords only.
a1beca85 3378 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3379 Support AUTOTIEOFF creating non-wire data types.
3380 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3381 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3382 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3383 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3384 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3385 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3386 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3387 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3388 non-numeric vector width. Reported by Alex Reed.
3389 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3390 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3391 (verilog-auto-delete-trailing-whitespace):
3392 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3393 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3394 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3395 Fix verilog-scan-cache corruption when running user AUTO expansion
3396 hooks that call indentation routines.
3397 (verilog-simplify-range-expression): Fix typo ignoring lower case
3398 identifiers.
3399 (verilog-delete-auto): Fix delete-autos to also remove user created
3400 automatics, as long as they start with AUTO.
3401 (verilog-batch-diff-auto, verilog-diff-auto)
3402 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3403 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3404 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3405 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3406 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3407 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3408 is disabled and its cache will get corrupt, causing AUTOS not to
3409 expand. Instead use only -quick functions.
3410 (verilog-scan-region): Fix scanning over escaped quotes.
3411 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3412 (verilog-re-search-backward-quick)
3413 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3414 related functions now ignore strings, to fix misparsing of strings
3415 with magic comments embedded in them.
a1beca85
SM
3416 (verilog-read-auto-template):
3417 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3418 Reported by Brad Dobbie.
3419 (verilog-read-auto-template):
3420 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3421 Reported by Brad Dobbie.
6288f0ca
WS
3422 (verilog-auto-inst, verilog-auto-inst-param)
3423 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3424 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3425 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3426 debugging templates without merge conflicts, bug357.
3427 Reported by Brad Dobbie.
3428 (verilog-read-auto-template):
3429 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3430 Reported by Brad Dobbie.
3431 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3432 abbrevs so user won't be asked to save.
3433 (verilog-read-auto-lisp-present): Fix to start at beginning of
3434 buffer in case called outside of verilog-auto.
3435 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3436 to "X-2". Reported by Matthew Myers.
3437 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3438 all inputs from module templates. Reported by Leith Johnson.
3439 (verilog-module-inside-filename-p): Fix locating programs as with
3440 modules.
3441 (verilog-auto-inst-port): Fix vl-width expressions when using
3442 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3443 (verilog-decls-get-regs, verilog-decls-get-signals,
3444 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3445 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3446 verilog-read-decls): Combine reg and wire structures into one var
3447 structure to represent SystemVerilog concepts.
3448 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3449 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3450 (verilog-auto-wire-type, verilog-insert-definition):
3451 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3452 SystemVerilog "logic" keyword instead of "wire"/"reg".
3453 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3454 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3455 ifdef or generate if so there's not a driver conflict).
3456 Reported by Matthew Myers.
3457 (verilog-auto-declare-nettype, verilog-insert-definition):
3458 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3459 `default_nettype none. Reported by Julian Gorfajn.
3460 (verilog-read-always-signals-recurse, verilog-read-decls)
3461 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3462 malformed end statement, bug325. Reported by Joshua Wise and
3463 Andrew Drake.
3464 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3465 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3466 when expanding .* in interfaces, bug320.
3467 Reported by Pierre-David Pfister.
6288f0ca 3468 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3469 name and open parenthesis, bug317.
3470 Reported by Pierre-David Pfister.
6288f0ca
WS
3471 (verilog-simplify-range-expression): Fix simplification of
3472 multiplications inside AUTOWIRE connections, bug303.
3473 (verilog-auto-inst-port): Support parameter expansion in
3474 multidimensional arrays.
3475 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3476 after "assert property". Reported by Julian Gorfajn.
3477 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3478 with multiplication, bug303.
3479 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3480 Reported by Jan Frode Lonnum.
3481
1bbe96b2
GM
34822011-11-30 Juanma Barranquero <lekktu@gmail.com>
3483
3484 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3485 (hfy-shell-file-name, hfy-shell):
3486 * international/fontset.el (x-decompose-font-name): Fix typos.
3487
34882011-11-29 Ken Brown <kbrown@cornell.edu>
3489
3490 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3491 (gdb-version): Remove defvar.
3492 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3493 (gdb-gud-context-command, gdb-non-stop-handler)
3494 (gdb-current-context-command, gdb-stopped): Use it.
3495 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3496 (gdb-non-stop-handler): Don't enable pretty-printing here.
3497 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3498 non-stop mode. Use the following.
3499 (gdb-check-target-async): New defun.
3500 (gud-watch, gdb-stopped): Fix whitespace.
3501 (gdb-get-source-file): Don't try to display the source file if
3502 `gdb-main-file' is nil.
3503
35042011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * align.el: Try to generate fewer markers (bug#10047).
3507 (align--set-marker): New macro.
3508 (align-region): Use it.
3509
c935221f
SM
35102011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3513
e70b5064
CY
35142011-11-29 Chong Yidong <cyd@gnu.org>
3515
3516 * indent.el (indent-for-tab-command, indent-according-to-mode):
3517 Doc fix.
3518 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3519
f3af92b7
MA
35202011-11-29 Michael Albinus <michael.albinus@gmx.de>
3521
3522 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3523 aware of remote file names. (Bug#10124)
3524
ed472be9
CY
35252011-11-29 Chong Yidong <cyd@gnu.org>
3526
3527 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3528
24510c22
SM
35292011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 * files.el (find-file): Don't use force-same-window (bug#10144).
3532 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3533 use pop-to-buffer if the selected window can't be used.
3534 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3535
c60c3703
EZ
35362011-11-28 Eli Zaretskii <eliz@gnu.org>
3537
3538 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3539 special-mode-map.
3540
e95def75
CY
35412011-11-28 Chong Yidong <cyd@gnu.org>
3542
3543 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3544
c3f1c606
NR
35452011-11-27 Nick Roberts <nickrob@snap.net.nz>
3546
3547 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3548 gdb-get-source-file-list on gdb-create-source-file-list.
3549
00db469c
EZ
35502011-11-26 Eli Zaretskii <eliz@gnu.org>
3551
3552 * whitespace.el (whitespace-newline): Use a different foreground
3553 color for 16-color light-background displays.
3554
4ad3bc2a
CY
35552011-11-24 Chong Yidong <cyd@gnu.org>
3556
3557 * window.el (display-buffer--special-action): Doc fix.
3558
e9fce1ac
JB
35592011-11-25 Juanma Barranquero <lekktu@gmail.com>
3560
3561 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3562 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3563 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3564 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3565 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3566 (avl-tree-stack-first):
3567 * emacs-lisp/cconv.el (cconv--analyse-use):
3568 * net/gnutls.el (gnutls-negotiate): Fix typos.
3569
cb825e5d
GM
35702011-11-24 Glenn Morris <rgm@gnu.org>
3571
3adbe224
GM
3572 * lpr.el (lpr-windows-system, lpr-lp-system):
3573 * mail/binhex.el (binhex-begin-line):
3574 * progmodes/grep.el (grep-history, grep-find-history):
3575 * textmodes/flyspell.el:
3576 * vc/pcvs-defs.el (cvs-global-menu):
3577 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3578 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3579 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3580
321decc8
GM
3581 * net/tls.el: Fix case of "GnuTLS".
3582
420b63ad
GM
3583 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3584
cb825e5d
GM
3585 * version.el (emacs-build-system): Give it a doc-string.
3586
a0649f08
JL
35872011-11-24 Juri Linkov <juri@jurta.org>
3588
3589 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3590
c0bc0fd4
GM
35912011-11-24 Glenn Morris <rgm@gnu.org>
3592
3593 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3594 if called on a non-mime message just toggle the headers. (Bug#8006)
3595
20db1522
JB
35962011-11-24 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3599 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3600 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3601 (allout-rebullet-heading, allout-open-sibtopic)
3602 (allout-toggle-current-subtree-encryption)
3603 (allout-toggle-subtree-encryption, allout-encrypt-string)
3604 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3605 (allout-distinctive-bullets-string, allout-auto-activation):
3606 * window.el (window-normalize-buffer-to-display):
3607 * progmodes/verilog-mode.el (verilog-batch-indent):
3608 * textmodes/bibtex.el (bibtex-field-braces-opt)
3609 (bibtex-field-strings-opt):
3610 * vc/cvs-status.el (cvs-tree-merge):
3611 Fix typos.
3612
7262a87c
MA
36132011-11-23 Michael Albinus <michael.albinus@gmx.de>
3614
3615 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3616 `non-essential' to t, in order to avoid remote connections.
3617
283430a1
EZ
36182011-11-23 Eli Zaretskii <eliz@gnu.org>
3619
a1beca85
SM
3620 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3621 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3622 case-insensitively.
3623
d2992a38
ML
36242011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3625
3626 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3627
50419064
GM
36282011-11-23 Glenn Morris <rgm@gnu.org>
3629
da94eca1
GM
3630 * paths.el (rmail-file-name): Reformat the doc-string so that it
3631 is picked up.
3632
9aac4de2
GM
3633 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3634 (rmail-auto-file): Ignore case in the "special" field names,
3635 as mail-fetch-field does for all others.
3636
8038d2d2
GM
3637 * mail/rmail.el (rmail-forward):
3638 * mail/rmailkwd.el (rmail-set-label):
3639 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3640 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3641
f3fe222a
GM
3642 * mail/rmail.el (rmail-current-message): Doc fix.
3643
50419064
GM
3644 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3645
28109f49
SM
36462011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3649
394c65f1
GM
36502011-11-22 Glenn Morris <rgm@gnu.org>
3651
3652 * mail/rmailmm.el (test-rmail-mime-handler)
3653 (test-rmail-mime-bulk-handler)
3654 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3655
f2a0aa3a
JL
36562011-11-21 Juri Linkov <juri@jurta.org>
3657
1154d12e
JB
3658 * calc/calc.el (calc-read-key-sequence):
3659 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3660
9c34a344
LMI
36612011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3662
3663 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3664 Tell the caller that the next line needs recomputation, even
3665 though it doesn't start a sexp (bug#10094).
3666
f04a3be9
SM
36672011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3670
7978747f
SM
36712011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3672
f04a3be9
SM
3673 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3674 Use force-same-window.
7978747f 3675
fe7a3057
JB
36762011-11-20 Juanma Barranquero <lekktu@gmail.com>
3677
3678 * descr-text.el (describe-char-unicode-data):
3679 * json.el (json-string-escape):
3680 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3681 (Footnote-unicode, Footnote-style-p):
3682 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3683
24901d61
CY
36842011-11-20 Chong Yidong <cyd@gnu.org>
3685
3686 * window.el (replace-buffer-in-windows): Restore interactive spec.
3687
bac7ff22
SM
36882011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3689
24f3d7b9
SM
3690 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3691
bac7ff22
SM
3692 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3693 (byte-compile-global-not-obsolete-vars): New var.
3694 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3695 Use it.
3696 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3697
cd1181db
JB
36982011-11-20 Juanma Barranquero <lekktu@gmail.com>
3699
3700 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3701 * progmodes/pascal.el (electric-pascal-equal):
3702 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3703 * xml.el (xml-substitute-special): Fix typos.
3704
7fb18e9e
GM
37052011-11-20 Glenn Morris <rgm@gnu.org>
3706
3707 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3708 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3709 Doc fixes.
3710 (rmail-decode-mime-charset): Mark as obsolete.
3711
3712 * mail/rmailsum.el (rmail-message-regexp-p-1):
3713 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3714 Before using mime functions, check they are set. (Bug#10077)
3715
d5a6b3ba
JL
37162011-11-19 Juri Linkov <juri@jurta.org>
3717
3718 * info.el (Info-finder-find-node): Use `package--builtins' instead
3719 of `package-alist'. Use node names formed by the pattern "Keyword "
3720 and the keyword name.
3721
e981b61f
AS
37222011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3723
1d00653d 3724 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3725
3ffbc301
JL
37262011-11-19 Juri Linkov <juri@jurta.org>
3727
3728 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3729 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3730 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3731 `old-history', `old-history-forward'. Add let-binding
3732 `window-selected'. Remove calls to `kill-buffer',
3733 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3734 before calling `Info-find-node', so `Info-find-node-2' will reread
3735 the Info file. Restore window positions only when `window-selected'
3736 is non-nil.
3737
30c62133
JL
37382011-11-19 Juri Linkov <juri@jurta.org>
3739
3740 * isearch.el (isearch-lazy-highlight-new-loop):
3741 Remove condition `(not isearch-error)'. (Bug#9918)
3742
3743 * misearch.el (multi-isearch-search-fun): Add condition
3744 `(not bound)' to ignore lazy-highlighting search.
3745 Add the search-failed message "end of multi" when the end of
3746 multi-sequence is reached. Uncapitalize the search-failed
3747 message "Repeat for next buffer".
3748
3749 * info.el (Info-search): Add the search-failed message
3750 "end of the manual" when the end of the manual is reached
3751 in Isearch mode.
3752
645ca9cf
JL
37532011-11-19 Juri Linkov <juri@jurta.org>
3754
3755 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3756 Use non-destructive `remove' instead of `delete' because
3757 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3758 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3759
df754f66
JL
37602011-11-19 Juri Linkov <juri@jurta.org>
3761
3762 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3763 to nil instead of binding `search-ring' and `regexp-search-ring'.
3764 (Bug#9185)
3765
0e23d96a
EZ
37662011-11-19 Eli Zaretskii <eliz@gnu.org>
3767
3768 * simple.el (line-move): Force movement by logical lines for any
3769 hscrolled window, not only when auto-hscroll-mode is on.
3770 (line-move-visual): Update doc string to that effect. (Bug#10076)
3771
8a6ccb66
AS
37722011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3773
3774 * language/european.el (macintosh): Define as alias for mac-roman.
3775
49ae5b39
EZ
37762011-11-19 Eli Zaretskii <eliz@gnu.org>
3777
3778 * mail/rmailmm.el (rmail-mime-display-header)
3779 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3780 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3781 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3782 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3783 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3784 of a raw aref.
3785 (rmail-mime-entity-segment): To get past the tagline, move forward
3786 2 more lines, to account for the 2 empty lines that precede and
3787 follow the line with the buttons.
3788 (rmail-mime-update-tagline): Move one more line, to get past the
3789 empty line that follows the buttons in the tagline. (Bug#9520)
3790
c56cad4a
MR
37912011-11-19 Martin Rudalics <rudalics@gmx.at>
3792
3793 * window.el (window-max-delta-1, window-min-delta-1)
3794 (window-min-size-1, window-state-get-1, window-state-put-1)
3795 (window-state-put-2): Use "window--" prefix.
3796
cbe71af3
SM
37972011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3798
2ad52c60
SM
3799 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3800 (smie-warning-count): New var.
3801 (smie-set-prec2tab): Use it.
3802 (smie-bnf->prec2): Improve warnings. Add docstring.
3803 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3804 (smie-bnf--set-class): New function.
3805 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3806 corner case.
3807
6944dbc1
SM
3808 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3809 (compilation-error-properties, compilation-move-to-column):
3810 Handle compilation-first-column while in the target buffer.
3811
c400c4d7
SM
3812 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3813 Don't hardcode point-min==1.
3814
6dbe3e96
SM
3815 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3816 (eshell-rewrite-for-command): Remove workaround.
3817 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3818 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3819 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3820
cbe71af3
SM
3821 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3822
a8e1496d
GM
38232011-11-17 Glenn Morris <rgm@gnu.org>
3824
3825 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3826 Ignore buffer-local generated-autoload-file if it is the same
3827 as the global value. (Bug#10049)
3828
df85d315
JB
38292011-11-17 Juanma Barranquero <lekktu@gmail.com>
3830
3831 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3832 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3833 (reftex-toc-previous-heading, reftex-toc-max-level)
3834 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3835 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3836 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3837 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3838 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3839 (reftex-toc-rename-label, reftex-toc-visit-location)
3840 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3841 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3842 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3843 leaving "*toc*" only for references to the buffer.
3844
a0c2d0ae
MR
38452011-11-17 Martin Rudalics <rudalics@gmx.at>
3846
3847 * window.el (window-resize, delete-window, split-window):
3848 Replace window-splits by window-combination-resize.
1d00653d 3849 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3850
35c0bac8
GM
38512011-11-17 Glenn Morris <rgm@gnu.org>
3852
3853 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3854 Make bash entry derive from sh entry, not shell entry.
3855
d0c8fc8a
MA
38562011-11-16 Michael Albinus <michael.albinus@gmx.de>
3857
d0c8fc8a
MA
3858 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3859 properties of linked files. (Bug#9879)
3860
7262a87c
MA
3861 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3862 local file name.
3863
7877f373
JB
38642011-11-16 Juanma Barranquero <lekktu@gmail.com>
3865
3866 * menu-bar.el (menu-bar-file-menu):
3867 * printing.el (pr-ps-utility):
3868 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3869 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3870 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3871 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3872 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3873 (icalendar--convert-cyclic-to-ical)
3874 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3875 (icalendar--convert-ical-to-diary)
3876 (icalendar--convert-recurring-to-diary)
3877 (icalendar--convert-non-recurring-all-day-to-diary)
3878 (icalendar-import-format-sample):
3879 * progmodes/idlw-shell.el (idlwave-shell-mode):
3880 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3881 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3882 (vhdl-ps-print-init): Fix typos.
3883
10649b82
KM
38842011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3885
9d0cfcd6
GM
3886 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3887 FSF and collapse date sequence, obscure author/maintainer email address
3888 better, remove extra version line, track relocation of author's webpage.
10649b82 3889
9d0cfcd6
GM
3890 * progmodes/python.el (python-pdbtrack-input-prompt)
3891 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3892 regular python pdb prompts. Adjustments shamelessly taken exactly as
3893 suggested in EmacsWiki page (tiny change):
3894 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3895
58179cce
JB
38962011-11-16 Juanma Barranquero <lekktu@gmail.com>
3897
3898 * expand.el (expand-pos, expand-index, expand-point):
3899 Remove redundant info from docstring.
3900 (expand-add-abbrevs): Doc fix.
3901 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3902 (expand-sample-perl-mode-expand-list): Fix typos.
3903
3904 * net/dbus.el (dbus-event-member-name):
3905 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3906 * term/pc-win.el (msdos-create-frame-with-faces):
3907 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3908
b6f67890
MR
39092011-11-16 Martin Rudalics <rudalics@gmx.at>
3910
3911 * window.el (split-window, window-state-get-1)
3912 (window-state-put-1, window-state-put-2): Rename occurrences of
3913 window-nest to window-combination-limit.
1d00653d 3914 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3915
ce7ddba0
CY
39162011-11-16 Chong Yidong <cyd@gnu.org>
3917
3918 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3919 regexp (Bug#10033).
3920
3ae704f4
SM
39212011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3924 `completing-read' will remove *Completions* and will preserve
3925 current-buffer for us.
3926 (tmm-add-prompt): Users of *Completions* will always (re)set its
3927 major mode.
3928 (tmm-old-comp-map): Remove.
3929
6ad1cdde
GM
39302011-11-16 Glenn Morris <rgm@gnu.org>
3931
3932 * mail/rmailedit.el: Require rmailmm when compiling.
3933 (rmail-old-mime-state): New declaration.
3934 (rmail-edit-current-message): If editing a mime message,
3935 edit the "raw" message from the mbox buffer.
3936 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3937
d20faa20
GM
39382011-11-15 Glenn Morris <rgm@gnu.org>
3939
3940 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3941 which wasn't being used. Add optional arg to force given state.
3942 (rmail-mime): Add optional arg to force given state.
3943
c7015153
JB
39442011-11-15 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3947 * frame.el (display-mm-dimensions-alist):
3948 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3949 (outline-move-subtree-down):
3950 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3951 (newsticker--treeview-do-get-node):
3952 * net/quickurl.el (quickurl-list-buffer-name):
3953 * progmodes/dcl-mode.el (dcl-mode):
3954 * progmodes/gdb-mi.el (gdb-mapcar*):
3955 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3956
45261b50
GM
39572011-11-15 Glenn Morris <rgm@gnu.org>
3958
3959 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3960 in a boolean sense, so just make it a boolean, and fix the doc.
3961 (rmail-show-mime-function, rmail-mime-feature)
3962 (rmail-require-mime-maybe): Doc fixes.
3963 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3964
3965 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3966
0d26e0b6
JB
39672011-11-15 Juanma Barranquero <lekktu@gmail.com>
3968
3969 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3970 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3971 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3972 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3973
447f30f6
GM
39742011-11-15 Glenn Morris <rgm@gnu.org>
3975
672b871d
GM
3976 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3977 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3978 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3979 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3980 (rmail-mime, rmail-show-mime): Doc fixes.
3981
f6aa5bb1
GM
3982 * term/ns-win.el (mode-line-frame-identification):
3983 Leave it alone. (Bug#10051)
3984
947cd66b
GM
3985 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3986
447f30f6
GM
3987 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3988 Handle empty buffers. (Bug#9978)
3989
0b381c7e
JB
39902011-11-14 Juanma Barranquero <lekktu@gmail.com>
3991
3992 * international/mule.el (define-charset):
3993 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3994 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3995 * progmodes/verilog-mode.el (verilog-backward-token):
3996 * textmodes/ispell.el (lookup-words):
3997 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3998
71e027ac
GM
39992011-11-14 Glenn Morris <rgm@gnu.org>
4000
56632ce4
GM
4001 * progmodes/executable.el
4002 (executable-make-buffer-file-executable-if-script-p):
4003 Handle file-modes returning nil.
4004
40500957
GM
4005 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4006 message - not necessary, and causes problems. (Bug#9831)
4007
071c2340
GM
4008 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4009
d3cfca60
GM
4010 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4011
71e027ac
GM
4012 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4013 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4014 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4015
89d61221
MR
40162011-11-12 Martin Rudalics <rudalics@gmx.at>
4017
4018 * window.el (window-resize, delete-window): Use window-splits
4019 variable instead of function.
4020 (window-state-get-1, window-state-put-2, window-state-put):
4021 Don't deal with windows' splits status.
4022
98282f6f
GM
40232011-11-12 Glenn Morris <rgm@gnu.org>
4024
4025 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4026 (apropos-documentation): Doc fixes.
4027
40a8bdf6
JB
40282011-11-11 Juanma Barranquero <lekktu@gmail.com>
4029
4030 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4031 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4032
65bd19ff
SM
40332011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * electric.el (electric-indent-post-self-insert-function): Make it
4036 possible for a char to only indent in some circumstances.
4037 (electric-indent-mode): Simplify.
4038
54f9154c
MR
40392011-11-11 Martin Rudalics <rudalics@gmx.at>
4040
4041 * window.el (windows-with-parameter): Remove unused function.
4042 (windows-at-side): Rename to window-at-side-list.
4043 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4044 (window-side-check, window-size-ignore, window-size-fixed-1)
4045 (window-in-direction-2): Prefix with "window--".
4046 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4047
68cbc58b
GM
40482011-11-11 Glenn Morris <rgm@gnu.org>
4049
4050 * subr.el (eval-after-load): If FILE is already loaded,
4051 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4052
b2621720
GM
40532011-11-10 Glenn Morris <rgm@gnu.org>
4054
9a4de110
GM
4055 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4056 Call svn via vc-svn-command rather than vc-do-command.
4057 (vc-svn-command): Add --non-interactive. (Bug#9993)
4058 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4059
b2621720
GM
4060 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4061 Add toggle-read-only. (Bug#7292)
4062 * files.el (toggle-read-only): Mention that it should only
4063 be used interactively. (Bug#10006)
4064
1dce7193
SM
40652011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4066
d9ac1a1e
SM
4067 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4068 Adjust regexp for OCaml warnings.
4069
0c325082
SM
4070 * electric.el (electric-pair-post-self-insert-function): Let user
4071 turn it off buffer-locally (bug#9932).
4072
90132c14
SM
4073 * progmodes/python.el (python-beginning-of-statement):
4074 Rewrite (bug#2703).
4075
1dce7193
SM
4076 * progmodes/compile.el: Better handle TABs (bug#9749).
4077 (compilation-internal-error-properties)
4078 (compilation-next-error-function): Obey the target buffer's
4079 compilation-error-screen-columns.
4080
c4e7c63a
JB
40812011-11-09 Juanma Barranquero <lekktu@gmail.com>
4082
4083 * progmodes/meta-mode.el: Remove obsolete comments.
4084 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4085 Fix typos in docstrings.
4086
2cffd681
MR
40872011-11-09 Martin Rudalics <rudalics@gmx.at>
4088
4089 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4090 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4091 (window--resizable): New function. Make all callers of
4092 window-resizable call window--resizable instead.
4093 (window-resizable): Rewrite in terms of window--resizable.
4094
0edcba87
GM
40952011-11-08 Glenn Morris <rgm@gnu.org>
4096
4097 * progmodes/delphi.el (delphi-mode-syntax-table):
4098 Let define-derived-mode define a proper syntax table. (Bug#9994)
4099
4b0d61e3
SM
41002011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * window.el: Stay away from defsubst.
4103 (window-list-no-nils): Remove.
4104 (window-state-get-1, window-state-get): Use backquote instead.
4105
cd394be1 41062011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4107
4b0d61e3 4108 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4109 Fix incorrect use of default argument in `completing-read'.
4110
e1c2c6f2
MR
41112011-11-08 Martin Rudalics <rudalics@gmx.at>
4112
4113 * window.el (display-buffer-function, special-display-function):
4114 Mention display-buffer-record-window but do not mention
4115 help-setup parameter in doc-strings.
b3f4a882 4116 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4117
105216ed
CY
41182011-11-08 Chong Yidong <cyd@gnu.org>
4119
4120 * window.el (window-total-height, window-total-width): Doc fix.
4121 (window-body-size): Move from C.
4122 (window-body-height, window-body-width): Move to C.
4123
0a9f9ab5
SM
41242011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * window.el: Make special-display like display-buffer-alist (bug#9532).
4127 (display-buffer--special-action): New function, morphed
4128 from display-buffer--special.
4129 (display-buffer): Use it to handle special-display-buffers at higher
4130 priority (just after display-buffer-alist).
4131 (display-buffer-fallback-action, display-buffer--other-frame-action)
4132 (pop-to-buffer-same-window): Remove display-buffer--special.
4133
a769dd15
GM
41342011-11-07 Glenn Morris <rgm@gnu.org>
4135
4136 * calendar/cal-menu.el (cal-menu-set-date-title):
4137 Do nothing if not in a calendar. (Bug#9976)
4138
05a61ee3
SM
41392011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4140
4141 * files.el (find-file): Always use selected-window.
4142
be7f5545
MR
41432011-11-07 Martin Rudalics <rudalics@gmx.at>
4144
4145 * window.el (window-combinations): Make WINDOW argument
4146 mandatory. Rewrite doc-string.
4147 (walk-window-subtree, window-atom-check, window-min-delta)
4148 (window-max-delta, window--resize-this-window)
4149 (window--resize-root-window-vertically, window-tree)
4150 (balance-windows, window-state-put): Rewrite doc-strings as to
4151 not mention the term "subwindow".
4152 (window--resize-subwindows-skip-p): Rename to
4153 window--resize-child-windows-skip-p.
4154 (window--resize-subwindows-normal): Rename to
4155 window--resize-child-windows-normal.
4156 (window--resize-subwindows): Rename to
4157 window--resize-child-windows.
4158 (window-or-subwindow-p): Rename to window--in-subtree-p.
4159
3c6702ef
ML
41602011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4161
4162 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4163 Ensure that mbox format messages end in two newlines (Bug#9974).
4164
49745b39
CY
41652011-11-06 Chong Yidong <cyd@gnu.org>
4166
4167 * window.el (window-combination-p): Function deleted; its
4168 side-effect is not used in any existing code.
4169 (window-combinations, window-combined-p): Call window-*-child
4170 directly.
4171
24300f5f
CY
41722011-11-05 Chong Yidong <cyd@gnu.org>
4173
4174 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4175 (window-size-ignore, window-state-get): Callers changed.
4176 (window-normalize-window): Rename from window-normalize-any-window.
4177 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4178 (window-normalize-live-window): Delete.
447f16b8
CY
4179 (window-combination-p, window-combined-p, window-combinations)
4180 (walk-window-subtree, window-atom-root, window-min-size)
4181 (window-sizable, window-sizable-p, window-size-fixed-p)
4182 (window-min-delta, window-max-delta, window-resizable)
4183 (window-resizable-p, window-full-height-p, window-full-width-p)
4184 (window-current-scroll-bars, window-point-1, set-window-point-1)
4185 (window-at-side-p, window-in-direction, window-resize)
4186 (adjust-window-trailing-edge, maximize-window, minimize-window)
4187 (window-deletable-p, delete-window, delete-other-windows)
4188 (record-window-buffer, unrecord-window-buffer)
4189 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4190 (quit-window, split-window, window-state-put)
4191 (set-window-text-height, fit-window-to-buffer)
4192 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4193
89bd5ee1
EZ
41942011-11-04 Eli Zaretskii <eliz@gnu.org>
4195
53479029
EZ
4196 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4197 rfc2047-decode-string.
4198 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4199 warnings.
4200
89bd5ee1
EZ
4201 * window.el (window-body-height, window-body-width): Mention in
4202 the doc string that the return values are in frame's canonical
4203 units. (Bug#9949)
4204
bd17fdee
AM
42052011-11-03 Alan Mackenzie <acm@muc.de>
4206
4207 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4208 change in cc-engine.el.
4209
acc825c5
SM
42102011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4213
1885e5b8
MR
42142011-11-02 Martin Rudalics <rudalics@gmx.at>
4215
4216 * window.el (quit-window): Call unrecord-window-buffer after
4217 showing another buffer in the window. (Bug#9937)
acc825c5 4218 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4219
ebe06da9
JB
42202011-11-02 Juanma Barranquero <lekktu@gmail.com>
4221
4222 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4223 Accept status with more than 9 shelves. (Bug#9935)
4224 Reported by Colin D Bennett <colin@gibibit.com>.
4225
4ee88440
MR
42262011-11-01 Martin Rudalics <rudalics@gmx.at>
4227
4228 * help.el (with-help-window): Don't reference
4229 temp-buffer-show-specifiers in doc-string.
4230
08e1d82c
AS
42312011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4232
4233 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4234 menu-item.
4235
84bd6e9e
VJL
42362011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4237
4238 * whitespace.el: New version 13.2.2.
4239 (whitespace-newline-mode): Disable properly. Reported by Sarah
4240 <EmacsWiki>.
4241
dba0634a
UJ
42422011-10-30 Ulf Jasper <ulf.jasper@web.de>
4243
4244 * net/newst-treeview.el: Remove "Time-stamp".
4245 (newsticker--group-manage-orphan-feeds): Do not call
4246 newsticker--treeview-tree-update.
db22a3c2
JB
4247 (newsticker-treeview-update, newsticker-treeview):
4248 Call newsticker--treeview-tree-update if necessary.
dba0634a 4249
3d8daefe
MR
42502011-10-30 Martin Rudalics <rudalics@gmx.at>
4251
4252 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4253 (window-iso-combinations): Remove "iso-" infix.
4254 Suggested by Chong Yidong.
3d8daefe
MR
4255 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4256 (window-max-delta-1, window-resize, window--resize-siblings)
4257 (window--resize-this-window, adjust-window-trailing-edge)
4258 (split-window, balance-windows-1)
4259 (shrink-window-if-larger-than-buffer):
4260 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4261 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4262
1bc4c3ae
SM
42632011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4266 in place (bug#9907).
4267 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4268 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4269 (eshell-structure-basic-command, eshell-rewrite-while-command)
4270 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4271 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4272 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4273 (eshell-do-pipelines-synchronously, eshell-eval-command):
4274 Use backquotes and prefer setq to set.
4275 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4276 (eshell-macrop): Use functionp.
c1e2f5fa 4277 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4278
30b65d9c
CY
42792011-10-30 Chong Yidong <cyd@gnu.org>
4280
4281 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4282 instead of set-mark (Bug#9810).
4283
2d197ffb
CY
42842011-10-30 Chong Yidong <cyd@gnu.org>
4285
4286 * window.el (split-window-below, split-window-right): Rename from
4287 split-window-above-each-other and split-window-side-by-side
4288 respectively. All callers changed.
4289 (split-window-sensibly, split-window-sensibly): Use them.
4290 (split-window-keep-point): Doc fix.
4291
4292 * isearch.el: Add isearch-scroll property to split-window-below
4293 and split-window-right.
4294
4295 * follow.el (follow-mode):
4296 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4297 * progmodes/ada-xref.el (ada-gdb-application):
4298 * emulation/vip.el (vip-buffer-in-two-windows):
4299 * image-dired.el (image-dired-dired-with-window-configuration):
4300 * dired-x.el (dired-do-find-marked-files):
4301 * dired.el (dired-pop-to-buffer):
4302 * bs.el (bs--show-with-configuration):
4303 * vc/emerge.el (emerge-setup-windows):
4304 * textmodes/two-column.el (2C-two-columns):
4305 * textmodes/reftex-toc.el (reftex-toc):
4306 * progmodes/gdb-mi.el (gdb-setup-windows):
4307 * progmodes/fortran.el (fortran-window-create):
4308 * net/newst-treeview.el (newsticker--treeview-window-init):
4309 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4310 * emulation/tpu-edt.el (tpu-gold-map):
4311 * emulation/crisp.el (crisp-mode-map):
4312 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4313
38bb2ca8
CY
43142011-10-29 Chong Yidong <cyd@gnu.org>
4315
aa4de341
CY
4316 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4317
e1eb5385
CY
4318 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4319
5d2ece3c
CY
4320 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4321 forged Ispell output (Bug#7904).
4322
38bb2ca8
CY
4323 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4324
d0af9f77
SM
43252011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * doc-view.el: Avoid ugly errors about not finding nil.
4328 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4329 (doc-view-dvipdf-program, doc-view-unoconv-program)
4330 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4331 Avoid nil or absolute file name as default value.
4332 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4333
52bedd34
AM
43342011-10-28 Alan Mackenzie <acm@muc.de>
4335
db22a3c2 4336 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4337
7e43cfa5
AM
43382011-10-28 Alan Mackenzie <acm@muc.de>
4339
4340 Amend the handling of c-beginning/end-of-defun in nested declaration
4341 scopes.
4342
52bedd34
AM
4343 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4344 cc-langs.el. Change it to a defcustom.
7e43cfa5 4345
52bedd34
AM
4346 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4347 cc-vars.el.
7e43cfa5 4348
d0af9f77
SM
4349 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4350 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4351
52bedd34 4352 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4353 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4354 (c-widen-to-enclosing-decl-scope): New function.
4355 (c-while-widening-to-decl-block): New macro.
4356 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4357 outward for defun boundaries, and correspondingly change symbol
4358 `respect-enclosure' to `go-outward'.
4359 (c-declaration-limits): Change algorithm to report only the "innermost"
4360 defun's boundaries.
4361
1a2ce9ee
DD
43622011-10-28 Deniz Dogan <deniz@dogan.se>
4363
4364 * net/rcirc.el (rcirc-mode): Use hard newlines.
4365
bc97a826
AM
43662011-10-28 Alan Mackenzie <acm@muc.de>
4367
4368 Amend to indent and fontify macros "which include their own semicolon"
4369 correctly, using the "virtual semicolon" mechanism.
4370
52bedd34 4371 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4372
d0af9f77 4373 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4374 Recode to scan one line at a time rather than having \n and \r
58179cce 4375 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4376 (c-forward-label): Amend for virtual semicolons.
58179cce 4377 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4378
52bedd34
AM
4379 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4380 of the new C macros.
bc97a826 4381
52bedd34 4382 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4383 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4384 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4385 (c-opt-cpp-macro-define): Make into a full language variable.
4386 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4387 AWK Mode (including \n, \r) removed, no longer needed.
4388
d0af9f77
SM
4389 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4390 Invoke c-make-macro-with-semi-re.
bc97a826 4391
52bedd34
AM
4392 * progmodes/cc-vars.el (c-macro-with-semi-re):
4393 (c-macro-names-with-semicolon): New variables.
58179cce 4394 (c-make-macro-with-semi-re): New function.
bc97a826 4395
7a6c0941
SM
43962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * vc/log-edit.el: Fill empty field rather than adding new one.
4399 (log-edit-add-field): New function.
4400 (log-edit-insert-changelog): Use it.
4401
b0c4cdcf
ML
44022011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4403
4404 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4405
ee1f1da9
SM
44062011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4409 (gdb--check-interpreter): New function.
4410 (gdb): Use it.
4411
51bc5f8b
GM
44122011-10-27 Glenn Morris <rgm@gnu.org>
4413
416a2c45
GM
4414 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4415 (least-positive-float, least-negative-float)
4416 (least-positive-normalized-float, least-negative-normalized-float)
4417 (float-epsilon, float-negative-epsilon):
4418 Remove unnecessary declarations.
4419
4420 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4421 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4422 (least-positive-float, least-negative-float)
4423 (least-positive-normalized-float, least-negative-normalized-float)
4424 (float-epsilon, float-negative-epsilon): Add doc-strings,
4425 based on those in cl.texi.
4426
51bc5f8b
GM
4427 * files.el (set-visited-file-name): If the major-mode changed,
4428 reload the local variables. (Bug#9796)
4429
15de15c6
CY
44302011-10-27 Chong Yidong <cyd@gnu.org>
4431
4432 * subr.el (change-major-mode-after-body-hook): New hook.
4433 (run-mode-hooks): Run it.
4434
ee1f1da9
SM
4435 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4436 Use change-major-mode-before-body-hook.
15de15c6
CY
4437
4438 * simple.el (fundamental-mode):
4439 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4440 change introducing fundamental-mode-hook.
4441
5430d399
JB
44422011-10-26 Juanma Barranquero <lekktu@gmail.com>
4443
acc825c5 4444 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4445
ad74a69e
MA
44462011-10-26 Michael Albinus <michael.albinus@gmx.de>
4447
4448 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4449 tramp.el explicitly. (Bug#7583)
ad74a69e 4450
71d4c2a5
SM
44512011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * progmodes/octave-mod.el:
4454 * progmodes/octave-inf.el: Update maintainer.
4455
b1f6fa26
CY
44562011-10-26 Chong Yidong <cyd@gnu.org>
4457
4458 * subr.el (with-wrapper-hook): Rewrite doc.
4459
3f04efd6
MA
44602011-10-25 Michael Albinus <michael.albinus@gmx.de>
4461
4462 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4463 filenames "/method:foo:". (Bug#9793)
3f04efd6 4464
410488d3
SM
44652011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4468 (bug#9865).
4469
c1ebb47e
GM
44702011-10-24 Glenn Morris <rgm@gnu.org>
4471
4472 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4473
7f5c46c7
MA
44742011-10-24 Michael Albinus <michael.albinus@gmx.de>
4475
4476 * notifications.el: Add the requirement of a running D-Bus session
4477 bus to the Commentary.
4478
db2440b6
JL
44792011-10-24 Juri Linkov <juri@jurta.org>
4480
4481 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4482 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4483 (Bug#9364)
4484
feecf435
JL
44852011-10-24 Juri Linkov <juri@jurta.org>
4486
4487 * info.el (Info-following-node-name-re): Add newline to the list
4488 of allowed characters for leading space. (Bug#9824)
4489
a3839de2
SM
44902011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4491
acc825c5
SM
4492 * progmodes/octave-inf.el (inferior-octave-mode-map):
4493 Fix C-c C-h binding.
a3839de2
SM
4494 * progmodes/octave-mod.el (octave-help): Remove.
4495
09388e76
MA
44962011-10-23 Michael Albinus <michael.albinus@gmx.de>
4497
4498 Sync with Tramp 2.2.3.
4499
4500 * net/tramp-cache.el (top): Pacify byte-compiler using
4501 `init-file-user' and `site-run-file'.
4502
4503 * net/trampver.el: Update release number.
4504
86c60681
CY
45052011-10-23 Chong Yidong <cyd@gnu.org>
4506
4507 * files.el (toggle-read-only): Remove obsolete comment about
4508 version control.
4509
4510 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4511 for toggle-read-only. Note that this hasn't called vc-next-action
4512 since 2008-05-02, though it wasn't documented at the time.
4513
a3839de2
SM
4514 * vc/ediff-init.el (ediff-toggle-read-only-function):
4515 Use toggle-read-only.
86c60681 4516
cd5495ff
AM
45172011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4518
4519 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4520 of c-parse-state.
4521
00b77525 4522 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4523 correct faulty logical expression.
cd5495ff
AM
4524 (c-parse-state-state, c-record-parse-state-state):
4525 (c-replay-parse-state-state): New defvar/defuns.
4526 (c-debug-parse-state): Use new functions.
4527
42ee24ed
MR
45282011-10-22 Martin Rudalics <rudalics@gmx.at>
4529
4530 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4531 last fix. Use window-in-direction correctly.
42ee24ed 4532
a7dee7e7
CY
45332011-10-21 Chong Yidong <cyd@gnu.org>
4534
4535 * progmodes/idlwave.el (idlwave-mode):
4536 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4537 require-final-newline; that's done in prog-mode.
4538 Suggested by Stefan Monnier.
a7dee7e7 4539
e07b9a6d
MR
45402011-10-21 Martin Rudalics <rudalics@gmx.at>
4541
4542 * mouse.el (mouse-drag-window-above)
4543 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4544 (mouse-drag-mode-line-1, mouse-drag-header-line)
4545 (mouse-drag-vertical-line-rightward-window): Remove.
4546 (mouse-drag-line): New function.
4547 (mouse-drag-mode-line, mouse-drag-header-line)
4548 (mouse-drag-vertical-line): Call mouse-drag-line.
4549 * window.el (window-at-side-p, windows-at-side): New functions.
4550
7e1361d9
UM
45512011-10-21 Ulrich Mueller <ulm@gentoo.org>
4552
4553 * tar-mode.el (tar-grind-file-mode):
4554 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4555
30fcaf3a
CY
45562011-10-21 Chong Yidong <cyd@gnu.org>
4557
4558 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4559 * progmodes/vera-mode.el (vera-mode):
4560 Use mode-require-final-newline.
30fcaf3a 4561
516eddb0
GM
45622011-10-20 Glenn Morris <rgm@gnu.org>
4563
db22a3c2 4564 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4565
10d5f513
CS
45662011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4567
4568 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4569
ac6c8639
CY
45702011-10-20 Chong Yidong <cyd@gnu.org>
4571
4572 * emulation/cua-base.el (cua-mode):
4573 * mail/footnote.el (footnote-mode):
4574 * mail/mailabbrev.el (mail-abbrevs-mode):
4575 * net/xesam.el (xesam-minor-mode):
4576 * progmodes/bug-reference.el (bug-reference-mode):
4577 * progmodes/cap-words.el (capitalized-words-mode):
4578 * progmodes/compile.el (compilation-minor-mode)
4579 (compilation-shell-minor-mode):
4580 * progmodes/gud.el (gud-tooltip-mode):
4581 * progmodes/hideif.el (hide-ifdef-mode):
4582 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4583 * progmodes/subword.el (subword-mode):
4584 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4585 * progmodes/which-func.el (which-function-mode):
4586 * term/tvi970.el (tvi970-set-keypad-mode):
4587 * term/vt100.el (vt100-wide-mode):
4588 * textmodes/flyspell.el (flyspell-mode):
4589 * textmodes/ispell.el (ispell-minor-mode):
4590 * textmodes/nroff-mode.el (nroff-electric-mode):
4591 * textmodes/paragraphs.el (use-hard-newlines):
4592 * textmodes/refill.el (refill-mode):
4593 * textmodes/reftex.el (reftex-mode):
4594 * textmodes/rst.el (rst-minor-mode):
4595 * textmodes/sgml-mode.el (html-autoview-mode)
4596 (sgml-electric-tag-pair-mode):
4597 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4598 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4599 * emulation/crisp.el (crisp-mode):
4600 * emacs-lisp/eldoc.el (eldoc-mode):
4601 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4602 minor mode behavior.
4603
aa42ab43
JL
46042011-10-19 Juri Linkov <juri@jurta.org>
4605
4606 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4607 the list of hard-coded chars with escape-glyph face.
4608
89400f1d
SM
46092011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4612
305c07f6
MA
46132011-10-19 Michael Albinus <michael.albinus@gmx.de>
4614
4615 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4616 running process.
4617
13754b54
GM
46182011-10-19 Glenn Morris <rgm@gnu.org>
4619
4620 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4621 Ignore ignored files. (Bug#9726)
4622
06e21633
CY
46232011-10-19 Chong Yidong <cyd@gnu.org>
4624
4625 Doc fix for minor modes, stating that an omitted argument enables
4626 the mode unconditionally when called from Lisp.
4627
4628 * abbrev.el (abbrev-mode):
4629 * allout.el (allout-mode):
4630 * autoinsert.el (auto-insert-mode):
4631 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4632 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4633 (global-auto-revert-mode):
4634 * battery.el (display-battery-mode):
4635 * composite.el (global-auto-composition-mode)
4636 (auto-composition-mode):
4637 * delsel.el (delete-selection-mode):
4638 * desktop.el (desktop-save-mode):
4639 * dired-x.el (dired-omit-mode):
4640 * dirtrack.el (dirtrack-mode):
4641 * doc-view.el (doc-view-minor-mode):
4642 * double.el (double-mode):
4643 * electric.el (electric-indent-mode, electric-pair-mode):
4644 * emacs-lock.el (emacs-lock-mode):
4645 * epa-hook.el (auto-encryption-mode):
4646 * follow.el (follow-mode):
4647 * font-core.el (font-lock-mode):
4648 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4649 * help.el (temp-buffer-resize-mode):
4650 * hilit-chg.el (highlight-changes-mode)
4651 (highlight-changes-visible-mode):
4652 * hi-lock.el (hi-lock-mode):
4653 * hl-line.el (hl-line-mode, global-hl-line-mode):
4654 * icomplete.el (icomplete-mode):
4655 * ido.el (ido-everywhere):
4656 * image-file.el (auto-image-file-mode):
4657 * image-mode.el (image-minor-mode):
4658 * iswitchb.el (iswitchb-mode):
4659 * jka-cmpr-hook.el (auto-compression-mode):
4660 * linum.el (linum-mode):
4661 * longlines.el (longlines-mode):
4662 * master.el (master-mode):
4663 * mb-depth.el (minibuffer-depth-indicate-mode):
4664 * menu-bar.el (menu-bar-mode):
4665 * minibuf-eldef.el (minibuffer-electric-default-mode):
4666 * mouse-sel.el (mouse-sel-mode):
4667 * msb.el (msb-mode):
4668 * mwheel.el (mouse-wheel-mode):
4669 * outline.el (outline-minor-mode):
4670 * paren.el (show-paren-mode):
4671 * recentf.el (recentf-mode):
4672 * reveal.el (reveal-mode, global-reveal-mode):
4673 * rfn-eshadow.el (file-name-shadow-mode):
4674 * ruler-mode.el (ruler-mode):
4675 * savehist.el (savehist-mode):
4676 * scroll-all.el (scroll-all-mode):
4677 * scroll-bar.el (scroll-bar-mode):
4678 * server.el (server-mode):
4679 * shell.el (shell-dirtrack-mode):
4680 * simple.el (auto-fill-mode, transient-mark-mode)
4681 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4682 (line-number-mode, column-number-mode, size-indication-mode)
4683 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4684 * strokes.el (strokes-mode):
4685 * time.el (display-time-mode):
4686 * t-mouse.el (gpm-mouse-mode):
4687 * tool-bar.el (tool-bar-mode):
4688 * tooltip.el (tooltip-mode):
4689 * type-break.el (type-break-mode-line-message-mode)
4690 (type-break-query-mode):
4691 * view.el (view-mode):
4692 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4693 (global-whitespace-mode, global-whitespace-newline-mode):
4694 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4695
a3839de2
SM
4696 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4697 Fix autogenerated docstring.
06e21633 4698
5214e501
JL
46992011-10-19 Juri Linkov <juri@jurta.org>
4700
4701 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4702 by checking environment variables "DESKTOP_SESSION" and
4703 "XDG_CURRENT_DESKTOP". (Bug#9779)
4704
195f8db9
JL
47052011-10-19 Juri Linkov <juri@jurta.org>
4706
4707 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4708 (browse-url-chromium-program, browse-url-chromium-arguments):
4709 New defcustoms.
4710 (browse-url-default-browser): Check for `browse-url-chromium' and
4711 call `browse-url-chromium-program'.
4712 (browse-url-chromium): New command. (Bug#9779)
4713
343a34ff
JB
47142011-10-18 Juanma Barranquero <lekktu@gmail.com>
4715
4716 * facemenu.el (list-colors-duplicates): On Windows, detect more
4717 duplicates by assuming that only colors matching "^System" are
4718 special "system colors". (Bug#9722)
4719
6978a151
SM
47202011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4723 to distinguish the author from the committer.
4724
6a80b297
MA
47252011-10-18 Michael Albinus <michael.albinus@gmx.de>
4726
4727 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4728
b31a5677
JK
47292011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4730
4731 * international/mule.el (sgml-html-meta-auto-coding-function):
4732 Add support for detecting encoding in HTML5 specified only as
4733 <meta charset="UTF-8">. Implementation just makes http-equiv and
4734 content-type parts from HTML4 encoding string optional. (Bug#9716)
4735
80c6d77f
GM
47362011-10-18 Glenn Morris <rgm@gnu.org>
4737
4738 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4739
08b0fee8
CY
47402011-10-18 Chong Yidong <cyd@gnu.org>
4741
4742 * faces.el (cursor): Doc fix.
4743
67e729a5
CY
47442011-10-17 Chong Yidong <cyd@gnu.org>
4745
4746 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4747
343a34ff 47482011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4749
4750 * dirtrack.el (dirtrack): Support shell buffers with path
4751 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4752
0bc06380
TZ
47532011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4754
4755 * json.el: Bump version to 1.3 and note change in History.
4756 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4757
8b79f3e0
SM
47582011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4759
5a7c536b
SM
4760 * comint.el (comint-insert-input, comint-send-input)
4761 (comint-get-old-input-default, comint-backward-matching-input)
4762 (comint-next-prompt): Use nil instead of `input' for field property of
4763 past user input (bug#114).
4764
96a8a0df
SM
4765 * minibuffer.el (completion--replace): Inherit surrounding properties
4766 (bug#114).
4767 (minibuffer-complete-and-exit): Use it.
4768
8b79f3e0
SM
4769 * comint.el (comint--table-subvert): Quote the all-completions output
4770 (bug#9160).
4771
b8f7ff0d
MR
47722011-10-17 Martin Rudalics <rudalics@gmx.at>
4773
8b79f3e0 4774 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4775
b8f7ff0d 4776 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4777 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4778 entries and separate them from frame entries.
4779
c235b555
GM
47802011-10-15 Glenn Morris <rgm@gnu.org>
4781
4782 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4783 Doc fixes.
4784
6bbfa6e1
CY
47852011-10-15 Chong Yidong <cyd@stupidchicken.com>
4786
8b79f3e0
SM
4787 * net/network-stream.el (network-stream-open-starttls):
4788 Improve detection of failure due to lack of TLS support.
ec5c990d 4789
6bbfa6e1
CY
4790 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4791 putting the input text in front and in bold.
4792
98488977
SM
47932011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4794
3d1337be
SM
4795 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4796
ee0b45e4
SM
4797 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4798 empty buffer.
4799
98488977
SM
4800 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4801 unread-command-events rather than pushing yet-another event.
4802
186f4720
EZ
48032011-10-14 Eli Zaretskii <eliz@gnu.org>
4804
4805 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4806 the explanation of the possible choices. Make the options passed
4807 to completing-read shorter.
4808
8b7a997c
AM
48092011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4810
4811 * textmodes/flyspell.el (flyspell-large-region): Make sure
4812 extended character mode is used if defined (Bug#1339).
4813
12587bbb
EZ
48142011-10-13 Eli Zaretskii <eliz@gnu.org>
4815
4816 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4817 character info for LRE, LRO, RLE, and RLO characters by appending
4818 an invisible PDF.
12587bbb 4819
bad41229
SM
48202011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4823 even in case of error; add debug spec; simplify data flow.
4824 (with-timeout-handler): Remove.
4825
28dbc92f
MA
48262011-10-12 Michael Albinus <michael.albinus@gmx.de>
4827
4828 Fix Bug#6019, Bug#9315.
4829
4830 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4831 complete `buffer-file-name', the local file name part could look
4832 remotely (for example on VMS).
4833
4834 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4835 `tramp-run-real-handler'.
4836 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4837 already quoted by '"'.
4838
4839 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4840 Let `file-name-handler-alist' be nil, the local file name part
4841 could look remotely (for example on VMS).
4842
e1b0b23a
SM
48432011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4846 from here...
4847 (flyspell-post-command-hook): ...to here.
4848
a120bde9
SM
48492011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4852 if not needed.
4853 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4854 using completion. Protect against "slow" callers.
4855 Remove the "message hack".
4856
7ce7717b
JL
48572011-10-11 Juri Linkov <juri@jurta.org>
4858
4859 * isearch.el (isearch-lazy-highlight-word): New variable.
4860 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4861 Use it. (Bug#9727)
4862
c02ee9d6
GM
48632011-10-11 Glenn Morris <rgm@gnu.org>
4864
4865 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4866 like f90-previous-statement does.
4867
93e616fd 48682011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4869
1f190e73 4870 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4871 only in interactive use, to avoid error.
4872
af7b6078
SM
48732011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * minibuffer.el (completion-file-name-table): Fix last change,
4876 i.e. ignore normal errors but not the other ones.
4877
0563dae9
MR
48782011-10-10 Martin Rudalics <rudalics@gmx.at>
4879
4880 * window.el (special-display-buffer-names)
4881 (special-display-regexps): Remove some remnants of earlier
4882 changes from doc-strings.
366ca7f3
MR
4883 (quit-windows-on): New function.
4884
4885 * vc/vc.el (vc-revert, vc-rollback):
4886 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4887 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4888 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4889
49677495
MR
48902011-10-09 Martin Rudalics <rudalics@gmx.at>
4891
4892 * window.el (frame-auto-hide-function): Add version tag.
4893 (Bug#9699)
4894
56f2d1e1
MA
48952011-10-09 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4898 condition.
4899
112a6592
LL
49002011-10-09 Leo Liu <sdl.web@gmail.com>
4901
4902 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4903 (Bug#9701)
4904
0812589b
GM
49052011-10-08 Glenn Morris <rgm@gnu.org>
4906
4907 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4908 before the first code statement zero indent. (Bug#9690)
4909
b2b0776e
CY
49102011-10-08 Chong Yidong <cyd@stupidchicken.com>
4911
4912 * simple.el (count-words-region): Always count in the region.
4913 Report the number of lines and characters too.
4914 (count-words): New command, which counts in the buffer if the
4915 region is inactive, as count-words-region used to.
4916 (count-words--message): New function. Handle plurals.
4917 (count-lines-region): Make it an alias for count-words-region.
4918
4919 * bindings.el (esc-map): Replace count-lines-region with
4920 count-words-region.
4921
c557cd6b
MR
49222011-10-08 Martin Rudalics <rudalics@gmx.at>
4923
4924 * window.el (window--delete): Delete dedicated frame
4925 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4926 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4927
61a57ef4 49282011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4929
3a7d293b 4930 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4931
c3833279
CY
49322011-10-07 Chong Yidong <cyd@stupidchicken.com>
4933
4934 * bindings.el ([M-left],[M-right]): Bind to left-word and
4935 right-word respectively.
4936
21ce8245
GM
49372011-10-07 Glenn Morris <rgm@gnu.org>
4938
4939 * cus-start.el (debug-on-quit): Fix custom type.
4940
6d823bb2
LMI
49412011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4942
0181e193
LMI
4943 * subr.el (define-key-after): Clarify that the function is not
4944 useful for non-menu keymaps.
4945
6d823bb2
LMI
4946 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4947
8e3459ce 49482011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4949
21ce8245 4950 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4951 in current minibuffer (Fix bug with recursive minibuffers).
4952
a1c2d21e
CY
49532011-10-06 Chong Yidong <cyd@stupidchicken.com>
4954
4955 * progmodes/gdb-mi.el (gdb): Doc fix.
4956
5a4cf282
MR
49572011-10-05 Martin Rudalics <rudalics@gmx.at>
4958
4959 * window.el (frame-auto-hide-function): New option replacing
4960 frame-auto-delete. Suggested by Stefan Monnier.
4961 (window--delete): Call frame-auto-hide-function instead of
4962 investigating frame-auto-delete.
c96111ea
MR
4963 (window-point-1, set-window-point-1): New functions.
4964 (window-in-direction, record-window-buffer, window-state-get-1)
4965 (display-buffer-record-window): Use window-point-1 instead of
4966 window-point.
4967 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4968
9854542e
SM
49692011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4972
8943cfb0
GM
49732011-10-05 Glenn Morris <rgm@gnu.org>
4974
4975 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4976 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4977
647ab967
LL
49782011-10-05 Leo Liu <sdl.web@gmail.com>
4979
4980 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4981 works with buffer object.
4982
3ddfbced
SM
49832011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * mpc.el (mpc-tool-bar-map): Add labels.
4986
bdfa5dd2
GM
49872011-10-04 Glenn Morris <rgm@gnu.org>
4988
4989 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4990
0e2070b5
MR
49912011-10-04 Martin Rudalics <rudalics@gmx.at>
4992
4993 * window.el (window--delete): New function.
4994 (frame-auto-delete): Resuscitate option.
4995 (bury-buffer, replace-buffer-in-windows)
4996 (quit-window): Rewrite using window--delete.
4997 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4998 Pass display-buffer-mark-dedicated to window--display-buffer-2
4999 (Bug#9639).
5000
3dc61a09
SM
50012011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5002
915a9b64
SM
5003 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5004 returns a list (bug#9554). Add remote file name completion.
5005 * comint.el (comint--table-subvert): Curry and get quote&unquote
5006 functions as arguments.
5007 (comint--complete-file-name-data): Adjust call accordingly.
5008 * pcomplete.el (pcomplete--table-subvert): Remove.
5009 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5010
3dc61a09
SM
5011 * minibuffer.el (completion-table-case-fold): Use currying.
5012 (completion--styles-type, completion--cycling-threshold-type):
5013 New constants.
5014 (completion-styles, completion-category-overrides)
5015 (completion-cycle-threshold): Use them.
5016 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5017 completion-table-case-fold.
5018
8ea0a993
SB
50192011-10-03 Stephen Berman <stephen.berman@gmx.net>
5020
5021 * minibuffer.el (completion-category-overrides): Fix type of styles
5022 and add more user friendly tags (bug#9660).
5023
8c24b7f6
SM
50242011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5027 (mule-input-method-string): New widget.
5028 (default-input-method, language-info-custom-alist): Use it.
5029
428fe61a
SM
50302011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5031
32c1fffd
SM
5032 * pcomplete.el: Require comint.
5033 (pcomplete--common-suffix): Remove.
5034 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5035 (pcomplete--table-subvert): Sync with comint--table-subvert.
5036 (pcomplete--entries): Use comint-completion-file-name-table.
5037 * comint.el (comint-unquote-filename): Simplify.
5038 (comint-completion-file-name-table): New function (bug#9616).
5039 (comint--complete-file-name-data): Use it.
5040
428fe61a
SM
5041 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5042 (pcmpl-gnu-tar-buffer): Remove.
5043 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5044 around. Make sure pcomplete-suffix-list is only changed temporarily.
5045 Don't look inside the tar's file if it's too large.
428fe61a 5046
04c52e2f
CY
50472011-10-01 Chong Yidong <cyd@stupidchicken.com>
5048
ce3cefcc
CY
5049 * cus-edit.el (custom-mode-map):
5050 * epa.el (epa-key-list-mode-map):
5051 * man.el (Man-mode-map):
5052 * startup.el (splash-screen-keymap):
5053 * simple.el (special-mode-map): Use scroll-up-command and
5054 scroll-down-command.
5055
5056 * progmodes/idlw-help.el (idlwave-help-mode-map):
5057 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5058 * net/newst-plainview.el (newsticker-mode-map):
5059 * emulation/ws-mode.el (wordstar-mode-map):
5060 * emulation/vi.el (vi-com-map):
5061 * calc/calc-graph.el (calc-graph-show-dumb):
5062 * term/sun.el (terminal-init-sun):
5063 * term/ns-win.el (global-map):
5064 * progmodes/grep.el (grep-mode-map):
5065 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5066 * mail/rmail.el (rmail-mode-map):
5067 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5068
04c52e2f
CY
5069 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5070 custom-safe-themes as special.
5071
79adf8c8
JD
50722011-10-01 Julien Danjou <julien@danjou.info>
5073
5074 * notifications.el (notifications-notify): Fix docstring.
5075
63bd50d3
PS
50762011-10-01 Per Starbäck <per@starback.se>
5077
5078 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5079
199e4c7e
MR
50802011-09-30 Martin Rudalics <rudalics@gmx.at>
5081
5082 * startup.el (command-line-1): Fix last fix by inserting
5083 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5084 (Bug#9605) and (Bug#9636)
199e4c7e 5085
fe5f08dd
EZ
50862011-09-29 Eli Zaretskii <eliz@gnu.org>
5087
5088 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5089 window is hscrolled, move by logical lines. (Bug#9607)
5090 (line-move-visual): Update the doc string to the above effect.
5091
b5516bbd
MR
50922011-09-29 Martin Rudalics <rudalics@gmx.at>
5093
ccee00c0
MR
5094 * window.el (display-buffer-record-window): When WINDOW is the
5095 selected window use `point' instead of `window-point'. (Bug#9626)
5096
b5516bbd
MR
5097 * startup.el (command-line-1): Use insert-before-markers when
5098 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5099
b5516bbd
MR
5100 * help.el (help-window): Remove variable.
5101
52aa0014
GM
51022011-09-29 Glenn Morris <rgm@gnu.org>
5103
5104 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5105
df9a7357
JB
51062011-09-29 Juanma Barranquero <lekktu@gmail.com>
5107
5108 * descr-text.el (describe-char-categories): Accept category
5109 descriptions more than one line long.
5110
a8406c20
SM
51112011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5112
88d9610c
SM
5113 * simple.el (delete-trailing-whitespace): Fix last change.
5114
a5daf810
SM
5115 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5116 Don't confuse "y => 3" as the beginning of a `y' operation.
5117
a8406c20
SM
5118 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5119 object has more than 4 slots (bug#9613).
5120
a239d4e9
JB
51212011-09-28 Juanma Barranquero <lekktu@gmail.com>
5122
5123 * subr.el (with-output-to-temp-buffer):
5124 * net/quickurl.el (quickurl, quickurl-browse-url):
5125 Fix typos in docstrings.
5126
693fbdb6
EZ
51272011-09-27 Eli Zaretskii <eliz@gnu.org>
5128
5129 * minibuffer.el (completion-styles)
5130 (completion-category-overrides): Cross reference each other in doc
5131 strings.
5132
8b457e28
GM
51332011-09-27 Glenn Morris <rgm@gnu.org>
5134
5135 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5136 to split-string. (Bug#9606)
5137
85a16208
LMI
51382011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5139
5140 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5141 (bug#9615).
5142
502f9ebd
CY
51432011-09-27 Chong Yidong <cyd@stupidchicken.com>
5144
5145 * emacs-lisp/package.el (list-packages): Fix echo area message.
5146
7690bdea
LL
51472011-09-27 Leo Liu <sdl.web@gmail.com>
5148
5149 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5150
e2ee6f30
MA
51512011-09-25 Michael Albinus <michael.albinus@gmx.de>
5152
5153 * net/dbus.el (dbus-unregister-object): Don't release services for
5154 registered signals. (Bug#9581)
5155
f3f98342
TZ
51562011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5157
5158 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5159 function that picks between cfengine 2 and 3 support
5160 automatically. Update docs accordingly.
5161
dd7aa8dd
KH
51622011-09-22 Kenichi Handa <handa@m17n.org>
5163
5164 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5165 ZERO.
5166 (indian-itrans-v5-table-for-tamil): New variable.
5167 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5168
3f2b07f8
KM
51692011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5170
5171 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5172 that's true if the current command involved collapsing of text.
5173 It's reset to false at the beginning of the next command.
5174 (allout-post-command-business): Move the cursor to the beginning
5175 of entry if the cursor is hidden and collapsing activity just
5176 happened.
5177
371d6a61
CY
51782011-09-24 Chong Yidong <cyd@stupidchicken.com>
5179
5180 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5181 tracking (Bug#9541).
5182
2ac2721a
UJ
51832011-09-24 Ulf Jasper <ulf.jasper@web.de>
5184
5185 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5186 (newsticker-show-news): Automatically load html rendering package
5187 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5188 because w3m-fill-column is let-bound" and the error "Symbol's value
5189 as variable is void: w3m-fill-column".
2ac2721a 5190
fac7ae53
MA
51912011-09-24 Michael Albinus <michael.albinus@gmx.de>
5192
5193 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5194 Release services only if they are defined. (Bug#9581)
5195
e08b633b
RS
51962011-09-23 Richard Stallman <rms@gnu.org>
5197
e488d29c
RS
5198 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5199 distinguish start of paragraph from start of its text.
5200
19c38752
RS
5201 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5202
e08b633b
RS
5203 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5204 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5205 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5206
0a39f27e
AS
52072011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5208
5209 * international/mule-diag.el (mule-diag): Insert a newline after
5210 each fontset description.
5211
db4e950d
SM
52122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * simple.el (delete-trailing-whitespace):
5215 Document last change; simplify.
5216
eca3f3ea
PW
52172011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5218
d68e189a
PW
5219 * simple.el (delete-trailing-whitespace): Also delete
5220 extra newlines at the end of the buffer.
5221
eca3f3ea
PW
5222 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5223 (picture-newline): Use forward-line so as to ignore fields.
5224
01c157cc
SM
52252011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * subr.el (with-wrapper-hook): Fix edebug spec.
5228
022de23e
LMI
52292011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5230
5231 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5232 (bug#4538).
5233
91683089
MA
52342011-09-23 Michael Albinus <michael.albinus@gmx.de>
5235
eca3f3ea
PW
5236 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5237 Fix nasty bug using wrong cached values.
91683089 5238
5bdd6fa4
AM
52392011-09-23 Alan Mackenzie <acm@muc.de>
5240
5241 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5242
97adfb97
CY
52432011-09-23 Chong Yidong <cyd@stupidchicken.com>
5244
5245 * window.el (pop-to-buffer): Ensure right window is selected if we
5246 chose another frame.
5247
d4ef2b50
EZ
52482011-09-22 Eli Zaretskii <eliz@gnu.org>
5249
5250 * simple.el (what-cursor-position): Use get-char-property-change
5251 and next-single-char-property-change, to be able to show display
5252 properties that come from overlays as well as text properties.
5253
72258fe5
CY
52542011-09-22 Chong Yidong <cyd@stupidchicken.com>
5255
5256 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5257
5258 * cmuscheme.el (run-scheme, switch-to-scheme):
5259 * cus-edit.el (customize-group, custom-buffer-create)
5260 (customize-browse):
5261 * info.el (info):
5262 * shell.el (shell):
5263 * mail/sendmail.el (mail):
5264 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5265
8f098516
RS
52662011-09-22 Richard Stallman <rms@gnu.org>
5267
5268 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5269 move back only to line beg, don't move back over blank lines.
5270
e74f1bb6
MA
52712011-09-22 Michael Albinus <michael.albinus@gmx.de>
5272
5273 * files.el (copy-directory): Set directory attributes only in case
5274 they could be retrieved from the source directory. (Bug#9565)
5275
bfeef8b6
DK
52762011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5277
5278 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5279 (hs-find-block-beginning, hs-hide-level-recursive):
5280 Ignore strings as well as comments. (Bug#9502)
5281
7e423bb8
AS
52822011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5283
5284 * progmodes/sql.el (sql-comint-postgres):
5285 Convert port number to a string. (Bug#9566)
5286
b4d72fcf
MR
52872011-09-22 Martin Rudalics <rudalics@gmx.at>
5288
5289 * window.el (quit-window): Undedicate window when switching to
5290 previous buffer. Reported by Thierry Volpiatto
5291 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5292 (special-display-popup-frame): When popping up a new frame reset
5293 its previous buffers to nil. Simplify code.
b4d72fcf 5294
a7b88dc6
MA
52952011-09-21 Michael Albinus <michael.albinus@gmx.de>
5296
5297 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5298 and process filter, as done also in `shell-command'.
5299
cf4eacfd
MR
53002011-09-21 Martin Rudalics <rudalics@gmx.at>
5301
eca3f3ea 5302 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5303 Call set-window-start with NOFORCE argument t.
5304 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5305 (quit-window): Reword doc-string. Handle new format of
5306 quit-restore parameter. Don't delete window if it has a
5307 previous buffer we can show instead of the present one.
5308 (display-buffer-record-window): Rewrite using a new format for
5309 the quit-restore window parameter
5310 (special-display-popup-frame, display-buffer-same-window)
5311 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5312 (display-buffer-pop-up-window, display-buffer-use-some-window):
5313 Adapt symbol passed to display-buffer-record-window.
5314 * help.el (help-window-setup): Handle new format of quit-restore
5315 parameter.
5316
8d28cb95
SM
53172011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5318
94ab793f
SM
5319 * faces.el (face-list): Fix docstring (bug#9564).
5320
8d28cb95
SM
5321 * window.el (display-buffer--action-function-custom-type):
5322 Don't include internal functions in the Custom interface.
5323
3820edeb
JL
53242011-09-20 Juri Linkov <juri@jurta.org>
5325
5326 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5327 (Info-forward-node, Info-backward-node, Info-next-preorder)
5328 (Info-last-preorder): Use it. (Bug#9528)
5329
5147931d
JL
53302011-09-20 Juri Linkov <juri@jurta.org>
5331
5332 * info.el (Info-last-preorder): Visit last menu item only when
5333 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5334
cf499a1a
JD
53352011-09-20 Julien Danjou <julien@danjou.info>
5336
5337 * password-cache.el (password-cache-remove): Remove entries even if the
5338 value is nil, so that password with a nil value (negative caching) is
5339 possible to invalidate.
5340
f84e2fe2
LM
53412011-09-20 Lawrence Mitchell <wence@gmx.li>
5342
5343 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5344 all whitespace around breakpoint. (Bug#9553)
5345 (f90-find-breakpoint): Only break at whitespace inside a comment.
5346
78054a46
SM
53472011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * minibuffer.el (completion-file-name-table): Keep track of errors.
5350 (completion-table-with-predicate): Handle the case where pred1 is nil.
5351 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5352
345083b2
SM
53532011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5354
e24e27be
SM
5355 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5356 (debugger-return-value): Signal an error if the debugging context does
5357 not await any return value.
5358
345083b2
SM
5359 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5360 * image-mode.el (image-toggle-display-text)
5361 (image-toggle-display-image): Stay away from evil `intangible'.
5362
08d355e3
LL
53632011-09-19 Leo Liu <sdl.web@gmail.com>
5364
5365 * replace.el (occur-revert-arguments): Make it permanent-local.
5366 (occur-mode): Don't call font-lock-defontify.
5367
f01da43f
CY
53682011-09-19 Chong Yidong <cyd@stupidchicken.com>
5369
5370 * net/ldap.el (ldap-search-internal): Don't push empty search
5371 result (Bug#9508).
5372
b6072fa6
SM
53732011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5376
443d6696
MA
53772011-09-19 Michael Albinus <michael.albinus@gmx.de>
5378
5379 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5380 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5381
7cc6e154
JL
53822011-09-18 Juri Linkov <juri@jurta.org>
5383
5384 * buff-menu.el (Buffer-menu-mode-map):
5385 * dired.el (dired-mode-map):
5386 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5387 (lisp-interaction-mode-map):
5388 * emacs-lisp/package.el (package-menu-mode-map):
5389 * epa.el (epa-key-list-mode-map):
5390 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5391 (menu-bar-options-menu):
5392 * outline.el (outline-mode-menu-bar-map):
5393 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5394 * vc/vc-dir.el (vc-dir-menu-map):
5395 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5396 Capitalize non-function content words in menu item strings.
5397
5398 * dired.el (dired-mode-map): Add menu item for
5399 `image-dired-dired-toggle-marked-thumbs'.
5400
80302a81
JL
54012011-09-18 Juri Linkov <juri@jurta.org>
5402
5403 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5404 to `isearch-case-fold-search' and restore its original value
5405 after the `isearch-mode' call.
5406
46c5cf66
JL
54072011-09-18 Juri Linkov <juri@jurta.org>
5408
5409 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5410 because `zgrep' returns 1 for successful matches (bug#9226).
5411
d18b513b
JL
54122011-09-18 Juri Linkov <juri@jurta.org>
5413
5414 * info.el (Info-extract-menu-node-name): Check the second match
5415 for empty string (second test-case of bug#9528).
5416 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5417 intermediate nodes to the history (first test-case of bug#9528).
5418
72753f87
JL
54192011-09-18 Juri Linkov <juri@jurta.org>
5420
5421 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5422 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5423
c9384295
JL
54242011-09-18 Juri Linkov <juri@jurta.org>
5425
1154d12e
JB
5426 * info.el (Info-file-supports-index-cookies):
5427 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5428 outputs one more line for long file names (bug#4142).
c9384295 5429
d473dce8
CY
54302011-09-18 Chong Yidong <cyd@stupidchicken.com>
5431
5432 * newcomment.el (comment-normalize-vars): If prompting for
5433 comment-start, set comment-start-skip too (Bug#8424).
5434
2176854d
JB
54352011-09-18 Johan Bockgård <bojohan@gnu.org>
5436
5437 * icomplete.el: Fix previous fix of Bug#5849.
5438 (icomplete-mode): Don't set completion-show-inline-help.
5439 (icomplete-minibuffer-setup): Set completion-show-inline-help
5440 locally during icompletion.
5441
3aace4e4
CY
54422011-09-18 Chong Yidong <cyd@stupidchicken.com>
5443
c940224f
CY
5444 * woman.el (woman2-process-escapes): Don't delete unrecognized
5445 escapes (Bug#7843).
5446
3aace4e4
CY
5447 * files.el (inhibit-first-line-modes-regexps): Add image files.
5448 (hack-local-variables-prop-line): Return nil for malformed
5449 prop-lines (Bug#9044).
5450
710dec63
MA
54512011-09-18 Michael Albinus <michael.albinus@gmx.de>
5452
5453 * net/tramp.el (top): Don't require 'shell.
5454 (tramp-methods): Fix docstring.
5455 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5456 Return complete remote file name. Handle "smb" case.
5457 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5458 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5459
5460 * net/tramp-compat.el (top): Require 'shell.
5461
5462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5463 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5464 `tramp-current-host'.
5465 (tramp-get-remote-tmpdir): Remove.
5466
5467 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5468 `tramp-tmpdir' entries.
5469 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5470 (tramp-smb-handle-file-attributes): Ignore errors.
5471 (tramp-smb-wait-for-output): Check also for process end.
5472
5d5ac8ec
LMI
54732011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5474
5475 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5476 when sending QUIT (bug#9312).
5477
8c0f49f0
CY
54782011-09-17 Chong Yidong <cyd@stupidchicken.com>
5479
5480 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5481 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5482 occur-mode-display-occurrence.
5483 (occur-edit-mode): Add usage message.
5484 (occur-cease-edit): New command.
5485 (occur-after-change-function): Use text properties to find the
5486 position of the prefix text.
5487 (occur-engine): Set stickiness of prefix text properties.
5488
8f1383f7
GM
54892011-09-17 Glenn Morris <rgm@gnu.org>
5490
5491 * progmodes/etags.el (complete-tag):
5492 Fix call to completion-in-region. (Bug#9526)
5493
744ba0e3
JL
54942011-09-17 Juri Linkov <juri@jurta.org>
5495
5496 * textmodes/ispell.el (ispell-word): Add to the error message
5497 the word, ispell program name and current dictionary (bug#9121).
5498 (ispell-tex-arg-end): Capitalize "error" in the error message.
5499
d9bbf400
AS
55002011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5501
5502 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5503 check. (Bug#4251)
5504
8da11505
JL
55052011-09-17 Juri Linkov <juri@jurta.org>
5506
5507 * window.el (window-safe-min-height, window-safe-min-width):
5508 Fix typos (followup to bug#9522).
5509
a91adc7e
SJ
55102011-09-17 Sven Joachim <svenjoac@gmx.de>
5511
5512 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5513
064f328a
EZ
55142011-09-16 Eli Zaretskii <eliz@gnu.org>
5515
5516 * simple.el (line-move): If goal-column is set, move by logical
5517 lines, not by display lines. (Bug#971)
5518 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5519 to reflect the above change.
5520
e69df516
SM
55212011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * image.el (imagemagick-register-types): Use regexp-opt.
5524
cbb0f9ab
CY
55252011-09-15 Chong Yidong <cyd@stupidchicken.com>
5526
5527 * window.el (display-buffer-base-action): Rename from
5528 display-buffer-default-action. Make default value empty.
5529 (display-buffer-overriding-action): Convert to defvar.
5530 (display-buffer-fallback-action): New var.
5531
25322144
CY
55322011-09-15 Chong Yidong <cyd@stupidchicken.com>
5533
5534 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5535 declaration.
5536 (package--add-to-archive-contents): If there is a duplicate entry
5537 with an older version, remove it.
5538 (package-menu-mark-delete, package-menu-mark-install)
5539 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5540 (package-menu-mark-obsolete-for-deletion):
5541 Use package-menu-get-status instead of a regexp search.
25322144
CY
5542 (package-menu-get-status): Use tabulated-list-entry.
5543 (package-menu-mark-upgrades): New command.
d770725a 5544 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5545 (package-menu-execute): Do installation before deletion.
5546 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5547 instead of checking major-mode.
5548 (package-menu--find-upgrades): New function.
5549
7520339c
LMI
55502011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5551
5552 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5553 passwords in the log buffer.
65a046c4
LMI
5554 (smtpmail-process-filter): Update the process marker so that the
5555 "broken by peer" status message is inserted in the right place.
7520339c 5556
d3c30954
SM
55572011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5558
3fe48822
SM
5559 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5560 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5561 bibtex-completion-at-point-function.
5562 (bibtex-completion-at-point-function): Use them.
5563
1b8b3954
SM
5564 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5565
d3c30954
SM
5566 * mpc.el (mpc-constraints-tag-lookup): New function.
5567 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5568 also to browser "album|playlist".
5569
72779976
JL
55702011-09-14 Juri Linkov <juri@jurta.org>
5571
5572 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5573 (isearch-edit-string): Use length of `isearch-string' when
5574 `isearch-fail-pos' returns nil.
5575 (isearch-message): Remove duplicate code and call
5576 `isearch-fail-pos' with arg `t'.
5577
a0bf2bcd
CY
55782011-09-14 Chong Yidong <cyd@stupidchicken.com>
5579
17bb0a2d
CY
5580 * replace.el (occur-mode-goto-occurrence): Don't force using other
5581 window (Bug#9499).
5582
a0bf2bcd
CY
5583 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5584
f678e0b6
MR
55852011-09-14 Martin Rudalics <rudalics@gmx.at>
5586
5587 * window.el (display-buffer-window): Remove.
5588 (display-buffer-record-window): Use help-setup window parameter
5589 instead of variable display-buffer-window.
5590 (display-buffer-function, special-display-buffer-names)
5591 (special-display-function): Mention help-setup parameter instead
5592 of display-buffer-window in doc-string.
d3c30954
SM
5593 * help.el (help-window-setup): New argument help-window.
5594 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5595 Reword some messages.
5596 (with-help-window): Pass window used for displaying the buffer
5597 to help-window-setup. Don't set display-buffer-window.
5598
8e39b2e8
GM
55992011-09-13 Glenn Morris <rgm@gnu.org>
5600
5601 * emacs-lisp/debug.el (debugger-make-xrefs):
5602 Preserve point. (Bug#9462)
5603
85e9c04b
CY
56042011-09-13 Chong Yidong <cyd@stupidchicken.com>
5605
5606 * window.el (window-deletable-p): Use next-frame.
5607
1b36ed6a
MR
56082011-09-13 Martin Rudalics <rudalics@gmx.at>
5609
5610 * window.el (window-auto-delete): Remove.
5611 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5612 dedication and previous buffers.
1b36ed6a
MR
5613 (switch-to-prev-buffer): Don't delete window.
5614 (delete-windows-on): Delete a window's frame if and only if the
5615 window is dedicated.
5616 (replace-buffer-in-windows): Delete buffer's window or frame if
5617 and only if window is dedicated.
5618 (quit-window): Handle quit-restore as before last change.
4d61f28d 5619 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5620
ef8ef9fb
CY
56212011-09-13 Chong Yidong <cyd@stupidchicken.com>
5622
5623 * window.el (window-deletable-p): Never delete the last frame on a
5624 given terminal.
5625
b2cba41e
GM
56262011-09-13 Glenn Morris <rgm@gnu.org>
5627
5628 * help.el (describe-key-briefly): Copy previous standard-output change.
5629
51553db6 56302011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5631
5632 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5633
b7556719
GM
56342011-09-13 Glenn Morris <rgm@gnu.org>
5635
5636 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5637 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5638
64b51947
CY
56392011-09-12 Chong Yidong <cyd@stupidchicken.com>
5640
5641 * dired-aux.el (dired-mark-read-string): Don't return default
5642 value on empty input (Bug#9361).
5643 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5644 Omit initial minibuffer contents.
5645 (dired-do-chmod): Signal an error on empty input.
5646 (dired-mark-read-string): Don't return default on empty input.
5647
5648 * files.el (file-modes-symbolic-to-number): Doc fix.
5649
393a301e
SM
56502011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * international/mule-cmds.el (ucs-completions): Remove.
5653 (read-char-by-name): Use complete-with-action instead; add metadata.
5654
fa5660f9
CY
56552011-09-11 Chong Yidong <cyd@stupidchicken.com>
5656
5657 * window.el (display-buffer--action-function-custom-type)
5658 (display-buffer--action-custom-type): New vars.
5659 (display-buffer-alist, display-buffer-default-action)
5660 (display-buffer-overriding-action): Add defcustom types.
5661
4a592f66
CY
5662 * frame.el (delete-other-frames): Doc fix (Bug#276).
5663
73d56dbd
LMI
56642011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5665
5666 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5667
37ac18a3
CY
56682011-09-11 Chong Yidong <cyd@stupidchicken.com>
5669
5670 Change modes that used same-window-* vars to use switch-to-buffer.
5671
5672 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5673 Use switch-to-buffer.
5674
5675 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5676 (customize-browse, custom-buffer-create-other-window):
5677 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5678
5679 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5680 (Info-prev, Info-up, Info-speedbar-goto-node)
5681 (info-display-manual): Use switch-to-buffer.
5682 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5683
5684 * mail/sendmail.el (mail): Use switch-to-buffer.
5685 (mail-recover): Use switch-to-buffer-other-window.
5686
5687 * cmuscheme.el (run-scheme, switch-to-scheme):
5688 * ielm.el (ielm):
5689 * shell.el (shell):
5690 * net/rlogin.el (rlogin):
5691 * net/telnet.el (telnet, rsh):
5692 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5693
10195bd6
AS
56942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5695
5696 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5697
b322f63a
LMI
56982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5699
39d7fed6
LMI
5700 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5701 so don't mention it (bug#9301).
ba5a81f1 5702 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5703
ee0e9f11
LMI
5704 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5705 match `x', `w32' and `ns', like the manual says (bug#9029).
5706
0b1c89c1 5707 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5708 (process-kill-buffer-query-function): Mention the buffer name in
5709 the query.
0b1c89c1 5710
77549ea8
LMI
5711 * image-mode.el (image-next-line): The line parameter is mandatory
5712 (bug#9258).
5713
803ef892
LMI
5714 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5715 which can be useful (bug#9301).
5716
12980837
LMI
5717 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5718
91054f8f
LMI
5719 * subr.el (match-string): Mention that the current buffer should
5720 be the same as the search was done in (bug#9282).
5721
b322f63a
LMI
5722 * facemenu.el: Disable the remove-* commands if the mark isn't
5723 active (bug#9162).
5724
3199b96f
CY
57252011-09-10 Chong Yidong <cyd@stupidchicken.com>
5726
5727 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5728 of display-buffer.
5729 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5730
5731 * replace.el (occur-mode-goto-occurrence)
5732 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5733 and display-buffer.
5734
5735 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5736 display-buffer.
5737
5738 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5739 special-display and same-window variables.
5740 (mail-other-window): Use switch-to-buffer-other-window.
5741 (mail-other-frame): USe switch-to-buffer-other-frame.
5742
393a301e
SM
5743 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5744 Use display-buffer-other-frame.
3199b96f
CY
5745 (gdb-display-gdb-buffer): Use pop-to-buffer.
5746
5747 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5748
5749 * progmodes/python.el: Don't set same-window-buffer-names.
5750
5751 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5752
5753 * window.el (display-buffer-alist): Add *Python*.
5754
8319e0bf
CY
57552011-09-10 Chong Yidong <cyd@stupidchicken.com>
5756
5757 * window.el (display-buffer-alist): Add entry for buffers
5758 previously handled same-window-*.
5759 (display-buffer-alist, display-buffer-default-action)
5760 (display-buffer-overriding-action): Mark as risky.
5761 (display-buffer-alist): Document action function changes.
5762 (display-buffer--same-window-action)
5763 (display-buffer--other-frame-action): New variables.
5764 (switch-to-buffer, display-buffer-other-frame): Use them.
5765 (display-buffer): Rename reuse-frame entry to reusable-frames.
5766 (display-buffer-reuse-selected-window): Function deleted.
5767 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5768 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5769 (display-buffer-special): New function.
5770 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5771 display-buffer-reuse-or-pop-window. Split off special-display
5772 part into display-buffer-special.
5773 (display-buffer-use-some-window): Don't perform any special
5774 pop-up-frames handling.
5775 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5776 (display-buffer--maybe-same-window): Rename from
0d3ff375 5777 display-buffer-maybe-same-window.
8319e0bf 5778
919a69aa
CY
5779 * info.el: Don't set same-window-regexps.
5780 (info-setup): New function.
5781 (info-other-window, info): Call it.
5782
5783 * cus-edit.el: Don't set same-window-regexps.
5784 (customize-group): New argument.
5785 (customize-group-other-window): Use it.
5786 (customize-face, customize-face-other-window): Likewise.
5787 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5788
8319e0bf
CY
5789 * net/rlogin.el:
5790 * net/telnet.el:
5791 * progmodes/gud.el: Don't set same-window-regexps.
5792
5793 * cmuscheme.el:
5794 * ielm.el:
5795 * shell.el:
5796 * mail/sendmail.el:
5797 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5798
25173000
JL
57992011-09-10 Juri Linkov <juri@jurta.org>
5800
5801 * isearch.el (isearch-edit-string): Remove obsolete mention of
5802 `C-w' (`isearch-yank-word-or-char') from docstring.
5803 (isearch-query-replace): Fix typo in docstring (bug#9466).
5804
056e44ef
JL
58052011-09-10 Juri Linkov <juri@jurta.org>
5806
5807 * paren.el (show-paren-function): Don't show escaped parens.
5808 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5809
c3760c17
EZ
58102011-09-10 Eli Zaretskii <eliz@gnu.org>
5811
5812 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5813 (mm-default-file-encoding): Remove autoload forms, they are
5814 replaced with autoload cookies in mml.el and mm-encode.el.
5815 (mail-add-attachment): New command.
5816 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5817 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5818 the doc string.
5819 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5820
fece895e
RT
58212011-09-10 Reuben Thomas <rrt@sc3d.org>
5822
e69df516
SM
5823 * simple.el (count-words-region): Use buffer if there's no region
5824 (bug#9429).
fece895e 5825
5e68ce4a
JL
58262011-09-09 Juri Linkov <juri@jurta.org>
5827
5828 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5829 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5830 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5831
0a6b9622
AM
58322011-09-09 Alan Mackenzie <acm@muc.de>
5833
5834 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5835 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5836
14a29deb
EZ
58372011-09-09 Eli Zaretskii <eliz@gnu.org>
5838
5839 Fix for Savannah bug#9392.
5840 * simple.el (mail-encode-mml): New defvar.
5841
5842 * mail/rmail.el (mail-encode-mml): Add a defvar.
5843 (rmail-enable-mime-composing): Default to t.
5844 (rmail-forward): Use MIME method of forwarding only if both
5845 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5846 Set mail-encode-mml non-nil if the MIME method was used.
5847
5848 * mail/sendmail.el (mml-to-mime): Add autoload form.
5849 (mail-encode-mml): Add a defvar.
5850 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5851 to nil.
5852 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5853 message through mml-to-mime, and reset mail-encode-mml to nil.
5854
28c45130
GM
58552011-09-09 Glenn Morris <rgm@gnu.org>
5856
5857 * woman.el (woman-if-body): When processing an .el block,
5858 do not delete the next .el block as well. (Bug#9447)
69f4b618 5859 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5860
9b1c252e
MR
58612011-09-08 Martin Rudalics <rudalics@gmx.at>
5862
5863 * window.el (window-deletable-p): Make sure window is live before
5864 invoking window-prev-buffers.
5865
567457e3
LL
58662011-09-08 Leo Liu <sdl.web@gmail.com>
5867
5868 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5869
97f05794
JL
58702011-09-08 Juri Linkov <juri@jurta.org>
5871
5872 * progmodes/compile.el (compilation-environment): Make it
5873 a defcustom (bug#8340).
5874
8b0874b5
MR
58752011-09-08 Martin Rudalics <rudalics@gmx.at>
5876
5877 * window.el (frame-auto-delete): Rename to window-auto-delete.
5878 Make it control auto-deletion of windows and/or frames.
5879 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5880 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5881 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5882 Rewrite handling of case when window/frame can be deleted.
5883 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5884 argument t. (Bug#9456)
8b0874b5 5885
4feb6e73
CY
58862011-09-07 Chong Yidong <cyd@stupidchicken.com>
5887
5888 * help-mode.el (help-mode): Restore autoload.
5889
91ab9c13
JL
58902011-09-07 Juri Linkov <juri@jurta.org>
5891
5892 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5893 `compilation-environment'. Set buffer-local
5894 `compilation-environment' to `thisenv' later after (funcall mode).
5895 (Bug#8340)
5896
5897 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5898 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5899 instead of replacing its value. (Bug#8340)
5900
0527e251
JL
59012011-09-07 Juri Linkov <juri@jurta.org>
5902
5903 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5904 based on text properties put by `grep-filter' instead of matching
5905 escape sequences.
5906 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5907 to the value of `grep-error-screen-columns' (bug#9438).
5908
249f792c
JL
59092011-09-07 Juri Linkov <juri@jurta.org>
5910
5911 * simple.el (next-error-highlight, next-error-highlight-no-select):
5912 Doc fix (bug#9432).
5913
ff7271b9
OT
59142011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5915
5916 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5917 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5918
183fc730
LL
59192011-09-07 Leo Liu <sdl.web@gmail.com>
5920
5921 * net/rcirc.el (rcirc-mode): Conditionally initialize
5922 rcirc-input-ring.
5923
77694924
SM
59242011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * emacs-lisp/find-func.el (find-function-C-source): Only set
5927 find-function-C-source-directory after checking that we found a source
5928 file there (bug#9440).
5929
d809b8eb
AM
59302011-09-06 Alan Mackenzie <acm@muc.de>
5931
5932 * isearch.el (isearch-other-meta-char): Wherever a key list is
5933 unread, "unread" the prefix arg, too. This fixes bug #8901.
5934
453de99f
OG
59352011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5936
5937 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5938
90439906
JL
59392011-09-05 Juri Linkov <juri@jurta.org>
5940
5941 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5942
f62bd846
JL
59432011-09-05 Juri Linkov <juri@jurta.org>
5944
5945 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5946 keeping point where processing of grep matches begins, and
5947 continue to delete remaining escape sequences from the same point.
5948 (grep-filter): Make leading zero optional in "0?1;31m" because
5949 git-grep emits "\033[1;31m" escape sequences unlike expected
5950 "\033[01;31m" as GNU Grep does (bug#9408).
5951 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5952
045820ec
JL
59532011-09-05 Juri Linkov <juri@jurta.org>
5954
5955 * subr.el (y-or-n-p): Capitalize "yes".
5956
f5e29b9b
MA
59572011-09-04 Michael Albinus <michael.albinus@gmx.de>
5958
5959 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5960 `tramp-cache-unload-hook' where appropriate.
5961 (tramp-methods): Rename `tramp-remote-sh' to
5962 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5963 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5964
5965 * net/tramp-sh.el (top): Don't require 'shell.
5966 (tramp-methods): Add `tramp-remote-shell' and
5967 `tramp-remote-shell-args' entries.
5968 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5969 (tramp-sh-handle-shell-command): Remove.
5970 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5971 Use `tramp-remote-shell'.
5972
2784c434
CY
59732011-09-03 Chong Yidong <cyd@stupidchicken.com>
5974
393a301e 5975 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5976 (sendmail-query-once): Save directly to send-mail-function.
5977 Update message-send-mail-function too.
5978
5979 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5980
464cdf56
CS
59812011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5982
5983 * progmodes/python.el (python-mode-map): Use correct function to
5984 start python interpreter from menu-bar (as reported by Geert
5985 Kloosterman).
5986 (inferior-python-mode-map): Fix typo.
393a301e 5987 (python-shell-map): Remove.
464cdf56 5988
d37e5c87
DD
59892011-09-03 Deniz Dogan <deniz@dogan.se>
5990
5991 * net/rcirc.el (rcirc-print): Simplify code for
5992 rcirc-scroll-show-maximum-output. There is no need to walk
5993 through all windows to find the right one.
5994
f3ada0ee
CS
59952011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5996
5997 * help.el (help-return-method): Doc fix.
5998
1f3c99ca
MR
59992011-09-03 Martin Rudalics <rudalics@gmx.at>
6000
6001 * window.el (window-deletable-p): Don't return a non-nil value
6002 when there's a buffer that was shown in the window before.
6003 (Bug#9419)
393a301e
SM
6004 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6005 Set window's previous buffers to nil.
1f3c99ca 6006
a3cf097f
EZ
60072011-09-03 Eli Zaretskii <eliz@gnu.org>
6008
6009 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6010 newline before and after the tag line, so it doesn't interfere
6011 with determining the paragraph direction of bidirectional text.
6012
3d03de90
LL
60132011-09-03 Leo Liu <sdl.web@gmail.com>
6014
6015 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6016
c3313451
CY
60172011-09-02 Chong Yidong <cyd@stupidchicken.com>
6018
393a301e 6019 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6020 (pop-to-buffer): Change interactive spec. Pass second argument
6021 directly to display-buffer.
6022 (display-buffer): Fix interactive spec. Use functionp to
6023 distinguish between a function and a list of functions.
6024
6025 * abbrev.el (edit-abbrevs):
6026 * arc-mode.el (archive-extract):
6027 * autoinsert.el (auto-insert):
6028 * bookmark.el (bookmark-bmenu-list):
6029 * files.el (find-file):
6030 * view.el (view-buffer):
6031 * progmodes/compile.el (compilation-goto-locus):
6032 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6033
89894cd8
CY
60342011-09-02 Chong Yidong <cyd@stupidchicken.com>
6035
6036 * window.el (display-buffer-alist): Doc fix.
6037 (display-buffer): Add docstring. Don't treat
6038 display-buffer-default specially.
6039 (display-buffer-reuse-selected-window)
6040 (display-buffer-same-window, display-buffer-maybe-same-window)
6041 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6042 (display-buffer-pop-up-window)
6043 (display-buffer-reuse-or-pop-window)
6044 (display-buffer-use-some-window): New functions.
6045 (display-buffer-default-action): Use them.
393a301e 6046 (display-buffer-default): Delete.
89894cd8
CY
6047 (pop-to-buffer-1): Fix choice of actions.
6048
ae0bc9fb
SM
60492011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * minibuffer.el (completion--insert-strings): Don't get confused by
6052 completion entries that end with an LF char.
6053
e9d90883
EZ
60542011-09-01 Eli Zaretskii <eliz@gnu.org>
6055
6056 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6057
437014c8
CY
60582011-09-01 Chong Yidong <cyd@stupidchicken.com>
6059
6060 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6061 (display-buffer-same-window, display-buffer-other-window):
6062 New functions.
437014c8
CY
6063 (pop-to-buffer-1): New function. Use the above.
6064 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6065 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6066
6067 * view.el (view-buffer-other-window, view-buffer-other-frame):
6068 Just use pop-to-buffer.
6069
a5e063d5
TV
60702011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6071
6072 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6073
793d32bb
WH
60742011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6075
6076 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6077
d65e4c15
RS
60782011-08-31 Richard Stallman <rms@gnu.org>
6079
6080 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6081 of the separation of rmail-view-buffer from rmail-buffer.
6082 If you say no to "replace original", the decrypt is in the
6083 view buffer. If you say yes, the decrypt goes into the
6084 rmail buffer also.
6085
f818cd2a
MR
60862011-08-31 Martin Rudalics <rudalics@gmx.at>
6087
6088 * window.el (display-buffer-window): Rewrite doc-string.
6089 (display-buffer-record-window): New function.
6090 (display-buffer-macro-specifiers)
6091 (display-buffer-even-window-sizes, display-buffer-set-height)
6092 (display-buffer-set-width, display-buffer-in-window)
6093 (display-buffer-reuse-window, display-buffer-split-specifiers)
6094 (display-buffer-side-specifiers, display-buffer-split-window-1)
6095 (display-buffer-split-window, display-buffer-split-atom-window)
6096 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6097 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6098 (display-buffer-other-window-means-other-frame)
6099 (display-buffer-normalize-special)
6100 (display-buffer-normalize-default)
6101 (display-buffer-normalize-argument)
6102 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6103 (display-buffer-normalize-specifiers, display-buffer-frame)
6104 (display-buffer-same-window, display-buffer-same-frame)
6105 (display-buffer-other-window)
6106 (display-buffer-same-frame-other-window)
6107 (display-buffer-other-frame, pop-to-buffer-same-window)
6108 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6109 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6110 (switch-to-buffer-same-frame)
6111 (switch-to-buffer-other-window-same-frame)
6112 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6113 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6114 (display-buffer-alist-set): Remove.
6115 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6116 (special-display-regexps, special-display-function):
6117 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6118 parameter.
6119 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6120 (special-display-frame-alist, special-display-popup-frame)
6121 (same-window-buffer-names, same-window-regexps, same-window-p)
6122 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6123 (split-window-preferred-function, split-height-threshold)
6124 (split-width-threshold, window-splittable-p)
6125 (split-window-sensibly, window--try-to-split-window)
6126 (window--frame-usable-p, even-window-heights)
6127 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6128 (window--display-buffer-2, display-buffer-other-frame):
6129 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6130 (display-buffer-default, display-buffer-assq-regexp): New functions.
6131 (display-buffer-alist): Rewrite doc-string.
6132 (display-buffer-default-action)
6133 (display-buffer-overriding-action): New variables.
6134 (display-buffer, switch-to-buffer): Rewrite.
6135 (pop-to-buffer): Restore Emacs 23 behavior but use
6136 window-normalize-buffer-to-display.
6137 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6138 Restore Emacs 23 behavior but use
6139 window-normalize-buffer-to-switch-to.
6140 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6141 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6142 Rewrite using Emacs 23 options.
f818cd2a 6143
5bc3b51d
MA
61442011-08-31 Michael Albinus <michael.albinus@gmx.de>
6145
6146 * net/tramp.el (tramp-root-regexp): Remove.
6147 (tramp-completion-file-name-regexp-unified)
6148 (tramp-completion-file-name-regexp-separate)
6149 (tramp-completion-file-name-regexp-url): Don't use leading volume
6150 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6151 (tramp-drop-volume-letter): Simplify definition.
6152 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6153
b1a4f8e1
SM
61542011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6157 (bug#9356).
6158
5664fa7b
RT
61592011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6160
b1a4f8e1 6161 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6162
9a45d6c3
JL
61632011-08-29 Juri Linkov <juri@jurta.org>
6164
6165 * isearch.el (isearch-done): Don't display message "Mark saved"
6166 when arg `edit' is non-nil to prevent its flicker in the echo area.
6167
fb87e0fb
CY
61682011-08-28 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6171 obsolete packages for deletion.
6172
09ac1c2a
CS
61732011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6174
6175 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6176 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6177 view-mode from help-mode.
6178 (help-xref-override-view-map): Remove.
6179 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6180 view-mode is not used anymore.
6181
7a1ff57f
CY
61822011-08-28 Chong Yidong <cyd@stupidchicken.com>
6183
6184 * server.el (server-port): Doc fix.
6185
b9696605
CY
6186 * cus-theme.el (custom-theme-choose-mode): Inherit from
6187 special-mode (Bug#9124).
6188 (custom-theme-choose-mode-map): Add special-mode to parent.
6189
ef8cdf8c
AM
61902011-08-28 Alan Mackenzie <acm@muc.de>
6191
6192 * progmodes/cc-fonts.el
6193 (c-make-font-lock-BO-decl-search-function): New function.
6194 (c-basic-matchers-after - "Fontify the clauses after various
6195 keywords"): Extract the three keyword lists for the 3 erroneous
6196 constructs from the list of four, and use the new function above
6197 in place of an old one.
6198
27de4e20
DD
61992011-08-28 Deniz Dogan <deniz@dogan.se>
6200
6201 * net/rcirc.el (rcirc-insert-prev-input)
6202 (rcirc-insert-next-input): Remove unused argument.
6203
356a3681
SM
62042011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6207
3fc9b218
AM
62082011-08-27 Alan Mackenzie <acm@muc.de>
6209
6210 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6211 handle function pointer parameters properly.
6212
538a061c
MR
62132011-08-27 Martin Rudalics <rudalics@gmx.at>
6214
6215 * window.el (display-buffer-reuse-window): Fix case where
6216 selected window was reused with non-nil OTHER-WINDOW argument.
6217 (Bug#9381)
6218
35b1c40c
DD
62192011-08-27 Deniz Dogan <deniz@dogan.se>
6220
6221 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6222 oftc's NickServ messages.
6223
2f6a3e79
GM
62242011-08-27 Glenn Morris <rgm@gnu.org>
6225
6226 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6227
7254299e
CY
62282011-08-26 Chong Yidong <cyd@stupidchicken.com>
6229
6230 * emacs-lisp/package.el (package-install): Call package-initialize
6231 if called interactively.
6232
f8ccf167
LL
62332011-08-26 Leo Liu <sdl.web@gmail.com>
6234
6235 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6236
3e8cd5ce
JL
62372011-08-25 Juri Linkov <juri@jurta.org>
6238
6239 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6240 `search-whitespace-regexp' (bug#9364).
6241
93eb7113
JL
62422011-08-25 Juri Linkov <juri@jurta.org>
6243
6244 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6245 `regexp-search-ring' to their global values to protect from
6246 updating by `read-from-minibuffer' (bug#9185).
6247
f65d1611
JL
62482011-08-25 Juri Linkov <juri@jurta.org>
6249
6250 * textmodes/ispell.el (ispell-command-loop): Add newline
6251 at the end of the "Use option `i'..." line.
6252
f1cf7a31
JL
62532011-08-25 Juri Linkov <juri@jurta.org>
6254
6255 * battery.el (display-battery-mode): If `battery-status-function'
6256 or `battery-mode-line-format' is nil, display the message and set
6257 `display-battery-mode' to nil (bug#9363).
6258
0c95fcf7
EZ
62592011-08-25 Eli Zaretskii <eliz@gnu.org>
6260
6261 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6262 bidi-string-mark-left-to-right; they are unnecessary now.
6263
a2ebe600
DD
62642011-08-25 Deniz Dogan <deniz@dogan.se>
6265
6266 * net/quickurl.el: Documentation typo fixes.
6267
e4ed06f1
CY
62682011-08-25 Chong Yidong <cyd@stupidchicken.com>
6269
6270 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6271
e5f1c99e
GM
62722011-08-25 Glenn Morris <rgm@gnu.org>
6273
b2948976
GM
6274 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6275
e5f1c99e
GM
6276 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6277 (smtpmail-via-smtp): Handle nil response from smtp.
6278
f22f4808
JL
62792011-08-24 Juri Linkov <juri@jurta.org>
6280
6281 * proced.el (proced-marked): Inherit from `error' instead of
6282 `font-lock-warning-face'.
6283
6284 * ibuffer.el (ibuffer-marked-face): Change default face from
6285 `font-lock-warning-face' to `warning'.
6286 (ibuffer-deletion-face): Change default face from
6287 `font-lock-type-face' to `error'.
6288
6289 * battery.el (battery-update): Use the face `error' instead of
6290 `font-lock-warning-face' (bug#6117).
6291
6a93965e
JL
62922011-08-24 Juri Linkov <juri@jurta.org>
6293
6294 * faces.el (success): Change face color from "Green3" to
6295 "ForestGreen" on light background (bug#9353).
6296
1ed43b09
CY
62972011-08-24 Chong Yidong <cyd@stupidchicken.com>
6298
5664fa7b
RT
6299 * window.el (quit-window): Rename from quit-restore-window.
6300 Use same arglist as old quit-window.
1ed43b09
CY
6301 (frame-auto-delete): Doc fix.
6302
6303 * view.el (view-mode-exit): Use quit-window.
6304
11dcdbb2
JL
63052011-08-24 Juri Linkov <juri@jurta.org>
6306
6307 * isearch.el (isearch-ring-adjust1): Start visiting previous
6308 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6309 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6310 for empty search string (when the last search string is reused
6311 automatically) to adjust the isearch ring to the last element and
6312 prepare the correct index for further M-p commands (bug#9185).
6313
de62b4df
KH
63142011-08-24 Kenichi Handa <handa@m17n.org>
6315
6316 * international/ucs-normalize.el: If decomposition property of
6317 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6318 nil.
6319 (nfd, nfkd): Likewise.
6320
963b492b
SM
63212011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6324 from process filters aren't reliably transmitted to the surrounding
6325 accept-process-output.
6326 (mpc-proc-check): New function.
6327 (mpc-proc-sync): Use it (bug#8293)
6328
93b6b5e1
SM
63292011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6332 Add compatibility functions (bug#9313).
6333
bca633fb
EZ
63342011-08-23 Eli Zaretskii <eliz@gnu.org>
6335
b177498a
EZ
6336 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6337
6df6ae42 6338 * international/uni-bidi.el: Regenerate.
bca633fb 6339
0902a04e
KH
63402011-08-23 Kenichi Handa <handa@m17n.org>
6341
6342 * international/charprop.el:
6343 * international/uni-bidi.el:
6344 * international/uni-category.el:
6345 * international/uni-combining.el:
6346 * international/uni-comment.el:
6347 * international/uni-decimal.el:
6348 * international/uni-decomposition.el:
6349 * international/uni-digit.el:
6350 * international/uni-lowercase.el:
6351 * international/uni-mirrored.el:
6352 * international/uni-name.el:
6353 * international/uni-numeric.el:
6354 * international/uni-old-name.el:
6355 * international/uni-titlecase.el:
6356 * international/uni-uppercase.el: Regenerate.
6357
3bbf23bc
MR
63582011-08-23 Martin Rudalics <rudalics@gmx.at>
6359
6360 * help.el (help-window-setup): Fix message displayed when other
6361 window is reused. (Bug#9341)
6362
b3fd59bd
SM
63632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6364
1802e444
SM
6365 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6366 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6367
b3fd59bd
SM
6368 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6369 Mark obsolete.
6370 * shell.el (shell-parse-pcomplete-arguments): New function.
6371 (shell-completion-vars): Use it instead (bug#9160).
6372
4eb61348
SM
63732011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6374
867cab74
SM
6375 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6376 strings and comments (bug#9333).
6377
4eb61348
SM
6378 * emacs-lisp/debug.el (debug-arglist): New function.
6379 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6380 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6381
262a1439
JL
63822011-08-22 Juri Linkov <juri@jurta.org>
6383
56ee679c
JL
6384 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6385 Revert regexp that highlights output switches to its old
6386 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6387
262a1439
JL
6388 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6389 to check for empty output (bug#9226).
6390
f13f86fb
CY
63912011-08-22 Chong Yidong <cyd@stupidchicken.com>
6392
6393 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6394 symbol-constituent as the default, as that stops font-lock from
6395 working properly (Bug#8843).
6396
c65c9622
LMI
63972011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6398
6399 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6400 `coding-system-for-*' around the process open call to avoid
6401 auth-source side effects.
e7f2c178 6402 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6403 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6404 probe hangs.
c65c9622 6405
23a8a5ab
CY
64062011-08-21 Chong Yidong <cyd@stupidchicken.com>
6407
ff98b2dd
CY
6408 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6409
23a8a5ab
CY
6410 * emacs-lisp/find-func.el (find-function-noselect): New arg
6411 lisp-only.
6412
6413 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6414 signal an error for built-in functions (Bug#6664).
6415
f5e3c598
LMI
64162011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6417
6418 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6419 (smtpmail-try-auth-methods): Use it.
6420
a3f2468a
CY
64212011-08-21 Chong Yidong <cyd@stupidchicken.com>
6422
2c34e8da
CY
6423 * font-lock.el (font-lock-fontify-region)
6424 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6425 (font-lock-default-unfontify-buffer)
6426 (font-lock-default-fontify-region)
6427 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6428
b3fd59bd
SM
6429 * progmodes/compile.el (compilation-error-properties):
6430 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6431 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6432 `ant' regexp.
ee31aabc 6433
a3f2468a
CY
6434 * net/browse-url.el (browse-url-firefox): Don't call
6435 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6436
8e999f70
GM
64372011-08-20 Glenn Morris <rgm@gnu.org>
6438
c21a496a
GM
6439 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6440
59ee0542
GM
6441 * tutorial.el (tutorial--default-keys): Update some default bindings.
6442
8e999f70
GM
6443 * files.el (hack-local-variables): Fully ignore case for "mode:".
6444
e3715033
AM
64452011-08-20 Alan Mackenzie <acm@muc.de>
6446
6447 Resolve invalid use of a regexp in regexp-opt.
6448
4d61f28d
JB
6449 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6450 detection for a java annotation.
e3715033 6451
4d61f28d 6452 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6453 detection for a java annotation.
6454
4d61f28d
JB
6455 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6456 handling for java.
e3715033
AM
6457 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6458
04ed2e9c
CY
64592011-08-20 Chong Yidong <cyd@stupidchicken.com>
6460
6461 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6462 (Bug#9274).
6463
826cee64
AM
64642011-08-20 Alan Mackenzie <acm@muc.de>
6465
58179cce 6466 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6467 such a construct. Mainly for when jit-lock etc. starts a chunk
6468 here.
6469
58179cce 6470 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6471 variable.
58179cce 6472 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6473 c-make-font-lock-search-function.
6474 (c-make-font-lock-search-function): Use the above function.
6475 (c-make-font-lock-context-search-function): New function.
6476 (c-cpp-matchers): Enhance the preprocessor expression case with
6477 the above function
6478 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6479 which takes an expression.
6480
6481 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6482
13009bd8
MR
64832011-08-20 Martin Rudalics <rudalics@gmx.at>
6484
6485 * window.el (display-buffer-reuse-window)
6486 (display-buffer-pop-up-window): Don't reuse or split a side
6487 window.
6488
9234ff7f
GM
64892011-08-19 Glenn Morris <rgm@gnu.org>
6490
6491 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6492 Downcase "Mode:". (Bug#9331)
9234ff7f 6493
f635daa1
CY
64942011-08-18 Chong Yidong <cyd@stupidchicken.com>
6495
6496 * international/characters.el: Add L and R categories.
6497
6498 * subr.el (bidi-string-mark-left-to-right): Rename from
6499 string-mark-left-to-right. Use category search.
6500
6501 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6502
bc987f8b
JL
65032011-08-18 Juri Linkov <juri@jurta.org>
6504
6505 * faces.el (error, warning, success): New faces with definitions
6506 copied from old default values of `font-lock-warning-face',
6507 `compilation-warning', `compilation-info' (bug#6117).
6508
6509 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6510
6511 * progmodes/compile.el (compilation-error): Inherit from `error'.
6512 (compilation-warning): Inherit from `warning'.
6513 (compilation-info): Inherit from `success'.
6514
6515 * dired.el (dired-marked): Inherit from `warning'.
6516 (dired-flagged): Inherit from `error'.
6517
57173b96
LMI
65182011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6519
3e79eb87
LMI
6520 * mail/smtpmail.el (auth-source): Require to avoid problems with
6521 binding variables (bug#9298). Also clean up some unused
6522 autoloads.
6523
b3fd59bd
SM
6524 * net/network-stream.el (network-stream-open-starttls):
6525 Support using starttls.el without using gnutls-cli.
57173b96 6526
02b404de
JL
65272011-08-17 Juri Linkov <juri@jurta.org>
6528
6529 * progmodes/grep.el (rgrep): Handle the case when
6530 `grep-find-command' is a cons cell (bug#9278).
6531
8c9177f2
MR
65322011-08-17 Martin Rudalics <rudalics@gmx.at>
6533
6534 * window.el (display-buffer-pop-up-frame): Run frame creation
6535 function with BUFFER current (as special-display-popup-frame
6536 does). Reported by Drew Adams.
6537
3644a0ab
DU
65382011-08-17 Daiki Ueno <ueno@unixuser.org>
6539
6540 * epa-mail.el: Simplify GnuPG group expansion using
6541 epg-expand-group.
6542 (epa-mail-group-alist, epa-mail-group-modtime)
6543 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6544 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6545 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6546 Remove.
6547
5e617bc2 65482011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6549
6550 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6551
9c4aeabf
AM
65522011-08-16 Alan Mackenzie <acm@muc.de>
6553
6554 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6555 Correct, to avoid the inside of macros.
6556
3a99bf64
RS
65572011-08-16 Richard Stallman <rms@gnu.org>
6558
04963aa8
RS
6559 * epa-mail.el: Handle GnuPG group definitions.
6560 (epa-mail-group-alist, epa-mail-group-modtime)
6561 (epa-mail-gnupg-conf-file): New variables.
6562 (epa-mail-parse-groups, epa-mail-sync-groups)
6563 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6564 (epa-mail-expand-recipients): New functions.
6565 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6566
177549d0
RS
6567 * mail/rmail.el (rmail-epa-decrypt): New command.
6568
fe38beef
RS
6569 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6570 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6571 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6572 (epa-decrypt-armor-in-region): Make error message clearer.
6573
934eacb9
SM
65742011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6577 and "a2b" to "ab" for `prefix'.
6578
d024fb4e
CY
65792011-08-14 Chong Yidong <cyd@stupidchicken.com>
6580
6581 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6582 filter groups.
de148fee
CY
6583 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6584 Fourquet (Bug#8804).
d024fb4e 6585
62f1ca49
JB
65862011-08-12 Juanma Barranquero <lekktu@gmail.com>
6587
6588 * startup.el (argi): Declare as global variable (bug#9275).
6589
9ccaaa4b
CY
65902011-08-12 Chong Yidong <cyd@stupidchicken.com>
6591
6592 * subr.el (string-mark-left-to-right): Search the entire string
6593 for RTL script, not just the terminating character. Doc fix.
6594
a3dae87a
SM
65952011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6cd18349
SM
6597 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6598 New function.
6599 (js--regexp-literal, js-syntax-propertize-function): Remove.
6600 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6601 (js-mode-map): Don't rebind electric keys.
6602 (js-insert-and-indent): Remove.
6603 (js-mode): Setup electric-layout and electric-indent instead.
6604
a3dae87a
SM
6605 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6606
9d5cb631
DU
66072011-08-12 Daiki Ueno <ueno@unixuser.org>
6608
6609 * epa.el (epa-progress-callback-function): Fix the logic of
6610 displaying progress.
6611 * epa-file.el (epa-file-insert-file-contents): Make progress
6612 display more user-friendly.
6613 (epa-file-write-region): Ditto.
6614
3e26a4a2
CY
66152011-08-10 Chong Yidong <cyd@stupidchicken.com>
6616
6617 * subr.el (string-mark-left-to-right): New function.
6618
6619 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6620 Use string-mark-left-to-right.
6621 (list-buffers-noselect): Caller changed.
6622
a3dae87a
SM
6623 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6624 Use string-mark-left-to-right.
3e26a4a2
CY
6625 (tabulated-list-print): Recenter after moving point.
6626
ac8cf6e6
JL
66272011-08-10 Juri Linkov <juri@jurta.org>
6628
6629 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6630 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6631 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6632
8d96c9a4
CY
66332011-08-09 Chong Yidong <cyd@stupidchicken.com>
6634
6635 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6636 (Bug#7554).
6637
7be1c708 66382011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6639
6640 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6641 character. (Bug#6594)
6642
37e11a63
CY
66432011-08-08 Chong Yidong <cyd@stupidchicken.com>
6644
839dde57
CY
6645 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6646 (image-dired--with-db-file): New macro.
6647 (image-dired-write-tags, image-dired-remove-tag)
6648 (image-dired-create-gallery-lists, image-dired-write-comments)
6649 (image-dired-get-comment, image-dired-mark-tagged-files)
6650 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6651 (image-dired-gallery-generate): Use insert-file-contents.
6652
37e11a63
CY
6653 * time.el (display-time-world-list, display-time-world-display):
6654 * time-stamp.el (time-stamp-string):
6655 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6656 set-time-zone-rule (Bug#7337).
6657
0b4946c4
DU
66582011-08-08 Daiki Ueno <ueno@unixuser.org>
6659
6660 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6661 (epg-error-to-string, epg-errors-to-string): New function.
6662 (epg-wait-for-completion): Reverse errors list.
6663 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6664 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6665 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6666 (epg-sign-keys, epg-generate-key-from-file)
6667 (epg-generate-key-from-string): Format errors by using
6668 epg-errors-to-string (bug#9255).
6669 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6670
75bfc667
JL
66712011-08-07 Juri Linkov <juri@jurta.org>
6672
6673 * faces.el (list-faces-display): Remove extra angle bracket
6674 from `help-mode-map'.
6675
6676 * info.el (Info-history-toc-nodes): Doc fix.
6677
6678 * longlines.el (longlines-mode): Doc fix.
6679
673e08bb
SM
66802011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6681
4640dd88
SM
6682 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6683 of statements and in a few more cases (bug#9183).
6684
673e08bb
SM
6685 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6686 New functions.
6687 (cl-transform-lambda): Use them (bug#9239).
6688
89b3f019
MR
66892011-08-05 Martin Rudalics <rudalics@gmx.at>
6690
6691 * window.el (display-buffer-same-window)
6692 (display-buffer-same-frame, display-buffer-other-window)
6693 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6694 (pop-to-buffer-other-window)
6695 (pop-to-buffer-same-frame-other-window)
6696 (pop-to-buffer-other-frame): Make them defuns.
6697 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6698
640c8776
SM
66992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * subr.el (make-composed-keymap): Move from C. Change calling
6702 convention, and improve docstring to bring attention to a subtle point.
6703 * minibuffer.el (completing-read-default): Adjust accordingly.
6704
63648a95
MA
67052011-08-03 Michael Albinus <michael.albinus@gmx.de>
6706
6707 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6708 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6709
6710 * net/trampver.el: Update release number.
6711
b796c9b7
SM
67122011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6715 "in" (bug#9190).
6716
2239d7d5
LMI
67172011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6718
e07dd7c3
LMI
6719 * mail/sendmail.el (sendmail-query-once): Restore the current
6720 buffer after querying (bug#9074).
6721
0e6a2bd7
LMI
6722 * dired.el (dired-flagged): Use different faces for marked and
6723 flagged files (bug#6117).
6724
ce887515
LMI
6725 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6726 (bug#4433).
6727
92f2affc
LMI
6728 * ido.el (ido-mode): Switch off the message if called
6729 non-interactively.
6730
57d5aff0
LMI
6731 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6732 before 587, since it appears that that's more likely to work for
6733 more people.
6734
98cd6c18 6735 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6736 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6737 exist.
6738
b96dec83
LMI
6739 * info.el: Remove the `Info-beginning-of-buffer' function
6740 (bug#8325).
6741
b796c9b7
SM
6742 * net/network-stream.el (network-stream-open-starttls):
6743 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6744
d90e2ea0
MR
67452011-08-01 Martin Rudalics <rudalics@gmx.at>
6746
6747 * window.el (display-buffer-in-window): Don't set dedicated status
6748 of window here (Bug#9215).
6749 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6750 (display-buffer-pop-up-side-window)
b796c9b7 6751 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6752
cca09170
SM
67532011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6756 before binding generated-autoload-file.
6757
027b979c
DD
67582011-08-01 Deniz Dogan <deniz@dogan.se>
6759
6760 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6761
3c7ee4f3
MA
67622011-07-30 Michael Albinus <michael.albinus@gmx.de>
6763
6764 Sync with Tramp 2.2.2.
6765
6766 * net/trampver.el: Update release number.
6767
2cc8e51a
JL
67682011-07-30 Juri Linkov <juri@jurta.org>
6769
6770 * dired-aux.el (dired-touch-initial): Remove function.
6771 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6772 current time, and `default' to the last modification time of the
6773 current marked file (bug#6887).
6774
a514d856
JM
67752011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6776
6777 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6778 numeric argument to read-number (bug#9163).
a514d856 6779
8a7eddd7
MA
67802011-07-27 Michael Albinus <michael.albinus@gmx.de>
6781
6782 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6783 connection process, it could be nil.
6784
1ddd96f5
LL
67852011-07-27 Leo Liu <sdl.web@gmail.com>
6786
6787 Simplify url handling in rcirc-mode.
6788
6789 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6790 (rcirc-browse-url-at-mouse): Remove.
6791 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6792
b248a85d
AM
67932011-07-26 Alan Mackenzie <acm@muc.de>
6794
6795 Fontify bitfield declarations properly.
6796
6797 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6798 (c-symbol-chars): Now exported as a lang variable.
6799 (c-not-primitive-type-keywords): New lang variable.
6800
6801 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6802 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6803 parsed as a bitfield declaration.
b248a85d 6804
b796c9b7
SM
6805 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6806 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6807 (c-punctuation-in): New function.
6808 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6809 declarations properly.
6810
68575ab0
UJ
68112011-07-26 Ulf Jasper <ulf.jasper@web.de>
6812
6813 * calendar/icalendar.el (icalendar--all-events): Take care of
6814 multiple vcalendars in a single file.
b796c9b7 6815 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6816
0f0a88b9
DD
68172011-07-25 Deniz Dogan <deniz@dogan.se>
6818
6819 * image.el (insert-image): Clarifying docstring.
6820
0b3f36df
MA
68212011-07-24 Michael Albinus <michael.albinus@gmx.de>
6822
6823 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6824 `tramp-send-command-and-check' if there is no error.
6825 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6826
a9901f61
AM
68272011-07-22 Alan Mackenzie <acm@muc.de>
6828
6829 Prevent cc-langs.elc being loaded at run time.
6830
6831 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6832 cc-langs.
6833
4d61f28d 6834 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6835 "(require 'cc-langs)". Quote a form so it will evaluate at
6836 (cc-mode's) compilation time.
6837
11d074b2
MA
68382011-07-22 Michael Albinus <michael.albinus@gmx.de>
6839
6840 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6841 loading. (Bug#9114)
6842
938b94c8
MR
68432011-07-21 Martin Rudalics <rudalics@gmx.at>
6844
6845 * window.el (display-buffer-pop-up-window)
6846 (display-buffer-pop-up-side-window)
6847 (display-buffer-in-side-window): Call display-buffer-set-height
6848 and display-buffer-set-width after setting the new window's
b796c9b7 6849 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6850
bfa4f190
SS
68512011-07-20 Sam Steingold <sds@gnu.org>
6852
6853 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6854 (etags-tags-included-tables): Call `convert-standard-filename' on
6855 the file names contained in TAGS so that windows Emacs can handle
6856 TAGS files created by cygwin ctags.
6857
8ca42262
LMI
68582011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
6860 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6861 which apparently didn't work.
6862
5db2afd2 68632011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6864
5db2afd2
RW
6865 * proced.el (proced-send-signal): For *Marked Processes* buffer
6866 put point at beginning of buffer.
6867
92e15d10
SB
68682011-07-19 Stephen Berman <stephen.berman@gmx.net>
6869
6870 * proced.el (proced-format): Make header lines align with the text
6871 (bug#1779).
6872
1bfd59e5
LMI
68732011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6874
6875 * view.el (view-buffer): Allow running in `special' modes if we're
6876 visiting a file (bug#8615).
6877
f5aae37c
MR
68782011-07-19 Martin Rudalics <rudalics@gmx.at>
6879
6880 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6881 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6882 New functions.
f5aae37c
MR
6883 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6884 more accurately.
6885
bf2c1571
AM
68862011-07-18 Alan Mackenzie <acm@muc.de>
6887
6888 Fontify declarators properly when, e.g., a jit-lock chunk begins
6889 inside a declaration.
6890
6891 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6892
b796c9b7
SM
6893 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6894 New function.
bf2c1571
AM
6895 (c-complex-decl-matchers): Insert reference to
6896 c-font-lock-enclosing-decls.
6897
6898 * progmodes/cc-engine.el (c-backward-single-comment):
6899 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6900 to nil around calls to (forward-comment -1).
6901
4e190b80
LMI
69022011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6903
12dc863d
LMI
6904 * image.el (put-image): Doc typo fix.
6905
a762e966
LMI
6906 * progmodes/etags.el (tags-search): Doc typo fix.
6907
4e190b80
LMI
6908 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6909 password if we get errors 550 to 554.
6910
f019fb21
LMI
69112011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6912
b796c9b7 6913 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6914
81746738
LMI
6915 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6916 indentation character (bug#6380).
6917
3ee3a1b5
LMI
6918 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6919
c82f64de
LMI
6920 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6921 to clarify what the problem is (bug#4291).
6922
f019fb21
LMI
6923 * simple.el (current-kill): Clarify what
6924 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6925 (auto-fill-mode): Document `auto-fill-function' in relation to
6926 `auto-fill-mode' (bug#2470).
f019fb21 6927
0794775d
LM
69282011-07-16 Lawrence Mitchell <wence@gmx.li>
6929
6930 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6931 method if slot is read-only (bug#9035).
6932
be39b8cc
MR
69332011-07-16 Martin Rudalics <rudalics@gmx.at>
6934
b796c9b7 6935 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6936 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6937 selected before, see discussion of (Bug#8615), (Bug#6954).
6938 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6939
6ccf7859
GM
69402011-07-15 Glenn Morris <rgm@gnu.org>
6941
6942 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6943 Respect help-form.
6ccf7859 6944
87e86684
LM
69452011-07-09 Lawrence Mitchell <wence@gmx.li>
6946
6947 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6948 (gnutls-negotiate): Use it.
6949
d6066239
LMI
69502011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6951
b796c9b7
SM
6952 * net/gnutls.el (gnutls-negotiate):
6953 Upcase `gnutls-algorithm-priority'.
d6066239 6954
bd23ebc0
GM
69552011-07-15 Glenn Morris <rgm@gnu.org>
6956
c65bca65
GM
6957 * jka-compr.el (jka-compr-verbose): Move from here...
6958 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6959 Add missing :version tag.
6960 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6961
478615cc
LMI
69622011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6963
7b41decb
LMI
6964 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6965 (gnutls-negotiate): Use it.
6966
dbc44fcd
LMI
6967 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6968
06789f97
LMI
6969 * info.el (Info-beginning-of-buffer): New command.
6970 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6971 announcing `b' as the key (bug#8325).
ab896c37 6972 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6973
c39da690
LMI
6974 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6975
3aa5f34b
LMI
6976 * international/mule-cmds.el
6977 (describe-specified-language-support): Make the error message
6978 clearer (bug#8905).
6979
4bf0979f
LMI
6980 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6981
478615cc
LMI
6982 * isearch.el (isearch-barrier): Add a doc string, since it's
6983 mentioned in a function doc string (bug#8678).
6984
75c68aa1
MR
69852011-07-15 Martin Rudalics <rudalics@gmx.at>
6986
6987 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6988 buffer argument (Bug#9083) and self-identifying label argument.
6989
a7c33da2
GM
69902011-07-15 Glenn Morris <rgm@gnu.org>
6991
6992 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6993
2f5c6024
LMI
69942011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6995
6996 * man.el (Man-fontify-manpage): Fix message when formatting the
6997 man page (bug#7929).
6998
0bb23927 69992011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7000
7001 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7002 argument LRM; if non-nil, append an invisible LRM character to the
7003 buffer name.
7004 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7005 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7006 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7007 paragraph direction.
cce4b0a7 7008
621ef9ab
LMI
70092011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010
d1583c48
LMI
7011 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7012 the man page name (bug#7929).
7013
6a57fb5f
LMI
7014 * image.el (put-image): Mention the `put-image' overlay property
7015 (bug#7834).
7016
d7956b14
LMI
7017 * scroll-bar.el (set-scroll-bar-mode): Mention that
7018 `scroll-bar-mode' lists the values (bug#7772).
7019
5b2d4a66
LMI
7020 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7021 command (bug#7729).
7022
7509a874
LMI
7023 * rect.el (apply-on-rectangle): Return the point after the last
7024 operation.
7025 (string-rectangle): Go to the point after the last operation
7026 (bug#7522).
7027
4fe74b19
LMI
7028 * printing.el (pr-toggle-region): Clarify the documentation
7029 slightly (bug#7493).
7030
b796c9b7
SM
7031 * time.el (display-time-update):
7032 Allow `display-time-mail-function' to return nil (bug#7158).
7033 Fix suggested by Detlev Zundel.
ab283561 7034
fc233c9d
LMI
7035 * vc/diff.el (diff): Clarify the order the file names are read
7036 (bug#7111).
7037
43f5740b
LMI
7038 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7039 the doc string (bug#7015).
7040
f2182a76
LMI
7041 * font-lock.el (font-lock-maximum-decoration): Mention what
7042 numeric levels mean (bug#6935).
7043
621ef9ab
LMI
7044 * startup.el (initial-buffer-choice): Don't mention the `none'
7045 selection, which is against policy.
7046
adc47434
MR
70472011-07-14 Martin Rudalics <rudalics@gmx.at>
7048
b796c9b7
SM
7049 * window.el (display-buffer-normalize-special):
7050 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7051
7e5bfb8f
EZ
70522011-07-14 Eli Zaretskii <eliz@gnu.org>
7053
7054 * subr.el (version<, version<=, version=): Mention "-CVS" and
7055 "-12345" alpha version numbers.
7056
27fa387a
CY
70572011-07-14 Chong Yidong <cyd@stupidchicken.com>
7058
7059 * bindings.el: Add advertised binding for set-mark-command
7060 (Bug#5772).
7061
8bdfa064
CY
70622011-07-14 Chong Yidong <cyd@stupidchicken.com>
7063
7064 * bindings.el (mode-line-other-buffer):
7065 * bookmark.el (bookmark-bmenu-2-window):
7066 * bs.el (bs-cycle-next, bs-cycle-previous):
7067 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7068 switch-to-buffer.
7069
7070 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7071 Delete.
8bdfa064 7072
5eba16a3
JB
70732011-07-14 Juanma Barranquero <lekktu@gmail.com>
7074
7075 * follow.el (follow-debug-message, follow-redisplay):
7076 * jka-cmpr-hook.el (with-auto-compression-mode):
7077 Fix typos in docstrings.
7078
15853710
LMI
70792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7080
a28e4607
LMI
7081 * subr.el (with-silent-modifications): Clarify somewhat what the
7082 macro inhibits (bug#6525).
7083
15853710
LMI
7084 * simple.el (eval-expression): Note what it does if called
7085 interactively (bug#6495).
7086
bee0fcef
CY
70872011-07-13 Chong Yidong <cyd@stupidchicken.com>
7088
b796c9b7
SM
7089 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7090 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7091
7092 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7093 Remove switch-to-buffer.
7094
58274504
LMI
70952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7096
bd2fcc8d
LMI
7097 * files.el (make-directory): Clarify that an error will be raised
7098 if there's an error (bug#6397).
7099
0f04b32c
LMI
7100 * startup.el (initial-buffer-choice): Add `none' as a choice
7101 (bug#6234).
7102
465c5fc8
LMI
7103 * subr.el (add-hook): Clarify section about buffer-local hooks
7104 (bug#6218).
7105
58274504
LMI
7106 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7107
bead9a43
JB
71082011-07-13 Juanma Barranquero <lekktu@gmail.com>
7109
7110 * tabify.el (untabify): Preserve the current column so that point
7111 doesn't move (bug#6032).
7112
3af98a7b
LMI
71132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7114
b796c9b7
SM
7115 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7116 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7117
6240145a
GM
71182011-07-13 Glenn Morris <rgm@gnu.org>
7119
7120 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7121 (dired-insert-directory): Give a message the first time
7122 if ls is found not to support --dired.
7123
1d8c2ccc
LMI
71242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7125
7126 * simple.el (toggle-truncate-lines): Clarify what is toggled
7127 (bug#5580). Text by Drew Adams.
7128
5fc4038e
CY
71292011-07-13 Chong Yidong <cyd@stupidchicken.com>
7130
7131 * simple.el (blink-matching-open): Make the error message from the
7132 last change less verbose.
7133
bf6012e5
DN
71342011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7135
7136 * font-lock.el (font-lock-comment-face): Use the high contrast
7137 "yellow" color for font-lock-comment-face on low color terminals
7138 using a dark background color (bug#4221).
7139
343c3b5a
LMI
71402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7141
7e9505c5
LMI
7142 * dired.el (dired-insert-set-properties): Make the doc string
7143 reflect what it does now (bug#5325).
7144
c26fdcf5
LMI
7145 * simple.el (blink-matching-open): Say that we were unable to find
7146 the match within the limit, if we're limited (bug#5122).
7147
bb388cc5
LMI
7148 * international/mule-cmds.el (prefer-coding-system): Add an
7149 example (bug#4869).
7150
343c3b5a
LMI
7151 * progmodes/etags.el (tags-search): Document `file-list-form'
7152 (bug#4731).
7153
2a517d45
LM
71542011-07-13 Lawrence Mitchell <wence@gmx.li>
7155
7156 * net/browse-url.el (browse-url-default-browser)
7157 (browse-url-browser-function): Make the default browser choice a
7158 bit more logical (bug#4300). Also clean up the doc string.
7159
b6c78ef2
JB
71602011-07-13 Juanma Barranquero <lekktu@gmail.com>
7161
7162 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7163 binary endings (bug#4440).
7164
1c4dd947
LMI
71652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7166
a2014063
LMI
7167 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7168 which can be pretty annoying (bug#8971).
7169
9c9c2d88
LMI
7170 * jka-compr.el (jka-compr-verbose): New variable, and use
7171 throughout (bug#8971).
7172
1c4dd947
LMI
7173 * info.el (Info-find-file): Fall back on the installation
7174 directory if we can't find the info node anywhere else.
7175
a1c9f41b
SO
71762011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7177
7178 * vc/vc.el (vc-revert-file):
7179 Don't set file time-stamp in the past. (Bug#5181)
7180
536f3d36
LMI
71812011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7182
7152b011
LMI
7183 * files.el (after-find-file): Give a better error message when
7184 trying to find a symlink that points to a file that doesn't exist
7185 (bug#4398).
7186
536f3d36
LMI
7187 * progmodes/cc-vars.el: Remove (probably) misleading comment
7188 (bug#4396).
7189
460c0fba
JB
71902011-07-12 Johan Bockgård <bojohan@gnu.org>
7191
7192 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7193
7a6bda45
CY
71942011-07-12 Chong Yidong <cyd@stupidchicken.com>
7195
7196 * mouse-sel.el: Hack restoring functionality, while keeping
7197 compatibility with 2010-07-03 changes to mouse selection.
7198 (mouse-sel-primary-overlay): New var.
7199 (mouse-sel-selection-alist): Use it.
7200 (mouse-sel-mode): Doc fix; remove points that are default features
7201 of mouse.el.
7202
c79598ef
JB
72032011-07-12 Johan Bockgård <bojohan@gnu.org>
7204
7205 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7206 Fix previous fix (bug#2490).
7207
ff8be6ef
RW
72082011-07-12 Roland Winkler <winkler@gnu.org>
7209
b796c9b7
SM
7210 * textmodes/bibtex.el (bibtex-initialize):
7211 Use pop-to-buffer-same-window.
ff8be6ef
RW
7212 (bibtex-search-entries): Fix interactive call.
7213
296ba3ee
LMI
72142011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
f5242a02 7216 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7217 Fontise bytecomp Error lines more correctly (bug#2490).
7218 Fix suggested by Johan Bockgård.
f5242a02 7219
296ba3ee
LMI
7220 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7221
7222 * dired-x.el (dired-guess-default): Use `delete-dups'.
7223
f69fd0d2
CY
72242011-07-12 Chong Yidong <cyd@stupidchicken.com>
7225
7226 * dired.el (dired-mark-prompt):
7227 * dired-aux.el (dired-read-shell-command): Doc fix.
7228
eab5dc07
LMI
72292011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
b796c9b7
SM
7231 * mail/sendmail.el (sendmail-query-once):
7232 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7233 emacs -Q.
7234
7235 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7236
eab5dc07
LMI
7237 * cus-edit.el (custom-file): Take an optional no-error variable.
7238 (customize-save-variable): Set the variable, and give a warning if
7239 running under "emacs -q".
7240
a1e65d42
JB
72412011-07-11 Juanma Barranquero <lekktu@gmail.com>
7242
7243 * loadhist.el (unload-feature-special-hooks):
7244 Add `auto-coding-functions', `fill-nobreak-predicate' and
7245 `find-directory-functions' (bug#5327).
7246
1d52da10
LMI
72472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7248
be958f1d
LMI
7249 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7250
5bedb26c
LMI
7251 * cus-edit.el (custom-guess-name-alist): -alist variables should
7252 use the `alist' type (bug#3120). Suggested by Drew Adams.
7253
1d52da10
LMI
7254 * printing.el: Add documentation to all the `pr-toggle-' commands.
7255
cd394be1 72562011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7257
7258 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7259 backends where it makes sense (bug#2623).
7260
dcc88d8a
LMI
72612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7262
c3de9feb
LMI
7263 * dired-x.el (dired-guess-default): Remove duplicate shell command
7264 entries (bug#2028).
8a93078b 7265 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7266 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7267
dcc88d8a
LMI
7268 * subr.el (remove-duplicates): New conveniency function.
7269
505e3645
LMI
72702011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7271
7272 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7273 (bug#1526).
7274
72752011-07-10 Martin Rudalics <rudalics@gmx.at>
7276
7277 * window.el (display-buffer-normalize-default): Don't invert
7278 meaning of even-window-heights. Reported by Eli Zaretskii
7279 <eliz@gnu.org>.
7280
455e4fa1
BR
72812011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7282
7283 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7284
8e0bc3e9
CY
72852011-07-10 Chong Yidong <cyd@stupidchicken.com>
7286
7287 * window.el (display-buffer): Fix arguments to
7288 display-buffer-reuse-window in last change.
7289
fa7c3228
CY
7290 * faces.el (link): Use a less saturated blue on light backgrounds.
7291
7292 * startup.el (fancy-startup-text, fancy-about-text)
7293 (fancy-startup-tail): Use font-lock faces, for background safety.
7294
c0a7f300
BN
72952011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7296
b796c9b7
SM
7297 * emulation/viper-cmd.el (viper-change-state-to-vi):
7298 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7299
4dc2a129
MR
73002011-07-09 Martin Rudalics <rudalics@gmx.at>
7301
7302 * window.el (display-buffer-default-specifiers): Remove.
7303 (display-buffer-macro-specifiers): Remove default specifiers.
7304 (display-buffer-alist): Default to nil.
b796c9b7 7305 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7306 (display-buffer-pop-up-window): Allow splitting internal
7307 windows. Check whether a live window was created.
7308 (display-buffer-other-window-means-other-frame)
7309 (display-buffer-normalize-arguments): Rename to
7310 display-buffer-normalize-argument and rewrite. Set the
7311 other-window specifier.
7312 (display-buffer-normalize-special): New function.
7313 (display-buffer-normalize-options): Rename to
7314 display-buffer-normalize-default and rewrite.
7315 (display-buffer-normalize-options-inhibit): Remove.
7316 (display-buffer-normalize-specifiers): Rewrite.
7317 (display-buffer): Process other-window specifier and call
7318 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7319 more faithfully.
b796c9b7 7320 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7321 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7322 (display-buffer-in-window, display-buffer-alist-set):
7323 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7324 <tassilo@member.fsf.org>.
7325
2d43b8c9
LL
73262011-07-09 Leo Liu <sdl.web@gmail.com>
7327
7328 * register.el (insert-register): Restore accidental change on
7329 2011-06-26. (Bug#9028)
7330
7f9b7c53
GM
73312011-07-09 Glenn Morris <rgm@gnu.org>
7332
7333 * subr.el (remq): Handle the empty list. (Bug#9024)
7334
f042cfd8
AS
73352011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7336
7337 * mail/sendmail.el (send-mail-function): No longer delay custom
7338 initialization.
7339 * custom.el (custom-initialize-delay): Doc fix.
7340
856b2f11
SM
73412011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7344
afae1d68
MA
73452011-07-08 Michael Albinus <michael.albinus@gmx.de>
7346
7347 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7348 human-friendly prompt.
7349
0757af94
SM
73502011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7353 provided by a particular plugin.
7354
d760b731
LMI
73552011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7356
7357 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7358 save customizations (with "emacs -Q"), just set the variable
7359 instead of erroring out.
7360
7361 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7362
cd79ce90
JL
73632011-07-08 Juri Linkov <juri@jurta.org>
7364
7365 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7366 (archive-zip-update-case): Use 7z if found by `executable-find'.
7367 The order of searching the available programs is the same as in
7368 `archive-zip-extract' (bug#8968).
7369
14cc04aa
CY
73702011-07-07 Chong Yidong <cyd@stupidchicken.com>
7371
7372 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7373 (menu-bar-options-menu): Tweak descriptions.
7374
0a1848ec
LMI
73752011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7376
7377 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7378 menu items into verb phrases (bug#1421). Also refill to fit under
7379 80 columns.
7380
f5bd0689
CY
73812011-07-07 Chong Yidong <cyd@stupidchicken.com>
7382
538e85c6
CY
7383 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7384 (Info-read-node-name): Doc fix (Bug#1084).
7385
f5bd0689
CY
7386 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7387 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7388 (end-of-sexp, beginning-of-sexp)
7389 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7390 (forward-symbol, forward-same-syntax, word-at-point)
7391 (sentence-at-point): Doc fix (Bug#1144).
7392
56ec5115
LMI
73932011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7394
f3f8e37f
LMI
7395 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7396 should cover it (bug#1281).
7397
0757af94 7398 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7399
e9fce1ac 7400 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7401 negotiation fails, then possibly try again with a non-encrypted
7402 connection (bug#9017).
7403
56ec5115
LMI
7404 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7405 be used.
7406
c2f9aec8
RS
74072011-07-07 Richard Stallman <rms@gnu.org>
7408
7409 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7410 property, and handle its changed format.
7411 Look for the correct line number.
7412 Use file's line contents (but not past first =) to find
7413 correct line in message.
7414
ef7b981d 74152011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7416
7417 * international/characters.el (build-unicode-category-table):
7418 Delete it.
0757af94 7419 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7420
0757af94 7421 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7422 to src/chartab.c.
7423 (get-char-code-property): Call unicode-property-table-internal to
7424 load a file. Call get-unicode-property-internal where necessary.
7425 (put-char-code-property): Call unicode-property-table-internal to
7426 load a file. Call put-unicode-property-internal where necessary.
7427 put-unicode-property-internal where necessary.
0757af94
SM
7428 (char-code-property-description):
7429 Call unicode-property-table-internal to load a file.
c805dec0
KH
7430
7431 * international/charprop.el:
7432 * international/uni-bidi.el:
7433 * international/uni-category.el:
7434 * international/uni-combining.el:
7435 * international/uni-comment.el:
7436 * international/uni-decimal.el:
7437 * international/uni-decomposition.el:
7438 * international/uni-digit.el:
7439 * international/uni-lowercase.el:
7440 * international/uni-mirrored.el:
7441 * international/uni-name.el:
7442 * international/uni-numeric.el:
7443 * international/uni-old-name.el:
7444 * international/uni-titlecase.el:
7445 * international/uni-uppercase.el: Regenerate.
7446
7447 * loadup.el: Load international/charprop.el before
7448 international/characters.
7449
e14b388a
CY
74502011-07-07 Chong Yidong <cyd@stupidchicken.com>
7451
7452 * window.el (next-buffer, previous-buffer): Signal an error if
7453 called from a minibuffer window.
7454
7455 * bindings.el: Revert 2011-07-04 change.
7456
354cf0ba
RS
74572011-07-06 Richard Stallman <rms@gnu.org>
7458
7459 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7460 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7461 Treat markers like ints.
7462 (rmail-mime-entity): Doc fix.
7463
a48868a7
LMI
74642011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7465
4906cd3d
LMI
7466 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7467 defcustom again for backwards compatibility.
7468
e0457abe
LMI
7469 * simple.el (shell-command-on-region): Fill.
7470
d67f7e1f
LMI
7471 * dired-aux.el (dired-kill-line): Add a doc string.
7472
fe204702
LMI
7473 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7474 to "\\sw\\|\\s_" (bug#358).
7475
a48868a7
LMI
7476 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7477 (dired-unmark-backward): Ditto.
7478 (dired-flag-backup-files): Ditto.
7479
7480 * dired-x.el (dired-mark-sexp): Ditto.
7481
aa8a705c
RS
74822011-07-06 Richard Stallman <rms@gnu.org>
7483
7484 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7485 (rmail-mime-entity): New arg TRUNCATED.
7486 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7487 New functions.
7488 (rmail-mime-save): Warn if entity is truncated.
7489 (rmail-mime-toggle-hidden): Likewise, for showing.
7490 (rmail-mime-process-multipart): Record when an entity is truncated.
7491
a9a936b9
RS
7492 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7493 if ENTITY is a string.
7494
1f2b92cb
LMI
74952011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7496
f4f73198 7497 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7498 of faces when `M-C-x'-ing their definitions (bug#8378).
7499 Also clean up the code slightly.
f4f73198 7500
12b16734 7501 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7502 because that makes the colors go away.
12b16734 7503
f0691d22
LMI
7504 * mail/sendmail.el (send-mail-function): Change the default to
7505 `sendmail-query-once'.
9e87df06 7506 (sendmail-query-once): Add an autoload cookie.
f0691d22 7507
1f2b92cb
LMI
7508 * net/network-stream.el (network-stream-open-starttls): Try using
7509 a plain connection even if the server offered STARTTLS, and we
7510 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7511 capability. This should make smtpmail.el work in slightly more
7512 configurations.
7513
1cdd2a1b
MA
75142011-07-06 Michael Albinus <michael.albinus@gmx.de>
7515
7516 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7517 New defun.
7518 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7519
fbcc67e2
MM
75202011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7521
7522 * progmodes/sql.el: Version 3.0
0757af94 7523 (sql-product-alist): Add product :completion-object,
fbcc67e2 7524 :completion-column, and :statement attributes.
0757af94 7525 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7526 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7527 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7528 ansi keywords.
7529 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7530 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7531 (sql-oracle-show-reserved-words): New function for development.
7532 (sql-product-font-lock): Simplify for source code buffers.
7533 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7534 New functions.
7535 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7536 (sql-mode-map): Add statement movement functions.
7537 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7538 New variable.
fbcc67e2
MM
7539 (sql-statement-regexp, sql-beginning-of-statement)
7540 (sql-end-of-statement, sql-signum): New functions.
0757af94 7541 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7542 (sql-show-sqli-buffer): Bug fix.
7543 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7544 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7545 with sql-interactive-mode.
7546 (sql-save-connection): Save buffer local settings.
0757af94 7547 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7548 (sql-product-interactive): Bug fix.
7549 (sql-preoutput-hold): New variable.
7550 (sql-interactive-remove-continuation-prompt): Bug fixes.
7551 (sql-debug-redirect): New variable.
7552 (sql-str-literal): New function.
7553 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7554 Redesign.
fbcc67e2
MM
7555 (sql-oracle-save-settings, sql-oracle-restore-settings)
7556 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7557 (sql-completion-object, sql-completion-column)
7558 (sql-completion-sqlbuf): New variables.
7559 (sql-build-completions-1, sql-build-completions)
7560 (sql-try-completion): New functions.
7561 (sql-read-table-name): Use them.
7562 (sql-contains-names): New buffer local variable.
7563 (sql-list-all, sql-list-table): Use it.
7564 (sql-oracle-completion-types): New variable.
7565 (sql-oracle-completion-object, sql-sqlite-completion-object)
7566 (sql-postgres-completion-object): New functions.
7567
d4eaeab1
GM
75682011-07-06 Glenn Morris <rgm@gnu.org>
7569
7570 * window.el (pop-to-buffer): Doc fix.
7571
322b7dab 75722011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7573
7574 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7575
322b7dab 75762011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7577
322b7dab 7578 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7579
322b7dab 7580 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7581
605dd5bf
CY
75822011-07-05 Chong Yidong <cyd@stupidchicken.com>
7583
7584 * button.el (button): Inherit from link face. Suggested by Dan
7585 Nicolaescu.
7586
7dbfa719
SM
75872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7588
3db614b0
SM
7589 * progmodes/gdb-mi.el: Fit in 80 columns.
7590 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7591 switch-to-buffer.
7592
7dbfa719
SM
7593 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7594 if imenu is simply not configured (bug#8941).
7595
919d884a
KM
75962011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7597
7598 * allout.el (allout-post-undo-hook): New allout outline-change
7599 event hook to signal undo activity.
7600 (allout-post-command-business): Run allout-post-undo-hook if an
7601 undo just occurred.
7dbfa719
SM
7602 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7603 * allout-widgets.el (allout-widgets-after-undo-function):
7604 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7605 in the vicinity of an undo.
7606 (allout-widgets-mode): Include allout-widgets-after-undo-function
7607 on the new allout-post-undo-hook.
7608
450a0f09
SM
76092011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7612 Let define-derived-mode define it.
7613 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7614 cycles of abbrev-table inheritance (bug#8998).
7615
2de69e00
RW
76162011-07-05 Roland Winkler <winkler@gnu.org>
7617
7618 * textmodes/bibtex.el: Add support for biblatex.
7619 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7620 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7621 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7622 (bibtex-entry-alist, bibtex-field-alist): New variables.
7623 (bibtex-entry-field-alist): Obsolete alias for
7624 bibtex-BibTeX-entry-alist.
7625 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7626 (bibtex-set-dialect): New command.
7627 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7628 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7629 Bind via bibtex-set-dialect.
2de69e00
RW
7630 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7631 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7632 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7633 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7634 Define via bibtex-set-dialect.
450a0f09
SM
7635 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7636 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7637 (bibtex-vec-push, bibtex-vec-incr): New functions.
7638 (bibtex-format-entry, bibtex-field-list)
7639 (bibtex-print-help-message, bibtex-validate)
7640 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7641
2dcdbdd9
SM
76422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * progmodes/compile.el (compilation-goto-locus):
7645 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7646 * bs.el (bs-cycle-next, bs-cycle-previous):
7647 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7648 * bindings.el (mode-line-other-buffer):
7649 * autoinsert.el (auto-insert):
7650 * arc-mode.el (archive-extract):
7651 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7652
b27640fe
JB
76532011-07-05 Juanma Barranquero <lekktu@gmail.com>
7654
7655 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7656 Fix check of `emacs-lock-unlockable-modes'.
7657 Coerce true values of `emacs-lock--try-unlocking' to t.
7658
53bbe3ad
JB
76592011-07-05 Juanma Barranquero <lekktu@gmail.com>
7660
7661 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7662 * emacs-lock.el: New file.
7663
1d3cdbc7
JD
76642011-07-05 Julien Danjou <julien@danjou.info>
7665
7666 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7667 than `boundp' to check if face is set.
7668
9173deec
JB
76692011-07-05 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * register.el (registerv-make):
7672 * window.el (window-min-height): Fix typos in docstrings.
7673
869795d6
JD
76742011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7675
9173deec 7676 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7677 Update doc string.
7678
b768cdcd
JB
76792011-07-04 Juanma Barranquero <lekktu@gmail.com>
7680
7681 * server.el (server-execute): Catch quit and call
7682 `server-return-error' to pass the error back to emacsclient and
7683 close the connection (bug#8942).
7684
13aa217b
KM
76852011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7686
7687 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7688 insecure exception for current topic. Also note that auto-saves
7689 are handled differently.
7690
7691 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7692 State variables for tracking auto-save inhibition situation.
7693
7694 (allout-write-contents-hook-handler): Rename from
7695 'allout-write-file-hook-handler', and describe how it depends on
7696 write-contents-functions sensitivity to non-nil value to prevent
7697 file write.
7698
7699 (allout-auto-save-hook-handler): Remove. auto-save does not check
7700 this in individual buffers, only in the starting buffer, so this
7701 is not the right way for us to inhibit auto-save in a buffer
7702 according to its condition.
7703
7704 (allout-mode): Use new allout-write-contents-hook-handler, and
7705 only with write-contents-functions. Remove auto-save provisions -
7706 they're implemented elsewhere.
7707
7708 (allout-before-change-handler): If undo is in progress, note that
7709 for attention of allout-post-command-business.
7710
7711 (allout-post-command-business): If the command we're following was
7712 an undo, check for change in the status of encrypted items and
7713 adjust auto-save inhibitions accordingly.
7714
7715 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7716 according to whether there are or aren't any plain-text topics
7717 pending encryption.
7718
2dcdbdd9 7719 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7720 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7721 if there are plain-text topics pending encryption.
13aa217b
KM
7722
7723 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7724 buffer-saved-size and some allout state to not inhibit auto-saves
7725 if there are no longer any plain-text topics pending encryption.
7726
0757af94
SM
7727 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7728 No longer provide for exemption of the current topic.
13aa217b 7729
ac89b32c
JL
77302011-07-04 Juri Linkov <juri@jurta.org>
7731
7732 Add 7z operations to delete and save changed members (bug#8968).
7733 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7734 New defcustoms.
7735 (archive-7z-write-file-member): New function.
7736 (archive-7z-summarize): Fix the number of dashes in the
7737 listing output.
7738
8fa39615
SM
77392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7740
7741 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7742 (bug#8958).
7743
2f11b3f1
CY
77442011-07-04 Chong Yidong <cyd@stupidchicken.com>
7745
d66fef2b
CY
7746 * bindings.el: Ignore next-buffer and previous-buffer in
7747 minibuffer-local-map.
7748
2f11b3f1
CY
7749 * font-lock.el (font-lock-builtin-face): Change light background
7750 color to dark slate blue (Bug#6693).
7751
f932a347
WD
77522011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7753
7754 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7755
c8af70e1
SM
77562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7757
7758 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7759 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7760 Add switch-to-buffer.
7761
f158badc
LMI
77622011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7763
7764 * isearch.el (isearch-search-fun-function): Clarify further the
7765 meaning of the function returned.
7766
6d95bd46
MA
77672011-07-04 Michael Albinus <michael.albinus@gmx.de>
7768
7769 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7770
7771 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7772 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7773 Use it.
7774 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7775 `tramp-default-remote-path' does not exist.
7776 (tramp-send-command-and-read): New optional argument NOERROR.
7777 (tramp-open-connection-setup-interactive-shell)
7778 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7779 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7780 (tramp-process-sentinel): Flush also process' connection property.
7781 (tramp-sh-handle-start-file-process): Do not set process
7782 sentinel. It is done now ...
7783 (tramp-maybe-open-connection): ... here. (Bug#8929)
7784
909e6b67
MK
77852011-07-04 MON KEY <monkey@sandpframing.com>
7786
7787 * play/animate.el (animate-string): Doc fixes and allow changing
7788 the buffer name (bug#5417).
7789
77902011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7791
c8af70e1 7792 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7793
f34755dc
PE
77942011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7795
396cec72
PE
7796 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7797 This is simpler and helps future-proof the code.
7798 (timer-until): Use time-subtract and float-time.
08235028 7799 (timer--time-less-p): Use time-less-p.
f34755dc 7800
56e6cc31
JB
78012011-07-04 Juanma Barranquero <lekktu@gmail.com>
7802
3abb79e5
JB
7803 * type-break.el (timep): Use the value of `float-time' to avoid a
7804 byte-compiler warning.
7805
56e6cc31
JB
7806 * server.el (server-eval-and-print): Return any result, even nil.
7807
7b9430b4
PE
78082011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7809
7810 * type-break.el: Accept time formats that the builtins accept.
7811 (timep, type-break-time-difference): Accept any format that
7812 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7813 This is simpler and helps future-proof the code.
7814 (type-break-time-difference): Round rather than ignoring
7815 subseconds components.
7816
3034e9e7
LMI
78172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
7819 * info.el (Info-apropos-matches): Make non-interactive, since it
7820 doesn't seem to do anything useful as a command (bug#8829).
7821
1485f4c0
CY
78222011-07-03 Chong Yidong <cyd@stupidchicken.com>
7823
7824 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7825 Move from faces.el.
1485f4c0
CY
7826 (frame-default-terminal-background): New function.
7827
7828 * custom.el (custom-push-theme): Don't record faces in `changed'
7829 theme; this doesn't work correctly for per-frame face settings.
7830 (disable-theme): Use face-set-after-frame-default to reset faces.
7831 (custom--frame-color-default): New function.
7832
9fa3dd45
LMI
78332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7834
c8af70e1 7835 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7836 (bug#8769).
7837
6cbbc20c
KR
78382011-03-29 Kevin Ryde <user42@zip.com.au>
7839
7840 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7841 `perl-Test2' extend to match possible "fail #N" rep count
7842 (bug#8377).
7843
c7f98048
LMI
78442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7845
65676592
LMI
7846 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7847 `smtpmail-via-smtp' now returns the error instead of nil.
7848
c7f98048
LMI
7849 * isearch.el (isearch-search-fun-function): Clarify the doc string
7850 (bug#8101).
7851
56e6cc31 78522011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7853
7854 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7855 unnecessary spaces (bug#8987).
7856
2b216704
LMI
78572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7858
7859 * net/network-stream.el (open-network-stream): Use the
7860 :end-of-capability command thoughout.
7861
78622011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7863
7864 * net/network-stream.el (open-network-stream): Add the
7865 :end-of-capability command parameter, used by pop3.el.
7866
36adf6ce
LMI
78672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7868
1ca0da0e
LMI
7869 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7870
fc00f69c
LMI
7871 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7872 for list)" (bug#6475).
7873
28fd8759 7874 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7875 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7876 an error (bug#6297).
7877
0dd8b6da
LMI
7878 * man.el (Man-reference-regexp): Allow matching possible
7879 word-wrapped references (bug#6289).
7880
ce1438d6
LMI
7881 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7882 for consistency with the other vc buffers (bug#6197).
7883 (vc-checkin): Ditto.
7884
7885 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7886
36adf6ce
LMI
7887 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7888
e83cc1f7
LMI
78892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7890
8a20ca4c
LMI
7891 * custom.el (defcustom): Clarify that :set is only used in the
7892 Customize user interface (bug#6089).
7893
83319045
LMI
7894 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7895 associated with a file, refuse to run instead of erroring out
7896 (bug#6084).
7897
a8392169
LMI
7898 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7899 the doc string, since it appears that using `fill-column' always
7900 controls the width (bug#7845).
7901
e83cc1f7
LMI
7902 * simple.el (shell-command-on-region): Say where the error output
7903 went if `shell-command-default-error-buffer' is set (bug#6857).
7904
e47ca23b
KM
79052011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7906
7907 * allout.el (allout-yank-processing): Adjust cursor position for
7908 backwards-deleted space.
7909
7910 (allout-rebullet-heading): Register changes with
7911 allout-exposure-changed-hook, so the modified topic is properly
7912 decorated.
7913
5cf56143
LMI
79142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
08549772
LMI
7916 * minibuffer.el (completion-in-region): Document PREDICATE
7917 (bug#7136).
7918
48e96771
LMI
7919 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7920 of keyword/argument pairs (bug#6904).
7921
c8af70e1
SM
7922 * replace.el (multi-occur):
7923 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7924
e17d05e2
LMI
79252011-07-02 Drew Adams <drew.adams@oracle.com>
7926
7927 * dired.el (dired-mark-if): Make the message about whether it's
7928 marking or unmarking clearer (bug#8523).
7929
063b0e45
LMI
79302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7931
7932 * disp-table.el (display-table-print-array): New function.
7933 (describe-display-table): Use it to print the vectors more pretty
7934 (Bug#8859).
7935
28545e04
MR
79362011-07-02 Martin Rudalics <rudalics@gmx.at>
7937
7938 * window.el (window-state-get-1): Don't assign clone numbers.
7939 Add clone-of item to list of window parameters.
7940 (window-state-put-2): Don't process clone numbers.
7941 (display-buffer-alist): Fix doc-string.
7942
3349e122
SM
79432011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * subr.el (remq): Don't allocate if it's not needed.
7946 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7947 (keymap--merge-bindings): New functions.
7948 (keymap-canonicalize): Use them to refine the canonicalization.
7949 * minibuffer.el (minibuffer-local-completion-map)
7950 (minibuffer-local-must-match-map): Move initialization from C.
7951 (minibuffer-local-filename-completion-map): Move initialization from C;
7952 don't inherit from anything here.
7953 (minibuffer-local-filename-must-match-map): Make obsolete.
7954 (completing-read-default): Use make-composed-keymap to combine
7955 minibuffer-local-filename-completion-map with either
7956 minibuffer-local-must-match-map or
7957 minibuffer-local-filename-completion-map.
7958
d224ac83
GM
79592011-07-01 Glenn Morris <rgm@gnu.org>
7960
3de63bf8
GM
7961 * type-break.el (type-break-time-sum): Use dolist.
7962
d224ac83
GM
7963 * textmodes/flyspell.el (flyspell-word-search-backward):
7964 Replace CL function.
7965
1a1e3f32
SM
79662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7967
fe3f64d5
SM
7968 * mouse.el (mouse--strip-first-event): New function.
7969 (function-key-map): Use it to map fringe clicks to normal clicks
7970 by default.
7971
eb604e34
SM
7972 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7973 (vc-bzr-revision-completion-table): Add support for annotate and date.
7974
1a1e3f32
SM
7975 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7976 inherit from parent.
7977
5bd35902
LMI
79782011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7979
ace6c69c 7980 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7981 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7982
191e2bed
LMI
7983 * dired.el (dired-mode): Fix up the doc string as suggested by
7984 Drew Adams (bug#8817).
7985
5bd35902
LMI
7986 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7987 cookie, since the manual says that it should be possible to add
7988 this function to `find-file-hook' (bug#8709).
7989
eee8207a
TZ
79902011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7991
7992 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7993 here. Noted Ted Zlatanov as the maintainer.
7994 (cfengine-common-settings, cfengine-common-syntax): New functions
7995 to set up common things between `cfengine-mode' and
7996 `cfengine3-mode'.
7997 (cfengine3-mode): New mode.
7998 (cfengine3-defuns cfengine3-defuns-regex
7999 (cfengine3-class-selector-regex cfengine3-category-regex)
8000 (cfengine3-vartypes cfengine3-font-lock-keywords)
8001 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8002 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8003
36b148cf
MA
80042011-07-01 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8007
8008 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8009
0bf4ba9a
MR
80102011-07-01 Martin Rudalics <rudalics@gmx.at>
8011
8012 * window.el (same-window-buffer-names, same-window-regexps)
8013 (same-window-p, special-display-frame-alist)
8014 (special-display-popup-frame, special-display-function)
8015 (special-display-buffer-names, special-display-regexps)
8016 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8017 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8018 (split-window-preferred-function, split-height-threshold)
8019 (split-width-threshold, even-window-heights)
8020 (display-buffer-mark-dedicated, window-splittable-p)
8021 (split-window-sensibly, window-safely-shrinkable-p):
8022 Un-obsolete.
8023 (display-buffer): Don't spread args with function specifier
8024 because special-display-popup-frame won't like it.
8025
35837f51
PE
80262011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8027
d0672f86
PE
8028 Time-stamp simplifications and fixes.
8029 These improve accuracy slightly, and future-proof the code
8030 against some potential changes to current-time format.
8031
b9444d97
PE
8032 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8033 by using time-since and float-time.
8034
0ef923dc
PE
8035 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8036 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8037 + NNN microseconds".
8038
2f81380d
PE
8039 * type-break.el (type-break-time-sum): Rewrite using time-add.
8040
845b5c3e
PE
8041 * play/hanoi.el (hanoi-current-time-float): Remove.
8042 All uses replaced by float-time.
8043
ee6f1be0
PE
8044 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8045 This yields a more-accurate answer.
8046 (rng-time-to-float): Remove; no longer needed.
8047
fe955043
PE
8048 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8049
5777162a
PE
8050 * calendar/timeclock.el (timeclock-seconds-to-time):
8051 Defalias to seconds-to-time, since they're the same thing.
8052
3103f8b6 8053 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8054 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8055 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8056
0e61a35f
SM
80572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * window.el (bury-buffer): Don't iconify the only frame.
8060 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8061 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8062
ddd63a1e
CY
80632011-07-01 Chong Yidong <cyd@stupidchicken.com>
8064
0e61a35f
SM
8065 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8066 Add mouse-yank-primary.
ddd63a1e 8067
055f4923
TZ
80682011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8069
8070 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8071
6a2fb145
SM
80722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8075 (find-library-name): Use it to find relative load names when provided
8076 absolute file name (bug#8803).
8077
fd4983f2
LMI
80782011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8079
887d14ad
LMI
8080 * textmodes/flyspell.el (flyspell-word): Consider words that
8081 differ only in case as potential doublons (bug#5687).
8082
c53dc7fc
LMI
8083 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8084 Remove two rather uninteresting debugging-like messages to make
8085 debbugs.el more silent.
8086
fd4983f2
LMI
8087 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8088 a password-like phrase.
8089
7a71b18d 80902011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8091
8092 * progmodes/cc-guess.el: New file.
8093
6a2fb145 8094 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8095
8096 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8097 derived from `c-basic-common-init'.
8098
8099 * progmodes/cc-mode.el (top-level): Require cc-guess.
8100 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8101
1fa280a3
LM
81022011-06-30 Lawrence Mitchell <wence@gmx.li>
8103
8104 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8105
e6597158
AM
81062011-06-30 Alan Mackenzie <acm@muc.de>
8107
1fa280a3
LM
8108 * progmodes/cc-engine.el (c-guess-continued-construct):
8109 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8110 lock is disabled. Name this case as "CASE G".
8111
68ba37fb
KM
81122011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8113
8114 * allout.el (allout-yank-processing): Fix injection of extra space
8115 between bullet and non-whitespace character in first topic when
8116 pasting, ensuring that the actual spacing in the pasted topic
8117 following the bullet char is preserved. This extra space was
8118 causing pasted encrypted topics to get a decrypted status even
8119 when the content was actually still encrypted. Now the decryption
8120 status from before the paste is preserved.
8121
8122 (allout-flag-region): Set all allout overlays so they evaporate
8123 when reduced to zero length (evanescent), to prevent overlay
8124 leakage.
8125
887a0b34
GM
81262011-06-30 Glenn Morris <rgm@gnu.org>
8127
94b9acce
GM
8128 * w32-fns.el (w32-charset-info-alist): Declare.
8129
1d9b46d4
GM
8130 * find-dired.el (find-grep-options): Simplify.
8131
cc232200
GM
8132 * term/ns-win.el (ns-set-resource): Declare.
8133
28e77c46
GM
8134 * ses.el (row, col): Declare dynamic variables honestly.
8135
887a0b34
GM
8136 * textmodes/reftex-parse.el (index-tags): Declare.
8137
658d8eb8
CY
81382011-06-30 Chong Yidong <cyd@stupidchicken.com>
8139
8140 * cus-edit.el (customize-push-and-save): New function.
8141
8142 * files.el (hack-local-variables-confirm): Use it.
8143
1fa280a3
LM
8144 * custom.el (load-theme): New arg NO-CONFIRM.
8145 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8146 (custom-enabled-themes): Doc fix.
8147
8148 * cus-theme.el (customize-create-theme)
8149 (custom-theme-merge-theme): Callers to load-theme changed.
8150
bb617717
LMI
81512011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8152
d61bdd5d
LMI
8153 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8154 short URLs have at least one dot in them (bug #7614).
8155
bb617717
LMI
8156 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8157 nil, because using a pty is apparently too slow (bug #895).
8158
2f31f37a
LMI
81592011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8160
8161 * mail/sendmail.el (sendmail-query-once): New function.
8162 (sendmail-query-once-function): New variable.
8163
3076b24e
GM
81642011-06-29 Glenn Morris <rgm@gnu.org>
8165
faf2a174
GM
8166 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8167
3076b24e
GM
8168 * ses.el (top-level): Require cl when compiling.
8169 (ses-set-localvars): Fix error statement.
8170 Call it at compile time to silence a storm of warnings.
8171
5386012d
MR
81722011-06-29 Martin Rudalics <rudalics@gmx.at>
8173
8174 * window.el (normalize-live-buffer): Rename to
8175 window-normalize-buffer.
8176 (normalize-live-frame): Rename to window-normalize-frame.
8177 (normalize-any-window): Rename to window-normalize-any-window.
8178 (normalize-live-window): Rename to window-normalize-live-window.
8179 (make-window-atom): Rename to window-make-atom.
8180 (window-resize-reset): Rename to window--resize-reset.
8181 (window-resize-reset-1): Rename to window--resize-reset-1.
8182 (resize-mini-window): Rename to window--resize-mini-window.
8183 (resize-subwindows-skip-p): Rename to
8184 window--resize-subwindows-skip-p.
8185 (resize-subwindows-normal): Rename to
8186 window--resize-subwindows-normal.
8187 (resize-subwindows): Rename to window--resize-subwindows.
8188 (resize-other-windows): Rename to window--resize-siblings.
8189 (resize-this-window): Rename to window--resize-this-window.
8190 (resize-root-window): Rename to window--resize-root-window.
8191 (resize-root-window-vertically): Rename to
8192 window--resize-root-window-vertically.
8193 (normalize-buffer-to-display): Rename to
8194 window-normalize-buffer-to-display.
8195 (normalize-buffer-to-switch-to): Rename to
8196 window-normalize-buffer-to-switch-to.
8197 Correspondingly update all callers of the functions listed
8198 above.
8199 (display-buffer-alist, display-buffer-normalize-arguments)
8200 (display-buffer-normalize-options, display-buffer)
8201 (display-buffer-alist-set): Use "function" instead of
8202 "fun-with-args".
8203
1176868d
CY
82042011-06-28 Chong Yidong <cyd@stupidchicken.com>
8205
8206 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8207 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8208 debbugs.gnu.org. Mention acknowledgment email.
8209
20a7a65f
LMI
82102011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8211
8212 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8213 buffer multibyteness, since it shouldn't matter.
8214
5f45cca5
MR
82152011-06-28 Martin Rudalics <rudalics@gmx.at>
8216
8217 * window.el (display-buffer-in-side-window): Handle dedicated
8218 windows as in display-buffer-reuse-window.
8219 (display-buffer-normalize-alist): Use value of override
8220 specifier.
8221 (display-buffer-normalize-specifiers): Use value of
8222 other-window-means-other-frame specifier.
8223 (display-buffer-alist): Rewrite some texts in widgets.
8224 (display-buffer): Spread arguments when calling function
8225 specified by fun-with-args.
8226
ad85fe1f
DD
82272011-06-28 Deniz Dogan <deniz@dogan.se>
8228
1fa280a3
LM
8229 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8230 Unnest `let'.
da68c4c8 8231
ad85fe1f
DD
8232 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8233 selectors (Bug#5732).
ec49bd31 8234 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8235
a08cc025
JA
82362011-06-27 Jari Aalto <jari.aalto@cante.net>
8237
8238 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8239 (eshell-ls-date-format): New defcustom.
8240 (eshell-ls-file): Use it.
8241
e2b551c5
SM
82422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8245
8982b231
KY
82462011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8247
8248 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8249 (ange-ftp-make-tmp-name): New arg.
8250 (ange-ftp-file-local-copy): Use it.
8251
36c9fa27
J
82522011-06-27 Jambunathan K <kjambunathan@gmail.com>
8253
8254 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8255 no-conversion (Bug#8870).
8256
d68443dc
MR
82572011-06-27 Martin Rudalics <rudalics@gmx.at>
8258
8259 * window.el (window-right, window-left, window-child)
8260 (window-child-count, window-last-child)
8261 (window-iso-combination-p, walk-window-tree-1)
8262 (window-atom-check-1, window-tree-1, delete-window)
8263 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8264 new naming conventions - window-vchild, window-hchild,
8265 window-next and window-prev are now called window-top-child,
8266 window-left-child, window-next-sibling and window-prev-sibling
8267 respectively.
d615d6d2
MR
8268 (resize-window-reset): Rename to window-resize-reset.
8269 (resize-window-reset-1): Rename to window-resize-reset-1.
8270 (resize-window): Rename to window-resize.
8271 (window-min-height, window-min-width)
8272 (resize-mini-window, resize-this-window, resize-root-window)
8273 (resize-root-window-vertically, adjust-window-trailing-edge)
8274 (enlarge-window, shrink-window, maximize-window)
8275 (minimize-window, delete-window, quit-restore-window)
8276 (split-window, balance-windows, balance-windows-area-adjust)
8277 (balance-windows-area, window-state-put-2)
8278 (display-buffer-even-window-sizes, display-buffer-set-height)
8279 (display-buffer-set-width, set-window-text-height)
8280 (fit-window-to-buffer): Rename all "resize-window" prefixed
8281 calls to use the "window-resize" prefix convention.
8282 (display-buffer-alist): Fix symbol for label specifier.
8283 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8284 corresponding specifier.
8285 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8286
b6458526
VB
82872011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8288
8289 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8290 convention.
8291 (ses-call-printer): Does not pass an empty string to formatter when the
8292 cell is empty to keep from barking printer Calc math-format-value.
8293
d31fd9ac
RS
82942011-06-27 Richard Stallman <rms@gnu.org>
8295
43d5bf84
RS
8296 * battery.el (battery-mode-line-limit): New variable.
8297 (battery-update): Handle it.
8298
d31fd9ac
RS
8299 * mail/rmailmm.el (rmail-mime-process-multipart):
8300 Handle truncated messages.
8301
819a6054
GM
83022011-06-27 Glenn Morris <rgm@gnu.org>
8303
8304 * progmodes/flymake.el (flymake-err-line-patterns):
8305 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8306
cedc73f2
VB
83072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8308
819a6054 8309 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8310 (ses--clean-!, ses--clean-_): New functions.
8311 (ses-range): Add configurability of readout order, and conversion
8312 to Calc vector.
8313
5e5d49b6
VB
8314 * ses.el (ses-repair-cell-reference-all): New function.
8315 (ses-cell-symbol): Set macro as safe, so that it can be used in
8316 formulas.
8317
56e6cc31 8318 * ses.el: Update cycle detection algorithm.
90ca8b49 8319 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8320 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8321 (ses-set-localvars): New function.
8322 (ses-make-cell): Add property-list as a cell element.
8323 (ses-cell-property-get-fun, ses-cell-property-get)
8324 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8325 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8326 New functions.
90ca8b49
VB
8327 (ses-cell-property-set, ses-cell-property-pop)
8328 (ses-cell-property-get-handle): New macro.
8329 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8330 New aliases, used for code readability.
8331 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8332 cycle detection.
8333 (ses-self-reference-early-detection): New defcustom.
fac916bf 8334 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8335 (ses-mode): Use ses-set-localvars.
8336 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8337 before lauching the update processing.
8338 (ses-initialize-Dijkstra-attempt): New function.
8339 (ses-recalculate-cell): Update for cycle detection based on
8340 Dijkstra algorithm.
8341
2bb63e81
VB
8342 * ses.el: Fix commenting and indenting convention.
8343
c9d29fb8
SM
83442011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * bs.el (bs-cycle-next): Complete last change.
8347
d8e4b68b
JB
83482011-06-27 Drew Adams <drew.adams@oracle.com>
8349
8350 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8351
40098786
LMI
83522011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8353
c9d29fb8
SM
8354 * net/network-stream.el (network-stream-open-starttls):
8355 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8356 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8357
40098786
LMI
8358 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8359 to binary to possibly avoid line encoding issues on Windows (among
8360 other things).
8361
468d09d4
LMI
83622011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8363
8364 * net/network-stream.el (open-network-stream): Return an :error
8365 saying what the problem was, if possible.
8366
8367 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8368 server.
8369
8370 * net/network-stream.el (network-stream-open-starttls): If we
8371 wanted to use STARTTLS, and the server offered it, but we weren't
8372 able to because we had no STARTTLS support, then close the connection.
8373 (open-network-stream): Return an :error element, if present.
8374
16f07dd7
CY
83752011-06-26 Chong Yidong <cyd@stupidchicken.com>
8376
88821ca0
CY
8377 * hl-line.el (hl-line-sticky-flag): Doc fix.
8378 (global-hl-line-sticky-flag): New option (Bug#8323).
8379 (global-hl-line-highlight): Obey it.
8380
16f07dd7
CY
8381 * vc/vc.el (vc-revert-show-diff): Default to t.
8382
6b5ccddf
KM
83832011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8384
c9d29fb8
SM
8385 * allout-widgets.el (allout-widgets-post-command-business):
8386 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8387 undecorated when an isearch is continued past, and isearch
8388 automatically collapses them. This leads to "widget leaks", where
8389 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8390 hidden widgets can slow down cursor travel, substantially.
8391 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8392 so we're doing without this nicety.
8393
8394 (allout-widgets-tally-string): Don't try to do a hash-table-count
8395 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8396 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8397 *Messages* when allout-widgets-maintain-tally is t.
8398
355f2e07
MR
83992011-06-26 Martin Rudalics <rudalics@gmx.at>
8400
8401 * window.el (display-buffer-normalize-argument): Rename to
8402 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8403 LABEL argument. Respect special-display-function when popping up
8404 a new frame. Fix code searching for a window showing the buffer
8405 on another frame.
c9d29fb8
SM
8406 (display-buffer-normalize-specifiers):
8407 Call display-buffer-normalize-arguments.
355f2e07
MR
8408 (display-buffer-in-window): Don't undedicate the window if its
8409 buffer remains the same.
8410 Reported by Drew Adams <drew.adams@oracle.com>.
8411 (display-buffer-alist): Add choice for same-window macro
8412 specfier.
8413 (display-buffer): Mention special meaning of LABEL argument in
8414 doc-string. Fix quoting. Don't pop up a new frame even as
8415 fallback.
8416
7ca8fc42
JB
84172011-06-26 Juanma Barranquero <lekktu@gmail.com>
8418
8419 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8420 avoid deleting the current window in some cases (bug#8911).
8421
bc312254
AS
84222011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8423
8424 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8425 (Bug#8934)
8426
2db18f3f
LMI
84272011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8428
c9d29fb8
SM
8429 * net/network-stream.el (network-stream-open-starttls):
8430 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8431 (network-stream-open-tls): Ditto.
8432
6302e0d3
LL
84332011-06-26 Leo Liu <sdl.web@gmail.com>
8434
8435 * register.el (registerv): New struct.
8436 (registerv-make): New function.
c9d29fb8
SM
8437 (jump-to-register, describe-register-1, insert-register):
8438 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8439 struct. (Bug#8415)
8440
5fdd4046
CY
84412011-06-26 Chong Yidong <cyd@stupidchicken.com>
8442
2afef60a
CY
8443 * vc/vc.el (vc-revert-show-diff): New defcustom.
8444 (vc-diff-internal): New arg specifying diff buffer.
8445 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8446 reuse an existing *vc-diff* buffer (Bug#8927).
8447
5fdd4046
CY
8448 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8449
e93db24a
GM
84502011-06-26 Glenn Morris <rgm@gnu.org>
8451
8452 * progmodes/f90.el (f90-critical-indent): New option.
8453 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8454 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8455 (f90-mode): Doc fix.
8456 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8457 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8458 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8459 (f90-match-end): Handle block, critical.
8460
eefff499
GM
84612011-06-25 Glenn Morris <rgm@gnu.org>
8462
f6ba4cc9
GM
8463 * calendar/diary-lib.el (diary-included-files): Doc fix.
8464 (diary-include-files): New function, extracted from
8465 diary-include-other-diary-files and diary-mark-included-diary-files.
8466 (diary-include-other-diary-files, diary-mark-included-diary-files):
8467 Just call diary-include-files.
8468 (diary-mark-entries): Reset diary-included-files on first call.
8469
16712304
GM
8470 * calendar/diary-lib.el (diary-mark-entries)
8471 (diary-mark-included-diary-files):
8472 Visit included diary-files in temp buffers.
8473
5d8e0d43
GM
8474 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8475 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8476 (f90-start-block-re, f90-imenu-generic-expression)
8477 (f90-looking-at-program-block-start, f90-no-block-limit):
8478 Add support for submodules.
8479
ccf7a5d5
GM
8480 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8481 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8482
11fdef7d 84832011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8484
8485 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8486 buffer-file-type before setting its value, to avoid disastrous
eefff499 8487 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8488
74f53697
JB
84892011-06-25 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8492
8493 * ses.el (ses-unload-function):
8494 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8495
8496 * proced.el (proced-unload-function):
8497 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8498
18a4ce5e
AR
84992011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8500
8501 * server.el (server-create-window-system-frame): Add parameters arg.
8502 (server-process-filter): Doc fix. Handle frame-parameters.
8503
519d22cc
JB
85042011-06-25 Juanma Barranquero <lekktu@gmail.com>
8505
8506 Fix bug#8730, bug#8781.
8507
8508 * loadhist.el (unload--set-major-mode): New function.
8509 (unload-feature): Use it.
8510
8511 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8512 (python-unload-function): New function.
8513
c206f5b0
SM
85142011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8517
f9ad64f3
GS
85182011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8519
8520 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8521 the candidates list.
8522
7d0da90e
JB
85232011-06-24 Juanma Barranquero <lekktu@gmail.com>
8524
8525 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8526
14b4e83d
RS
85272011-06-23 Richard Stallman <rms@gnu.org>
8528
8529 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8530 (rmail-variables): Set next-error-move-function.
8531 (rmail-what-message): Take argument POS.
8532 (rmail-next-error-move): New function.
8533
273d2baf
SM
85342011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8537 messages for adjacent non-terminals.
8538
56c2cc9a
RS
85392011-06-23 Richard Stallman <rms@gnu.org>
8540
8541 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8542 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8543 (rmail-start-mail): Don't specify use of rmail-mail-return;
8544 that's done by mail-bury now.
8545 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8546
d59eb518
MA
85472011-06-23 Michael Albinus <michael.albinus@gmx.de>
8548
8549 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8550 SIZE is a number.
8551
02cfc6d6
MR
85522011-06-23 Martin Rudalics <rudalics@gmx.at>
8553
8554 * window.el (get-lru-window, get-mru-window)
8555 (get-largest-window): Never return a minibuffer window.
8556 (display-buffer-pop-up-window): Fix a bug that could lead to
8557 reusing the minibuffer window.
8558 (display-buffer): Pass original specifier argument to
8559 display-buffer-function instead of the normalized one.
8560 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8561
4e323265
LL
85622011-06-22 Leo Liu <sdl.web@gmail.com>
8563
8564 * minibuffer.el (completing-read-function)
8565 (completing-read-default): Move from minibuf.c
8566
7a70468f
RS
85672011-06-22 Richard Stallman <rms@gnu.org>
8568
50718fc2
RS
8569 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8570 to Rmail even if not started by a special Rmail command.
8571
7a70468f
RS
8572 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8573 Copy the buffer currently showing just one message.
8574
297dde5a
RW
85752011-06-22 Roland Winkler <winkler@gnu.org>
8576
8577 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8578 (bibtex-clean-entry): First delete the old key so that a
8579 customized algorithm for generating the new key does not get
8580 confused by the old key.
8581 (bibtex-url): Obey regexp of first step.
8582 (bibtex-search-entries): Do not use add-to-list with local
8583 list-var.
8584
97bb1093
LMI
85852011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8586
8587 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8588 stored a user name, then query for the password first, instead of
8589 waiting for SMTP to give an error message and the trying again.
8590
1c0f1a19
JD
85912011-06-22 Lawrence Mitchell <wence@gmx.li>
8592
8593 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8594 BUFFER in call-process.
8595
396f7c9d
LMI
85962011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8597
8598 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8599 QUIT twice.
ddb7ffee
LMI
8600 (smtpmail-try-auth-methods): Require user name and password from
8601 auth-source.
396f7c9d 8602
8998d1b3
MR
86032011-06-22 Martin Rudalics <rudalics@gmx.at>
8604
8605 * window.el (display-buffer-default-specifiers)
8606 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8607 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8608 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8609
8610 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8611 (special-display-frame-alist, special-display-popup-frame):
8612 Remove duplicate declarations. These are now in window.el.
8613
4ea31e07
LMI
86142011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8615
c9d29fb8
SM
8616 * mail/smtpmail.el (smtpmail-via-smtp):
8617 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8618 server supports it. SMTP servers that support STARTTLS commonly
8619 require it.
8620
8621 * net/network-stream.el (network-stream-open-starttls): Support
8622 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8623 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8624
95f41d9a
LMI
8625 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8626 upgrades with `open-network-stream', and rely solely on
8627 auth-source for all credentials. Big changes throughout the file,
8628 but in particular:
c9d29fb8
SM
8629 (smtpmail-auth-credentials): Remove.
8630 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8631 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8632 MAIL FROM, too.
95f41d9a 8633
c9d29fb8
SM
8634 * net/network-stream.el (network-stream-open-starttls):
8635 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8636 STARTTLS.
8637 (auth-source): Require.
8638 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8639 (network-stream-certificate): Change cert-cert to cert and
8640 cert-key to key.
4ea31e07 8641
065ec2c7
MA
86422011-06-21 Michael Albinus <michael.albinus@gmx.de>
8643
8644 * net/tramp-cache.el (top): Don't load the persistency file when
8645 "emacs -Q" has been called.
8646
cd93b359
DR
86472011-06-21 Tim Harper <timcharper@gmail.com>
8648
d8e4b68b
JB
8649 * term/ns-win.el (ns-initialize-window-system):
8650 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8651 resource to NO as it is not yet supported by the NS port.
8652
ae9c0411
JB
86532011-06-21 Juanma Barranquero <lekktu@gmail.com>
8654
8655 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8656 (list-dynamic-libraries): ...not here.
8657
7f3f739f
LL
86582011-06-21 Leo Liu <sdl.web@gmail.com>
8659
8660 * subr.el (sha1): Implement sha1 using secure-hash.
8661
327c8fb1
MR
86622011-06-21 Martin Rudalics <rudalics@gmx.at>
8663
8664 * window.el (display-buffer-alist): In default value do not
8665 enforce searching a window on any but the selected frame.
8666 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8667 (display-buffer-select-window): Remove function.
8668 (display-buffer-in-window): When a window on another frame gets
8669 reused, do not select it any more but just raise its frame if
8670 necessary (Bug#8851) and (Bug#8856).
8671 (display-buffer-normalize-options): Handle pop-up-frames related
8672 options more faithfully.
8673 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8674 window if it is on another frame.
c9d29fb8
SM
8675 (display-buffer-alist, display-buffer-default-specifiers):
8676 Don't make new frame unsplittable by default.
9e9de014
MR
8677 (display-buffer-normalize-argument): Fix doc-string typo and use
8678 'same-frame-other-window instead of 'other-window when associating
8679 with display-buffer-macro-specifiers.
327c8fb1 8680
7cf3f556
VB
86812011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8682
8683 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8684 New functions.
8685 (5x5-mode-map, 5x5-mode-menu): Bind them.
8686 (5x5-draw-grid): Tweak the solver's rendering.
8687
60a406cf
SM
86882011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8691 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8692
d8e4b68b 86932011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8694
8695 * menu-bar.el: Use function variable instead of switch-to-buffer.
8696 (menu-bar-select-buffer-function): New variable.
60a406cf 8697 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8698
478d6f95
SM
86992011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8702 variable's status.
8703
ca530739
JD
87042011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8705
8706 * x-dnd.el (x-dnd-version-from-flags)
8707 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8708 and long as number (Bug#8899).
8709 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8710
bcd70d97
SM
87112011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8712
60a406cf 8713 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8714 (completion-try-completion, completion-all-completions): Compute the
8715 metadata argument if it's missing; make it optional (bug#8795).
8716
60a406cf 8717 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8718 (widget-complete): Use new :completion-function property.
8719 (widget-completions-at-point): New function.
8720 (default): Use :completion-function instead of :complete.
60a406cf
SM
8721 (widget-default-completions): Rename from widget-default-complete;
8722 Rewrite.
bcd70d97
SM
8723 (widget-string-complete, widget-file-complete, widget-color-complete):
8724 Remove functions.
8725 (file, symbol, function, variable, coding-system, color):
8726 * international/mule-cmds.el (default-input-method, charset)
8727 (language-info-custom-alist):
8728 * cus-edit.el (face): Use new property :completions.
8729
8730 * progmodes/pascal.el (pascal-completions-at-point): New function.
8731 (pascal-mode): Use it.
8732 (pascal-mode-map): Use completion-at-point.
8733 (pascal-toggle-completions): Make obsolete.
8734 (pascal-complete-word, pascal-show-completions):
8735 * progmodes/octave-mod.el (octave-complete-symbol):
8736 Redefine as obsolete alias.
8737 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8738 Signal absence of completion info for old Octave,
8739 (inferior-octave-complete): Redefine as obsolete alias.
8740 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8741 (meta-completions-at-point): Rename from meta-complete-symbol and
8742 adapt it for use on completion-at-point-functions.
8743 (meta-common-mode): Use it.
8744 (meta-looking-at-backward, meta-match-buffer): Remove.
8745 (meta-complete-symbol): Redefine as obsolete alias.
8746 (meta-common-mode-map): Use completion-at-point.
8747 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8748 (makefile-mode-map): Use completion-at-point.
8749 (makefile-completions-at-point): Rename from makefile-complete and
8750 adapt it for use on completion-at-point-functions.
8751 (makefile-mode): Use it.
8752 (makefile-complete): Redefine as obsolete alias.
8753
aebf69c8
DD
87542011-06-20 Deniz Dogan <deniz@dogan.se>
8755
8756 * net/rcirc.el: Delete trailing whitespaces once and for all.
8757
bfbbb27d
DC
87582011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8759
8760 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8761
d264a46b
CY
87622011-06-19 Chong Yidong <cyd@stupidchicken.com>
8763
4ca009e5
CY
8764 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8765
d264a46b
CY
8766 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8767
fbf5b3ce
MR
87682011-06-19 Martin Rudalics <rudalics@gmx.at>
8769
8770 * window.el (display-buffer-other-window-means-other-frame):
8771 Call display-buffer-normalize-alist.
8772 (display-buffer-normalize-specifiers-1): Rename to
8773 display-buffer-normalize-argument. New argument other-frame.
8774 Rewrite.
8775 (display-buffer-normalize-specifiers-2): Rename to
8776 display-buffer-normalize-options.
8777 (display-buffer-normalize-alist-1): New function.
8778 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8779 display-buffer-normalize-alist.
8780 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8781 (display-buffer-normalize-options-inhibit): New variable.
8782 (display-buffer-normalize-specifiers): Rewrite calling
8783 display-buffer-normalize-alist,
8784 display-buffer-normalize-argument, and
8785 display-buffer-normalize-options. Don't call the latter if
8786 display-buffer-normalize-options-inhibit is non-nil.
8787 (frame-auto-delete): New option.
8788 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8789 (window-list-no-nils, window-state-ignored-parameters)
8790 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8791 (window-state-put-1, window-state-put-2, window-state-put):
8792 New functions.
9a028c23
MR
8793 (display-buffer-normalize-options): Move special-display-p group
8794 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8795
6d10d800
CY
87962011-06-18 Chong Yidong <cyd@stupidchicken.com>
8797
6420d28b
CY
8798 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8799 groups (Bug#8776).
8800 (rx-submatch-n): New function.
8801 (rx): Document it.
8802
ddb8b596
CY
8803 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8804 (Bug#8768).
8805
8806 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8807
77080289
CY
8808 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8809
61dfb316
CY
8810 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8811 anytime existing face settings are present (Bug#8889).
8812
6d10d800
CY
8813 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8814 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8815 Remove unused argument.
8816
be3fb2b8
MR
88172011-06-18 Martin Rudalics <rudalics@gmx.at>
8818
bcd70d97
SM
8819 * window.el (display-buffer-default-specifiers):
8820 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8821 pop-up-window-min-width, and another reuse-window specifier
8822 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8823 (display-buffer-normalize-specifiers-2):
8824 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8825 pop-up-windows is unset. Add a reuse-window specifier for the
8826 case popping up a new window fails.
8827 (special-display-popup-frame): Remove double quoting.
28dec25a 8828 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8829
1c6d8c76
SM
88302011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8833 according to comint-completion-addsuffix.
8834
8835 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8836 (pcomplete-suffix-list): Mark as obsolete.
8837 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8838 pcomplete-seen in the closure.
8839 (pcomplete-comint-setup): Setup completion-at-point as well.
8840 (pcomplete--entries): New function.
8841 (pcomplete--env-regexp): New var.
8842 (pcomplete-entries): Rewrite to work with partial-completion and
8843 without relying on pcomplete-suffix-list.
8844 (pcomplete-pare-list): Remove, unused.
8845
25aef8b8
MR
88462011-06-17 Martin Rudalics <rudalics@gmx.at>
8847
8848 * window.el (display-buffer-alist): Set pop-up-window-min-height
8849 and pop-up-window-min-width in default value. Reported by
8850 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8851 other-window-means-other-frame.
8852 (display-buffer-macro-specifiers): Comment out entry for
8853 other-window specifier.
8854 (display-buffer-other-window-means-other-frame): New function.
8855 (display-buffer-normalize-specifiers-1): New arguments
8856 buffer-name and label. Treat other-window case specially.
8857 (display-buffer-normalize-specifiers-2): Treat other-window case
8858 specially.
8859 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8860 (display-buffer-normalize-specifiers):
8861 Call display-buffer-normalize-specifiers-3.
25aef8b8 8862
dbad4f69
MR
88632011-06-17 Martin Rudalics <rudalics@gmx.at>
8864
8865 * window.el (same-window-p): Fix two typos introduced when
8866 adding with-no-warnings.
d1067961
MR
8867 (display-buffer-normalize-specifiers-1): Don't check
8868 pop-up-frames for 'unset initialization.
8869 (display-buffer-normalize-specifiers-2): Major rewrite using
8870 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8871 (pop-up-frames, display-buffer-reuse-frames)
8872 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8873 Suggested by David Engster <deng@randomsample.de>.
8874 (even-window-heights): Initialize to 'unset.
8875 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8876 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8877 other window case.
dbad4f69 8878
9b9c9e3a
MR
88792011-06-16 Martin Rudalics <rudalics@gmx.at>
8880
bcd70d97
SM
8881 * window.el (display-buffer-normalize-specifiers-1):
8882 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8883 second argument of display-buffer (Bug#8865).
981d5c09
MR
8884 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8885 (switch-to-buffer-other-window-same-frame)
8886 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8887 Adams (Bug#8875).
9c2755e9
MR
8888 (display-buffer): Don't check noninteractive when calling
8889 display-buffer-pop-up-frame.
8890 (display-buffer-pop-up-frame): Never pop up a frame in
8891 noninteractive mode (Bug#8857).
67222e1d
MR
8892 (enlarge-window, shrink-window): Don't report an error when the
8893 window can't be resized as requested (Bug#8862).
9b9c9e3a 8894
2b75be67
SM
88952011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8896
9ffdd3ba
SM
8897 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8898
cb581a67
SM
8899 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8900
2b75be67
SM
8901 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8902
8c0e3589
AM
89032011-06-15 Alan Mackenzie <acm@muc.de>
8904
cb581a67
SM
8905 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8906 for declarators, disable knr checking to speed up for normal files.
8907 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8908
b96e6cde
LMI
89092011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8910
4bba86e6
LMI
8911 * net/network-stream.el (open-network-stream): Add the keyword
8912 :always-query-capabilities for the case where you want to force a
8913 `plain' network connection, but the protocol still requires the
8914 capabilitiy command (i.e., SMTP and EHLO).
8915
2b75be67 8916 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8917 consistency with other `-live-p' functions.
8918
efdcdbf8
SM
89192011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * window.el (same-window-buffer-names, same-window-regexps)
8922 (special-display-frame-alist, special-display-popup-frame)
8923 (special-display-function, special-display-buffer-names)
8924 (special-display-regexps, pop-up-frame-alist)
8925 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8926 (pop-up-windows, split-window-preferred-function)
8927 (split-height-threshold, split-width-threshold, even-window-heights)
8928 (display-buffer-mark-dedicated): Don't encourage the use of
8929 display-buffer-alist from Elisp code.
8930
c5cde042
DN
89312011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8932
8933 * progmodes/python.el (python-mode): Derive from prog-mode.
8934 * progmodes/ps-mode.el (ps-mode):
8935 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8936 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8937 * progmodes/ld-script.el (ld-script-mode): Likewise.
8938
baa1c9ab
MR
89392011-06-15 Martin Rudalics <rudalics@gmx.at>
8940
8941 * window.el (display-buffer-alist): Trim default value to avoid
8942 popping up a new frame (Bug#8857) or reusing an arbitrary window
8943 on another frame.
8944 (display-buffer): Do not fall back on popping up a new frame in
8945 batch mode (Bug#8857).
8946
c5dd5a51
CY
89472011-06-14 Chong Yidong <cyd@stupidchicken.com>
8948
8949 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8950 (custom-theme-summary): New function.
8951 (customize-themes): Use it.
8952
d647b7c4
GM
89532011-06-13 Glenn Morris <rgm@gnu.org>
8954
8955 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8956
9481c002
MR
89572011-06-13 Martin Rudalics <rudalics@gmx.at>
8958
357f93d2
MR
8959 * help.el (help-window): Remove variable.
8960 (help-window-point-marker, temp-buffer-max-height)
8961 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8962 (help-print-return-message): Don't set help-window.
8963 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8964 (help-window-setup-finish): Remove.
8965 (help-window-display-message, help-window-setup)
8966 (with-help-window): Major rewrite based on new
8967 display-buffer-window variable.
8968
8969 * help-mode.el (help-mode-finish): Remove help-window related
8970 code.
8971
8972 * view.el (view-exits-all-viewing-windows): Remove reference to
8973 view-return-to-alist in doc-string.
8974 (view-return-to-alist): Make obsolete.
8975 (view-buffer): Call pop-to-buffer-same-window and remove
8976 undo-window code.
8977 (view-buffer-other-window): Call pop-to-buffer-other-window and
8978 simplify code. Ignore second argument.
8979 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8980 simplify code. Ignore second argument.
8981 (view-return-to-alist-update): Make obsolete.
8982 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8983 Rewrite using quit-restore window parameters.
2b75be67
SM
8984 (view-mode-exit): Rename second argument to EXIT-ONLY.
8985 Rewrite using quit-restore-window.
357f93d2
MR
8986 (View-exit, View-exit-and-edit, View-leave, View-quit)
8987 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8988 appropriate arguments.
8989 (view-end-message): Use quit-restore window parameter.
8990
9481c002
MR
8991 * window.el (display-buffer-function): Rewrite doc-string.
8992 (display-buffer-window, display-buffer-alist): New variables.
8993 (display-buffer-split-specifiers)
8994 (display-buffer-side-specifiers)
8995 (display-buffer-macro-specifiers): New constants.
8996 (display-buffer-even-window-sizes, display-buffer-set-height)
8997 (display-buffer-set-width, display-buffer-select-window)
8998 (display-buffer-in-window, display-buffer-reuse-window)
8999 (display-buffer-split-window-1, display-buffer-split-window)
9000 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9001 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9002 (display-buffer-in-side-window, normalize-buffer-to-display)
9003 (display-buffer-normalize-specifiers-1)
9004 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9005 (display-buffer-normalize-specifiers, display-buffer-frame):
9006 New functions.
9481c002
MR
9007 (display-buffer): Major rewrite.
9008 (display-buffer-other-window, display-buffer-other-frame)
9009 (pop-to-buffer, switch-to-buffer-other-window)
9010 (switch-to-buffer-other-frame): Rewrite.
9011 (display-buffer-same-window, display-buffer-same-frame)
9012 (display-buffer-same-frame-other-window)
9013 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9014 (pop-to-buffer-other-window)
9015 (pop-to-buffer-same-frame-other-window)
9016 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9017 (switch-to-buffer-other-window-same-frame): New functions.
9018 (same-window-p, special-display-p): Rewrite disabling warnings.
9019 Make obsolete.
9020 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9021 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9022 Make obsolete
9023 (same-window-buffer-names, same-window-regexps)
9024 (special-display-frame-alist, special-display-popup-frame)
9025 (special-display-function, special-display-buffer-names)
9026 (special-display-regexps, pop-up-frame-alist)
9027 (pop-up-frame-function, split-window-preferred-function)
9028 (split-height-threshold, split-width-threshold)
9029 (even-window-heights): Make obsolete.
9030
9db51aca
GM
90312011-06-12 Glenn Morris <rgm@gnu.org>
9032
9033 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9034 Misc simplifications.
9db51aca 9035
39cffb44
MR
90362011-06-12 Martin Rudalics <rudalics@gmx.at>
9037
9038 * window.el (window-safely-shrinkable-p): Restore function which
9039 was inadvertently removed in change from 2011-06-11. Declare as
9040 obsolete.
9041
2b75be67
SM
9042 * calendar/calendar.el (calendar-generate-window):
9043 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9044 window-safely-shrinkable-p.
9045
a8955be7
GM
90462011-06-12 Glenn Morris <rgm@gnu.org>
9047
9048 * progmodes/fortran.el (fortran-mode-syntax-table):
9049 * progmodes/f90.el (f90-mode-syntax-table):
9050 Set % to punctuation. (Bug#8820)
9051 (f90-find-tag-default): Remove, no longer needed.
9052
f0d4059d
DC
90532011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9054
9055 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9056
1100a63c
CY
90572011-06-11 Chong Yidong <cyd@stupidchicken.com>
9058
9059 * image.el (image-animated-p): Return animation delay in seconds.
9060 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9061 (image-animate-timeout): Remove DELAY argument. Don't assume
9062 every subimage has the same delay; get it from image-animated-p.
9063 (image-animate): Caller changed.
9064
def722bf
MA
90652011-06-11 Michael Albinus <michael.albinus@gmx.de>
9066
9067 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9068 to ignored backtrace functions.
9069
0a2bb1a9
GM
90702011-06-11 Glenn Morris <rgm@gnu.org>
9071
9072 * calendar/appt.el (appt-disp-window-function): Doc fix.
9073 (appt-check): Handle overlapping appointments. (Bug#8337)
9074
6198ccd0
MR
90752011-06-11 Martin Rudalics <rudalics@gmx.at>
9076
9077 * window.el (window-tree-1, window-tree): New functions, moving
9078 the latter to window.el.
9079 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9080 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9081 (bw-refresh-edges): Remove.
9082 (balance-windows-1, balance-windows-2): New functions.
9083 (balance-windows): Rewrite in terms of window tree functions,
9084 balance-windows-1 and balance-windows-2.
9085 (bw-adjust-window): Remove.
9086 (balance-windows-area-adjust): New function with functionality of
9087 bw-adjust-window but using resize-window.
2b75be67
SM
9088 (set-window-text-height): Rewrite doc-string.
9089 Use normalize-live-window and resize-window.
9090 (enlarge-window-horizontally, shrink-window-horizontally):
9091 Rename argument to DELTA.
6198ccd0
MR
9092 (window-buffer-height): New function.
9093 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9094 Rewrite using new window resize routines.
2b75be67
SM
9095 (kill-buffer-and-window, mouse-autoselect-window-select):
9096 Use ignore-errors instead of condition-case.
6198ccd0
MR
9097 (quit-window): Call delete-frame instead of delete-windows-on
9098 for the only buffer on frame.
9099
9397e56f
MR
91002011-06-10 Martin Rudalics <rudalics@gmx.at>
9101
9102 * loadup.el (top-level): Load window before files for the sake
9103 of replace-buffer-in-windows.
9104
9105 * files.el (read-buffer-to-switch)
9106 (switch-to-buffer-other-window)
2b75be67
SM
9107 (switch-to-buffer-other-frame, display-buffer-other-frame):
9108 Move to window.el.
9397e56f
MR
9109
9110 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9111 (previous-buffer): Move to window.el.
9112
9113 * bindings.el (unbury-buffer): Move to window.el.
9114
9115 * window.el (delete-other-windows-vertically): Move after
9116 definition of delete-other-windows.
9117 (other-window, delete-windows-on, replace-buffer-in-windows):
9118 Move here from window.c.
9119 (record-window-buffer, unrecord-window-buffer)
9120 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9121 (switch-to-next-buffer): New functions.
9122 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9123 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9124 (previous-buffer): Move here from simple.el.
9125 Call switch-to-prev-buffer.
9397e56f
MR
9126 (bury-buffer): Move here from buffer.c. Switch to previous
9127 buffer when window cannot be deleted.
9128 (unbury-buffer): Move here from bindings.el.
9129 (ctl-x-map): Move binding for other-window from window.c to
9130 here.
9131 (read-buffer-to-switch, switch-to-buffer-other-window)
9132 (switch-to-buffer-other-frame): Move here from files.el.
9133 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9134 (switch-to-buffer): Move here from buffer.c.
9135 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9136
562dd5e9
MR
91372011-06-10 Martin Rudalics <rudalics@gmx.at>
9138
9139 * window.el (window-min-height, window-min-width): Move here
9140 from window.c. Add defcustoms and rewrite doc-strings.
9141 (resize-mini-window, resize-window): New functions.
9142 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9143 Move here from window.c.
9144 (maximize-window, minimize-window): New functions.
9145 (delete-window, delete-other-windows, split-window): Move here
9146 from window.c.
9147 (window-split-min-size): New function.
9148 (split-window-keep-point): Mention split-window-above-each-other
9149 instead of split-window-vertically.
2b75be67 9150 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9151 Rename split-window-vertically to split-window-above-each-other
9152 and provide defalias for old definition.
9153 (split-window-side-by-side, split-window-horizontally):
9154 Rename split-window-horizontally to split-window-side-by-side
9155 and provide defalias for the old definition.
562dd5e9
MR
9156 (ctl-x-map): Move bindings for delete-window,
9157 delete-other-windows and enlarge-window here from window.c.
9158 Replace bindings for split-window-vertically and
9159 split-window-horizontally by bindings for
9160 split-window-above-each-other and split-window-side-by-side.
9161
9162 * cus-start.el (all): Remove entries for window-min-height and
9163 window-min-width. Add entries for window-splits and
9164 window-nest.
9165
f0da764a
GM
91662011-06-09 Glenn Morris <rgm@gnu.org>
9167
80675c21
GM
9168 * calendar/appt.el (appt-mode-line): New function.
9169 (appt-check, appt-disp-window): Use it.
9170
f0da764a
GM
9171 * files.el (hack-one-local-variable-eval-safep):
9172 Allow minor-modes with explicit +/-1 arguments.
9173
59f623b7
TZ
91742011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9175
9176 * term/xterm.el (xterm): Add defgroup.
9177 (xterm-extra-capabilities): Add defcustom to supply known xterm
9178 capabilities, skip querying them, or query them (default).
9179 (terminal-init-xterm): Use it.
9180 (terminal-init-xterm-modify-other-keys): New function to set up
9181 modifyOtherKeys support to simplify `terminal-init-xterm'.
9182
9aab8e0d
MR
91832011-06-09 Martin Rudalics <rudalics@gmx.at>
9184
9185 * window.el (resize-window-reset, resize-window-reset-1)
9186 (resize-subwindows-skip-p, resize-subwindows-normal)
9187 (resize-subwindows, resize-other-windows, resize-this-window)
9188 (resize-root-window, resize-root-window-vertically)
9189 (window-deletable-p, window-or-subwindow-p)
9190 (frame-root-window-p): New functions.
9191
e8b08aee
GM
91922011-06-09 Glenn Morris <rgm@gnu.org>
9193
9194 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9195 (ange-ftp-get-files): Use it.
9196
254c37a5
AK
91972011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9198
9199 * mail/sendmail.el (mail-recover-1, mail-recover):
9200 * files.el (recover-file, recover-session):
9201 Handle dired-listing-switches not being just a single short option.
9202
35d7dbd3
GM
92032011-06-09 Glenn Morris <rgm@gnu.org>
9204
9205 * calendar/appt.el (appt-display-message, appt-disp-window):
9206 Handle lists of appointments.
9207
387522b2
MR
92082011-06-08 Martin Rudalics <rudalics@gmx.at>
9209
2b75be67
SM
9210 * window.el (one-window-p): Move down in code.
9211 Rewrite doc-string.
9212 (window-current-scroll-bars): Rewrite doc-string.
9213 Normalize live window argument.
387522b2
MR
9214 (walk-windows, get-window-with-predicate, count-windows):
9215 Rewrite doc-string. Use window-list-1.
9216 (window-in-direction-2, window-in-direction, get-mru-window):
9217 New functions.
9218
d8e4b68b 92192011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9220
9221 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9222 Doc fix (Bug#8713).
9223
92242011-06-08 Chong Yidong <cyd@stupidchicken.com>
9225
9226 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9227
92282011-06-08 Juanma Barranquero <lekktu@gmail.com>
9229
9230 * loadhist.el (unload-feature-special-hooks):
9231 Add `comint-output-filter-functions'.
9232
0de12c52
IK
92332011-06-08 Ivan Kanis <gnu@kanis.fr>
9234
9235 * calendar/appt.el (appt-check): Move some initializations into the let.
9236
f3d1777e
MR
92372011-06-08 Martin Rudalics <rudalics@gmx.at>
9238
9239 * window.el (window-height): Defalias to window-total-height.
9240 (window-width): Defalias to window-body-width.
9241
18af70d0
CY
92422011-06-07 Chong Yidong <cyd@stupidchicken.com>
9243
9244 * image-mode.el (image-toggle-animation): New command.
9245 (image-mode-map): Bind it to RET.
9246 (image-mode): Update message.
9247 (image-toggle-display-image): Avoid a spurious cache flush.
9248 (image-transform-rotation): Doc fix.
9249 (image-transform-properties): Return quickly in the normal case.
9250 (image-animate-loop): Rename from image-animate-max-time.
9251
2b75be67 9252 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9253 (create-animated-image): Remove unnecessary function.
9254 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9255 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9256 (image-animate-timer): Use car-safe.
9257 (image-animate-timeout): Rename argument.
9258
190b47e6
MR
92592011-06-07 Martin Rudalics <rudalics@gmx.at>
9260
9261 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9262 window.c. Rename first argument to ALL-FRAMES.
9263 Rephrase doc-strings.
9264 (get-buffer-window-list): Rewrite using window-list-1.
9265 Rephrase doc-string.
a1511caf
MR
9266 (window-safe-min-height, window-safe-min-width): New constants.
9267 (window-size-ignore, window-min-size, window-min-size-1)
9268 (window-sizable, window-sizable-p, window-size-fixed-1)
9269 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9270 (window-max-delta-1, window-max-delta, window-resizable)
9271 (window-resizable-p, window-total-height, window-total-width)
9272 (window-body-width): New functions.
9273 (window-full-height-p, window-full-width-p): Rewrite using
9274 window-total-size.
9275 (window-body-height): Rewrite using window-body-size.
190b47e6 9276
85cc1f11
MR
92772011-06-06 Martin Rudalics <rudalics@gmx.at>
9278
9279 * window.el (window-right, window-left, window-child)
9280 (window-child-count, window-last-child, window-any-p)
9281 (normalize-live-buffer, normalize-live-frame)
9282 (normalize-any-window, normalize-live-window)
9283 (window-iso-combination-p, window-iso-combined-p)
9284 (window-iso-combinations)
9285 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9286 (windows-with-parameter, window-with-parameter)
9287 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9288 (window-atom-check, window-side-check, window-check):
9289 New functions.
85cc1f11
MR
9290 (ignore-window-parameters, window-sides, window-sides-vertical)
9291 (window-sides-slots): New variables.
9292 (window-size-fixed): Move down in code. Minor doc-string fix.
9293
e7156492
AS
92942011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9295
9296 * comint.el (comint-dynamic-complete-as-filename)
9297 (comint-dynamic-complete-filename): Correctly call
9298 completion-in-region.
9299
7e821d0d
DD
93002011-06-05 Deniz Dogan <deniz@dogan.se>
9301
9302 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9303 in last change.
9304
ac09b8a1
DD
93052011-06-05 Deniz Dogan <deniz@dogan.se>
9306
9307 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9308 (rcirc): Use it to prompt for encryption.
9309
34699b85
RW
93102011-06-05 Roland Winkler <winkler@gnu.org>
9311
9312 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9313 (bibtex-search-entries): New command bound to C-c C-a.
9314 (bibtex-display-entries): New function.
9315
004dedd3
RW
93162011-06-05 Roland Winkler <winkler@gnu.org>
9317
9318 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9319 (bibtex-insert-kill): After yanking insert newline if necessary.
9320 (bibtex-initialize): Call bibtex-string-files-init only once.
9321 (bibtex-mode): Do not call easy-menu-add.
9322 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9323 (bibtex-yank): Set arg properly if nil.
9324
022fe7ce
RW
93252011-06-05 Roland Winkler <winkler@gnu.org>
9326
2b75be67
SM
9327 * textmodes/bibtex.el (bibtex-search-entry-globally):
9328 New variable.
022fe7ce
RW
9329 (bibtex-search-entry): Use it.
9330
b7c3692a
RW
93312011-06-05 Roland Winkler <winkler@gnu.org>
9332
9333 * textmodes/bibtex.el (bibtex-entry-format): New option
9334 sort-fields.
9335 (bibtex-format-entry, bibtex-reformat): Honor this option.
9336 (bibtex-parse-entry): Return fields in proper order.
9337
8eda563d
JB
93382011-06-05 Juanma Barranquero <lekktu@gmail.com>
9339
9340 * doc-view.el (doc-view-remove-if): Move computation of result out
9341 of `dolist' to silence misleading lexical-binding warning.
9342
7dbe3dbc
CY
93432011-06-04 Chong Yidong <cyd@stupidchicken.com>
9344
9345 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9346 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9347
0c33dd17
MA
93482011-06-04 Michael Albinus <michael.albinus@gmx.de>
9349
9350 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9351 "SunOS 5.10".
9352
f8f91c2b
MA
93532011-06-04 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9356 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9357 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9358 (tramp-parse-putty):
9359 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9360 (tramp-completion-function-alist-ssh)
9361 (tramp-completion-function-alist-telnet)
9362 (tramp-completion-function-alist-su)
9363 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9364 cookie.
9365
9366 * net/tramp-ftp.el:
9367 * net/tramp-sh.el:
9368 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9369 load "tramp.el" `tramp-set-completion-function'.
9370
e17d9003
SM
93712011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * shell.el: Require and use pcomplete.
9374 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9375 (shell-completion-vars): Set pcomplete-default-completion-function.
9376
6c4cab03
DD
93772011-06-04 Deniz Dogan <deniz@dogan.se>
9378
9379 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9380 `memq' (Bug#8799).
9381
ea9fafe0
SM
93822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9383
9384 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9385
b3e945d3
JB
93862011-06-02 Juanma Barranquero <lekktu@gmail.com>
9387
9388 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9389 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9390 * vc/log-view.el (log-view-beginning-of-defun):
9391 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9392 (smerge-refine-forward, smerge-refine-chopup-region):
9393 Silence warning for unused `dotimes' counter variables.
9394
7d520089
SM
93952011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * net/tramp.el (tramp-with-progress-reporter): Rename from
9398 with-progress-reporter. Use `declare'.
9399 * net/tramp-smb.el:
9400 * net/tramp-sh.el:
9401 * net/tramp-gvfs.el: Update all uses.
9402
a1c2400f
JB
94032011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9404
9405 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9406 buffer isn't killed before making it current.
9407
2403c841
SM
94082011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 Silence various byte-compiler warnings.
9411 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9412 `access-type' and new obsolescence format.
9413 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9414 new format.
9415 (byte-compile-check-variable): New `access-type' argument.
9416 Only warn if the access-type is obsolete.
9417 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9418 (byte-compile-variable-set): Adjust callers.
9419 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9420 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9421 setting it as obsolete.
9422 * simple.el (minibuffer-completing-symbol):
9423 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9424 access as obsolete.
9425 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9426 obsolete yet.
9427 * international/quail.el (quail-mouse-choose-completion): Remove unused
9428 code referring to obsolete var.
9429 (quail-choose-completion-string): Remove.
9430 * server.el (server-clients-with, server-kill-buffer-query-function)
9431 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9432 * proced.el (proced-send-signal):
9433 * emacs-lisp/lisp.el (lisp-complete-symbol):
9434 Replace completion-annotate-function with completion-extra-properties.
9435
2462470b
SM
94362011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9437
fb5b2591
SM
9438 * simple.el (goto-line): Use read-number.
9439 (overriding-map-is-bound): Remove.
9440 (saved-overriding-map): Change default.
9441 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9442 Take the map as argument.
9443 (universal-argument, negative-argument, digit-argument): Use it.
9444 (restore-overriding-map): Adjust.
9445 (do-auto-fill): Use fill-forward-paragraph.
9446 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9447
fd6fa53f
SM
9448 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9449 (minibuffer-inactive-mode): New major mode.
9450 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9451 the *Messages* buffer" hack.
9452 (mouse-popup-menubar): Don't burp if the event is a normal key.
9453
2462470b
SM
9454 Miscellaneous tweaks.
9455 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9456 lexical scoping as in subr.el's dolist and dotimes.
9457 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9458 Silence compiler warning.
9459 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9460 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9461 * international/ccl.el (ccl-compile): Trivial simplification.
9462 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9463 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9464 `printflag' argument.
9465 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9466 Purecopy the whole obsolescence data.
9467
108bf785
LL
94682011-06-01 Leo Liu <sdl.web@gmail.com>
9469
9470 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9471 improve doc-string as suggested by Marco Pessotto
9472 <melmothx@gmail.com>.
9473 (rcirc-print): Fix last change.
9474
30a23501
SM
94752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * minibuffer.el (complete-with-action): Return nil for the metadata and
9478 boundaries of non-functional tables.
9479 (completion-table-dynamic): Return nil for the metadata.
9480 (completion-table-with-terminator): Add default case, using
9481 complete-with-action.
9482 (completion--metadata): New function.
9483 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9484 to try and avoid pathological performance problems.
9485 (completion--embedded-envvar-table): Return `category' metadata.
9486
bcd54f83
LMI
94872011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9488
9489 * subr.el (process-alive-p): New tiny convenience function.
9490
e227544d
SM
94912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9494 content but also its previous major mode.
9495
e8296fdc
HE
94962011-05-31 Helmut Eller <eller.helmut@gmail.com>
9497
4d61f28d 9498 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9499 *Backtrace* buffer when we exit with C-M-c.
9500
620c53a6
SM
95012011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * minibuffer.el: Add metadata method to completion tables.
9504 (completion-category-overrides): New defcustom.
9505 (completion-metadata, completion--field-metadata)
9506 (completion-metadata-get, completion--styles)
9507 (completion--cycle-threshold): New functions.
9508 (completion-try-completion, completion-all-completions):
9509 Add `metadata' argument to choose completion-styles.
9510 (completion--do-completion): Use metadata to choose cycling.
9511 (completion-all-sorted-completions): Use metadata for sorting.
9512 Remove :completion-cycle-penalty which is not needed any more.
9513 (completion--try-word-completion): Add `metadata' argument.
9514 (minibuffer-completion-help): Check metadata for annotation function
9515 and sorting.
9516 (completion-file-name-table): Return `category' metadata.
9517 (minibuffer-completing-file-name): Make obsolete.
9518 * simple.el (minibuffer-completing-symbol): Make obsolete.
9519 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9520 completion-try-completion.
9521
1257e755
SM
95222011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9525
3767e706
LL
95262011-05-30 Leo Liu <sdl.web@gmail.com>
9527
9528 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9529 (rcirc-print): Decode all incoming messages (bug#8744).
9530 (rcirc-decode-coding-system): Allow value nil for automatic coding
9531 system detection.
3767e706 9532
d1a5d56a
GM
95332011-06-01 Glenn Morris <rgm@gnu.org>
9534
9535 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9536
e8cbec34
CY
95372011-05-29 Chong Yidong <cyd@stupidchicken.com>
9538
9539 * image.el (image-animate-max-time): Allow nil and t values.
9540 Default to nil.
9541 (create-animated-image): Doc fix.
9542 (image-animate-start): Remove second arg; just use
9543 image-animate-max-time.
9544 (image-animate-timeout): Doc fix. Args changed.
9545
9546 * image-mode.el (image-toggle-display-image): Ensure that the
9547 image spec passed to the animate timer is the same object as in
58179cce 9548 the buffer's display property (Bug#6981).
e8cbec34
CY
9549 (image-transform-properties): Doc fix.
9550
9551 * image.el (image-animate-max-time): Default to nil.
9552
159daf87
MR
95532011-05-29 Martin Rudalics <rudalics@gmx.at>
9554
9555 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9556 entire buffer list (Bug#8184).
9557
d66c4c7c
CY
95582011-05-29 Chong Yidong <cyd@stupidchicken.com>
9559
9560 * image.el (imagemagick-types-inhibit)
9561 (imagemagick-register-types): Doc fix.
9562
80aec780
DD
95632011-05-29 Deniz Dogan <deniz@dogan.se>
9564
9565 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9566 default.
9567
1dd3c2d9
CY
95682011-05-29 Chong Yidong <cyd@stupidchicken.com>
9569
9570 * select.el: Don't perform clipboard-manager saving in hooks;
9571 leave the hooks empty.
9572
60e56523
LL
95732011-05-28 Leo Liu <sdl.web@gmail.com>
9574
9575 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9576 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9577 (occur-edit-mode): New major mode (Bug#8463).
9578 (occur-after-change-function): New function.
9579 (occur-engine): Give Occur tags a read-only property.
9580
2b1e1a22
KR
95812011-05-28 Kevin Ryde <user42@zip.com.au>
9582
9583 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9584
5d344e88
CY
95852011-05-28 Chong Yidong <cyd@stupidchicken.com>
9586
8e6ca83d
CY
9587 * bindings.el (help-echo): Make the initial non-indicator dash
9588 empty on graphical terminals (Bug#7295).
9589
5d344e88
CY
9590 * files.el (auto-mode-alist): Move config rule after the
9591 in-stripping one (Bug#8547).
9592
bfbbace7
CY
9593 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9594
fbeba6e2
CY
9595 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9596 setting (Bug#8740).
9597
60ed8c72
AA
95982011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9599
4ac619f0
AA
9600 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9601 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9602 (Bug#8539).
60ed8c72 9603
23db196e
CY
96042011-05-28 Chong Yidong <cyd@stupidchicken.com>
9605
9606 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9607
5012f24c
DK
96082011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9609
9610 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9611 (hs-hide-block-at-point, hs-find-block-beginning)
9612 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9613 (Bug#8279).
9614
6a639b16
GM
96152011-05-28 Glenn Morris <rgm@gnu.org>
9616
9617 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9618
d43eaf2c
CY
96192011-05-28 Chong Yidong <cyd@stupidchicken.com>
9620
5199bde1
CY
9621 * help-fns.el (describe-function-1): If the function is a derived
9622 major mode, print the parent mode.
9623
d43eaf2c
CY
9624 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9625 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9626
423428a8
SM
96272011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9628
0ff8e1ba 9629 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9630 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9631 * progmodes/etags.el (tags-completion-at-point-function):
9632 * info-look.el (info-lookup-completions-at-point): Mark as
9633 non-exclusive.
9634 (info-complete): Adjust accordingly.
9635
423428a8
SM
9636 * info-look.el: Convert to lexical-binding and completion-at-point.
9637 (info-lookup-completions-at-point): New function.
9638 (info-complete): Use it and completion-in-region.
9639
b74aa22b
DA
96402011-05-28 Drew Adams <drew.adams@oracle.com>
9641
9642 * isearch.el: Let M-e start with point at the first mismatched char.
9643 (isearch-fail-pos): New function.
9644 (isearch-edit-string): Use it.
9645
66e2e71d
DK
96462011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9647
9648 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9649
b1890b0f 96502011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9651
9652 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9653 traversal functions for avl-trees.
9654 (avl-tree--stack): New struct.
9655 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9656 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9657 (avl-tree--do-enter): Add optional `updatefun' arg.
9658 Change return value.
eb95d01d 9659 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9660 (avl-tree--do-delete): Add `test' and `nilflag' args.
9661 Change return value.
eb95d01d
TC
9662 (avl-tree-member): Add optional `nilflag'
9663 (avl-tree-member-p): New function.
9664 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9665 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9666 (avl-tree-stack-empty-p): New functions.
9667
3769ddcf
TC
9668 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9669 avl-tree--del-balance1 and make it work both ways.
9670 (avl-tree--del-balance2): Remove.
9671 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9672 make it work both ways.
9673 (avl-tree--enter-balance2): Remove.
9674 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9675 New macros.
9676 (avl-tree--mapc, avl-tree-map): Add direction argument.
9677
eb95d01d 96782011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9679
9680 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9681
a9f737ee
CY
96822011-05-27 Chong Yidong <cyd@stupidchicken.com>
9683
9684 * select.el: Support clipboard managers with built-in function
9685 x-clipboard-manager-save, via delete-frame-functions and
9686 kill-emacs-hook.
9687 (xselect-convert-to-targets): Add MULTIPLE target to list.
9688 (xselect-convert-to-save-targets): New function.
9689
c92a1e54
KH
96902011-05-27 Kenichi Handa <handa@m17n.org>
9691
9692 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9693 let-binding rfc2047-encode-encoded-words to nil.
9694
e145f188
GM
96952011-05-27 Glenn Morris <rgm@gnu.org>
9696
5ec8a862
GM
9697 * mail/emacsbug.el: Don't require url-util.
9698
4b29d9fb
GM
9699 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9700
e145f188
GM
9701 * files.el (set-auto-mode):
9702 Also respect mode: entries at the end of the file. (Bug#8586)
9703
7d15102b
GM
97042011-05-26 Glenn Morris <rgm@gnu.org>
9705
98f593b8
GM
9706 * files.el (hack-local-variables-prop-line, hack-local-variables):
9707 Downcase mode names, as seems to be traditional.
27b48e63 9708 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9709
7d15102b
GM
9710 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9711 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9712
51d5b4ec
JD
97132011-05-25 Julien Danjou <julien@danjou.info>
9714
9715 * textmodes/rst.el (rst-define-level-faces): Do not define face
9716 symbol if it is already defined.
9717
91513f63
VB
97182011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9719
9720 * play/5x5.el (5x5-new-game, 5x5-randomize):
9721 Reset 5x5-solver-output to nil when a new grid is cast.
9722 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9723 these debugging traces, as defmacro breaks the compiled code.
9724
4d90d6d0
DK
97252011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9726
9727 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9728
e1b90ef6
LL
97292011-05-24 Leo Liu <sdl.web@gmail.com>
9730
9731 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9732 (vc-bzr-sha1): Adapt.
9733
d8e4b68b 9734 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9735
9736 * bindings.el: Provide sha1 feature.
9737
db0406bb 97382011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9739
9740 * mail/sendmail.el: Require `rfc2047'.
9741 (mail-insert-from-field): Do not perform RFC2047 encoding.
9742 (mail-encode-header): New function.
9743 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9744 buffer to the return value of select-message-coding-system.
9745 Call mail-encode-header.
b8d747b9
KH
9746
9747 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9748
db0406bb 97492011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9750
4d90d6d0
DK
9751 * mail/supercite.el (sc-default-cite-frame):
9752 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9753
eb8a5e9b
GM
97542011-05-24 Glenn Morris <rgm@gnu.org>
9755
f8630703
GM
9756 * progmodes/python.el (brm-menu): Declare.
9757
8831bbed
GM
9758 * emulation/viper.el (viper-set-hooks): Declare.
9759
eb8a5e9b
GM
9760 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9761 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9762 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9763 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9764 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9765 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9766
a2a25d24
SM
97672011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 Add an :exit-function for completion-at-point.
9770
9771 * minibuffer.el (completion--done): New fun.
9772 (completion--do-completion): Use it. New arg `expect-exact'.
9773 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9774 since completion--do-completion does it for us now.
9775 (minibuffer-force-complete): Use completion--done and
9776 completion--replace. Handle sole-completion case with more care.
9777 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9778 (completion-extra-properties): New var.
9779 (completion-annotate-function): Make obsolete.
9780 (minibuffer-completion-help): Adjust accordingly.
9781 Use completion-list-insert-choice-function.
9782 (completion-at-point, completion-help-at-point):
9783 Bind completion-extra-properties.
9784 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9785 * simple.el (completion-list-insert-choice-function): New var.
9786 (completion-setup-function): Preserve it.
9787 (choose-completion): Pay attention to it, shuffle the code a bit.
9788 (choose-completion-string): New arg `insert-function'.
9789
9790 * textmodes/bibtex.el: Convert to lexical binding.
9791 (bibtex-mode-map): Use completion-at-point.
9792 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9793 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9794 (bibtex-complete): Define as obsolete alias.
9795 (bibtex-complete-internal): Remove.
9796 (bibtex-format-entry): Remove unused sub-group in regexp.
9797 * shell.el (shell--command-completion-data)
9798 (shell-environment-variable-completion):
9799 * pcomplete.el (pcomplete-completions-at-point):
9800 * comint.el (comint--complete-file-name-data): Use :exit-function
9801 instead of completion-table-with-terminator so it also works for
9802 choose-completion.
9803
e44e373d
SM
98042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9805
4f91a816
SM
9806 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9807
782fc819
SM
9808 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9809 (bug#8710).
9810
e44e373d
SM
9811 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9812
381987c3
KM
98132011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9814
9815 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9816 customization variable and implement: If non-nil, auto-fill will
9817 be inhibited while on topic's header line.
9818
b776bc70
VB
98192011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9820
9821 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9822 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9823 always have a solution in grid size = 5 cases.
9824 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9825 (5x5-solver-output, 5x5-log-buffer): New vars.
9826 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9827 Make these variables buffer local to achieve 5x5 multi-session-ness.
9828 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9829 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9830 (5x5-solve-suggest): New funs.
9831 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9832 randomize a grid so that we ensure that there is always a solution.
9833 (5x5-make-random-grid): Allow other movement than flipping.
9834
7de88b6e
KR
98352011-05-23 Kevin Ryde <user42@zip.com.au>
9836
9837 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9838 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9839 advice and passes PREDICATE.
9840
b1ef1257
SM
98412011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9842
bbca48fe
SM
9843 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9844 byte-compile-lambda if it's actually a lambda.
9845
b1ef1257
SM
9846 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9847 Fix function quoting. Use backquote better.
9848
92a9cc65
YS
98492011-05-22 Yuanle Song <sylecn@gmail.com>
9850
9851 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9852 matching (Bug#8516).
9853
f0fb8059
JA
98542011-01-22 Jari Aalto <jari.aalto@cante.net>
9855
9856 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9857 different face (Bug#8178).
9858
d5b44c93
CY
98592011-05-22 Chong Yidong <cyd@stupidchicken.com>
9860
9861 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9862 defface (Bug#8144).
9863
79106a44
SM
98642011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9c848d8a
SM
9866 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9867 funcall as well (bug#8712). Warn when performing those conversions.
9868 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9869
79106a44
SM
9870 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9871
88dfa756
GM
98722011-05-22 Glenn Morris <rgm@gnu.org>
9873
9874 * files.el (hack-local-variables-prop-line): Small simplifications.
9875 (hack-local-variables, hack-local-variables-prop-line):
9876 If MODE-ONLY, return the mode, rather than just `t'.
9877
b7cf2c79
SM
98782011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9881
3f1a8558
GM
98822011-05-21 Glenn Morris <rgm@gnu.org>
9883
7e4ccca3
GM
9884 * files.el (hack-local-variables-prop-line, hack-local-variables):
9885 If only interested in the mode, don't bother doing the other stuff.
9886
637d46ca
GM
9887 * image-mode.el (image-after-revert-hook):
9888 Redraw all frames on which the image is visible. (Bug#8567)
9889
973d955b
GM
9890 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9891
3f1a8558
GM
9892 * wid-edit.el (widget-checklist-match-inline):
9893 Fix 2011-04-19 change. (Bug#8649)
9894
96479927
SM
98952011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9896
1dcf791f
SM
9897 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9898 Also allow singlespace after single-letter capitals followed by a dot.
9899
96479927
SM
9900 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9901 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9902
35fd0881
N
99032011-05-20 Nix <nix@esperi.org.uk>
9904
9905 * files.el (basic-save-buffer-2):
9906 Fix handling of break-hardlink-on-save with non-existent files.
9907
82745640
DD
99082011-05-19 Deniz Dogan <deniz@dogan.se>
9909
9910 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9911 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9912
4a720484
GM
99132011-05-19 Glenn Morris <rgm@gnu.org>
9914
d1f21341
GM
9915 * progmodes/f90.el (f90-type-def-re):
9916 Handle "type, bind(c)". (Bug#8691)
9917
4a720484
GM
9918 * emacs-lisp/autoload.el (batch-update-autoloads):
9919 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9920
2fb0a219
MA
99212011-05-18 Michael Albinus <michael.albinus@gmx.de>
9922
9923 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9924 property for the correct connection in case of multihops.
9925
e565dd37
GM
99262011-05-18 Glenn Morris <rgm@gnu.org>
9927
c2571358 9928 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9929 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9930
e565dd37
GM
9931 Rationalize calendar handling of day and month abbrev-arrays.
9932 * calendar/calendar.el (calendar-customized-p): New function.
9933 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9934 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9935 Add :set function.
9936 (calendar-abbrev-length, calendar-day-abbrev-array)
9937 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9938 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9939 Elements may no longer be nil.
9940 (calendar-day-name, calendar-month-name):
9941 Update for changed nature of abbrev arrays.
9942 * calendar/diary-lib.el (diary-name-pattern):
9943 Update for changed nature of abbrev arrays.
9944 (diary-mark-entries-1): Update calendar-make-alist calls.
9945 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9946 * calendar/cal-html.el (cal-html-day-abbrev-array):
9947 Simply inherit from calendar-day-abbrev-array.
9948
1d99a745
SM
99492011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * progmodes/grep.el (grep-mode): Disable default
9952 compilation-directory-matcher setting (bug#8684).
9953
7c1d9aa0
MA
99542011-05-17 Michael Albinus <michael.albinus@gmx.de>
9955
9956 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9957 instead of "head" and "tail". There were problems with SunOS 5.9,
9958 and it performs better.
9959
3952e9d8
GM
99602011-05-17 Glenn Morris <rgm@gnu.org>
9961
2dd12e7f
GM
9962 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9963
e4157b9c
GM
9964 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9965 Replace obsolete function.
9966
8e249bbd
GM
9967 * shell.el (pcomplete-parse-arguments-function): Declare.
9968
3952e9d8
GM
9969 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9970 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9971 (appt-check): Doc fixes.
9972 (appt-disp-window-function, appt-delete-window-function):
9973 Remove needless special case in custom :type.
9974 (appt-display-count): Default to 0, not nil.
9975 (appt-check): Reset appt-display-count to 0, not nil.
9976
c71a0d48 99772011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9978
c71a0d48
GM
9979 * progmodes/python.el (python-font-lock-keywords):
9980 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9981
31d55be9
SM
99822011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9985
3bfacb2f
KR
99862011-05-16 Kevin Ryde <user42@zip.com.au>
9987
9988 * info-look.el (makefile-automake-mode): New setups, looking in
9989 automake manual, then makefile-mode.
9990 (makefile-mode): Remove automake manual, have it just in
9991 makefile-automake-mode since there's various things different or
9992 not relevant to plain make.
9993 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9994 believe a hypothetical automake-mode would go to makefile-mode,
9995 not the other way around.
9996
c8e83751
CY
99972011-05-15 Chong Yidong <cyd@stupidchicken.com>
9998
5e9e35cd
CY
9999 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10000 hunk-end tags (Bug#8672).
10001
c8e83751
CY
10002 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10003 vc-annotate-show-diff-revision-at-line (Bug#8671).
10004
50b23e5a
GM
100052011-05-14 Glenn Morris <rgm@gnu.org>
10006
7210a739
GM
10007 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10008 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10009 (change-log-font-lock-keywords): Also handle multiple author lines
10010 with leading tabs. (Bug#8644)
7210a739 10011
4691905a
GM
10012 * calendar/appt.el (appt-check): Rename some local variables.
10013 Some simplification/reordering.
10014
50b23e5a
GM
10015 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10016 (feedmail-sendmail-f-doesnt-sell-me-out)
10017 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10018 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10019 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10020 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10021 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10022 (feedmail-binmail-gnulinuxish-template):
10023 Rename from feedmail-binmail-linuxish-template.
10024 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10025 Use insert-buffer-substring.
10026
215cda7c
BC
100272011-05-14 Bill Carpenter <bill@carpenter.org>
10028
10029 * mail/feedmail.el (feedmail-patch-level): Increase.
10030 (feedmail-debug): New custom group.
10031 (feedmail-confirm-outgoing-timeout)
10032 (feedmail-sendmail-f-doesnt-sell-me-out)
10033 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10034 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10035 (feedmail-sender-line, feedmail-from-line)
10036 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10037 (feedmail-spray-this-address)
215cda7c
BC
10038 (feedmail-spray-address-fiddle-plex-list)
10039 (feedmail-queue-use-send-time-for-date)
10040 (feedmail-queue-use-send-time-for-message-id)
10041 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10042 (feedmail-buffer-eating-function):
10043 Doc fixes.
10044 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10045 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10046 (feedmail-message-action-scroll-down): New functions.
10047 (feedmail-queue-directory, feedmail-queue-draft-directory):
10048 Use expand-file-name.
10049 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10050 Remove C-v help entry.
10051 (feedmail-queue-buffer-file-name): New variable.
10052 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10053 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10054 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10055 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10056 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10057 (feedmail-message-action-toggle-spray)
10058 (feedmail-run-the-queue-no-prompts)
10059 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10060 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10061 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10062 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10063 (feedmail-envelope-deducer, feedmail-fiddle-from)
10064 (feedmail-fiddle-sender, feedmail-default-date-generator)
10065 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10066 (feedmail-fiddle-spray-address)
10067 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10068 (feedmail-fiddle-list-of-fiddle-plexes)
10069 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10070 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10071 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10072 Change default. Doc fix.
10073 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10074 (feedmail-binmail-linuxish-template): New constant.
10075 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10076 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10077 (feedmail-send-it): Add debug call.
10078 Use feedmail-queue-buffer-file-name, and
10079 feedmail-send-it-immediately-wrapper.
10080 (feedmail-message-action-send): Add debug call.
10081 Use feedmail-send-it-immediately-wrapper.
10082 (feedmail-queue-express-to-queue): Add debug call.
10083 Run feedmail-queue-express-hook.
10084 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10085 (feedmail-message-action-help-blat):
10086 Rename from feedmail-queue-send-edit-prompt-help-first.
10087 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10088 Check line-endings. Handle errors better.
10089 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10090 Doc fix. Add debug call.
10091 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10092 Use feedmail-queue-send-edit-prompt-inner.
10093 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10094 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10095 from feedmail-queue-send-edit-prompt.
10096 (feedmail-queue-send-edit-prompt-help)
10097 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10098 (feedmail-tidy-up-slug): Add debug call.
10099 Respect feedmail-queue-slug-suspect-regexp.
10100 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10101 (feedmail-dump-message-to-queue): Add debug call.
10102 Expand queue-directory.
10103 (feedmail-dump-message-to-queue): Change message slightly.
10104 Use feedmail-say-chatter.
10105 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10106 (feedmail-send-it-immediately-wrapper): New function.
10107 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10108 Insert empty string rather than newline. Handle full-frame case.
10109 Use catch/throw. Use feedmail-say-chatter.
10110 (feedmail-fiddle-from): Try mail-host-address.
10111 (feedmail-default-message-id-generator): Doc fix.
10112 Bind system-time-locale. Handle missing end.
10113 (feedmail-fiddle-x-mailer): Add debug call.
10114 Handle feedmail-x-mailer-line being nil.
10115 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10116 Add debug call. Use buffer-substring-no-properties.
10117 (feedmail-say-debug, feedmail-say-chatter): New functions.
10118 (feedmail-find-eoh): Give an explicit error.
10119
42c7e61e
UJ
101202011-05-13 Ulf Jasper <ulf.jasper@web.de>
10121
c2571358 10122 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10123 family from helvetica to sans.
c2571358 10124 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10125 etc/images/newsticker.
10126
c2571358 10127 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10128 family from helvetica to sans.
10129
10130 * net/newst-plainview.el (newsticker-new-item-face)
10131 (newsticker-old-item-face, newsticker-immortal-item-face)
10132 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10133 (newsticker-statistics-face): Change default family from
42c7e61e 10134 helvetica to sans.
c2571358 10135 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10136 etc/images/newsticker.
10137
10138 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10139 (newsticker--process-auto-mark-filter-match): : Tell user about
10140 auto-marking.
10141
8497a297
DV
101422011-05-13 Didier Verna <didier@xemacs.org>
10143
10144 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10145 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10146 TODO entries.
8497a297
DV
10147 (lisp-lambda-list-keyword-parameter-indentation)
10148 (lisp-lambda-list-keyword-parameter-alignment)
10149 (lisp-lambda-list-keyword-alignment): New customizable user options.
10150 (lisp-indent-defun-method): Improve docstring.
10151 (extended-loop-p): Fix comment.
10152 (lisp-indent-lambda-list-keywords-regexp): New variable.
10153 (lisp-indent-lambda-list): New function.
10154 (lisp-indent-259): Use it.
10155 (lisp-indent-defmethod): Support for more than one
10156 method qualifier and properly indent methods lambda-lists.
10157 (defgeneric): Provide a missing common-lisp-indent-function property.
10158
f278f87f
SM
101592011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10162 bounds for the empty string (bug#8667).
10163
5233edd7
GM
101642011-05-13 Glenn Morris <rgm@gnu.org>
10165
5237a44f
GM
10166 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10167
8340026c 10168 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10169 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10170
5233edd7 10171 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10172 (appt-time-msg-list): Doc fix.
a5464014 10173 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10174
92d10796
AS
101752011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10176
10177 * progmodes/ld-script.el (ld-script-keywords)
10178 (ld-script-builtins): Update keywords list.
10179
914a0ae1
SM
101802011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10181
c89be45f
SM
10182 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10183
914a0ae1
SM
10184 * shell.el (shell-completion-vars): New function.
10185 (shell-mode):
10186 * simple.el (read-shell-command): Use it.
10187 (blink-matching-open): No need for " [...]" in minibuffer-message.
10188
98dc3df3
GM
101892011-05-12 Glenn Morris <rgm@gnu.org>
10190
10191 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10192 (appt-check): Simplify.
10193
d2fc7e3d 101942011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10195
4d61f28d 10196 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10197 literal "/dev/null".
10198
d2fc7e3d 101992011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10200
10201 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10202 Fix typo.
10203
d2fc7e3d 102042011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10205
3f254caa
SM
10206 * progmodes/which-func.el (which-function):
10207 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10208 which might not be defined (Bug#8260).
10209
d45885f7
GM
102102011-05-12 Glenn Morris <rgm@gnu.org>
10211
10212 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10213 Let byte-compile-initial-macro-environment always take precedence.
10214
488086f4
SM
102152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10216
10217 * net/rcirc.el: Add support for SSL/TLS connections.
10218 (rcirc-server-alist): New field `encryption'.
10219 (rcirc): Check `encryption' settings.
10220 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10221 Merge make-local-variable into `set'.
10222 (rcirc--connection-open-p): New function.
10223 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10224 the process is not a network process (e.g. running gnutls-cli).
10225 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10226 Make rcirc-(en|de)code-coding-system local here.
10227 (rcirc-mode): Merge make-local-variable into `set'.
10228 (rcirc-parent-buffer): Make permanent buffer-local.
10229 (rcirc-multiline-minor-mode): Don't do it here.
10230 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10231 there's no server buffer.
10232
7d3b9d44
GM
102332011-05-11 Glenn Morris <rgm@gnu.org>
10234
f64049c6
GM
10235 * newcomment.el (comment-kill): Prefix "unused" local.
10236
93c9df73
GM
10237 * term/w32console.el (get-screen-color): Declare.
10238
7d3b9d44
GM
10239 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10240 Handle symbol elements of byte-compile-initial-macro-environment.
10241
9e2dd53f
LL
102422011-05-10 Leo Liu <sdl.web@gmail.com>
10243
488086f4
SM
10244 * bookmark.el (bookmark-bmenu-mode-map):
10245 Bind bookmark-bmenu-search to `/'.
8b340240 10246
9e2dd53f 10247 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10248 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10249 (Footnote-unicode): New function.
10250 (footnote-style-alist): Add unicode style to the list.
10251 (footnote-style): Doc fix.
9e2dd53f 10252
79b70037
GM
102532011-05-10 Jim Meyering <meyering@redhat.com>
10254
10255 Fix doubled-word typos.
10256 * international/quail.el (quail-insert-kbd-layout): and and -> and
10257 * kermit.el: and and -> and
10258 * net/ldap.el (ldap-search-internal): to to -> to
10259 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10260 * progmodes/js.el (js-mode): and and -> and
10261 * textmodes/artist.el (artist-move-to-xy): at at -> at
10262 (artist-draw-region-trim-line-endings): if if -> if
10263 And Safetyc -> Safety.
10264 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10265
b8f82dc1 102662011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10267 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10268
10269 * files.el (hack-one-local-variable-eval-safep):
10270 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10271
4f99f44b
GM
102722011-05-10 Glenn Morris <rgm@gnu.org>
10273
10274 * calendar/diary-lib.el (diary-list-entries-hook)
10275 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10276 (diary-nongregorian-marking-hook, diary-list-entries)
10277 (diary-include-other-diary-files, diary-mark-entries)
10278 (diary-mark-included-diary-files): Doc fixes.
10279
84f29e6b
JB
102802011-05-09 Juanma Barranquero <lekktu@gmail.com>
10281
10282 * misc.el: Require tabulated-list.el during compilation.
10283
9bedd73a
CY
102842011-05-09 Chong Yidong <cyd@stupidchicken.com>
10285
488086f4
SM
10286 * progmodes/compile.el (compilation-start):
10287 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10288 (compilation-filter-hook): Doc fix.
10289
797c735c
DD
102902011-05-09 Deniz Dogan <deniz@dogan.se>
10291
10292 * wdired.el: Remove outdated installation comment. Fix usage
10293 comment.
10294
5f4b1dfe
JB
102952011-05-09 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * misc.el: Implement new command `list-dynamic-libraries'.
10298 (list-dynamic-libraries--loaded-only-p): New variable.
10299 (list-dynamic-libraries--refresh): New function.
10300 (list-dynamic-libraries): New command.
10301
4c44026c
CY
103022011-05-09 Chong Yidong <cyd@stupidchicken.com>
10303
488086f4
SM
10304 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10305 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10306 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10307 higher priority to avoid clobbering by gnu.
10308
027f966d
CY
103092011-05-08 Chong Yidong <cyd@stupidchicken.com>
10310
10311 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10312 if the face has existing theme settings (Bug#8454).
10313
085f5d7d
CY
103142011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10315
488086f4
SM
10316 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10317 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10318
2a86a00c
RS
10319 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10320 special file names `.' and `..' (Bug#8259).
10321
d9c54a06
CY
103222011-05-08 Chong Yidong <cyd@stupidchicken.com>
10323
488086f4
SM
10324 * progmodes/grep.el (grep-mode-font-lock-keywords):
10325 Remove buffer-changing entries.
d9c54a06
CY
10326 (grep-filter): New function.
10327 (grep-mode): Add it to compilation-filter-hook.
10328
10329 * progmodes/compile.el (compilation-filter-hook)
10330 (compilation-filter-start): New defvars.
10331 (compilation-filter): Call compilation-filter-hook prior to
10332 updating the process mark.
10333
c4662635
SM
103342011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10337
b0512a1d
EZ
103382011-05-07 Eli Zaretskii <eliz@gnu.org>
10339
605c9376
EZ
10340 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10341 mailclient-send-it even if window-system is nil. (Bug#8595)
10342
c4662635
SM
10343 * term/w32console.el (terminal-init-w32console):
10344 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10345 background-mode. (Bug#8597)
10346
d1dc2cc2
SM
103472011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10350 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10351 New functions.
10352 (defgeneric, eieio--defmethod): Use them.
10353 (eieio-defgeneric): Remove.
10354 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10355
915d1300
GM
103562011-05-07 Glenn Morris <rgm@gnu.org>
10357
a3961c3e
GM
10358 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10359 Use let rather than let*.
10360 (timeclock-find-discrep): Remove unused local.
10361
314347b9
GM
10362 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10363
915d1300
GM
10364 * calendar/appt.el (appt-time-msg-list): Doc fix.
10365
275b59b0
NF
103662011-05-06 Noah Friedman <friedman@splode.com>
10367
10368 * apropos.el (apropos-print-doc): Only use
10369 emacs-lisp-docstring-fill-column when it is bound to an integer,
10370 per that variable's documentation.
10371
6c19f744
SM
103722011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10373
10374 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10375 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10376
60f884b2
GM
103772011-05-06 Glenn Morris <rgm@gnu.org>
10378
5006e634
GM
10379 * calendar/appt.el (appt-message-warning-time): Doc fix.
10380 (appt-warning-time-regexp): New option.
10381 (appt-make-list): Respect appt-message-warning-time.
10382
548d0a63
GM
10383 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10384 New options.
10385 (diary-add-to-list): Strip comments from the displayed string.
10386 (diary-mode): Set comment-start and comment-end.
10387
60f884b2
GM
10388 * vc/diff-mode.el (smerge-refine-subst): Declare.
10389 (diff-refine-hunk): Don't require smerge-mode when compiling.
10390
989681bb
JB
103912011-05-06 Juanma Barranquero <lekktu@gmail.com>
10392
10393 * simple.el (list-processes): Return nil as the docstring says.
10394
a6bc05e1
MA
103952011-05-05 Michael Albinus <michael.albinus@gmx.de>
10396
10397 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10398 to "".
10399 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10400 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10401 determining of binary transfer. (Bug#7383)
10402
23c22e9a
MA
104032011-05-05 Michael Albinus <michael.albinus@gmx.de>
10404
c4662635
SM
10405 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10406 Fix port computation bug. (Bug#8618)
23c22e9a 10407
0bff894f
GM
104082011-05-05 Glenn Morris <rgm@gnu.org>
10409
b8296902
GM
10410 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10411
1f522ce8
GM
10412 * simple.el (shell-dynamic-complete-functions)
10413 (comint-dynamic-complete-functions): Declare.
10414
cf5bee67
GM
10415 * net/network-stream.el (gnutls-negotiate):
10416 * simple.el (tabulated-list-print): Fix declarations.
10417
10418 * progmodes/gud.el (syntax-symbol, syntax-point):
10419 Remove unnecessary and incorrect declarations.
10420
0bff894f
GM
10421 * emacs-lisp/check-declare.el (check-declare-scan):
10422 Handle byte-compile-initial-macro-environment in bytecomp.el
10423
9869b3ae
SM
104242011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 Fix earlier half-done eieio-defmethod change (bug#8338).
10427 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10428 Streamline and change calling convention.
10429 (defmethod): Adjust accordingly and simplify.
10430 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10431 new eieio--defmethod.
10432 (slot-boundp): Minor CSE simplification.
10433
9c1d5ac5
MZ
104342011-05-05 Milan Zamazal <pdm@zamazal.org>
10435
10436 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10437 (glasses-make-readable): Use glasses-separate-capital-groups.
10438
455c834e
JB
104392011-05-05 Juanma Barranquero <lekktu@gmail.com>
10440
10441 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10442 (warning-series): Doc fix.
10443 (display-warning): Don't try to create the buffer if we just found it.
10444
9ed7c8cb
CY
104452011-05-04 Chong Yidong <cyd@stupidchicken.com>
10446
10447 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10448 (autoload-find-generated-file): New function.
10449 (generate-file-autoloads): Bind generated-autoload-file to
10450 buffer-file-name.
9869b3ae
SM
10451 (update-file-autoloads, update-directory-autoloads):
10452 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10453 output file (Bug#7989).
10454 (batch-update-autoloads): Doc fix.
10455
0898ca10
JB
104562011-05-04 Juanma Barranquero <lekktu@gmail.com>
10457
10458 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10459
31dfb76c
GM
104602011-05-04 Glenn Morris <rgm@gnu.org>
10461
f330b642
GM
10462 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10463 function, so it follows changes in calendar-date-style.
10464 (diary-fancy-date-matcher): New function.
10465 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10466 (diary-fancy-font-lock-fontify-region-function):
10467 Use diary-fancy-date-pattern as a function.
10468
31dfb76c
GM
10469 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10470 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10471
48e79d6a
TZ
104722011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10473
10474 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10475 instead of positional arguments. Allow :keylist and :crlfiles
10476 arguments.
10477 (open-gnutls-stream): Call it.
10478
10479 * net/network-stream.el (network-stream-open-starttls): Adjust to
10480 call `gnutls-negotiate' with :process and :hostname arguments.
10481
dd5a5ee0
SM
104822011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10483
ef80fc09
SM
10484 * minibuffer.el (completion--message): New function.
10485 (completion--do-completion, minibuffer-complete)
10486 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10487 (completion--do-completion): Don't ignore completion-auto-help when in
10488 icomplete-mode.
10489
dd5a5ee0
SM
10490 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10491 internal encoding (e.g. tibetan zero is not whitespace).
10492 (global-whitespace-mode): Prefer save-current-buffer.
10493 (whitespace-trailing-regexp): Remove useless save-match-data.
10494 (whitespace-empty-at-bob-regexp): Minor simplification.
10495
b7d22a83
CY
104962011-05-03 Chong Yidong <cyd@stupidchicken.com>
10497
10498 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10499
5192af46
AM
105002011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10501
10502 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10503 Use `concat' to create string for insertion.
5192af46 10504
5767d190
SM
105052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10506
10507 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10508 Avoid open-line which runs post-self-insert-hook.
10509 (bibtex-fill-entry): Remove unused `end' var.
10510
bf242939
AM
105112011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10512
5767d190
SM
10513 * textmodes/ispell.el (ispell-add-per-file-word-list):
10514 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10515
25666126
LL
105162011-05-03 Leo Liu <sdl.web@gmail.com>
10517
10518 * isearch.el (isearch-yank-pop): New command.
5767d190 10519 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10520 (isearch-forward): Mention it.
10521
52d3c2d0
SM
105222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10523
1bcace58
SM
10524 * simple.el (minibuffer-complete-shell-command): Remove.
10525 (minibuffer-local-shell-command-map): Use completion-at-point.
10526 (read-shell-command): Setup completion vars here instead.
10527 (read-expression-map): Bind TAB to symbol completion.
10528
52d3c2d0
SM
10529 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10530 error directly rather via storing it into `results'.
10531
35813471
LL
105322011-05-02 Leo Liu <sdl.web@gmail.com>
10533
10534 * vc/diff.el: Fix description.
10535
e793a940
LMI
105362011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10537
10538 * server.el (server-eval-at): New function.
10539
8de66e05
LMI
105402011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10541
10542 * net/network-stream.el (open-network-stream): Take a :nowait
10543 parameter and pass it on to `make-network-process'.
10544 (network-stream-open-plain): Ditto.
10545
dcb79f20
AS
105462011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10547
10548 * faces.el (face-spec-set-match-display): Don't match toolkit
10549 options on terminal frames.
10550
14a7fbd8
SM
105512011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10552
7eabc1be
SM
10553 * progmodes/pascal.el: Use lexical binding.
10554 (pascal-mode-map): Remove author preferences.
10555
14a7fbd8
SM
10556 * pcomplete.el (pcomplete-std-complete): Don't abuse
10557 completion-at-point.
10558
50f84510
JB
105592011-04-28 Juanma Barranquero <lekktu@gmail.com>
10560
6e087a44
JB
10561 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10562 removing code that has been dead since 1991 or so.
10563
50f84510
JB
10564 * startup.el (command-line): When warning about "_emacs", use a
10565 delayed warning to allow the user to filter it out.
10566
0ba690bd
DD
105672011-04-28 Deniz Dogan <deniz@dogan.se>
10568
10569 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10570 user has not joined.
10571
08abfaad
SM
105722011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10575 aren't any completions at point.
10576
638f053a
JB
105772011-04-28 Juanma Barranquero <lekktu@gmail.com>
10578
10579 * subr.el (display-delayed-warnings): New function.
10580 (delayed-warnings-hook): New variable.
10581
8fff8daa
SM
105822011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10583
08abfaad
SM
10584 * minibuffer.el (completion-at-point, completion-help-at-point):
10585 Don't presume that a given completion-at-point-function will always
10586 use the same calling convention.
10587
8fff8daa
SM
10588 * pcomplete.el (pcomplete-completions-at-point):
10589 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10590 pcomplete-seen is non-nil.
10591 (pcomplete-comint-setup): Also recognize the new comint/shell
10592 completion functions.
10593 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10594 pcomplete-seen is non-nil.
10595
841a1577 105962011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10597
841a1577 10598 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10599 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10600 the first character in the entry. This allows for code to add its
211ec907
UJ
10601 own uid to the entry.
10602 (icalendar--convert-float-to-ical): Add export of
10603 `diary-float'-entries save for those with the optional DAY
10604 argument.
10605
2a782793
DC
106062011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10607
10608 * subr.el (shell-quote-argument): Use alternate escaping strategy
10609 when we spot a variable reference in a string.
10610
0438ce91
DC
106112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10612
10613 * cus-start.el (all): Define customization for debug-on-event.
10614
841a1577 106152011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10616
10617 * subr.el (shell-quote-argument): Escape correctly under Windows.
10618
d090ed6c
SM
106192011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10620
10621 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10622
bfd31217
MA
106232011-04-25 Michael Albinus <michael.albinus@gmx.de>
10624
d090ed6c
SM
10625 * net/tramp.el (tramp-process-actions): Add POS argument.
10626 Delete region between POS and (pos).
bfd31217 10627
d090ed6c
SM
10628 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10629 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10630 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10631
10632 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10633 position in `tramp-process-actions' call.
10634
10635 * net/trampver.el: Update release number.
10636
e92f3bd3
SM
106372011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10638
850256b5
SM
10639 * custom.el (defcustom): Obey lexical-binding.
10640
e92f3bd3
SM
10641 Fix octave-inf completion problems reported by Alexander Klimov.
10642 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10643 Inherit from octave-mode-syntax-table.
10644 (inferior-octave-mode): Set info-lookup-mode.
10645 (inferior-octave-completion-at-point): New function.
10646 (inferior-octave-complete): Use it and completion-in-region.
10647 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10648 comint-filename-completion.
10649 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10650 symbol elements which shouldn't be word elements.
10651 (octave-font-lock-keywords, octave-beginning-of-defun)
10652 (octave-function-header-regexp): Adjust regexps accordingly.
10653 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10654
cd22b309
JB
106552011-04-25 Juanma Barranquero <lekktu@gmail.com>
10656
10657 * net/gnutls.el (gnutls-errorp): Declare before first use.
10658
8b492194
TZ
106592011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10660
10661 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10662 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10663 default trustfile exists before going to use it. Add missing
5a5fa834 10664 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10665 Reported by Claudio Bley <claudio.bley@gmail.com>.
10666 (open-gnutls-stream): Add usage example.
10667
10668 * net/network-stream.el (network-stream-open-starttls): Give host
10669 parameter to `gnutls-negotiate'.
10670 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10671 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10672
841a1577 106732011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10674
cd22b309
JB
10675 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10676 Use correct match group (bug#8438).
05842630 10677
3ba7869c
CY
106782011-04-24 Chong Yidong <cyd@stupidchicken.com>
10679
512e3ae1
CY
10680 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10681 (package-menu--generate): New arg specifying packages to show.
10682 (package-menu-refresh, package-menu-execute, list-packages):
10683 Callers changed.
10684 (package-show-package-list): New function, replacing deleted
10685 package--list-packages (renamed because it is non-internal).
10686
10687 * finder.el (finder-list-matches): Use package-show-package-list
10688 instead of deleted package--list-packages.
10689
e92f3bd3
SM
10690 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10691 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10692 (vc-annotate-mode-map): Bind it to RET.
10693
7031be6d
UR
106942011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10695
10696 * progmodes/etags.el (next-file): Don't use set-buffer to change
10697 buffers (Bug#8478).
10698
4ef177aa
CY
106992011-04-24 Chong Yidong <cyd@stupidchicken.com>
10700
c8d173eb
CY
10701 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10702
4ef177aa
CY
10703 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10704 (apropos-accumulator): Doc fix.
10705 (apropos-function, apropos-macro, apropos-command)
10706 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10707 (apropos-plist): Add face property.
10708 (apropos-symbols-internal): Fix indentation.
10709 (apropos-print): Simplify help, and recognize apropos-multi-type.
10710 (apropos-print-doc): Use button-type-get to extract the button's
10711 face property. Fill docstring (Bug#8352).
10712
4ffd0d6b 107132011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10714
10715 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10716
c6c32125 10717 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10718 (mpuz-mode-map): Use mapc.
c6c32125
JB
10719 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10720 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10721 Fix typos in docstrings.
10722
58d468b4
JB
10723 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10724 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10725
6470c3c6
JB
10726 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10727
4ffd0d6b 107282011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10729
10730 * minibuffer.el (completion--do-completion): Avoid the "Next char
10731 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10732
3ad8bad0
CY
10733 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10734 mouse-2 into unread-command-events, it is interpreted correctly.
10735
71d73c9c 10736 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10737 (image-toggle-display): Doc fix.
71d73c9c 10738
841a1577 107392011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10740
4ffd0d6b
GM
10741 * textmodes/page.el (what-page): Use line-number-at-pos to
10742 calculate line number (Bug#6825).
6e1dbaa9 10743
c2fb1b60
JB
107442011-04-22 Juanma Barranquero <lekktu@gmail.com>
10745
10746 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10747 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10748 Pass argument NO-DEFAULT to `find-tag-interactive'.
10749
e02f48d7
JB
107502011-04-22 Juanma Barranquero <lekktu@gmail.com>
10751
10752 Lexical-binding cleanup.
10753
10754 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10755 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10756 * progmodes/ada-prj.el (ada-prj-initialize-values)
10757 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10758 (ada-prj-show-value):
10759 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10760 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10761 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10762 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10763 * progmodes/bug-reference.el (bug-reference-push-button):
10764 * progmodes/fortran.el (fortran-line-length):
10765 * progmodes/glasses.el (glasses-change):
10766 * progmodes/octave-mod.el (octave-fill-paragraph):
10767 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10768 (python-pdbtrack-grub-for-buffer, python-sentinel):
10769 * progmodes/sql.el (sql-save-connection):
10770 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10771 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10772 Mark unused parameters.
10773
10774 * progmodes/compile.el (compilation--flush-directory-cache)
10775 (compilation--flush-parse, compile-internal): Mark unused parameters.
10776 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10777 (compilation-next-error-function): Remove unused variable `timestamp'.
10778
10779 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10780 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10781
10782 * progmodes/dcl-mode.el (dcl-end-of-command):
10783 Remove unused variable `start'.
10784 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10785 (dcl-option-value-basic, dcl-option-value-offset)
10786 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10787 Mark unused parameters.
10788 (dcl-save-local-variable): Remove unused variable `val'.
10789 (mode): Declare.
10790
10791 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10792 Mark unused parameters.
10793 (delphi-ignore-changes): Move before first use.
10794 (delphi-charset-token-at): Remove unused variable `start'.
10795 (delphi-else-start): Remove unused variable `if-count'.
10796 (delphi-comment-block-start, delphi-comment-block-end):
10797 Remove unused variable `kind'.
10798 (delphi-indent-line): Remove unused variable `new-point'.
10799
10800 * progmodes/ebrowse.el (ebrowse-files-list)
10801 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10802 Mark unused parameters. Don't quote `lambda'.
10803 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10804 Don't quote `lambda'.
10805 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10806 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10807 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10808 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10809 Use `ignore-errors'.
10810 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10811 (ebrowse-view/find-file-and-search-pattern)
10812 (ebrowse-view/find-member-declaration/definition):
10813 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10814 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10815 Rename parameter PREFIX-ARG to PREFIX.
10816 (ebrowse-tags-read-name): Remove unused variables `start' and
10817 `member-info'.
10818 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10819 to `tags-file'.
10820
10821 * progmodes/etags.el (local-find-tag-hook): Declare.
10822 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10823 Mark unused parameters.
10824
10825 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10826 (executable-interpret): Mark unused parameter.
10827
10828 * progmodes/flymake.el (flymake-process-sentinel)
10829 (flymake-after-change-function)
10830 (flymake-create-temp-with-folder-structure)
10831 (flymake-get-include-dirs-dot): Mark unused parameters.
10832 (flymake-safe-delete-directory): Remove unused variable `err'.
10833
10834 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10835 (speedbar-timer-fn, speedbar-line-text)
10836 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10837 (speedbar-center-buffer-smartly): Declare functions.
10838 (gdb-find-watch-expression): Remove unused variable `array'.
10839 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10840 (gdb-starting): Mark unused parameters.
10841 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10842 (gdb-table-string): Remove unused variable `res'.
10843 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10844 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10845 (gdb-display-buffer): Remove unused variable `cur-size'.
10846
10847 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10848 allow lexical-binding compilation.
10849 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10850 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10851 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10852 Mark unused parameters.
10853 (gud-gdb-marker-filter): Remove unused variable `match'.
10854 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10855 lambda expressions and funcall them, instead of using `fset'.
10856
10857 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10858 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10859
10860 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10861 variable `header-beg'; use `let'.
10862
10863 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10864 `restart', `last-sexp' and `at-do'.
10865
10866 * progmodes/js.el (js--debug): Mark unused parameter.
10867 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10868 (js--splice-into-items): Remove unused variable `item'.
10869 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10870
10871 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10872 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10873 (makefile-complete): Remove unused variable `try'.
10874 (makefile-fill-paragraph, makefile-match-function-end):
10875 Mark unused parameters.
10876
10877 * progmodes/octave-inf.el (inferior-octave-complete):
10878 Remove unused variable `proc'.
10879 (inferior-octave-output-digest): Mark unused parameter.
10880
10881 * progmodes/perl-mode.el (perl-calculate-indent):
10882 Remove unused variable `err'.
10883
10884 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10885 (prolog-indent-line): Mark unused parameters.
10886 (prolog-indent-line): Remove unused variable `beg'.
10887
10888 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10889 (reporter-dont-compact-list): Declare.
10890
10891 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10892 Remove unused variable `char'.
10893 (sh-debug): Mark unused parameter.
10894 (sh-get-indent-info): Remove unused variable `start'.
10895 (sh-calculate-indent): Remove unused variable `var'.
10896
10897 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10898 (simula-electric-keyword): Remove unused variable `null'.
10899 (simula-search-backward, simula-search-forward): Remove unused
10900 variables `begin' and `end'.
10901
10902 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10903 Remove unused variable `pos'.
10904 (vera-electric-tab, vera-comment-uncomment-region):
10905 Mark unused parameters.
10906 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10907
7ede3b65
CY
109082011-04-22 Chong Yidong <cyd@stupidchicken.com>
10909
10910 * emacs-lisp/package.el (package--builtins, package-alist)
10911 (package-load-descriptor, package-built-in-p, package-activate)
10912 (define-package, package-installed-p)
10913 (package-compute-transaction, package-buffer-info)
10914 (package--push): Doc fix. Distinguish more clearly between
10915 version strings and version lists.
10916
121656e9
JB
109172011-04-21 Juanma Barranquero <lekktu@gmail.com>
10918
10919 Lexical-binding cleanup.
10920
10921 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10922 (5x5-make-mutate-best):
10923 * play/fortune.el (fortune-in-buffer):
10924 * play/gomoku.el (gomoku-init-display):
10925 * play/solitaire.el (solitaire, solitaire-do-check):
10926 * play/tetris.el (tetris-default-update-speed-function):
10927 Mark unused parameters.
10928
10929 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10930 (bubbles--shift): Remove unused variable `char-org'.
10931 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10932 (bubbles--show-images): Remove unused variable `char'.
10933
10934 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10935 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10936 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10937 (decipher-analyze-buffer): Use ?\s.
10938 (decipher-make-checkpoint): Remove unused variable `mapping'.
10939
10940 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10941
10942 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10943 Remove unused variable `result'; use `let'.
10944
10945 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10946 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10947 (gametree-children-shown-p, gametree-compute-reduced-score):
10948 Use `ignore-errors'.
10949
10950 * play/handwrite.el (ps-lpr-switches): Declare.
10951 (handwrite): Remove unused variables `pmin' and `lastp'.
10952
10953 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10954
10955 * play/landmark.el (landmark-init-display)
10956 (landmark-update-naught-weights): Mark unused parameters.
10957 (landmark-y): Remove unused variable `noise'. Simplify.
10958 (landmark-human-plays): Remove unused variable `score'.
10959
10960 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10961 (mpuz-try-proposal): Remove unused variable `game'.
10962
10963 * play/zone.el (life-patterns): Declare.
10964
80f499c7
JB
109652011-04-20 Juanma Barranquero <lekktu@gmail.com>
10966
10967 * vc/vc.el (ediff-vc-internal): Declare function.
10968
024ff170
SM
109692011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10970
c0a193ea
SM
10971 * shell.el: Use lexical-binding and std completion UI.
10972 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10973 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10974 comint-preoutput-filter-functions rather than on
10975 comint-output-filter-functions.
10976 (shell-command-completion, shell--command-completion-data)
10977 (shell-filename-completion, shell-environment-variable-completion)
10978 (shell-c-a-p-replace-by-expanded-directory): New functions.
10979 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10980 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10981 (shell-dynamic-complete-environment-variable): Use them.
10982 (shell-dynamic-complete-as-environment-variable)
10983 (shell-dynamic-complete-as-command): Remove.
10984 (shell-match-partial-variable): Match past point.
10985 * comint.el: Clean up use of completion-at-point-functions.
10986 (comint-completion-at-point): New function.
10987 (comint-mode): Use it completion-at-point-functions.
10988 (comint-dynamic-complete): Make it obsolete.
10989 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10990 (comint-c-a-p-replace-by-expanded-history): New function.
10991 (comint-dynamic-complete-functions)
10992 (comint-replace-by-expanded-history): Use it.
10993 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10994 termination strings. Try harder to avoid second try-completion.
10995 (completion-in-region-mode-map): Disable bindings that don't work yet.
10996
2dbaa080
SM
10997 * comint.el: Use lexical-binding. Require CL.
10998 (comint-dynamic-complete-functions): Use comint-filename-completion.
10999 (comint-completion-addsuffix): Tweak custom type.
11000 (comint-filename-completion, comint--common-suffix)
11001 (comint--common-quoted-suffix, comint--table-subvert)
11002 (comint--complete-file-name-data): New functions.
11003 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11004 (comint-dynamic-list-filename-completions): Use them.
11005 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11006
2dbaa080
SM
11007 * minibuffer.el (completion-in-region-mode):
11008 Keep completion-in-region-mode--predicate global.
11009 (completion-in-region--postch):
11010 Assume completion-in-region-mode--predicate is not null.
11011
c79a6f38
SM
11012 * progmodes/flymake.el (flymake-start-syntax-check-process):
11013 Obey `dir'. Simplify.
11014
024ff170
SM
11015 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11016 we're in VC after all.
11017
1c6c854e
CS
110182011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11019
11020 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11021 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11022 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11023
bed7f140
SM
110242011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11025
332e62ab
SM
11026 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11027 add sanity check.
11028
bed7f140
SM
11029 * obsolete/erc-hecomplete.el: Make obsolete.
11030 * obsolete/: Standardize obsolescence info in the header.
11031
f195c582
GM
110322011-04-20 Glenn Morris <rgm@gnu.org>
11033
11034 * calendar/solar.el (solar-horizontal-coordinates):
11035 Use the longitude argument rather than `calendar-longitude'.
11036 (solar-date-next-longitude): Remove unused locals.
11037
cb79b8c0
VJL
110382011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11039
11040 * whitespace.el: New version 13.2.1.
11041
110422011-04-20 felix <EmacsWiki> (tiny change)
11043
d8e4b68b 11044 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11045 switching between major modes on a file.
11046
602ea69d
SM
110472011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11050 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11051 multi-line comments as well.
11052
06b60517
JB
110532011-04-19 Juanma Barranquero <lekktu@gmail.com>
11054
11055 Lexical-binding cleanup.
11056
11057 * arc-mode.el (archive-mode-revert):
11058 * cmuscheme.el (scheme-interactively-start-process):
11059 * custom.el (custom-initialize-delay):
11060 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11061 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11062 * emacs-lock.el (emacs-lock-clear-sentinel):
11063 * ezimage.el (defezimage):
11064 * follow.el (follow-avoid-tail-recenter):
11065 * fringe.el (set-fringe-mode-1):
11066 * generic-x.el (bat-generic-mode-compile):
11067 * help-mode.el (help-info-variable, help-do-xref)
11068 (help-mode-revert-buffer):
11069 * help.el (view-emacs-todo):
11070 * iswitchb.el (iswitchb-completion-help):
11071 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11072 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11073 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11074 * locate.el (locate-update):
11075 * longlines.el (longlines-encode-region)
11076 (longlines-after-change-function):
11077 * outline.el (outline-isearch-open-invisible):
11078 * ps-def.el (declare-function, charset-dimension, char-width)
11079 (encode-char):
11080 * ps-mule.el (ps-mule-plot-string):
11081 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11082 (recentf-edit-list-select, recentf-edit-list-validate)
11083 (recentf-open-files-action):
11084 * rect.el (delete-whitespace-rectangle-line)
11085 (rectangle-number-line-callback):
11086 * register.el (window-configuration-to-register)
11087 (frame-configuration-to-register):
11088 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11089 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11090 (xselect-convert-to-targets, xselect-convert-to-delete)
11091 (xselect-convert-to-filename, xselect-convert-to-charpos)
11092 (xselect-convert-to-lineno, xselect-convert-to-colno)
11093 (xselect-convert-to-os, xselect-convert-to-host)
11094 (xselect-convert-to-user, xselect-convert-to-class)
11095 (xselect-convert-to-name, xselect-convert-to-integer)
11096 (xselect-convert-to-atom, xselect-convert-to-identity):
11097 * subr.el (declare, ignore, process-kill-without-query)
11098 (text-clone-maintain):
11099 * terminal.el (te-get-char, te-tic-sentinel):
11100 * tool-bar.el (tool-bar-make-keymap):
11101 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11102 * type-break.el (type-break-mode, type-break-noninteractive-query):
11103 * view.el (View-back-to-mark):
11104 * wid-browse.el (widget-browse-action, widget-browse-widget)
11105 (widget-browse-widgets, widget-browse-sexp):
11106 * widget.el (define-widget-keywords):
11107 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11108 Mark unused parameters.
11109
11110 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11111 (align-areas): Remove unused variable `look'.
11112 (align-region): Remove unused variables `real-end' and `pos-list'.
11113
11114 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11115
11116 * bindings.el (mode-line-modified, mode-line-remote):
11117 Mark unused parameters.
11118 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11119
11120 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11121 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11122
11123 * comint.el (comint-history-isearch-pop-state)
11124 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11125 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11126 (comint-substitute-in-file-name): Doc fix.
11127
11128 * completion.el (cmpl-statistics-block): Mark unused parameter.
11129 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11130 (save-completions-to-file, load-completions-from-file):
11131 Remove unused local variable `e'.
11132
11133 * composite.el (compose-chars): Remove unused variable `len'.
11134 (lgstring-insert-glyph): Remove unused variable `g'.
11135 (compose-glyph-string): Remove unused variables `ascent',
11136 `descent', `lbearing' and `rbearing'.
11137 (compose-glyph-string-relative): Remove unused variables
11138 `lbearing', `rbearing' and `wadjust'.
11139 (compose-gstring-for-graphic): Remove unused variables `header',
11140 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11141 (compose-gstring-for-terminal): Remove unused variables `header'
11142 and `nchars'. Use `let', not `let*'.
11143
11144 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11145 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11146 (Custom-buffer-done, custom-buffer-create-internal)
11147 (custom-browse-visibility-action, custom-browse-group-tag-action)
11148 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11149 (widget-magic-mouse-down-action, custom-toggle-parent)
11150 (custom-add-parent-links, custom-toggle-hide-variable)
11151 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11152 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11153 (custom-face-menu-create, custom-variable-menu-create, get)
11154 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11155 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11156 (customize-apropos): Remove unused variable `tests'.
11157 (custom-group-value-create): Remove unused variable `hidden-p'.
11158 (sort-fold-case): Declare.
11159
11160 * cus-theme.el (custom-reset-standard-faces-list)
11161 (custom-reset-standard-variables-list): Declare.
11162 (customize-create-theme, custom-theme-revert, custom-theme-write)
11163 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11164 Mark unused parameters.
11165
11166 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11167
11168 * delim-col.el (delimit-columns-max): Move defvar before first use.
11169
11170 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11171 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11172
11173 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11174 (auto-insert): Declare.
11175 (desktop-restore-file-buffer): Rename desktop-* parameters;
11176 mark unused ones.
11177 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11178 (desktop-buffer): Rename desktop-* parameters.
11179
11180 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11181 (dframe-reposition-frame-xemacs, dframe-help-echo)
11182 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11183 Mark unused parameters.
11184
11185 * dired-aux.el (backup-extract-version-start, overwrite-query)
11186 (overwrite-backup-query, rename-regexp-query)
11187 (rename-non-directory-query): Declare.
11188 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11189 (dired-add-entry): Remove unused variable `orig-file-name'.
11190 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11191 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11192 `dired-copy-preserve-time' directly.
11193 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11194 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11195
11196 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11197 (dired-virtual-revert, dired-make-relative-symlink):
11198 Mark unused parameters.
11199 (manual-program): Declare.
11200 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11201 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11202 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11203
11204 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11205
11206 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11207
11208 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11209 Declare.
11210
11211 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11212
11213 * electric.el (Electric-command-loop): Rename parameter
11214 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11215
11216 * expand.el (expand-in-literal): Remove unused variable `here'.
11217
11218 * facemenu.el (facemenu-add-new-color):
11219 Remove unused variable `docstring'.
11220
11221 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11222 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11223 (face-attr-construct): Mark unused parameter. Doc fix.
11224 (read-color): Remove unused variable `hex-string'.
11225
11226 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11227 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11228 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11229 (display-buffer-other-frame): Remove unused variable `old-window'.
11230 (kill-buffer-hook): Declare.
11231 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11232 Mark unused parameters.
11233 (after-find-file): Pass 1 to `auto-save-mode', not t.
11234
11235 * files-x.el (auto-insert): Declare.
11236 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11237
11238 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11239 variable `buf'. Mark unused parameter.
06b60517
JB
11240 (find-lisp-insert-directory): Mark unused parameter.
11241
11242 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11243 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11244 (format-common-tail): Remove, unused.
11245 (format-deannotate-region): Remove unused variable `loc'.
11246 (format-annotate-region): Remove unused variable `p'.
11247 (format-annotate-single-property-change): Remove unused variables
11248 `default' and `tail'.
11249
11250 * forms.el (read-file-filter): Declare.
11251 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11252
11253 * frame.el (frame-creation-function-alist): Mark unused parameter.
11254 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11255
11256 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11257 Remove unused parameters.
11258 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11259 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11260
11261 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11262 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11263 (hfy-prepare-tag-map): Mark unused parameters.
11264 (htmlfontify-buffer): Use `called-interactively-p'.
11265
11266 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11267 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11268 (ibuffer-do-occur): Mark unused parameters.
11269 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11270 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11271
11272 * ibuffer.el: Don't quote `lambda'.
11273 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11274 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11275 Mark unused parameters.
11276
11277 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11278 (ido-completing-read): Mark unused parameters.
11279 (ido-copy-current-word): Mark unused parameters;
11280 remove unused variable `name'.
11281 (ido-sort-merged-list): Remove unused parameter `dirs'.
11282
11283 * ielm.el (ielm-input-sender): Mark unused parameter.
11284 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11285 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11286 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11287 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11288 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11289
11290 * image-dired.el (image-dired-display-thumbs): Remove unused
11291 variables `curr-file' and `count'.
11292 (image-dired-remove-tag): Remove unused variable `start'.
11293 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11294 variable `curr-file'
11295 (image-dired-rotate-original): Remove unused variable `temp-file'.
11296 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11297 Remove unused variable `file'.
11298 (image-dired-gallery-generate): Remove unused variable `curr'.
11299 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11300
11301 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11302
11303 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11304
11305 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11306
11307 * isearch.el (minibuffer-history-symbol): Declare.
11308 (isearch-edit-string): Remove unused variable `err'.
11309 (isearch-message-prefix, isearch-message-suffix):
11310 Mark unused parameters.
11311
11312 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11313
11314 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11315
11316 * makesum.el (double-column): Remove unused variable `cnt'.
11317
11318 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11319 (ido-ignore-item-temp-list): Declare.
11320
11321 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11322 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11323 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11324 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11325 `mouse-col-delta'.
11326
11327 * mouse-sel.el (mouse-extend-internal):
11328 Remove unused variable `orig-window-frame'.
11329
11330 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11331 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11332 Move declarations before first use.
11333 (pcomplete-opt): Mark unused parameters; doc fix.
11334
11335 * proced.el (proced-revert): Mark unused parameter.
11336 (proced-send-signal): Remove unused variable `err'.
11337
11338 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11339 Rename parameter PREFIX-ARG to ARG.
11340 (ps-basic-plot-string, ps-basic-plot-whitespace):
11341 Mark unused parameters.
11342
11343 * replace.el (replace-count): Define.
11344 (occur-revert-function): Mark unused parameters.
11345 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11346 (isearch-case-fold-search, isearch-string): Declare.
11347 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11348 bind `case-fold-search'. Remove unused variables `beg' and `end',
11349 and simplify.
11350 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11351 COUNT and bind `replace-count'.
11352 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11353 to COUNT.
11354
11355 * savehist.el (print-readably, print-string-length): Declare.
11356
11357 * shadowfile.el (shadow-expand-cluster-in-file-name):
11358 Remove unused variable `cluster'.
11359 (shadow-copy-file): Remove unused variable `i'.
11360 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11361 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11362 (shadow-define-literal-group, shadow-define-regexp-group)
11363 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11364
11365 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11366 (shell): Use `called-interactively-p'.
11367 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11368
11369 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11370 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11371 (delete-backward-char): Remove unused variable `ocol'.
11372 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11373 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11374 (event-apply-hyper-modifier, event-apply-shift-modifier)
11375 (event-apply-control-modifier, event-apply-meta-modifier):
11376 Mark unused parameters.
11377 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11378 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11379
11380 * speedbar.el (speedbar-ignored-directory-expressions)
11381 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11382 (speedbar-find-file, speedbar-dir-follow)
11383 (speedbar-directory-buttons-follow, speedbar-tag-find)
11384 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11385 (speedbar-buffers-line-directory, speedbar-buffer-click):
11386 Mark unused parameters.
11387 (speedbar-tag-file): Remove unused variable `mode'.
11388 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11389
11390 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11391
11392 * talk.el (talk): Remove unused variable `display'.
11393
11394 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11395 (tar-write-region-annotate): Mark unused parameter.
11396
11397 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11398 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11399 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11400 warning by another.
11401
11402 * time-stamp.el (time-stamp-string-preprocess):
11403 Remove unused variable `require-padding'.
11404
11405 * tree-widget.el (widget-glyph-enable): Declare.
11406 (tree-widget-action): Mark unused parameter.
11407
11408 * w32-fns.el (x-get-selection): Mark unused parameter.
11409 (autoload-make-program, generated-autoload-file): Declare.
11410
11411 * wdired.el (wdired-revert): Mark unused parameters.
11412 (wdired-xcase-word): Remove unused variable `err'.
11413
11414 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11415 (whitespace-help-scroll): Remove unused variable `data-help'.
11416
11417 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11418 (widget-image-insert, widget-after-change, default)
11419 (widget-default-format-handler, widget-default-notify)
11420 (widget-default-prompt-value, widget-info-link-action)
11421 (widget-url-link-action, widget-function-link-action)
11422 (widget-variable-link-action, widget-file-link-action)
11423 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11424 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11425 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11426 (widget-insert-button-action, widget-delete-button-action, visibility)
11427 (widget-documentation-link-action, widget-documentation-string-action)
11428 (widget-const-prompt-value, widget-regexp-match, symbol)
11429 (widget-coding-system-prompt-value)
11430 (widget-key-sequence-value-to-external, sexp)
11431 (widget-sexp-value-to-internal, character, vector, cons)
11432 (widget-choice-prompt-value, widget-boolean-prompt-value)
11433 (widget-color--choose-action): Mark unused parameters.
11434 (widget-item-match-inline, widget-choice-match-inline)
11435 (widget-checklist-match, widget-checklist-match-inline)
11436 (widget-group-match): Rename parameter VALUES to VALS.
11437 (widget-field-value-set): Remove unused variable `size'.
11438 (widget-color-action): Remove unused variables `value' and `start'.
11439
11440 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11441 variable `dir'. Doc fix.
06b60517
JB
11442 (windmove-find-other-window): Don't pass it.
11443
11444 * window.el (count-windows): Mark unused parameter.
11445 (bw-adjust-window): Remove unused variable `err'.
11446
11447 * woman.el (woman-file-name): Remove unused variable `default'.
11448 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11449 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11450 (global-font-lock-mode): Declare.
11451 (woman-decode-region): Mark unused parameter.
11452 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11453
11454 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11455 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11456 (x-dnd-handle-moz-url): Remove unused variable `title'.
11457 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11458
11459 * xml.el (xml-parse-tag, xml-parse-attlist):
11460 Remove unused variable `pos'.
11461
bc4f7f3d
GM
114622011-04-19 Glenn Morris <rgm@gnu.org>
11463
11464 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11465 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11466 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11467 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11468 * calendar/cal-html.el (cal-html-insert-minical):
11469 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11470 (calendar-mark-date-pattern):
11471 Prefix "unused" locals.
11472
11473 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11474 optional argument `style'.
11475
11476 * calendar/appt.el (appt-make-list):
11477 * calendar/cal-china.el (calendar-chinese-date-string):
11478 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11479 (diary-hebrew-yahrzeit):
11480 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11481 * calendar/calendar.el (calendar-generate-window):
11482 * calendar/time-date.el (time-to-days):
11483 Remove unused local variables.
11484
16a43933
CY
114852011-04-18 Chong Yidong <cyd@stupidchicken.com>
11486
11487 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11488 glyphless-char-display table.
11489 (tabulated-list-glyphless-char-display): New var.
11490
7eed1860
SS
114912011-04-18 Sam Steingold <sds@gnu.org>
11492
11493 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11494 to acknowledgments.
11495
4d2d1ccd
GM
114962011-04-17 Glenn Morris <rgm@gnu.org>
11497
11498 * calendar/diary-lib.el (diary-sexp-entry):
11499 * calendar/holidays.el (holiday-sexp):
11500 Set debug-on-error rather than the removed stack-trace-on-error.
11501
239da61d
GM
115022011-04-16 Glenn Morris <rgm@gnu.org>
11503
11504 * progmodes/f90.el: Use lexical-binding.
11505 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11506
8b05752a
SM
115072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11508
daca8ba5
SM
11509 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11510 (mail-mode): Setup mailalias completion here instead.
11511 * mail/mailalias.el: Use lexical-binding.
11512 (pattern, mailalias-done): Declare dynamic.
11513 (mail-completion-at-point-function): New function, from mail-complete.
11514 (mail-complete): Use it.
11515 (mail-completion-expand): New function.
11516 (mail-get-names): Use it.
11517 (mail-directory, mail-directory-process, mail-directory-stream):
11518 Don't use `pattern' for lexically bound arg.
11519
6f542485
SM
11520 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11521
037e7c3f
SM
11522 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11523 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11524 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11525
8b05752a
SM
11526 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11527 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11528 (byte-interactive-p): Define them again, for use when inlining
11529 old code.
11530
49093f60
JB
115312011-04-15 Juanma Barranquero <lekktu@gmail.com>
11532
11533 * loadup.el: Use `string-to-number', not `string-to-int'.
11534
b5b8e7de
SM
115352011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11538 gud-gdb-complete-command.
11539 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11540 (gud-gdb-completion-at-point): New function.
11541 (gud-gdb-completions): Remove.
11542
f42efeb5
MA
115432011-04-14 Michael Albinus <michael.albinus@gmx.de>
11544
49093f60
JB
11545 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11546 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11547 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11548 whether `executable-find' is bound.
f42efeb5
MA
11549
11550 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11551
e240cc21
SM
115522011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * minibuffer.el (completion-in-region-mode-predicate)
11555 (completion-in-region-mode--predicate): New vars.
11556 (completion-in-region, completion-in-region--postch)
11557 (completion-in-region-mode): Use them.
11558 (completion--capf-wrapper): Also return the hook function.
11559 (completion-at-point, completion-help-at-point):
11560 Adjust and provide a predicate.
c2bd2ab0
SM
11561
11562 Preserve arg names for advice of subr and lexical functions (bug#8457).
11563 * help-fns.el (help-function-arglist): Consolidate the subr and
11564 new-byte-code cases. Add argument `preserve-names' to extract names
11565 from the docstring when needed.
11566 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11567 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11568 (ad-arglist): Use help-function-arglist's new arg.
11569 (ad-definition-type): Use cond.
11570
c183f693
JB
115712011-04-13 Juanma Barranquero <lekktu@gmail.com>
11572
06641a47
JB
11573 * autorevert.el (auto-revert-handler):
11574 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11575 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11576 Don't quote lambda.
11577
c183f693
JB
11578 * image-mode.el (image-transform-set-scale):
11579 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11580
1e3b6001
G
115812011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11582
11583 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11584 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11585 Upgrades via gnutls-cli are too slow to be done opportunistically.
11586
2d6af8dd
JB
115872011-04-12 Juanma Barranquero <lekktu@gmail.com>
11588
11589 * dframe.el (dframe-current-frame): Remove spurious quote.
11590
c0749a51
GM
115912011-04-12 Glenn Morris <rgm@gnu.org>
11592
088d0d61
GM
11593 * calendar/cal-tex.el (cal-tex-end-document):
11594 Try to automatically use latin1 input if needed.
11595
c0749a51
GM
11596 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11597 Don't try to cons a mark onto an empty element.
11598
5c90fde0
LL
115992011-04-11 Leo Liu <sdl.web@gmail.com>
11600
11601 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11602 buffers.
11603 (ido-kill-buffer-at-head): Support killing virtual buffers.
11604
369e974d
CY
116052011-04-10 Chong Yidong <cyd@stupidchicken.com>
11606
11607 * minibuffer.el (completion-show-inline-help): New var.
11608 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11609 (minibuffer-force-complete, minibuffer-complete-word):
11610 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11611
11612 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11613 to avoid interference from inline help (Bug#5849).
11614
37f1c930
LL
116152011-04-10 Leo Liu <sdl.web@gmail.com>
11616
099c39a4
JB
11617 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11618 Fix typo.
37f1c930 11619
a32d4040
CY
116202011-04-09 Chong Yidong <cyd@stupidchicken.com>
11621
11622 * image-mode.el (image-toggle-display-image): Signal an error if
11623 not in Image mode.
11624 (image-transform-mode, image-transform-resize)
11625 (image-transform-set-rotation): Doc fix.
daca8ba5 11626 (image-transform-set-resize): Delete.
a32d4040
CY
11627 (image-transform-set-scale, image-transform-fit-to-height)
11628 (image-transform-fit-to-width): Handle image-toggle-display-image
11629 and image-transform-resize directly.
11630
099c39a4 116312011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11632
11633 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11634 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11635 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11636 (doc-view-mode-map): Add bindings for the new functions.
11637
099c39a4 116382011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11639
4d61f28d 11640 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11641 Fix typo in docstring.
11642
3726838a
EZ
116432011-04-08 Eli Zaretskii <eliz@gnu.org>
11644
04f33f1e
EZ
11645 * files.el (file-size-human-readable): Produce one digit after
11646 decimal, like "ls -lh" does.
11647
11648 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11649 the file size representation.
11650
3726838a
EZ
11651 * simple.el (list-processes): If async subprocesses are not
11652 available, error out with a clear error message.
11653
cbb59342
CY
116542011-04-08 Chong Yidong <cyd@stupidchicken.com>
11655
11656 * help.el (help-form-show): New function, to be called from C.
11657 Put help-form output in a buffer named differently than *Help*.
11658
e3971c44
EZ
116592011-04-08 Eli Zaretskii <eliz@gnu.org>
11660
11661 * files.el (file-size-human-readable): New function.
11662
11663 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11664 computing the representation inline. Don't require `cl'.
11665
12544bbe
GM
116662011-04-08 Glenn Morris <rgm@gnu.org>
11667
a1de6c6a
GM
11668 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11669
3c4671f4
GM
11670 * net/browse-url.el (browse-url-firefox):
11671 Test system-type, not system-configuration.
11672
b605679c
GM
11673 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11674 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11675 Use log-edit-empty-buffer-p. (Bug#7598)
11676
56442f0c
GM
11677 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11678 (rlogin-mode-map): Initialize in the defvar.
11679 (rlogin): Use ignore-errors.
11680
12544bbe
GM
11681 * replace.el (occur-mode-map): Some fixes for menu items.
11682
eb237b0f
AH
116832011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11684
11685 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11686
7d668f2c
CY
116872011-04-06 Chong Yidong <cyd@stupidchicken.com>
11688
e67a13ab
CY
11689 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11690 issuing unused warnings.
11691
11692 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11693 macro directly.
11694
7d668f2c
CY
11695 * simple.el: Lisp reimplement of list-processes. Based on an
11696 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11697 (process-menu-mode): New major mode.
11698 (list-processes--refresh, list-processes):
11699 (process-menu-visit-buffer): New functions.
11700
11701 * files.el (save-buffers-kill-emacs): Don't assume any return
11702 value of list-processes, which is undocumented anyway.
11703
a83ec3c9
CY
117042011-04-06 Chong Yidong <cyd@stupidchicken.com>
11705
11706 * emacs-lisp/tabulated-list.el: New file.
11707
e91a96fe
CY
11708 * emacs-lisp/package.el: Use Tabulated List mode.
11709 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11710 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11711 table format using Tabulated List mode variables.
11712 (package--push): New macro, replacing package-list-maybe-add.
11713 (package-menu--generate): Use package--push. Renamed from
11714 package--generate-package-list.
11715 (package-menu-refresh, list-packages): Use it.
daca8ba5 11716 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11717 Return insertion data instead of inserting it directly.
099c39a4
JB
11718 (package-menu-describe-package, package-menu-execute):
11719 Use tabulated-list-get-id.
e91a96fe
CY
11720 (package-menu-mark-delete, package-menu-mark-install)
11721 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11722 (package-menu-mark-obsolete-for-deletion):
11723 Use tabulated-list-put-tag.
e91a96fe
CY
11724 (package--list-packages, package-menu-revert)
11725 (package-menu-get-package, package-menu-get-version)
11726 (package-menu-sort-by-column): Functions deleted.
11727 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11728 (package-menu--status-predicate, package-menu--version-predicate)
11729 (package-menu--name-predicate)
11730 (package-menu--description-predicate): Handle arguments in the
11731 Tabulated List format.
11732 (package-list-packages-no-fetch): Call list-packages.
11733
3e214b50
JB
117342011-04-06 Juanma Barranquero <lekktu@gmail.com>
11735
11736 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11737 (after-find-file): Don't bind it.
3e214b50
JB
11738 (revert-buffer-in-progress-p): New variable.
11739 (revert-buffer): Bind it.
11740 Pass nil for `after-find-file-from-revert-buffer'.
11741
11742 * saveplace.el (save-place-find-file-hook): Use new variable
11743 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11744
3f0f1700
GM
117452011-04-06 Glenn Morris <rgm@gnu.org>
11746
c0274801
GM
11747 * Makefile.in (AUTOGEN_VCS): New variable.
11748 (autoloads): Use $AUTOGEN_VCS.
11749
3f0f1700
GM
11750 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11751 * calendar/calendar.el (calendar-mode-map):
11752 Check for toolkit scroll bars. (Bug#8305)
11753
41ea9e48
CY
117542011-04-05 Chong Yidong <cyd@stupidchicken.com>
11755
11756 * minibuffer.el (completion-in-region--postch)
11757 (completion-in-region-mode): Remove unnecessary messages.
11758
6194c800
JB
117592011-04-05 Juanma Barranquero <lekktu@gmail.com>
11760
33256f14
JB
11761 * font-lock.el (font-lock-refresh-defaults):
11762 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11763 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11764
6194c800
JB
11765 * info.el (Info-directory-list, Info-read-node-name-2)
11766 (Info-split-parameter-string): Doc fixes.
11767 (Info-virtual-nodes): Reflow docstring.
11768 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11769 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11770 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11771 Fix typos in docstrings.
11772 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11773 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11774 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11775 (Info-restore-desktop-buffer): Mark unused parameters.
11776 (Info-directory-find-file, Info-directory-find-node)
11777 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11778 (Info-virtual-index-find-node, Info-apropos-find-file)
11779 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11780 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11781 (Info-virtual-index): Remove unused local variable `nodename'.
11782
b87a8200 117832011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11784
b87a8200
DD
11785 * net/rcirc.el: Update my e-mail address.
11786 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11787
3b2ff876
CY
117882011-04-05 Chong Yidong <cyd@stupidchicken.com>
11789
11790 * startup.el (command-line): Save the cursor's theme-face
11791 directly, instead of using face-override-spec.
11792
11793 * custom.el (load-theme): Minor optimization in assigning faces.
11794
8d17e7ca
JB
117952011-04-04 Juanma Barranquero <lekktu@gmail.com>
11796
11797 * help-fns.el (describe-variable): Complete all variables having
11798 documentation, including keywords.
11799 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11800
2fbc1934
JB
118012011-04-04 Juanma Barranquero <lekktu@gmail.com>
11802
11803 Convert to lexical-binding.
11804
11805 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11806 (bs--get-marked-string, bs--get-modified-string)
11807 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11808 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11809 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11810
11811 * ehelp.el (electric-help-execute-extended)
11812 (electric-help-ctrl-x-prefix):
11813 * hexl.el (hexl-revert-buffer-function):
11814 * linum.el (linum-after-change, linum-after-scroll):
11815 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11816
11817 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11818
74f50695
DU
118192011-04-04 Daiki Ueno <ueno@unixuser.org>
11820
11821 * epa-dired.el:
11822 * epa-mail.el:
11823 * epa-hook.el:
11824 * epa-file.el:
11825 * epa.el:
11826 * epg.el: Use lexical binding.
11827
c11325f7
CY
118282011-04-03 Chong Yidong <cyd@stupidchicken.com>
11829
0d9e9a12
CY
11830 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11831
c11325f7 11832 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11833 dictionary case for flyspell-mark-duplications-exceptions.
11834 Use regexp matching for languages.
c11325f7
CY
11835 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11836 default dictionary (Bug#7926).
11837
da91b5f2
CY
118382011-04-02 Chong Yidong <cyd@stupidchicken.com>
11839
099c39a4
JB
11840 * emacs-lisp/package.el (package--with-work-buffer):
11841 Recognize https URLs.
da91b5f2 11842
099c39a4
JB
11843 * net/network-stream.el: Move from gnus/proto-stream.el.
11844 Change prefix to network-stream throughout.
da91b5f2
CY
11845 (open-protocol-stream): Merge into open-network-stream, leaving
11846 open-protocol-stream as an alias. Handle nil BUFFER args.
11847
11848 * subr.el (open-network-stream): Move to net/network-stream.el.
11849
afa8e9f6
GM
118502011-04-02 Glenn Morris <rgm@gnu.org>
11851
1d2e369d
GM
11852 * find-dired.el (find-exec-terminator): New option.
11853 (find-ls-option): Test for -ls support.
11854 (find-ls-subdir-switches): Test for -b in find-ls-option.
11855 (find-dired, find-grep-dired): Doc fixes.
11856 (find-dired): Use find-exec-terminator.
11857
8abb7da8 11858 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11859 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11860 (find-name-arg): Remove purecopy.
8abb7da8 11861
f3ca7378
GM
11862 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11863 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11864 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11865 accordingly. Don't add the null-device if not needed.
11866
afa8e9f6
GM
11867 * files.el (save-some-buffers): Doc fix.
11868
35eae264
EZ
118692011-04-02 Eli Zaretskii <eliz@gnu.org>
11870
11871 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11872
26b51db5
JB
118732011-04-01 Juanma Barranquero <lekktu@gmail.com>
11874
11875 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11876 Use `dolist' rather than `mapcar'.
11877
7200d79c
SM
118782011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11879
03408648 11880 Add lexical binding.
7200d79c 11881
03408648
SM
11882 * subr.el (apply-partially): Use new closures rather than CL.
11883 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11884 (dolist, dotimes): Use slightly different expansion for lexical code.
11885 (functionp): Move to C.
11886 (letrec): New macro.
11887 (with-wrapper-hook): Use it and apply-partially instead of CL.
11888 (eval-after-load): Preserve lexical-binding.
11889 (save-window-excursion, with-output-to-temp-buffer): Turn them
11890 into macros.
7200d79c 11891
03408648
SM
11892 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11893
11894 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11895 than the arglist.
11896 (help-add-fundoc-usage): Don't add `Not documented'.
11897 (help-function-arglist): Handle closures, subroutines, and new
11898 byte-code-functions.
11899 (help-make-usage): Remove leading underscores.
11900 (describe-function-1): Handle closures.
11901 (describe-variable): Use special-variable-p for completion.
11902
11903 * files.el (lexical-binding): Declare safe.
f488fb65 11904
03408648
SM
11905 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11906 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11907 (pcase): Add `let' pattern.
11908 Change memoization so it actually works.
11909 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11910 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11911 <let>: New case.
f488fb65 11912
03408648
SM
11913 * emacs-lisp/macroexp.el: Use lexical binding.
11914 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11915 Don't convert ' to #' without checking that it's indeed quoting
11916 a lambda.
11917
11918 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11919 Use eval-sexp-add-defvars.
03408648
SM
11920 (eval-sexp-add-defvars): New fun.
11921
11922 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11923
11924 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11925 Don't autoload.
11926 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11927 than the internal `byte-compile-lambda'.
11928 (defmethod): Don't hide code under quotes.
11929 (eieio-defmethod): New `code' argument.
11930
11931 * emacs-lisp/eieio-comp.el: Remove.
11932
11933 * emacs-lisp/edebug.el (edebug-eval-defun)
11934 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11935 (edebug-toggle): Avoid `eval'.
11936
11937 * emacs-lisp/disass.el (disassemble-internal): Handle new
11938 `closure' objects.
11939 (disassemble-1): Handle new byte codes.
11940
11941 * emacs-lisp/cl.el (pushnew): Silence warning.
11942
11943 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11944 (cl-byte-compile-throw): Remove.
11945 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11946
11947 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11948 closures.
11949
11950 * emacs-lisp/cconv.el: New file.
11951
11952 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11953 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11954 (byte-compile-initial-macro-environment):
11955 Handle declare-function here.
11956 (byte-compile--lexical-environment): New var.
11957 (byte-stack-ref, byte-stack-set, byte-discardN)
11958 (byte-discardN-preserve-tos): New lap codes.
11959 (byte-interactive-p): Don't use any more.
11960 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11961 New macros.
11962 (byte-compile-lapcode): Use them and handle new lap codes.
11963 (byte-compile-obsolete): Remove.
11964 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11965 (byte-compile-arglist-warn): Check late def of inlinable funs.
11966 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11967 since they should have been expanded by now.
11968 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11969 (byte-compile-from-buffer): Remove unused second arg.
11970 (byte-compile-preprocess): New function.
11971 (byte-compile-toplevel-file-form): New function to distinguish
11972 file-form calls from outside from file-form calls from hunk-handlers.
11973 (byte-compile-file-form): Simplify.
11974 (byte-compile-file-form-defsubst): Remove.
11975 (byte-compile-file-form-defmumble): Simplify now that
11976 byte-compile-lambda always returns a byte-code-function.
11977 (byte-compile): Preprocess.
11978 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11979 Remove, not used any more.
11980 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11981 (byte-compile-make-args-desc): New funs.
11982 (byte-compile-lambda): Handle lexical functions. Always return
11983 a byte-code-function.
11984 (byte-compile-reserved-constants): New var, to make up room for
11985 closed-over variables.
11986 (byte-compile-constants-vector): Obey it.
11987 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11988 (byte-compile-macroexpand-declare-function): New function.
11989 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11990 byte-code-functions.
11991 (byte-compile-form): Check obsolescence here.
11992 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11993 (byte-compile-variable-ref): Remove.
11994 (byte-compile-dynamic-variable-op): New fun.
11995 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11996 (byte-compile-variable-set): New funs.
11997 (byte-compile-discard): Add 2 args.
11998 (byte-compile-stack-ref, byte-compile-stack-set)
11999 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12000 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12001 macroexpand-all instead.
12002 (byte-compile-quote-form): Remove.
12003 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12004 (byte-compile-bind, byte-compile-unbind): New funs.
12005 (byte-compile-let): Handle let* and lexical binding.
12006 (byte-compile-let*): Remove.
12007 (byte-compile-catch, byte-compile-unwind-protect)
12008 (byte-compile-track-mouse, byte-compile-condition-case):
12009 Handle a new :fun-body form, used for lexical scoping.
12010 (byte-compile-save-window-excursion)
12011 (byte-compile-with-output-to-temp-buffer): Remove.
12012 (byte-compile-defun): Simplify.
12013 (byte-compile-stack-adjustment): New fun.
12014 (byte-compile-out): Use it.
12015 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12016
12017 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12018 handler any more.
12019
12020 * emacs-lisp/byte-opt.el: Use lexical binding.
12021 (byte-inline-lapcode): Remove (to bytecomp).
12022 (byte-compile-inline-expand): Pay attention to inlining to/from
12023 lexically bound code.
12024 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12025 any more.
12026 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12027 any more and don't call compiler-macros.
12028 (byte-compile-splice-in-already-compiled-code): Remove.
12029 (byte-code): Don't inline any more.
12030 (disassemble-offset): Receive `bytes' as argument rather than via
12031 dynamic scoping.
12032 (byte-compile-tag-number): Declare before first use.
12033 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12034 `return' even if make-spliceable.
12035 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12036 obsolete interactive-p.
12037 (byte-optimize-lapcode): Optimize new lap-codes.
12038 Don't trip up on new form of `byte-constant' lap code.
12039
12040 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12041
12042 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12043
12044 * custom.el (custom-initialize-default, custom-declare-variable):
12045 Use `defvar'.
12046
12047 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12048 New variables.
12049 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12050 (COMPILE_FIRST): Add macroexp and cconv.
12051 * makefile.w32-in: Mirror changes in Makefile.in.
12052
12053 * vc/cvs-status.el:
12054 * vc/diff-mode.el:
12055 * vc/log-edit.el:
12056 * vc/log-view.el:
12057 * vc/smerge-mode.el:
12058 * textmodes/bibtex-style.el:
12059 * textmodes/css.el:
12060 * startup.el:
12061 * uniquify.el:
da91b5f2
CY
12062 * minibuffer.el:
12063 * newcomment.el:
12064 * reveal.el:
12065 * server.el:
12066 * mpc.el:
12067 * emacs-lisp/smie.el:
12068 * doc-view.el:
12069 * dired.el:
03408648
SM
12070 * abbrev.el: Use lexical binding.
12071
0f0c1f27
EZ
120722011-04-01 Eli Zaretskii <eliz@gnu.org>
12073
12074 * info.el (info-display-manual): New function.
12075
c82b2579
SM
120762011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12079
221ddf68
TH
120802011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12081
12082 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12083 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12084
cba6e77e
GM
120852011-03-31 Glenn Morris <rgm@gnu.org>
12086
e040639f
GM
12087 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12088
cba6e77e
GM
12089 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12090
6d0f1c9e
CS
120912011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12092
12093 * progmodes/python.el (python-default-interpreter)
12094 (python-python-command-args, python-jython-command-args)
12095 (python-which-shell, python-which-args, python-which-bufname)
12096 (python-file-queue, python-comint-output-filter-function)
12097 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12098 variables and functions.
12099
3e2d70fd
SM
121002011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12101
12102 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12103 (completion-in-region-mode): New minor mode.
12104 (completion-in-region): Use it.
12105 (completion-in-region--data, completion-in-region-mode-map): New vars.
12106 (completion-in-region--postch): New function.
12107 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12108 New vars.
12109 (completion--capf-wrapper): New function.
12110 (completion-at-point): Use it to track well-behavedness of
12111 hook functions.
12112 (completion-help-at-point): New command.
12113
f3e4086c
JM
121142011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12115
12116 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12117 syntax class to search for whitespace on a single line
12118 (Message-ID: <4D938140.4030905@redhat.com>).
12119
eb7ffc14
LL
121202011-03-30 Leo Liu <sdl.web@gmail.com>
12121
12122 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12123 New commands.
12124 (edit-abbrevs-map): Bind them here.
12125 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12126
d806ab68
KM
121272011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12128
12129 * allout.el (allout-hide-by-annotation, allout-flag-region):
12130 Reduce possibility of overlay leakage by making them volatile.
12131
12132 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12133 hash is not shared between buffers. Mode initialization is
12134 responsible for giving it a useful starting value.
12135 (allout-item-span): Reduce possibility of overlay leakage by
12136 making them volatile.
12137 (allout-widgets-count-buttons-in-region): Add diagnostic function
12138 for tracking down button overlay leaks.
12139
ea622834
LL
121402011-03-29 Leo Liu <sdl.web@gmail.com>
12141
12142 * ido.el (ido-read-internal): Use the default history var
12143 minibuffer-history if no HISTORY is specified.
12144
b62f8267
G
121452011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12146
03408648
SM
12147 * net/imap.el (imap-shell-open, imap-process-connection-type):
12148 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12149 Kerberos, SSL, other subprocesses.
12150
947b6566
LL
121512011-03-28 Leo Liu <sdl.web@gmail.com>
12152
12153 * abbrev.el (abbrev-table-empty-p): New function.
12154 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12155 nonempty ones. (Bug#5937)
12156
5ffb62aa
JD
121572011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12158
12159 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12160
7a097943
LL
121612011-03-27 Leo Liu <sdl.web@gmail.com>
12162
12163 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12164 for foreground and background colors.
12165 (ansi-color-make-color-map): Adapt.
12166
c5b40130
LL
121672011-03-25 Leo Liu <sdl.web@gmail.com>
12168
1f48f7d2
LL
12169 * midnight.el (midnight-time-float): Remove. Note it calculates
12170 the microsecond component incorrectly and seconds-to-time does the
12171 same job.
625897ec 12172 Remove redundant (require 'timer).
1f48f7d2 12173
c5b40130
LL
12174 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12175 (ido-completions): Remove unused arguments. (Bug#8329)
12176
d86d2721
SM
121772011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * minibuffer.el (completion--flush-all-sorted-completions):
12180 Remove itself from hook.
12181 (completion-at-point): Let the functions perform the completion
12182 immediately and return nil or t.
12183 * comint.el (comint-dynamic-complete-functions): Now identical to
12184 completion-at-point-functions.
12185 (comint-dynamic-list-input-ring): Remove unused var `index'.
12186 (comint--match-partial-filename, comint--unquote&expand-filename):
12187 New funs, split from comint-match-partial-filename.
12188 (comint-dynamic-complete): Use completion-at-point.
12189 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12190
e8974c48
DA
121912011-03-24 Drew Adams <drew.adams@oracle.com>
12192
12193 * thingatpt.el: Support `defun'.
12194
def71b5e
LL
121952011-03-23 Leo Liu <sdl.web@gmail.com>
12196
cb5af48e
LL
12197 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12198
def71b5e
LL
12199 * help-mode.el (help-mode-finish): Tweak regexp.
12200
927c53e7
GM
122012011-03-23 Glenn Morris <rgm@gnu.org>
12202
18d05bed
GM
12203 * eshell/esh-opt.el (eshell-eval-using-options):
12204 Do not bind unused local variable `eshell-option-stub'.
12205
927c53e7
GM
12206 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12207
9d0da923
JB
122082011-03-22 Juanma Barranquero <lekktu@gmail.com>
12209
12210 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12211 keymap variable in `with-no-warnings' to avoid a warning when the
12212 keymap has been already `defconst'ed.
12213
4b978a67
LL
122142011-03-22 Leo Liu <sdl.web@gmail.com>
12215
12216 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12217 encode all chars in abbrevs; otherwise use emacs-mule or
12218 utf-8-emacs. (Bug#8308)
12219
5fd62452
JB
122202011-03-22 Juanma Barranquero <lekktu@gmail.com>
12221
0b1596c6
JB
12222 * simple.el (backward-delete-char-untabify):
12223 Avoid warning about using `delete-backward-char'.
12224
5fd62452
JB
12225 * image.el (image-type-file-name-regexps): Make it variable.
12226 `imagemagick-register-types' modifies it, and the user may want
12227 to add new extensions for known image types.
12228 (imagemagick-register-types): Throw error if not using ImageMagick.
12229
0b4e93f1
LL
122302011-03-22 Leo Liu <sdl.web@gmail.com>
12231
12232 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12233 located before rcirc-prompt-end-marker.
12234 (rcirc-complete): Error if point is not after rcirc prompt.
12235 Handle the case when table is nil.
9882e214 12236 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12237
fccee4ab
CY
122382011-03-22 Chong Yidong <cyd@stupidchicken.com>
12239
12240 * custom.el (custom--inhibit-theme-enable): Make it affect only
12241 custom-theme-set-variables and custom-theme-set-faces.
12242 (provide-theme): Ignore custom--inhibit-theme-enable.
12243 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12244 (custom-enabling-themes): Delete variable.
d86d2721
SM
12245 (enable-theme): Accept only loaded themes as arguments.
12246 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12247 (custom-enabled-themes): Forbid themes from setting this.
12248 Eliminate use of custom-enabling-themes.
12249 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12250
af896da6
LL
122512011-03-21 Leo Liu <sdl.web@gmail.com>
12252
12253 * ido.el (ido-read-internal): Add ido-selected to history instead
12254 of user input.
12255
78f64af0
SM
122562011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * subr.el (deferred-action-list, deferred-action-function):
12259 Mark obsolete.
12260
b16ac1ec
LL
122612011-03-21 Leo Liu <sdl.web@gmail.com>
12262
810f7698
LL
12263 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12264 change on 2011-02-13 (bug#8309).
12265
b16ac1ec
LL
12266 * minibuffer.el (read-file-name-function): Change default value.
12267 (read-file-name--defaults): Rename from read-file-name-defaults.
12268 (read-file-name-default): Rename from read-file-name.
12269 (read-file-name): Call read-file-name-function.
12270
4e05e67e
GM
122712011-03-21 Glenn Morris <rgm@gnu.org>
12272
12273 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12274 Doc fixes.
12275
4359915b
CY
122762011-03-21 Chong Yidong <cyd@stupidchicken.com>
12277
12278 * cus-theme.el: Add missing provide statement.
12279 (customize-create-theme): Extract theme value correctly.
12280 (custom-theme-visit-theme): Autoload.
12281 (customize-create-theme): Prompt before inserting default faces.
12282
1fe275ee
JB
122832011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12284
12285 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12286 units and musical notes.
12287
cd394be1 122882011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12289
12290 * ido.el (ido-read-internal): Use completing-read-default.
12291 (ido-completing-read): Fix compatibility with completing-read.
12292
7d476bde
CO
122932011-03-20 Christian Ohler <ohler@gnu.org>
12294
12295 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12296 (ert-delete-all-tests): Use `called-interactively-p' rather than
12297 `interactive-p'.
12298 (ert--make-xrefs-region): Respect END.
12299
fe0fb33e
CY
123002011-03-19 Chong Yidong <cyd@stupidchicken.com>
12301
ff854b0b
CY
12302 * dired-aux.el (dired-create-directory): Signal an error if the
12303 directory already exists (Bug#8246).
12304
fe0fb33e
CY
12305 * facemenu.el (list-colors-display): Call list-faces-display
12306 inside with-help-window.
12307 (list-colors-print): Use display property to align the final
12308 column, instead of checking window-width.
12309
576bce32
EZ
123102011-03-19 Eli Zaretskii <eliz@gnu.org>
12311
4d61f28d 12312 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12313 windows-nt systems.
12314 (emerge-protect-metachars): Quote correctly for ms-dos and
12315 windows-nt systems.
12316
89c41d68 123172011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12318
12319 * info.el (info-initialize): Replace all uses of `:' with
12320 path-separator for compatibility with non-Unix systems.
12321 Cache quoting of path-separator. (Bug#8258)
12322
b14e3e21 123232011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12324
12325 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12326 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12327 (mouse-avoidance-mode): Fix typos in docstrings.
12328
4525ce3e
CY
123292011-03-19 Chong Yidong <cyd@stupidchicken.com>
12330
12331 * startup.el (package-subdirectory-regexp): Move from package.el.
12332 Omit \\` and \\', and let callers add them.
12333
12334 * emacs-lisp/package.el (package-strip-version)
12335 (package-load-all-descriptors): Add \\` and \\' to
12336 package-subdirectory-regexp before using it.
12337 (package-untar-buffer): New arg DIR; ensure that file untars only
12338 into this expected directory. Remove superfluous delete-region.
12339 (package-unpack): Caller changed.
12340 (package-tar-file-info): Use package-subdirectory-regexp.
12341
a904a09a 123422011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12343
a904a09a
SM
12344 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12345 diff-mode-shared-map (bug#8284).
12346 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12347
123482011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12349
12350 * calendar/time-date.el (format-seconds): Use assoc instead of
12351 assoc-string, since assoc-string doesn't exist in XEmacs.
12352
171fc304
JB
123532011-03-17 Juanma Barranquero <lekktu@gmail.com>
12354
12355 * custom.el (custom-known-themes): Reflow docstring.
12356 (custom-theme-load-path): Fix typo in docstring.
12357 (load-theme): Fix typo in error message.
12358 (custom-available-themes, custom-variable-theme-value):
12359 Use `let', not `let*'.
12360
d71990a1
JB
123612011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12362
12363 * calc/README: Mention inclusion of musical notes.
12364
12365 * calc/calc-units.el (calc-lu-quant): Rename from
12366 `calc-logunits-quantity'.
12367 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12368 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12369 (calc-db): Rename from `calc-dblevel'.
12370 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12371 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12372 (calc-np): Rename from `calc-nplevel'.
12373 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12374 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12375 (calc-lu-plus): Rename from `calc-logunits-add'.
12376 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12377 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12378 (calc-lu-minus): Rename from `calc-logunits-sub'.
12379 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12380 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12381 (calc-lu-times): Rename from `calc-logunits-mul'.
12382 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12383 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12384 (calc-lu-divide): Rename from `calc-logunits-div'.
12385 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12386 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12387
12388 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12389 functions being autoloaded.
12390
12391 * calc/calc.el (calc-lu-power-reference): Rename from
12392 `calc-logunits-power-reference'.
12393 (calc-lu-field-reference): Rename from
12394 `calc-logunits-field-reference'.
12395
7a71b18d
GM
12396 * calc/calc-help.el (calc-l-prefix-help):
12397 Mention musical note functions.
d71990a1 12398
40c2934b
SM
123992011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * minibuffer.el (completion-all-sorted-completions):
12402 Use :completion-cycle-penalty text property if present.
12403
b0911414
KM
124042011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12405
12406 * allout.el (allout-yank-processing): Adjust for new rebulleting
12407 regime so bullet being yanked is used without prompting the user
12408 for a choice.
12409
8a05b668
JB
124102011-03-16 Juanma Barranquero <lekktu@gmail.com>
12411
12412 * startup.el (command-line): Warn the user that _emacs is deprecated.
12413
5ba5fb81
JB
124142011-03-16 Juanma Barranquero <lekktu@gmail.com>
12415
12416 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12417 (delphi-verbose, delphi-comment-face, delphi-string-face)
12418 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12419 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12420 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12421 (delphi-new-comment-line, delphi-font-lock-defaults)
12422 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12423 Fix typos in docstrings.
12424
2dab465b
KM
124252011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12426
5ba5fb81 12427 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12428 Invert the roles of character and string values for INSTEAD, so a
12429 string is used for the more common case of a defaulting prompt.
12430
0adf5618
SM
124312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * progmodes/ruby-mode.el (ruby-backward-sexp):
12434 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12435 * play/gamegrid.el (gamegrid-make-face):
12436 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12437 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12438 * notifications.el (notifications-notify):
12439 * net/xesam.el (xesam-search-engines):
12440 * net/quickurl.el (quickurl-list-insert):
12441 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12442
d72700e5
CY
124432011-03-15 Chong Yidong <cyd@stupidchicken.com>
12444
12445 * startup.el (command-line): Update package subdirectory regexp.
12446
49c5410a
SM
124472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12448
c6eee9aa
SM
12449 * allout.el (allout-abbreviate-flattened-numbering)
12450 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12451
49c5410a
SM
12452 * subr.el (read-char-choice): Only show the cursor after the prompt,
12453 not after the answer.
12454
047b2bb9
KR
124552011-03-15 Kevin Ryde <user42@zip.com.au>
12456
12457 * help-fns.el (variable-at-point): Skip leading quotes, if any
12458 (bug#8253).
12459
0a57d256
SM
124602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12463 warning message.
12464
77c992bc
MA
124652011-03-14 Michael Albinus <michael.albinus@gmx.de>
12466
12467 * shell.el (shell): When called interactively, offer to change the
12468 shell file name on remote hosts.
12469
eebc475d
TZ
124702011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12471
12472 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12473 integration for LDAP parameters. The host, base, user or binddn,
12474 and secret tokens can be specified in a netrc file, for instance.
12475 This is optional because an `auth-source' parameter must be
12476 specified in the search attributes.
12477
9d05d1ba
JB
124782011-03-13 Juanma Barranquero <lekktu@gmail.com>
12479
12480 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12481
09d9db2c
GM
124822011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12485 into declaration. Remove redundant and harmful binding.
12486
124872011-03-12 Eli Zaretskii <eliz@gnu.org>
12488
12489 * files.el (file-ownership-preserved-p): Pass `integer' as an
12490 explicit 2nd argument to `file-attributes'. If the file's owner
12491 is the Administrators group on Windows, and the current user is
12492 Administrator, consider that a match.
12493
12494 * server.el (server-ensure-safe-dir): Consider server directory
12495 safe on MS-Windows if its owner is the Administrators group while
12496 the current Emacs user is Administrator. Use `=' to compare
12497 numerical UIDs, since they could be integers or floats.
12498
219bd536
JB
124992011-03-12 Juanma Barranquero <lekktu@gmail.com>
12500
12501 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12502
f3afd36b
MA
125032011-03-12 Michael Albinus <michael.albinus@gmx.de>
12504
12505 Sync with Tramp 2.2.1.
12506
12507 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12508
12509 * net/trampver.el: Update release number.
12510
3aaaa6f1
SM
125112011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12512
94642599
SM
12513 * progmodes/compile.el (compilation--previous-directory): Fix up
12514 various nil/dead-marker mismatches (bug#8014).
12515 (compilation-directory-properties, compilation-error-properties):
12516 Don't call it at a position past the one we're about to change.
12517
3aaaa6f1
SM
12518 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12519 Disable obsolescence warnings in the file that declares it.
12520
14239447
KM
125212011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12522
099c39a4
JB
12523 * allout-widgets.el (allout-widgets-tally):
12524 Initialize allout-widgets-tally as a hash table rather than nil to
12525 prevent mode-line redisplay warnings. Also, clarify the module
12526 description and fix a comment typo.
14239447 12527
135e287c
JB
125282011-03-11 Juanma Barranquero <lekktu@gmail.com>
12529
12530 * help-fns.el (describe-variable): Don't complete keywords.
12531 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12532
ffbf300e
CY
125332011-03-10 Chong Yidong <cyd@stupidchicken.com>
12534
ba08b241
CY
12535 * emacs-lisp/package.el (package-version-join): Impose a standard
12536 string representation for pre/alpha/beta version lists.
12537 (package-unpack-single): Standardize the directory name by passing
12538 it through package-version-join.
12539 (package-strip-rcs-id): Accept any version string that does not
12540 signal an error in version-to-list.
ffbf300e 12541
f346fd6b
MA
125422011-03-10 Michael Albinus <michael.albinus@gmx.de>
12543
12544 * simple.el (delete-trailing-whitespace): Return nil for the
12545 benefit of `write-file-functions'.
12546
ccb55d27
GM
125472011-03-10 Glenn Morris <rgm@gnu.org>
12548
5ceaac0c
GM
12549 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12550
02da65ff
GM
12551 * vc/vc-git.el (vc-git-program): New option.
12552 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12553 (vc-git--call): Use it.
12554
b2f603cc
GM
12555 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12556
5772caab
GM
12557 * cus-edit.el (Custom-newline): If no button at point, look
12558 for a subgroup button at start-of-line. (Bug#2298)
12559
ccb55d27
GM
12560 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12561
ec6ecaed
JD
125622011-03-10 Julien Danjou <julien@danjou.info>
12563
12564 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12565 `cursor-type' is nil.
12566
9d5aa01d
JB
125672011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12568
12569 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12570
b6a5875b
KM
125712011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12572
7a71b18d 12573 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12574 preserves the existing header prefix, rebulleting it if necessary,
12575 rather than replacing it. This is necessary for proper operation
12576 of cooperative addons like allout-widgets.
1154d12e
JB
12577 (allout-make-topic-prefix, allout-rebullet-heading):
12578 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12579 value as alternate bullet to be used, instead of prompting the user
12580 for a bullet character.
b6a5875b 12581
ee545c35
MA
125822011-03-09 Michael Albinus <michael.albinus@gmx.de>
12583
d86d2721
SM
12584 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12585 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12586 `tramp-default-port'.
12587
c47971d7
DD
125882011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12589
12590 * net/rcirc.el (rcirc-handler-001): Remove useless
12591 with-rcirc-process-buffer.
12592 (rcirc-check-auth-status): Swap arguments to string-match.
12593
13522cb4
GM
125942011-03-09 Glenn Morris <rgm@gnu.org>
12595
0be6f4f1
GM
12596 * shell.el (shell-mode):
12597 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12598
13522cb4
GM
12599 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12600 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12601
515de2e3
CY
126022011-03-08 Chong Yidong <cyd@stupidchicken.com>
12603
12604 * emacs-lisp/package.el (package-refresh-contents)
12605 (package-menu-execute): Use condition-case-no-debug.
12606
b511b994
MA
126072011-03-08 Michael Albinus <michael.albinus@gmx.de>
12608
12609 * simple.el (shell-command-to-string): Use `process-file'.
12610
12611 * emacs-lisp/package.el (package-tar-file-info): Handle also
12612 remote files.
12613
d86d2721
SM
12614 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12615 Use `equal' for upload base check.
b511b994 12616
25bbfb31
AM
126172011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12618
12619 * textmodes/texinfo.el (texinfo-environments):
12620 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12621
be996521
GM
126222011-03-08 Glenn Morris <rgm@gnu.org>
12623
e9c8529f
GM
12624 * cus-start.el (cursor-in-non-selected-windows):
12625 Fix :set quoting oddness. (Bug#8192)
12626
be996521
GM
12627 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12628 in some setf expressions. (Bug#2159)
12629
2bb5649e
CY
126302011-03-08 Chong Yidong <cyd@stupidchicken.com>
12631
12632 * custom.el (custom-available-themes): Return themes in
12633 alphabetical order.
12634
33383987 12635See ChangeLog.15 for earlier changes.
e3d51b27
MR
12636
12637;; Local Variables:
12638;; coding: utf-8
e3d51b27
MR
12639;; End:
12640
acaf905b 12641 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12642
12643 This file is part of GNU Emacs.
12644
12645 GNU Emacs is free software: you can redistribute it and/or modify
12646 it under the terms of the GNU General Public License as published by
12647 the Free Software Foundation, either version 3 of the License, or
12648 (at your option) any later version.
12649
12650 GNU Emacs is distributed in the hope that it will be useful,
12651 but WITHOUT ANY WARRANTY; without even the implied warranty of
12652 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12653 GNU General Public License for more details.
12654
12655 You should have received a copy of the GNU General Public License
12656 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.