IDO: Disable match re-ordering for buffer switching
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a8c14da8
LL
12012-09-16 Leo Liu <sdl.web@gmail.com>
2
3 IDO: Disable match re-ordering for buffer switching.
4 * ido.el (ido-confirm-unique-completion): New variable.
5 (ido-set-matches-1): Use it. (Bug#2042)
6
a316d229
JM
72012-09-12 Jose Marino <marinoj@nso.edu> (tiny change)
8
9 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10 Fix 2011-05-17 change. (Bug#12418)
11
d02e58f8
LL
122012-09-11 Leo Liu <sdl.web@gmail.com>
13
14 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
15
511fd0b2
GM
162012-09-11 Glenn Morris <rgm@gnu.org>
17
18 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
19 Be more robust about locating simple.el.
20
fa05bfe0
GM
212012-09-10 Glenn Morris <rgm@gnu.org>
22
23 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
24
48e8c8aa
AM
252012-09-08 Alan Mackenzie <acm@muc.de>
26
27 AWK Mode: make auto-newline work when there's "==" in the pattern.
28 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
29 correctly.
30 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3): Test
31 more rigorously for "=" token.
32
da8d07a3
JB
332012-09-08 Joel Bion <jpbion@westvi.com> (tiny change)
34
35 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
36
72308848
GM
372012-08-31 Glenn Morris <rgm@gnu.org>
38
39 * emulation/cua-rect.el (cua--init-rectangles):
40 * textmodes/picture.el (picture-mode-map):
41 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
42 like forward-char and backward-char. (Bug#12317)
43
3aca1291
LL
442012-08-30 Leo Liu <sdl.web@gmail.com>
45
46 * progmodes/flymake.el (flymake-warning-re): New variable.
47 (flymake-parse-line): Use it.
48
b6683353
GM
492012-08-30 Glenn Morris <rgm@gnu.org>
50
51 * calendar/holidays.el (holiday-christian-holidays):
52 Rename an entry. (Bug#12289)
53
64f8c4bd
SM
542012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
57 (bug#12222).
58
22ab32ef
LL
592012-08-27 Leo Liu <sdl.web@gmail.com>
60
806f0cc7
LL
61 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
62 completion-at-point. (Bug#12220)
63
3bb213b9
LL
64 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
65
22ab32ef
LL
66 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
67
19c17fc1
CY
682012-08-24 Chong Yidong <cyd@gnu.org>
69
70 * Version 24.2 released.
71
db148c21
SM
722012-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
73
19c17fc1
CY
74 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
75 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 76
ffe6eaf1
JM
772012-08-22 Jeremy Moore <jmoore@ieee.org> (tiny change)
78
79 * progmodes/hideif.el (hif-compress-define-list):
80 Fix typo. (Bug#11951)
81
d30aca1b
DN
822012-08-20 Dan Nicolaescu <dann@gnu.org>
83
84 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
85 buffer local setting.
86
6652b0bc
GM
872012-08-15 Glenn Morris <rgm@gnu.org>
88
89 * vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean.
90
27d6c5a8
LL
912012-08-15 Leo Liu <sdl.web@gmail.com>
92
93 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
94 rcirc-encode-coding-system.
95
4432d2e2
LL
962012-08-13 Leo Liu <sdl.web@gmail.com>
97
98 * net/rcirc.el (rcirc-split-message): New function.
99 (rcirc-send-message): Use it. (Bug#12051)
100
7aacaf15
GM
1012012-08-10 Glenn Morris <rgm@gnu.org>
102
fbb5e336
GM
103 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
104
7aacaf15
GM
105 * tutorial.el (help-with-tutorial):
106 * emacs-lisp/copyright.el (copyright-update-directory):
107 * emacs-lisp/autoload.el (autoload-find-generated-file)
108 (autoload-find-file): Disable local eval: (for insurance).
109
f40b9f10
GM
1102012-08-07 Glenn Morris <rgm@gnu.org>
111
112 * files.el (hack-local-variables-filter): If an eval: form is not
113 known to be safe, and enable-local-variables is :safe, then ignore
114 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 115 This is CVE-2012-3479.
f40b9f10 116
de655540
CY
1172012-08-07 Chong Yidong <cyd@gnu.org>
118
119 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
120
638eaeb9
SM
1212012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
124 syntax-propertize-function (bug#10095).
125
a55739d3
CY
1262012-07-28 Chong Yidong <cyd@gnu.org>
127
128 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
129 gdb-get-location.
130
9a0f8f2e
LL
1312012-07-25 Leo Liu <sdl.web@gmail.com>
132
133 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
134 the alist (bug#12029).
135
971635ee
CY
1362012-07-25 Chong Yidong <cyd@gnu.org>
137
138 * mouse.el (mouse-drag-track): Do not set the mark if the user
139 releases the mouse without selecting anything (Bug#11588).
140
2c73e345
LL
1412012-07-21 Leo Liu <sdl.web@gmail.com>
142
638eaeb9
SM
143 * progmodes/cc-cmds.el (c-defun-name):
144 Use match-string-no-properties instead for consistency.
2c73e345 145
542dfbde
LL
1462012-07-20 Leo Liu <sdl.web@gmail.com>
147
3646bcd6
LL
148 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
149 (Bug#7879)
150
542dfbde
LL
151 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
152
95bdccb7
SM
1532012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
154
d0b822e3
SM
155 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
156 * progmodes/bug-reference.el, misearch.el: Provide themselves
157 (bug#11915).
158
95bdccb7
SM
159 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
160 of narrowed buffer (bug#11966).
161
fe1a523f
JD
1622012-07-14 Jan Djärv <jan.h.d@swipnet.se>
163
164 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
165 also (Bug#7879).
166
aa7aaf8f
SM
1672012-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
170 change (bug#11826).
171
cb442973
GM
1722012-07-02 Glenn Morris <rgm@gnu.org>
173
174 * simple.el (kill-whole-line): Doc tweak.
175
93842198
EZ
1762012-07-01 Eli Zaretskii <eliz@gnu.org>
177
178 * files.el (file-relative-name): Compare file names
179 case-insensitively if on MS-Windows or MS-DOS, or if
180 read-file-name-completion-ignore-case is non-nil. Don't use
181 case-fold-search for this purpose. (Bug#11827)
182
3d8b9024
AS
1832012-06-28 Andreas Schwab <schwab@linux-m68k.org>
184
aa7aaf8f
SM
185 * calendar/cal-dst.el (calendar-current-time-zone):
186 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 187
26e8548e
MY
1882012-06-25 Masatake YAMATO <yamato@redhat.com>
189
190 * progmodes/which-func.el (which-func-format):
191 Add mouse-face. (Bug#11698)
192
c101ef0a
LL
1932012-06-24 Leo Liu <sdl.web@gmail.com>
194
a08bd6bf
LL
195 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
196 read-only error.
197
d939b632
LL
198 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
199
c101ef0a
LL
200 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
201
e994155e
LL
2022012-06-23 Leo Liu <sdl.web@gmail.com>
203
204 * textmodes/enriched.el (enriched-next-annotation):
205 Use eq (Bug#11528).
206
ec55c5e0
SM
2072012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * minibuffer.el (minibuffer-confirm-exit-commands):
210 Add completion-at-point (bug#11725).
211
9e29ca4f
GM
2122012-06-21 Glenn Morris <rgm@gnu.org>
213
214 * progmodes/f90.el (f90-font-lock-keywords-2):
215 Add some preprocessor elements. (Bug#10499)
216
bde2ab6f
SM
2172012-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * progmodes/cperl-mode.el (cperl-update-syntaxification):
220 Use syntax-propertize (bug#11739).
221
9c758578
GM
2222012-06-13 Glenn Morris <rgm@gnu.org>
223
224 * international/mule-cmds.el (mule-menu-keymap)
225 (set-language-environment, set-locale-environment): Doc tweaks.
226
94f0aa34
CY
2272012-06-01 Chong Yidong <cyd@gnu.org>
228
229 * Version 24.1 released.
230
9e1b8ec4
GM
2312012-06-01 Glenn Morris <rgm@gnu.org>
232
233 * mail/rmail.el (rmail-yank-current-message):
234 Leave point at correct position. (Bug#11660)
235
00cd0305
CY
2362012-06-01 Chong Yidong <cyd@gnu.org>
237
238 * allout-widgets.el: Fix code header
239
94f0aa34
CY
2402012-06-01 Chong Yidong <cyd@gnu.org>
241
bde2ab6f
SM
242 * cus-edit.el (customize-changed-options-previous-release):
243 Bump to 23.4.
94f0aa34 244
dd41169b
SM
2452012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
246
bde2ab6f
SM
247 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
248 Handle arbitrary file name lengths (Bug#11585).
dd41169b 249
5221ccb9
MR
2502012-05-28 Martin Rudalics <rudalics@gmx.at>
251
252 * desktop.el (desktop-read): Clear previous and next buffers for
253 all windows and bury *Messages* buffer (bug#11556).
254
b30b64b9
EZ
2552012-05-18 Eli Zaretskii <eliz@gnu.org>
256
ec55c5e0
SM
257 * mail/sendmail.el (mail-yank-region):
258 Recognize rmail-yank-current-message in addition to insert-buffer.
bde2ab6f 259 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
260 a *mail* buffer created through rmail-start-mail with sendmail as
261 mail-user-agent.
262
6d4a05e3
SM
2632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
266 parens around the arg list (bug#11499). Silly backport.
267
4f32cc6c
CY
2682012-05-16 Chong Yidong <cyd@gnu.org>
269
270 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
271
fcf2993f
CY
2722012-05-15 Chong Yidong <cyd@gnu.org>
273
27d1f87a
CY
274 * help.el (describe-mode): Doc fix.
275
fcf2993f
CY
276 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
277
6cb820ba
CY
2782012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
279
280 * progmodes/compile.el (compilation-internal-error-properties):
281 Calculate start position correctly when end-col is set but
282 end-line is not (Bug#11382).
283
d9d1dfef
SM
2842012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * net/rlogin.el (rlogin-mode-map): Fix last change.
287
8633b1f4
JW
2882012-05-09 Jason L. Wright <jason.wright@inl.gov> (tiny change)
289
290 * mail/smtpmail.el (smtpmail-send-command): Send the command and
291 the following \r\n using a single `process-send-string', since the
292 Lotus SMTP server refuses to accept any commands if they are sent
293 with two `process-send-string's (bug#11444).
294
fe263b8f
SM
2952012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * shell.el (shell-parse-pcomplete-arguments): Obey
298 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
299
1cb51c12
SM
3002012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * shell.el (shell-completion-vars): Fix last change (bug#11348).
303
18f00515
CY
3042012-05-07 Chong Yidong <cyd@gnu.org>
305
306 * ansi-color.el (ansi-color-process-output): Check for validity of
307 comint-last-output-start before using it. This avoids a bad
308 interaction with gdb-mi's input/output buffer.
309
fd075e7b
GM
3102012-05-06 Glenn Morris <rgm@gnu.org>
311
312 * files.el (dir-locals-read-from-file):
313 Mention dir-locals in any error message.
314
25f292cd
CY
3152012-05-06 Chong Yidong <cyd@gnu.org>
316
317 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
318 package (Bug#11410).
319
f677562b
CY
3202012-05-05 Chong Yidong <cyd@gnu.org>
321
322 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
323 variables into description.
324
3d53ee1b
SM
3252012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
328 shell-delimiter-argument-list (bug#11348).
329 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
330
f16e5386
CY
3312012-05-04 Chong Yidong <cyd@gnu.org>
332
333 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
334 Nextstep.
335
e59fb960
KH
3362012-05-03 Kenichi Handa <handa@m17n.org>
337
338 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
339 decoding, and show a warning message without signalling an error
340 (Bug#11282).
341
91af76bf
EZ
3422012-04-30 Eli Zaretskii <eliz@gnu.org>
343
344 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
345 the yanked message in preference to the default value of
346 buffer-file-coding-system.
347
d9558cad
MR
3482012-04-30 Martin Rudalics <rudalics@gmx.at>
349
fe263b8f
SM
350 * window.el (display-buffer--action-function-custom-type):
351 Fix entry.
d9558cad 352
09affde0
AM
3532012-04-27 Alan Mackenzie <acm@muc.de>
354
355 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
356
c5bb7569
CY
3572012-04-27 Chong Yidong <cyd@gnu.org>
358
359 * subr.el (read-key): Avoid running filter function when setting
360 up temporary tool bar entries (Bug#9922).
361
c4347ab9
AS
3622012-04-26 Andreas Schwab <schwab@linux-m68k.org>
363
364 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
365 (Bug#11344)
366
acb71f1d
CY
3672012-04-24 Chong Yidong <cyd@gnu.org>
368
369 * select.el (xselect--encode-string): New function, split from
370 xselect-convert-to-string.
371 (xselect-convert-to-string): Use it.
372 (xselect-convert-to-filename, xselect-convert-to-os)
373 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
374 returned strings are properly encoded (Bug#11315).
375
d55486c7
CY
3762012-04-22 Chong Yidong <cyd@gnu.org>
377
378 * simple.el (delete-active-region): Move to killing custom group.
379
581b6788
AS
3802012-04-21 Andreas Schwab <schwab@linux-m68k.org>
381
382 * progmodes/which-func.el (which-func-current): Quote %
383 characters for mode-line processing.
384
18edb22d
CY
3852012-04-21 Chong Yidong <cyd@gnu.org>
386
387 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
388 reaching eob (Bug#11286).
389
4b932ea2
PE
3902012-04-20 Richard Stallman <rms@gnu.org>
391
392 Fix logic for returning to and yanking from Rmail buffer.
393
394 * mail/rmail.el (rmail-start-mail):
395 Pass (rmail-mail-return...) for the return-action.
396 Pass (rmail-yank-current-message...) for the yank-action.
397 (rmail-yank-current-message): New function.
398 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
399 (rmail-reply): Likewise.
400 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
401
402 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
403 buffer, not the last. Reject temp buffers. Use the rmail-mode
404 buffer, not newbuf.
405
9ee9f470
EZ
4062012-04-20 Eli Zaretskii <eliz@gnu.org>
407
408 * progmodes/gdb-mi.el (gdb-control-level): New variable.
409 (gdb): Make it buffer-local and init to zero.
410 (gdb-control-commands-regexp): New variable.
411 (gdb-send): Don't wrap in "-interpreter-exec console" if
412 gdb-control-level is positive. Increment gdb-control-level
413 whenever the command matches gdb-control-commands-regexp, and
414 decrement it each time the command is "end". (Bug#11279)
415
41cfe0cb
MR
4162012-04-20 Martin Rudalics <rudalics@gmx.at>
417
418 * window.el (adjust-window-trailing-edge, enlarge-window)
419 (shrink-window, window-resize):
420 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
421 windows (Bug#11276).
422
54071013
DN
4232012-04-20 Dan Nicolaescu <dann@gnu.org>
424
425 * battery.el (battery-echo-area-format): Display remaining time
426 for sysfs backend too (Bug#11269).
427 (battery-linux-sysfs): Fix conditional for the charge.
428
f30d612a
CY
4292012-04-20 Chong Yidong <cyd@gnu.org>
430
431 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
432 (gdb-inferior-io--init-proc): New function.
433 (gdb-init-1): Use it.
434 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
435 responsible for allocating a new pty and hooking it to gdb when
436 the old pty gets an EIO due to process exit.
437 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
438 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
439 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
440
2116e93c
EZ
4412012-04-20 Eli Zaretskii <eliz@gnu.org>
442
443 * window.el (window-min-size, window-sizable, window-min-delta)
444 (window-max-delta, window--resizable, window-resizable)
445 (window-total-size, window-full-height-p, window-full-width-p)
446 (window-in-direction, window--resize-mini-window, window-resize)
447 (window--resize-child-windows-normal)
448 (window--resize-child-windows, window--resize-siblings)
449 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 450 (enlarge-window, shrink-window): Doc fixes.
2116e93c 451
b668fa6e
CY
4522012-04-19 Chong Yidong <cyd@gnu.org>
453
fe263b8f
SM
454 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
455 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
456 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
457 pty process (Bug#11273).
458 (gdb-update): New arg to suppress talking to the gdb process.
459 (gdb-done-or-error): Use it.
460 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
461 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
462 sentinel not being called.
463
464 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
465
d02766ab
CY
4662012-04-18 Chong Yidong <cyd@gnu.org>
467
468 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
469
016a35df
GM
4702012-04-18 Glenn Morris <rgm@gnu.org>
471
472 * net/network-stream.el (open-network-stream): Doc fix.
473
2c070447
CY
4742012-04-17 Chong Yidong <cyd@gnu.org>
475
476 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
477
f0f6bc35
AM
4782012-04-16 Alan Mackenzie <acm@muc.de>
479
480 Ensure searching for keywords is case sensitive.
481
482 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
483 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
484 (c-defun-name, c-mark-function, c-cpp-define-name)
485 (c-comment-indent, c-scan-conditionals, c-indent-defun)
486 (c-context-line-break): bind case-fold-search to nil.
487
fe263b8f
SM
488 * progmodes/cc-mode.el (c-font-lock-fontify-region):
489 bind case-fold-search to nil.
f0f6bc35 490
4fc2c72a
CY
4912012-04-16 Chong Yidong <cyd@gnu.org>
492
493 * mail/sendmail.el (mail-bury): Call return action with the right
494 Rmail buffer (Bug#11242).
495
9a864fa2
CY
4962012-04-15 Chong Yidong <cyd@gnu.org>
497
498 * server.el (server-process-filter): Handle corner case where both
499 tty and nowait options are present (Bug#11102).
500
e153c136
GM
5012012-04-15 Glenn Morris <rgm@gnu.org>
502
503 * simple.el (process-file-side-effects): Doc fix.
504
ca7d96c8
GM
5052012-04-14 Glenn Morris <rgm@gnu.org>
506
507 * international/mule-cmds.el (set-language-environment): Doc fix.
508
9c2d6a4a
SM
5092012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 Avoid the use of ((lambda ...) ...) in lexical-binding code.
512 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
513
9557e2be
CY
5142012-04-13 Kim F. Storm <storm@cua.dk>
515
516 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
517 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
518
81927dd2
CY
5192012-04-12 Chong Yidong <cyd@gnu.org>
520
521 * custom.el (custom-theme-set-variables): Doc fix.
522
8edb942b
GM
5232012-04-12 Glenn Morris <rgm@gnu.org>
524
525 * international/mule.el (set-auto-coding-for-load): Doc fix.
526
4517fe3a
SM
5272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
530 Reported by Noah Friedman. Backport from trunk.
531
0de3da9f
AM
5322012-04-11 Alan Mackenzie <acm@muc.de>
533
4517fe3a
SM
534 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
535 Make imenu work again for Objective C Mode. Correct the *-index
536 values, these having been disturbed by a previous change in 2011-08.
57f845ee 537
0de3da9f
AM
538 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
539 Correct two search limits.
540
ede141ac
SM
5412012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
544
d0203d61
AS
5452012-04-10 Andreas Schwab <schwab@linux-m68k.org>
546
547 * international/characters.el: Fix sorting.
548
cb80bcd1
EZ
5492012-04-10 Eli Zaretskii <eliz@gnu.org>
550
551 * international/characters.el: Add more missing Latin case pairs.
552
0d93216c
AS
5532012-04-10 Andreas Schwab <schwab@linux-m68k.org>
554
555 * international/characters.el: Recover lost case pairs.
556
4a427f58
GM
5572012-04-10 Glenn Morris <rgm@gnu.org>
558
559 * files.el (dir-locals-set-class-variables): Doc fix.
560
9f847f41
EZ
5612012-04-09 Eli Zaretskii <eliz@gnu.org>
562
3f1b5bf8
EZ
563 * international/characters.el: Add set-case-syntax-pair call for
564 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
565 counterpart. (Bug#11209)
566
9f847f41
EZ
567 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
568
0c2014a3
GM
5692012-04-09 Glenn Morris <rgm@gnu.org>
570
571 * calendar/holidays.el (calendar-check-holidays): Doc fix.
572
e2627d21
EZ
5732012-04-08 Eli Zaretskii <eliz@gnu.org>
574
575 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
576 Hebrew.
577
5c14e333
CY
5782012-04-08 Chong Yidong <cyd@gnu.org>
579
580 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
581 (Bug#11192).
582
bf6fa423
GM
5832012-04-07 Glenn Morris <rgm@gnu.org>
584
585 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
586
82b24fb2
EZ
5872012-04-07 Eli Zaretskii <eliz@gnu.org>
588
4517fe3a
SM
589 * minibuffer.el (completion-in-region-mode-map):
590 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 591
f23d2c7d
LMI
5922012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
593
594 * window.el (shrink-window): Mention the `window-min-height'
595 variable in the doc string.
596
0a0a3573
BG
5972012-04-05 Bastien Guerry <bzg@altern.org>
598
599 * color.el (color-lighten-name): Fix typo.
600
e5248ac9
SM
6012012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * server.el (server--on-display-p): New function.
604 (server--on-display-p): Use it.
605
b4243e22
GV
6062012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
607
608 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
609 (bug#11145).
610
305d9f44
SM
6112012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * comint.el (comint--common-quoted-suffix): Check string boundary
614 before comparing (bug#11158).
615 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
616
3d439cd1
CY
6172012-04-04 Chong Yidong <cyd@gnu.org>
618
321cc491
CY
619 * minibuffer.el (completion-extra-properties): Doc fix.
620
3d439cd1
CY
621 * subr.el (delayed-warnings-hook): Doc fix.
622
2d562c0f
DU
6232012-04-04 Daiki Ueno <ueno@unixuser.org>
624
625 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
626 selection (Bug#11159).
627 (epa-insert-keys): Inform that the default public key will be
628 exported if no key is selected.
629
4443f204
RS
6302012-04-04 Richard Stallman <rms@gnu.org>
631
632 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
633
529c06b6
CY
6342012-04-03 Chong Yidong <cyd@gnu.org>
635
636 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
637 mail-insert-file, not its obsolete alias mail-attach-file.
638
66b907dc
MA
6392012-04-03 Michael Albinus <michael.albinus@gmx.de>
640
641 * notifications.el (notifications-notify): Fix docstring.
642
c0ea195d
GM
6432012-04-02 Glenn Morris <rgm@gnu.org>
644
645 * emacs-lisp/authors.el (authors-aliases): Another addition.
646
5ca64e00
MA
6472012-04-02 Michael Albinus <michael.albinus@gmx.de>
648
649 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
650 `tramp-compat-call-process' instead of `tramp-local-call-process'.
651 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
652
42ee526b
CY
6532012-04-01 Chong Yidong <cyd@gnu.org>
654
655 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
656 Handle root directory properly.
657 (copy-directory): Caller changed.
658
659 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
660 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
661
0b021094
GM
6622012-03-31 Glenn Morris <rgm@gnu.org>
663
40f86458
GM
664 * term/xterm.el (xterm-extra-capabilities): Doc fix.
665
7019c177
GM
666 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
667
a1daddd6
GM
668 * calendar/calendar.el (calendar-window-list)
669 (calendar-hide-window): Restore. (Bug#11140)
670 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
671
0b021094
GM
672 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
673
40311efc
TV
6742012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
675
676 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
677 Check if file is a symlink (Bug#10489).
678
679 * files.el (copy-directory): Likewise.
680
5319014e
CY
6812012-03-30 Chong Yidong <cyd@gnu.org>
682
683 * image.el (imagemagick-types-inhibit)
684 (imagemagick-register-types): Doc fix.
685
935d1290
AM
6862012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
687
688 * ispell.el (ispell-get-extended-character-mode): Disable
689 extended-char-mode for hunspell. hunspell does not support it and
690 treats ~word as ordinary words in pipe mode.
691
61c6e8fd
GM
6922012-03-30 Glenn Morris <rgm@gnu.org>
693
694 * tutorial.el (help-with-tutorial): Ensure local variables don't
695 happen to make the buffer read-only. (Bug#11127)
696
81fdff00
SM
6972012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
698
699 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
700 (perl-calculate-indent): Return `noindent' in strings.
701
6e7a6ec0
SS
7022012-03-28 Sam Steingold <sds@gnu.org>
703
704 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
705 instead of the broken adhockery which does not prevent calendar
706 buffers from being displayed at random after exit.
707 (calendar-window-list, calendar-hide-window): Remove the broken
708 adhockery.
709
fee88ca0
GM
7102012-03-28 Glenn Morris <rgm@gnu.org>
711
712 * replace.el (query-replace-map): Doc fix.
713
38de3354
AS
7142012-03-28 Andreas Schwab <schwab@linux-m68k.org>
715
716 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
717 contents. (Bug#11109)
718
b973155e
SM
7192012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
722 (bug#11077).
723 (avl-tree--check, avl-tree--check-node): New funs.
724
dcb6e7b3
MR
7252012-03-27 Martin Rudalics <rudalics@gmx.at>
726
727 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
728 (switch-to-prev-buffer, switch-to-next-buffer):
729 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
730 showing a buffer already is done on the same frame.
731
b4fa35fa
GM
7322012-03-27 Glenn Morris <rgm@gnu.org>
733
734 * startup.el (mail-host-address): Doc fix.
735
f9210e18
SM
7362012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
739 than 197 variables.
740
c0bf7753
AF
7412012-03-26 Ami Fischman <ami@fischman.org>
742
743 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
744
33da7b16
GM
7452012-03-26 Glenn Morris <rgm@gnu.org>
746
02243d9d
GM
747 * files.el (save-buffers-kill-emacs): Doc fix.
748
33da7b16
GM
749 * startup.el (normal-top-level, command-line, command-line-1):
750 Give them doc strings.
751
e5a69fd0
EZ
7522012-03-25 Eli Zaretskii <eliz@gnu.org>
753
754 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 755 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 756
9a69676a
CY
7572012-03-25 Chong Yidong <cyd@gnu.org>
758
4125cb8b
CY
759 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
760 theme if it was previously enabled before (Bug#11031).
761
dd470960
CY
762 * cus-theme.el (custom-theme-write-faces): Retrieve current face
763 spec with custom-face-get-current-spec if its :shown-value is not
764 determined yet (Bug#9337).
4125cb8b 765 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 766
9a69676a
CY
767 * button.el (button-at): Minor addition to docstring.
768
6e7e90fa
SL
7692012-03-24 Simon Leinen <simon.leinen@gmail.com>
770
771 * vc/vc.el (vc-merge): Fix a prompt.
772
f06e2758
CY
7732012-03-24 Chong Yidong <cyd@gnu.org>
774
775 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
776 point (Bug#9623).
777
6e7e90fa
SL
778 * button.el (button-at): Minor addition to docstring.
779
b9d0879b
SM
7802012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * newcomment.el (comment-choose-indent): No space after BOL.
783
e71cebb3
SS
7842012-03-22 Sam Steingold <sds@gnu.org>
785
786 * window.el (switch-to-prev-buffer): Revert last patch because the
787 bug turned out to be an advertised feature (Elisp manual 28.14).
788
335aff35
GM
7892012-03-22 Glenn Morris <rgm@gnu.org>
790
791 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
792 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
793
c676576a
LMI
7942012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
795
796 * net/network-stream.el (network-stream-open-starttls): Make error
797 message under Windows be less misleading.
798
126f3d39
LW
7992012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
800
801 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
802 understands (bug#9942).
803
64fee311
CY
8042012-03-22 Chong Yidong <cyd@gnu.org>
805
806 * simple.el (end-of-visible-line): Handle return value of
807 next-single-property-change properly (Bug#9371).
808
a640d29a
KH
8092012-03-22 Kenichi Handa <handa@m17n.org>
810
811 * international/quail.el (quail-insert-kbd-layout): Fix previous
812 change. To avoid unwanted bidi reordering, use
813 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
814
39675016
DG
8152012-03-21 Dmitry Gutov <dgutov@yandex.ru>
816
817 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
818 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
819 (ruby-beginning-of-indent): Be more careful with the difference
820 between word-boundary and symbol boundary.
821 (ruby-mode-syntax-table): Make : a symbol constituent.
822
0a6934fc 8232012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 824
3d008e4f
SM
825 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
826
0a6934fc
SM
8272012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
828
af67c9d7
SM
829 * progmodes/etags.el (tags-completion-at-point-function):
830 Improve last fix.
831
1acad97c
SM
832 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
833
e298b5da
SS
8342012-03-21 Sam Steingold <sds@gnu.org>
835
836 * progmodes/etags.el (tags-completion-at-point-function):
837 Avoid the error when point is inside the pattern.
838
91d82a70
JY
8392012-03-21 John Yates <john@yates-sheets.org> (tiny change)
840
841 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
842 line (Bug#10855).
843
69188b79
CY
8442012-03-21 Drew Adams <drew.adams@oracle.com>
845
846 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
847
99fc91fe
AK
8482012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
849
850 * ido.el (ido-set-current-directory, ido-read-internal)
851 (ido-choose-completion-string, ido-completion-help): Handle nil
852 value of ido-completion-buffer (Bug#11008).
853
087bbb4c
SS
8542012-03-21 Sam Steingold <sds@gnu.org>
855
856 * window.el (switch-to-prev-buffer): Do not switch to a visible
857 window previous buffer, just like with the frame previous buffers.
858
fb5b8aca
CY
8592012-03-21 Chong Yidong <cyd@gnu.org>
860
861 * faces.el (make-face, make-empty-face, copy-face):
862 * face-remap.el (face-remap-add-relative, face-remap-set-base):
863 Doc fixes.
864
dc9924b8
SM
8652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * wid-edit.el (widget-complete-field): Remove (bug#11051).
868 (widget-complete): Remove broken use of it.
869
f0bcceb9
CY
8702012-03-20 Chong Yidong <cyd@gnu.org>
871
dc9924b8
SM
872 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
873 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
874 characters.
875
ee52ebf3
TH
8762012-03-20 Tassilo Horn <tassilo@member.fsf.org>
877
878 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
879 to draw rectangles, not squares. (Regression introduced by revno
880 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
881
4c5779ab
CY
8822012-03-18 Chong Yidong <cyd@gnu.org>
883
884 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
885 it is not yet defined (for temacs).
886
15360934
LL
8872012-03-18 Leo Liu <sdl.web@gmail.com>
888
dc9924b8 889 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 890
d9a8eb66
EZ
8912012-03-17 Eli Zaretskii <eliz@gnu.org>
892
893 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
894 (ispell-choices-win-default-height, ispell-silently-savep)
895 (ispell-dictionary-alist, ispell-encoding8-command)
896 (ispell-check-version, ispell-aspell-find-dictionary)
897 (ispell-valid-dictionary-list, ispell-words-keyword)
898 (ispell-get-word, ispell-internal-change-dictionary)
899 (ispell-region, ispell-skip-region-list)
900 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
901 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
902 (ispell-message-text-end, ispell-message)
903 (ispell-buffer-local-parsing): Doc fix.
904
f02ff80d
J
9052012-03-13 Jambunathan K <kjambunathan@gmail.com>
906
907 * htmlfontify.el: Add support for code block fontification for ODT
908 export (Bug #9914).
909 (hfy-optimisations): Define new option
910 `body-text-only'
911 (hfy-fontify-buffer): Honor above setting.
912 (hfy-begin-span, hfy-end-span): New routines factored out form
913 `hfy-fontify-buffer'.
914 (hfy-begin-span-handler, hfy-end-span-handler): New variables
915 that permit insertion of custom tags.
916 (hfy-fontify-buffer): Use above handlers.
917 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
918 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 919 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
920 over multiple runs. This is made possible by having the caller let
921 bind a special variable `hfy-user-sheet-assoc'.
922 (htmlfontify-string): New defun.
923 (hfy-compile-face-map): Make sure that the last char in the
924 buffer is correctly fontified.
925 (hfy-face-resolve-face): Whitespace only change.
926
9ac7a13f
EZ
9272012-03-17 Eli Zaretskii <eliz@gnu.org>
928
929 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
930 message more clear.
931
e2b5bdd7
LL
9322012-03-16 Leo Liu <sdl.web@gmail.com>
933
934 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
935
2e492df3
AM
9362012-03-16 Alan Mackenzie <acm@muc.de>
937
938 Further optimise the handling of large macros.
939
940 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
941 limit to a call of `c-literal-limits'.
942 (c-determine-+ve-limit): New function.
dc9924b8
SM
943 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
944 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
945 In CASE 5B, restrict a search limit to 500.
946 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
947
948 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
949 Restrict macro bounds to +-500 from after-change's BEG END.
950
50e94f0c
LL
9512012-03-16 Leo Liu <sdl.web@gmail.com>
952
953 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
954
6f09f6ed
AH
9552012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
956
957 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 958 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 959
c7e73d51
GM
9602012-03-16 Glenn Morris <rgm@gnu.org>
961
da986230
GM
962 * view.el (view-buffer, view-buffer-other-window)
963 (view-buffer-other-frame): Doc fixes re special mode-class.
964
0835f01e
GM
965 * subr.el (eval-after-load): If named feature is provided not from
966 a file, run after-load forms. (Bug#10946)
967
c7e73d51
GM
968 * calendar/calendar.el (calendar-insert-at-column):
969 Handle non-unit-width characters a bit better. (Bug#10978)
970
3f2eafd1
CY
9712012-03-15 Chong Yidong <cyd@gnu.org>
972
973 * emacs-lisp/ring.el (ring-extend): New function.
974 (ring-insert+extend): Extend the ring correctly (Bug#11019).
975
976 * comint.el (comint-read-input-ring)
977 (comint-add-to-input-history): Grow comint-input-ring lazily.
978
103af3fe
SM
9792012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
980
663b1677
SM
981 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
982 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
983
103af3fe
SM
984 * imenu.el: Fix multiple inheritance breakage (bug#9199).
985 (imenu-add-to-menubar): Don't add a redundant index.
986 (imenu-update-menubar): Handle a dynamically composed keymap.
987
899cb7cb
KY
9882012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
989
990 * mail/sendmail.el (mail-encode-header):
991 Bind rfc2047-encode-encoded-words to nil.
992
3809f91d
GM
9932012-03-13 Glenn Morris <rgm@gnu.org>
994
995 * calendar/calendar.el (calendar-string-spread):
996 Handle non-unit-width characters a bit better. (Bug#10978)
997
9e345a01
LL
9982012-03-13 Leo Liu <sdl.web@gmail.com>
999
1000 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1001 directory and file as argument (Bug#10822).
1002
4a07df36
KS
10032012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1004
1005 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1006 For dynamically generated code, follow $PC.
1007 (gdb-disassembly-handler-custom): Handle no function name case.
1008
4aaa9356
TL
10092012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1010
1011 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1012 * emulation/ws-mode.el (ws-query-replace):
1013 * sort.el (sort-regexp-fields):
1014 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1015
225979da
SM
10162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * dabbrev.el: Fix cycle completion order (bug#10963).
1019 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1020 (dabbrev-completion): Don't use an obarray; provide
1021 a cycle-sort-function.
1022
e2f1fdab
LL
10232012-03-12 Leo Liu <sdl.web@gmail.com>
1024
dc9924b8 1025 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1026 (kill-do-not-save-duplicates): Doc fix.
1027
b19490ed
SM
10282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * dabbrev.el: Fix cycle completion (bug#10963).
1031 Use lexical binding and wrap to 80 columns.
1032 (dabbrev-completion): Delay computing the list of completions.
1033
4b05d722
KH
10342012-03-12 Kenichi Handa <handa@m17n.org>
1035
1036 * international/quail.el (quail-insert-kbd-layout): Surround each
1037 row by LRO and PDF instead of inserting many LRMs. Pad the left
1038 and right of each non-spacing marks. Insert invisible space
1039 between lower and upper characters to prevent composition.
1040
dbbc2e69
SM
10412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * minibuffer.el (minibuffer-complete): Don't get confused when the
1044 function is run twice via different commands (bug#10958).
1045 (complete-with-action): Fix docstring.
1046
292112ed
CY
10472012-03-12 Chong Yidong <cyd@gnu.org>
1048
5d1ac394
CY
1049 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1050 (nxml-completion-at-point-function): New function.
1051 (nxml-mode): Use it.
1052 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1053
292112ed
CY
1054 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1055 Load generated autoloads file before byte compiling (Bug#10970).
1056 (package--make-autoloads-and-compile): New helper fun.
1057
4098f8f7
CS
10582012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1059
1060 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1061
8f754691
MA
10622012-03-11 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * autorevert.el (auto-revert-handler): Ensure, that
1065 file-readable-p is applied only for local files or in
1066 auto-revert-tail-mode.
1067
e29ab36b
AS
10682012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1069
dbbc2e69
SM
1070 * server.el (server-eval-at): Handle non-tcp connections.
1071 Decode result string.
ad0bf5b6 1072
e29ab36b
AS
1073 * server.el (server-msg-size): New constant.
1074 (server-reply-print): New function.
1075 (server-eval-and-print): Use it.
1076 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1077 Handle -print-nonl.
1078
de5939ba
CS
10792012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1080
1081 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1082 (Bug#10987).
1083
0c93eabf
CY
10842012-03-11 Chong Yidong <cyd@gnu.org>
1085
397a688f
CY
1086 * simple.el (goto-line): Doc fix (Bug#9938).
1087
2cc775f9
CY
1088 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1089
0c93eabf
CY
1090 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1091 when finished (Bug#10963).
1092
c491fa41
MR
10932012-03-11 Martin Rudalics <rudalics@gmx.at>
1094
1095 * window.el (split-window-below): Fix bug in case where
1096 split-window-keep-point is nil (Bug#10971).
1097
300e8fa5
JL
10982012-03-11 Juri Linkov <juri@jurta.org>
1099
1100 * replace.el (replace-highlight): Set isearch-word to nil
1101 unconditionally. (Bug#10887)
1102
dbf6c5a1
EZ
11032012-03-10 Eli Zaretskii <eliz@gnu.org>
1104
1105 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1106 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1107 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1108 (mairix-widget-create-query): Add usage information about mairix
1109 search forms: negating words, searching for substrings, etc.
1110
b9e501de
JP
11112012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1112
1113 * international/fontset.el (font-encoding-alist): Add an entry for
1114 ksx1001 (Bug#5667).
1115
92795c91
RS
11162012-03-10 Richard Stallman <rms@gnu.org>
1117
1694e6c1
RS
1118 * mail/sendmail.el (mail-encode-header):
1119 Set rfc2047-encode-encoded-words.
1120
607e8555
RS
1121 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1122
de3bc99a
RS
1123 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1124 view buffer means not swapped.
1125 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1126 (rmail-write-region-annotate): Error if real text has disappeared.
1127
92795c91
RS
1128 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1129
699bd04e
CY
11302012-03-10 Chong Yidong <cyd@gnu.org>
1131
1132 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1133 * emulation/cua-base.el (cua--init-keymaps):
1134 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1135
570a1714
MR
11362012-03-10 Martin Rudalics <rudalics@gmx.at>
1137
dbbc2e69
SM
1138 * speedbar.el (speedbar-unhighlight-one-tag-line):
1139 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1140
82dcf4e4
CY
11412012-03-10 Chong Yidong <cyd@gnu.org>
1142
7a2c7ca7
CY
1143 * minibuffer.el (completion-in-region, completion-help-at-point):
1144 Give the completion field overlay a high priority (Bug#6830).
1145
82dcf4e4
CY
1146 * dired.el (dired-goto-file): Recognize absolute file name
1147 listings (Bug#7126).
1148 (dired-goto-file-1): New helper function.
1149 (dired-toggle-read-only): Inhibit warnings.
1150
052e28ac
MA
11512012-03-09 Michael Albinus <michael.albinus@gmx.de>
1152
1153 * net/dbus.el: (dbus-property-handler): Return empty array if
1154 there are no properties.
1155
95d5e396
LL
11562012-03-09 Leo Liu <sdl.web@gmail.com>
1157
1158 * savehist.el (savehist-printable): Stricter check for string
1159 value (Bug#10937).
1160
3f018d6d
EZ
11612012-03-09 Eli Zaretskii <eliz@gnu.org>
1162
dbbc2e69
SM
1163 * mail/smtpmail.el (smtpmail-send-it):
1164 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1165 valid mbox format.
1166
f7fd3d79
GM
11672012-03-09 Glenn Morris <rgm@gnu.org>
1168
1169 * files.el (dir-locals-find-file):
1170 Don't check result is regular, readable.
1171 (dir-locals-read-from-file): Demote errors.
1172
6ff6e72f
EZ
11732012-03-08 Eli Zaretskii <eliz@gnu.org>
1174
dbbc2e69
SM
1175 * international/quail.el (quail-insert-kbd-layout):
1176 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1177 layout cell, to prevent their reordering by bidi display engine.
1178 For details, see the discussion in
1179 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1180
9cec7834
AM
11812012-03-08 Alan Mackenzie <acm@muc.de>
1182
1183 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1184 the starting position; make it extend the marked region when
1185 invoked repeatedly - all under appropriate circumstances.
1186 Fixes bugs #5525, #10906.
1187
9a40b8d4
GM
11882012-03-08 Glenn Morris <rgm@gnu.org>
1189
1190 * files.el (locate-dominating-file, dir-locals-find-file):
1191 Undo 2012-03-06 change.
1192
7a08ed35
EZ
11932012-03-07 Eli Zaretskii <eliz@gnu.org>
1194
dbbc2e69
SM
1195 * international/quail.el (quail-help):
1196 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1197 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1198 for the reason.
1199
5aca4f71 12002012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1201
1202 Avoid superfluous registering of signals. (Bug#10807)
1203
1204 * notifications.el (notifications-on-action-object)
1205 (notifications-on-close-object): New defvars.
1206 (notifications-on-action-signal, notifications-on-closed-signal):
1207 Unregister the signal if not needed any longer.
1208 (notifications-notify): Register `notifications-action-signal' or
1209 `notifications-closed-signal', if :on-action or :on-close has been
1210 passed as argument.
1211
78e8b10a
CY
12122012-03-07 Chong Yidong <cyd@gnu.org>
1213
1214 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1215 non-X platforms.
1216
69481eb8
GM
12172012-03-06 Glenn Morris <rgm@gnu.org>
1218
1219 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1220 (x-disown-selection-internal, x-get-selection-internal):
1221 Doc fix (add arglist signatures). (Bug#10783)
1222
133b8e11
KS
12232012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1224
1225 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1226 Handle breakpoints with no "type".
1227
99a83064
GM
12282012-03-06 Glenn Morris <rgm@gnu.org>
1229
1230 * files.el (locate-dominating-file): Add optional predicate argument.
1231 (dir-locals-find-file): Make use of above change.
1232
17798e78
TTN
12332012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1234
1235 * info.el (Info-insert-dir): Also try "dir.gz".
1236
eb182446
GM
12372012-03-06 Glenn Morris <rgm@gnu.org>
1238
8f2114ee
GM
1239 * files.el (dir-locals-find-file):
1240 Ignore non-readable or non-regular files. (Bug#10928)
1241
eb182446
GM
1242 * files.el (locate-dominating-file): Doc fix.
1243
24679323
AS
12442012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1245
1246 * calendar/calendar.el (calendar-set-mode-line):
1247 `getenv' returns a string. (Bug#10951)
1248
01d972a9
LL
12492012-03-05 Leo Liu <sdl.web@gmail.com>
1250
109aa8a9
LL
1251 * simple.el (backward-delete-char-untabify): Constrain point to
1252 field (Bug#10939).
1253
01d972a9
LL
1254 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1255
10607bea
CY
12562012-03-05 Chong Yidong <cyd@gnu.org>
1257
1258 * simple.el (count-words): If called from Lisp, return the word
1259 count, for symmetry with `count-lines'. Arglist changed.
1260 (count-words--message): Args changed. Consolidate counting code
1261 from count-words and count-words-region.
1262 (count-words-region): Caller changed.
1263 (count-lines-region): Make it an obsolete alias.
1264
5dd11cfe
TH
12652012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1266
1267 * saveplace.el (save-place-to-alist)
1268 (save-place-ignore-files-regexp): Allow value nil to disable this
1269 feature.
1270
c349f4e6
CY
12712012-03-04 Chong Yidong <cyd@gnu.org>
1272
1273 * faces.el (face-spec-reset-face): For the default face, reset the
1274 attributes to default values (Bug#10748).
1275
e627be4c
LMI
12762012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1277
1278 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1279 previous patch: Check `message-send-mail-function', and not the
1280 default function (bug#10897).
1281
ebeabff4
MA
12822012-03-04 Michael Albinus <michael.albinus@gmx.de>
1283
a41a6cf4
MA
1284 * notifications.el (notifications-on-action-signal)
1285 (notifications-on-closed-signal): Check for unique service name of
1286 incoming event. Fix error in removing entry.
ebeabff4 1287 (top): Register for signals with wildcard service name.
a41a6cf4 1288 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1289
c1ca42b4
CY
12902012-03-04 Chong Yidong <cyd@gnu.org>
1291
dc9924b8 1292 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1293
ea16568d
GM
12942012-03-04 Glenn Morris <rgm@gnu.org>
1295
1296 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1297 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1298 (expand-abbrev, define-abbrev-table): Doc fixes.
1299
fbae4637
LMI
13002012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1301
1302 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1303 `message-default-send-mail-function' and not `send-mail-function'
1304 when doing the prompting for `sendmail-query-once' before sending
1305 in Message buffers (bug#10897).
1306
a1e7225c
LMI
1307 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1308 This is inconsistent with all the other stream functions, which leave
1309 the setting up to the higher levels (if so wanted) (bug#10931).
1310
56d093a9
AM
13112012-03-02 Alan Mackenzie <acm@muc.de>
1312
1313 Depessimize the handling of very large macros.
1314
1315 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1316 (c-macro-cache-syntactic): New variables to implement a one
1317 element macro cache.
1318 (c-invalidate-macro-cache): New function.
1319 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1320 Adapt to use the new cache.
1321 (c-state-safe-place): Use better the cache of safe positions.
1322 (c-state-semi-nonlit-pos-cache)
1323 (c-state-semi-nonlit-pos-cache-limit):
1324 New variables for...
1325 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1326 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1327 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1328 Use c-state-semi-safe-place.
56d093a9 1329
dbbc2e69
SM
1330 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1331 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1332
817e5c3d
MA
13332012-03-02 Michael Albinus <michael.albinus@gmx.de>
1334
dbbc2e69
SM
1335 * jka-compr.el (jka-compr-call-process):
1336 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1337 not remote.
1338
a032a702
MA
13392012-03-01 Michael Albinus <michael.albinus@gmx.de>
1340
1341 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1342 access of FILE2, if FILE1 does not exist.
1343
99a54f21
MA
1344 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1345 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1346
1347 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1348 Add "PAGER=" to `process-environment'.
1349
f6561e1f
MM
13502012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1351
1352 * progmodes/sql.el: Bug fix
1353 (sql-get-login-ext): Save login values in globals.
1354 (sql-get-login): Use new version of `sql-get-login-ext'.
1355 (sql-interactive-mode): Set global `sql-connection' to nil.
1356 (sql-connect): Set global values for connection.
1357 (sql-product-interactive): Save global values as buffer local.
1358
2d44d9cc
LL
13592012-02-29 Leo Liu <sdl.web@gmail.com>
1360
1361 * abbrev.el (define-abbrevs): Reset sys to nil.
1362
96b49301 13632012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1364
bf7f9bc5
JB
1365 * files.el (file-equal-p): Rename from `files-equal-p'.
1366 Return nil when one or both files don't exist.
96b49301 1367 (file-subdir-of-p): Now only top directory must exists,
1368 return nil if it doesn't.
bf7f9bc5
JB
1369 (copy-directory): No need to test with `file-subdir-of-p' after
1370 creating dir.
1371 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1372 to `file-equal-p'.
96b49301 1373
44e97401
GM
13742012-02-28 Glenn Morris <rgm@gnu.org>
1375
1376 * shell.el (shell-mode):
1377 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1378 * play/landmark.el (landmark-font-lock-face-O):
1379 * play/handwrite.el (handwrite):
1380 * play/gomoku.el (gomoku-O):
1381 * net/browse-url.el (browse-url-browser-display):
1382 * international/mule.el (define-charset):
1383 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1384 * filesets.el (filesets-find-file-delay):
1385 * eshell/em-xtra.el (eshell-xtra):
1386 * eshell/em-unix.el (eshell-grep):
1387 * emulation/viper.el (viper-mode):
1388 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1389 * emacs-lisp/easymenu.el (easy-menu-define):
1390 * calendar/timeclock.el (timeclock-use-display-time):
1391 * bs.el (bs-mode):
1392 * bookmark.el (bookmark-save-flag):
1393 Doc fix (standardize possessive apostrophe usage).
1394
c98c6276
CY
13952012-02-27 Chong Yidong <cyd@gnu.org>
1396
bf7f9bc5
JB
1397 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1398 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1399
c98c6276
CY
1400 * font-lock.el (font-lock-specified-p): Rename from
1401 font-lock-spec-present. Callers changed.
1402
9c62cd04 14032012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1404
bf7f9bc5
JB
1405 * emacs-lisp/package.el (package-compute-transaction):
1406 Handle holding a package version to t in package-load-list.
8ac9e529 1407
530739c9
MA
14082012-02-26 Michael Albinus <michael.albinus@gmx.de>
1409
1410 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1411 (tramp-get-inode, tramp-get-device): Use cached values.
1412
487915d7
AM
14132012-02-26 Alan Mackenzie <acm@muc.de>
1414
1415 Check there is a font-lock specification before doing initial
1416 fontification.
1417
1418 * font-core.el (font-lock-mode): Move the conditional from
1419 :after-hook to font-lock-initial-fontify.
1420 (font-lock-default-function): Move the check for a specification
1421 to font-lock-spec-present.
1422
dc9924b8 1423 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1424 (font-lock-spec-present): New function.
1425
4fd96557
JB
14262012-02-26 Jim Blandy <jimb@red-bean.com>
1427
1428 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1429 (gdb-send): Apply it to the operand of the '-interpreter-exec
1430 console' command, so that we can pass arguments with (say) quotes
1431 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1432
9a4888c0
CY
14332012-02-26 Chong Yidong <cyd@gnu.org>
1434
07498861
CY
1435 * help-fns.el (describe-function-1): Clarify description of
1436 remapping (Bug#10844).
1437
9a4888c0
CY
1438 * files.el (files-equal-p): Doc fix.
1439 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1440 and quit the loop once a mismatch is found.
1441
ea8fb88d
JB
14422012-02-25 Juanma Barranquero <lekktu@gmail.com>
1443
1444 * bs.el (bs--show-with-configuration): Don't throw an error
1445 if the window cannot be split; otherwise, subsequent calls to
1446 bs-show fail, restoring a stale window config. (Bug#10882)
1447
525795c1
JD
14482012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1449
1450 * term/ns-win.el (global-map): Bind ns-drag-file to
1451 ns-find-file (Bug#5855, Bug#10050).
1452
f008086f
AS
14532012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1454
1455 * calendar/parse-time.el (parse-time-string): Allow extractor to
1456 return nil.
1457
a3fcfa99
MA
14582012-02-25 Michael Albinus <michael.albinus@gmx.de>
1459
91027d08
JB
1460 * net/tramp.el (tramp-file-name-for-operation):
1461 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1462
1463 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1464 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1465 Add COPY-CONTENTS argument.
a3fcfa99 1466
67b0de11
CY
14672012-02-25 Chong Yidong <cyd@gnu.org>
1468
1469 Add custom groups for VC backends, for consistency with vc-bzr.
1470
1471 * vc/vc-arch.el (vc-arch):
1472 * vc/vc-cvs.el (vc-cvs):
1473 * vc/vc-git.el (vc-git):
1474 * vc/vc-hg.el (vc-hg):
1475 * vc/vc-mtn.el (vc-mtn):
1476 * vc/vc-rcs.el (vc-rcs):
1477 * vc/vc-sccs.el (vc-sccs):
1478 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1479 All relevant defcustoms reassigned.
1480
3c9dfce6
CY
14812012-02-25 Chong Yidong <cyd@gnu.org>
1482
1339bf43
CY
1483 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1484
3c9dfce6
CY
1485 * term/x-win.el (x-initialize-window-system): Reduce default for
1486 x-selection-timeout to 5 seconds (Bug#8869).
1487
53a46cd0 14882012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1489
53a46cd0 1490 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1491
25b2e303 14922012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1493
ec70a47d
GM
1494 * files.el (files-equal-p, file-subdir-of-p): New functions.
1495 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1496 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1497 * dired-aux.el (dired-copy-file-recursive): Same.
1498 (dired-create-files): Modify destination when source is equal to
1499 dest when copying files.
53a46cd0 1500 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1501
914260cd
MA
15022012-02-24 Michael Albinus <michael.albinus@gmx.de>
1503
1504 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1505 (Bug#10874)
1506
2cb228f7
AM
15072012-02-23 Alan Mackenzie <acm@muc.de>
1508
1509 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1510 parameter "after-hook:" to allow the expansion to run code after
1511 the execution of the mode hooks.
1512
1513 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1514 from font-lock-mode-internal.
2cb228f7 1515
91027d08 1516 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1517 :after-hook.
1518
8f0fde21
SM
15192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1520
3e88618b
SM
1521 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1522 (completion--cache-all-sorted-completions): New function.
1523 (completion-all-sorted-completions): Use it.
1524 (completion--do-completion, minibuffer-force-complete):
1525 Use it to re-instate the flush hook.
1526
8f0fde21
SM
1527 * icomplete.el (icomplete-completions): Replace last fix with a better
1528 one (bug#10850).
1529
8e911f6f
DG
15302012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1531
1532 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1533 when it might call us back infinitely (bug#10797).
1534
49fe4321
GM
15352012-02-23 Glenn Morris <rgm@gnu.org>
1536
1537 * minibuffer.el (completion-category-overrides): Doc fix.
1538
b291b572
SM
15392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1542 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1543
31a9ef2e
GM
15442012-02-23 Glenn Morris <rgm@gnu.org>
1545
5e6e6794 1546 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1547 (authors-obsolete-files-regexps, authors-ignored-files)
1548 (authors-ambiguous-files, authors-renamed-files-alist):
1549 Add more entries.
1550
0bd1e074
JL
15512012-02-23 Juri Linkov <juri@jurta.org>
1552
1553 * isearch.el (isearch-occur): Sync interactive spec with occur's
1554 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1555
b617673c
JL
1556 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1557
19e9789e
JL
15582012-02-22 Juri Linkov <juri@jurta.org>
1559
1560 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1561 (ucs-insert): Doc fix. Check for hex digits in the string.
1562 Don't display `nil' in the error message. (Bug#10857)
1563
f41ce09d
AM
15642012-02-22 Alan Mackenzie <acm@muc.de>
1565
7a71b18d 1566 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1567
ac2eceee
GM
15682012-02-22 Glenn Morris <rgm@gnu.org>
1569
1570 * ffap.el (ffap-c-path):
1571 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1572
abd1f678
CY
15732012-02-22 Chong Yidong <cyd@gnu.org>
1574
1575 * custom.el (load-theme): Doc fix.
1576
f25aef2e
GM
15772012-02-22 Glenn Morris <rgm@gnu.org>
1578
1579 * dired-x.el (dired-guess-shell-alist-default):
1580 Remove escape sequences from nroff output. (Bug#172)
1581
5f8dc2ca
GM
15822012-02-21 Glenn Morris <rgm@gnu.org>
1583
6ff86ec4
GM
1584 * vc/emerge.el (emerge-defvar-local):
1585 Set `permanent-local' property rather than unused `preserved'.
1586
be3223a3 1587 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1588 (picture-mode-map): Use it. (Bug#10860)
1589 (picture-mode): Doc fix.
1590
3fe58f4f
JB
15912012-02-21 Juanma Barranquero <lekktu@gmail.com>
1592
1593 * newcomment.el (uncomment-region-default): Remove unused binding.
1594
f9a998c3
GM
15952012-02-21 Glenn Morris <rgm@gnu.org>
1596
1597 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1598 (picture-self-insert, picture-tab-chars): Doc fix.
1599 (picture-mode-map): Fix C-a, C-e.
1600
c6029348
GM
16012012-02-20 Glenn Morris <rgm@gnu.org>
1602
1603 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1604
ab1ce9d7
LL
16052012-02-20 Leo Liu <sdl.web@gmail.com>
1606
1607 * icomplete.el (icomplete-completions): Check FROM arg before
1608 passing to substring (Bug#10850).
1609
0fd40f89
CY
16102012-02-19 Chong Yidong <cyd@gnu.org>
1611
1612 * comint.el: Require ansi-color.
1613 (comint-output-filter-functions): Add ansi-color-process-output.
1614
1615 * ansi-color.el: Don't set comint-output-filter-functions; it is
1616 now in the initial value defined in comint.el.
1617 (ansi-color-apply-face-function): New variable.
1618 (ansi-color-apply-on-region): Use it.
1619 (ansi-color-apply-overlay-face): New function.
1620
1621 * shell.el (shell): No need to require ansi-color.
1622 (shell-mode): Use ansi-color-apply-face-function to highlight
1623 color escapes using font-lock-face property (Bug#10835).
1624
20af2394
CY
16252012-02-19 Chong Yidong <cyd@gnu.org>
1626
1627 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1628 mode-line formats (Bug#10839).
1629
e23a3fbe
GM
16302012-02-18 Glenn Morris <rgm@gnu.org>
1631
b474519e
GM
1632 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1633
1634 * mail/undigest.el (unforward-rmail-message): Doc fix.
1635
e23a3fbe
GM
1636 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1637
57939ff4
EZ
16382012-02-18 Eli Zaretskii <eliz@gnu.org>
1639
1640 * international/characters.el (script-list): Sync with the latest
1641 Unicode Character Database.
1642
0c23686e
AS
16432012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1644
1645 * international/titdic-cnv.el: Remove duplicate coding tag.
1646 * language/cham.el: Likewise.
1647 * language/tai-viet.el: Likewise.
1648
6818b449
GM
16492012-02-18 Glenn Morris <rgm@gnu.org>
1650
1651 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1652 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1653 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1654 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1655 * calendar/holidays.el (holiday-bahai-holidays)
1656 (calendar-holidays, list-holidays):
1657 Use utf-8 Bahá'í in doc-strings, menus, etc.
1658
0311a3fc
TH
16592012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1660
1661 * saveplace.el (save-place-ignore-files-regexp): New variable
1662 allowing for excluding files from saving their location of point.
1663 The default value matches the temporary commit message editing
1664 files from Git, SVN, Bazaar, and Mercurial.
1665 (save-place-to-alist): Use it.
1666
eb864a71
LM
16672012-02-17 Lawrence Mitchell <wence@gmx.li>
1668 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * newcomment.el (uncomment-region-default): Don't leave extra space
1671 when an arg is provided (bug#8150).
1672
ee0ce425
TZ
16732012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1674
eb864a71 1675 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1676
95ddf442
GM
16772012-02-17 Glenn Morris <rgm@gnu.org>
1678
1679 * net/socks.el: Require network-stream. (Bug#10599)
1680
48dd1e39 16812012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1682
1683 * international/charprop.el:
1684 * international/uni-name.el:
1685 * international/uni-old-name.el:
1686 * international/uni-comment.el: Regenerate.
1687
d68cd087
GM
16882012-02-16 Glenn Morris <rgm@gnu.org>
1689
1690 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1691 Interactively in calendar buffer, give an error if not on a date.
1692
13932042
GM
16932012-02-15 Glenn Morris <rgm@gnu.org>
1694
1695 * shell.el (shell-delimiter-argument-list):
1696 Revert 2011-02-17 change. (Bug#8027)
1697
c3a70e2b
CY
16982012-02-15 Chong Yidong <cyd@gnu.org>
1699
60236b0d
CY
1700 * minibuffer.el (completion-at-point-functions): Doc fix.
1701
c3a70e2b
CY
1702 * custom.el (defcustom): Doc fix; note use of defvar.
1703
9f26dc24
GM
17042012-02-15 Glenn Morris <rgm@gnu.org>
1705
1706 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1707 Doc fixes.
1708
6546b134
GM
17092012-02-14 Glenn Morris <rgm@gnu.org>
1710
1711 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1712
d29b2b4c
LI
17132012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1714
1715 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1716 way the ports list is computed.
835bdcba
LI
1717 (smtpmail-query-smtp-server): Prompt the user for a port number if
1718 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1719
08dcdbc9
TZ
17202012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1721
1722 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1723
2605051a
GM
17242012-02-13 Glenn Morris <rgm@gnu.org>
1725
1726 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1727
7ee99f32
TZ
17282012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1729
1730 * net/gnutls.el (gnutls-trustfiles): New variable.
1731 (gnutls-negotiate): Use it.
1732
5f0af64f
LI
17332012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1734
1735 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1736 does its stuff if Gnus is running.
1737
c14fcc95
AM
17382012-02-13 Alan Mackenzie <acm@muc.de>
1739
1740 Fix a loop in c-set-fl-decl-start.
1741
7a71b18d 1742 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1743 c-backward-syntactic-ws actually moves backwards.
1744
142b4d90
LL
17452012-02-13 Leo Liu <sdl.web@gmail.com>
1746
1747 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1748 beginning so that all \C-o chars are removed.
1749
fa9958a6
TZ
17502012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1751
dc9924b8 1752 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1753
0bc5886a
AM
17542012-02-12 Alan Mackenzie <acm@muc.de>
1755
1756 Fix infinite loop with long macros.
1757 * cc-engine.el (c-state-safe-place): Handle macros properly.
1758
d4bd55e7
CY
17592012-02-12 Chong Yidong <cyd@gnu.org>
1760
1761 * window.el (display-buffer): Doc fix (Bug#10785).
1762
66f3fe22
GM
17632012-02-12 Glenn Morris <rgm@gnu.org>
1764
bd7da63e
GM
1765 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1766 (x-disown-selection-internal, x-get-selection-internal):
1767 Sync docs with the xselect.c versions.
1768
66f3fe22
GM
1769 * allout-widgets.el: Add missing license notice.
1770
3e0d2fa7
GM
17712012-02-11 Glenn Morris <rgm@gnu.org>
1772
cfecdf09
GM
1773 * select.el (x-get-selection-internal, x-own-selection-internal)
1774 (x-disown-selection-internal):
1775 * x-dnd.el (x-get-selection-internal): Update declarations.
1776
6d216d7f
GM
1777 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1778
2bed3f04
GM
1779 * window.el (window-sides-slots):
1780 * tool-bar.el (tool-bar-position):
1781 * term/xterm.el (xterm-extra-capabilities):
1782 * ses.el (ses-self-reference-early-detection):
1783 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1784 (verilog-auto-wire-type)
1785 (verilog-auto-delete-trailing-whitespace)
1786 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1787 (verilog-auto-tieoff-declaration):
1788 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1789 (sql-oracle-statement-starters, sql-oracle-scan-on):
1790 * progmodes/prolog.el (prolog-align-comments-flag)
1791 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1792 (prolog-left-indent-regexp, prolog-paren-indent-p)
1793 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1794 (prolog-types, prolog-mode-specificators)
1795 (prolog-determinism-specificators, prolog-directives)
1796 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1797 (prolog-electric-dot-flag)
1798 (prolog-electric-dot-full-predicate-template)
1799 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1800 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1801 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1802 (prolog-program-switches, prolog-prompt-regexp)
1803 (prolog-debug-on-string, prolog-debug-off-string)
1804 (prolog-trace-on-string, prolog-trace-off-string)
1805 (prolog-zip-on-string, prolog-zip-off-string)
1806 (prolog-use-standard-consult-compile-method-flag)
1807 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1808 (prolog-imenu-max-lines, prolog-info-predicate-index)
1809 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1810 (prolog-char-quote-workaround):
1811 * progmodes/cc-vars.el (c-defun-tactic):
1812 * net/tramp.el (tramp-encoding-command-interactive)
1813 (tramp-local-end-of-line):
1814 * net/soap-client.el (soap-client):
1815 * net/netrc.el (netrc-file):
1816 * net/gnutls.el (gnutls):
1817 * minibuffer.el (completion-category-overrides)
1818 (completion-cycle-threshold)
1819 (completion-pcm-complete-word-inserts-delimiters):
1820 * man.el (Man-name-local-regexp):
1821 * mail/feedmail.el (feedmail-display-full-frame):
1822 * international/characters.el (glyphless-char-display-control):
1823 * eshell/em-ls.el (eshell-ls-date-format):
1824 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1825 (lisp-lambda-list-keyword-parameter-indentation)
1826 (lisp-lambda-list-keyword-parameter-alignment):
1827 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1828 * dired-x.el (dired-omit-verbose):
1829 * cus-theme.el (custom-theme-allow-multiple-selections):
1830 * calc/calc.el (calc-highlight-selections-with-faces)
1831 (calc-lu-field-reference, calc-lu-power-reference)
1832 (calc-note-threshold):
1833 * battery.el (battery-mode-line-limit):
1834 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1835 (archive-7z-update):
1836 * allout.el (allout-prefixed-keybindings)
1837 (allout-unprefixed-keybindings)
1838 (allout-inhibit-auto-fill-on-headline)
1839 (allout-flattened-numbering-abbreviation):
1840 * allout-widgets.el (allout-widgets-auto-activation)
1841 (allout-widgets-icons-dark-subdir)
1842 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1843 (allout-widgets-theme-dark-background)
1844 (allout-widgets-theme-light-background)
1845 (allout-widgets-item-image-properties-emacs)
1846 (allout-widgets-item-image-properties-xemacs)
1847 (allout-widgets-run-unit-tests-on-load)
1848 (allout-widgets-time-decoration-activity)
1849 (allout-widgets-hook-error-post-time)
1850 (allout-widgets-track-decoration):
1851 Add missing :version tags to new defcustoms and defgroups.
1852
5fec1b8e
GM
1853 * progmodes/sql.el (sql-ansi-statement-starters)
1854 (sql-oracle-statement-starters): Add custom type.
1855
3e0d2fa7
GM
1856 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1857 (prolog-system-version): Give it a type.
1858
90b671e2
EZ
18592012-02-11 Eli Zaretskii <eliz@gnu.org>
1860
1861 * term/pc-win.el (x-select-text, x-selection-owner-p)
1862 (x-own-selection-internal, x-disown-selection-internal)
1863 (x-get-selection-internal): Sync doc strings and argument lists
1864 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1865
5eac0c02
LL
18662012-02-11 Leo Liu <sdl.web@gmail.com>
1867
1868 * progmodes/python.el (python-end-of-statement): Fix infinite
1869 loop. (Bug#10788)
1870
f82cb659
GM
18712012-02-10 Glenn Morris <rgm@gnu.org>
1872
1873 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1874 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1875
cc26d239
LI
18762012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1877
1878 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1879 about SMTP before checking the From header.
1880
91027d08 1881 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1882 into own function for reuse by emacsbug.el.
1883
1be3ca5a
LL
18842012-02-10 Leo Liu <sdl.web@gmail.com>
1885
1886 * subr.el (condition-case-unless-debug): Rename from
1887 condition-case-no-debug. All callers changed.
1888 (with-demoted-errors): Fix caller.
1889
1890 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1891 * nxml/rng-valid.el (rng-do-some-validation):
1892 * emacs-lisp/package.el (package-refresh-contents)
1893 (package-menu-execute):
1894 * desktop.el (desktop-create-buffer):
91027d08 1895 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1896
b011fbfe
GM
18972012-02-10 Glenn Morris <rgm@gnu.org>
1898
b2096d72
GM
1899 * textmodes/bibtex.el:
1900 Add missing :version tags for new/changed defcustoms.
1901
b011fbfe
GM
1902 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1903
4c7e65bf
LI
19042012-02-09 Lars Ingebrigtsen <larsi@rusty>
1905
1906 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1907 (smtpmail-via-smtp): Use it, or fall back on the From address.
1908 (smtpmail-send-it): Ditto.
1909
f3934f6f
SM
19102012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1913 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1914 (byte-compile-tmp-var): New const.
1915 (byte-compile-defvar): Use it to minimize .elc size.
1916 Just use `defvar' rather than simulate it (bug#10761).
1917
a075a2c5
GM
19182012-02-09 Glenn Morris <rgm@gnu.org>
1919
cf3aa21b
GM
1920 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1921
354998cd
GM
1922 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1923 Add :version tags.
1924
dc9924b8
SM
1925 * progmodes/compile.el (compilation-error-screen-columns)
1926 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1927
dab3703d
GM
1928 * vc/log-view.el (log-view-toggle-entry-display):
1929 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1930
3f88cd72
GM
1931 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1932 (report-emacs-bug-can-use-xdg-email):
1933 (report-emacs-bug-insert-to-mailer): Doc fixes.
1934 (report-emacs-bug): Message fix.
1935
d95b247d
GM
1936 * net/browse-url.el (browse-url-can-use-xdg-open)
1937 (browse-url-xdg-open): Doc fixes.
1938
a075a2c5
GM
1939 * electric.el (electric-indent-mode, electric-pair-mode)
1940 (electric-layout-rules, electric-layout-mode): Doc fixes.
1941 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1942
ffb6157e
MR
19432012-02-08 Martin Rudalics <rudalics@gmx.at>
1944
1945 * server.el (server-unselect-display): Don't inadvertently kill
1946 the current buffer. (Bug#10729)
1947
e1ac4066
GM
19482012-02-08 Glenn Morris <rgm@gnu.org>
1949
34e8a2da
GM
1950 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1951 (sql-list-table): Doc fixes.
1952
b4ac6e8c
GM
1953 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1954 Comment out (does nothing).
1955
e1ac4066
GM
1956 * completion.el (dynamic-completion-mode):
1957 * dirtrack.el (dirtrack-debug-mode):
1958 * electric.el (electric-layout-mode):
1959 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1960 * face-remap.el (text-scale-mode, buffer-face-mode):
1961 * iimage.el (iimage-mode):
1962 * image-mode.el (image-transform-mode):
1963 * minibuffer.el (completion-in-region-mode):
1964 * scroll-lock.el (scroll-lock-mode):
1965 * simple.el (next-error-follow-minor-mode):
1966 * tar-mode.el (tar-subfile-mode):
1967 * tooltip.el (tooltip-mode):
1968 * vcursor.el (vcursor-use-vcursor-map):
1969 * wid-browse.el (widget-minor-mode):
1970 * emulation/tpu-edt.el (tpu-edt-mode):
1971 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1972 * international/iso-ascii.el (iso-ascii-mode):
1973 * language/thai-util.el (thai-word-mode):
1974 * mail/supercite.el (sc-minor-mode):
1975 * net/goto-addr.el (goto-address-mode):
1976 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1977 * progmodes/cwarn.el (cwarn-mode):
1978 * progmodes/flymake.el (flymake-mode):
1979 * progmodes/glasses.el (glasses-mode):
1980 * progmodes/hideshow.el (hs-minor-mode):
1981 * progmodes/pascal.el (pascal-outline-mode):
1982 * textmodes/enriched.el (enriched-mode):
1983 * vc/smerge-mode.el (smerge-mode):
1984 Doc fixes (minor mode argument).
1985
5e0d957f
EZ
19862012-02-07 Eli Zaretskii <eliz@gnu.org>
1987
1988 * ls-lisp.el (ls-lisp-sanitize): New function.
1989 (ls-lisp-insert-directory): Use it to fix or remove any elements
1990 in file-alist with missing attributes. (Bug#4673)
1991
98d7371e
AM
19922012-02-07 Alan Mackenzie <acm@muc.de>
1993
1994 Fix spurious recognition of c-in-knr-argdecl.
1995
1996 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1997 putative K&R region.
1998
667ced3a
AM
19992012-02-07 Alan Mackenzie <acm@muc.de>
2000
eb864a71
LM
2001 * progmodes/cc-engine.el (c-forward-objc-directive):
2002 Prevent looping in "#pragma mark @implementation".
667ced3a 2003
5b77774d
MA
20042012-02-07 Michael Albinus <michael.albinus@gmx.de>
2005
2006 * notifications.el (notifications-on-closed-signal): Make `reason'
2007 optional. (Bug#10744)
2008
af008560
GM
20092012-02-07 Glenn Morris <rgm@gnu.org>
2010
60d47423
GM
2011 * emacs-lisp/easy-mmode.el (define-minor-mode):
2012 Doc fixes for the macro and the mode it defines.
2013
dd605cc4
GM
2014 * image.el (imagemagick-types-inhibit): Doc fix.
2015
af008560
GM
2016 * cus-start.el (imagemagick-render-type): Add it.
2017
5cc59a37
LI
20182012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2019
2020 * progmodes/cc-mode.el
2021 (c-standard-font-lock-fontify-region-function): Set the default at
2022 load time, too, so that `font-lock-fontify-buffer' can be called
2023 without setting up the entire mode first. This fixes a bug in
2024 `mm-inline-text' with C MIME parts.
2025
9a6dd747
CY
20262012-02-06 Chong Yidong <cyd@gnu.org>
2027
2d16b285
CY
2028 * simple.el (list-processes--refresh): Delete exited processes
2029 (Bug#8094).
2030
171e9b6e
CY
2031 * comint.el (comint-next-prompt): next-single-char-property-change
2032 and prev-single-char-property-change never return nil (Bug#8657).
2033
9a6dd747
CY
2034 * custom.el (defcustom): Doc fix (Bug#9711).
2035
aa4589a7
CY
20362012-02-05 Chong Yidong <cyd@gnu.org>
2037
5c2a252f
CY
2038 * cus-edit.el (custom-variable-reset-backup): Quote the value
2039 before storing it in the customized-value property (Bug#6712).
4aab9006 2040 (custom-display): Add a customization type tag.
983b9602 2041 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2042
aa4589a7
CY
2043 * wid-edit.el (widget-field-value-get): New optional arg to
2044 suppress trailing whitespace truncation.
2045 (character): Use it (Bug#2689).
2046
1ff980ae
AS
20472012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2048
2049 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2050 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2051
03988c98
CY
20522012-02-05 Chong Yidong <cyd@gnu.org>
2053
eeb6cc88
CY
2054 * cus-edit.el (custom-variable-value-create): For mismatched
2055 types, show the current value (Bug#7600).
2056
03988c98
CY
2057 * custom.el (defcustom): Doc fix.
2058
f8cdeef0
GM
20592012-02-05 Glenn Morris <rgm@gnu.org>
2060
2061 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2062
0696d255
JB
20632012-02-05 Juanma Barranquero <lekktu@gmail.com>
2064
2065 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2066 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2067 (pp-last-sexp): Use `looking-at-p'.
2068
34c99998
GM
20692012-02-04 Glenn Morris <rgm@gnu.org>
2070
8f05da42
GM
2071 * files.el (revert-buffer):
2072 Doc fix (mention revert-buffer-in-progress-p).
2073
f160676e
GM
2074 * emacs-lisp/ert-x.el (ert-simulate-command):
2075 Check deferred-action-list (which is obsolete) is bound.
2076
c7291ad9
GM
2077 * subr.el (with-wrapper-hook): Doc fixes.
2078
34c99998
GM
2079 * simple.el (filter-buffer-substring-functions)
2080 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2081
6283a7d3
LL
20822012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2083
2084 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2085 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2086
e96e3013
LL
20872012-02-04 Leo Liu <sdl.web@gmail.com>
2088
2089 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2090
8ded50f2
GM
20912012-02-04 Glenn Morris <rgm@gnu.org>
2092
82ff1d13
GM
2093 * image.el (image-extension-data): Add obsolete alias.
2094
987a0a16
GM
2095 * isearch.el (isearch-update): Doc fix.
2096
ea32ef46
GM
2097 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2098
8ded50f2
GM
2099 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2100
eea14f31
GM
21012012-02-03 Glenn Morris <rgm@gnu.org>
2102
2103 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2104 (image-animate-timeout): Doc fix.
2105
2106 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2107
12f381b7
GM
21082012-02-02 Glenn Morris <rgm@gnu.org>
2109
953cebf5
GM
2110 * server.el (server-auth-dir): Doc fix.
2111 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2112
12f381b7
GM
2113 * subr.el (run-mode-hooks): Doc fix.
2114
953a8c3b
JL
21152012-02-02 Juri Linkov <juri@jurta.org>
2116
2117 * image-mode.el (image-toggle-display-image): Remove tautological
2118 `major-mode' from the `derived-mode-p' test.
2119
c5d3843c
KH
21202012-02-02 Kenichi Handa <handa@m17n.org>
2121
9f6e692e 2122 * composite.el (compose-region): Cancel previous change.
c5d3843c 2123
159462d4 21242012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2125
2126 * composite.el (compose-region, compose-string): Signal error for
2127 a null string component (Bug#6988).
2128
9f562668
CY
21292012-02-01 Chong Yidong <cyd@gnu.org>
2130
e2cef717
CY
2131 * view.el (view-buffer-other-window, view-buffer-other-frame):
2132 Handle special modes like view-buffer (Bug#10650).
2133 (view-buffer): Simplify.
2134
9f562668
CY
2135 * frame.el (set-frame-font): Tweak meaning of third argument.
2136
9f6e692e
JB
2137 * dynamic-setting.el (font-setting-change-default-font):
2138 Use set-frame-font (Bug#9982).
9f562668 2139
781acb9f
GM
21402012-02-01 Glenn Morris <rgm@gnu.org>
2141
6035be52
GM
2142 * progmodes/compile.el (compilation-internal-error-properties):
2143 Respect compilation-first-column in the "*compilation*" buffer.
2144
781acb9f
GM
2145 * emacs-lisp/easy-mmode.el (define-minor-mode):
2146 Relax :variable's test for a named function.
2147
abbceb00
AM
21482012-01-31 Alan Mackenzie <acm@muc.de>
2149
2150 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2151 off by one error.
2152
fce3fdeb
CY
21532012-01-31 Chong Yidong <cyd@gnu.org>
2154
2155 * frame.el (set-frame-font): New arg ALL-FRAMES.
2156
2157 * menu-bar.el (menu-set-font): Use set-frame-font.
2158
2159 * faces.el (face-spec-reset-face): Don't apply unspecified
2160 attribute values to the default face.
2161
47893581
JB
21622012-01-31 Juanma Barranquero <lekktu@gmail.com>
2163
2164 * progmodes/cwarn.el (cwarn): Remove dead link.
2165 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2166 Remove * from defcustom docstrings.
2167 (turn-on-cwarn-mode): Make obsolete.
2168 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2169 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2170
e58e988a
GM
21712012-01-31 Glenn Morris <rgm@gnu.org>
2172
60dc2671 2173 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2174 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2175 Allow named functions to be used as the cdr of :variable.
e58e988a 2176
7a3f511d
GM
21772012-01-30 Glenn Morris <rgm@gnu.org>
2178
2179 * emacs-lisp/authors.el (authors-fixed-entries):
2180 Remove reference to deleted file rnewspost.el.
2181
cb882333
JB
21822012-01-29 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * window.el (window-with-parameter): Remove unused variable `windows'.
2185 (window--side-check): Remove unused variable `code'.
2186 (window--resize-siblings): Remove unused variable `first'.
2187 (adjust-window-trailing-edge): Remove unused variable `failed'.
2188 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2189 Use `let', not `let*'.
2190 (balance-windows-2): Remove unused variable `found'.
2191 (window--state-put-2): Remove unused variable `splits'.
2192 (window-state-put): Remove unused variable `selected'.
2193 (same-window-p): Use `string-match-p'.
2194 (display-buffer-assq-regexp): Remove unused variable `value'.
2195 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2196 Mark argument ALIST as ignored.
2197 (pop-to-buffer): Remove unused variable `old-window'.
2198
907201af
EZ
21992012-01-29 Eli Zaretskii <eliz@gnu.org>
2200
2201 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2202 and .lzma compressed files.
2203
ea162670
CY
22042012-01-29 Chong Yidong <cyd@gnu.org>
2205
5b95ee8a
CY
2206 * frame.el (window-system-default-frame-alist): Doc fix.
2207
ea162670
CY
2208 * dynamic-setting.el (font-setting-change-default-font): Don't
2209 change the default face if SET-FONT argument is non-nil (Bug#9982).
2210
d6e6f4b1
SB
22112012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2212
2213 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2214
0f29fa41 22152012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2216
2217 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2218 breakpoints in files outside current directory (Bug#6098).
2219
db174434
CY
22202012-01-29 Chong Yidong <cyd@gnu.org>
2221
6b25e4e2
SE
2222 * progmodes/python.el: Require ansi-color at top-level.
2223
6df6ae42
JB
2224 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2225 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2226 (lisp-mode-abbrev-table): Add doc.
2227 (lisp-mode-variables): Don't set local-abbrev-table.
2228 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2229
e70ee681
RW
22302012-01-28 Roland Winkler <winkler@gnu.org>
2231
2232 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2233
ace88aa2
RW
22342012-01-28 Roland Winkler <winkler@gnu.org>
2235
2236 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2237 (bibtex-set-dialect): Use it. Either set global values of
2238 dialect-dependent variables or bind these variables buffer-locally
2239 (Bug#10254).
2240 (bibtex-mode): Call bibtex-set-dialect via
2241 hack-local-variables-hook.
eb864a71
LM
2242 (bibtex-dialect): Update docstring.
2243 Add safe-local-variable predicate.
ace88aa2
RW
2244 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2245 bibtex-set-dialect.
2246 (bibtex-mode-map): Define menu for each dialect.
2247 (bibtex-entry): Fix docstring.
2248
93376c5b
CY
22492012-01-28 Chong Yidong <cyd@gnu.org>
2250
2251 * eshell/esh-arg.el (eshell-quote-argument): New function.
2252
2253 * eshell/esh-ext.el (eshell-invoke-batch-file):
2254 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2255 first arg to eshell-parse-command (Bug#10523).
2256
4372494f
DA
22572012-01-28 Drew Adams <drew.adams@oracle.com>
2258
2259 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2260 `default-directory' is non-nil.
2261
4d4ec1f8
EZ
22622012-01-28 Eli Zaretskii <eliz@gnu.org>
2263
2264 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2265 line that displays system-configuration-options. (Bug#9924)
2266
7c188927
DA
22672012-01-28 Drew Adams <drew.adams@oracle.com>
2268
2269 * descr-text.el (describe-char): Show information about POS, in
2270 addition to information about the character at POS. Improve and
2271 update the doc string. Change "code point" to "code point in
2272 charset", to avoid confusion with the character's Unicode code
2273 point shown above that. (Bug#10129)
2274
e0da685a
EZ
22752012-01-28 Eli Zaretskii <eliz@gnu.org>
2276
2277 * descr-text.el (describe-char): Show the raw character, not only
2278 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2279 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2280 for the reasons.
2281
70550acf
PH
22822012-01-28 Phil Hagelberg <phil@hagelb.org>
2283
eb864a71
LM
2284 * emacs-lisp/package.el (package-install):
2285 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2286
0ce8e868
CY
22872012-01-28 Chong Yidong <cyd@gnu.org>
2288
cb882333
JB
2289 * emacs-lisp/package.el (package-maybe-load-descriptor):
2290 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2291 (package-maybe-load-descriptor): Use it.
2292 (package-download-transaction): Fully load required packages
2293 inside the loop, so that `require' calls work (Bug#10593).
2294 (package-install): No need to call package-initialize now.
2295
2e7f3bea
CY
22962012-01-28 Chong Yidong <cyd@gnu.org>
2297
6e9bad14
CY
2298 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2299
f823b8ca
CY
2300 * tooltip.el (tooltip-mode): Doc fix.
2301 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2302
2680c309
CY
2303 * frame.el (set-cursor-color): Doc fix (Bug#352).
2304
d7a9e63b
CY
2305 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2306 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2307
2e7f3bea
CY
2308 * cus-edit.el (custom-buffer-create-internal): Fix search button
2309 action (Bug#10542).
2ae01800 2310 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2311
fc4f7a23
EW
23122012-01-27 Eduard Wiebe <usenet@pusto.de>
2313
2314 * dired.el (dired-mark-files-regexp):
2315 Include any subdirectory components. (Bug#10445)
2316
7dd37071
ML
23172012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2318
2319 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2320 Handle [host]:port syntax. (Bug#10533)
2321
a268160b
AH
23222012-01-27 Alex Harsanyi <harsanyi@mac.com>
2323
2324 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2325
e43273ef
GM
23262012-01-26 Glenn Morris <rgm@gnu.org>
2327
2328 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2329 * term.el (term-raw-escape-map): Use Control-X-prefix.
2330 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2331
1edf595d
MR
23322012-01-25 Martin Rudalics <rudalics@gmx.at>
2333
2334 * window.el (window-state-get, window--state-get-1): Don't deal
2335 with fixed-sizeness of windows. Simplify code.
2336
fa8eafef
JC
23372012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2338
6df6ae42
JB
2339 * window.el (window--state-get-1, window--state-put-2):
2340 Don't save and restore the mark.
fa8eafef 2341
0b21c100
CY
23422012-01-25 Chong Yidong <cyd@gnu.org>
2343
2344 * custom.el (custom-variable-p): Doc fix.
2345
5ae1a6c8
GM
23462012-01-25 Glenn Morris <rgm@gnu.org>
2347
40047858
GM
2348 * dired.el (dired-goto-file): Handle some of the more common
2349 characters that `ls -b' escapes. (Bug#10596)
2350
5ddce96c
GM
2351 * progmodes/compile.el (compilation-next-error-function):
2352 Respect compilation-first-column in the "*compilation*" buffer.
2353 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2354
5ae1a6c8
GM
2355 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2356
b559f1a9
GM
23572012-01-24 Glenn Morris <rgm@gnu.org>
2358
2359 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2360
6725d21a
JD
23612012-01-24 Julien Danjou <julien@danjou.info>
2362
2363 * color.el (color-rgb-to-hsl): Fix value computing.
2364 (color-hue-to-rgb): New function.
2365 (color-hsl-to-rgb): New function.
2366 (color-clamp, color-saturate-hsl, color-saturate-name)
2367 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2368 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2369
70df4bbe
GM
23702012-01-24 Glenn Morris <rgm@gnu.org>
2371
2372 * vc/vc-rcs.el (vc-rcs-create-tag):
2373 * vc/vc-sccs.el (vc-sccs-create-tag):
2374 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2375
802a2ae2
ML
23762012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2377
2378 * eshell/esh-util.el (eshell-read-hosts-file):
2379 Skip comment lines. (Bug#10549)
2380
d7128bb1
ML
2381 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2382
d1a5c3b4
JB
23832012-01-23 Juanma Barranquero <lekktu@gmail.com>
2384
2724d9c7
JB
2385 * subr.el (display-delayed-warnings): Doc fix.
2386 (collapse-delayed-warnings): New function to collapse identical
2387 adjacent warnings.
2388 (delayed-warnings-hook): Add it.
d1a5c3b4 2389
a5509865
MA
23902012-01-22 Michael Albinus <michael.albinus@gmx.de>
2391
2392 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2393
2394 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2395 properties, when "login-as" is set.
2396
2397 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2398 (tramp-default-user-alist): Don't add "pscp".
2399 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2400 property "login-as", if set. (Bug#10530)
2401
cc6d5805
MA
24022012-01-21 Michael Albinus <michael.albinus@gmx.de>
2403
2404 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2405 "plink1" and "psftp". (Bug#10530)
2406
24072012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2408
2409 * international/mule-cmds.el (prefer-coding-system): Show a
2410 warning message if the default value of file-name-coding-system
2411 was not changed.
2412
f0960428
JC
24132012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2414
cb882333
JB
2415 * windmove.el (windmove-reference-loc):
2416 Fix windmove-reference-loc miscalculation.
f0960428 2417
dd6f2a63
JB
24182012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2419
2420 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2421 default unit.
2422
7b447e9b
GM
24232012-01-21 Glenn Morris <rgm@gnu.org>
2424
117a9ea1
GM
2425 * international/mule.el (auto-coding-alist): Add .tbz.
2426
7b447e9b
GM
2427 * files.el (local-enable-local-variables): Doc fix.
2428 (inhibit-local-variables-regexps): Rename from
2429 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2430 Doc fix. Add some extensions from auto-coding-alist.
2431 (inhibit-local-variables-suffixes):
2432 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2433 (inhibit-local-variables-p):
2434 New function, extracted from set-auto-mode-1.
2435 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2436 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2437 (hack-local-variables): Doc fix. Make the mode-only case
2438 respect enable-local-variables and friends.
2439 Respect inhibit-local-variables-regexps for file-locals, but
2440 not for directory-locals.
2441 (set-visited-file-name):
2442 Take account of inhibit-local-variables-regexps.
2443 Whether it applies may change as the file name is changed.
2444 * jka-cmpr-hook.el (jka-compr-install):
2445 * jka-compr.el (jka-compr-uninstall):
2446 Update for inhibit-first-line-modes-suffixes name change.
2447
dd6e3cdd
MR
24482012-01-20 Martin Rudalics <rudalics@gmx.at>
2449
2450 * help-macro.el (make-help-screen): Temporarily restore original
2451 binding for minor-mode-map-alist (Bug#10454).
2452
0d0deb38
JD
24532012-01-19 Julien Danjou <julien@danjou.info>
2454
2455 * color.el (color-name-to-rgb): Use the white color to find the max
2456 color component value and return correctly computed values.
2457 (color-name-to-rgb): Add missing float conversion for max value.
2458
34a02f46
MR
24592012-01-19 Martin Rudalics <rudalics@gmx.at>
2460
2461 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2462 special state value for window-persistent-parameters.
2463 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2464 (window--state-put-2): Reset all window parameters to nil before
2465 assigning values of persistent parameters.
2466
606c44c4
AM
24672012-01-18 Alan Mackenzie <acm@muc.de>
2468
2469 Eliminate sluggishness and hangs in fontification of "semicolon
2470 deserts".
2471
cb882333
JB
2472 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2473 Change value 10000 -> 3000.
606c44c4
AM
2474 (c-state-safe-place): Reformulate so it doesn't stack up an
2475 infinite number of wrong entries in c-state-nonlit-pos-cache.
2476 (c-determine-limit-get-base, c-determine-limit): New functions to
2477 determine backward search limits disregarding literals.
2478 (c-find-decl-spots): Amend commenting.
2479 (c-cheap-inside-bracelist-p): New function which detects "={".
2480
2481 * progmodes/cc-fonts.el
2482 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2483 backward search.
2484 (c-font-lock-declarations): Fix an occurrence of point being
2485 undefined. Check additionally for point being in a bracelist or
2486 near a macro invocation without a semicolon so as to avoid a
2487 fruitless time consuming search for a declarator. Give a more
2488 precise search limit for declarators using the new
2489 c-determine-limit.
2490
f3860cea
GM
24912012-01-18 Glenn Morris <rgm@gnu.org>
2492
2493 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2494 (set-auto-mode): Doc fixes.
2495
1db03b16
GM
24962012-01-17 Glenn Morris <rgm@gnu.org>
2497
0e6038be
GM
2498 * isearch.el (search-nonincremental-instead): Fix doc typo.
2499
1db03b16
GM
2500 * dired.el (dired-insert-directory): Handle newlines in directory name.
2501 (dired-build-subdir-alist): Unescape newlines in directory name.
2502
4cb0aa75
MA
25032012-01-17 Michael Albinus <michael.albinus@gmx.de>
2504
2505 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2506 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2507 (tramp-action-terminal): Use it. (Bug#10530)
2508
1d00653d
SM
25092012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2512
6a6ee00d
MR
25132012-01-16 Martin Rudalics <rudalics@gmx.at>
2514
2515 * window.el (window-state-ignored-parameters): Remove variable.
2516 (window--state-get-1): Rename argument MARKERS to IGNORE.
2517 Handle persistent window parameters. Make copy of clone-of
2518 parameter only if requested. (Bug#10348)
2519 (window--state-put-2): Install a window parameter only if it has
2520 a non-nil value or an existing parameter shall be overwritten.
2521
97912def
MA
25222012-01-15 Michael Albinus <michael.albinus@gmx.de>
2523
2524 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2525
688070a5
EZ
25262012-01-14 Eli Zaretskii <eliz@gnu.org>
2527
2528 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2529 don't pass the (nil) value of `upnode' to string-match.
2530
301afadc
CY
25312012-01-14 Chong Yidong <cyd@gnu.org>
2532
2533 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2534 Fix values recognized by the cursorBlink resource.
301afadc 2535
9e5788aa
PE
25362012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2537
2538 * epg.el (epg--make-temp-file): Avoid permission race condition
2539 when running on old Emacs versions (bug#10403).
2540
3cdb7f5a
GM
25412012-01-14 Glenn Morris <rgm@gnu.org>
2542
2543 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2544
8c82b1b4
AM
25452012-01-13 Alan Mackenzie <acm@muc.de>
2546
2547 Fix filling for when filladapt mode is enabled.
2548
2549 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2550 c-mask-paragraph, pass in `fill-paragraph' rather than
2551 `fill-region-as-paragraph'. (This is a reversion of a previous
2552 change.)
eb864a71
LM
2553 * progmodes/cc-mode.el (c-basic-common-init):
2554 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2555
e517eda4
GM
25562012-01-13 Glenn Morris <rgm@gnu.org>
2557
1498536e
GM
2558 * dired.el (dired-switches-escape-p): New function.
2559 (dired-insert-directory): Use dired-switches-escape-p.
2560 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2561
e517eda4
GM
2562 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2563
328f984d
GM
25642012-01-12 Glenn Morris <rgm@gnu.org>
2565
2566 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2567 changes in adaptive-fill-regexp. (Bug#10276)
2568
2cc769a8
AM
25692012-01-11 Alan Mackenzie <acm@muc.de>
2570
2571 Fix Emacs bug #10463 - put `widen's around the critical spots.
2572
1d00653d 2573 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2574 widen around each invocation of c-state-pp-to-literal. Remove an
2575 unused let variable.
2576
e52c37fa
GM
25772012-01-11 Glenn Morris <rgm@gnu.org>
2578
2579 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2580 Doc fix.
e52c37fa 2581
96f8741e
CY
25822012-01-10 Chong Yidong <cyd@gnu.org>
2583
1d00653d
SM
2584 * net/network-stream.el (network-stream-open-starttls):
2585 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2586 response to the capability command.
2587
b09a806e
GM
25882012-01-10 Glenn Morris <rgm@gnu.org>
2589
2590 * mail/unrmail.el (unrmail): Tweak previous change.
2591
7655cb66
CY
25922012-01-09 Chong Yidong <cyd@gnu.org>
2593
2594 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2595
9d5a8f0b
AM
25962012-01-08 Alan Mackenzie <acm@muc.de>
2597
2598 Optimise font locking in long enum definitions.
2599
2600 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2601 arm to a cond form to handle enums.
2602 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2603 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2604
9a0115ab 26052012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2606
2607 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2608 (Bug#10401)
6bb72cbd 2609
f186bb95
LMI
26102012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2611
29232a68
LMI
2612 * faces.el (set-face-attribute): Clarify the meaning of the nil
2613 frame (bug#10294).
2614
4e5d086d
LMI
2615 * subr.el (with-selected-frame): Mention that the selected frame
2616 is restored (bug#9980).
2617
8e66aebe
LMI
2618 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2619 (bug#9759).
2620
cd394be1 2621 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2622 (password-read): Don't autoload unused function.
2623
adf4e762
JB
26242012-01-07 Juanma Barranquero <lekktu@gmail.com>
2625
2626 * progmodes/which-func.el (which-func-mode): Turn into a
2627 non-interactive function and mark as obsolete (bug#10428).
2628
89bd9ccd
CY
26292012-01-06 Chong Yidong <cyd@gnu.org>
2630
2631 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2632 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2633 functions, along with 1 and -1.
2634
4afee9d5
EZ
26352012-01-06 Eli Zaretskii <eliz@gnu.org>
2636
2637 * time.el (display-time-load-average)
2638 (display-time-default-load-average): Doc fixes. See the thread
2639 starting at
2640 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2641 for the details.
2642
536aea70
GM
26432012-01-06 Glenn Morris <rgm@gnu.org>
2644
665ae865
GM
2645 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2646 has no messages. (Bug#10377)
2647
c869783d
GM
2648 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2649 than Info-edit. (Bug#10385)
2650
2bb4227e
GM
2651 * time.el (display-time-load-average, display-time-next-load-average):
2652 Doc fixes.
2653
7d5944b9
GM
2654 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2655 local setting of buffer-read-only to the input buffer. (Bug#10419)
2656
536aea70
GM
2657 * calendar/calendar.el (calendar-mode):
2658 Locally set scroll-margin to 0. (Bug#10379)
2659
7dccca16
UM
26602012-01-06 Ulrich Mueller <ulm@gentoo.org>
2661
2662 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2663
afbb7930
GM
26642012-01-05 Glenn Morris <rgm@gnu.org>
2665
2666 * eshell/em-unix.el (diff-no-select): Autoload it.
2667 (eshell/diff): Use diff-no-select. (Bug#10420)
2668
04482335
CY
26692012-01-05 Chong Yidong <cyd@gnu.org>
2670
7baca3bc
CY
2671 * shell.el (shell-dynamic-complete-functions): Revert last change.
2672 (shell-command-completion-function): New function.
2673 (shell-completion-vars): Use it to implement
2674 shell-completion-execonly (Bug#10417).
2675
04482335
CY
2676 * custom.el (enable-theme): Don't set custom-safe-themes.
2677
1d00653d
SM
2678 * cus-theme.el (custom-theme-merge-theme):
2679 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2680
bb5aa5d6
MM
26812012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2682
2683 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2684 first prompt in `sql-interacive-mode'.
2685 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2686 keywords.
6df6ae42 2687 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2688 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2689 context of original buffer. Invoke `sql-login-hook'.
2690
a7183d7c
EZ
26912012-01-04 Eli Zaretskii <eliz@gnu.org>
2692
2693 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2694 letters in cite-prefix.
2695
a1eacd1e
LMI
26962012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2697
2698 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2699
787cdb34
CY
27002012-01-03 Chong Yidong <cyd@gnu.org>
2701
1d00653d
SM
2702 * shell.el (shell-dynamic-complete-functions):
2703 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2704 comint-filename-completion first (Bug#10417).
2705
30710442
RS
27062012-01-02 Richard Stallman <rms@gnu.org>
2707
2708 * battery.el (battery-status-function):
2709 Detect when to use battery-yeeloong-sysfs.
2710 (battery-echo-area-format): Add string for Yeeloong.
2711 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2712 (battery-yeeloong-sysfs): New function.
2713
f75bfc33
CY
27142012-01-02 Chong Yidong <cyd@gnu.org>
2715
2716 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2717 (dirtrack): Merge code for handling relative filenames in prompt
2718 from shell-dir-cookie-watcher.
2719 (dirtrack-debug-message): New arg to avoid excess format calls.
2720
2721 * shell.el (shell-dir-cookie-re): Variable deleted.
2722 (shell-dir-cookie-watcher): Function deleted.
2723 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2724 with dirtrack-mode.
2725
651e947e
EZ
27262012-01-01 Eli Zaretskii <eliz@gnu.org>
2727
1d00653d
SM
2728 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2729 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2730 libgnutls-26.dll.
2731
94d4c7dc
AS
27322011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2733
2734 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2735
8d43f3cd
EZ
27362011-12-31 Eli Zaretskii <eliz@gnu.org>
2737
2738 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2739 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2740
98c8795a
MA
27412011-12-29 Michael Albinus <michael.albinus@gmx.de>
2742
2743 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2744 also for alternative shells.
2745 (tramp-open-connection-setup-interactive-shell): Check, whether
2746 the shell is a busybox.
2747 (tramp-send-command): Don't suppress multiple prompts for
2748 busyboxes, it hurts.
2749
51281b32
CY
27502011-12-28 Chong Yidong <cyd@gnu.org>
2751
2752 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2753 (gdb-get-source-file): Move mode line update to
2754 gdb-get-source-file (Bug#10087).
2755
2170cb53
CY
27562011-12-25 Chong Yidong <cyd@gnu.org>
2757
2758 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2759 gud-gdb-marker-filter without taking it as an argument.
2760 (gud-gdb-run-command-fetch-lines): Caller changed.
2761 (gud-gdb-completion-function): New variable.
2762 (gud-gdb-completion-at-point): Use it.
2763 (gud-gdb-completions-1): Split from gud-gdb-completions.
2764
2765 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2766 function as separate arguments.
2767 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2768 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2769 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2770 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2771 (gdb-stopped, def-gdb-auto-update-trigger)
2772 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2773 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2774 Callers changed.
2170cb53
CY
2775 (gud-gdbmi-completions): New function.
2776 (gdb): Use it for generating the completion table.
2777
be8b11bb
AM
27782011-12-24 Alan Mackenzie <acm@muc.de>
2779
2780 Introduce a mechanism to widen the region used in context font
1d00653d 2781 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2782
1d00653d
SM
2783 * progmodes/cc-langs.el (c-before-font-lock-functions):
2784 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2785 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2786 functions to be run just before context (etc.) font locking.
2787
2788 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2789 New, functionality extracted from
be8b11bb 2790 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2791 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2792 (c-after-change): Set c-in-after-change-fontification.
2793 (c-set-fl-decl-start): Rejig its interface, so it can be called
2794 from both after-change and context fontifying.
b81d40f0
JB
2795 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2796 New functions.
2797 (c-standard-font-lock-fontify-region-function): New variable.
2798 (c-font-lock-fontify-region): New function.
be8b11bb 2799
341cf6ac
JL
28002011-12-24 Juri Linkov <juri@jurta.org>
2801
2802 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2803 (Bug#10348)
2804
bffcee0a
MA
28052011-12-23 Michael Albinus <michael.albinus@gmx.de>
2806
2807 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2808 existence of source file. (Bug#10325)
2809
cb5e207c
AM
28102011-12-23 Alan Mackenzie <acm@muc.de>
2811
2812 Fix unstable fontification inside templates.
2813
b81d40f0
JB
2814 * progmodes/cc-langs.el (c-before-font-lock-functions):
2815 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2816 additionally has c-set-fl-decl-start. The other languages (apart
2817 from AWK) have that as a single entry.
2818
b81d40f0
JB
2819 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2820 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2821 c-set-fl-decl-start.
2822
b81d40f0
JB
2823 * progmodes/cc-mode.el (c-common-init, c-after-change):
2824 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2825 (c-set-fl-decl-start): New function, extracted from
2826 c-font-lock-enclosing-decls and enhanced.
2827
60ff536c
JB
28282011-12-23 Juanma Barranquero <lekktu@gmail.com>
2829
2830 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2831
1c4757d6
JL
28322011-12-22 Juri Linkov <juri@jurta.org>
2833
2834 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2835
d031f2c7
CY
28362011-12-22 Chong Yidong <cyd@gnu.org>
2837
2838 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2839
bace743a
DA
28402011-12-21 Drew Adams <drew.adams@oracle.com>
2841
2842 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2843
728a1f2b
JC
28442011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2845
2846 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2847
0d373f73
TZ
28482011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2849
fec0aaa4
TZ
2850 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2851 highlighting and support. Fix up comments for capitalization.
2852 (cfengine-mode-debug): New var.
2853 (cfengine3-mode): Change the modeline indicator to "CFE3".
2854 (cfengine3-font-lock-keywords): Improve defun highlighting.
2855 (cfengine2-actions): Rename from `cfengine-actions'.
2856 (cfengine2-font-lock-keywords): Rename from
2857 `cfengine-font-lock-keywords'.
2858 (cfengine2-imenu-expression): Rename from
2859 `cfengine-imenu-expression'.
2860 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2861 (cfengine2-beginning-of-defun): Rename from
2862 `cfengine-beginning-of-defun'.
2863 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2864 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2865 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2866 modeline indicator to "CFE2".
2867 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2868 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2869
bc86f573
CY
28702011-12-21 Chong Yidong <cyd@gnu.org>
2871
2872 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2873 filename argument.
2874
d45ba96b
MR
28752011-12-20 Martin Rudalics <rudalics@gmx.at>
2876
2877 * window.el (window-normalize-buffer-to-display): Remove.
2878 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2879
a6198c90
CY
28802011-12-19 Chong Yidong <cyd@gnu.org>
2881
2882 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2883 Don't signal an error in a predicate function; return non-nil.
2884 (vc-dir-mark-file): Move the error here.
2885 (vc-dir-mark-unmark): If acting on the region, keep going if one
2886 of the entries cannot be marked/unmarked.
2887 (vc-dir-mark-all-files): If current entry is a directory, mark
2888 only child files, as documented.
2889
34c5fb55
VB
28902011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2891
2892 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2893 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2894 addition.
2895
c803b2b7
JD
28962011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2897
2898 * term/ns-win.el (ns-get-selection-internal)
2899 (ns-store-selection-internal): Declare.
1154d12e
JB
2900 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2901 Declare as obsolete.
2902 (ns-get-pasteboard, ns-paste-secondary):
2903 Use ns-get-selection-internal.
2904 (ns-set-pasteboard, ns-copy-including-secondary):
2905 Use ns-store-selection-internal.
c803b2b7 2906
9cff91f8 29072011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2908
2909 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2910 (vc-deduce-fileset): Doc fix.
99a289d9 2911
f16c898a
AS
29122011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2913
2914 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2915
763237c4
SS
29162011-12-13 Sam Steingold <sds@gnu.org>
2917
2918 * man.el (Man-getpage-in-background): When running under a
2919 window-system, ignore $MANWIDTH and $COLUMNS.
2920
5fc1c122
KH
29212011-12-15 Kenichi Handa <handa@m17n.org>
2922
2923 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2924 (setup-ethiopic-environment-internal): Comment out key-binding for
2925 ethio-toggle-punctuation.
2926
13d49cbb
AM
29272011-12-13 Alan Mackenzie <acm@muc.de>
2928
898169a2
AM
2929 Add the switch statement to AWK Mode.
2930
7a71b18d 2931 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2932 "default" to the keywords regexp.
2933
7a71b18d 2934 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2935 expression as the rest.
1d00653d
SM
2936 (c-nonlabel-token-key): Allow string literals for AWK.
2937 Refactor for the other modes.
898169a2 2938
13d49cbb 2939 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2940 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2941 routines. Limit backward searching in c-font-lock-enclosing.decl.
2942
2943 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2944 pp-state and literal type in addition to the limits.
1d00653d 2945 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2946 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2947 (c-slow-in-literal, c-fast-in-literal): Remove.
2948 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2949
2950 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2951 being in a literal. Add a limit for backward searching.
2952
2953 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2954 c-slow-in-literal.
2955
15e0efc7
SM
29562011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2959
454592a6
MR
29602011-12-13 Martin Rudalics <rudalics@gmx.at>
2961
2962 * window.el (delete-other-windows): Use correct frame in call to
2963 window-with-parameter.
2964
87393f26
DP
29652011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2966
2967 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2968 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2969 (makefile-gmake-statements, makefile-makepp-statements):
2970 Use it and add new makepp keywords.
2971 (makefile-makepp-font-lock-keywords): Add new patterns.
2972 (makefile-match-function-end): Match new [...] and [[...]].
2973
11636b22
JB
29742011-12-11 Juanma Barranquero <lekktu@gmail.com>
2975
2976 * ses.el (ses-call-printer-return, ses-cell-property-get)
2977 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2978 (ses-create-cell-variable, ses-reset-header-string)
2979 (ses-cell-set-formula, ses-repair-cell-reference-all)
2980 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2981 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2982 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2983 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2984 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2985 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2986 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2987 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2988 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2989 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2990 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2991 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2992
cf018193
VB
29932011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2994
2995 * ses.el: The overall change is to add cell renaming, that is
2996 setting fancy names for cell symbols other than name matching
2997 "\\`[A-Z]+[0-9]+\\'" regexp .
2998 (ses-create-cell-variable): New defun.
2999 (ses-relocate-formula): Relocate formulas only for cells the
3000 symbols of which are not renamed, i.e. symbols whose names do not
3001 match regexp "\\`[A-Z]+[0-9]+\\'".
3002 (ses-relocate-all): Relocate values only for cells the symbols of
3003 which are not renamed.
3004 (ses-load): Create cells variables as the (ses-cell ...) are read,
3005 in order to check row col consistency with cell symbol name only
3006 for cells that are not renamed.
3007 (ses-replace-name-in-formula): New defun.
3008 (ses-rename-cell): New defun.
3009
ee957461
CY
30102011-12-11 Chong Yidong <cyd@gnu.org>
3011
3012 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3013 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3014
9a9e9ef0
MR
30152011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3016
3017 * window.el (other-window): Fix docstring.
3018
92a8eba5
EZ
30192011-12-10 Eli Zaretskii <eliz@gnu.org>
3020
3021 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3022 `from' or `to' address before taking its substring.
3023 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3024 encoded name is chopped in the middle of the encoded string, and
3025 thus displayed encoded.
3026
e152e577
JB
30272011-12-10 Juanma Barranquero <lekktu@gmail.com>
3028
3029 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3030
e5d84bfe
EZ
30312011-12-10 Eli Zaretskii <eliz@gnu.org>
3032
3033 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3034 to use texinfo-update-node and commands that call it if the
3035 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3036 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3037 (texinfo-all-menus-update, texinfo-master-menu)
3038 (texinfo-update-node, texinfo-every-node-update)
3039 (texinfo-multiple-files-update): Doc fix. Warn against updating
3040 all the @node lines.
3041 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3042 argument is numeric. Explain better in the doc string what the
3043 function really does.
3044 (texinfo-insert-master-menu-list): Improve the error message
3045 displayed if there's no menu in the Top node.
3046 (Bug#2975) See also this thread:
e5d84bfe
EZ
3047 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3048
1d84e9bb
MG
30492011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3050
3051 * speedbar.el (speedbar-supported-extension-expressions):
3052 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3053
382c953b
JB
30542011-12-09 Juanma Barranquero <lekktu@gmail.com>
3055
3056 * printing.el (pr-mode-alist):
3057 * simple.el (filter-buffer-substring-functions)
3058 (completion-list-insert-choice-function):
3059 * window.el (window-with-parameter, window-atom-root)
3060 (window-sides-slots, window-size-fixed, window-min-delta)
3061 (window-max-delta, window--resize-mini-window)
3062 (window--resize-child-windows-normal, window-tree)
3063 (delete-other-windows, quit-window, split-window)
3064 (display-buffer-record-window, special-display-buffer-names)
3065 (special-display-regexps, special-display-popup-frame)
3066 (same-window-p, split-window-sensibly)
3067 (display-buffer-overriding-action, display-buffer-alist)
3068 (display-buffer-base-action, display-buffer, switch-to-buffer)
3069 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3070 (fit-window-to-buffer, recenter-positions)
3071 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3072 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3073 and remove unneeded backslashes in docstrings.
3074
39c9faef
SM
30752011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3076
98449af8
SM
3077 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3078
39c9faef
SM
3079 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3080 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3081 end in ".mk".
3082 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3083 when reading the makefile (bug#10116).
3084
86ed9fdc
SM
30852011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3088 (bug#10116).
3089
5580f89d
GM
30902011-12-06 Glenn Morris <rgm@gnu.org>
3091
3092 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3093
28d3917c
CY
30942011-12-06 Chong Yidong <cyd@gnu.org>
3095
3096 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3097
a98edce9
JB
30982011-12-06 Juanma Barranquero <lekktu@gmail.com>
3099
3100 * textmodes/table.el (table-shorten-cell): Fix typo.
3101
e65adfac
CG
31022011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3103
3104 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3105
71cc0b74
EZ
31062011-12-05 Eli Zaretskii <eliz@gnu.org>
3107
3108 * descr-text.el (describe-char): Fix display of strong
3109 right-to-left characters and directional embeddings and overrides.
3110
3111 * simple.el (what-cursor-position): Fix display of codepoints of
3112 strong right-to-left characters.
3113
315bc30d
CY
31142011-12-05 Chong Yidong <cyd@gnu.org>
3115
3116 * faces.el (read-color): Doc fix.
3117
58a70b94
GM
31182011-12-05 Glenn Morris <rgm@gnu.org>
3119
3120 * align.el (align--set-marker): Add doc-string.
3121 Don't try to move something that is not a marker. (Bug#10216)
3122
5158face
GM
31232011-12-04 Glenn Morris <rgm@gnu.org>
3124
3125 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3126 overly zealous deletion of trailing whitespace.
3127
520fca41
JB
31282011-12-04 Juanma Barranquero <lekktu@gmail.com>
3129
3130 * server.el (server-delete-client): On Windows, do not try to delete
3131 the only terminal.
3132 (server-process-filter): On Windows, treat requests for a tty frame as
3133 if they were for a GUI frame if the running server is in GUI mode.
3134
5e605a2e
GM
31352011-12-03 Glenn Morris <rgm@gnu.org>
3136
3137 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3138
5c3fe83f
SM
31392011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3140
6f5e57e7
SM
3141 * electric.el: Streamline electric-indent's hook.
3142 (electric-indent-chars): Revert to simple list.
3143 (electric-indent-functions): New var.
3144 (electric-indent-post-self-insert-function): Use it.
3145
5c3fe83f
SM
3146 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3147 there's no inferior buffer (bug#10196).
3148 (prolog-consult-compile): Don't use toggle-read-only.
3149
6bdac736
MA
31502011-12-02 Michael Albinus <michael.albinus@gmx.de>
3151
3152 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3153 interrupt. (Bug#10187)
3154
6131ba7f
SM
31552011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3156
99c79fee
SM
3157 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3158 (bug#9160).
3159
6131ba7f
SM
3160 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3161 (bug#10191).
3162
cb0a02ea
JL
31632011-12-02 Juri Linkov <juri@jurta.org>
3164
3165 * info.el (Info-search): Display "end of manual" when Isearch
3166 reaches the end of single-file Info manual. (Bug#9918)
3167
66e0570c
EZ
31682011-12-02 Eli Zaretskii <eliz@gnu.org>
3169
3170 * isearch.el (isearch-message-prefix): Run the input method part
3171 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3172
02b16839
JL
31732011-12-02 Juri Linkov <juri@jurta.org>
3174
3175 * isearch.el (isearch-occur): Use `word-search-regexp' for
3176 `isearch-word'.
3177 (isearch-search-and-update): Add condition for `isearch-word' and
3178 call `word-search-regexp'. (Bug#10145)
3179
0b950688
GM
31802011-12-01 Glenn Morris <rgm@gnu.org>
3181
3182 * eshell/em-hist.el (eshell-hist-initialize):
3183 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3184 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3185
9505c3c7
SM
31862011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3189
1bbe96b2 31902011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3191
a1beca85
SM
3192 * progmodes/verilog-mode.el (verilog-pretty-expr):
3193 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3194 verilog, such as += *= and the like.
3195 (verilog-assignment-operator-re): Regular expression to find the
3196 assigment operator in a verilog assignment.
3197 (verilog-assignment-operation-re): Regular expression to find an
3198 assignment statement for pretty-expr.
3199 (verilog-in-attribute-p): Query returns true if point is in an
3200 attribute context; used to skip these for expression line up from
3201 pretty-expr.
3202 (verilog-in-parameter-p): Query returns true if point is in an
3203 parameter definition context; used to skip these for expression
3204 line up from pretty-expr.
3205 (verilog-in-parenthesis-p): Query returns true if point is in a
3206 parenthetical expression, specifically ( ) but not [ ] or { };
3207 used by pretty-expr.
3208 (verilog-just-one-space): If there is no space, don't add one.
3209 (verilog-get-lineup-indent-2): Specifically skip just attribute
3210 contexts for expression lineup, rather than skipping all
3211 parenthetical expressions.
3212 (verilog-calculate-indent): Fix comment, and fix indent.
3213 (verilog-do-indent): Indent declarations in lists (suggested by
3214 Joachim Lechner).
3215 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3216 skeleton items.
3217 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3218 by Alain Mellan).
3219
1bbe96b2 32202011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3221
3222 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3223 parameters with embedded comments. Reported by Ray Stevens.
3224 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3225 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3226 Reported by Tim Holt.
3227 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3228 instantiated by upper module causing wrong expansion until AUTOed a
3229 second time. Reported by K C Buckenmaier.
3230 (verilog-diff-auto): Fix showing .* as a difference when
3231 `verilog-auto-star-save' off. Reported by Dan Dever.
3232 (verilog-auto-reset, verilog-read-always-signals)
3233 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3234 temporary signals in reset list if
3235 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3236 style to each signal's assignment type, bug381.
3237 Reported by Thomas Esposito.
6288f0ca
WS
3238 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3239 (verilog-uvm-statement-re): Support UVM indentation and
3240 highlighting, with old OVM keywords only.
a1beca85 3241 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3242 Support AUTOTIEOFF creating non-wire data types.
3243 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3244 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3245 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3246 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3247 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3248 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3249 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3250 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3251 non-numeric vector width. Reported by Alex Reed.
3252 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3253 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3254 (verilog-auto-delete-trailing-whitespace):
3255 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3256 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3257 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3258 Fix verilog-scan-cache corruption when running user AUTO expansion
3259 hooks that call indentation routines.
3260 (verilog-simplify-range-expression): Fix typo ignoring lower case
3261 identifiers.
3262 (verilog-delete-auto): Fix delete-autos to also remove user created
3263 automatics, as long as they start with AUTO.
3264 (verilog-batch-diff-auto, verilog-diff-auto)
3265 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3266 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3267 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3268 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3269 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3270 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3271 is disabled and its cache will get corrupt, causing AUTOS not to
3272 expand. Instead use only -quick functions.
3273 (verilog-scan-region): Fix scanning over escaped quotes.
3274 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3275 (verilog-re-search-backward-quick)
3276 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3277 related functions now ignore strings, to fix misparsing of strings
3278 with magic comments embedded in them.
a1beca85
SM
3279 (verilog-read-auto-template):
3280 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3281 Reported by Brad Dobbie.
3282 (verilog-read-auto-template):
3283 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3284 Reported by Brad Dobbie.
6288f0ca
WS
3285 (verilog-auto-inst, verilog-auto-inst-param)
3286 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3287 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3288 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3289 debugging templates without merge conflicts, bug357.
3290 Reported by Brad Dobbie.
3291 (verilog-read-auto-template):
3292 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3293 Reported by Brad Dobbie.
3294 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3295 abbrevs so user won't be asked to save.
3296 (verilog-read-auto-lisp-present): Fix to start at beginning of
3297 buffer in case called outside of verilog-auto.
3298 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3299 to "X-2". Reported by Matthew Myers.
3300 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3301 all inputs from module templates. Reported by Leith Johnson.
3302 (verilog-module-inside-filename-p): Fix locating programs as with
3303 modules.
3304 (verilog-auto-inst-port): Fix vl-width expressions when using
3305 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3306 (verilog-decls-get-regs, verilog-decls-get-signals,
3307 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3308 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3309 verilog-read-decls): Combine reg and wire structures into one var
3310 structure to represent SystemVerilog concepts.
3311 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3312 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3313 (verilog-auto-wire-type, verilog-insert-definition):
3314 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3315 SystemVerilog "logic" keyword instead of "wire"/"reg".
3316 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3317 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3318 ifdef or generate if so there's not a driver conflict).
3319 Reported by Matthew Myers.
3320 (verilog-auto-declare-nettype, verilog-insert-definition):
3321 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3322 `default_nettype none. Reported by Julian Gorfajn.
3323 (verilog-read-always-signals-recurse, verilog-read-decls)
3324 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3325 malformed end statement, bug325. Reported by Joshua Wise and
3326 Andrew Drake.
3327 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3328 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3329 when expanding .* in interfaces, bug320.
3330 Reported by Pierre-David Pfister.
6288f0ca 3331 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3332 name and open parenthesis, bug317.
3333 Reported by Pierre-David Pfister.
6288f0ca
WS
3334 (verilog-simplify-range-expression): Fix simplification of
3335 multiplications inside AUTOWIRE connections, bug303.
3336 (verilog-auto-inst-port): Support parameter expansion in
3337 multidimensional arrays.
3338 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3339 after "assert property". Reported by Julian Gorfajn.
3340 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3341 with multiplication, bug303.
3342 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3343 Reported by Jan Frode Lonnum.
3344
1bbe96b2
GM
33452011-11-30 Juanma Barranquero <lekktu@gmail.com>
3346
3347 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3348 (hfy-shell-file-name, hfy-shell):
3349 * international/fontset.el (x-decompose-font-name): Fix typos.
3350
33512011-11-29 Ken Brown <kbrown@cornell.edu>
3352
3353 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3354 (gdb-version): Remove defvar.
3355 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3356 (gdb-gud-context-command, gdb-non-stop-handler)
3357 (gdb-current-context-command, gdb-stopped): Use it.
3358 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3359 (gdb-non-stop-handler): Don't enable pretty-printing here.
3360 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3361 non-stop mode. Use the following.
3362 (gdb-check-target-async): New defun.
3363 (gud-watch, gdb-stopped): Fix whitespace.
3364 (gdb-get-source-file): Don't try to display the source file if
3365 `gdb-main-file' is nil.
3366
33672011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3368
3369 * align.el: Try to generate fewer markers (bug#10047).
3370 (align--set-marker): New macro.
3371 (align-region): Use it.
3372
c935221f
SM
33732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3376
e70b5064
CY
33772011-11-29 Chong Yidong <cyd@gnu.org>
3378
3379 * indent.el (indent-for-tab-command, indent-according-to-mode):
3380 Doc fix.
3381 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3382
f3af92b7
MA
33832011-11-29 Michael Albinus <michael.albinus@gmx.de>
3384
3385 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3386 aware of remote file names. (Bug#10124)
3387
ed472be9
CY
33882011-11-29 Chong Yidong <cyd@gnu.org>
3389
3390 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3391
24510c22
SM
33922011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * files.el (find-file): Don't use force-same-window (bug#10144).
3395 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3396 use pop-to-buffer if the selected window can't be used.
3397 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3398
c60c3703
EZ
33992011-11-28 Eli Zaretskii <eliz@gnu.org>
3400
3401 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3402 special-mode-map.
3403
e95def75
CY
34042011-11-28 Chong Yidong <cyd@gnu.org>
3405
3406 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3407
c3f1c606
NR
34082011-11-27 Nick Roberts <nickrob@snap.net.nz>
3409
3410 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3411 gdb-get-source-file-list on gdb-create-source-file-list.
3412
00db469c
EZ
34132011-11-26 Eli Zaretskii <eliz@gnu.org>
3414
3415 * whitespace.el (whitespace-newline): Use a different foreground
3416 color for 16-color light-background displays.
3417
4ad3bc2a
CY
34182011-11-24 Chong Yidong <cyd@gnu.org>
3419
3420 * window.el (display-buffer--special-action): Doc fix.
3421
e9fce1ac
JB
34222011-11-25 Juanma Barranquero <lekktu@gmail.com>
3423
3424 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3425 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3426 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3427 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3428 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3429 (avl-tree-stack-first):
3430 * emacs-lisp/cconv.el (cconv--analyse-use):
3431 * net/gnutls.el (gnutls-negotiate): Fix typos.
3432
cb825e5d
GM
34332011-11-24 Glenn Morris <rgm@gnu.org>
3434
3adbe224
GM
3435 * lpr.el (lpr-windows-system, lpr-lp-system):
3436 * mail/binhex.el (binhex-begin-line):
3437 * progmodes/grep.el (grep-history, grep-find-history):
3438 * textmodes/flyspell.el:
3439 * vc/pcvs-defs.el (cvs-global-menu):
3440 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3441 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3442 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3443
321decc8
GM
3444 * net/tls.el: Fix case of "GnuTLS".
3445
420b63ad
GM
3446 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3447
cb825e5d
GM
3448 * version.el (emacs-build-system): Give it a doc-string.
3449
a0649f08
JL
34502011-11-24 Juri Linkov <juri@jurta.org>
3451
3452 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3453
c0bc0fd4
GM
34542011-11-24 Glenn Morris <rgm@gnu.org>
3455
3456 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3457 if called on a non-mime message just toggle the headers. (Bug#8006)
3458
20db1522
JB
34592011-11-24 Juanma Barranquero <lekktu@gmail.com>
3460
3461 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3462 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3463 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3464 (allout-rebullet-heading, allout-open-sibtopic)
3465 (allout-toggle-current-subtree-encryption)
3466 (allout-toggle-subtree-encryption, allout-encrypt-string)
3467 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3468 (allout-distinctive-bullets-string, allout-auto-activation):
3469 * window.el (window-normalize-buffer-to-display):
3470 * progmodes/verilog-mode.el (verilog-batch-indent):
3471 * textmodes/bibtex.el (bibtex-field-braces-opt)
3472 (bibtex-field-strings-opt):
3473 * vc/cvs-status.el (cvs-tree-merge):
3474 Fix typos.
3475
7262a87c
MA
34762011-11-23 Michael Albinus <michael.albinus@gmx.de>
3477
3478 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3479 `non-essential' to t, in order to avoid remote connections.
3480
283430a1
EZ
34812011-11-23 Eli Zaretskii <eliz@gnu.org>
3482
a1beca85
SM
3483 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3484 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3485 case-insensitively.
3486
d2992a38
ML
34872011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3488
3489 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3490
50419064
GM
34912011-11-23 Glenn Morris <rgm@gnu.org>
3492
da94eca1
GM
3493 * paths.el (rmail-file-name): Reformat the doc-string so that it
3494 is picked up.
3495
9aac4de2
GM
3496 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3497 (rmail-auto-file): Ignore case in the "special" field names,
3498 as mail-fetch-field does for all others.
3499
8038d2d2
GM
3500 * mail/rmail.el (rmail-forward):
3501 * mail/rmailkwd.el (rmail-set-label):
3502 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3503 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3504
f3fe222a
GM
3505 * mail/rmail.el (rmail-current-message): Doc fix.
3506
50419064
GM
3507 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3508
28109f49
SM
35092011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3512
394c65f1
GM
35132011-11-22 Glenn Morris <rgm@gnu.org>
3514
3515 * mail/rmailmm.el (test-rmail-mime-handler)
3516 (test-rmail-mime-bulk-handler)
3517 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3518
f2a0aa3a
JL
35192011-11-21 Juri Linkov <juri@jurta.org>
3520
1154d12e
JB
3521 * calc/calc.el (calc-read-key-sequence):
3522 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3523
9c34a344
LMI
35242011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3525
3526 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3527 Tell the caller that the next line needs recomputation, even
3528 though it doesn't start a sexp (bug#10094).
3529
f04a3be9
SM
35302011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3533
7978747f
SM
35342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3535
f04a3be9
SM
3536 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3537 Use force-same-window.
7978747f 3538
fe7a3057
JB
35392011-11-20 Juanma Barranquero <lekktu@gmail.com>
3540
3541 * descr-text.el (describe-char-unicode-data):
3542 * json.el (json-string-escape):
3543 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3544 (Footnote-unicode, Footnote-style-p):
3545 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3546
24901d61
CY
35472011-11-20 Chong Yidong <cyd@gnu.org>
3548
3549 * window.el (replace-buffer-in-windows): Restore interactive spec.
3550
bac7ff22
SM
35512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3552
24f3d7b9
SM
3553 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3554
bac7ff22
SM
3555 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3556 (byte-compile-global-not-obsolete-vars): New var.
3557 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3558 Use it.
3559 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3560
cd1181db
JB
35612011-11-20 Juanma Barranquero <lekktu@gmail.com>
3562
3563 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3564 * progmodes/pascal.el (electric-pascal-equal):
3565 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3566 * xml.el (xml-substitute-special): Fix typos.
3567
7fb18e9e
GM
35682011-11-20 Glenn Morris <rgm@gnu.org>
3569
3570 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3571 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3572 Doc fixes.
3573 (rmail-decode-mime-charset): Mark as obsolete.
3574
3575 * mail/rmailsum.el (rmail-message-regexp-p-1):
3576 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3577 Before using mime functions, check they are set. (Bug#10077)
3578
d5a6b3ba
JL
35792011-11-19 Juri Linkov <juri@jurta.org>
3580
3581 * info.el (Info-finder-find-node): Use `package--builtins' instead
3582 of `package-alist'. Use node names formed by the pattern "Keyword "
3583 and the keyword name.
3584
e981b61f
AS
35852011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3586
1d00653d 3587 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3588
3ffbc301
JL
35892011-11-19 Juri Linkov <juri@jurta.org>
3590
3591 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3592 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3593 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3594 `old-history', `old-history-forward'. Add let-binding
3595 `window-selected'. Remove calls to `kill-buffer',
3596 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3597 before calling `Info-find-node', so `Info-find-node-2' will reread
3598 the Info file. Restore window positions only when `window-selected'
3599 is non-nil.
3600
30c62133
JL
36012011-11-19 Juri Linkov <juri@jurta.org>
3602
3603 * isearch.el (isearch-lazy-highlight-new-loop):
3604 Remove condition `(not isearch-error)'. (Bug#9918)
3605
3606 * misearch.el (multi-isearch-search-fun): Add condition
3607 `(not bound)' to ignore lazy-highlighting search.
3608 Add the search-failed message "end of multi" when the end of
3609 multi-sequence is reached. Uncapitalize the search-failed
3610 message "Repeat for next buffer".
3611
3612 * info.el (Info-search): Add the search-failed message
3613 "end of the manual" when the end of the manual is reached
3614 in Isearch mode.
3615
645ca9cf
JL
36162011-11-19 Juri Linkov <juri@jurta.org>
3617
3618 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3619 Use non-destructive `remove' instead of `delete' because
3620 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3621 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3622
df754f66
JL
36232011-11-19 Juri Linkov <juri@jurta.org>
3624
3625 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3626 to nil instead of binding `search-ring' and `regexp-search-ring'.
3627 (Bug#9185)
3628
0e23d96a
EZ
36292011-11-19 Eli Zaretskii <eliz@gnu.org>
3630
3631 * simple.el (line-move): Force movement by logical lines for any
3632 hscrolled window, not only when auto-hscroll-mode is on.
3633 (line-move-visual): Update doc string to that effect. (Bug#10076)
3634
8a6ccb66
AS
36352011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3636
3637 * language/european.el (macintosh): Define as alias for mac-roman.
3638
49ae5b39
EZ
36392011-11-19 Eli Zaretskii <eliz@gnu.org>
3640
3641 * mail/rmailmm.el (rmail-mime-display-header)
3642 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3643 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3644 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3645 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3646 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3647 of a raw aref.
3648 (rmail-mime-entity-segment): To get past the tagline, move forward
3649 2 more lines, to account for the 2 empty lines that precede and
3650 follow the line with the buttons.
3651 (rmail-mime-update-tagline): Move one more line, to get past the
3652 empty line that follows the buttons in the tagline. (Bug#9520)
3653
c56cad4a
MR
36542011-11-19 Martin Rudalics <rudalics@gmx.at>
3655
3656 * window.el (window-max-delta-1, window-min-delta-1)
3657 (window-min-size-1, window-state-get-1, window-state-put-1)
3658 (window-state-put-2): Use "window--" prefix.
3659
cbe71af3
SM
36602011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3661
2ad52c60
SM
3662 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3663 (smie-warning-count): New var.
3664 (smie-set-prec2tab): Use it.
3665 (smie-bnf->prec2): Improve warnings. Add docstring.
3666 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3667 (smie-bnf--set-class): New function.
3668 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3669 corner case.
3670
6944dbc1
SM
3671 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3672 (compilation-error-properties, compilation-move-to-column):
3673 Handle compilation-first-column while in the target buffer.
3674
c400c4d7
SM
3675 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3676 Don't hardcode point-min==1.
3677
6dbe3e96
SM
3678 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3679 (eshell-rewrite-for-command): Remove workaround.
3680 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3681 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3682 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3683
cbe71af3
SM
3684 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3685
a8e1496d
GM
36862011-11-17 Glenn Morris <rgm@gnu.org>
3687
3688 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3689 Ignore buffer-local generated-autoload-file if it is the same
3690 as the global value. (Bug#10049)
3691
df85d315
JB
36922011-11-17 Juanma Barranquero <lekktu@gmail.com>
3693
3694 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3695 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3696 (reftex-toc-previous-heading, reftex-toc-max-level)
3697 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3698 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3699 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3700 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3701 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3702 (reftex-toc-rename-label, reftex-toc-visit-location)
3703 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3704 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3705 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3706 leaving "*toc*" only for references to the buffer.
3707
a0c2d0ae
MR
37082011-11-17 Martin Rudalics <rudalics@gmx.at>
3709
3710 * window.el (window-resize, delete-window, split-window):
3711 Replace window-splits by window-combination-resize.
1d00653d 3712 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3713
35c0bac8
GM
37142011-11-17 Glenn Morris <rgm@gnu.org>
3715
3716 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3717 Make bash entry derive from sh entry, not shell entry.
3718
d0c8fc8a
MA
37192011-11-16 Michael Albinus <michael.albinus@gmx.de>
3720
d0c8fc8a
MA
3721 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3722 properties of linked files. (Bug#9879)
3723
7262a87c
MA
3724 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3725 local file name.
3726
7877f373
JB
37272011-11-16 Juanma Barranquero <lekktu@gmail.com>
3728
3729 * menu-bar.el (menu-bar-file-menu):
3730 * printing.el (pr-ps-utility):
3731 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3732 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3733 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3734 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3735 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3736 (icalendar--convert-cyclic-to-ical)
3737 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3738 (icalendar--convert-ical-to-diary)
3739 (icalendar--convert-recurring-to-diary)
3740 (icalendar--convert-non-recurring-all-day-to-diary)
3741 (icalendar-import-format-sample):
3742 * progmodes/idlw-shell.el (idlwave-shell-mode):
3743 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3744 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3745 (vhdl-ps-print-init): Fix typos.
3746
10649b82
KM
37472011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3748
9d0cfcd6
GM
3749 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3750 FSF and collapse date sequence, obscure author/maintainer email address
3751 better, remove extra version line, track relocation of author's webpage.
10649b82 3752
9d0cfcd6
GM
3753 * progmodes/python.el (python-pdbtrack-input-prompt)
3754 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3755 regular python pdb prompts. Adjustments shamelessly taken exactly as
3756 suggested in EmacsWiki page (tiny change):
3757 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3758
58179cce
JB
37592011-11-16 Juanma Barranquero <lekktu@gmail.com>
3760
3761 * expand.el (expand-pos, expand-index, expand-point):
3762 Remove redundant info from docstring.
3763 (expand-add-abbrevs): Doc fix.
3764 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3765 (expand-sample-perl-mode-expand-list): Fix typos.
3766
3767 * net/dbus.el (dbus-event-member-name):
3768 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3769 * term/pc-win.el (msdos-create-frame-with-faces):
3770 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3771
b6f67890
MR
37722011-11-16 Martin Rudalics <rudalics@gmx.at>
3773
3774 * window.el (split-window, window-state-get-1)
3775 (window-state-put-1, window-state-put-2): Rename occurrences of
3776 window-nest to window-combination-limit.
1d00653d 3777 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3778
ce7ddba0
CY
37792011-11-16 Chong Yidong <cyd@gnu.org>
3780
3781 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3782 regexp (Bug#10033).
3783
3ae704f4
SM
37842011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3787 `completing-read' will remove *Completions* and will preserve
3788 current-buffer for us.
3789 (tmm-add-prompt): Users of *Completions* will always (re)set its
3790 major mode.
3791 (tmm-old-comp-map): Remove.
3792
6ad1cdde
GM
37932011-11-16 Glenn Morris <rgm@gnu.org>
3794
3795 * mail/rmailedit.el: Require rmailmm when compiling.
3796 (rmail-old-mime-state): New declaration.
3797 (rmail-edit-current-message): If editing a mime message,
3798 edit the "raw" message from the mbox buffer.
3799 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3800
d20faa20
GM
38012011-11-15 Glenn Morris <rgm@gnu.org>
3802
3803 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3804 which wasn't being used. Add optional arg to force given state.
3805 (rmail-mime): Add optional arg to force given state.
3806
c7015153
JB
38072011-11-15 Juanma Barranquero <lekktu@gmail.com>
3808
3809 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3810 * frame.el (display-mm-dimensions-alist):
3811 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3812 (outline-move-subtree-down):
3813 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3814 (newsticker--treeview-do-get-node):
3815 * net/quickurl.el (quickurl-list-buffer-name):
3816 * progmodes/dcl-mode.el (dcl-mode):
3817 * progmodes/gdb-mi.el (gdb-mapcar*):
3818 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3819
45261b50
GM
38202011-11-15 Glenn Morris <rgm@gnu.org>
3821
3822 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3823 in a boolean sense, so just make it a boolean, and fix the doc.
3824 (rmail-show-mime-function, rmail-mime-feature)
3825 (rmail-require-mime-maybe): Doc fixes.
3826 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3827
3828 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3829
0d26e0b6
JB
38302011-11-15 Juanma Barranquero <lekktu@gmail.com>
3831
3832 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3833 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3834 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3835 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3836
447f30f6
GM
38372011-11-15 Glenn Morris <rgm@gnu.org>
3838
672b871d
GM
3839 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3840 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3841 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3842 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3843 (rmail-mime, rmail-show-mime): Doc fixes.
3844
f6aa5bb1
GM
3845 * term/ns-win.el (mode-line-frame-identification):
3846 Leave it alone. (Bug#10051)
3847
947cd66b
GM
3848 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3849
447f30f6
GM
3850 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3851 Handle empty buffers. (Bug#9978)
3852
0b381c7e
JB
38532011-11-14 Juanma Barranquero <lekktu@gmail.com>
3854
3855 * international/mule.el (define-charset):
3856 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3857 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3858 * progmodes/verilog-mode.el (verilog-backward-token):
3859 * textmodes/ispell.el (lookup-words):
3860 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3861
71e027ac
GM
38622011-11-14 Glenn Morris <rgm@gnu.org>
3863
56632ce4
GM
3864 * progmodes/executable.el
3865 (executable-make-buffer-file-executable-if-script-p):
3866 Handle file-modes returning nil.
3867
40500957
GM
3868 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3869 message - not necessary, and causes problems. (Bug#9831)
3870
071c2340
GM
3871 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3872
d3cfca60
GM
3873 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3874
71e027ac
GM
3875 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3876 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3877 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3878
89d61221
MR
38792011-11-12 Martin Rudalics <rudalics@gmx.at>
3880
3881 * window.el (window-resize, delete-window): Use window-splits
3882 variable instead of function.
3883 (window-state-get-1, window-state-put-2, window-state-put):
3884 Don't deal with windows' splits status.
3885
98282f6f
GM
38862011-11-12 Glenn Morris <rgm@gnu.org>
3887
3888 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3889 (apropos-documentation): Doc fixes.
3890
40a8bdf6
JB
38912011-11-11 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3894 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3895
65bd19ff
SM
38962011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * electric.el (electric-indent-post-self-insert-function): Make it
3899 possible for a char to only indent in some circumstances.
3900 (electric-indent-mode): Simplify.
3901
54f9154c
MR
39022011-11-11 Martin Rudalics <rudalics@gmx.at>
3903
3904 * window.el (windows-with-parameter): Remove unused function.
3905 (windows-at-side): Rename to window-at-side-list.
3906 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3907 (window-side-check, window-size-ignore, window-size-fixed-1)
3908 (window-in-direction-2): Prefix with "window--".
3909 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3910
68cbc58b
GM
39112011-11-11 Glenn Morris <rgm@gnu.org>
3912
3913 * subr.el (eval-after-load): If FILE is already loaded,
3914 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3915
b2621720
GM
39162011-11-10 Glenn Morris <rgm@gnu.org>
3917
9a4de110
GM
3918 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3919 Call svn via vc-svn-command rather than vc-do-command.
3920 (vc-svn-command): Add --non-interactive. (Bug#9993)
3921 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3922
b2621720
GM
3923 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3924 Add toggle-read-only. (Bug#7292)
3925 * files.el (toggle-read-only): Mention that it should only
3926 be used interactively. (Bug#10006)
3927
1dce7193
SM
39282011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3929
d9ac1a1e
SM
3930 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3931 Adjust regexp for OCaml warnings.
3932
0c325082
SM
3933 * electric.el (electric-pair-post-self-insert-function): Let user
3934 turn it off buffer-locally (bug#9932).
3935
90132c14
SM
3936 * progmodes/python.el (python-beginning-of-statement):
3937 Rewrite (bug#2703).
3938
1dce7193
SM
3939 * progmodes/compile.el: Better handle TABs (bug#9749).
3940 (compilation-internal-error-properties)
3941 (compilation-next-error-function): Obey the target buffer's
3942 compilation-error-screen-columns.
3943
c4e7c63a
JB
39442011-11-09 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * progmodes/meta-mode.el: Remove obsolete comments.
3947 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3948 Fix typos in docstrings.
3949
2cffd681
MR
39502011-11-09 Martin Rudalics <rudalics@gmx.at>
3951
3952 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3953 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3954 (window--resizable): New function. Make all callers of
3955 window-resizable call window--resizable instead.
3956 (window-resizable): Rewrite in terms of window--resizable.
3957
0edcba87
GM
39582011-11-08 Glenn Morris <rgm@gnu.org>
3959
3960 * progmodes/delphi.el (delphi-mode-syntax-table):
3961 Let define-derived-mode define a proper syntax table. (Bug#9994)
3962
4b0d61e3
SM
39632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * window.el: Stay away from defsubst.
3966 (window-list-no-nils): Remove.
3967 (window-state-get-1, window-state-get): Use backquote instead.
3968
cd394be1 39692011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3970
4b0d61e3 3971 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3972 Fix incorrect use of default argument in `completing-read'.
3973
e1c2c6f2
MR
39742011-11-08 Martin Rudalics <rudalics@gmx.at>
3975
3976 * window.el (display-buffer-function, special-display-function):
3977 Mention display-buffer-record-window but do not mention
3978 help-setup parameter in doc-strings.
b3f4a882 3979 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3980
105216ed
CY
39812011-11-08 Chong Yidong <cyd@gnu.org>
3982
3983 * window.el (window-total-height, window-total-width): Doc fix.
3984 (window-body-size): Move from C.
3985 (window-body-height, window-body-width): Move to C.
3986
0a9f9ab5
SM
39872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * window.el: Make special-display like display-buffer-alist (bug#9532).
3990 (display-buffer--special-action): New function, morphed
3991 from display-buffer--special.
3992 (display-buffer): Use it to handle special-display-buffers at higher
3993 priority (just after display-buffer-alist).
3994 (display-buffer-fallback-action, display-buffer--other-frame-action)
3995 (pop-to-buffer-same-window): Remove display-buffer--special.
3996
a769dd15
GM
39972011-11-07 Glenn Morris <rgm@gnu.org>
3998
3999 * calendar/cal-menu.el (cal-menu-set-date-title):
4000 Do nothing if not in a calendar. (Bug#9976)
4001
05a61ee3
SM
40022011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4003
4004 * files.el (find-file): Always use selected-window.
4005
be7f5545
MR
40062011-11-07 Martin Rudalics <rudalics@gmx.at>
4007
4008 * window.el (window-combinations): Make WINDOW argument
4009 mandatory. Rewrite doc-string.
4010 (walk-window-subtree, window-atom-check, window-min-delta)
4011 (window-max-delta, window--resize-this-window)
4012 (window--resize-root-window-vertically, window-tree)
4013 (balance-windows, window-state-put): Rewrite doc-strings as to
4014 not mention the term "subwindow".
4015 (window--resize-subwindows-skip-p): Rename to
4016 window--resize-child-windows-skip-p.
4017 (window--resize-subwindows-normal): Rename to
4018 window--resize-child-windows-normal.
4019 (window--resize-subwindows): Rename to
4020 window--resize-child-windows.
4021 (window-or-subwindow-p): Rename to window--in-subtree-p.
4022
3c6702ef
ML
40232011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4024
4025 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4026 Ensure that mbox format messages end in two newlines (Bug#9974).
4027
49745b39
CY
40282011-11-06 Chong Yidong <cyd@gnu.org>
4029
4030 * window.el (window-combination-p): Function deleted; its
4031 side-effect is not used in any existing code.
4032 (window-combinations, window-combined-p): Call window-*-child
4033 directly.
4034
24300f5f
CY
40352011-11-05 Chong Yidong <cyd@gnu.org>
4036
4037 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4038 (window-size-ignore, window-state-get): Callers changed.
4039 (window-normalize-window): Rename from window-normalize-any-window.
4040 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4041 (window-normalize-live-window): Delete.
447f16b8
CY
4042 (window-combination-p, window-combined-p, window-combinations)
4043 (walk-window-subtree, window-atom-root, window-min-size)
4044 (window-sizable, window-sizable-p, window-size-fixed-p)
4045 (window-min-delta, window-max-delta, window-resizable)
4046 (window-resizable-p, window-full-height-p, window-full-width-p)
4047 (window-current-scroll-bars, window-point-1, set-window-point-1)
4048 (window-at-side-p, window-in-direction, window-resize)
4049 (adjust-window-trailing-edge, maximize-window, minimize-window)
4050 (window-deletable-p, delete-window, delete-other-windows)
4051 (record-window-buffer, unrecord-window-buffer)
4052 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4053 (quit-window, split-window, window-state-put)
4054 (set-window-text-height, fit-window-to-buffer)
4055 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4056
89bd5ee1
EZ
40572011-11-04 Eli Zaretskii <eliz@gnu.org>
4058
53479029
EZ
4059 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4060 rfc2047-decode-string.
4061 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4062 warnings.
4063
89bd5ee1
EZ
4064 * window.el (window-body-height, window-body-width): Mention in
4065 the doc string that the return values are in frame's canonical
4066 units. (Bug#9949)
4067
bd17fdee
AM
40682011-11-03 Alan Mackenzie <acm@muc.de>
4069
4070 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4071 change in cc-engine.el.
4072
acc825c5
SM
40732011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4076
1885e5b8
MR
40772011-11-02 Martin Rudalics <rudalics@gmx.at>
4078
4079 * window.el (quit-window): Call unrecord-window-buffer after
4080 showing another buffer in the window. (Bug#9937)
acc825c5 4081 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4082
ebe06da9
JB
40832011-11-02 Juanma Barranquero <lekktu@gmail.com>
4084
4085 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4086 Accept status with more than 9 shelves. (Bug#9935)
4087 Reported by Colin D Bennett <colin@gibibit.com>.
4088
4ee88440
MR
40892011-11-01 Martin Rudalics <rudalics@gmx.at>
4090
4091 * help.el (with-help-window): Don't reference
4092 temp-buffer-show-specifiers in doc-string.
4093
08e1d82c
AS
40942011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4095
4096 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4097 menu-item.
4098
84bd6e9e
VJL
40992011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4100
4101 * whitespace.el: New version 13.2.2.
4102 (whitespace-newline-mode): Disable properly. Reported by Sarah
4103 <EmacsWiki>.
4104
dba0634a
UJ
41052011-10-30 Ulf Jasper <ulf.jasper@web.de>
4106
4107 * net/newst-treeview.el: Remove "Time-stamp".
4108 (newsticker--group-manage-orphan-feeds): Do not call
4109 newsticker--treeview-tree-update.
db22a3c2
JB
4110 (newsticker-treeview-update, newsticker-treeview):
4111 Call newsticker--treeview-tree-update if necessary.
dba0634a 4112
3d8daefe
MR
41132011-10-30 Martin Rudalics <rudalics@gmx.at>
4114
4115 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4116 (window-iso-combinations): Remove "iso-" infix.
4117 Suggested by Chong Yidong.
3d8daefe
MR
4118 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4119 (window-max-delta-1, window-resize, window--resize-siblings)
4120 (window--resize-this-window, adjust-window-trailing-edge)
4121 (split-window, balance-windows-1)
4122 (shrink-window-if-larger-than-buffer):
4123 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4124 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4125
1bc4c3ae
SM
41262011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4129 in place (bug#9907).
4130 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4131 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4132 (eshell-structure-basic-command, eshell-rewrite-while-command)
4133 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4134 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4135 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4136 (eshell-do-pipelines-synchronously, eshell-eval-command):
4137 Use backquotes and prefer setq to set.
4138 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4139 (eshell-macrop): Use functionp.
c1e2f5fa 4140 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4141
30b65d9c
CY
41422011-10-30 Chong Yidong <cyd@gnu.org>
4143
4144 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4145 instead of set-mark (Bug#9810).
4146
2d197ffb
CY
41472011-10-30 Chong Yidong <cyd@gnu.org>
4148
4149 * window.el (split-window-below, split-window-right): Rename from
4150 split-window-above-each-other and split-window-side-by-side
4151 respectively. All callers changed.
4152 (split-window-sensibly, split-window-sensibly): Use them.
4153 (split-window-keep-point): Doc fix.
4154
4155 * isearch.el: Add isearch-scroll property to split-window-below
4156 and split-window-right.
4157
4158 * follow.el (follow-mode):
4159 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4160 * progmodes/ada-xref.el (ada-gdb-application):
4161 * emulation/vip.el (vip-buffer-in-two-windows):
4162 * image-dired.el (image-dired-dired-with-window-configuration):
4163 * dired-x.el (dired-do-find-marked-files):
4164 * dired.el (dired-pop-to-buffer):
4165 * bs.el (bs--show-with-configuration):
4166 * vc/emerge.el (emerge-setup-windows):
4167 * textmodes/two-column.el (2C-two-columns):
4168 * textmodes/reftex-toc.el (reftex-toc):
4169 * progmodes/gdb-mi.el (gdb-setup-windows):
4170 * progmodes/fortran.el (fortran-window-create):
4171 * net/newst-treeview.el (newsticker--treeview-window-init):
4172 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4173 * emulation/tpu-edt.el (tpu-gold-map):
4174 * emulation/crisp.el (crisp-mode-map):
4175 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4176
38bb2ca8
CY
41772011-10-29 Chong Yidong <cyd@gnu.org>
4178
aa4de341
CY
4179 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4180
e1eb5385
CY
4181 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4182
5d2ece3c
CY
4183 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4184 forged Ispell output (Bug#7904).
4185
38bb2ca8
CY
4186 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4187
d0af9f77
SM
41882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * doc-view.el: Avoid ugly errors about not finding nil.
4191 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4192 (doc-view-dvipdf-program, doc-view-unoconv-program)
4193 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4194 Avoid nil or absolute file name as default value.
4195 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4196
52bedd34
AM
41972011-10-28 Alan Mackenzie <acm@muc.de>
4198
db22a3c2 4199 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4200
7e43cfa5
AM
42012011-10-28 Alan Mackenzie <acm@muc.de>
4202
4203 Amend the handling of c-beginning/end-of-defun in nested declaration
4204 scopes.
4205
52bedd34
AM
4206 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4207 cc-langs.el. Change it to a defcustom.
7e43cfa5 4208
52bedd34
AM
4209 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4210 cc-vars.el.
7e43cfa5 4211
d0af9f77
SM
4212 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4213 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4214
52bedd34 4215 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4216 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4217 (c-widen-to-enclosing-decl-scope): New function.
4218 (c-while-widening-to-decl-block): New macro.
4219 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4220 outward for defun boundaries, and correspondingly change symbol
4221 `respect-enclosure' to `go-outward'.
4222 (c-declaration-limits): Change algorithm to report only the "innermost"
4223 defun's boundaries.
4224
1a2ce9ee
DD
42252011-10-28 Deniz Dogan <deniz@dogan.se>
4226
4227 * net/rcirc.el (rcirc-mode): Use hard newlines.
4228
bc97a826
AM
42292011-10-28 Alan Mackenzie <acm@muc.de>
4230
4231 Amend to indent and fontify macros "which include their own semicolon"
4232 correctly, using the "virtual semicolon" mechanism.
4233
52bedd34 4234 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4235
d0af9f77 4236 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4237 Recode to scan one line at a time rather than having \n and \r
58179cce 4238 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4239 (c-forward-label): Amend for virtual semicolons.
58179cce 4240 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4241
52bedd34
AM
4242 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4243 of the new C macros.
bc97a826 4244
52bedd34 4245 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4246 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4247 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4248 (c-opt-cpp-macro-define): Make into a full language variable.
4249 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4250 AWK Mode (including \n, \r) removed, no longer needed.
4251
d0af9f77
SM
4252 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4253 Invoke c-make-macro-with-semi-re.
bc97a826 4254
52bedd34
AM
4255 * progmodes/cc-vars.el (c-macro-with-semi-re):
4256 (c-macro-names-with-semicolon): New variables.
58179cce 4257 (c-make-macro-with-semi-re): New function.
bc97a826 4258
7a6c0941
SM
42592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4260
4261 * vc/log-edit.el: Fill empty field rather than adding new one.
4262 (log-edit-add-field): New function.
4263 (log-edit-insert-changelog): Use it.
4264
b0c4cdcf
ML
42652011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4266
4267 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4268
ee1f1da9
SM
42692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4272 (gdb--check-interpreter): New function.
4273 (gdb): Use it.
4274
51bc5f8b
GM
42752011-10-27 Glenn Morris <rgm@gnu.org>
4276
416a2c45
GM
4277 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4278 (least-positive-float, least-negative-float)
4279 (least-positive-normalized-float, least-negative-normalized-float)
4280 (float-epsilon, float-negative-epsilon):
4281 Remove unnecessary declarations.
4282
4283 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4284 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4285 (least-positive-float, least-negative-float)
4286 (least-positive-normalized-float, least-negative-normalized-float)
4287 (float-epsilon, float-negative-epsilon): Add doc-strings,
4288 based on those in cl.texi.
4289
51bc5f8b
GM
4290 * files.el (set-visited-file-name): If the major-mode changed,
4291 reload the local variables. (Bug#9796)
4292
15de15c6
CY
42932011-10-27 Chong Yidong <cyd@gnu.org>
4294
4295 * subr.el (change-major-mode-after-body-hook): New hook.
4296 (run-mode-hooks): Run it.
4297
ee1f1da9
SM
4298 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4299 Use change-major-mode-before-body-hook.
15de15c6
CY
4300
4301 * simple.el (fundamental-mode):
4302 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4303 change introducing fundamental-mode-hook.
4304
5430d399
JB
43052011-10-26 Juanma Barranquero <lekktu@gmail.com>
4306
acc825c5 4307 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4308
ad74a69e
MA
43092011-10-26 Michael Albinus <michael.albinus@gmx.de>
4310
4311 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4312 tramp.el explicitly. (Bug#7583)
ad74a69e 4313
71d4c2a5
SM
43142011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * progmodes/octave-mod.el:
4317 * progmodes/octave-inf.el: Update maintainer.
4318
b1f6fa26
CY
43192011-10-26 Chong Yidong <cyd@gnu.org>
4320
4321 * subr.el (with-wrapper-hook): Rewrite doc.
4322
3f04efd6
MA
43232011-10-25 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4326 filenames "/method:foo:". (Bug#9793)
3f04efd6 4327
410488d3
SM
43282011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4331 (bug#9865).
4332
c1ebb47e
GM
43332011-10-24 Glenn Morris <rgm@gnu.org>
4334
4335 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4336
7f5c46c7
MA
43372011-10-24 Michael Albinus <michael.albinus@gmx.de>
4338
4339 * notifications.el: Add the requirement of a running D-Bus session
4340 bus to the Commentary.
4341
db2440b6
JL
43422011-10-24 Juri Linkov <juri@jurta.org>
4343
4344 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4345 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4346 (Bug#9364)
4347
feecf435
JL
43482011-10-24 Juri Linkov <juri@jurta.org>
4349
4350 * info.el (Info-following-node-name-re): Add newline to the list
4351 of allowed characters for leading space. (Bug#9824)
4352
a3839de2
SM
43532011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4354
acc825c5
SM
4355 * progmodes/octave-inf.el (inferior-octave-mode-map):
4356 Fix C-c C-h binding.
a3839de2
SM
4357 * progmodes/octave-mod.el (octave-help): Remove.
4358
09388e76
MA
43592011-10-23 Michael Albinus <michael.albinus@gmx.de>
4360
4361 Sync with Tramp 2.2.3.
4362
4363 * net/tramp-cache.el (top): Pacify byte-compiler using
4364 `init-file-user' and `site-run-file'.
4365
4366 * net/trampver.el: Update release number.
4367
86c60681
CY
43682011-10-23 Chong Yidong <cyd@gnu.org>
4369
4370 * files.el (toggle-read-only): Remove obsolete comment about
4371 version control.
4372
4373 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4374 for toggle-read-only. Note that this hasn't called vc-next-action
4375 since 2008-05-02, though it wasn't documented at the time.
4376
a3839de2
SM
4377 * vc/ediff-init.el (ediff-toggle-read-only-function):
4378 Use toggle-read-only.
86c60681 4379
cd5495ff
AM
43802011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4381
4382 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4383 of c-parse-state.
4384
00b77525 4385 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4386 correct faulty logical expression.
cd5495ff
AM
4387 (c-parse-state-state, c-record-parse-state-state):
4388 (c-replay-parse-state-state): New defvar/defuns.
4389 (c-debug-parse-state): Use new functions.
4390
42ee24ed
MR
43912011-10-22 Martin Rudalics <rudalics@gmx.at>
4392
4393 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4394 last fix. Use window-in-direction correctly.
42ee24ed 4395
a7dee7e7
CY
43962011-10-21 Chong Yidong <cyd@gnu.org>
4397
4398 * progmodes/idlwave.el (idlwave-mode):
4399 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4400 require-final-newline; that's done in prog-mode.
4401 Suggested by Stefan Monnier.
a7dee7e7 4402
e07b9a6d
MR
44032011-10-21 Martin Rudalics <rudalics@gmx.at>
4404
4405 * mouse.el (mouse-drag-window-above)
4406 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4407 (mouse-drag-mode-line-1, mouse-drag-header-line)
4408 (mouse-drag-vertical-line-rightward-window): Remove.
4409 (mouse-drag-line): New function.
4410 (mouse-drag-mode-line, mouse-drag-header-line)
4411 (mouse-drag-vertical-line): Call mouse-drag-line.
4412 * window.el (window-at-side-p, windows-at-side): New functions.
4413
7e1361d9
UM
44142011-10-21 Ulrich Mueller <ulm@gentoo.org>
4415
4416 * tar-mode.el (tar-grind-file-mode):
4417 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4418
30fcaf3a
CY
44192011-10-21 Chong Yidong <cyd@gnu.org>
4420
4421 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4422 * progmodes/vera-mode.el (vera-mode):
4423 Use mode-require-final-newline.
30fcaf3a 4424
516eddb0
GM
44252011-10-20 Glenn Morris <rgm@gnu.org>
4426
db22a3c2 4427 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4428
10d5f513
CS
44292011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4430
4431 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4432
ac6c8639
CY
44332011-10-20 Chong Yidong <cyd@gnu.org>
4434
4435 * emulation/cua-base.el (cua-mode):
4436 * mail/footnote.el (footnote-mode):
4437 * mail/mailabbrev.el (mail-abbrevs-mode):
4438 * net/xesam.el (xesam-minor-mode):
4439 * progmodes/bug-reference.el (bug-reference-mode):
4440 * progmodes/cap-words.el (capitalized-words-mode):
4441 * progmodes/compile.el (compilation-minor-mode)
4442 (compilation-shell-minor-mode):
4443 * progmodes/gud.el (gud-tooltip-mode):
4444 * progmodes/hideif.el (hide-ifdef-mode):
4445 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4446 * progmodes/subword.el (subword-mode):
4447 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4448 * progmodes/which-func.el (which-function-mode):
4449 * term/tvi970.el (tvi970-set-keypad-mode):
4450 * term/vt100.el (vt100-wide-mode):
4451 * textmodes/flyspell.el (flyspell-mode):
4452 * textmodes/ispell.el (ispell-minor-mode):
4453 * textmodes/nroff-mode.el (nroff-electric-mode):
4454 * textmodes/paragraphs.el (use-hard-newlines):
4455 * textmodes/refill.el (refill-mode):
4456 * textmodes/reftex.el (reftex-mode):
4457 * textmodes/rst.el (rst-minor-mode):
4458 * textmodes/sgml-mode.el (html-autoview-mode)
4459 (sgml-electric-tag-pair-mode):
4460 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4461 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4462 * emulation/crisp.el (crisp-mode):
4463 * emacs-lisp/eldoc.el (eldoc-mode):
4464 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4465 minor mode behavior.
4466
aa42ab43
JL
44672011-10-19 Juri Linkov <juri@jurta.org>
4468
4469 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4470 the list of hard-coded chars with escape-glyph face.
4471
89400f1d
SM
44722011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4475
305c07f6
MA
44762011-10-19 Michael Albinus <michael.albinus@gmx.de>
4477
4478 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4479 running process.
4480
13754b54
GM
44812011-10-19 Glenn Morris <rgm@gnu.org>
4482
4483 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4484 Ignore ignored files. (Bug#9726)
4485
06e21633
CY
44862011-10-19 Chong Yidong <cyd@gnu.org>
4487
4488 Doc fix for minor modes, stating that an omitted argument enables
4489 the mode unconditionally when called from Lisp.
4490
4491 * abbrev.el (abbrev-mode):
4492 * allout.el (allout-mode):
4493 * autoinsert.el (auto-insert-mode):
4494 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4495 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4496 (global-auto-revert-mode):
4497 * battery.el (display-battery-mode):
4498 * composite.el (global-auto-composition-mode)
4499 (auto-composition-mode):
4500 * delsel.el (delete-selection-mode):
4501 * desktop.el (desktop-save-mode):
4502 * dired-x.el (dired-omit-mode):
4503 * dirtrack.el (dirtrack-mode):
4504 * doc-view.el (doc-view-minor-mode):
4505 * double.el (double-mode):
4506 * electric.el (electric-indent-mode, electric-pair-mode):
4507 * emacs-lock.el (emacs-lock-mode):
4508 * epa-hook.el (auto-encryption-mode):
4509 * follow.el (follow-mode):
4510 * font-core.el (font-lock-mode):
4511 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4512 * help.el (temp-buffer-resize-mode):
4513 * hilit-chg.el (highlight-changes-mode)
4514 (highlight-changes-visible-mode):
4515 * hi-lock.el (hi-lock-mode):
4516 * hl-line.el (hl-line-mode, global-hl-line-mode):
4517 * icomplete.el (icomplete-mode):
4518 * ido.el (ido-everywhere):
4519 * image-file.el (auto-image-file-mode):
4520 * image-mode.el (image-minor-mode):
4521 * iswitchb.el (iswitchb-mode):
4522 * jka-cmpr-hook.el (auto-compression-mode):
4523 * linum.el (linum-mode):
4524 * longlines.el (longlines-mode):
4525 * master.el (master-mode):
4526 * mb-depth.el (minibuffer-depth-indicate-mode):
4527 * menu-bar.el (menu-bar-mode):
4528 * minibuf-eldef.el (minibuffer-electric-default-mode):
4529 * mouse-sel.el (mouse-sel-mode):
4530 * msb.el (msb-mode):
4531 * mwheel.el (mouse-wheel-mode):
4532 * outline.el (outline-minor-mode):
4533 * paren.el (show-paren-mode):
4534 * recentf.el (recentf-mode):
4535 * reveal.el (reveal-mode, global-reveal-mode):
4536 * rfn-eshadow.el (file-name-shadow-mode):
4537 * ruler-mode.el (ruler-mode):
4538 * savehist.el (savehist-mode):
4539 * scroll-all.el (scroll-all-mode):
4540 * scroll-bar.el (scroll-bar-mode):
4541 * server.el (server-mode):
4542 * shell.el (shell-dirtrack-mode):
4543 * simple.el (auto-fill-mode, transient-mark-mode)
4544 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4545 (line-number-mode, column-number-mode, size-indication-mode)
4546 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4547 * strokes.el (strokes-mode):
4548 * time.el (display-time-mode):
4549 * t-mouse.el (gpm-mouse-mode):
4550 * tool-bar.el (tool-bar-mode):
4551 * tooltip.el (tooltip-mode):
4552 * type-break.el (type-break-mode-line-message-mode)
4553 (type-break-query-mode):
4554 * view.el (view-mode):
4555 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4556 (global-whitespace-mode, global-whitespace-newline-mode):
4557 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4558
a3839de2
SM
4559 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4560 Fix autogenerated docstring.
06e21633 4561
5214e501
JL
45622011-10-19 Juri Linkov <juri@jurta.org>
4563
4564 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4565 by checking environment variables "DESKTOP_SESSION" and
4566 "XDG_CURRENT_DESKTOP". (Bug#9779)
4567
195f8db9
JL
45682011-10-19 Juri Linkov <juri@jurta.org>
4569
4570 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4571 (browse-url-chromium-program, browse-url-chromium-arguments):
4572 New defcustoms.
4573 (browse-url-default-browser): Check for `browse-url-chromium' and
4574 call `browse-url-chromium-program'.
4575 (browse-url-chromium): New command. (Bug#9779)
4576
343a34ff
JB
45772011-10-18 Juanma Barranquero <lekktu@gmail.com>
4578
4579 * facemenu.el (list-colors-duplicates): On Windows, detect more
4580 duplicates by assuming that only colors matching "^System" are
4581 special "system colors". (Bug#9722)
4582
6978a151
SM
45832011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4586 to distinguish the author from the committer.
4587
6a80b297
MA
45882011-10-18 Michael Albinus <michael.albinus@gmx.de>
4589
4590 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4591
b31a5677
JK
45922011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4593
4594 * international/mule.el (sgml-html-meta-auto-coding-function):
4595 Add support for detecting encoding in HTML5 specified only as
4596 <meta charset="UTF-8">. Implementation just makes http-equiv and
4597 content-type parts from HTML4 encoding string optional. (Bug#9716)
4598
80c6d77f
GM
45992011-10-18 Glenn Morris <rgm@gnu.org>
4600
4601 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4602
08b0fee8
CY
46032011-10-18 Chong Yidong <cyd@gnu.org>
4604
4605 * faces.el (cursor): Doc fix.
4606
67e729a5
CY
46072011-10-17 Chong Yidong <cyd@gnu.org>
4608
4609 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4610
343a34ff 46112011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4612
4613 * dirtrack.el (dirtrack): Support shell buffers with path
4614 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4615
0bc06380
TZ
46162011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4617
4618 * json.el: Bump version to 1.3 and note change in History.
4619 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4620
8b79f3e0
SM
46212011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4622
5a7c536b
SM
4623 * comint.el (comint-insert-input, comint-send-input)
4624 (comint-get-old-input-default, comint-backward-matching-input)
4625 (comint-next-prompt): Use nil instead of `input' for field property of
4626 past user input (bug#114).
4627
96a8a0df
SM
4628 * minibuffer.el (completion--replace): Inherit surrounding properties
4629 (bug#114).
4630 (minibuffer-complete-and-exit): Use it.
4631
8b79f3e0
SM
4632 * comint.el (comint--table-subvert): Quote the all-completions output
4633 (bug#9160).
4634
b8f7ff0d
MR
46352011-10-17 Martin Rudalics <rudalics@gmx.at>
4636
8b79f3e0 4637 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4638
b8f7ff0d 4639 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4640 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4641 entries and separate them from frame entries.
4642
c235b555
GM
46432011-10-15 Glenn Morris <rgm@gnu.org>
4644
4645 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4646 Doc fixes.
4647
6bbfa6e1
CY
46482011-10-15 Chong Yidong <cyd@stupidchicken.com>
4649
8b79f3e0
SM
4650 * net/network-stream.el (network-stream-open-starttls):
4651 Improve detection of failure due to lack of TLS support.
ec5c990d 4652
6bbfa6e1
CY
4653 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4654 putting the input text in front and in bold.
4655
98488977
SM
46562011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4657
3d1337be
SM
4658 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4659
ee0b45e4
SM
4660 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4661 empty buffer.
4662
98488977
SM
4663 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4664 unread-command-events rather than pushing yet-another event.
4665
186f4720
EZ
46662011-10-14 Eli Zaretskii <eliz@gnu.org>
4667
4668 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4669 the explanation of the possible choices. Make the options passed
4670 to completing-read shorter.
4671
8b7a997c
AM
46722011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4673
4674 * textmodes/flyspell.el (flyspell-large-region): Make sure
4675 extended character mode is used if defined (Bug#1339).
4676
12587bbb
EZ
46772011-10-13 Eli Zaretskii <eliz@gnu.org>
4678
4679 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4680 character info for LRE, LRO, RLE, and RLO characters by appending
4681 an invisible PDF.
12587bbb 4682
bad41229
SM
46832011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4686 even in case of error; add debug spec; simplify data flow.
4687 (with-timeout-handler): Remove.
4688
28dbc92f
MA
46892011-10-12 Michael Albinus <michael.albinus@gmx.de>
4690
4691 Fix Bug#6019, Bug#9315.
4692
4693 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4694 complete `buffer-file-name', the local file name part could look
4695 remotely (for example on VMS).
4696
4697 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4698 `tramp-run-real-handler'.
4699 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4700 already quoted by '"'.
4701
4702 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4703 Let `file-name-handler-alist' be nil, the local file name part
4704 could look remotely (for example on VMS).
4705
e1b0b23a
SM
47062011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4709 from here...
4710 (flyspell-post-command-hook): ...to here.
4711
a120bde9
SM
47122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4715 if not needed.
4716 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4717 using completion. Protect against "slow" callers.
4718 Remove the "message hack".
4719
7ce7717b
JL
47202011-10-11 Juri Linkov <juri@jurta.org>
4721
4722 * isearch.el (isearch-lazy-highlight-word): New variable.
4723 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4724 Use it. (Bug#9727)
4725
c02ee9d6
GM
47262011-10-11 Glenn Morris <rgm@gnu.org>
4727
4728 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4729 like f90-previous-statement does.
4730
93e616fd 47312011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4732
1f190e73 4733 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4734 only in interactive use, to avoid error.
4735
af7b6078
SM
47362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * minibuffer.el (completion-file-name-table): Fix last change,
4739 i.e. ignore normal errors but not the other ones.
4740
0563dae9
MR
47412011-10-10 Martin Rudalics <rudalics@gmx.at>
4742
4743 * window.el (special-display-buffer-names)
4744 (special-display-regexps): Remove some remnants of earlier
4745 changes from doc-strings.
366ca7f3
MR
4746 (quit-windows-on): New function.
4747
4748 * vc/vc.el (vc-revert, vc-rollback):
4749 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4750 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4751 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4752
49677495
MR
47532011-10-09 Martin Rudalics <rudalics@gmx.at>
4754
4755 * window.el (frame-auto-hide-function): Add version tag.
4756 (Bug#9699)
4757
56f2d1e1
MA
47582011-10-09 Michael Albinus <michael.albinus@gmx.de>
4759
4760 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4761 condition.
4762
112a6592
LL
47632011-10-09 Leo Liu <sdl.web@gmail.com>
4764
4765 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4766 (Bug#9701)
4767
0812589b
GM
47682011-10-08 Glenn Morris <rgm@gnu.org>
4769
4770 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4771 before the first code statement zero indent. (Bug#9690)
4772
b2b0776e
CY
47732011-10-08 Chong Yidong <cyd@stupidchicken.com>
4774
4775 * simple.el (count-words-region): Always count in the region.
4776 Report the number of lines and characters too.
4777 (count-words): New command, which counts in the buffer if the
4778 region is inactive, as count-words-region used to.
4779 (count-words--message): New function. Handle plurals.
4780 (count-lines-region): Make it an alias for count-words-region.
4781
4782 * bindings.el (esc-map): Replace count-lines-region with
4783 count-words-region.
4784
c557cd6b
MR
47852011-10-08 Martin Rudalics <rudalics@gmx.at>
4786
4787 * window.el (window--delete): Delete dedicated frame
4788 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4789 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4790
61a57ef4 47912011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4792
3a7d293b 4793 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4794
c3833279
CY
47952011-10-07 Chong Yidong <cyd@stupidchicken.com>
4796
4797 * bindings.el ([M-left],[M-right]): Bind to left-word and
4798 right-word respectively.
4799
21ce8245
GM
48002011-10-07 Glenn Morris <rgm@gnu.org>
4801
4802 * cus-start.el (debug-on-quit): Fix custom type.
4803
6d823bb2
LMI
48042011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4805
0181e193
LMI
4806 * subr.el (define-key-after): Clarify that the function is not
4807 useful for non-menu keymaps.
4808
6d823bb2
LMI
4809 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4810
8e3459ce 48112011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4812
21ce8245 4813 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4814 in current minibuffer (Fix bug with recursive minibuffers).
4815
a1c2d21e
CY
48162011-10-06 Chong Yidong <cyd@stupidchicken.com>
4817
4818 * progmodes/gdb-mi.el (gdb): Doc fix.
4819
5a4cf282
MR
48202011-10-05 Martin Rudalics <rudalics@gmx.at>
4821
4822 * window.el (frame-auto-hide-function): New option replacing
4823 frame-auto-delete. Suggested by Stefan Monnier.
4824 (window--delete): Call frame-auto-hide-function instead of
4825 investigating frame-auto-delete.
c96111ea
MR
4826 (window-point-1, set-window-point-1): New functions.
4827 (window-in-direction, record-window-buffer, window-state-get-1)
4828 (display-buffer-record-window): Use window-point-1 instead of
4829 window-point.
4830 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4831
9854542e
SM
48322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4835
8943cfb0
GM
48362011-10-05 Glenn Morris <rgm@gnu.org>
4837
4838 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4839 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4840
647ab967
LL
48412011-10-05 Leo Liu <sdl.web@gmail.com>
4842
4843 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4844 works with buffer object.
4845
3ddfbced
SM
48462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * mpc.el (mpc-tool-bar-map): Add labels.
4849
bdfa5dd2
GM
48502011-10-04 Glenn Morris <rgm@gnu.org>
4851
4852 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4853
0e2070b5
MR
48542011-10-04 Martin Rudalics <rudalics@gmx.at>
4855
4856 * window.el (window--delete): New function.
4857 (frame-auto-delete): Resuscitate option.
4858 (bury-buffer, replace-buffer-in-windows)
4859 (quit-window): Rewrite using window--delete.
4860 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4861 Pass display-buffer-mark-dedicated to window--display-buffer-2
4862 (Bug#9639).
4863
3dc61a09
SM
48642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4865
915a9b64
SM
4866 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4867 returns a list (bug#9554). Add remote file name completion.
4868 * comint.el (comint--table-subvert): Curry and get quote&unquote
4869 functions as arguments.
4870 (comint--complete-file-name-data): Adjust call accordingly.
4871 * pcomplete.el (pcomplete--table-subvert): Remove.
4872 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4873
3dc61a09
SM
4874 * minibuffer.el (completion-table-case-fold): Use currying.
4875 (completion--styles-type, completion--cycling-threshold-type):
4876 New constants.
4877 (completion-styles, completion-category-overrides)
4878 (completion-cycle-threshold): Use them.
4879 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4880 completion-table-case-fold.
4881
8ea0a993
SB
48822011-10-03 Stephen Berman <stephen.berman@gmx.net>
4883
4884 * minibuffer.el (completion-category-overrides): Fix type of styles
4885 and add more user friendly tags (bug#9660).
4886
8c24b7f6
SM
48872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4890 (mule-input-method-string): New widget.
4891 (default-input-method, language-info-custom-alist): Use it.
4892
428fe61a
SM
48932011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4894
32c1fffd
SM
4895 * pcomplete.el: Require comint.
4896 (pcomplete--common-suffix): Remove.
4897 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4898 (pcomplete--table-subvert): Sync with comint--table-subvert.
4899 (pcomplete--entries): Use comint-completion-file-name-table.
4900 * comint.el (comint-unquote-filename): Simplify.
4901 (comint-completion-file-name-table): New function (bug#9616).
4902 (comint--complete-file-name-data): Use it.
4903
428fe61a
SM
4904 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4905 (pcmpl-gnu-tar-buffer): Remove.
4906 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4907 around. Make sure pcomplete-suffix-list is only changed temporarily.
4908 Don't look inside the tar's file if it's too large.
428fe61a 4909
04c52e2f
CY
49102011-10-01 Chong Yidong <cyd@stupidchicken.com>
4911
ce3cefcc
CY
4912 * cus-edit.el (custom-mode-map):
4913 * epa.el (epa-key-list-mode-map):
4914 * man.el (Man-mode-map):
4915 * startup.el (splash-screen-keymap):
4916 * simple.el (special-mode-map): Use scroll-up-command and
4917 scroll-down-command.
4918
4919 * progmodes/idlw-help.el (idlwave-help-mode-map):
4920 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4921 * net/newst-plainview.el (newsticker-mode-map):
4922 * emulation/ws-mode.el (wordstar-mode-map):
4923 * emulation/vi.el (vi-com-map):
4924 * calc/calc-graph.el (calc-graph-show-dumb):
4925 * term/sun.el (terminal-init-sun):
4926 * term/ns-win.el (global-map):
4927 * progmodes/grep.el (grep-mode-map):
4928 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4929 * mail/rmail.el (rmail-mode-map):
4930 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4931
04c52e2f
CY
4932 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4933 custom-safe-themes as special.
4934
79adf8c8
JD
49352011-10-01 Julien Danjou <julien@danjou.info>
4936
4937 * notifications.el (notifications-notify): Fix docstring.
4938
63bd50d3
PS
49392011-10-01 Per Starbäck <per@starback.se>
4940
4941 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4942
199e4c7e
MR
49432011-09-30 Martin Rudalics <rudalics@gmx.at>
4944
4945 * startup.el (command-line-1): Fix last fix by inserting
4946 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4947 (Bug#9605) and (Bug#9636)
199e4c7e 4948
fe5f08dd
EZ
49492011-09-29 Eli Zaretskii <eliz@gnu.org>
4950
4951 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4952 window is hscrolled, move by logical lines. (Bug#9607)
4953 (line-move-visual): Update the doc string to the above effect.
4954
b5516bbd
MR
49552011-09-29 Martin Rudalics <rudalics@gmx.at>
4956
ccee00c0
MR
4957 * window.el (display-buffer-record-window): When WINDOW is the
4958 selected window use `point' instead of `window-point'. (Bug#9626)
4959
b5516bbd
MR
4960 * startup.el (command-line-1): Use insert-before-markers when
4961 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4962
b5516bbd
MR
4963 * help.el (help-window): Remove variable.
4964
52aa0014
GM
49652011-09-29 Glenn Morris <rgm@gnu.org>
4966
4967 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4968
df9a7357
JB
49692011-09-29 Juanma Barranquero <lekktu@gmail.com>
4970
4971 * descr-text.el (describe-char-categories): Accept category
4972 descriptions more than one line long.
4973
a8406c20
SM
49742011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4975
88d9610c
SM
4976 * simple.el (delete-trailing-whitespace): Fix last change.
4977
a5daf810
SM
4978 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4979 Don't confuse "y => 3" as the beginning of a `y' operation.
4980
a8406c20
SM
4981 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4982 object has more than 4 slots (bug#9613).
4983
a239d4e9
JB
49842011-09-28 Juanma Barranquero <lekktu@gmail.com>
4985
4986 * subr.el (with-output-to-temp-buffer):
4987 * net/quickurl.el (quickurl, quickurl-browse-url):
4988 Fix typos in docstrings.
4989
693fbdb6
EZ
49902011-09-27 Eli Zaretskii <eliz@gnu.org>
4991
4992 * minibuffer.el (completion-styles)
4993 (completion-category-overrides): Cross reference each other in doc
4994 strings.
4995
8b457e28
GM
49962011-09-27 Glenn Morris <rgm@gnu.org>
4997
4998 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4999 to split-string. (Bug#9606)
5000
85a16208
LMI
50012011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5002
5003 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5004 (bug#9615).
5005
502f9ebd
CY
50062011-09-27 Chong Yidong <cyd@stupidchicken.com>
5007
5008 * emacs-lisp/package.el (list-packages): Fix echo area message.
5009
7690bdea
LL
50102011-09-27 Leo Liu <sdl.web@gmail.com>
5011
5012 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5013
e2ee6f30
MA
50142011-09-25 Michael Albinus <michael.albinus@gmx.de>
5015
5016 * net/dbus.el (dbus-unregister-object): Don't release services for
5017 registered signals. (Bug#9581)
5018
f3f98342
TZ
50192011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5020
5021 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5022 function that picks between cfengine 2 and 3 support
5023 automatically. Update docs accordingly.
5024
dd7aa8dd
KH
50252011-09-22 Kenichi Handa <handa@m17n.org>
5026
5027 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5028 ZERO.
5029 (indian-itrans-v5-table-for-tamil): New variable.
5030 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5031
3f2b07f8
KM
50322011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5033
5034 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5035 that's true if the current command involved collapsing of text.
5036 It's reset to false at the beginning of the next command.
5037 (allout-post-command-business): Move the cursor to the beginning
5038 of entry if the cursor is hidden and collapsing activity just
5039 happened.
5040
371d6a61
CY
50412011-09-24 Chong Yidong <cyd@stupidchicken.com>
5042
5043 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5044 tracking (Bug#9541).
5045
2ac2721a
UJ
50462011-09-24 Ulf Jasper <ulf.jasper@web.de>
5047
5048 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5049 (newsticker-show-news): Automatically load html rendering package
5050 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5051 because w3m-fill-column is let-bound" and the error "Symbol's value
5052 as variable is void: w3m-fill-column".
2ac2721a 5053
fac7ae53
MA
50542011-09-24 Michael Albinus <michael.albinus@gmx.de>
5055
5056 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5057 Release services only if they are defined. (Bug#9581)
5058
e08b633b
RS
50592011-09-23 Richard Stallman <rms@gnu.org>
5060
e488d29c
RS
5061 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5062 distinguish start of paragraph from start of its text.
5063
19c38752
RS
5064 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5065
e08b633b
RS
5066 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5067 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5068 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5069
0a39f27e
AS
50702011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5071
5072 * international/mule-diag.el (mule-diag): Insert a newline after
5073 each fontset description.
5074
db4e950d
SM
50752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * simple.el (delete-trailing-whitespace):
5078 Document last change; simplify.
5079
eca3f3ea
PW
50802011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5081
d68e189a
PW
5082 * simple.el (delete-trailing-whitespace): Also delete
5083 extra newlines at the end of the buffer.
5084
eca3f3ea
PW
5085 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5086 (picture-newline): Use forward-line so as to ignore fields.
5087
01c157cc
SM
50882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * subr.el (with-wrapper-hook): Fix edebug spec.
5091
022de23e
LMI
50922011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5093
5094 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5095 (bug#4538).
5096
91683089
MA
50972011-09-23 Michael Albinus <michael.albinus@gmx.de>
5098
eca3f3ea
PW
5099 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5100 Fix nasty bug using wrong cached values.
91683089 5101
5bdd6fa4
AM
51022011-09-23 Alan Mackenzie <acm@muc.de>
5103
5104 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5105
97adfb97
CY
51062011-09-23 Chong Yidong <cyd@stupidchicken.com>
5107
5108 * window.el (pop-to-buffer): Ensure right window is selected if we
5109 chose another frame.
5110
d4ef2b50
EZ
51112011-09-22 Eli Zaretskii <eliz@gnu.org>
5112
5113 * simple.el (what-cursor-position): Use get-char-property-change
5114 and next-single-char-property-change, to be able to show display
5115 properties that come from overlays as well as text properties.
5116
72258fe5
CY
51172011-09-22 Chong Yidong <cyd@stupidchicken.com>
5118
5119 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5120
5121 * cmuscheme.el (run-scheme, switch-to-scheme):
5122 * cus-edit.el (customize-group, custom-buffer-create)
5123 (customize-browse):
5124 * info.el (info):
5125 * shell.el (shell):
5126 * mail/sendmail.el (mail):
5127 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5128
8f098516
RS
51292011-09-22 Richard Stallman <rms@gnu.org>
5130
5131 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5132 move back only to line beg, don't move back over blank lines.
5133
e74f1bb6
MA
51342011-09-22 Michael Albinus <michael.albinus@gmx.de>
5135
5136 * files.el (copy-directory): Set directory attributes only in case
5137 they could be retrieved from the source directory. (Bug#9565)
5138
bfeef8b6
DK
51392011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5140
5141 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5142 (hs-find-block-beginning, hs-hide-level-recursive):
5143 Ignore strings as well as comments. (Bug#9502)
5144
7e423bb8
AS
51452011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5146
5147 * progmodes/sql.el (sql-comint-postgres):
5148 Convert port number to a string. (Bug#9566)
5149
b4d72fcf
MR
51502011-09-22 Martin Rudalics <rudalics@gmx.at>
5151
5152 * window.el (quit-window): Undedicate window when switching to
5153 previous buffer. Reported by Thierry Volpiatto
5154 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5155 (special-display-popup-frame): When popping up a new frame reset
5156 its previous buffers to nil. Simplify code.
b4d72fcf 5157
a7b88dc6
MA
51582011-09-21 Michael Albinus <michael.albinus@gmx.de>
5159
5160 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5161 and process filter, as done also in `shell-command'.
5162
cf4eacfd
MR
51632011-09-21 Martin Rudalics <rudalics@gmx.at>
5164
eca3f3ea 5165 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5166 Call set-window-start with NOFORCE argument t.
5167 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5168 (quit-window): Reword doc-string. Handle new format of
5169 quit-restore parameter. Don't delete window if it has a
5170 previous buffer we can show instead of the present one.
5171 (display-buffer-record-window): Rewrite using a new format for
5172 the quit-restore window parameter
5173 (special-display-popup-frame, display-buffer-same-window)
5174 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5175 (display-buffer-pop-up-window, display-buffer-use-some-window):
5176 Adapt symbol passed to display-buffer-record-window.
5177 * help.el (help-window-setup): Handle new format of quit-restore
5178 parameter.
5179
8d28cb95
SM
51802011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5181
94ab793f
SM
5182 * faces.el (face-list): Fix docstring (bug#9564).
5183
8d28cb95
SM
5184 * window.el (display-buffer--action-function-custom-type):
5185 Don't include internal functions in the Custom interface.
5186
3820edeb
JL
51872011-09-20 Juri Linkov <juri@jurta.org>
5188
5189 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5190 (Info-forward-node, Info-backward-node, Info-next-preorder)
5191 (Info-last-preorder): Use it. (Bug#9528)
5192
5147931d
JL
51932011-09-20 Juri Linkov <juri@jurta.org>
5194
5195 * info.el (Info-last-preorder): Visit last menu item only when
5196 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5197
cf499a1a
JD
51982011-09-20 Julien Danjou <julien@danjou.info>
5199
5200 * password-cache.el (password-cache-remove): Remove entries even if the
5201 value is nil, so that password with a nil value (negative caching) is
5202 possible to invalidate.
5203
f84e2fe2
LM
52042011-09-20 Lawrence Mitchell <wence@gmx.li>
5205
5206 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5207 all whitespace around breakpoint. (Bug#9553)
5208 (f90-find-breakpoint): Only break at whitespace inside a comment.
5209
78054a46
SM
52102011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * minibuffer.el (completion-file-name-table): Keep track of errors.
5213 (completion-table-with-predicate): Handle the case where pred1 is nil.
5214 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5215
345083b2
SM
52162011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5217
e24e27be
SM
5218 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5219 (debugger-return-value): Signal an error if the debugging context does
5220 not await any return value.
5221
345083b2
SM
5222 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5223 * image-mode.el (image-toggle-display-text)
5224 (image-toggle-display-image): Stay away from evil `intangible'.
5225
08d355e3
LL
52262011-09-19 Leo Liu <sdl.web@gmail.com>
5227
5228 * replace.el (occur-revert-arguments): Make it permanent-local.
5229 (occur-mode): Don't call font-lock-defontify.
5230
f01da43f
CY
52312011-09-19 Chong Yidong <cyd@stupidchicken.com>
5232
5233 * net/ldap.el (ldap-search-internal): Don't push empty search
5234 result (Bug#9508).
5235
b6072fa6
SM
52362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5239
443d6696
MA
52402011-09-19 Michael Albinus <michael.albinus@gmx.de>
5241
5242 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5243 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5244
7cc6e154
JL
52452011-09-18 Juri Linkov <juri@jurta.org>
5246
5247 * buff-menu.el (Buffer-menu-mode-map):
5248 * dired.el (dired-mode-map):
5249 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5250 (lisp-interaction-mode-map):
5251 * emacs-lisp/package.el (package-menu-mode-map):
5252 * epa.el (epa-key-list-mode-map):
5253 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5254 (menu-bar-options-menu):
5255 * outline.el (outline-mode-menu-bar-map):
5256 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5257 * vc/vc-dir.el (vc-dir-menu-map):
5258 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5259 Capitalize non-function content words in menu item strings.
5260
5261 * dired.el (dired-mode-map): Add menu item for
5262 `image-dired-dired-toggle-marked-thumbs'.
5263
80302a81
JL
52642011-09-18 Juri Linkov <juri@jurta.org>
5265
5266 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5267 to `isearch-case-fold-search' and restore its original value
5268 after the `isearch-mode' call.
5269
46c5cf66
JL
52702011-09-18 Juri Linkov <juri@jurta.org>
5271
5272 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5273 because `zgrep' returns 1 for successful matches (bug#9226).
5274
d18b513b
JL
52752011-09-18 Juri Linkov <juri@jurta.org>
5276
5277 * info.el (Info-extract-menu-node-name): Check the second match
5278 for empty string (second test-case of bug#9528).
5279 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5280 intermediate nodes to the history (first test-case of bug#9528).
5281
72753f87
JL
52822011-09-18 Juri Linkov <juri@jurta.org>
5283
5284 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5285 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5286
c9384295
JL
52872011-09-18 Juri Linkov <juri@jurta.org>
5288
1154d12e
JB
5289 * info.el (Info-file-supports-index-cookies):
5290 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5291 outputs one more line for long file names (bug#4142).
c9384295 5292
d473dce8
CY
52932011-09-18 Chong Yidong <cyd@stupidchicken.com>
5294
5295 * newcomment.el (comment-normalize-vars): If prompting for
5296 comment-start, set comment-start-skip too (Bug#8424).
5297
2176854d
JB
52982011-09-18 Johan Bockgård <bojohan@gnu.org>
5299
5300 * icomplete.el: Fix previous fix of Bug#5849.
5301 (icomplete-mode): Don't set completion-show-inline-help.
5302 (icomplete-minibuffer-setup): Set completion-show-inline-help
5303 locally during icompletion.
5304
3aace4e4
CY
53052011-09-18 Chong Yidong <cyd@stupidchicken.com>
5306
c940224f
CY
5307 * woman.el (woman2-process-escapes): Don't delete unrecognized
5308 escapes (Bug#7843).
5309
3aace4e4
CY
5310 * files.el (inhibit-first-line-modes-regexps): Add image files.
5311 (hack-local-variables-prop-line): Return nil for malformed
5312 prop-lines (Bug#9044).
5313
710dec63
MA
53142011-09-18 Michael Albinus <michael.albinus@gmx.de>
5315
5316 * net/tramp.el (top): Don't require 'shell.
5317 (tramp-methods): Fix docstring.
5318 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5319 Return complete remote file name. Handle "smb" case.
5320 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5321 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5322
5323 * net/tramp-compat.el (top): Require 'shell.
5324
5325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5326 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5327 `tramp-current-host'.
5328 (tramp-get-remote-tmpdir): Remove.
5329
5330 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5331 `tramp-tmpdir' entries.
5332 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5333 (tramp-smb-handle-file-attributes): Ignore errors.
5334 (tramp-smb-wait-for-output): Check also for process end.
5335
5d5ac8ec
LMI
53362011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5337
5338 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5339 when sending QUIT (bug#9312).
5340
8c0f49f0
CY
53412011-09-17 Chong Yidong <cyd@stupidchicken.com>
5342
5343 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5344 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5345 occur-mode-display-occurrence.
5346 (occur-edit-mode): Add usage message.
5347 (occur-cease-edit): New command.
5348 (occur-after-change-function): Use text properties to find the
5349 position of the prefix text.
5350 (occur-engine): Set stickiness of prefix text properties.
5351
8f1383f7
GM
53522011-09-17 Glenn Morris <rgm@gnu.org>
5353
5354 * progmodes/etags.el (complete-tag):
5355 Fix call to completion-in-region. (Bug#9526)
5356
744ba0e3
JL
53572011-09-17 Juri Linkov <juri@jurta.org>
5358
5359 * textmodes/ispell.el (ispell-word): Add to the error message
5360 the word, ispell program name and current dictionary (bug#9121).
5361 (ispell-tex-arg-end): Capitalize "error" in the error message.
5362
d9bbf400
AS
53632011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5364
5365 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5366 check. (Bug#4251)
5367
8da11505
JL
53682011-09-17 Juri Linkov <juri@jurta.org>
5369
5370 * window.el (window-safe-min-height, window-safe-min-width):
5371 Fix typos (followup to bug#9522).
5372
a91adc7e
SJ
53732011-09-17 Sven Joachim <svenjoac@gmx.de>
5374
5375 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5376
064f328a
EZ
53772011-09-16 Eli Zaretskii <eliz@gnu.org>
5378
5379 * simple.el (line-move): If goal-column is set, move by logical
5380 lines, not by display lines. (Bug#971)
5381 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5382 to reflect the above change.
5383
e69df516
SM
53842011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * image.el (imagemagick-register-types): Use regexp-opt.
5387
cbb0f9ab
CY
53882011-09-15 Chong Yidong <cyd@stupidchicken.com>
5389
5390 * window.el (display-buffer-base-action): Rename from
5391 display-buffer-default-action. Make default value empty.
5392 (display-buffer-overriding-action): Convert to defvar.
5393 (display-buffer-fallback-action): New var.
5394
25322144
CY
53952011-09-15 Chong Yidong <cyd@stupidchicken.com>
5396
5397 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5398 declaration.
5399 (package--add-to-archive-contents): If there is a duplicate entry
5400 with an older version, remove it.
5401 (package-menu-mark-delete, package-menu-mark-install)
5402 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5403 (package-menu-mark-obsolete-for-deletion):
5404 Use package-menu-get-status instead of a regexp search.
25322144
CY
5405 (package-menu-get-status): Use tabulated-list-entry.
5406 (package-menu-mark-upgrades): New command.
d770725a 5407 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5408 (package-menu-execute): Do installation before deletion.
5409 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5410 instead of checking major-mode.
5411 (package-menu--find-upgrades): New function.
5412
7520339c
LMI
54132011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5414
5415 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5416 passwords in the log buffer.
65a046c4
LMI
5417 (smtpmail-process-filter): Update the process marker so that the
5418 "broken by peer" status message is inserted in the right place.
7520339c 5419
d3c30954
SM
54202011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5421
3fe48822
SM
5422 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5423 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5424 bibtex-completion-at-point-function.
5425 (bibtex-completion-at-point-function): Use them.
5426
1b8b3954
SM
5427 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5428
d3c30954
SM
5429 * mpc.el (mpc-constraints-tag-lookup): New function.
5430 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5431 also to browser "album|playlist".
5432
72779976
JL
54332011-09-14 Juri Linkov <juri@jurta.org>
5434
5435 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5436 (isearch-edit-string): Use length of `isearch-string' when
5437 `isearch-fail-pos' returns nil.
5438 (isearch-message): Remove duplicate code and call
5439 `isearch-fail-pos' with arg `t'.
5440
a0bf2bcd
CY
54412011-09-14 Chong Yidong <cyd@stupidchicken.com>
5442
17bb0a2d
CY
5443 * replace.el (occur-mode-goto-occurrence): Don't force using other
5444 window (Bug#9499).
5445
a0bf2bcd
CY
5446 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5447
f678e0b6
MR
54482011-09-14 Martin Rudalics <rudalics@gmx.at>
5449
5450 * window.el (display-buffer-window): Remove.
5451 (display-buffer-record-window): Use help-setup window parameter
5452 instead of variable display-buffer-window.
5453 (display-buffer-function, special-display-buffer-names)
5454 (special-display-function): Mention help-setup parameter instead
5455 of display-buffer-window in doc-string.
d3c30954
SM
5456 * help.el (help-window-setup): New argument help-window.
5457 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5458 Reword some messages.
5459 (with-help-window): Pass window used for displaying the buffer
5460 to help-window-setup. Don't set display-buffer-window.
5461
8e39b2e8
GM
54622011-09-13 Glenn Morris <rgm@gnu.org>
5463
5464 * emacs-lisp/debug.el (debugger-make-xrefs):
5465 Preserve point. (Bug#9462)
5466
85e9c04b
CY
54672011-09-13 Chong Yidong <cyd@stupidchicken.com>
5468
5469 * window.el (window-deletable-p): Use next-frame.
5470
1b36ed6a
MR
54712011-09-13 Martin Rudalics <rudalics@gmx.at>
5472
5473 * window.el (window-auto-delete): Remove.
5474 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5475 dedication and previous buffers.
1b36ed6a
MR
5476 (switch-to-prev-buffer): Don't delete window.
5477 (delete-windows-on): Delete a window's frame if and only if the
5478 window is dedicated.
5479 (replace-buffer-in-windows): Delete buffer's window or frame if
5480 and only if window is dedicated.
5481 (quit-window): Handle quit-restore as before last change.
4d61f28d 5482 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5483
ef8ef9fb
CY
54842011-09-13 Chong Yidong <cyd@stupidchicken.com>
5485
5486 * window.el (window-deletable-p): Never delete the last frame on a
5487 given terminal.
5488
b2cba41e
GM
54892011-09-13 Glenn Morris <rgm@gnu.org>
5490
5491 * help.el (describe-key-briefly): Copy previous standard-output change.
5492
51553db6 54932011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5494
5495 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5496
b7556719
GM
54972011-09-13 Glenn Morris <rgm@gnu.org>
5498
5499 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5500 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5501
64b51947
CY
55022011-09-12 Chong Yidong <cyd@stupidchicken.com>
5503
5504 * dired-aux.el (dired-mark-read-string): Don't return default
5505 value on empty input (Bug#9361).
5506 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5507 Omit initial minibuffer contents.
5508 (dired-do-chmod): Signal an error on empty input.
5509 (dired-mark-read-string): Don't return default on empty input.
5510
5511 * files.el (file-modes-symbolic-to-number): Doc fix.
5512
393a301e
SM
55132011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * international/mule-cmds.el (ucs-completions): Remove.
5516 (read-char-by-name): Use complete-with-action instead; add metadata.
5517
fa5660f9
CY
55182011-09-11 Chong Yidong <cyd@stupidchicken.com>
5519
5520 * window.el (display-buffer--action-function-custom-type)
5521 (display-buffer--action-custom-type): New vars.
5522 (display-buffer-alist, display-buffer-default-action)
5523 (display-buffer-overriding-action): Add defcustom types.
5524
4a592f66
CY
5525 * frame.el (delete-other-frames): Doc fix (Bug#276).
5526
73d56dbd
LMI
55272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5528
5529 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5530
37ac18a3
CY
55312011-09-11 Chong Yidong <cyd@stupidchicken.com>
5532
5533 Change modes that used same-window-* vars to use switch-to-buffer.
5534
5535 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5536 Use switch-to-buffer.
5537
5538 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5539 (customize-browse, custom-buffer-create-other-window):
5540 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5541
5542 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5543 (Info-prev, Info-up, Info-speedbar-goto-node)
5544 (info-display-manual): Use switch-to-buffer.
5545 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5546
5547 * mail/sendmail.el (mail): Use switch-to-buffer.
5548 (mail-recover): Use switch-to-buffer-other-window.
5549
5550 * cmuscheme.el (run-scheme, switch-to-scheme):
5551 * ielm.el (ielm):
5552 * shell.el (shell):
5553 * net/rlogin.el (rlogin):
5554 * net/telnet.el (telnet, rsh):
5555 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5556
10195bd6
AS
55572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5558
5559 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5560
b322f63a
LMI
55612011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5562
39d7fed6
LMI
5563 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5564 so don't mention it (bug#9301).
ba5a81f1 5565 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5566
ee0e9f11
LMI
5567 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5568 match `x', `w32' and `ns', like the manual says (bug#9029).
5569
0b1c89c1 5570 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5571 (process-kill-buffer-query-function): Mention the buffer name in
5572 the query.
0b1c89c1 5573
77549ea8
LMI
5574 * image-mode.el (image-next-line): The line parameter is mandatory
5575 (bug#9258).
5576
803ef892
LMI
5577 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5578 which can be useful (bug#9301).
5579
12980837
LMI
5580 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5581
91054f8f
LMI
5582 * subr.el (match-string): Mention that the current buffer should
5583 be the same as the search was done in (bug#9282).
5584
b322f63a
LMI
5585 * facemenu.el: Disable the remove-* commands if the mark isn't
5586 active (bug#9162).
5587
3199b96f
CY
55882011-09-10 Chong Yidong <cyd@stupidchicken.com>
5589
5590 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5591 of display-buffer.
5592 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5593
5594 * replace.el (occur-mode-goto-occurrence)
5595 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5596 and display-buffer.
5597
5598 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5599 display-buffer.
5600
5601 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5602 special-display and same-window variables.
5603 (mail-other-window): Use switch-to-buffer-other-window.
5604 (mail-other-frame): USe switch-to-buffer-other-frame.
5605
393a301e
SM
5606 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5607 Use display-buffer-other-frame.
3199b96f
CY
5608 (gdb-display-gdb-buffer): Use pop-to-buffer.
5609
5610 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5611
5612 * progmodes/python.el: Don't set same-window-buffer-names.
5613
5614 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5615
5616 * window.el (display-buffer-alist): Add *Python*.
5617
8319e0bf
CY
56182011-09-10 Chong Yidong <cyd@stupidchicken.com>
5619
5620 * window.el (display-buffer-alist): Add entry for buffers
5621 previously handled same-window-*.
5622 (display-buffer-alist, display-buffer-default-action)
5623 (display-buffer-overriding-action): Mark as risky.
5624 (display-buffer-alist): Document action function changes.
5625 (display-buffer--same-window-action)
5626 (display-buffer--other-frame-action): New variables.
5627 (switch-to-buffer, display-buffer-other-frame): Use them.
5628 (display-buffer): Rename reuse-frame entry to reusable-frames.
5629 (display-buffer-reuse-selected-window): Function deleted.
5630 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5631 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5632 (display-buffer-special): New function.
5633 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5634 display-buffer-reuse-or-pop-window. Split off special-display
5635 part into display-buffer-special.
5636 (display-buffer-use-some-window): Don't perform any special
5637 pop-up-frames handling.
5638 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5639 (display-buffer--maybe-same-window): Rename from
0d3ff375 5640 display-buffer-maybe-same-window.
8319e0bf 5641
919a69aa
CY
5642 * info.el: Don't set same-window-regexps.
5643 (info-setup): New function.
5644 (info-other-window, info): Call it.
5645
5646 * cus-edit.el: Don't set same-window-regexps.
5647 (customize-group): New argument.
5648 (customize-group-other-window): Use it.
5649 (customize-face, customize-face-other-window): Likewise.
5650 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5651
8319e0bf
CY
5652 * net/rlogin.el:
5653 * net/telnet.el:
5654 * progmodes/gud.el: Don't set same-window-regexps.
5655
5656 * cmuscheme.el:
5657 * ielm.el:
5658 * shell.el:
5659 * mail/sendmail.el:
5660 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5661
25173000
JL
56622011-09-10 Juri Linkov <juri@jurta.org>
5663
5664 * isearch.el (isearch-edit-string): Remove obsolete mention of
5665 `C-w' (`isearch-yank-word-or-char') from docstring.
5666 (isearch-query-replace): Fix typo in docstring (bug#9466).
5667
056e44ef
JL
56682011-09-10 Juri Linkov <juri@jurta.org>
5669
5670 * paren.el (show-paren-function): Don't show escaped parens.
5671 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5672
c3760c17
EZ
56732011-09-10 Eli Zaretskii <eliz@gnu.org>
5674
5675 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5676 (mm-default-file-encoding): Remove autoload forms, they are
5677 replaced with autoload cookies in mml.el and mm-encode.el.
5678 (mail-add-attachment): New command.
5679 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5680 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5681 the doc string.
5682 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5683
fece895e
RT
56842011-09-10 Reuben Thomas <rrt@sc3d.org>
5685
e69df516
SM
5686 * simple.el (count-words-region): Use buffer if there's no region
5687 (bug#9429).
fece895e 5688
5e68ce4a
JL
56892011-09-09 Juri Linkov <juri@jurta.org>
5690
5691 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5692 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5693 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5694
0a6b9622
AM
56952011-09-09 Alan Mackenzie <acm@muc.de>
5696
5697 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5698 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5699
14a29deb
EZ
57002011-09-09 Eli Zaretskii <eliz@gnu.org>
5701
5702 Fix for Savannah bug#9392.
5703 * simple.el (mail-encode-mml): New defvar.
5704
5705 * mail/rmail.el (mail-encode-mml): Add a defvar.
5706 (rmail-enable-mime-composing): Default to t.
5707 (rmail-forward): Use MIME method of forwarding only if both
5708 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5709 Set mail-encode-mml non-nil if the MIME method was used.
5710
5711 * mail/sendmail.el (mml-to-mime): Add autoload form.
5712 (mail-encode-mml): Add a defvar.
5713 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5714 to nil.
5715 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5716 message through mml-to-mime, and reset mail-encode-mml to nil.
5717
28c45130
GM
57182011-09-09 Glenn Morris <rgm@gnu.org>
5719
5720 * woman.el (woman-if-body): When processing an .el block,
5721 do not delete the next .el block as well. (Bug#9447)
69f4b618 5722 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5723
9b1c252e
MR
57242011-09-08 Martin Rudalics <rudalics@gmx.at>
5725
5726 * window.el (window-deletable-p): Make sure window is live before
5727 invoking window-prev-buffers.
5728
567457e3
LL
57292011-09-08 Leo Liu <sdl.web@gmail.com>
5730
5731 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5732
97f05794
JL
57332011-09-08 Juri Linkov <juri@jurta.org>
5734
5735 * progmodes/compile.el (compilation-environment): Make it
5736 a defcustom (bug#8340).
5737
8b0874b5
MR
57382011-09-08 Martin Rudalics <rudalics@gmx.at>
5739
5740 * window.el (frame-auto-delete): Rename to window-auto-delete.
5741 Make it control auto-deletion of windows and/or frames.
5742 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5743 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5744 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5745 Rewrite handling of case when window/frame can be deleted.
5746 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5747 argument t. (Bug#9456)
8b0874b5 5748
4feb6e73
CY
57492011-09-07 Chong Yidong <cyd@stupidchicken.com>
5750
5751 * help-mode.el (help-mode): Restore autoload.
5752
91ab9c13
JL
57532011-09-07 Juri Linkov <juri@jurta.org>
5754
5755 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5756 `compilation-environment'. Set buffer-local
5757 `compilation-environment' to `thisenv' later after (funcall mode).
5758 (Bug#8340)
5759
5760 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5761 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5762 instead of replacing its value. (Bug#8340)
5763
0527e251
JL
57642011-09-07 Juri Linkov <juri@jurta.org>
5765
5766 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5767 based on text properties put by `grep-filter' instead of matching
5768 escape sequences.
5769 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5770 to the value of `grep-error-screen-columns' (bug#9438).
5771
249f792c
JL
57722011-09-07 Juri Linkov <juri@jurta.org>
5773
5774 * simple.el (next-error-highlight, next-error-highlight-no-select):
5775 Doc fix (bug#9432).
5776
ff7271b9
OT
57772011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5778
5779 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5780 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5781
183fc730
LL
57822011-09-07 Leo Liu <sdl.web@gmail.com>
5783
5784 * net/rcirc.el (rcirc-mode): Conditionally initialize
5785 rcirc-input-ring.
5786
77694924
SM
57872011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5788
5789 * emacs-lisp/find-func.el (find-function-C-source): Only set
5790 find-function-C-source-directory after checking that we found a source
5791 file there (bug#9440).
5792
d809b8eb
AM
57932011-09-06 Alan Mackenzie <acm@muc.de>
5794
5795 * isearch.el (isearch-other-meta-char): Wherever a key list is
5796 unread, "unread" the prefix arg, too. This fixes bug #8901.
5797
453de99f
OG
57982011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5799
5800 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5801
90439906
JL
58022011-09-05 Juri Linkov <juri@jurta.org>
5803
5804 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5805
f62bd846
JL
58062011-09-05 Juri Linkov <juri@jurta.org>
5807
5808 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5809 keeping point where processing of grep matches begins, and
5810 continue to delete remaining escape sequences from the same point.
5811 (grep-filter): Make leading zero optional in "0?1;31m" because
5812 git-grep emits "\033[1;31m" escape sequences unlike expected
5813 "\033[01;31m" as GNU Grep does (bug#9408).
5814 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5815
045820ec
JL
58162011-09-05 Juri Linkov <juri@jurta.org>
5817
5818 * subr.el (y-or-n-p): Capitalize "yes".
5819
f5e29b9b
MA
58202011-09-04 Michael Albinus <michael.albinus@gmx.de>
5821
5822 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5823 `tramp-cache-unload-hook' where appropriate.
5824 (tramp-methods): Rename `tramp-remote-sh' to
5825 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5826 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5827
5828 * net/tramp-sh.el (top): Don't require 'shell.
5829 (tramp-methods): Add `tramp-remote-shell' and
5830 `tramp-remote-shell-args' entries.
5831 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5832 (tramp-sh-handle-shell-command): Remove.
5833 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5834 Use `tramp-remote-shell'.
5835
2784c434
CY
58362011-09-03 Chong Yidong <cyd@stupidchicken.com>
5837
393a301e 5838 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5839 (sendmail-query-once): Save directly to send-mail-function.
5840 Update message-send-mail-function too.
5841
5842 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5843
464cdf56
CS
58442011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5845
5846 * progmodes/python.el (python-mode-map): Use correct function to
5847 start python interpreter from menu-bar (as reported by Geert
5848 Kloosterman).
5849 (inferior-python-mode-map): Fix typo.
393a301e 5850 (python-shell-map): Remove.
464cdf56 5851
d37e5c87
DD
58522011-09-03 Deniz Dogan <deniz@dogan.se>
5853
5854 * net/rcirc.el (rcirc-print): Simplify code for
5855 rcirc-scroll-show-maximum-output. There is no need to walk
5856 through all windows to find the right one.
5857
f3ada0ee
CS
58582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5859
5860 * help.el (help-return-method): Doc fix.
5861
1f3c99ca
MR
58622011-09-03 Martin Rudalics <rudalics@gmx.at>
5863
5864 * window.el (window-deletable-p): Don't return a non-nil value
5865 when there's a buffer that was shown in the window before.
5866 (Bug#9419)
393a301e
SM
5867 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5868 Set window's previous buffers to nil.
1f3c99ca 5869
a3cf097f
EZ
58702011-09-03 Eli Zaretskii <eliz@gnu.org>
5871
5872 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5873 newline before and after the tag line, so it doesn't interfere
5874 with determining the paragraph direction of bidirectional text.
5875
3d03de90
LL
58762011-09-03 Leo Liu <sdl.web@gmail.com>
5877
5878 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5879
c3313451
CY
58802011-09-02 Chong Yidong <cyd@stupidchicken.com>
5881
393a301e 5882 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5883 (pop-to-buffer): Change interactive spec. Pass second argument
5884 directly to display-buffer.
5885 (display-buffer): Fix interactive spec. Use functionp to
5886 distinguish between a function and a list of functions.
5887
5888 * abbrev.el (edit-abbrevs):
5889 * arc-mode.el (archive-extract):
5890 * autoinsert.el (auto-insert):
5891 * bookmark.el (bookmark-bmenu-list):
5892 * files.el (find-file):
5893 * view.el (view-buffer):
5894 * progmodes/compile.el (compilation-goto-locus):
5895 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5896
89894cd8
CY
58972011-09-02 Chong Yidong <cyd@stupidchicken.com>
5898
5899 * window.el (display-buffer-alist): Doc fix.
5900 (display-buffer): Add docstring. Don't treat
5901 display-buffer-default specially.
5902 (display-buffer-reuse-selected-window)
5903 (display-buffer-same-window, display-buffer-maybe-same-window)
5904 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5905 (display-buffer-pop-up-window)
5906 (display-buffer-reuse-or-pop-window)
5907 (display-buffer-use-some-window): New functions.
5908 (display-buffer-default-action): Use them.
393a301e 5909 (display-buffer-default): Delete.
89894cd8
CY
5910 (pop-to-buffer-1): Fix choice of actions.
5911
ae0bc9fb
SM
59122011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * minibuffer.el (completion--insert-strings): Don't get confused by
5915 completion entries that end with an LF char.
5916
e9d90883
EZ
59172011-09-01 Eli Zaretskii <eliz@gnu.org>
5918
5919 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5920
437014c8
CY
59212011-09-01 Chong Yidong <cyd@stupidchicken.com>
5922
5923 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5924 (display-buffer-same-window, display-buffer-other-window):
5925 New functions.
437014c8
CY
5926 (pop-to-buffer-1): New function. Use the above.
5927 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5928 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5929
5930 * view.el (view-buffer-other-window, view-buffer-other-frame):
5931 Just use pop-to-buffer.
5932
a5e063d5
TV
59332011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5934
5935 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5936
793d32bb
WH
59372011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5938
5939 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5940
d65e4c15
RS
59412011-08-31 Richard Stallman <rms@gnu.org>
5942
5943 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5944 of the separation of rmail-view-buffer from rmail-buffer.
5945 If you say no to "replace original", the decrypt is in the
5946 view buffer. If you say yes, the decrypt goes into the
5947 rmail buffer also.
5948
f818cd2a
MR
59492011-08-31 Martin Rudalics <rudalics@gmx.at>
5950
5951 * window.el (display-buffer-window): Rewrite doc-string.
5952 (display-buffer-record-window): New function.
5953 (display-buffer-macro-specifiers)
5954 (display-buffer-even-window-sizes, display-buffer-set-height)
5955 (display-buffer-set-width, display-buffer-in-window)
5956 (display-buffer-reuse-window, display-buffer-split-specifiers)
5957 (display-buffer-side-specifiers, display-buffer-split-window-1)
5958 (display-buffer-split-window, display-buffer-split-atom-window)
5959 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5960 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5961 (display-buffer-other-window-means-other-frame)
5962 (display-buffer-normalize-special)
5963 (display-buffer-normalize-default)
5964 (display-buffer-normalize-argument)
5965 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5966 (display-buffer-normalize-specifiers, display-buffer-frame)
5967 (display-buffer-same-window, display-buffer-same-frame)
5968 (display-buffer-other-window)
5969 (display-buffer-same-frame-other-window)
5970 (display-buffer-other-frame, pop-to-buffer-same-window)
5971 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5972 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5973 (switch-to-buffer-same-frame)
5974 (switch-to-buffer-other-window-same-frame)
5975 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5976 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5977 (display-buffer-alist-set): Remove.
5978 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5979 (special-display-regexps, special-display-function):
5980 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5981 parameter.
5982 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5983 (special-display-frame-alist, special-display-popup-frame)
5984 (same-window-buffer-names, same-window-regexps, same-window-p)
5985 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5986 (split-window-preferred-function, split-height-threshold)
5987 (split-width-threshold, window-splittable-p)
5988 (split-window-sensibly, window--try-to-split-window)
5989 (window--frame-usable-p, even-window-heights)
5990 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5991 (window--display-buffer-2, display-buffer-other-frame):
5992 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5993 (display-buffer-default, display-buffer-assq-regexp): New functions.
5994 (display-buffer-alist): Rewrite doc-string.
5995 (display-buffer-default-action)
5996 (display-buffer-overriding-action): New variables.
5997 (display-buffer, switch-to-buffer): Rewrite.
5998 (pop-to-buffer): Restore Emacs 23 behavior but use
5999 window-normalize-buffer-to-display.
6000 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6001 Restore Emacs 23 behavior but use
6002 window-normalize-buffer-to-switch-to.
6003 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6004 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6005 Rewrite using Emacs 23 options.
f818cd2a 6006
5bc3b51d
MA
60072011-08-31 Michael Albinus <michael.albinus@gmx.de>
6008
6009 * net/tramp.el (tramp-root-regexp): Remove.
6010 (tramp-completion-file-name-regexp-unified)
6011 (tramp-completion-file-name-regexp-separate)
6012 (tramp-completion-file-name-regexp-url): Don't use leading volume
6013 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6014 (tramp-drop-volume-letter): Simplify definition.
6015 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6016
b1a4f8e1
SM
60172011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6020 (bug#9356).
6021
5664fa7b
RT
60222011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6023
b1a4f8e1 6024 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6025
9a45d6c3
JL
60262011-08-29 Juri Linkov <juri@jurta.org>
6027
6028 * isearch.el (isearch-done): Don't display message "Mark saved"
6029 when arg `edit' is non-nil to prevent its flicker in the echo area.
6030
fb87e0fb
CY
60312011-08-28 Chong Yidong <cyd@stupidchicken.com>
6032
6033 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6034 obsolete packages for deletion.
6035
09ac1c2a
CS
60362011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6037
6038 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6039 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6040 view-mode from help-mode.
6041 (help-xref-override-view-map): Remove.
6042 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6043 view-mode is not used anymore.
6044
7a1ff57f
CY
60452011-08-28 Chong Yidong <cyd@stupidchicken.com>
6046
6047 * server.el (server-port): Doc fix.
6048
b9696605
CY
6049 * cus-theme.el (custom-theme-choose-mode): Inherit from
6050 special-mode (Bug#9124).
6051 (custom-theme-choose-mode-map): Add special-mode to parent.
6052
ef8cdf8c
AM
60532011-08-28 Alan Mackenzie <acm@muc.de>
6054
6055 * progmodes/cc-fonts.el
6056 (c-make-font-lock-BO-decl-search-function): New function.
6057 (c-basic-matchers-after - "Fontify the clauses after various
6058 keywords"): Extract the three keyword lists for the 3 erroneous
6059 constructs from the list of four, and use the new function above
6060 in place of an old one.
6061
27de4e20
DD
60622011-08-28 Deniz Dogan <deniz@dogan.se>
6063
6064 * net/rcirc.el (rcirc-insert-prev-input)
6065 (rcirc-insert-next-input): Remove unused argument.
6066
356a3681
SM
60672011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6070
3fc9b218
AM
60712011-08-27 Alan Mackenzie <acm@muc.de>
6072
6073 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6074 handle function pointer parameters properly.
6075
538a061c
MR
60762011-08-27 Martin Rudalics <rudalics@gmx.at>
6077
6078 * window.el (display-buffer-reuse-window): Fix case where
6079 selected window was reused with non-nil OTHER-WINDOW argument.
6080 (Bug#9381)
6081
35b1c40c
DD
60822011-08-27 Deniz Dogan <deniz@dogan.se>
6083
6084 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6085 oftc's NickServ messages.
6086
2f6a3e79
GM
60872011-08-27 Glenn Morris <rgm@gnu.org>
6088
6089 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6090
7254299e
CY
60912011-08-26 Chong Yidong <cyd@stupidchicken.com>
6092
6093 * emacs-lisp/package.el (package-install): Call package-initialize
6094 if called interactively.
6095
f8ccf167
LL
60962011-08-26 Leo Liu <sdl.web@gmail.com>
6097
6098 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6099
3e8cd5ce
JL
61002011-08-25 Juri Linkov <juri@jurta.org>
6101
6102 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6103 `search-whitespace-regexp' (bug#9364).
6104
93eb7113
JL
61052011-08-25 Juri Linkov <juri@jurta.org>
6106
6107 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6108 `regexp-search-ring' to their global values to protect from
6109 updating by `read-from-minibuffer' (bug#9185).
6110
f65d1611
JL
61112011-08-25 Juri Linkov <juri@jurta.org>
6112
6113 * textmodes/ispell.el (ispell-command-loop): Add newline
6114 at the end of the "Use option `i'..." line.
6115
f1cf7a31
JL
61162011-08-25 Juri Linkov <juri@jurta.org>
6117
6118 * battery.el (display-battery-mode): If `battery-status-function'
6119 or `battery-mode-line-format' is nil, display the message and set
6120 `display-battery-mode' to nil (bug#9363).
6121
0c95fcf7
EZ
61222011-08-25 Eli Zaretskii <eliz@gnu.org>
6123
6124 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6125 bidi-string-mark-left-to-right; they are unnecessary now.
6126
a2ebe600
DD
61272011-08-25 Deniz Dogan <deniz@dogan.se>
6128
6129 * net/quickurl.el: Documentation typo fixes.
6130
e4ed06f1
CY
61312011-08-25 Chong Yidong <cyd@stupidchicken.com>
6132
6133 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6134
e5f1c99e
GM
61352011-08-25 Glenn Morris <rgm@gnu.org>
6136
b2948976
GM
6137 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6138
e5f1c99e
GM
6139 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6140 (smtpmail-via-smtp): Handle nil response from smtp.
6141
f22f4808
JL
61422011-08-24 Juri Linkov <juri@jurta.org>
6143
6144 * proced.el (proced-marked): Inherit from `error' instead of
6145 `font-lock-warning-face'.
6146
6147 * ibuffer.el (ibuffer-marked-face): Change default face from
6148 `font-lock-warning-face' to `warning'.
6149 (ibuffer-deletion-face): Change default face from
6150 `font-lock-type-face' to `error'.
6151
6152 * battery.el (battery-update): Use the face `error' instead of
6153 `font-lock-warning-face' (bug#6117).
6154
6a93965e
JL
61552011-08-24 Juri Linkov <juri@jurta.org>
6156
6157 * faces.el (success): Change face color from "Green3" to
6158 "ForestGreen" on light background (bug#9353).
6159
1ed43b09
CY
61602011-08-24 Chong Yidong <cyd@stupidchicken.com>
6161
5664fa7b
RT
6162 * window.el (quit-window): Rename from quit-restore-window.
6163 Use same arglist as old quit-window.
1ed43b09
CY
6164 (frame-auto-delete): Doc fix.
6165
6166 * view.el (view-mode-exit): Use quit-window.
6167
11dcdbb2
JL
61682011-08-24 Juri Linkov <juri@jurta.org>
6169
6170 * isearch.el (isearch-ring-adjust1): Start visiting previous
6171 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6172 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6173 for empty search string (when the last search string is reused
6174 automatically) to adjust the isearch ring to the last element and
6175 prepare the correct index for further M-p commands (bug#9185).
6176
de62b4df
KH
61772011-08-24 Kenichi Handa <handa@m17n.org>
6178
6179 * international/ucs-normalize.el: If decomposition property of
6180 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6181 nil.
6182 (nfd, nfkd): Likewise.
6183
963b492b
SM
61842011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6187 from process filters aren't reliably transmitted to the surrounding
6188 accept-process-output.
6189 (mpc-proc-check): New function.
6190 (mpc-proc-sync): Use it (bug#8293)
6191
93b6b5e1
SM
61922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6195 Add compatibility functions (bug#9313).
6196
bca633fb
EZ
61972011-08-23 Eli Zaretskii <eliz@gnu.org>
6198
b177498a
EZ
6199 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6200
6df6ae42 6201 * international/uni-bidi.el: Regenerate.
bca633fb 6202
0902a04e
KH
62032011-08-23 Kenichi Handa <handa@m17n.org>
6204
6205 * international/charprop.el:
6206 * international/uni-bidi.el:
6207 * international/uni-category.el:
6208 * international/uni-combining.el:
6209 * international/uni-comment.el:
6210 * international/uni-decimal.el:
6211 * international/uni-decomposition.el:
6212 * international/uni-digit.el:
6213 * international/uni-lowercase.el:
6214 * international/uni-mirrored.el:
6215 * international/uni-name.el:
6216 * international/uni-numeric.el:
6217 * international/uni-old-name.el:
6218 * international/uni-titlecase.el:
6219 * international/uni-uppercase.el: Regenerate.
6220
3bbf23bc
MR
62212011-08-23 Martin Rudalics <rudalics@gmx.at>
6222
6223 * help.el (help-window-setup): Fix message displayed when other
6224 window is reused. (Bug#9341)
6225
b3fd59bd
SM
62262011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6227
1802e444
SM
6228 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6229 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6230
b3fd59bd
SM
6231 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6232 Mark obsolete.
6233 * shell.el (shell-parse-pcomplete-arguments): New function.
6234 (shell-completion-vars): Use it instead (bug#9160).
6235
4eb61348
SM
62362011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6237
867cab74
SM
6238 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6239 strings and comments (bug#9333).
6240
4eb61348
SM
6241 * emacs-lisp/debug.el (debug-arglist): New function.
6242 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6243 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6244
262a1439
JL
62452011-08-22 Juri Linkov <juri@jurta.org>
6246
56ee679c
JL
6247 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6248 Revert regexp that highlights output switches to its old
6249 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6250
262a1439
JL
6251 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6252 to check for empty output (bug#9226).
6253
f13f86fb
CY
62542011-08-22 Chong Yidong <cyd@stupidchicken.com>
6255
6256 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6257 symbol-constituent as the default, as that stops font-lock from
6258 working properly (Bug#8843).
6259
c65c9622
LMI
62602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6261
6262 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6263 `coding-system-for-*' around the process open call to avoid
6264 auth-source side effects.
e7f2c178 6265 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6266 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6267 probe hangs.
c65c9622 6268
23a8a5ab
CY
62692011-08-21 Chong Yidong <cyd@stupidchicken.com>
6270
ff98b2dd
CY
6271 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6272
23a8a5ab
CY
6273 * emacs-lisp/find-func.el (find-function-noselect): New arg
6274 lisp-only.
6275
6276 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6277 signal an error for built-in functions (Bug#6664).
6278
f5e3c598
LMI
62792011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6280
6281 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6282 (smtpmail-try-auth-methods): Use it.
6283
a3f2468a
CY
62842011-08-21 Chong Yidong <cyd@stupidchicken.com>
6285
2c34e8da
CY
6286 * font-lock.el (font-lock-fontify-region)
6287 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6288 (font-lock-default-unfontify-buffer)
6289 (font-lock-default-fontify-region)
6290 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6291
b3fd59bd
SM
6292 * progmodes/compile.el (compilation-error-properties):
6293 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6294 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6295 `ant' regexp.
ee31aabc 6296
a3f2468a
CY
6297 * net/browse-url.el (browse-url-firefox): Don't call
6298 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6299
8e999f70
GM
63002011-08-20 Glenn Morris <rgm@gnu.org>
6301
c21a496a
GM
6302 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6303
59ee0542
GM
6304 * tutorial.el (tutorial--default-keys): Update some default bindings.
6305
8e999f70
GM
6306 * files.el (hack-local-variables): Fully ignore case for "mode:".
6307
e3715033
AM
63082011-08-20 Alan Mackenzie <acm@muc.de>
6309
6310 Resolve invalid use of a regexp in regexp-opt.
6311
4d61f28d
JB
6312 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6313 detection for a java annotation.
e3715033 6314
4d61f28d 6315 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6316 detection for a java annotation.
6317
4d61f28d
JB
6318 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6319 handling for java.
e3715033
AM
6320 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6321
04ed2e9c
CY
63222011-08-20 Chong Yidong <cyd@stupidchicken.com>
6323
6324 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6325 (Bug#9274).
6326
826cee64
AM
63272011-08-20 Alan Mackenzie <acm@muc.de>
6328
58179cce 6329 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6330 such a construct. Mainly for when jit-lock etc. starts a chunk
6331 here.
6332
58179cce 6333 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6334 variable.
58179cce 6335 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6336 c-make-font-lock-search-function.
6337 (c-make-font-lock-search-function): Use the above function.
6338 (c-make-font-lock-context-search-function): New function.
6339 (c-cpp-matchers): Enhance the preprocessor expression case with
6340 the above function
6341 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6342 which takes an expression.
6343
6344 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6345
13009bd8
MR
63462011-08-20 Martin Rudalics <rudalics@gmx.at>
6347
6348 * window.el (display-buffer-reuse-window)
6349 (display-buffer-pop-up-window): Don't reuse or split a side
6350 window.
6351
9234ff7f
GM
63522011-08-19 Glenn Morris <rgm@gnu.org>
6353
6354 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6355 Downcase "Mode:". (Bug#9331)
9234ff7f 6356
f635daa1
CY
63572011-08-18 Chong Yidong <cyd@stupidchicken.com>
6358
6359 * international/characters.el: Add L and R categories.
6360
6361 * subr.el (bidi-string-mark-left-to-right): Rename from
6362 string-mark-left-to-right. Use category search.
6363
6364 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6365
bc987f8b
JL
63662011-08-18 Juri Linkov <juri@jurta.org>
6367
6368 * faces.el (error, warning, success): New faces with definitions
6369 copied from old default values of `font-lock-warning-face',
6370 `compilation-warning', `compilation-info' (bug#6117).
6371
6372 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6373
6374 * progmodes/compile.el (compilation-error): Inherit from `error'.
6375 (compilation-warning): Inherit from `warning'.
6376 (compilation-info): Inherit from `success'.
6377
6378 * dired.el (dired-marked): Inherit from `warning'.
6379 (dired-flagged): Inherit from `error'.
6380
57173b96
LMI
63812011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6382
3e79eb87
LMI
6383 * mail/smtpmail.el (auth-source): Require to avoid problems with
6384 binding variables (bug#9298). Also clean up some unused
6385 autoloads.
6386
b3fd59bd
SM
6387 * net/network-stream.el (network-stream-open-starttls):
6388 Support using starttls.el without using gnutls-cli.
57173b96 6389
02b404de
JL
63902011-08-17 Juri Linkov <juri@jurta.org>
6391
6392 * progmodes/grep.el (rgrep): Handle the case when
6393 `grep-find-command' is a cons cell (bug#9278).
6394
8c9177f2
MR
63952011-08-17 Martin Rudalics <rudalics@gmx.at>
6396
6397 * window.el (display-buffer-pop-up-frame): Run frame creation
6398 function with BUFFER current (as special-display-popup-frame
6399 does). Reported by Drew Adams.
6400
3644a0ab
DU
64012011-08-17 Daiki Ueno <ueno@unixuser.org>
6402
6403 * epa-mail.el: Simplify GnuPG group expansion using
6404 epg-expand-group.
6405 (epa-mail-group-alist, epa-mail-group-modtime)
6406 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6407 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6408 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6409 Remove.
6410
5e617bc2 64112011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6412
6413 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6414
9c4aeabf
AM
64152011-08-16 Alan Mackenzie <acm@muc.de>
6416
6417 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6418 Correct, to avoid the inside of macros.
6419
3a99bf64
RS
64202011-08-16 Richard Stallman <rms@gnu.org>
6421
04963aa8
RS
6422 * epa-mail.el: Handle GnuPG group definitions.
6423 (epa-mail-group-alist, epa-mail-group-modtime)
6424 (epa-mail-gnupg-conf-file): New variables.
6425 (epa-mail-parse-groups, epa-mail-sync-groups)
6426 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6427 (epa-mail-expand-recipients): New functions.
6428 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6429
177549d0
RS
6430 * mail/rmail.el (rmail-epa-decrypt): New command.
6431
fe38beef
RS
6432 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6433 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6434 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6435 (epa-decrypt-armor-in-region): Make error message clearer.
6436
934eacb9
SM
64372011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6440 and "a2b" to "ab" for `prefix'.
6441
d024fb4e
CY
64422011-08-14 Chong Yidong <cyd@stupidchicken.com>
6443
6444 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6445 filter groups.
de148fee
CY
6446 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6447 Fourquet (Bug#8804).
d024fb4e 6448
62f1ca49
JB
64492011-08-12 Juanma Barranquero <lekktu@gmail.com>
6450
6451 * startup.el (argi): Declare as global variable (bug#9275).
6452
9ccaaa4b
CY
64532011-08-12 Chong Yidong <cyd@stupidchicken.com>
6454
6455 * subr.el (string-mark-left-to-right): Search the entire string
6456 for RTL script, not just the terminating character. Doc fix.
6457
a3dae87a
SM
64582011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6cd18349
SM
6460 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6461 New function.
6462 (js--regexp-literal, js-syntax-propertize-function): Remove.
6463 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6464 (js-mode-map): Don't rebind electric keys.
6465 (js-insert-and-indent): Remove.
6466 (js-mode): Setup electric-layout and electric-indent instead.
6467
a3dae87a
SM
6468 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6469
9d5cb631
DU
64702011-08-12 Daiki Ueno <ueno@unixuser.org>
6471
6472 * epa.el (epa-progress-callback-function): Fix the logic of
6473 displaying progress.
6474 * epa-file.el (epa-file-insert-file-contents): Make progress
6475 display more user-friendly.
6476 (epa-file-write-region): Ditto.
6477
3e26a4a2
CY
64782011-08-10 Chong Yidong <cyd@stupidchicken.com>
6479
6480 * subr.el (string-mark-left-to-right): New function.
6481
6482 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6483 Use string-mark-left-to-right.
6484 (list-buffers-noselect): Caller changed.
6485
a3dae87a
SM
6486 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6487 Use string-mark-left-to-right.
3e26a4a2
CY
6488 (tabulated-list-print): Recenter after moving point.
6489
ac8cf6e6
JL
64902011-08-10 Juri Linkov <juri@jurta.org>
6491
6492 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6493 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6494 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6495
8d96c9a4
CY
64962011-08-09 Chong Yidong <cyd@stupidchicken.com>
6497
6498 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6499 (Bug#7554).
6500
7be1c708 65012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6502
6503 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6504 character. (Bug#6594)
6505
37e11a63
CY
65062011-08-08 Chong Yidong <cyd@stupidchicken.com>
6507
839dde57
CY
6508 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6509 (image-dired--with-db-file): New macro.
6510 (image-dired-write-tags, image-dired-remove-tag)
6511 (image-dired-create-gallery-lists, image-dired-write-comments)
6512 (image-dired-get-comment, image-dired-mark-tagged-files)
6513 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6514 (image-dired-gallery-generate): Use insert-file-contents.
6515
37e11a63
CY
6516 * time.el (display-time-world-list, display-time-world-display):
6517 * time-stamp.el (time-stamp-string):
6518 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6519 set-time-zone-rule (Bug#7337).
6520
0b4946c4
DU
65212011-08-08 Daiki Ueno <ueno@unixuser.org>
6522
6523 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6524 (epg-error-to-string, epg-errors-to-string): New function.
6525 (epg-wait-for-completion): Reverse errors list.
6526 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6527 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6528 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6529 (epg-sign-keys, epg-generate-key-from-file)
6530 (epg-generate-key-from-string): Format errors by using
6531 epg-errors-to-string (bug#9255).
6532 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6533
75bfc667
JL
65342011-08-07 Juri Linkov <juri@jurta.org>
6535
6536 * faces.el (list-faces-display): Remove extra angle bracket
6537 from `help-mode-map'.
6538
6539 * info.el (Info-history-toc-nodes): Doc fix.
6540
6541 * longlines.el (longlines-mode): Doc fix.
6542
673e08bb
SM
65432011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6544
4640dd88
SM
6545 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6546 of statements and in a few more cases (bug#9183).
6547
673e08bb
SM
6548 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6549 New functions.
6550 (cl-transform-lambda): Use them (bug#9239).
6551
89b3f019
MR
65522011-08-05 Martin Rudalics <rudalics@gmx.at>
6553
6554 * window.el (display-buffer-same-window)
6555 (display-buffer-same-frame, display-buffer-other-window)
6556 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6557 (pop-to-buffer-other-window)
6558 (pop-to-buffer-same-frame-other-window)
6559 (pop-to-buffer-other-frame): Make them defuns.
6560 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6561
640c8776
SM
65622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * subr.el (make-composed-keymap): Move from C. Change calling
6565 convention, and improve docstring to bring attention to a subtle point.
6566 * minibuffer.el (completing-read-default): Adjust accordingly.
6567
63648a95
MA
65682011-08-03 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6571 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6572
6573 * net/trampver.el: Update release number.
6574
b796c9b7
SM
65752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6578 "in" (bug#9190).
6579
2239d7d5
LMI
65802011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6581
e07dd7c3
LMI
6582 * mail/sendmail.el (sendmail-query-once): Restore the current
6583 buffer after querying (bug#9074).
6584
0e6a2bd7
LMI
6585 * dired.el (dired-flagged): Use different faces for marked and
6586 flagged files (bug#6117).
6587
ce887515
LMI
6588 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6589 (bug#4433).
6590
92f2affc
LMI
6591 * ido.el (ido-mode): Switch off the message if called
6592 non-interactively.
6593
57d5aff0
LMI
6594 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6595 before 587, since it appears that that's more likely to work for
6596 more people.
6597
98cd6c18 6598 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6599 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6600 exist.
6601
b96dec83
LMI
6602 * info.el: Remove the `Info-beginning-of-buffer' function
6603 (bug#8325).
6604
b796c9b7
SM
6605 * net/network-stream.el (network-stream-open-starttls):
6606 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6607
d90e2ea0
MR
66082011-08-01 Martin Rudalics <rudalics@gmx.at>
6609
6610 * window.el (display-buffer-in-window): Don't set dedicated status
6611 of window here (Bug#9215).
6612 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6613 (display-buffer-pop-up-side-window)
b796c9b7 6614 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6615
cca09170
SM
66162011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6617
6618 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6619 before binding generated-autoload-file.
6620
027b979c
DD
66212011-08-01 Deniz Dogan <deniz@dogan.se>
6622
6623 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6624
3c7ee4f3
MA
66252011-07-30 Michael Albinus <michael.albinus@gmx.de>
6626
6627 Sync with Tramp 2.2.2.
6628
6629 * net/trampver.el: Update release number.
6630
2cc8e51a
JL
66312011-07-30 Juri Linkov <juri@jurta.org>
6632
6633 * dired-aux.el (dired-touch-initial): Remove function.
6634 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6635 current time, and `default' to the last modification time of the
6636 current marked file (bug#6887).
6637
a514d856
JM
66382011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6639
6640 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6641 numeric argument to read-number (bug#9163).
a514d856 6642
8a7eddd7
MA
66432011-07-27 Michael Albinus <michael.albinus@gmx.de>
6644
6645 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6646 connection process, it could be nil.
6647
1ddd96f5
LL
66482011-07-27 Leo Liu <sdl.web@gmail.com>
6649
6650 Simplify url handling in rcirc-mode.
6651
6652 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6653 (rcirc-browse-url-at-mouse): Remove.
6654 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6655
b248a85d
AM
66562011-07-26 Alan Mackenzie <acm@muc.de>
6657
6658 Fontify bitfield declarations properly.
6659
6660 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6661 (c-symbol-chars): Now exported as a lang variable.
6662 (c-not-primitive-type-keywords): New lang variable.
6663
6664 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6665 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6666 parsed as a bitfield declaration.
b248a85d 6667
b796c9b7
SM
6668 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6669 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6670 (c-punctuation-in): New function.
6671 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6672 declarations properly.
6673
68575ab0
UJ
66742011-07-26 Ulf Jasper <ulf.jasper@web.de>
6675
6676 * calendar/icalendar.el (icalendar--all-events): Take care of
6677 multiple vcalendars in a single file.
b796c9b7 6678 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6679
0f0a88b9
DD
66802011-07-25 Deniz Dogan <deniz@dogan.se>
6681
6682 * image.el (insert-image): Clarifying docstring.
6683
0b3f36df
MA
66842011-07-24 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6687 `tramp-send-command-and-check' if there is no error.
6688 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6689
a9901f61
AM
66902011-07-22 Alan Mackenzie <acm@muc.de>
6691
6692 Prevent cc-langs.elc being loaded at run time.
6693
6694 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6695 cc-langs.
6696
4d61f28d 6697 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6698 "(require 'cc-langs)". Quote a form so it will evaluate at
6699 (cc-mode's) compilation time.
6700
11d074b2
MA
67012011-07-22 Michael Albinus <michael.albinus@gmx.de>
6702
6703 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6704 loading. (Bug#9114)
6705
938b94c8
MR
67062011-07-21 Martin Rudalics <rudalics@gmx.at>
6707
6708 * window.el (display-buffer-pop-up-window)
6709 (display-buffer-pop-up-side-window)
6710 (display-buffer-in-side-window): Call display-buffer-set-height
6711 and display-buffer-set-width after setting the new window's
b796c9b7 6712 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6713
bfa4f190
SS
67142011-07-20 Sam Steingold <sds@gnu.org>
6715
6716 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6717 (etags-tags-included-tables): Call `convert-standard-filename' on
6718 the file names contained in TAGS so that windows Emacs can handle
6719 TAGS files created by cygwin ctags.
6720
8ca42262
LMI
67212011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6722
6723 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6724 which apparently didn't work.
6725
5db2afd2 67262011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6727
5db2afd2
RW
6728 * proced.el (proced-send-signal): For *Marked Processes* buffer
6729 put point at beginning of buffer.
6730
92e15d10
SB
67312011-07-19 Stephen Berman <stephen.berman@gmx.net>
6732
6733 * proced.el (proced-format): Make header lines align with the text
6734 (bug#1779).
6735
1bfd59e5
LMI
67362011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6737
6738 * view.el (view-buffer): Allow running in `special' modes if we're
6739 visiting a file (bug#8615).
6740
f5aae37c
MR
67412011-07-19 Martin Rudalics <rudalics@gmx.at>
6742
6743 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6744 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6745 New functions.
f5aae37c
MR
6746 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6747 more accurately.
6748
bf2c1571
AM
67492011-07-18 Alan Mackenzie <acm@muc.de>
6750
6751 Fontify declarators properly when, e.g., a jit-lock chunk begins
6752 inside a declaration.
6753
6754 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6755
b796c9b7
SM
6756 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6757 New function.
bf2c1571
AM
6758 (c-complex-decl-matchers): Insert reference to
6759 c-font-lock-enclosing-decls.
6760
6761 * progmodes/cc-engine.el (c-backward-single-comment):
6762 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6763 to nil around calls to (forward-comment -1).
6764
4e190b80
LMI
67652011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6766
12dc863d
LMI
6767 * image.el (put-image): Doc typo fix.
6768
a762e966
LMI
6769 * progmodes/etags.el (tags-search): Doc typo fix.
6770
4e190b80
LMI
6771 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6772 password if we get errors 550 to 554.
6773
f019fb21
LMI
67742011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
b796c9b7 6776 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6777
81746738
LMI
6778 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6779 indentation character (bug#6380).
6780
3ee3a1b5
LMI
6781 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6782
c82f64de
LMI
6783 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6784 to clarify what the problem is (bug#4291).
6785
f019fb21
LMI
6786 * simple.el (current-kill): Clarify what
6787 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6788 (auto-fill-mode): Document `auto-fill-function' in relation to
6789 `auto-fill-mode' (bug#2470).
f019fb21 6790
0794775d
LM
67912011-07-16 Lawrence Mitchell <wence@gmx.li>
6792
6793 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6794 method if slot is read-only (bug#9035).
6795
be39b8cc
MR
67962011-07-16 Martin Rudalics <rudalics@gmx.at>
6797
b796c9b7 6798 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6799 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6800 selected before, see discussion of (Bug#8615), (Bug#6954).
6801 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6802
6ccf7859
GM
68032011-07-15 Glenn Morris <rgm@gnu.org>
6804
6805 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6806 Respect help-form.
6ccf7859 6807
87e86684
LM
68082011-07-09 Lawrence Mitchell <wence@gmx.li>
6809
6810 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6811 (gnutls-negotiate): Use it.
6812
d6066239
LMI
68132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6814
b796c9b7
SM
6815 * net/gnutls.el (gnutls-negotiate):
6816 Upcase `gnutls-algorithm-priority'.
d6066239 6817
bd23ebc0
GM
68182011-07-15 Glenn Morris <rgm@gnu.org>
6819
c65bca65
GM
6820 * jka-compr.el (jka-compr-verbose): Move from here...
6821 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6822 Add missing :version tag.
6823 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6824
478615cc
LMI
68252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6826
7b41decb
LMI
6827 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6828 (gnutls-negotiate): Use it.
6829
dbc44fcd
LMI
6830 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6831
06789f97
LMI
6832 * info.el (Info-beginning-of-buffer): New command.
6833 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6834 announcing `b' as the key (bug#8325).
ab896c37 6835 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6836
c39da690
LMI
6837 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6838
3aa5f34b
LMI
6839 * international/mule-cmds.el
6840 (describe-specified-language-support): Make the error message
6841 clearer (bug#8905).
6842
4bf0979f
LMI
6843 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6844
478615cc
LMI
6845 * isearch.el (isearch-barrier): Add a doc string, since it's
6846 mentioned in a function doc string (bug#8678).
6847
75c68aa1
MR
68482011-07-15 Martin Rudalics <rudalics@gmx.at>
6849
6850 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6851 buffer argument (Bug#9083) and self-identifying label argument.
6852
a7c33da2
GM
68532011-07-15 Glenn Morris <rgm@gnu.org>
6854
6855 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6856
2f5c6024
LMI
68572011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6858
6859 * man.el (Man-fontify-manpage): Fix message when formatting the
6860 man page (bug#7929).
6861
0bb23927 68622011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6863
6864 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6865 argument LRM; if non-nil, append an invisible LRM character to the
6866 buffer name.
6867 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6868 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6869 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6870 paragraph direction.
cce4b0a7 6871
621ef9ab
LMI
68722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
d1583c48
LMI
6874 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6875 the man page name (bug#7929).
6876
6a57fb5f
LMI
6877 * image.el (put-image): Mention the `put-image' overlay property
6878 (bug#7834).
6879
d7956b14
LMI
6880 * scroll-bar.el (set-scroll-bar-mode): Mention that
6881 `scroll-bar-mode' lists the values (bug#7772).
6882
5b2d4a66
LMI
6883 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6884 command (bug#7729).
6885
7509a874
LMI
6886 * rect.el (apply-on-rectangle): Return the point after the last
6887 operation.
6888 (string-rectangle): Go to the point after the last operation
6889 (bug#7522).
6890
4fe74b19
LMI
6891 * printing.el (pr-toggle-region): Clarify the documentation
6892 slightly (bug#7493).
6893
b796c9b7
SM
6894 * time.el (display-time-update):
6895 Allow `display-time-mail-function' to return nil (bug#7158).
6896 Fix suggested by Detlev Zundel.
ab283561 6897
fc233c9d
LMI
6898 * vc/diff.el (diff): Clarify the order the file names are read
6899 (bug#7111).
6900
43f5740b
LMI
6901 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6902 the doc string (bug#7015).
6903
f2182a76
LMI
6904 * font-lock.el (font-lock-maximum-decoration): Mention what
6905 numeric levels mean (bug#6935).
6906
621ef9ab
LMI
6907 * startup.el (initial-buffer-choice): Don't mention the `none'
6908 selection, which is against policy.
6909
adc47434
MR
69102011-07-14 Martin Rudalics <rudalics@gmx.at>
6911
b796c9b7
SM
6912 * window.el (display-buffer-normalize-special):
6913 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6914
7e5bfb8f
EZ
69152011-07-14 Eli Zaretskii <eliz@gnu.org>
6916
6917 * subr.el (version<, version<=, version=): Mention "-CVS" and
6918 "-12345" alpha version numbers.
6919
27fa387a
CY
69202011-07-14 Chong Yidong <cyd@stupidchicken.com>
6921
6922 * bindings.el: Add advertised binding for set-mark-command
6923 (Bug#5772).
6924
8bdfa064
CY
69252011-07-14 Chong Yidong <cyd@stupidchicken.com>
6926
6927 * bindings.el (mode-line-other-buffer):
6928 * bookmark.el (bookmark-bmenu-2-window):
6929 * bs.el (bs-cycle-next, bs-cycle-previous):
6930 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6931 switch-to-buffer.
6932
6933 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6934 Delete.
8bdfa064 6935
5eba16a3
JB
69362011-07-14 Juanma Barranquero <lekktu@gmail.com>
6937
6938 * follow.el (follow-debug-message, follow-redisplay):
6939 * jka-cmpr-hook.el (with-auto-compression-mode):
6940 Fix typos in docstrings.
6941
15853710
LMI
69422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6943
a28e4607
LMI
6944 * subr.el (with-silent-modifications): Clarify somewhat what the
6945 macro inhibits (bug#6525).
6946
15853710
LMI
6947 * simple.el (eval-expression): Note what it does if called
6948 interactively (bug#6495).
6949
bee0fcef
CY
69502011-07-13 Chong Yidong <cyd@stupidchicken.com>
6951
b796c9b7
SM
6952 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6953 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6954
6955 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6956 Remove switch-to-buffer.
6957
58274504
LMI
69582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6959
bd2fcc8d
LMI
6960 * files.el (make-directory): Clarify that an error will be raised
6961 if there's an error (bug#6397).
6962
0f04b32c
LMI
6963 * startup.el (initial-buffer-choice): Add `none' as a choice
6964 (bug#6234).
6965
465c5fc8
LMI
6966 * subr.el (add-hook): Clarify section about buffer-local hooks
6967 (bug#6218).
6968
58274504
LMI
6969 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6970
bead9a43
JB
69712011-07-13 Juanma Barranquero <lekktu@gmail.com>
6972
6973 * tabify.el (untabify): Preserve the current column so that point
6974 doesn't move (bug#6032).
6975
3af98a7b
LMI
69762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6977
b796c9b7
SM
6978 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6979 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6980
6240145a
GM
69812011-07-13 Glenn Morris <rgm@gnu.org>
6982
6983 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6984 (dired-insert-directory): Give a message the first time
6985 if ls is found not to support --dired.
6986
1d8c2ccc
LMI
69872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6988
6989 * simple.el (toggle-truncate-lines): Clarify what is toggled
6990 (bug#5580). Text by Drew Adams.
6991
5fc4038e
CY
69922011-07-13 Chong Yidong <cyd@stupidchicken.com>
6993
6994 * simple.el (blink-matching-open): Make the error message from the
6995 last change less verbose.
6996
bf6012e5
DN
69972011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6998
6999 * font-lock.el (font-lock-comment-face): Use the high contrast
7000 "yellow" color for font-lock-comment-face on low color terminals
7001 using a dark background color (bug#4221).
7002
343c3b5a
LMI
70032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7004
7e9505c5
LMI
7005 * dired.el (dired-insert-set-properties): Make the doc string
7006 reflect what it does now (bug#5325).
7007
c26fdcf5
LMI
7008 * simple.el (blink-matching-open): Say that we were unable to find
7009 the match within the limit, if we're limited (bug#5122).
7010
bb388cc5
LMI
7011 * international/mule-cmds.el (prefer-coding-system): Add an
7012 example (bug#4869).
7013
343c3b5a
LMI
7014 * progmodes/etags.el (tags-search): Document `file-list-form'
7015 (bug#4731).
7016
2a517d45
LM
70172011-07-13 Lawrence Mitchell <wence@gmx.li>
7018
7019 * net/browse-url.el (browse-url-default-browser)
7020 (browse-url-browser-function): Make the default browser choice a
7021 bit more logical (bug#4300). Also clean up the doc string.
7022
b6c78ef2
JB
70232011-07-13 Juanma Barranquero <lekktu@gmail.com>
7024
7025 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7026 binary endings (bug#4440).
7027
1c4dd947
LMI
70282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7029
a2014063
LMI
7030 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7031 which can be pretty annoying (bug#8971).
7032
9c9c2d88
LMI
7033 * jka-compr.el (jka-compr-verbose): New variable, and use
7034 throughout (bug#8971).
7035
1c4dd947
LMI
7036 * info.el (Info-find-file): Fall back on the installation
7037 directory if we can't find the info node anywhere else.
7038
a1c9f41b
SO
70392011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7040
7041 * vc/vc.el (vc-revert-file):
7042 Don't set file time-stamp in the past. (Bug#5181)
7043
536f3d36
LMI
70442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7045
7152b011
LMI
7046 * files.el (after-find-file): Give a better error message when
7047 trying to find a symlink that points to a file that doesn't exist
7048 (bug#4398).
7049
536f3d36
LMI
7050 * progmodes/cc-vars.el: Remove (probably) misleading comment
7051 (bug#4396).
7052
460c0fba
JB
70532011-07-12 Johan Bockgård <bojohan@gnu.org>
7054
7055 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7056
7a6bda45
CY
70572011-07-12 Chong Yidong <cyd@stupidchicken.com>
7058
7059 * mouse-sel.el: Hack restoring functionality, while keeping
7060 compatibility with 2010-07-03 changes to mouse selection.
7061 (mouse-sel-primary-overlay): New var.
7062 (mouse-sel-selection-alist): Use it.
7063 (mouse-sel-mode): Doc fix; remove points that are default features
7064 of mouse.el.
7065
c79598ef
JB
70662011-07-12 Johan Bockgård <bojohan@gnu.org>
7067
7068 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7069 Fix previous fix (bug#2490).
7070
ff8be6ef
RW
70712011-07-12 Roland Winkler <winkler@gnu.org>
7072
b796c9b7
SM
7073 * textmodes/bibtex.el (bibtex-initialize):
7074 Use pop-to-buffer-same-window.
ff8be6ef
RW
7075 (bibtex-search-entries): Fix interactive call.
7076
296ba3ee
LMI
70772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7078
f5242a02 7079 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7080 Fontise bytecomp Error lines more correctly (bug#2490).
7081 Fix suggested by Johan Bockgård.
f5242a02 7082
296ba3ee
LMI
7083 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7084
7085 * dired-x.el (dired-guess-default): Use `delete-dups'.
7086
f69fd0d2
CY
70872011-07-12 Chong Yidong <cyd@stupidchicken.com>
7088
7089 * dired.el (dired-mark-prompt):
7090 * dired-aux.el (dired-read-shell-command): Doc fix.
7091
eab5dc07
LMI
70922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7093
b796c9b7
SM
7094 * mail/sendmail.el (sendmail-query-once):
7095 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7096 emacs -Q.
7097
7098 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7099
eab5dc07
LMI
7100 * cus-edit.el (custom-file): Take an optional no-error variable.
7101 (customize-save-variable): Set the variable, and give a warning if
7102 running under "emacs -q".
7103
a1e65d42
JB
71042011-07-11 Juanma Barranquero <lekktu@gmail.com>
7105
7106 * loadhist.el (unload-feature-special-hooks):
7107 Add `auto-coding-functions', `fill-nobreak-predicate' and
7108 `find-directory-functions' (bug#5327).
7109
1d52da10
LMI
71102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7111
be958f1d
LMI
7112 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7113
5bedb26c
LMI
7114 * cus-edit.el (custom-guess-name-alist): -alist variables should
7115 use the `alist' type (bug#3120). Suggested by Drew Adams.
7116
1d52da10
LMI
7117 * printing.el: Add documentation to all the `pr-toggle-' commands.
7118
cd394be1 71192011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7120
7121 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7122 backends where it makes sense (bug#2623).
7123
dcc88d8a
LMI
71242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7125
c3de9feb
LMI
7126 * dired-x.el (dired-guess-default): Remove duplicate shell command
7127 entries (bug#2028).
8a93078b 7128 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7129 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7130
dcc88d8a
LMI
7131 * subr.el (remove-duplicates): New conveniency function.
7132
505e3645
LMI
71332011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7134
7135 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7136 (bug#1526).
7137
71382011-07-10 Martin Rudalics <rudalics@gmx.at>
7139
7140 * window.el (display-buffer-normalize-default): Don't invert
7141 meaning of even-window-heights. Reported by Eli Zaretskii
7142 <eliz@gnu.org>.
7143
455e4fa1
BR
71442011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7145
7146 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7147
8e0bc3e9
CY
71482011-07-10 Chong Yidong <cyd@stupidchicken.com>
7149
7150 * window.el (display-buffer): Fix arguments to
7151 display-buffer-reuse-window in last change.
7152
fa7c3228
CY
7153 * faces.el (link): Use a less saturated blue on light backgrounds.
7154
7155 * startup.el (fancy-startup-text, fancy-about-text)
7156 (fancy-startup-tail): Use font-lock faces, for background safety.
7157
c0a7f300
BN
71582011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7159
b796c9b7
SM
7160 * emulation/viper-cmd.el (viper-change-state-to-vi):
7161 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7162
4dc2a129
MR
71632011-07-09 Martin Rudalics <rudalics@gmx.at>
7164
7165 * window.el (display-buffer-default-specifiers): Remove.
7166 (display-buffer-macro-specifiers): Remove default specifiers.
7167 (display-buffer-alist): Default to nil.
b796c9b7 7168 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7169 (display-buffer-pop-up-window): Allow splitting internal
7170 windows. Check whether a live window was created.
7171 (display-buffer-other-window-means-other-frame)
7172 (display-buffer-normalize-arguments): Rename to
7173 display-buffer-normalize-argument and rewrite. Set the
7174 other-window specifier.
7175 (display-buffer-normalize-special): New function.
7176 (display-buffer-normalize-options): Rename to
7177 display-buffer-normalize-default and rewrite.
7178 (display-buffer-normalize-options-inhibit): Remove.
7179 (display-buffer-normalize-specifiers): Rewrite.
7180 (display-buffer): Process other-window specifier and call
7181 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7182 more faithfully.
b796c9b7 7183 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7184 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7185 (display-buffer-in-window, display-buffer-alist-set):
7186 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7187 <tassilo@member.fsf.org>.
7188
2d43b8c9
LL
71892011-07-09 Leo Liu <sdl.web@gmail.com>
7190
7191 * register.el (insert-register): Restore accidental change on
7192 2011-06-26. (Bug#9028)
7193
7f9b7c53
GM
71942011-07-09 Glenn Morris <rgm@gnu.org>
7195
7196 * subr.el (remq): Handle the empty list. (Bug#9024)
7197
f042cfd8
AS
71982011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7199
7200 * mail/sendmail.el (send-mail-function): No longer delay custom
7201 initialization.
7202 * custom.el (custom-initialize-delay): Doc fix.
7203
856b2f11
SM
72042011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7207
afae1d68
MA
72082011-07-08 Michael Albinus <michael.albinus@gmx.de>
7209
7210 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7211 human-friendly prompt.
7212
0757af94
SM
72132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7216 provided by a particular plugin.
7217
d760b731
LMI
72182011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7219
7220 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7221 save customizations (with "emacs -Q"), just set the variable
7222 instead of erroring out.
7223
7224 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7225
cd79ce90
JL
72262011-07-08 Juri Linkov <juri@jurta.org>
7227
7228 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7229 (archive-zip-update-case): Use 7z if found by `executable-find'.
7230 The order of searching the available programs is the same as in
7231 `archive-zip-extract' (bug#8968).
7232
14cc04aa
CY
72332011-07-07 Chong Yidong <cyd@stupidchicken.com>
7234
7235 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7236 (menu-bar-options-menu): Tweak descriptions.
7237
0a1848ec
LMI
72382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7239
7240 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7241 menu items into verb phrases (bug#1421). Also refill to fit under
7242 80 columns.
7243
f5bd0689
CY
72442011-07-07 Chong Yidong <cyd@stupidchicken.com>
7245
538e85c6
CY
7246 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7247 (Info-read-node-name): Doc fix (Bug#1084).
7248
f5bd0689
CY
7249 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7250 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7251 (end-of-sexp, beginning-of-sexp)
7252 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7253 (forward-symbol, forward-same-syntax, word-at-point)
7254 (sentence-at-point): Doc fix (Bug#1144).
7255
56ec5115
LMI
72562011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7257
f3f8e37f
LMI
7258 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7259 should cover it (bug#1281).
7260
0757af94 7261 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7262
e9fce1ac 7263 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7264 negotiation fails, then possibly try again with a non-encrypted
7265 connection (bug#9017).
7266
56ec5115
LMI
7267 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7268 be used.
7269
c2f9aec8
RS
72702011-07-07 Richard Stallman <rms@gnu.org>
7271
7272 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7273 property, and handle its changed format.
7274 Look for the correct line number.
7275 Use file's line contents (but not past first =) to find
7276 correct line in message.
7277
ef7b981d 72782011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7279
7280 * international/characters.el (build-unicode-category-table):
7281 Delete it.
0757af94 7282 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7283
0757af94 7284 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7285 to src/chartab.c.
7286 (get-char-code-property): Call unicode-property-table-internal to
7287 load a file. Call get-unicode-property-internal where necessary.
7288 (put-char-code-property): Call unicode-property-table-internal to
7289 load a file. Call put-unicode-property-internal where necessary.
7290 put-unicode-property-internal where necessary.
0757af94
SM
7291 (char-code-property-description):
7292 Call unicode-property-table-internal to load a file.
c805dec0
KH
7293
7294 * international/charprop.el:
7295 * international/uni-bidi.el:
7296 * international/uni-category.el:
7297 * international/uni-combining.el:
7298 * international/uni-comment.el:
7299 * international/uni-decimal.el:
7300 * international/uni-decomposition.el:
7301 * international/uni-digit.el:
7302 * international/uni-lowercase.el:
7303 * international/uni-mirrored.el:
7304 * international/uni-name.el:
7305 * international/uni-numeric.el:
7306 * international/uni-old-name.el:
7307 * international/uni-titlecase.el:
7308 * international/uni-uppercase.el: Regenerate.
7309
7310 * loadup.el: Load international/charprop.el before
7311 international/characters.
7312
e14b388a
CY
73132011-07-07 Chong Yidong <cyd@stupidchicken.com>
7314
7315 * window.el (next-buffer, previous-buffer): Signal an error if
7316 called from a minibuffer window.
7317
7318 * bindings.el: Revert 2011-07-04 change.
7319
354cf0ba
RS
73202011-07-06 Richard Stallman <rms@gnu.org>
7321
7322 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7323 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7324 Treat markers like ints.
7325 (rmail-mime-entity): Doc fix.
7326
a48868a7
LMI
73272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7328
4906cd3d
LMI
7329 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7330 defcustom again for backwards compatibility.
7331
e0457abe
LMI
7332 * simple.el (shell-command-on-region): Fill.
7333
d67f7e1f
LMI
7334 * dired-aux.el (dired-kill-line): Add a doc string.
7335
fe204702
LMI
7336 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7337 to "\\sw\\|\\s_" (bug#358).
7338
a48868a7
LMI
7339 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7340 (dired-unmark-backward): Ditto.
7341 (dired-flag-backup-files): Ditto.
7342
7343 * dired-x.el (dired-mark-sexp): Ditto.
7344
aa8a705c
RS
73452011-07-06 Richard Stallman <rms@gnu.org>
7346
7347 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7348 (rmail-mime-entity): New arg TRUNCATED.
7349 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7350 New functions.
7351 (rmail-mime-save): Warn if entity is truncated.
7352 (rmail-mime-toggle-hidden): Likewise, for showing.
7353 (rmail-mime-process-multipart): Record when an entity is truncated.
7354
a9a936b9
RS
7355 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7356 if ENTITY is a string.
7357
1f2b92cb
LMI
73582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7359
f4f73198 7360 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7361 of faces when `M-C-x'-ing their definitions (bug#8378).
7362 Also clean up the code slightly.
f4f73198 7363
12b16734 7364 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7365 because that makes the colors go away.
12b16734 7366
f0691d22
LMI
7367 * mail/sendmail.el (send-mail-function): Change the default to
7368 `sendmail-query-once'.
9e87df06 7369 (sendmail-query-once): Add an autoload cookie.
f0691d22 7370
1f2b92cb
LMI
7371 * net/network-stream.el (network-stream-open-starttls): Try using
7372 a plain connection even if the server offered STARTTLS, and we
7373 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7374 capability. This should make smtpmail.el work in slightly more
7375 configurations.
7376
1cdd2a1b
MA
73772011-07-06 Michael Albinus <michael.albinus@gmx.de>
7378
7379 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7380 New defun.
7381 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7382
fbcc67e2
MM
73832011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7384
7385 * progmodes/sql.el: Version 3.0
0757af94 7386 (sql-product-alist): Add product :completion-object,
fbcc67e2 7387 :completion-column, and :statement attributes.
0757af94 7388 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7389 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7390 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7391 ansi keywords.
7392 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7393 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7394 (sql-oracle-show-reserved-words): New function for development.
7395 (sql-product-font-lock): Simplify for source code buffers.
7396 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7397 New functions.
7398 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7399 (sql-mode-map): Add statement movement functions.
7400 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7401 New variable.
fbcc67e2
MM
7402 (sql-statement-regexp, sql-beginning-of-statement)
7403 (sql-end-of-statement, sql-signum): New functions.
0757af94 7404 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7405 (sql-show-sqli-buffer): Bug fix.
7406 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7407 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7408 with sql-interactive-mode.
7409 (sql-save-connection): Save buffer local settings.
0757af94 7410 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7411 (sql-product-interactive): Bug fix.
7412 (sql-preoutput-hold): New variable.
7413 (sql-interactive-remove-continuation-prompt): Bug fixes.
7414 (sql-debug-redirect): New variable.
7415 (sql-str-literal): New function.
7416 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7417 Redesign.
fbcc67e2
MM
7418 (sql-oracle-save-settings, sql-oracle-restore-settings)
7419 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7420 (sql-completion-object, sql-completion-column)
7421 (sql-completion-sqlbuf): New variables.
7422 (sql-build-completions-1, sql-build-completions)
7423 (sql-try-completion): New functions.
7424 (sql-read-table-name): Use them.
7425 (sql-contains-names): New buffer local variable.
7426 (sql-list-all, sql-list-table): Use it.
7427 (sql-oracle-completion-types): New variable.
7428 (sql-oracle-completion-object, sql-sqlite-completion-object)
7429 (sql-postgres-completion-object): New functions.
7430
d4eaeab1
GM
74312011-07-06 Glenn Morris <rgm@gnu.org>
7432
7433 * window.el (pop-to-buffer): Doc fix.
7434
322b7dab 74352011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7436
7437 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7438
322b7dab 74392011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7440
322b7dab 7441 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7442
322b7dab 7443 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7444
605dd5bf
CY
74452011-07-05 Chong Yidong <cyd@stupidchicken.com>
7446
7447 * button.el (button): Inherit from link face. Suggested by Dan
7448 Nicolaescu.
7449
7dbfa719
SM
74502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7451
3db614b0
SM
7452 * progmodes/gdb-mi.el: Fit in 80 columns.
7453 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7454 switch-to-buffer.
7455
7dbfa719
SM
7456 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7457 if imenu is simply not configured (bug#8941).
7458
919d884a
KM
74592011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7460
7461 * allout.el (allout-post-undo-hook): New allout outline-change
7462 event hook to signal undo activity.
7463 (allout-post-command-business): Run allout-post-undo-hook if an
7464 undo just occurred.
7dbfa719
SM
7465 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7466 * allout-widgets.el (allout-widgets-after-undo-function):
7467 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7468 in the vicinity of an undo.
7469 (allout-widgets-mode): Include allout-widgets-after-undo-function
7470 on the new allout-post-undo-hook.
7471
450a0f09
SM
74722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7475 Let define-derived-mode define it.
7476 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7477 cycles of abbrev-table inheritance (bug#8998).
7478
2de69e00
RW
74792011-07-05 Roland Winkler <winkler@gnu.org>
7480
7481 * textmodes/bibtex.el: Add support for biblatex.
7482 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7483 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7484 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7485 (bibtex-entry-alist, bibtex-field-alist): New variables.
7486 (bibtex-entry-field-alist): Obsolete alias for
7487 bibtex-BibTeX-entry-alist.
7488 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7489 (bibtex-set-dialect): New command.
7490 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7491 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7492 Bind via bibtex-set-dialect.
2de69e00
RW
7493 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7494 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7495 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7496 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7497 Define via bibtex-set-dialect.
450a0f09
SM
7498 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7499 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7500 (bibtex-vec-push, bibtex-vec-incr): New functions.
7501 (bibtex-format-entry, bibtex-field-list)
7502 (bibtex-print-help-message, bibtex-validate)
7503 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7504
2dcdbdd9
SM
75052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * progmodes/compile.el (compilation-goto-locus):
7508 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7509 * bs.el (bs-cycle-next, bs-cycle-previous):
7510 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7511 * bindings.el (mode-line-other-buffer):
7512 * autoinsert.el (auto-insert):
7513 * arc-mode.el (archive-extract):
7514 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7515
b27640fe
JB
75162011-07-05 Juanma Barranquero <lekktu@gmail.com>
7517
7518 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7519 Fix check of `emacs-lock-unlockable-modes'.
7520 Coerce true values of `emacs-lock--try-unlocking' to t.
7521
53bbe3ad
JB
75222011-07-05 Juanma Barranquero <lekktu@gmail.com>
7523
7524 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7525 * emacs-lock.el: New file.
7526
1d3cdbc7
JD
75272011-07-05 Julien Danjou <julien@danjou.info>
7528
7529 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7530 than `boundp' to check if face is set.
7531
9173deec
JB
75322011-07-05 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * register.el (registerv-make):
7535 * window.el (window-min-height): Fix typos in docstrings.
7536
869795d6
JD
75372011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7538
9173deec 7539 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7540 Update doc string.
7541
b768cdcd
JB
75422011-07-04 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * server.el (server-execute): Catch quit and call
7545 `server-return-error' to pass the error back to emacsclient and
7546 close the connection (bug#8942).
7547
13aa217b
KM
75482011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7549
7550 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7551 insecure exception for current topic. Also note that auto-saves
7552 are handled differently.
7553
7554 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7555 State variables for tracking auto-save inhibition situation.
7556
7557 (allout-write-contents-hook-handler): Rename from
7558 'allout-write-file-hook-handler', and describe how it depends on
7559 write-contents-functions sensitivity to non-nil value to prevent
7560 file write.
7561
7562 (allout-auto-save-hook-handler): Remove. auto-save does not check
7563 this in individual buffers, only in the starting buffer, so this
7564 is not the right way for us to inhibit auto-save in a buffer
7565 according to its condition.
7566
7567 (allout-mode): Use new allout-write-contents-hook-handler, and
7568 only with write-contents-functions. Remove auto-save provisions -
7569 they're implemented elsewhere.
7570
7571 (allout-before-change-handler): If undo is in progress, note that
7572 for attention of allout-post-command-business.
7573
7574 (allout-post-command-business): If the command we're following was
7575 an undo, check for change in the status of encrypted items and
7576 adjust auto-save inhibitions accordingly.
7577
7578 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7579 according to whether there are or aren't any plain-text topics
7580 pending encryption.
7581
2dcdbdd9 7582 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7583 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7584 if there are plain-text topics pending encryption.
13aa217b
KM
7585
7586 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7587 buffer-saved-size and some allout state to not inhibit auto-saves
7588 if there are no longer any plain-text topics pending encryption.
7589
0757af94
SM
7590 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7591 No longer provide for exemption of the current topic.
13aa217b 7592
ac89b32c
JL
75932011-07-04 Juri Linkov <juri@jurta.org>
7594
7595 Add 7z operations to delete and save changed members (bug#8968).
7596 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7597 New defcustoms.
7598 (archive-7z-write-file-member): New function.
7599 (archive-7z-summarize): Fix the number of dashes in the
7600 listing output.
7601
8fa39615
SM
76022011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7605 (bug#8958).
7606
2f11b3f1
CY
76072011-07-04 Chong Yidong <cyd@stupidchicken.com>
7608
d66fef2b
CY
7609 * bindings.el: Ignore next-buffer and previous-buffer in
7610 minibuffer-local-map.
7611
2f11b3f1
CY
7612 * font-lock.el (font-lock-builtin-face): Change light background
7613 color to dark slate blue (Bug#6693).
7614
f932a347
WD
76152011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7616
7617 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7618
c8af70e1
SM
76192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7622 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7623 Add switch-to-buffer.
7624
f158badc
LMI
76252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7626
7627 * isearch.el (isearch-search-fun-function): Clarify further the
7628 meaning of the function returned.
7629
6d95bd46
MA
76302011-07-04 Michael Albinus <michael.albinus@gmx.de>
7631
7632 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7633
7634 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7635 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7636 Use it.
7637 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7638 `tramp-default-remote-path' does not exist.
7639 (tramp-send-command-and-read): New optional argument NOERROR.
7640 (tramp-open-connection-setup-interactive-shell)
7641 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7642 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7643 (tramp-process-sentinel): Flush also process' connection property.
7644 (tramp-sh-handle-start-file-process): Do not set process
7645 sentinel. It is done now ...
7646 (tramp-maybe-open-connection): ... here. (Bug#8929)
7647
909e6b67
MK
76482011-07-04 MON KEY <monkey@sandpframing.com>
7649
7650 * play/animate.el (animate-string): Doc fixes and allow changing
7651 the buffer name (bug#5417).
7652
76532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654
c8af70e1 7655 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7656
f34755dc
PE
76572011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7658
396cec72
PE
7659 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7660 This is simpler and helps future-proof the code.
7661 (timer-until): Use time-subtract and float-time.
08235028 7662 (timer--time-less-p): Use time-less-p.
f34755dc 7663
56e6cc31
JB
76642011-07-04 Juanma Barranquero <lekktu@gmail.com>
7665
3abb79e5
JB
7666 * type-break.el (timep): Use the value of `float-time' to avoid a
7667 byte-compiler warning.
7668
56e6cc31
JB
7669 * server.el (server-eval-and-print): Return any result, even nil.
7670
7b9430b4
PE
76712011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7672
7673 * type-break.el: Accept time formats that the builtins accept.
7674 (timep, type-break-time-difference): Accept any format that
7675 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7676 This is simpler and helps future-proof the code.
7677 (type-break-time-difference): Round rather than ignoring
7678 subseconds components.
7679
3034e9e7
LMI
76802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681
7682 * info.el (Info-apropos-matches): Make non-interactive, since it
7683 doesn't seem to do anything useful as a command (bug#8829).
7684
1485f4c0
CY
76852011-07-03 Chong Yidong <cyd@stupidchicken.com>
7686
7687 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7688 Move from faces.el.
1485f4c0
CY
7689 (frame-default-terminal-background): New function.
7690
7691 * custom.el (custom-push-theme): Don't record faces in `changed'
7692 theme; this doesn't work correctly for per-frame face settings.
7693 (disable-theme): Use face-set-after-frame-default to reset faces.
7694 (custom--frame-color-default): New function.
7695
9fa3dd45
LMI
76962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697
c8af70e1 7698 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7699 (bug#8769).
7700
6cbbc20c
KR
77012011-03-29 Kevin Ryde <user42@zip.com.au>
7702
7703 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7704 `perl-Test2' extend to match possible "fail #N" rep count
7705 (bug#8377).
7706
c7f98048
LMI
77072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7708
65676592
LMI
7709 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7710 `smtpmail-via-smtp' now returns the error instead of nil.
7711
c7f98048
LMI
7712 * isearch.el (isearch-search-fun-function): Clarify the doc string
7713 (bug#8101).
7714
56e6cc31 77152011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7716
7717 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7718 unnecessary spaces (bug#8987).
7719
2b216704
LMI
77202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7721
7722 * net/network-stream.el (open-network-stream): Use the
7723 :end-of-capability command thoughout.
7724
77252011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7726
7727 * net/network-stream.el (open-network-stream): Add the
7728 :end-of-capability command parameter, used by pop3.el.
7729
36adf6ce
LMI
77302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7731
1ca0da0e
LMI
7732 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7733
fc00f69c
LMI
7734 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7735 for list)" (bug#6475).
7736
28fd8759 7737 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7738 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7739 an error (bug#6297).
7740
0dd8b6da
LMI
7741 * man.el (Man-reference-regexp): Allow matching possible
7742 word-wrapped references (bug#6289).
7743
ce1438d6
LMI
7744 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7745 for consistency with the other vc buffers (bug#6197).
7746 (vc-checkin): Ditto.
7747
7748 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7749
36adf6ce
LMI
7750 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7751
e83cc1f7
LMI
77522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7753
8a20ca4c
LMI
7754 * custom.el (defcustom): Clarify that :set is only used in the
7755 Customize user interface (bug#6089).
7756
83319045
LMI
7757 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7758 associated with a file, refuse to run instead of erroring out
7759 (bug#6084).
7760
a8392169
LMI
7761 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7762 the doc string, since it appears that using `fill-column' always
7763 controls the width (bug#7845).
7764
e83cc1f7
LMI
7765 * simple.el (shell-command-on-region): Say where the error output
7766 went if `shell-command-default-error-buffer' is set (bug#6857).
7767
e47ca23b
KM
77682011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7769
7770 * allout.el (allout-yank-processing): Adjust cursor position for
7771 backwards-deleted space.
7772
7773 (allout-rebullet-heading): Register changes with
7774 allout-exposure-changed-hook, so the modified topic is properly
7775 decorated.
7776
5cf56143
LMI
77772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7778
08549772
LMI
7779 * minibuffer.el (completion-in-region): Document PREDICATE
7780 (bug#7136).
7781
48e96771
LMI
7782 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7783 of keyword/argument pairs (bug#6904).
7784
c8af70e1
SM
7785 * replace.el (multi-occur):
7786 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7787
e17d05e2
LMI
77882011-07-02 Drew Adams <drew.adams@oracle.com>
7789
7790 * dired.el (dired-mark-if): Make the message about whether it's
7791 marking or unmarking clearer (bug#8523).
7792
063b0e45
LMI
77932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794
7795 * disp-table.el (display-table-print-array): New function.
7796 (describe-display-table): Use it to print the vectors more pretty
7797 (Bug#8859).
7798
28545e04
MR
77992011-07-02 Martin Rudalics <rudalics@gmx.at>
7800
7801 * window.el (window-state-get-1): Don't assign clone numbers.
7802 Add clone-of item to list of window parameters.
7803 (window-state-put-2): Don't process clone numbers.
7804 (display-buffer-alist): Fix doc-string.
7805
3349e122
SM
78062011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7807
7808 * subr.el (remq): Don't allocate if it's not needed.
7809 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7810 (keymap--merge-bindings): New functions.
7811 (keymap-canonicalize): Use them to refine the canonicalization.
7812 * minibuffer.el (minibuffer-local-completion-map)
7813 (minibuffer-local-must-match-map): Move initialization from C.
7814 (minibuffer-local-filename-completion-map): Move initialization from C;
7815 don't inherit from anything here.
7816 (minibuffer-local-filename-must-match-map): Make obsolete.
7817 (completing-read-default): Use make-composed-keymap to combine
7818 minibuffer-local-filename-completion-map with either
7819 minibuffer-local-must-match-map or
7820 minibuffer-local-filename-completion-map.
7821
d224ac83
GM
78222011-07-01 Glenn Morris <rgm@gnu.org>
7823
3de63bf8
GM
7824 * type-break.el (type-break-time-sum): Use dolist.
7825
d224ac83
GM
7826 * textmodes/flyspell.el (flyspell-word-search-backward):
7827 Replace CL function.
7828
1a1e3f32
SM
78292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7830
fe3f64d5
SM
7831 * mouse.el (mouse--strip-first-event): New function.
7832 (function-key-map): Use it to map fringe clicks to normal clicks
7833 by default.
7834
eb604e34
SM
7835 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7836 (vc-bzr-revision-completion-table): Add support for annotate and date.
7837
1a1e3f32
SM
7838 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7839 inherit from parent.
7840
5bd35902
LMI
78412011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7842
ace6c69c 7843 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7844 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7845
191e2bed
LMI
7846 * dired.el (dired-mode): Fix up the doc string as suggested by
7847 Drew Adams (bug#8817).
7848
5bd35902
LMI
7849 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7850 cookie, since the manual says that it should be possible to add
7851 this function to `find-file-hook' (bug#8709).
7852
eee8207a
TZ
78532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7854
7855 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7856 here. Noted Ted Zlatanov as the maintainer.
7857 (cfengine-common-settings, cfengine-common-syntax): New functions
7858 to set up common things between `cfengine-mode' and
7859 `cfengine3-mode'.
7860 (cfengine3-mode): New mode.
7861 (cfengine3-defuns cfengine3-defuns-regex
7862 (cfengine3-class-selector-regex cfengine3-category-regex)
7863 (cfengine3-vartypes cfengine3-font-lock-keywords)
7864 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7865 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7866
36b148cf
MA
78672011-07-01 Michael Albinus <michael.albinus@gmx.de>
7868
7869 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7870
7871 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7872
0bf4ba9a
MR
78732011-07-01 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (same-window-buffer-names, same-window-regexps)
7876 (same-window-p, special-display-frame-alist)
7877 (special-display-popup-frame, special-display-function)
7878 (special-display-buffer-names, special-display-regexps)
7879 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7880 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7881 (split-window-preferred-function, split-height-threshold)
7882 (split-width-threshold, even-window-heights)
7883 (display-buffer-mark-dedicated, window-splittable-p)
7884 (split-window-sensibly, window-safely-shrinkable-p):
7885 Un-obsolete.
7886 (display-buffer): Don't spread args with function specifier
7887 because special-display-popup-frame won't like it.
7888
35837f51
PE
78892011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7890
d0672f86
PE
7891 Time-stamp simplifications and fixes.
7892 These improve accuracy slightly, and future-proof the code
7893 against some potential changes to current-time format.
7894
b9444d97
PE
7895 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7896 by using time-since and float-time.
7897
0ef923dc
PE
7898 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7899 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7900 + NNN microseconds".
7901
2f81380d
PE
7902 * type-break.el (type-break-time-sum): Rewrite using time-add.
7903
845b5c3e
PE
7904 * play/hanoi.el (hanoi-current-time-float): Remove.
7905 All uses replaced by float-time.
7906
ee6f1be0
PE
7907 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7908 This yields a more-accurate answer.
7909 (rng-time-to-float): Remove; no longer needed.
7910
fe955043
PE
7911 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7912
5777162a
PE
7913 * calendar/timeclock.el (timeclock-seconds-to-time):
7914 Defalias to seconds-to-time, since they're the same thing.
7915
3103f8b6 7916 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7917 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7918 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7919
0e61a35f
SM
79202011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * window.el (bury-buffer): Don't iconify the only frame.
7923 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7924 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7925
ddd63a1e
CY
79262011-07-01 Chong Yidong <cyd@stupidchicken.com>
7927
0e61a35f
SM
7928 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7929 Add mouse-yank-primary.
ddd63a1e 7930
055f4923
TZ
79312011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7932
7933 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7934
6a2fb145
SM
79352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7938 (find-library-name): Use it to find relative load names when provided
7939 absolute file name (bug#8803).
7940
fd4983f2
LMI
79412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7942
887d14ad
LMI
7943 * textmodes/flyspell.el (flyspell-word): Consider words that
7944 differ only in case as potential doublons (bug#5687).
7945
c53dc7fc
LMI
7946 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7947 Remove two rather uninteresting debugging-like messages to make
7948 debbugs.el more silent.
7949
fd4983f2
LMI
7950 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7951 a password-like phrase.
7952
7a71b18d 79532011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7954
7955 * progmodes/cc-guess.el: New file.
7956
6a2fb145 7957 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7958
7959 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7960 derived from `c-basic-common-init'.
7961
7962 * progmodes/cc-mode.el (top-level): Require cc-guess.
7963 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7964
1fa280a3
LM
79652011-06-30 Lawrence Mitchell <wence@gmx.li>
7966
7967 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7968
e6597158
AM
79692011-06-30 Alan Mackenzie <acm@muc.de>
7970
1fa280a3
LM
7971 * progmodes/cc-engine.el (c-guess-continued-construct):
7972 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7973 lock is disabled. Name this case as "CASE G".
7974
68ba37fb
KM
79752011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7976
7977 * allout.el (allout-yank-processing): Fix injection of extra space
7978 between bullet and non-whitespace character in first topic when
7979 pasting, ensuring that the actual spacing in the pasted topic
7980 following the bullet char is preserved. This extra space was
7981 causing pasted encrypted topics to get a decrypted status even
7982 when the content was actually still encrypted. Now the decryption
7983 status from before the paste is preserved.
7984
7985 (allout-flag-region): Set all allout overlays so they evaporate
7986 when reduced to zero length (evanescent), to prevent overlay
7987 leakage.
7988
887a0b34
GM
79892011-06-30 Glenn Morris <rgm@gnu.org>
7990
94b9acce
GM
7991 * w32-fns.el (w32-charset-info-alist): Declare.
7992
1d9b46d4
GM
7993 * find-dired.el (find-grep-options): Simplify.
7994
cc232200
GM
7995 * term/ns-win.el (ns-set-resource): Declare.
7996
28e77c46
GM
7997 * ses.el (row, col): Declare dynamic variables honestly.
7998
887a0b34
GM
7999 * textmodes/reftex-parse.el (index-tags): Declare.
8000
658d8eb8
CY
80012011-06-30 Chong Yidong <cyd@stupidchicken.com>
8002
8003 * cus-edit.el (customize-push-and-save): New function.
8004
8005 * files.el (hack-local-variables-confirm): Use it.
8006
1fa280a3
LM
8007 * custom.el (load-theme): New arg NO-CONFIRM.
8008 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8009 (custom-enabled-themes): Doc fix.
8010
8011 * cus-theme.el (customize-create-theme)
8012 (custom-theme-merge-theme): Callers to load-theme changed.
8013
bb617717
LMI
80142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8015
d61bdd5d
LMI
8016 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8017 short URLs have at least one dot in them (bug #7614).
8018
bb617717
LMI
8019 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8020 nil, because using a pty is apparently too slow (bug #895).
8021
2f31f37a
LMI
80222011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8023
8024 * mail/sendmail.el (sendmail-query-once): New function.
8025 (sendmail-query-once-function): New variable.
8026
3076b24e
GM
80272011-06-29 Glenn Morris <rgm@gnu.org>
8028
faf2a174
GM
8029 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8030
3076b24e
GM
8031 * ses.el (top-level): Require cl when compiling.
8032 (ses-set-localvars): Fix error statement.
8033 Call it at compile time to silence a storm of warnings.
8034
5386012d
MR
80352011-06-29 Martin Rudalics <rudalics@gmx.at>
8036
8037 * window.el (normalize-live-buffer): Rename to
8038 window-normalize-buffer.
8039 (normalize-live-frame): Rename to window-normalize-frame.
8040 (normalize-any-window): Rename to window-normalize-any-window.
8041 (normalize-live-window): Rename to window-normalize-live-window.
8042 (make-window-atom): Rename to window-make-atom.
8043 (window-resize-reset): Rename to window--resize-reset.
8044 (window-resize-reset-1): Rename to window--resize-reset-1.
8045 (resize-mini-window): Rename to window--resize-mini-window.
8046 (resize-subwindows-skip-p): Rename to
8047 window--resize-subwindows-skip-p.
8048 (resize-subwindows-normal): Rename to
8049 window--resize-subwindows-normal.
8050 (resize-subwindows): Rename to window--resize-subwindows.
8051 (resize-other-windows): Rename to window--resize-siblings.
8052 (resize-this-window): Rename to window--resize-this-window.
8053 (resize-root-window): Rename to window--resize-root-window.
8054 (resize-root-window-vertically): Rename to
8055 window--resize-root-window-vertically.
8056 (normalize-buffer-to-display): Rename to
8057 window-normalize-buffer-to-display.
8058 (normalize-buffer-to-switch-to): Rename to
8059 window-normalize-buffer-to-switch-to.
8060 Correspondingly update all callers of the functions listed
8061 above.
8062 (display-buffer-alist, display-buffer-normalize-arguments)
8063 (display-buffer-normalize-options, display-buffer)
8064 (display-buffer-alist-set): Use "function" instead of
8065 "fun-with-args".
8066
1176868d
CY
80672011-06-28 Chong Yidong <cyd@stupidchicken.com>
8068
8069 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8070 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8071 debbugs.gnu.org. Mention acknowledgment email.
8072
20a7a65f
LMI
80732011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8074
8075 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8076 buffer multibyteness, since it shouldn't matter.
8077
5f45cca5
MR
80782011-06-28 Martin Rudalics <rudalics@gmx.at>
8079
8080 * window.el (display-buffer-in-side-window): Handle dedicated
8081 windows as in display-buffer-reuse-window.
8082 (display-buffer-normalize-alist): Use value of override
8083 specifier.
8084 (display-buffer-normalize-specifiers): Use value of
8085 other-window-means-other-frame specifier.
8086 (display-buffer-alist): Rewrite some texts in widgets.
8087 (display-buffer): Spread arguments when calling function
8088 specified by fun-with-args.
8089
ad85fe1f
DD
80902011-06-28 Deniz Dogan <deniz@dogan.se>
8091
1fa280a3
LM
8092 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8093 Unnest `let'.
da68c4c8 8094
ad85fe1f
DD
8095 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8096 selectors (Bug#5732).
ec49bd31 8097 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8098
a08cc025
JA
80992011-06-27 Jari Aalto <jari.aalto@cante.net>
8100
8101 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8102 (eshell-ls-date-format): New defcustom.
8103 (eshell-ls-file): Use it.
8104
e2b551c5
SM
81052011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8108
8982b231
KY
81092011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8110
8111 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8112 (ange-ftp-make-tmp-name): New arg.
8113 (ange-ftp-file-local-copy): Use it.
8114
36c9fa27
J
81152011-06-27 Jambunathan K <kjambunathan@gmail.com>
8116
8117 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8118 no-conversion (Bug#8870).
8119
d68443dc
MR
81202011-06-27 Martin Rudalics <rudalics@gmx.at>
8121
8122 * window.el (window-right, window-left, window-child)
8123 (window-child-count, window-last-child)
8124 (window-iso-combination-p, walk-window-tree-1)
8125 (window-atom-check-1, window-tree-1, delete-window)
8126 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8127 new naming conventions - window-vchild, window-hchild,
8128 window-next and window-prev are now called window-top-child,
8129 window-left-child, window-next-sibling and window-prev-sibling
8130 respectively.
d615d6d2
MR
8131 (resize-window-reset): Rename to window-resize-reset.
8132 (resize-window-reset-1): Rename to window-resize-reset-1.
8133 (resize-window): Rename to window-resize.
8134 (window-min-height, window-min-width)
8135 (resize-mini-window, resize-this-window, resize-root-window)
8136 (resize-root-window-vertically, adjust-window-trailing-edge)
8137 (enlarge-window, shrink-window, maximize-window)
8138 (minimize-window, delete-window, quit-restore-window)
8139 (split-window, balance-windows, balance-windows-area-adjust)
8140 (balance-windows-area, window-state-put-2)
8141 (display-buffer-even-window-sizes, display-buffer-set-height)
8142 (display-buffer-set-width, set-window-text-height)
8143 (fit-window-to-buffer): Rename all "resize-window" prefixed
8144 calls to use the "window-resize" prefix convention.
8145 (display-buffer-alist): Fix symbol for label specifier.
8146 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8147 corresponding specifier.
8148 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8149
b6458526
VB
81502011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8151
8152 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8153 convention.
8154 (ses-call-printer): Does not pass an empty string to formatter when the
8155 cell is empty to keep from barking printer Calc math-format-value.
8156
d31fd9ac
RS
81572011-06-27 Richard Stallman <rms@gnu.org>
8158
43d5bf84
RS
8159 * battery.el (battery-mode-line-limit): New variable.
8160 (battery-update): Handle it.
8161
d31fd9ac
RS
8162 * mail/rmailmm.el (rmail-mime-process-multipart):
8163 Handle truncated messages.
8164
819a6054
GM
81652011-06-27 Glenn Morris <rgm@gnu.org>
8166
8167 * progmodes/flymake.el (flymake-err-line-patterns):
8168 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8169
cedc73f2
VB
81702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8171
819a6054 8172 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8173 (ses--clean-!, ses--clean-_): New functions.
8174 (ses-range): Add configurability of readout order, and conversion
8175 to Calc vector.
8176
5e5d49b6
VB
8177 * ses.el (ses-repair-cell-reference-all): New function.
8178 (ses-cell-symbol): Set macro as safe, so that it can be used in
8179 formulas.
8180
56e6cc31 8181 * ses.el: Update cycle detection algorithm.
90ca8b49 8182 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8183 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8184 (ses-set-localvars): New function.
8185 (ses-make-cell): Add property-list as a cell element.
8186 (ses-cell-property-get-fun, ses-cell-property-get)
8187 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8188 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8189 New functions.
90ca8b49
VB
8190 (ses-cell-property-set, ses-cell-property-pop)
8191 (ses-cell-property-get-handle): New macro.
8192 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8193 New aliases, used for code readability.
8194 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8195 cycle detection.
8196 (ses-self-reference-early-detection): New defcustom.
fac916bf 8197 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8198 (ses-mode): Use ses-set-localvars.
8199 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8200 before lauching the update processing.
8201 (ses-initialize-Dijkstra-attempt): New function.
8202 (ses-recalculate-cell): Update for cycle detection based on
8203 Dijkstra algorithm.
8204
2bb63e81
VB
8205 * ses.el: Fix commenting and indenting convention.
8206
c9d29fb8
SM
82072011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * bs.el (bs-cycle-next): Complete last change.
8210
d8e4b68b
JB
82112011-06-27 Drew Adams <drew.adams@oracle.com>
8212
8213 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8214
40098786
LMI
82152011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216
c9d29fb8
SM
8217 * net/network-stream.el (network-stream-open-starttls):
8218 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8219 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8220
40098786
LMI
8221 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8222 to binary to possibly avoid line encoding issues on Windows (among
8223 other things).
8224
468d09d4
LMI
82252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8226
8227 * net/network-stream.el (open-network-stream): Return an :error
8228 saying what the problem was, if possible.
8229
8230 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8231 server.
8232
8233 * net/network-stream.el (network-stream-open-starttls): If we
8234 wanted to use STARTTLS, and the server offered it, but we weren't
8235 able to because we had no STARTTLS support, then close the connection.
8236 (open-network-stream): Return an :error element, if present.
8237
16f07dd7
CY
82382011-06-26 Chong Yidong <cyd@stupidchicken.com>
8239
88821ca0
CY
8240 * hl-line.el (hl-line-sticky-flag): Doc fix.
8241 (global-hl-line-sticky-flag): New option (Bug#8323).
8242 (global-hl-line-highlight): Obey it.
8243
16f07dd7
CY
8244 * vc/vc.el (vc-revert-show-diff): Default to t.
8245
6b5ccddf
KM
82462011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8247
c9d29fb8
SM
8248 * allout-widgets.el (allout-widgets-post-command-business):
8249 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8250 undecorated when an isearch is continued past, and isearch
8251 automatically collapses them. This leads to "widget leaks", where
8252 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8253 hidden widgets can slow down cursor travel, substantially.
8254 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8255 so we're doing without this nicety.
8256
8257 (allout-widgets-tally-string): Don't try to do a hash-table-count
8258 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8259 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8260 *Messages* when allout-widgets-maintain-tally is t.
8261
355f2e07
MR
82622011-06-26 Martin Rudalics <rudalics@gmx.at>
8263
8264 * window.el (display-buffer-normalize-argument): Rename to
8265 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8266 LABEL argument. Respect special-display-function when popping up
8267 a new frame. Fix code searching for a window showing the buffer
8268 on another frame.
c9d29fb8
SM
8269 (display-buffer-normalize-specifiers):
8270 Call display-buffer-normalize-arguments.
355f2e07
MR
8271 (display-buffer-in-window): Don't undedicate the window if its
8272 buffer remains the same.
8273 Reported by Drew Adams <drew.adams@oracle.com>.
8274 (display-buffer-alist): Add choice for same-window macro
8275 specfier.
8276 (display-buffer): Mention special meaning of LABEL argument in
8277 doc-string. Fix quoting. Don't pop up a new frame even as
8278 fallback.
8279
7ca8fc42
JB
82802011-06-26 Juanma Barranquero <lekktu@gmail.com>
8281
8282 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8283 avoid deleting the current window in some cases (bug#8911).
8284
bc312254
AS
82852011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8286
8287 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8288 (Bug#8934)
8289
2db18f3f
LMI
82902011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8291
c9d29fb8
SM
8292 * net/network-stream.el (network-stream-open-starttls):
8293 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8294 (network-stream-open-tls): Ditto.
8295
6302e0d3
LL
82962011-06-26 Leo Liu <sdl.web@gmail.com>
8297
8298 * register.el (registerv): New struct.
8299 (registerv-make): New function.
c9d29fb8
SM
8300 (jump-to-register, describe-register-1, insert-register):
8301 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8302 struct. (Bug#8415)
8303
5fdd4046
CY
83042011-06-26 Chong Yidong <cyd@stupidchicken.com>
8305
2afef60a
CY
8306 * vc/vc.el (vc-revert-show-diff): New defcustom.
8307 (vc-diff-internal): New arg specifying diff buffer.
8308 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8309 reuse an existing *vc-diff* buffer (Bug#8927).
8310
5fdd4046
CY
8311 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8312
e93db24a
GM
83132011-06-26 Glenn Morris <rgm@gnu.org>
8314
8315 * progmodes/f90.el (f90-critical-indent): New option.
8316 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8317 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8318 (f90-mode): Doc fix.
8319 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8320 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8321 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8322 (f90-match-end): Handle block, critical.
8323
eefff499
GM
83242011-06-25 Glenn Morris <rgm@gnu.org>
8325
f6ba4cc9
GM
8326 * calendar/diary-lib.el (diary-included-files): Doc fix.
8327 (diary-include-files): New function, extracted from
8328 diary-include-other-diary-files and diary-mark-included-diary-files.
8329 (diary-include-other-diary-files, diary-mark-included-diary-files):
8330 Just call diary-include-files.
8331 (diary-mark-entries): Reset diary-included-files on first call.
8332
16712304
GM
8333 * calendar/diary-lib.el (diary-mark-entries)
8334 (diary-mark-included-diary-files):
8335 Visit included diary-files in temp buffers.
8336
5d8e0d43
GM
8337 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8338 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8339 (f90-start-block-re, f90-imenu-generic-expression)
8340 (f90-looking-at-program-block-start, f90-no-block-limit):
8341 Add support for submodules.
8342
ccf7a5d5
GM
8343 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8344 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8345
11fdef7d 83462011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8347
8348 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8349 buffer-file-type before setting its value, to avoid disastrous
eefff499 8350 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8351
74f53697
JB
83522011-06-25 Juanma Barranquero <lekktu@gmail.com>
8353
8354 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8355
8356 * ses.el (ses-unload-function):
8357 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8358
8359 * proced.el (proced-unload-function):
8360 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8361
18a4ce5e
AR
83622011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8363
8364 * server.el (server-create-window-system-frame): Add parameters arg.
8365 (server-process-filter): Doc fix. Handle frame-parameters.
8366
519d22cc
JB
83672011-06-25 Juanma Barranquero <lekktu@gmail.com>
8368
8369 Fix bug#8730, bug#8781.
8370
8371 * loadhist.el (unload--set-major-mode): New function.
8372 (unload-feature): Use it.
8373
8374 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8375 (python-unload-function): New function.
8376
c206f5b0
SM
83772011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8380
f9ad64f3
GS
83812011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8382
8383 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8384 the candidates list.
8385
7d0da90e
JB
83862011-06-24 Juanma Barranquero <lekktu@gmail.com>
8387
8388 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8389
14b4e83d
RS
83902011-06-23 Richard Stallman <rms@gnu.org>
8391
8392 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8393 (rmail-variables): Set next-error-move-function.
8394 (rmail-what-message): Take argument POS.
8395 (rmail-next-error-move): New function.
8396
273d2baf
SM
83972011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8400 messages for adjacent non-terminals.
8401
56c2cc9a
RS
84022011-06-23 Richard Stallman <rms@gnu.org>
8403
8404 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8405 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8406 (rmail-start-mail): Don't specify use of rmail-mail-return;
8407 that's done by mail-bury now.
8408 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8409
d59eb518
MA
84102011-06-23 Michael Albinus <michael.albinus@gmx.de>
8411
8412 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8413 SIZE is a number.
8414
02cfc6d6
MR
84152011-06-23 Martin Rudalics <rudalics@gmx.at>
8416
8417 * window.el (get-lru-window, get-mru-window)
8418 (get-largest-window): Never return a minibuffer window.
8419 (display-buffer-pop-up-window): Fix a bug that could lead to
8420 reusing the minibuffer window.
8421 (display-buffer): Pass original specifier argument to
8422 display-buffer-function instead of the normalized one.
8423 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8424
4e323265
LL
84252011-06-22 Leo Liu <sdl.web@gmail.com>
8426
8427 * minibuffer.el (completing-read-function)
8428 (completing-read-default): Move from minibuf.c
8429
7a70468f
RS
84302011-06-22 Richard Stallman <rms@gnu.org>
8431
50718fc2
RS
8432 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8433 to Rmail even if not started by a special Rmail command.
8434
7a70468f
RS
8435 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8436 Copy the buffer currently showing just one message.
8437
297dde5a
RW
84382011-06-22 Roland Winkler <winkler@gnu.org>
8439
8440 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8441 (bibtex-clean-entry): First delete the old key so that a
8442 customized algorithm for generating the new key does not get
8443 confused by the old key.
8444 (bibtex-url): Obey regexp of first step.
8445 (bibtex-search-entries): Do not use add-to-list with local
8446 list-var.
8447
97bb1093
LMI
84482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8449
8450 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8451 stored a user name, then query for the password first, instead of
8452 waiting for SMTP to give an error message and the trying again.
8453
1c0f1a19
JD
84542011-06-22 Lawrence Mitchell <wence@gmx.li>
8455
8456 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8457 BUFFER in call-process.
8458
396f7c9d
LMI
84592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8460
8461 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8462 QUIT twice.
ddb7ffee
LMI
8463 (smtpmail-try-auth-methods): Require user name and password from
8464 auth-source.
396f7c9d 8465
8998d1b3
MR
84662011-06-22 Martin Rudalics <rudalics@gmx.at>
8467
8468 * window.el (display-buffer-default-specifiers)
8469 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8470 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8471 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8472
8473 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8474 (special-display-frame-alist, special-display-popup-frame):
8475 Remove duplicate declarations. These are now in window.el.
8476
4ea31e07
LMI
84772011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8478
c9d29fb8
SM
8479 * mail/smtpmail.el (smtpmail-via-smtp):
8480 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8481 server supports it. SMTP servers that support STARTTLS commonly
8482 require it.
8483
8484 * net/network-stream.el (network-stream-open-starttls): Support
8485 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8486 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8487
95f41d9a
LMI
8488 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8489 upgrades with `open-network-stream', and rely solely on
8490 auth-source for all credentials. Big changes throughout the file,
8491 but in particular:
c9d29fb8
SM
8492 (smtpmail-auth-credentials): Remove.
8493 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8494 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8495 MAIL FROM, too.
95f41d9a 8496
c9d29fb8
SM
8497 * net/network-stream.el (network-stream-open-starttls):
8498 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8499 STARTTLS.
8500 (auth-source): Require.
8501 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8502 (network-stream-certificate): Change cert-cert to cert and
8503 cert-key to key.
4ea31e07 8504
065ec2c7
MA
85052011-06-21 Michael Albinus <michael.albinus@gmx.de>
8506
8507 * net/tramp-cache.el (top): Don't load the persistency file when
8508 "emacs -Q" has been called.
8509
cd93b359
DR
85102011-06-21 Tim Harper <timcharper@gmail.com>
8511
d8e4b68b
JB
8512 * term/ns-win.el (ns-initialize-window-system):
8513 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8514 resource to NO as it is not yet supported by the NS port.
8515
ae9c0411
JB
85162011-06-21 Juanma Barranquero <lekktu@gmail.com>
8517
8518 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8519 (list-dynamic-libraries): ...not here.
8520
7f3f739f
LL
85212011-06-21 Leo Liu <sdl.web@gmail.com>
8522
8523 * subr.el (sha1): Implement sha1 using secure-hash.
8524
327c8fb1
MR
85252011-06-21 Martin Rudalics <rudalics@gmx.at>
8526
8527 * window.el (display-buffer-alist): In default value do not
8528 enforce searching a window on any but the selected frame.
8529 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8530 (display-buffer-select-window): Remove function.
8531 (display-buffer-in-window): When a window on another frame gets
8532 reused, do not select it any more but just raise its frame if
8533 necessary (Bug#8851) and (Bug#8856).
8534 (display-buffer-normalize-options): Handle pop-up-frames related
8535 options more faithfully.
8536 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8537 window if it is on another frame.
c9d29fb8
SM
8538 (display-buffer-alist, display-buffer-default-specifiers):
8539 Don't make new frame unsplittable by default.
9e9de014
MR
8540 (display-buffer-normalize-argument): Fix doc-string typo and use
8541 'same-frame-other-window instead of 'other-window when associating
8542 with display-buffer-macro-specifiers.
327c8fb1 8543
7cf3f556
VB
85442011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8545
8546 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8547 New functions.
8548 (5x5-mode-map, 5x5-mode-menu): Bind them.
8549 (5x5-draw-grid): Tweak the solver's rendering.
8550
60a406cf
SM
85512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8554 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8555
d8e4b68b 85562011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8557
8558 * menu-bar.el: Use function variable instead of switch-to-buffer.
8559 (menu-bar-select-buffer-function): New variable.
60a406cf 8560 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8561
478d6f95
SM
85622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8565 variable's status.
8566
ca530739
JD
85672011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8568
8569 * x-dnd.el (x-dnd-version-from-flags)
8570 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8571 and long as number (Bug#8899).
8572 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8573
bcd70d97
SM
85742011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8575
60a406cf 8576 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8577 (completion-try-completion, completion-all-completions): Compute the
8578 metadata argument if it's missing; make it optional (bug#8795).
8579
60a406cf 8580 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8581 (widget-complete): Use new :completion-function property.
8582 (widget-completions-at-point): New function.
8583 (default): Use :completion-function instead of :complete.
60a406cf
SM
8584 (widget-default-completions): Rename from widget-default-complete;
8585 Rewrite.
bcd70d97
SM
8586 (widget-string-complete, widget-file-complete, widget-color-complete):
8587 Remove functions.
8588 (file, symbol, function, variable, coding-system, color):
8589 * international/mule-cmds.el (default-input-method, charset)
8590 (language-info-custom-alist):
8591 * cus-edit.el (face): Use new property :completions.
8592
8593 * progmodes/pascal.el (pascal-completions-at-point): New function.
8594 (pascal-mode): Use it.
8595 (pascal-mode-map): Use completion-at-point.
8596 (pascal-toggle-completions): Make obsolete.
8597 (pascal-complete-word, pascal-show-completions):
8598 * progmodes/octave-mod.el (octave-complete-symbol):
8599 Redefine as obsolete alias.
8600 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8601 Signal absence of completion info for old Octave,
8602 (inferior-octave-complete): Redefine as obsolete alias.
8603 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8604 (meta-completions-at-point): Rename from meta-complete-symbol and
8605 adapt it for use on completion-at-point-functions.
8606 (meta-common-mode): Use it.
8607 (meta-looking-at-backward, meta-match-buffer): Remove.
8608 (meta-complete-symbol): Redefine as obsolete alias.
8609 (meta-common-mode-map): Use completion-at-point.
8610 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8611 (makefile-mode-map): Use completion-at-point.
8612 (makefile-completions-at-point): Rename from makefile-complete and
8613 adapt it for use on completion-at-point-functions.
8614 (makefile-mode): Use it.
8615 (makefile-complete): Redefine as obsolete alias.
8616
aebf69c8
DD
86172011-06-20 Deniz Dogan <deniz@dogan.se>
8618
8619 * net/rcirc.el: Delete trailing whitespaces once and for all.
8620
bfbbb27d
DC
86212011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8622
8623 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8624
d264a46b
CY
86252011-06-19 Chong Yidong <cyd@stupidchicken.com>
8626
4ca009e5
CY
8627 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8628
d264a46b
CY
8629 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8630
fbf5b3ce
MR
86312011-06-19 Martin Rudalics <rudalics@gmx.at>
8632
8633 * window.el (display-buffer-other-window-means-other-frame):
8634 Call display-buffer-normalize-alist.
8635 (display-buffer-normalize-specifiers-1): Rename to
8636 display-buffer-normalize-argument. New argument other-frame.
8637 Rewrite.
8638 (display-buffer-normalize-specifiers-2): Rename to
8639 display-buffer-normalize-options.
8640 (display-buffer-normalize-alist-1): New function.
8641 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8642 display-buffer-normalize-alist.
8643 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8644 (display-buffer-normalize-options-inhibit): New variable.
8645 (display-buffer-normalize-specifiers): Rewrite calling
8646 display-buffer-normalize-alist,
8647 display-buffer-normalize-argument, and
8648 display-buffer-normalize-options. Don't call the latter if
8649 display-buffer-normalize-options-inhibit is non-nil.
8650 (frame-auto-delete): New option.
8651 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8652 (window-list-no-nils, window-state-ignored-parameters)
8653 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8654 (window-state-put-1, window-state-put-2, window-state-put):
8655 New functions.
9a028c23
MR
8656 (display-buffer-normalize-options): Move special-display-p group
8657 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8658
6d10d800
CY
86592011-06-18 Chong Yidong <cyd@stupidchicken.com>
8660
6420d28b
CY
8661 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8662 groups (Bug#8776).
8663 (rx-submatch-n): New function.
8664 (rx): Document it.
8665
ddb8b596
CY
8666 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8667 (Bug#8768).
8668
8669 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8670
77080289
CY
8671 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8672
61dfb316
CY
8673 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8674 anytime existing face settings are present (Bug#8889).
8675
6d10d800
CY
8676 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8677 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8678 Remove unused argument.
8679
be3fb2b8
MR
86802011-06-18 Martin Rudalics <rudalics@gmx.at>
8681
bcd70d97
SM
8682 * window.el (display-buffer-default-specifiers):
8683 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8684 pop-up-window-min-width, and another reuse-window specifier
8685 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8686 (display-buffer-normalize-specifiers-2):
8687 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8688 pop-up-windows is unset. Add a reuse-window specifier for the
8689 case popping up a new window fails.
8690 (special-display-popup-frame): Remove double quoting.
28dec25a 8691 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8692
1c6d8c76
SM
86932011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8696 according to comint-completion-addsuffix.
8697
8698 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8699 (pcomplete-suffix-list): Mark as obsolete.
8700 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8701 pcomplete-seen in the closure.
8702 (pcomplete-comint-setup): Setup completion-at-point as well.
8703 (pcomplete--entries): New function.
8704 (pcomplete--env-regexp): New var.
8705 (pcomplete-entries): Rewrite to work with partial-completion and
8706 without relying on pcomplete-suffix-list.
8707 (pcomplete-pare-list): Remove, unused.
8708
25aef8b8
MR
87092011-06-17 Martin Rudalics <rudalics@gmx.at>
8710
8711 * window.el (display-buffer-alist): Set pop-up-window-min-height
8712 and pop-up-window-min-width in default value. Reported by
8713 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8714 other-window-means-other-frame.
8715 (display-buffer-macro-specifiers): Comment out entry for
8716 other-window specifier.
8717 (display-buffer-other-window-means-other-frame): New function.
8718 (display-buffer-normalize-specifiers-1): New arguments
8719 buffer-name and label. Treat other-window case specially.
8720 (display-buffer-normalize-specifiers-2): Treat other-window case
8721 specially.
8722 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8723 (display-buffer-normalize-specifiers):
8724 Call display-buffer-normalize-specifiers-3.
25aef8b8 8725
dbad4f69
MR
87262011-06-17 Martin Rudalics <rudalics@gmx.at>
8727
8728 * window.el (same-window-p): Fix two typos introduced when
8729 adding with-no-warnings.
d1067961
MR
8730 (display-buffer-normalize-specifiers-1): Don't check
8731 pop-up-frames for 'unset initialization.
8732 (display-buffer-normalize-specifiers-2): Major rewrite using
8733 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8734 (pop-up-frames, display-buffer-reuse-frames)
8735 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8736 Suggested by David Engster <deng@randomsample.de>.
8737 (even-window-heights): Initialize to 'unset.
8738 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8739 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8740 other window case.
dbad4f69 8741
9b9c9e3a
MR
87422011-06-16 Martin Rudalics <rudalics@gmx.at>
8743
bcd70d97
SM
8744 * window.el (display-buffer-normalize-specifiers-1):
8745 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8746 second argument of display-buffer (Bug#8865).
981d5c09
MR
8747 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8748 (switch-to-buffer-other-window-same-frame)
8749 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8750 Adams (Bug#8875).
9c2755e9
MR
8751 (display-buffer): Don't check noninteractive when calling
8752 display-buffer-pop-up-frame.
8753 (display-buffer-pop-up-frame): Never pop up a frame in
8754 noninteractive mode (Bug#8857).
67222e1d
MR
8755 (enlarge-window, shrink-window): Don't report an error when the
8756 window can't be resized as requested (Bug#8862).
9b9c9e3a 8757
2b75be67
SM
87582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8759
9ffdd3ba
SM
8760 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8761
cb581a67
SM
8762 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8763
2b75be67
SM
8764 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8765
8c0e3589
AM
87662011-06-15 Alan Mackenzie <acm@muc.de>
8767
cb581a67
SM
8768 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8769 for declarators, disable knr checking to speed up for normal files.
8770 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8771
b96e6cde
LMI
87722011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8773
4bba86e6
LMI
8774 * net/network-stream.el (open-network-stream): Add the keyword
8775 :always-query-capabilities for the case where you want to force a
8776 `plain' network connection, but the protocol still requires the
8777 capabilitiy command (i.e., SMTP and EHLO).
8778
2b75be67 8779 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8780 consistency with other `-live-p' functions.
8781
efdcdbf8
SM
87822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * window.el (same-window-buffer-names, same-window-regexps)
8785 (special-display-frame-alist, special-display-popup-frame)
8786 (special-display-function, special-display-buffer-names)
8787 (special-display-regexps, pop-up-frame-alist)
8788 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8789 (pop-up-windows, split-window-preferred-function)
8790 (split-height-threshold, split-width-threshold, even-window-heights)
8791 (display-buffer-mark-dedicated): Don't encourage the use of
8792 display-buffer-alist from Elisp code.
8793
c5cde042
DN
87942011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8795
8796 * progmodes/python.el (python-mode): Derive from prog-mode.
8797 * progmodes/ps-mode.el (ps-mode):
8798 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8799 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8800 * progmodes/ld-script.el (ld-script-mode): Likewise.
8801
baa1c9ab
MR
88022011-06-15 Martin Rudalics <rudalics@gmx.at>
8803
8804 * window.el (display-buffer-alist): Trim default value to avoid
8805 popping up a new frame (Bug#8857) or reusing an arbitrary window
8806 on another frame.
8807 (display-buffer): Do not fall back on popping up a new frame in
8808 batch mode (Bug#8857).
8809
c5dd5a51
CY
88102011-06-14 Chong Yidong <cyd@stupidchicken.com>
8811
8812 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8813 (custom-theme-summary): New function.
8814 (customize-themes): Use it.
8815
d647b7c4
GM
88162011-06-13 Glenn Morris <rgm@gnu.org>
8817
8818 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8819
9481c002
MR
88202011-06-13 Martin Rudalics <rudalics@gmx.at>
8821
357f93d2
MR
8822 * help.el (help-window): Remove variable.
8823 (help-window-point-marker, temp-buffer-max-height)
8824 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8825 (help-print-return-message): Don't set help-window.
8826 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8827 (help-window-setup-finish): Remove.
8828 (help-window-display-message, help-window-setup)
8829 (with-help-window): Major rewrite based on new
8830 display-buffer-window variable.
8831
8832 * help-mode.el (help-mode-finish): Remove help-window related
8833 code.
8834
8835 * view.el (view-exits-all-viewing-windows): Remove reference to
8836 view-return-to-alist in doc-string.
8837 (view-return-to-alist): Make obsolete.
8838 (view-buffer): Call pop-to-buffer-same-window and remove
8839 undo-window code.
8840 (view-buffer-other-window): Call pop-to-buffer-other-window and
8841 simplify code. Ignore second argument.
8842 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8843 simplify code. Ignore second argument.
8844 (view-return-to-alist-update): Make obsolete.
8845 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8846 Rewrite using quit-restore window parameters.
2b75be67
SM
8847 (view-mode-exit): Rename second argument to EXIT-ONLY.
8848 Rewrite using quit-restore-window.
357f93d2
MR
8849 (View-exit, View-exit-and-edit, View-leave, View-quit)
8850 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8851 appropriate arguments.
8852 (view-end-message): Use quit-restore window parameter.
8853
9481c002
MR
8854 * window.el (display-buffer-function): Rewrite doc-string.
8855 (display-buffer-window, display-buffer-alist): New variables.
8856 (display-buffer-split-specifiers)
8857 (display-buffer-side-specifiers)
8858 (display-buffer-macro-specifiers): New constants.
8859 (display-buffer-even-window-sizes, display-buffer-set-height)
8860 (display-buffer-set-width, display-buffer-select-window)
8861 (display-buffer-in-window, display-buffer-reuse-window)
8862 (display-buffer-split-window-1, display-buffer-split-window)
8863 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8864 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8865 (display-buffer-in-side-window, normalize-buffer-to-display)
8866 (display-buffer-normalize-specifiers-1)
8867 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8868 (display-buffer-normalize-specifiers, display-buffer-frame):
8869 New functions.
9481c002
MR
8870 (display-buffer): Major rewrite.
8871 (display-buffer-other-window, display-buffer-other-frame)
8872 (pop-to-buffer, switch-to-buffer-other-window)
8873 (switch-to-buffer-other-frame): Rewrite.
8874 (display-buffer-same-window, display-buffer-same-frame)
8875 (display-buffer-same-frame-other-window)
8876 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8877 (pop-to-buffer-other-window)
8878 (pop-to-buffer-same-frame-other-window)
8879 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8880 (switch-to-buffer-other-window-same-frame): New functions.
8881 (same-window-p, special-display-p): Rewrite disabling warnings.
8882 Make obsolete.
8883 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8884 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8885 Make obsolete
8886 (same-window-buffer-names, same-window-regexps)
8887 (special-display-frame-alist, special-display-popup-frame)
8888 (special-display-function, special-display-buffer-names)
8889 (special-display-regexps, pop-up-frame-alist)
8890 (pop-up-frame-function, split-window-preferred-function)
8891 (split-height-threshold, split-width-threshold)
8892 (even-window-heights): Make obsolete.
8893
9db51aca
GM
88942011-06-12 Glenn Morris <rgm@gnu.org>
8895
8896 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8897 Misc simplifications.
9db51aca 8898
39cffb44
MR
88992011-06-12 Martin Rudalics <rudalics@gmx.at>
8900
8901 * window.el (window-safely-shrinkable-p): Restore function which
8902 was inadvertently removed in change from 2011-06-11. Declare as
8903 obsolete.
8904
2b75be67
SM
8905 * calendar/calendar.el (calendar-generate-window):
8906 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8907 window-safely-shrinkable-p.
8908
a8955be7
GM
89092011-06-12 Glenn Morris <rgm@gnu.org>
8910
8911 * progmodes/fortran.el (fortran-mode-syntax-table):
8912 * progmodes/f90.el (f90-mode-syntax-table):
8913 Set % to punctuation. (Bug#8820)
8914 (f90-find-tag-default): Remove, no longer needed.
8915
f0d4059d
DC
89162011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8917
8918 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8919
1100a63c
CY
89202011-06-11 Chong Yidong <cyd@stupidchicken.com>
8921
8922 * image.el (image-animated-p): Return animation delay in seconds.
8923 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8924 (image-animate-timeout): Remove DELAY argument. Don't assume
8925 every subimage has the same delay; get it from image-animated-p.
8926 (image-animate): Caller changed.
8927
def722bf
MA
89282011-06-11 Michael Albinus <michael.albinus@gmx.de>
8929
8930 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8931 to ignored backtrace functions.
8932
0a2bb1a9
GM
89332011-06-11 Glenn Morris <rgm@gnu.org>
8934
8935 * calendar/appt.el (appt-disp-window-function): Doc fix.
8936 (appt-check): Handle overlapping appointments. (Bug#8337)
8937
6198ccd0
MR
89382011-06-11 Martin Rudalics <rudalics@gmx.at>
8939
8940 * window.el (window-tree-1, window-tree): New functions, moving
8941 the latter to window.el.
8942 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8943 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8944 (bw-refresh-edges): Remove.
8945 (balance-windows-1, balance-windows-2): New functions.
8946 (balance-windows): Rewrite in terms of window tree functions,
8947 balance-windows-1 and balance-windows-2.
8948 (bw-adjust-window): Remove.
8949 (balance-windows-area-adjust): New function with functionality of
8950 bw-adjust-window but using resize-window.
2b75be67
SM
8951 (set-window-text-height): Rewrite doc-string.
8952 Use normalize-live-window and resize-window.
8953 (enlarge-window-horizontally, shrink-window-horizontally):
8954 Rename argument to DELTA.
6198ccd0
MR
8955 (window-buffer-height): New function.
8956 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8957 Rewrite using new window resize routines.
2b75be67
SM
8958 (kill-buffer-and-window, mouse-autoselect-window-select):
8959 Use ignore-errors instead of condition-case.
6198ccd0
MR
8960 (quit-window): Call delete-frame instead of delete-windows-on
8961 for the only buffer on frame.
8962
9397e56f
MR
89632011-06-10 Martin Rudalics <rudalics@gmx.at>
8964
8965 * loadup.el (top-level): Load window before files for the sake
8966 of replace-buffer-in-windows.
8967
8968 * files.el (read-buffer-to-switch)
8969 (switch-to-buffer-other-window)
2b75be67
SM
8970 (switch-to-buffer-other-frame, display-buffer-other-frame):
8971 Move to window.el.
9397e56f
MR
8972
8973 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8974 (previous-buffer): Move to window.el.
8975
8976 * bindings.el (unbury-buffer): Move to window.el.
8977
8978 * window.el (delete-other-windows-vertically): Move after
8979 definition of delete-other-windows.
8980 (other-window, delete-windows-on, replace-buffer-in-windows):
8981 Move here from window.c.
8982 (record-window-buffer, unrecord-window-buffer)
8983 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8984 (switch-to-next-buffer): New functions.
8985 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8986 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8987 (previous-buffer): Move here from simple.el.
8988 Call switch-to-prev-buffer.
9397e56f
MR
8989 (bury-buffer): Move here from buffer.c. Switch to previous
8990 buffer when window cannot be deleted.
8991 (unbury-buffer): Move here from bindings.el.
8992 (ctl-x-map): Move binding for other-window from window.c to
8993 here.
8994 (read-buffer-to-switch, switch-to-buffer-other-window)
8995 (switch-to-buffer-other-frame): Move here from files.el.
8996 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8997 (switch-to-buffer): Move here from buffer.c.
8998 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8999
562dd5e9
MR
90002011-06-10 Martin Rudalics <rudalics@gmx.at>
9001
9002 * window.el (window-min-height, window-min-width): Move here
9003 from window.c. Add defcustoms and rewrite doc-strings.
9004 (resize-mini-window, resize-window): New functions.
9005 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9006 Move here from window.c.
9007 (maximize-window, minimize-window): New functions.
9008 (delete-window, delete-other-windows, split-window): Move here
9009 from window.c.
9010 (window-split-min-size): New function.
9011 (split-window-keep-point): Mention split-window-above-each-other
9012 instead of split-window-vertically.
2b75be67 9013 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9014 Rename split-window-vertically to split-window-above-each-other
9015 and provide defalias for old definition.
9016 (split-window-side-by-side, split-window-horizontally):
9017 Rename split-window-horizontally to split-window-side-by-side
9018 and provide defalias for the old definition.
562dd5e9
MR
9019 (ctl-x-map): Move bindings for delete-window,
9020 delete-other-windows and enlarge-window here from window.c.
9021 Replace bindings for split-window-vertically and
9022 split-window-horizontally by bindings for
9023 split-window-above-each-other and split-window-side-by-side.
9024
9025 * cus-start.el (all): Remove entries for window-min-height and
9026 window-min-width. Add entries for window-splits and
9027 window-nest.
9028
f0da764a
GM
90292011-06-09 Glenn Morris <rgm@gnu.org>
9030
80675c21
GM
9031 * calendar/appt.el (appt-mode-line): New function.
9032 (appt-check, appt-disp-window): Use it.
9033
f0da764a
GM
9034 * files.el (hack-one-local-variable-eval-safep):
9035 Allow minor-modes with explicit +/-1 arguments.
9036
59f623b7
TZ
90372011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9038
9039 * term/xterm.el (xterm): Add defgroup.
9040 (xterm-extra-capabilities): Add defcustom to supply known xterm
9041 capabilities, skip querying them, or query them (default).
9042 (terminal-init-xterm): Use it.
9043 (terminal-init-xterm-modify-other-keys): New function to set up
9044 modifyOtherKeys support to simplify `terminal-init-xterm'.
9045
9aab8e0d
MR
90462011-06-09 Martin Rudalics <rudalics@gmx.at>
9047
9048 * window.el (resize-window-reset, resize-window-reset-1)
9049 (resize-subwindows-skip-p, resize-subwindows-normal)
9050 (resize-subwindows, resize-other-windows, resize-this-window)
9051 (resize-root-window, resize-root-window-vertically)
9052 (window-deletable-p, window-or-subwindow-p)
9053 (frame-root-window-p): New functions.
9054
e8b08aee
GM
90552011-06-09 Glenn Morris <rgm@gnu.org>
9056
9057 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9058 (ange-ftp-get-files): Use it.
9059
254c37a5
AK
90602011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9061
9062 * mail/sendmail.el (mail-recover-1, mail-recover):
9063 * files.el (recover-file, recover-session):
9064 Handle dired-listing-switches not being just a single short option.
9065
35d7dbd3
GM
90662011-06-09 Glenn Morris <rgm@gnu.org>
9067
9068 * calendar/appt.el (appt-display-message, appt-disp-window):
9069 Handle lists of appointments.
9070
387522b2
MR
90712011-06-08 Martin Rudalics <rudalics@gmx.at>
9072
2b75be67
SM
9073 * window.el (one-window-p): Move down in code.
9074 Rewrite doc-string.
9075 (window-current-scroll-bars): Rewrite doc-string.
9076 Normalize live window argument.
387522b2
MR
9077 (walk-windows, get-window-with-predicate, count-windows):
9078 Rewrite doc-string. Use window-list-1.
9079 (window-in-direction-2, window-in-direction, get-mru-window):
9080 New functions.
9081
d8e4b68b 90822011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9083
9084 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9085 Doc fix (Bug#8713).
9086
90872011-06-08 Chong Yidong <cyd@stupidchicken.com>
9088
9089 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9090
90912011-06-08 Juanma Barranquero <lekktu@gmail.com>
9092
9093 * loadhist.el (unload-feature-special-hooks):
9094 Add `comint-output-filter-functions'.
9095
0de12c52
IK
90962011-06-08 Ivan Kanis <gnu@kanis.fr>
9097
9098 * calendar/appt.el (appt-check): Move some initializations into the let.
9099
f3d1777e
MR
91002011-06-08 Martin Rudalics <rudalics@gmx.at>
9101
9102 * window.el (window-height): Defalias to window-total-height.
9103 (window-width): Defalias to window-body-width.
9104
18af70d0
CY
91052011-06-07 Chong Yidong <cyd@stupidchicken.com>
9106
9107 * image-mode.el (image-toggle-animation): New command.
9108 (image-mode-map): Bind it to RET.
9109 (image-mode): Update message.
9110 (image-toggle-display-image): Avoid a spurious cache flush.
9111 (image-transform-rotation): Doc fix.
9112 (image-transform-properties): Return quickly in the normal case.
9113 (image-animate-loop): Rename from image-animate-max-time.
9114
2b75be67 9115 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9116 (create-animated-image): Remove unnecessary function.
9117 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9118 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9119 (image-animate-timer): Use car-safe.
9120 (image-animate-timeout): Rename argument.
9121
190b47e6
MR
91222011-06-07 Martin Rudalics <rudalics@gmx.at>
9123
9124 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9125 window.c. Rename first argument to ALL-FRAMES.
9126 Rephrase doc-strings.
9127 (get-buffer-window-list): Rewrite using window-list-1.
9128 Rephrase doc-string.
a1511caf
MR
9129 (window-safe-min-height, window-safe-min-width): New constants.
9130 (window-size-ignore, window-min-size, window-min-size-1)
9131 (window-sizable, window-sizable-p, window-size-fixed-1)
9132 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9133 (window-max-delta-1, window-max-delta, window-resizable)
9134 (window-resizable-p, window-total-height, window-total-width)
9135 (window-body-width): New functions.
9136 (window-full-height-p, window-full-width-p): Rewrite using
9137 window-total-size.
9138 (window-body-height): Rewrite using window-body-size.
190b47e6 9139
85cc1f11
MR
91402011-06-06 Martin Rudalics <rudalics@gmx.at>
9141
9142 * window.el (window-right, window-left, window-child)
9143 (window-child-count, window-last-child, window-any-p)
9144 (normalize-live-buffer, normalize-live-frame)
9145 (normalize-any-window, normalize-live-window)
9146 (window-iso-combination-p, window-iso-combined-p)
9147 (window-iso-combinations)
9148 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9149 (windows-with-parameter, window-with-parameter)
9150 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9151 (window-atom-check, window-side-check, window-check):
9152 New functions.
85cc1f11
MR
9153 (ignore-window-parameters, window-sides, window-sides-vertical)
9154 (window-sides-slots): New variables.
9155 (window-size-fixed): Move down in code. Minor doc-string fix.
9156
e7156492
AS
91572011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9158
9159 * comint.el (comint-dynamic-complete-as-filename)
9160 (comint-dynamic-complete-filename): Correctly call
9161 completion-in-region.
9162
7e821d0d
DD
91632011-06-05 Deniz Dogan <deniz@dogan.se>
9164
9165 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9166 in last change.
9167
ac09b8a1
DD
91682011-06-05 Deniz Dogan <deniz@dogan.se>
9169
9170 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9171 (rcirc): Use it to prompt for encryption.
9172
34699b85
RW
91732011-06-05 Roland Winkler <winkler@gnu.org>
9174
9175 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9176 (bibtex-search-entries): New command bound to C-c C-a.
9177 (bibtex-display-entries): New function.
9178
004dedd3
RW
91792011-06-05 Roland Winkler <winkler@gnu.org>
9180
9181 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9182 (bibtex-insert-kill): After yanking insert newline if necessary.
9183 (bibtex-initialize): Call bibtex-string-files-init only once.
9184 (bibtex-mode): Do not call easy-menu-add.
9185 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9186 (bibtex-yank): Set arg properly if nil.
9187
022fe7ce
RW
91882011-06-05 Roland Winkler <winkler@gnu.org>
9189
2b75be67
SM
9190 * textmodes/bibtex.el (bibtex-search-entry-globally):
9191 New variable.
022fe7ce
RW
9192 (bibtex-search-entry): Use it.
9193
b7c3692a
RW
91942011-06-05 Roland Winkler <winkler@gnu.org>
9195
9196 * textmodes/bibtex.el (bibtex-entry-format): New option
9197 sort-fields.
9198 (bibtex-format-entry, bibtex-reformat): Honor this option.
9199 (bibtex-parse-entry): Return fields in proper order.
9200
8eda563d
JB
92012011-06-05 Juanma Barranquero <lekktu@gmail.com>
9202
9203 * doc-view.el (doc-view-remove-if): Move computation of result out
9204 of `dolist' to silence misleading lexical-binding warning.
9205
7dbe3dbc
CY
92062011-06-04 Chong Yidong <cyd@stupidchicken.com>
9207
9208 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9209 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9210
0c33dd17
MA
92112011-06-04 Michael Albinus <michael.albinus@gmx.de>
9212
9213 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9214 "SunOS 5.10".
9215
f8f91c2b
MA
92162011-06-04 Michael Albinus <michael.albinus@gmx.de>
9217
9218 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9219 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9220 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9221 (tramp-parse-putty):
9222 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9223 (tramp-completion-function-alist-ssh)
9224 (tramp-completion-function-alist-telnet)
9225 (tramp-completion-function-alist-su)
9226 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9227 cookie.
9228
9229 * net/tramp-ftp.el:
9230 * net/tramp-sh.el:
9231 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9232 load "tramp.el" `tramp-set-completion-function'.
9233
e17d9003
SM
92342011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * shell.el: Require and use pcomplete.
9237 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9238 (shell-completion-vars): Set pcomplete-default-completion-function.
9239
6c4cab03
DD
92402011-06-04 Deniz Dogan <deniz@dogan.se>
9241
9242 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9243 `memq' (Bug#8799).
9244
ea9fafe0
SM
92452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9248
b3e945d3
JB
92492011-06-02 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9252 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9253 * vc/log-view.el (log-view-beginning-of-defun):
9254 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9255 (smerge-refine-forward, smerge-refine-chopup-region):
9256 Silence warning for unused `dotimes' counter variables.
9257
7d520089
SM
92582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * net/tramp.el (tramp-with-progress-reporter): Rename from
9261 with-progress-reporter. Use `declare'.
9262 * net/tramp-smb.el:
9263 * net/tramp-sh.el:
9264 * net/tramp-gvfs.el: Update all uses.
9265
a1c2400f
JB
92662011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9267
9268 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9269 buffer isn't killed before making it current.
9270
2403c841
SM
92712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 Silence various byte-compiler warnings.
9274 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9275 `access-type' and new obsolescence format.
9276 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9277 new format.
9278 (byte-compile-check-variable): New `access-type' argument.
9279 Only warn if the access-type is obsolete.
9280 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9281 (byte-compile-variable-set): Adjust callers.
9282 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9283 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9284 setting it as obsolete.
9285 * simple.el (minibuffer-completing-symbol):
9286 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9287 access as obsolete.
9288 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9289 obsolete yet.
9290 * international/quail.el (quail-mouse-choose-completion): Remove unused
9291 code referring to obsolete var.
9292 (quail-choose-completion-string): Remove.
9293 * server.el (server-clients-with, server-kill-buffer-query-function)
9294 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9295 * proced.el (proced-send-signal):
9296 * emacs-lisp/lisp.el (lisp-complete-symbol):
9297 Replace completion-annotate-function with completion-extra-properties.
9298
2462470b
SM
92992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9300
fb5b2591
SM
9301 * simple.el (goto-line): Use read-number.
9302 (overriding-map-is-bound): Remove.
9303 (saved-overriding-map): Change default.
9304 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9305 Take the map as argument.
9306 (universal-argument, negative-argument, digit-argument): Use it.
9307 (restore-overriding-map): Adjust.
9308 (do-auto-fill): Use fill-forward-paragraph.
9309 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9310
fd6fa53f
SM
9311 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9312 (minibuffer-inactive-mode): New major mode.
9313 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9314 the *Messages* buffer" hack.
9315 (mouse-popup-menubar): Don't burp if the event is a normal key.
9316
2462470b
SM
9317 Miscellaneous tweaks.
9318 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9319 lexical scoping as in subr.el's dolist and dotimes.
9320 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9321 Silence compiler warning.
9322 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9323 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9324 * international/ccl.el (ccl-compile): Trivial simplification.
9325 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9326 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9327 `printflag' argument.
9328 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9329 Purecopy the whole obsolescence data.
9330
108bf785
LL
93312011-06-01 Leo Liu <sdl.web@gmail.com>
9332
9333 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9334 improve doc-string as suggested by Marco Pessotto
9335 <melmothx@gmail.com>.
9336 (rcirc-print): Fix last change.
9337
30a23501
SM
93382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * minibuffer.el (complete-with-action): Return nil for the metadata and
9341 boundaries of non-functional tables.
9342 (completion-table-dynamic): Return nil for the metadata.
9343 (completion-table-with-terminator): Add default case, using
9344 complete-with-action.
9345 (completion--metadata): New function.
9346 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9347 to try and avoid pathological performance problems.
9348 (completion--embedded-envvar-table): Return `category' metadata.
9349
bcd54f83
LMI
93502011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9351
9352 * subr.el (process-alive-p): New tiny convenience function.
9353
e227544d
SM
93542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9357 content but also its previous major mode.
9358
e8296fdc
HE
93592011-05-31 Helmut Eller <eller.helmut@gmail.com>
9360
4d61f28d 9361 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9362 *Backtrace* buffer when we exit with C-M-c.
9363
620c53a6
SM
93642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * minibuffer.el: Add metadata method to completion tables.
9367 (completion-category-overrides): New defcustom.
9368 (completion-metadata, completion--field-metadata)
9369 (completion-metadata-get, completion--styles)
9370 (completion--cycle-threshold): New functions.
9371 (completion-try-completion, completion-all-completions):
9372 Add `metadata' argument to choose completion-styles.
9373 (completion--do-completion): Use metadata to choose cycling.
9374 (completion-all-sorted-completions): Use metadata for sorting.
9375 Remove :completion-cycle-penalty which is not needed any more.
9376 (completion--try-word-completion): Add `metadata' argument.
9377 (minibuffer-completion-help): Check metadata for annotation function
9378 and sorting.
9379 (completion-file-name-table): Return `category' metadata.
9380 (minibuffer-completing-file-name): Make obsolete.
9381 * simple.el (minibuffer-completing-symbol): Make obsolete.
9382 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9383 completion-try-completion.
9384
1257e755
SM
93852011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9388
3767e706
LL
93892011-05-30 Leo Liu <sdl.web@gmail.com>
9390
9391 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9392 (rcirc-print): Decode all incoming messages (bug#8744).
9393 (rcirc-decode-coding-system): Allow value nil for automatic coding
9394 system detection.
3767e706 9395
d1a5d56a
GM
93962011-06-01 Glenn Morris <rgm@gnu.org>
9397
9398 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9399
e8cbec34
CY
94002011-05-29 Chong Yidong <cyd@stupidchicken.com>
9401
9402 * image.el (image-animate-max-time): Allow nil and t values.
9403 Default to nil.
9404 (create-animated-image): Doc fix.
9405 (image-animate-start): Remove second arg; just use
9406 image-animate-max-time.
9407 (image-animate-timeout): Doc fix. Args changed.
9408
9409 * image-mode.el (image-toggle-display-image): Ensure that the
9410 image spec passed to the animate timer is the same object as in
58179cce 9411 the buffer's display property (Bug#6981).
e8cbec34
CY
9412 (image-transform-properties): Doc fix.
9413
9414 * image.el (image-animate-max-time): Default to nil.
9415
159daf87
MR
94162011-05-29 Martin Rudalics <rudalics@gmx.at>
9417
9418 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9419 entire buffer list (Bug#8184).
9420
d66c4c7c
CY
94212011-05-29 Chong Yidong <cyd@stupidchicken.com>
9422
9423 * image.el (imagemagick-types-inhibit)
9424 (imagemagick-register-types): Doc fix.
9425
80aec780
DD
94262011-05-29 Deniz Dogan <deniz@dogan.se>
9427
9428 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9429 default.
9430
1dd3c2d9
CY
94312011-05-29 Chong Yidong <cyd@stupidchicken.com>
9432
9433 * select.el: Don't perform clipboard-manager saving in hooks;
9434 leave the hooks empty.
9435
60e56523
LL
94362011-05-28 Leo Liu <sdl.web@gmail.com>
9437
9438 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9439 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9440 (occur-edit-mode): New major mode (Bug#8463).
9441 (occur-after-change-function): New function.
9442 (occur-engine): Give Occur tags a read-only property.
9443
2b1e1a22
KR
94442011-05-28 Kevin Ryde <user42@zip.com.au>
9445
9446 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9447
5d344e88
CY
94482011-05-28 Chong Yidong <cyd@stupidchicken.com>
9449
8e6ca83d
CY
9450 * bindings.el (help-echo): Make the initial non-indicator dash
9451 empty on graphical terminals (Bug#7295).
9452
5d344e88
CY
9453 * files.el (auto-mode-alist): Move config rule after the
9454 in-stripping one (Bug#8547).
9455
bfbbace7
CY
9456 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9457
fbeba6e2
CY
9458 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9459 setting (Bug#8740).
9460
60ed8c72
AA
94612011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9462
4ac619f0
AA
9463 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9464 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9465 (Bug#8539).
60ed8c72 9466
23db196e
CY
94672011-05-28 Chong Yidong <cyd@stupidchicken.com>
9468
9469 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9470
5012f24c
DK
94712011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9472
9473 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9474 (hs-hide-block-at-point, hs-find-block-beginning)
9475 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9476 (Bug#8279).
9477
6a639b16
GM
94782011-05-28 Glenn Morris <rgm@gnu.org>
9479
9480 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9481
d43eaf2c
CY
94822011-05-28 Chong Yidong <cyd@stupidchicken.com>
9483
5199bde1
CY
9484 * help-fns.el (describe-function-1): If the function is a derived
9485 major mode, print the parent mode.
9486
d43eaf2c
CY
9487 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9488 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9489
423428a8
SM
94902011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9491
0ff8e1ba 9492 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9493 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9494 * progmodes/etags.el (tags-completion-at-point-function):
9495 * info-look.el (info-lookup-completions-at-point): Mark as
9496 non-exclusive.
9497 (info-complete): Adjust accordingly.
9498
423428a8
SM
9499 * info-look.el: Convert to lexical-binding and completion-at-point.
9500 (info-lookup-completions-at-point): New function.
9501 (info-complete): Use it and completion-in-region.
9502
b74aa22b
DA
95032011-05-28 Drew Adams <drew.adams@oracle.com>
9504
9505 * isearch.el: Let M-e start with point at the first mismatched char.
9506 (isearch-fail-pos): New function.
9507 (isearch-edit-string): Use it.
9508
66e2e71d
DK
95092011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9510
9511 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9512
b1890b0f 95132011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9514
9515 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9516 traversal functions for avl-trees.
9517 (avl-tree--stack): New struct.
9518 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9519 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9520 (avl-tree--do-enter): Add optional `updatefun' arg.
9521 Change return value.
eb95d01d 9522 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9523 (avl-tree--do-delete): Add `test' and `nilflag' args.
9524 Change return value.
eb95d01d
TC
9525 (avl-tree-member): Add optional `nilflag'
9526 (avl-tree-member-p): New function.
9527 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9528 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9529 (avl-tree-stack-empty-p): New functions.
9530
3769ddcf
TC
9531 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9532 avl-tree--del-balance1 and make it work both ways.
9533 (avl-tree--del-balance2): Remove.
9534 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9535 make it work both ways.
9536 (avl-tree--enter-balance2): Remove.
9537 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9538 New macros.
9539 (avl-tree--mapc, avl-tree-map): Add direction argument.
9540
eb95d01d 95412011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9542
9543 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9544
a9f737ee
CY
95452011-05-27 Chong Yidong <cyd@stupidchicken.com>
9546
9547 * select.el: Support clipboard managers with built-in function
9548 x-clipboard-manager-save, via delete-frame-functions and
9549 kill-emacs-hook.
9550 (xselect-convert-to-targets): Add MULTIPLE target to list.
9551 (xselect-convert-to-save-targets): New function.
9552
c92a1e54
KH
95532011-05-27 Kenichi Handa <handa@m17n.org>
9554
9555 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9556 let-binding rfc2047-encode-encoded-words to nil.
9557
e145f188
GM
95582011-05-27 Glenn Morris <rgm@gnu.org>
9559
5ec8a862
GM
9560 * mail/emacsbug.el: Don't require url-util.
9561
4b29d9fb
GM
9562 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9563
e145f188
GM
9564 * files.el (set-auto-mode):
9565 Also respect mode: entries at the end of the file. (Bug#8586)
9566
7d15102b
GM
95672011-05-26 Glenn Morris <rgm@gnu.org>
9568
98f593b8
GM
9569 * files.el (hack-local-variables-prop-line, hack-local-variables):
9570 Downcase mode names, as seems to be traditional.
27b48e63 9571 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9572
7d15102b
GM
9573 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9574 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9575
51d5b4ec
JD
95762011-05-25 Julien Danjou <julien@danjou.info>
9577
9578 * textmodes/rst.el (rst-define-level-faces): Do not define face
9579 symbol if it is already defined.
9580
91513f63
VB
95812011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9582
9583 * play/5x5.el (5x5-new-game, 5x5-randomize):
9584 Reset 5x5-solver-output to nil when a new grid is cast.
9585 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9586 these debugging traces, as defmacro breaks the compiled code.
9587
4d90d6d0
DK
95882011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9589
9590 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9591
e1b90ef6
LL
95922011-05-24 Leo Liu <sdl.web@gmail.com>
9593
9594 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9595 (vc-bzr-sha1): Adapt.
9596
d8e4b68b 9597 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9598
9599 * bindings.el: Provide sha1 feature.
9600
db0406bb 96012011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9602
9603 * mail/sendmail.el: Require `rfc2047'.
9604 (mail-insert-from-field): Do not perform RFC2047 encoding.
9605 (mail-encode-header): New function.
9606 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9607 buffer to the return value of select-message-coding-system.
9608 Call mail-encode-header.
b8d747b9
KH
9609
9610 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9611
db0406bb 96122011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9613
4d90d6d0
DK
9614 * mail/supercite.el (sc-default-cite-frame):
9615 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9616
eb8a5e9b
GM
96172011-05-24 Glenn Morris <rgm@gnu.org>
9618
f8630703
GM
9619 * progmodes/python.el (brm-menu): Declare.
9620
8831bbed
GM
9621 * emulation/viper.el (viper-set-hooks): Declare.
9622
eb8a5e9b
GM
9623 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9624 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9625 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9626 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9627 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9628 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9629
a2a25d24
SM
96302011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 Add an :exit-function for completion-at-point.
9633
9634 * minibuffer.el (completion--done): New fun.
9635 (completion--do-completion): Use it. New arg `expect-exact'.
9636 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9637 since completion--do-completion does it for us now.
9638 (minibuffer-force-complete): Use completion--done and
9639 completion--replace. Handle sole-completion case with more care.
9640 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9641 (completion-extra-properties): New var.
9642 (completion-annotate-function): Make obsolete.
9643 (minibuffer-completion-help): Adjust accordingly.
9644 Use completion-list-insert-choice-function.
9645 (completion-at-point, completion-help-at-point):
9646 Bind completion-extra-properties.
9647 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9648 * simple.el (completion-list-insert-choice-function): New var.
9649 (completion-setup-function): Preserve it.
9650 (choose-completion): Pay attention to it, shuffle the code a bit.
9651 (choose-completion-string): New arg `insert-function'.
9652
9653 * textmodes/bibtex.el: Convert to lexical binding.
9654 (bibtex-mode-map): Use completion-at-point.
9655 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9656 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9657 (bibtex-complete): Define as obsolete alias.
9658 (bibtex-complete-internal): Remove.
9659 (bibtex-format-entry): Remove unused sub-group in regexp.
9660 * shell.el (shell--command-completion-data)
9661 (shell-environment-variable-completion):
9662 * pcomplete.el (pcomplete-completions-at-point):
9663 * comint.el (comint--complete-file-name-data): Use :exit-function
9664 instead of completion-table-with-terminator so it also works for
9665 choose-completion.
9666
e44e373d
SM
96672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9668
4f91a816
SM
9669 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9670
782fc819
SM
9671 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9672 (bug#8710).
9673
e44e373d
SM
9674 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9675
381987c3
KM
96762011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9677
9678 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9679 customization variable and implement: If non-nil, auto-fill will
9680 be inhibited while on topic's header line.
9681
b776bc70
VB
96822011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9683
9684 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9685 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9686 always have a solution in grid size = 5 cases.
9687 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9688 (5x5-solver-output, 5x5-log-buffer): New vars.
9689 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9690 Make these variables buffer local to achieve 5x5 multi-session-ness.
9691 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9692 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9693 (5x5-solve-suggest): New funs.
9694 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9695 randomize a grid so that we ensure that there is always a solution.
9696 (5x5-make-random-grid): Allow other movement than flipping.
9697
7de88b6e
KR
96982011-05-23 Kevin Ryde <user42@zip.com.au>
9699
9700 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9701 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9702 advice and passes PREDICATE.
9703
b1ef1257
SM
97042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9705
bbca48fe
SM
9706 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9707 byte-compile-lambda if it's actually a lambda.
9708
b1ef1257
SM
9709 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9710 Fix function quoting. Use backquote better.
9711
92a9cc65
YS
97122011-05-22 Yuanle Song <sylecn@gmail.com>
9713
9714 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9715 matching (Bug#8516).
9716
f0fb8059
JA
97172011-01-22 Jari Aalto <jari.aalto@cante.net>
9718
9719 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9720 different face (Bug#8178).
9721
d5b44c93
CY
97222011-05-22 Chong Yidong <cyd@stupidchicken.com>
9723
9724 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9725 defface (Bug#8144).
9726
79106a44
SM
97272011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9c848d8a
SM
9729 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9730 funcall as well (bug#8712). Warn when performing those conversions.
9731 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9732
79106a44
SM
9733 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9734
88dfa756
GM
97352011-05-22 Glenn Morris <rgm@gnu.org>
9736
9737 * files.el (hack-local-variables-prop-line): Small simplifications.
9738 (hack-local-variables, hack-local-variables-prop-line):
9739 If MODE-ONLY, return the mode, rather than just `t'.
9740
b7cf2c79
SM
97412011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9742
9743 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9744
3f1a8558
GM
97452011-05-21 Glenn Morris <rgm@gnu.org>
9746
7e4ccca3
GM
9747 * files.el (hack-local-variables-prop-line, hack-local-variables):
9748 If only interested in the mode, don't bother doing the other stuff.
9749
637d46ca
GM
9750 * image-mode.el (image-after-revert-hook):
9751 Redraw all frames on which the image is visible. (Bug#8567)
9752
973d955b
GM
9753 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9754
3f1a8558
GM
9755 * wid-edit.el (widget-checklist-match-inline):
9756 Fix 2011-04-19 change. (Bug#8649)
9757
96479927
SM
97582011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9759
1dcf791f
SM
9760 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9761 Also allow singlespace after single-letter capitals followed by a dot.
9762
96479927
SM
9763 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9764 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9765
35fd0881
N
97662011-05-20 Nix <nix@esperi.org.uk>
9767
9768 * files.el (basic-save-buffer-2):
9769 Fix handling of break-hardlink-on-save with non-existent files.
9770
82745640
DD
97712011-05-19 Deniz Dogan <deniz@dogan.se>
9772
9773 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9774 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9775
4a720484
GM
97762011-05-19 Glenn Morris <rgm@gnu.org>
9777
d1f21341
GM
9778 * progmodes/f90.el (f90-type-def-re):
9779 Handle "type, bind(c)". (Bug#8691)
9780
4a720484
GM
9781 * emacs-lisp/autoload.el (batch-update-autoloads):
9782 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9783
2fb0a219
MA
97842011-05-18 Michael Albinus <michael.albinus@gmx.de>
9785
9786 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9787 property for the correct connection in case of multihops.
9788
e565dd37
GM
97892011-05-18 Glenn Morris <rgm@gnu.org>
9790
c2571358 9791 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9792 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9793
e565dd37
GM
9794 Rationalize calendar handling of day and month abbrev-arrays.
9795 * calendar/calendar.el (calendar-customized-p): New function.
9796 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9797 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9798 Add :set function.
9799 (calendar-abbrev-length, calendar-day-abbrev-array)
9800 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9801 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9802 Elements may no longer be nil.
9803 (calendar-day-name, calendar-month-name):
9804 Update for changed nature of abbrev arrays.
9805 * calendar/diary-lib.el (diary-name-pattern):
9806 Update for changed nature of abbrev arrays.
9807 (diary-mark-entries-1): Update calendar-make-alist calls.
9808 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9809 * calendar/cal-html.el (cal-html-day-abbrev-array):
9810 Simply inherit from calendar-day-abbrev-array.
9811
1d99a745
SM
98122011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * progmodes/grep.el (grep-mode): Disable default
9815 compilation-directory-matcher setting (bug#8684).
9816
7c1d9aa0
MA
98172011-05-17 Michael Albinus <michael.albinus@gmx.de>
9818
9819 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9820 instead of "head" and "tail". There were problems with SunOS 5.9,
9821 and it performs better.
9822
3952e9d8
GM
98232011-05-17 Glenn Morris <rgm@gnu.org>
9824
2dd12e7f
GM
9825 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9826
e4157b9c
GM
9827 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9828 Replace obsolete function.
9829
8e249bbd
GM
9830 * shell.el (pcomplete-parse-arguments-function): Declare.
9831
3952e9d8
GM
9832 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9833 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9834 (appt-check): Doc fixes.
9835 (appt-disp-window-function, appt-delete-window-function):
9836 Remove needless special case in custom :type.
9837 (appt-display-count): Default to 0, not nil.
9838 (appt-check): Reset appt-display-count to 0, not nil.
9839
c71a0d48 98402011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9841
c71a0d48
GM
9842 * progmodes/python.el (python-font-lock-keywords):
9843 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9844
31d55be9
SM
98452011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9848
3bfacb2f
KR
98492011-05-16 Kevin Ryde <user42@zip.com.au>
9850
9851 * info-look.el (makefile-automake-mode): New setups, looking in
9852 automake manual, then makefile-mode.
9853 (makefile-mode): Remove automake manual, have it just in
9854 makefile-automake-mode since there's various things different or
9855 not relevant to plain make.
9856 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9857 believe a hypothetical automake-mode would go to makefile-mode,
9858 not the other way around.
9859
c8e83751
CY
98602011-05-15 Chong Yidong <cyd@stupidchicken.com>
9861
5e9e35cd
CY
9862 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9863 hunk-end tags (Bug#8672).
9864
c8e83751
CY
9865 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9866 vc-annotate-show-diff-revision-at-line (Bug#8671).
9867
50b23e5a
GM
98682011-05-14 Glenn Morris <rgm@gnu.org>
9869
7210a739
GM
9870 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9871 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9872 (change-log-font-lock-keywords): Also handle multiple author lines
9873 with leading tabs. (Bug#8644)
7210a739 9874
4691905a
GM
9875 * calendar/appt.el (appt-check): Rename some local variables.
9876 Some simplification/reordering.
9877
50b23e5a
GM
9878 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9879 (feedmail-sendmail-f-doesnt-sell-me-out)
9880 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9881 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9882 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9883 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9884 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9885 (feedmail-binmail-gnulinuxish-template):
9886 Rename from feedmail-binmail-linuxish-template.
9887 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9888 Use insert-buffer-substring.
9889
215cda7c
BC
98902011-05-14 Bill Carpenter <bill@carpenter.org>
9891
9892 * mail/feedmail.el (feedmail-patch-level): Increase.
9893 (feedmail-debug): New custom group.
9894 (feedmail-confirm-outgoing-timeout)
9895 (feedmail-sendmail-f-doesnt-sell-me-out)
9896 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9897 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9898 (feedmail-sender-line, feedmail-from-line)
9899 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9900 (feedmail-spray-this-address)
215cda7c
BC
9901 (feedmail-spray-address-fiddle-plex-list)
9902 (feedmail-queue-use-send-time-for-date)
9903 (feedmail-queue-use-send-time-for-message-id)
9904 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9905 (feedmail-buffer-eating-function):
9906 Doc fixes.
9907 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9908 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9909 (feedmail-message-action-scroll-down): New functions.
9910 (feedmail-queue-directory, feedmail-queue-draft-directory):
9911 Use expand-file-name.
9912 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9913 Remove C-v help entry.
9914 (feedmail-queue-buffer-file-name): New variable.
9915 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9916 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9917 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9918 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9919 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9920 (feedmail-message-action-toggle-spray)
9921 (feedmail-run-the-queue-no-prompts)
9922 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9923 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9924 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9925 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9926 (feedmail-envelope-deducer, feedmail-fiddle-from)
9927 (feedmail-fiddle-sender, feedmail-default-date-generator)
9928 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9929 (feedmail-fiddle-spray-address)
9930 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9931 (feedmail-fiddle-list-of-fiddle-plexes)
9932 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9933 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9934 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9935 Change default. Doc fix.
9936 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9937 (feedmail-binmail-linuxish-template): New constant.
9938 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9939 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9940 (feedmail-send-it): Add debug call.
9941 Use feedmail-queue-buffer-file-name, and
9942 feedmail-send-it-immediately-wrapper.
9943 (feedmail-message-action-send): Add debug call.
9944 Use feedmail-send-it-immediately-wrapper.
9945 (feedmail-queue-express-to-queue): Add debug call.
9946 Run feedmail-queue-express-hook.
9947 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9948 (feedmail-message-action-help-blat):
9949 Rename from feedmail-queue-send-edit-prompt-help-first.
9950 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9951 Check line-endings. Handle errors better.
9952 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9953 Doc fix. Add debug call.
9954 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9955 Use feedmail-queue-send-edit-prompt-inner.
9956 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9957 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9958 from feedmail-queue-send-edit-prompt.
9959 (feedmail-queue-send-edit-prompt-help)
9960 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9961 (feedmail-tidy-up-slug): Add debug call.
9962 Respect feedmail-queue-slug-suspect-regexp.
9963 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9964 (feedmail-dump-message-to-queue): Add debug call.
9965 Expand queue-directory.
9966 (feedmail-dump-message-to-queue): Change message slightly.
9967 Use feedmail-say-chatter.
9968 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9969 (feedmail-send-it-immediately-wrapper): New function.
9970 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9971 Insert empty string rather than newline. Handle full-frame case.
9972 Use catch/throw. Use feedmail-say-chatter.
9973 (feedmail-fiddle-from): Try mail-host-address.
9974 (feedmail-default-message-id-generator): Doc fix.
9975 Bind system-time-locale. Handle missing end.
9976 (feedmail-fiddle-x-mailer): Add debug call.
9977 Handle feedmail-x-mailer-line being nil.
9978 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9979 Add debug call. Use buffer-substring-no-properties.
9980 (feedmail-say-debug, feedmail-say-chatter): New functions.
9981 (feedmail-find-eoh): Give an explicit error.
9982
42c7e61e
UJ
99832011-05-13 Ulf Jasper <ulf.jasper@web.de>
9984
c2571358 9985 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9986 family from helvetica to sans.
c2571358 9987 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9988 etc/images/newsticker.
9989
c2571358 9990 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9991 family from helvetica to sans.
9992
9993 * net/newst-plainview.el (newsticker-new-item-face)
9994 (newsticker-old-item-face, newsticker-immortal-item-face)
9995 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9996 (newsticker-statistics-face): Change default family from
42c7e61e 9997 helvetica to sans.
c2571358 9998 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9999 etc/images/newsticker.
10000
10001 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10002 (newsticker--process-auto-mark-filter-match): : Tell user about
10003 auto-marking.
10004
8497a297
DV
100052011-05-13 Didier Verna <didier@xemacs.org>
10006
10007 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10008 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10009 TODO entries.
8497a297
DV
10010 (lisp-lambda-list-keyword-parameter-indentation)
10011 (lisp-lambda-list-keyword-parameter-alignment)
10012 (lisp-lambda-list-keyword-alignment): New customizable user options.
10013 (lisp-indent-defun-method): Improve docstring.
10014 (extended-loop-p): Fix comment.
10015 (lisp-indent-lambda-list-keywords-regexp): New variable.
10016 (lisp-indent-lambda-list): New function.
10017 (lisp-indent-259): Use it.
10018 (lisp-indent-defmethod): Support for more than one
10019 method qualifier and properly indent methods lambda-lists.
10020 (defgeneric): Provide a missing common-lisp-indent-function property.
10021
f278f87f
SM
100222011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10025 bounds for the empty string (bug#8667).
10026
5233edd7
GM
100272011-05-13 Glenn Morris <rgm@gnu.org>
10028
5237a44f
GM
10029 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10030
8340026c 10031 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10032 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10033
5233edd7 10034 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10035 (appt-time-msg-list): Doc fix.
a5464014 10036 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10037
92d10796
AS
100382011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10039
10040 * progmodes/ld-script.el (ld-script-keywords)
10041 (ld-script-builtins): Update keywords list.
10042
914a0ae1
SM
100432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10044
c89be45f
SM
10045 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10046
914a0ae1
SM
10047 * shell.el (shell-completion-vars): New function.
10048 (shell-mode):
10049 * simple.el (read-shell-command): Use it.
10050 (blink-matching-open): No need for " [...]" in minibuffer-message.
10051
98dc3df3
GM
100522011-05-12 Glenn Morris <rgm@gnu.org>
10053
10054 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10055 (appt-check): Simplify.
10056
d2fc7e3d 100572011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10058
4d61f28d 10059 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10060 literal "/dev/null".
10061
d2fc7e3d 100622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10063
10064 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10065 Fix typo.
10066
d2fc7e3d 100672011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10068
3f254caa
SM
10069 * progmodes/which-func.el (which-function):
10070 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10071 which might not be defined (Bug#8260).
10072
d45885f7
GM
100732011-05-12 Glenn Morris <rgm@gnu.org>
10074
10075 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10076 Let byte-compile-initial-macro-environment always take precedence.
10077
488086f4
SM
100782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * net/rcirc.el: Add support for SSL/TLS connections.
10081 (rcirc-server-alist): New field `encryption'.
10082 (rcirc): Check `encryption' settings.
10083 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10084 Merge make-local-variable into `set'.
10085 (rcirc--connection-open-p): New function.
10086 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10087 the process is not a network process (e.g. running gnutls-cli).
10088 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10089 Make rcirc-(en|de)code-coding-system local here.
10090 (rcirc-mode): Merge make-local-variable into `set'.
10091 (rcirc-parent-buffer): Make permanent buffer-local.
10092 (rcirc-multiline-minor-mode): Don't do it here.
10093 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10094 there's no server buffer.
10095
7d3b9d44
GM
100962011-05-11 Glenn Morris <rgm@gnu.org>
10097
f64049c6
GM
10098 * newcomment.el (comment-kill): Prefix "unused" local.
10099
93c9df73
GM
10100 * term/w32console.el (get-screen-color): Declare.
10101
7d3b9d44
GM
10102 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10103 Handle symbol elements of byte-compile-initial-macro-environment.
10104
9e2dd53f
LL
101052011-05-10 Leo Liu <sdl.web@gmail.com>
10106
488086f4
SM
10107 * bookmark.el (bookmark-bmenu-mode-map):
10108 Bind bookmark-bmenu-search to `/'.
8b340240 10109
9e2dd53f 10110 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10111 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10112 (Footnote-unicode): New function.
10113 (footnote-style-alist): Add unicode style to the list.
10114 (footnote-style): Doc fix.
9e2dd53f 10115
79b70037
GM
101162011-05-10 Jim Meyering <meyering@redhat.com>
10117
10118 Fix doubled-word typos.
10119 * international/quail.el (quail-insert-kbd-layout): and and -> and
10120 * kermit.el: and and -> and
10121 * net/ldap.el (ldap-search-internal): to to -> to
10122 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10123 * progmodes/js.el (js-mode): and and -> and
10124 * textmodes/artist.el (artist-move-to-xy): at at -> at
10125 (artist-draw-region-trim-line-endings): if if -> if
10126 And Safetyc -> Safety.
10127 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10128
b8f82dc1 101292011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10130 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10131
10132 * files.el (hack-one-local-variable-eval-safep):
10133 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10134
4f99f44b
GM
101352011-05-10 Glenn Morris <rgm@gnu.org>
10136
10137 * calendar/diary-lib.el (diary-list-entries-hook)
10138 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10139 (diary-nongregorian-marking-hook, diary-list-entries)
10140 (diary-include-other-diary-files, diary-mark-entries)
10141 (diary-mark-included-diary-files): Doc fixes.
10142
84f29e6b
JB
101432011-05-09 Juanma Barranquero <lekktu@gmail.com>
10144
10145 * misc.el: Require tabulated-list.el during compilation.
10146
9bedd73a
CY
101472011-05-09 Chong Yidong <cyd@stupidchicken.com>
10148
488086f4
SM
10149 * progmodes/compile.el (compilation-start):
10150 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10151 (compilation-filter-hook): Doc fix.
10152
797c735c
DD
101532011-05-09 Deniz Dogan <deniz@dogan.se>
10154
10155 * wdired.el: Remove outdated installation comment. Fix usage
10156 comment.
10157
5f4b1dfe
JB
101582011-05-09 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * misc.el: Implement new command `list-dynamic-libraries'.
10161 (list-dynamic-libraries--loaded-only-p): New variable.
10162 (list-dynamic-libraries--refresh): New function.
10163 (list-dynamic-libraries): New command.
10164
4c44026c
CY
101652011-05-09 Chong Yidong <cyd@stupidchicken.com>
10166
488086f4
SM
10167 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10168 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10169 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10170 higher priority to avoid clobbering by gnu.
10171
027f966d
CY
101722011-05-08 Chong Yidong <cyd@stupidchicken.com>
10173
10174 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10175 if the face has existing theme settings (Bug#8454).
10176
085f5d7d
CY
101772011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10178
488086f4
SM
10179 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10180 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10181
2a86a00c
RS
10182 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10183 special file names `.' and `..' (Bug#8259).
10184
d9c54a06
CY
101852011-05-08 Chong Yidong <cyd@stupidchicken.com>
10186
488086f4
SM
10187 * progmodes/grep.el (grep-mode-font-lock-keywords):
10188 Remove buffer-changing entries.
d9c54a06
CY
10189 (grep-filter): New function.
10190 (grep-mode): Add it to compilation-filter-hook.
10191
10192 * progmodes/compile.el (compilation-filter-hook)
10193 (compilation-filter-start): New defvars.
10194 (compilation-filter): Call compilation-filter-hook prior to
10195 updating the process mark.
10196
c4662635
SM
101972011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10200
b0512a1d
EZ
102012011-05-07 Eli Zaretskii <eliz@gnu.org>
10202
605c9376
EZ
10203 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10204 mailclient-send-it even if window-system is nil. (Bug#8595)
10205
c4662635
SM
10206 * term/w32console.el (terminal-init-w32console):
10207 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10208 background-mode. (Bug#8597)
10209
d1dc2cc2
SM
102102011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10211
10212 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10213 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10214 New functions.
10215 (defgeneric, eieio--defmethod): Use them.
10216 (eieio-defgeneric): Remove.
10217 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10218
915d1300
GM
102192011-05-07 Glenn Morris <rgm@gnu.org>
10220
a3961c3e
GM
10221 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10222 Use let rather than let*.
10223 (timeclock-find-discrep): Remove unused local.
10224
314347b9
GM
10225 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10226
915d1300
GM
10227 * calendar/appt.el (appt-time-msg-list): Doc fix.
10228
275b59b0
NF
102292011-05-06 Noah Friedman <friedman@splode.com>
10230
10231 * apropos.el (apropos-print-doc): Only use
10232 emacs-lisp-docstring-fill-column when it is bound to an integer,
10233 per that variable's documentation.
10234
6c19f744
SM
102352011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10238 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10239
60f884b2
GM
102402011-05-06 Glenn Morris <rgm@gnu.org>
10241
5006e634
GM
10242 * calendar/appt.el (appt-message-warning-time): Doc fix.
10243 (appt-warning-time-regexp): New option.
10244 (appt-make-list): Respect appt-message-warning-time.
10245
548d0a63
GM
10246 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10247 New options.
10248 (diary-add-to-list): Strip comments from the displayed string.
10249 (diary-mode): Set comment-start and comment-end.
10250
60f884b2
GM
10251 * vc/diff-mode.el (smerge-refine-subst): Declare.
10252 (diff-refine-hunk): Don't require smerge-mode when compiling.
10253
989681bb
JB
102542011-05-06 Juanma Barranquero <lekktu@gmail.com>
10255
10256 * simple.el (list-processes): Return nil as the docstring says.
10257
a6bc05e1
MA
102582011-05-05 Michael Albinus <michael.albinus@gmx.de>
10259
10260 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10261 to "".
10262 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10263 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10264 determining of binary transfer. (Bug#7383)
10265
23c22e9a
MA
102662011-05-05 Michael Albinus <michael.albinus@gmx.de>
10267
c4662635
SM
10268 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10269 Fix port computation bug. (Bug#8618)
23c22e9a 10270
0bff894f
GM
102712011-05-05 Glenn Morris <rgm@gnu.org>
10272
b8296902
GM
10273 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10274
1f522ce8
GM
10275 * simple.el (shell-dynamic-complete-functions)
10276 (comint-dynamic-complete-functions): Declare.
10277
cf5bee67
GM
10278 * net/network-stream.el (gnutls-negotiate):
10279 * simple.el (tabulated-list-print): Fix declarations.
10280
10281 * progmodes/gud.el (syntax-symbol, syntax-point):
10282 Remove unnecessary and incorrect declarations.
10283
0bff894f
GM
10284 * emacs-lisp/check-declare.el (check-declare-scan):
10285 Handle byte-compile-initial-macro-environment in bytecomp.el
10286
9869b3ae
SM
102872011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 Fix earlier half-done eieio-defmethod change (bug#8338).
10290 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10291 Streamline and change calling convention.
10292 (defmethod): Adjust accordingly and simplify.
10293 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10294 new eieio--defmethod.
10295 (slot-boundp): Minor CSE simplification.
10296
9c1d5ac5
MZ
102972011-05-05 Milan Zamazal <pdm@zamazal.org>
10298
10299 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10300 (glasses-make-readable): Use glasses-separate-capital-groups.
10301
455c834e
JB
103022011-05-05 Juanma Barranquero <lekktu@gmail.com>
10303
10304 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10305 (warning-series): Doc fix.
10306 (display-warning): Don't try to create the buffer if we just found it.
10307
9ed7c8cb
CY
103082011-05-04 Chong Yidong <cyd@stupidchicken.com>
10309
10310 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10311 (autoload-find-generated-file): New function.
10312 (generate-file-autoloads): Bind generated-autoload-file to
10313 buffer-file-name.
9869b3ae
SM
10314 (update-file-autoloads, update-directory-autoloads):
10315 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10316 output file (Bug#7989).
10317 (batch-update-autoloads): Doc fix.
10318
0898ca10
JB
103192011-05-04 Juanma Barranquero <lekktu@gmail.com>
10320
10321 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10322
31dfb76c
GM
103232011-05-04 Glenn Morris <rgm@gnu.org>
10324
f330b642
GM
10325 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10326 function, so it follows changes in calendar-date-style.
10327 (diary-fancy-date-matcher): New function.
10328 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10329 (diary-fancy-font-lock-fontify-region-function):
10330 Use diary-fancy-date-pattern as a function.
10331
31dfb76c
GM
10332 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10333 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10334
48e79d6a
TZ
103352011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10336
10337 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10338 instead of positional arguments. Allow :keylist and :crlfiles
10339 arguments.
10340 (open-gnutls-stream): Call it.
10341
10342 * net/network-stream.el (network-stream-open-starttls): Adjust to
10343 call `gnutls-negotiate' with :process and :hostname arguments.
10344
dd5a5ee0
SM
103452011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10346
ef80fc09
SM
10347 * minibuffer.el (completion--message): New function.
10348 (completion--do-completion, minibuffer-complete)
10349 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10350 (completion--do-completion): Don't ignore completion-auto-help when in
10351 icomplete-mode.
10352
dd5a5ee0
SM
10353 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10354 internal encoding (e.g. tibetan zero is not whitespace).
10355 (global-whitespace-mode): Prefer save-current-buffer.
10356 (whitespace-trailing-regexp): Remove useless save-match-data.
10357 (whitespace-empty-at-bob-regexp): Minor simplification.
10358
b7d22a83
CY
103592011-05-03 Chong Yidong <cyd@stupidchicken.com>
10360
10361 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10362
5192af46
AM
103632011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10364
10365 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10366 Use `concat' to create string for insertion.
5192af46 10367
5767d190
SM
103682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10369
10370 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10371 Avoid open-line which runs post-self-insert-hook.
10372 (bibtex-fill-entry): Remove unused `end' var.
10373
bf242939
AM
103742011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10375
5767d190
SM
10376 * textmodes/ispell.el (ispell-add-per-file-word-list):
10377 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10378
25666126
LL
103792011-05-03 Leo Liu <sdl.web@gmail.com>
10380
10381 * isearch.el (isearch-yank-pop): New command.
5767d190 10382 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10383 (isearch-forward): Mention it.
10384
52d3c2d0
SM
103852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10386
1bcace58
SM
10387 * simple.el (minibuffer-complete-shell-command): Remove.
10388 (minibuffer-local-shell-command-map): Use completion-at-point.
10389 (read-shell-command): Setup completion vars here instead.
10390 (read-expression-map): Bind TAB to symbol completion.
10391
52d3c2d0
SM
10392 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10393 error directly rather via storing it into `results'.
10394
35813471
LL
103952011-05-02 Leo Liu <sdl.web@gmail.com>
10396
10397 * vc/diff.el: Fix description.
10398
e793a940
LMI
103992011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10400
10401 * server.el (server-eval-at): New function.
10402
8de66e05
LMI
104032011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10404
10405 * net/network-stream.el (open-network-stream): Take a :nowait
10406 parameter and pass it on to `make-network-process'.
10407 (network-stream-open-plain): Ditto.
10408
dcb79f20
AS
104092011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10410
10411 * faces.el (face-spec-set-match-display): Don't match toolkit
10412 options on terminal frames.
10413
14a7fbd8
SM
104142011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10415
7eabc1be
SM
10416 * progmodes/pascal.el: Use lexical binding.
10417 (pascal-mode-map): Remove author preferences.
10418
14a7fbd8
SM
10419 * pcomplete.el (pcomplete-std-complete): Don't abuse
10420 completion-at-point.
10421
50f84510
JB
104222011-04-28 Juanma Barranquero <lekktu@gmail.com>
10423
6e087a44
JB
10424 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10425 removing code that has been dead since 1991 or so.
10426
50f84510
JB
10427 * startup.el (command-line): When warning about "_emacs", use a
10428 delayed warning to allow the user to filter it out.
10429
0ba690bd
DD
104302011-04-28 Deniz Dogan <deniz@dogan.se>
10431
10432 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10433 user has not joined.
10434
08abfaad
SM
104352011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10436
10437 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10438 aren't any completions at point.
10439
638f053a
JB
104402011-04-28 Juanma Barranquero <lekktu@gmail.com>
10441
10442 * subr.el (display-delayed-warnings): New function.
10443 (delayed-warnings-hook): New variable.
10444
8fff8daa
SM
104452011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10446
08abfaad
SM
10447 * minibuffer.el (completion-at-point, completion-help-at-point):
10448 Don't presume that a given completion-at-point-function will always
10449 use the same calling convention.
10450
8fff8daa
SM
10451 * pcomplete.el (pcomplete-completions-at-point):
10452 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10453 pcomplete-seen is non-nil.
10454 (pcomplete-comint-setup): Also recognize the new comint/shell
10455 completion functions.
10456 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10457 pcomplete-seen is non-nil.
10458
841a1577 104592011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10460
841a1577 10461 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10462 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10463 the first character in the entry. This allows for code to add its
211ec907
UJ
10464 own uid to the entry.
10465 (icalendar--convert-float-to-ical): Add export of
10466 `diary-float'-entries save for those with the optional DAY
10467 argument.
10468
2a782793
DC
104692011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10470
10471 * subr.el (shell-quote-argument): Use alternate escaping strategy
10472 when we spot a variable reference in a string.
10473
0438ce91
DC
104742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10475
10476 * cus-start.el (all): Define customization for debug-on-event.
10477
841a1577 104782011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10479
10480 * subr.el (shell-quote-argument): Escape correctly under Windows.
10481
d090ed6c
SM
104822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10485
bfd31217
MA
104862011-04-25 Michael Albinus <michael.albinus@gmx.de>
10487
d090ed6c
SM
10488 * net/tramp.el (tramp-process-actions): Add POS argument.
10489 Delete region between POS and (pos).
bfd31217 10490
d090ed6c
SM
10491 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10492 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10493 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10494
10495 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10496 position in `tramp-process-actions' call.
10497
10498 * net/trampver.el: Update release number.
10499
e92f3bd3
SM
105002011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10501
850256b5
SM
10502 * custom.el (defcustom): Obey lexical-binding.
10503
e92f3bd3
SM
10504 Fix octave-inf completion problems reported by Alexander Klimov.
10505 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10506 Inherit from octave-mode-syntax-table.
10507 (inferior-octave-mode): Set info-lookup-mode.
10508 (inferior-octave-completion-at-point): New function.
10509 (inferior-octave-complete): Use it and completion-in-region.
10510 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10511 comint-filename-completion.
10512 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10513 symbol elements which shouldn't be word elements.
10514 (octave-font-lock-keywords, octave-beginning-of-defun)
10515 (octave-function-header-regexp): Adjust regexps accordingly.
10516 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10517
cd22b309
JB
105182011-04-25 Juanma Barranquero <lekktu@gmail.com>
10519
10520 * net/gnutls.el (gnutls-errorp): Declare before first use.
10521
8b492194
TZ
105222011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10523
10524 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10525 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10526 default trustfile exists before going to use it. Add missing
5a5fa834 10527 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10528 Reported by Claudio Bley <claudio.bley@gmail.com>.
10529 (open-gnutls-stream): Add usage example.
10530
10531 * net/network-stream.el (network-stream-open-starttls): Give host
10532 parameter to `gnutls-negotiate'.
10533 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10534 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10535
841a1577 105362011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10537
cd22b309
JB
10538 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10539 Use correct match group (bug#8438).
05842630 10540
3ba7869c
CY
105412011-04-24 Chong Yidong <cyd@stupidchicken.com>
10542
512e3ae1
CY
10543 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10544 (package-menu--generate): New arg specifying packages to show.
10545 (package-menu-refresh, package-menu-execute, list-packages):
10546 Callers changed.
10547 (package-show-package-list): New function, replacing deleted
10548 package--list-packages (renamed because it is non-internal).
10549
10550 * finder.el (finder-list-matches): Use package-show-package-list
10551 instead of deleted package--list-packages.
10552
e92f3bd3
SM
10553 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10554 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10555 (vc-annotate-mode-map): Bind it to RET.
10556
7031be6d
UR
105572011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10558
10559 * progmodes/etags.el (next-file): Don't use set-buffer to change
10560 buffers (Bug#8478).
10561
4ef177aa
CY
105622011-04-24 Chong Yidong <cyd@stupidchicken.com>
10563
c8d173eb
CY
10564 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10565
4ef177aa
CY
10566 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10567 (apropos-accumulator): Doc fix.
10568 (apropos-function, apropos-macro, apropos-command)
10569 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10570 (apropos-plist): Add face property.
10571 (apropos-symbols-internal): Fix indentation.
10572 (apropos-print): Simplify help, and recognize apropos-multi-type.
10573 (apropos-print-doc): Use button-type-get to extract the button's
10574 face property. Fill docstring (Bug#8352).
10575
4ffd0d6b 105762011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10577
10578 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10579
c6c32125 10580 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10581 (mpuz-mode-map): Use mapc.
c6c32125
JB
10582 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10583 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10584 Fix typos in docstrings.
10585
58d468b4
JB
10586 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10587 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10588
6470c3c6
JB
10589 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10590
4ffd0d6b 105912011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10592
10593 * minibuffer.el (completion--do-completion): Avoid the "Next char
10594 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10595
3ad8bad0
CY
10596 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10597 mouse-2 into unread-command-events, it is interpreted correctly.
10598
71d73c9c 10599 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10600 (image-toggle-display): Doc fix.
71d73c9c 10601
841a1577 106022011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10603
4ffd0d6b
GM
10604 * textmodes/page.el (what-page): Use line-number-at-pos to
10605 calculate line number (Bug#6825).
6e1dbaa9 10606
c2fb1b60
JB
106072011-04-22 Juanma Barranquero <lekktu@gmail.com>
10608
10609 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10610 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10611 Pass argument NO-DEFAULT to `find-tag-interactive'.
10612
e02f48d7
JB
106132011-04-22 Juanma Barranquero <lekktu@gmail.com>
10614
10615 Lexical-binding cleanup.
10616
10617 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10618 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10619 * progmodes/ada-prj.el (ada-prj-initialize-values)
10620 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10621 (ada-prj-show-value):
10622 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10623 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10624 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10625 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10626 * progmodes/bug-reference.el (bug-reference-push-button):
10627 * progmodes/fortran.el (fortran-line-length):
10628 * progmodes/glasses.el (glasses-change):
10629 * progmodes/octave-mod.el (octave-fill-paragraph):
10630 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10631 (python-pdbtrack-grub-for-buffer, python-sentinel):
10632 * progmodes/sql.el (sql-save-connection):
10633 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10634 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10635 Mark unused parameters.
10636
10637 * progmodes/compile.el (compilation--flush-directory-cache)
10638 (compilation--flush-parse, compile-internal): Mark unused parameters.
10639 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10640 (compilation-next-error-function): Remove unused variable `timestamp'.
10641
10642 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10643 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10644
10645 * progmodes/dcl-mode.el (dcl-end-of-command):
10646 Remove unused variable `start'.
10647 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10648 (dcl-option-value-basic, dcl-option-value-offset)
10649 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10650 Mark unused parameters.
10651 (dcl-save-local-variable): Remove unused variable `val'.
10652 (mode): Declare.
10653
10654 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10655 Mark unused parameters.
10656 (delphi-ignore-changes): Move before first use.
10657 (delphi-charset-token-at): Remove unused variable `start'.
10658 (delphi-else-start): Remove unused variable `if-count'.
10659 (delphi-comment-block-start, delphi-comment-block-end):
10660 Remove unused variable `kind'.
10661 (delphi-indent-line): Remove unused variable `new-point'.
10662
10663 * progmodes/ebrowse.el (ebrowse-files-list)
10664 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10665 Mark unused parameters. Don't quote `lambda'.
10666 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10667 Don't quote `lambda'.
10668 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10669 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10670 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10671 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10672 Use `ignore-errors'.
10673 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10674 (ebrowse-view/find-file-and-search-pattern)
10675 (ebrowse-view/find-member-declaration/definition):
10676 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10677 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10678 Rename parameter PREFIX-ARG to PREFIX.
10679 (ebrowse-tags-read-name): Remove unused variables `start' and
10680 `member-info'.
10681 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10682 to `tags-file'.
10683
10684 * progmodes/etags.el (local-find-tag-hook): Declare.
10685 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10686 Mark unused parameters.
10687
10688 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10689 (executable-interpret): Mark unused parameter.
10690
10691 * progmodes/flymake.el (flymake-process-sentinel)
10692 (flymake-after-change-function)
10693 (flymake-create-temp-with-folder-structure)
10694 (flymake-get-include-dirs-dot): Mark unused parameters.
10695 (flymake-safe-delete-directory): Remove unused variable `err'.
10696
10697 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10698 (speedbar-timer-fn, speedbar-line-text)
10699 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10700 (speedbar-center-buffer-smartly): Declare functions.
10701 (gdb-find-watch-expression): Remove unused variable `array'.
10702 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10703 (gdb-starting): Mark unused parameters.
10704 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10705 (gdb-table-string): Remove unused variable `res'.
10706 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10707 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10708 (gdb-display-buffer): Remove unused variable `cur-size'.
10709
10710 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10711 allow lexical-binding compilation.
10712 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10713 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10714 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10715 Mark unused parameters.
10716 (gud-gdb-marker-filter): Remove unused variable `match'.
10717 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10718 lambda expressions and funcall them, instead of using `fset'.
10719
10720 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10721 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10722
10723 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10724 variable `header-beg'; use `let'.
10725
10726 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10727 `restart', `last-sexp' and `at-do'.
10728
10729 * progmodes/js.el (js--debug): Mark unused parameter.
10730 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10731 (js--splice-into-items): Remove unused variable `item'.
10732 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10733
10734 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10735 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10736 (makefile-complete): Remove unused variable `try'.
10737 (makefile-fill-paragraph, makefile-match-function-end):
10738 Mark unused parameters.
10739
10740 * progmodes/octave-inf.el (inferior-octave-complete):
10741 Remove unused variable `proc'.
10742 (inferior-octave-output-digest): Mark unused parameter.
10743
10744 * progmodes/perl-mode.el (perl-calculate-indent):
10745 Remove unused variable `err'.
10746
10747 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10748 (prolog-indent-line): Mark unused parameters.
10749 (prolog-indent-line): Remove unused variable `beg'.
10750
10751 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10752 (reporter-dont-compact-list): Declare.
10753
10754 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10755 Remove unused variable `char'.
10756 (sh-debug): Mark unused parameter.
10757 (sh-get-indent-info): Remove unused variable `start'.
10758 (sh-calculate-indent): Remove unused variable `var'.
10759
10760 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10761 (simula-electric-keyword): Remove unused variable `null'.
10762 (simula-search-backward, simula-search-forward): Remove unused
10763 variables `begin' and `end'.
10764
10765 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10766 Remove unused variable `pos'.
10767 (vera-electric-tab, vera-comment-uncomment-region):
10768 Mark unused parameters.
10769 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10770
7ede3b65
CY
107712011-04-22 Chong Yidong <cyd@stupidchicken.com>
10772
10773 * emacs-lisp/package.el (package--builtins, package-alist)
10774 (package-load-descriptor, package-built-in-p, package-activate)
10775 (define-package, package-installed-p)
10776 (package-compute-transaction, package-buffer-info)
10777 (package--push): Doc fix. Distinguish more clearly between
10778 version strings and version lists.
10779
121656e9
JB
107802011-04-21 Juanma Barranquero <lekktu@gmail.com>
10781
10782 Lexical-binding cleanup.
10783
10784 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10785 (5x5-make-mutate-best):
10786 * play/fortune.el (fortune-in-buffer):
10787 * play/gomoku.el (gomoku-init-display):
10788 * play/solitaire.el (solitaire, solitaire-do-check):
10789 * play/tetris.el (tetris-default-update-speed-function):
10790 Mark unused parameters.
10791
10792 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10793 (bubbles--shift): Remove unused variable `char-org'.
10794 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10795 (bubbles--show-images): Remove unused variable `char'.
10796
10797 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10798 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10799 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10800 (decipher-analyze-buffer): Use ?\s.
10801 (decipher-make-checkpoint): Remove unused variable `mapping'.
10802
10803 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10804
10805 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10806 Remove unused variable `result'; use `let'.
10807
10808 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10809 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10810 (gametree-children-shown-p, gametree-compute-reduced-score):
10811 Use `ignore-errors'.
10812
10813 * play/handwrite.el (ps-lpr-switches): Declare.
10814 (handwrite): Remove unused variables `pmin' and `lastp'.
10815
10816 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10817
10818 * play/landmark.el (landmark-init-display)
10819 (landmark-update-naught-weights): Mark unused parameters.
10820 (landmark-y): Remove unused variable `noise'. Simplify.
10821 (landmark-human-plays): Remove unused variable `score'.
10822
10823 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10824 (mpuz-try-proposal): Remove unused variable `game'.
10825
10826 * play/zone.el (life-patterns): Declare.
10827
80f499c7
JB
108282011-04-20 Juanma Barranquero <lekktu@gmail.com>
10829
10830 * vc/vc.el (ediff-vc-internal): Declare function.
10831
024ff170
SM
108322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10833
c0a193ea
SM
10834 * shell.el: Use lexical-binding and std completion UI.
10835 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10836 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10837 comint-preoutput-filter-functions rather than on
10838 comint-output-filter-functions.
10839 (shell-command-completion, shell--command-completion-data)
10840 (shell-filename-completion, shell-environment-variable-completion)
10841 (shell-c-a-p-replace-by-expanded-directory): New functions.
10842 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10843 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10844 (shell-dynamic-complete-environment-variable): Use them.
10845 (shell-dynamic-complete-as-environment-variable)
10846 (shell-dynamic-complete-as-command): Remove.
10847 (shell-match-partial-variable): Match past point.
10848 * comint.el: Clean up use of completion-at-point-functions.
10849 (comint-completion-at-point): New function.
10850 (comint-mode): Use it completion-at-point-functions.
10851 (comint-dynamic-complete): Make it obsolete.
10852 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10853 (comint-c-a-p-replace-by-expanded-history): New function.
10854 (comint-dynamic-complete-functions)
10855 (comint-replace-by-expanded-history): Use it.
10856 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10857 termination strings. Try harder to avoid second try-completion.
10858 (completion-in-region-mode-map): Disable bindings that don't work yet.
10859
2dbaa080
SM
10860 * comint.el: Use lexical-binding. Require CL.
10861 (comint-dynamic-complete-functions): Use comint-filename-completion.
10862 (comint-completion-addsuffix): Tweak custom type.
10863 (comint-filename-completion, comint--common-suffix)
10864 (comint--common-quoted-suffix, comint--table-subvert)
10865 (comint--complete-file-name-data): New functions.
10866 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10867 (comint-dynamic-list-filename-completions): Use them.
10868 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10869
2dbaa080
SM
10870 * minibuffer.el (completion-in-region-mode):
10871 Keep completion-in-region-mode--predicate global.
10872 (completion-in-region--postch):
10873 Assume completion-in-region-mode--predicate is not null.
10874
c79a6f38
SM
10875 * progmodes/flymake.el (flymake-start-syntax-check-process):
10876 Obey `dir'. Simplify.
10877
024ff170
SM
10878 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10879 we're in VC after all.
10880
1c6c854e
CS
108812011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10882
10883 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10884 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10885 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10886
bed7f140
SM
108872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10888
332e62ab
SM
10889 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10890 add sanity check.
10891
bed7f140
SM
10892 * obsolete/erc-hecomplete.el: Make obsolete.
10893 * obsolete/: Standardize obsolescence info in the header.
10894
f195c582
GM
108952011-04-20 Glenn Morris <rgm@gnu.org>
10896
10897 * calendar/solar.el (solar-horizontal-coordinates):
10898 Use the longitude argument rather than `calendar-longitude'.
10899 (solar-date-next-longitude): Remove unused locals.
10900
cb79b8c0
VJL
109012011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10902
10903 * whitespace.el: New version 13.2.1.
10904
109052011-04-20 felix <EmacsWiki> (tiny change)
10906
d8e4b68b 10907 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10908 switching between major modes on a file.
10909
602ea69d
SM
109102011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10913 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10914 multi-line comments as well.
10915
06b60517
JB
109162011-04-19 Juanma Barranquero <lekktu@gmail.com>
10917
10918 Lexical-binding cleanup.
10919
10920 * arc-mode.el (archive-mode-revert):
10921 * cmuscheme.el (scheme-interactively-start-process):
10922 * custom.el (custom-initialize-delay):
10923 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10924 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10925 * emacs-lock.el (emacs-lock-clear-sentinel):
10926 * ezimage.el (defezimage):
10927 * follow.el (follow-avoid-tail-recenter):
10928 * fringe.el (set-fringe-mode-1):
10929 * generic-x.el (bat-generic-mode-compile):
10930 * help-mode.el (help-info-variable, help-do-xref)
10931 (help-mode-revert-buffer):
10932 * help.el (view-emacs-todo):
10933 * iswitchb.el (iswitchb-completion-help):
10934 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10935 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10936 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10937 * locate.el (locate-update):
10938 * longlines.el (longlines-encode-region)
10939 (longlines-after-change-function):
10940 * outline.el (outline-isearch-open-invisible):
10941 * ps-def.el (declare-function, charset-dimension, char-width)
10942 (encode-char):
10943 * ps-mule.el (ps-mule-plot-string):
10944 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10945 (recentf-edit-list-select, recentf-edit-list-validate)
10946 (recentf-open-files-action):
10947 * rect.el (delete-whitespace-rectangle-line)
10948 (rectangle-number-line-callback):
10949 * register.el (window-configuration-to-register)
10950 (frame-configuration-to-register):
10951 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10952 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10953 (xselect-convert-to-targets, xselect-convert-to-delete)
10954 (xselect-convert-to-filename, xselect-convert-to-charpos)
10955 (xselect-convert-to-lineno, xselect-convert-to-colno)
10956 (xselect-convert-to-os, xselect-convert-to-host)
10957 (xselect-convert-to-user, xselect-convert-to-class)
10958 (xselect-convert-to-name, xselect-convert-to-integer)
10959 (xselect-convert-to-atom, xselect-convert-to-identity):
10960 * subr.el (declare, ignore, process-kill-without-query)
10961 (text-clone-maintain):
10962 * terminal.el (te-get-char, te-tic-sentinel):
10963 * tool-bar.el (tool-bar-make-keymap):
10964 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10965 * type-break.el (type-break-mode, type-break-noninteractive-query):
10966 * view.el (View-back-to-mark):
10967 * wid-browse.el (widget-browse-action, widget-browse-widget)
10968 (widget-browse-widgets, widget-browse-sexp):
10969 * widget.el (define-widget-keywords):
10970 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10971 Mark unused parameters.
10972
10973 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10974 (align-areas): Remove unused variable `look'.
10975 (align-region): Remove unused variables `real-end' and `pos-list'.
10976
10977 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10978
10979 * bindings.el (mode-line-modified, mode-line-remote):
10980 Mark unused parameters.
10981 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10982
10983 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10984 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10985
10986 * comint.el (comint-history-isearch-pop-state)
10987 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10988 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10989 (comint-substitute-in-file-name): Doc fix.
10990
10991 * completion.el (cmpl-statistics-block): Mark unused parameter.
10992 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10993 (save-completions-to-file, load-completions-from-file):
10994 Remove unused local variable `e'.
10995
10996 * composite.el (compose-chars): Remove unused variable `len'.
10997 (lgstring-insert-glyph): Remove unused variable `g'.
10998 (compose-glyph-string): Remove unused variables `ascent',
10999 `descent', `lbearing' and `rbearing'.
11000 (compose-glyph-string-relative): Remove unused variables
11001 `lbearing', `rbearing' and `wadjust'.
11002 (compose-gstring-for-graphic): Remove unused variables `header',
11003 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11004 (compose-gstring-for-terminal): Remove unused variables `header'
11005 and `nchars'. Use `let', not `let*'.
11006
11007 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11008 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11009 (Custom-buffer-done, custom-buffer-create-internal)
11010 (custom-browse-visibility-action, custom-browse-group-tag-action)
11011 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11012 (widget-magic-mouse-down-action, custom-toggle-parent)
11013 (custom-add-parent-links, custom-toggle-hide-variable)
11014 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11015 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11016 (custom-face-menu-create, custom-variable-menu-create, get)
11017 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11018 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11019 (customize-apropos): Remove unused variable `tests'.
11020 (custom-group-value-create): Remove unused variable `hidden-p'.
11021 (sort-fold-case): Declare.
11022
11023 * cus-theme.el (custom-reset-standard-faces-list)
11024 (custom-reset-standard-variables-list): Declare.
11025 (customize-create-theme, custom-theme-revert, custom-theme-write)
11026 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11027 Mark unused parameters.
11028
11029 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11030
11031 * delim-col.el (delimit-columns-max): Move defvar before first use.
11032
11033 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11034 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11035
11036 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11037 (auto-insert): Declare.
11038 (desktop-restore-file-buffer): Rename desktop-* parameters;
11039 mark unused ones.
11040 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11041 (desktop-buffer): Rename desktop-* parameters.
11042
11043 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11044 (dframe-reposition-frame-xemacs, dframe-help-echo)
11045 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11046 Mark unused parameters.
11047
11048 * dired-aux.el (backup-extract-version-start, overwrite-query)
11049 (overwrite-backup-query, rename-regexp-query)
11050 (rename-non-directory-query): Declare.
11051 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11052 (dired-add-entry): Remove unused variable `orig-file-name'.
11053 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11054 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11055 `dired-copy-preserve-time' directly.
11056 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11057 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11058
11059 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11060 (dired-virtual-revert, dired-make-relative-symlink):
11061 Mark unused parameters.
11062 (manual-program): Declare.
11063 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11064 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11065 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11066
11067 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11068
11069 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11070
11071 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11072 Declare.
11073
11074 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11075
11076 * electric.el (Electric-command-loop): Rename parameter
11077 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11078
11079 * expand.el (expand-in-literal): Remove unused variable `here'.
11080
11081 * facemenu.el (facemenu-add-new-color):
11082 Remove unused variable `docstring'.
11083
11084 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11085 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11086 (face-attr-construct): Mark unused parameter. Doc fix.
11087 (read-color): Remove unused variable `hex-string'.
11088
11089 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11090 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11091 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11092 (display-buffer-other-frame): Remove unused variable `old-window'.
11093 (kill-buffer-hook): Declare.
11094 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11095 Mark unused parameters.
11096 (after-find-file): Pass 1 to `auto-save-mode', not t.
11097
11098 * files-x.el (auto-insert): Declare.
11099 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11100
11101 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11102 variable `buf'. Mark unused parameter.
06b60517
JB
11103 (find-lisp-insert-directory): Mark unused parameter.
11104
11105 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11106 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11107 (format-common-tail): Remove, unused.
11108 (format-deannotate-region): Remove unused variable `loc'.
11109 (format-annotate-region): Remove unused variable `p'.
11110 (format-annotate-single-property-change): Remove unused variables
11111 `default' and `tail'.
11112
11113 * forms.el (read-file-filter): Declare.
11114 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11115
11116 * frame.el (frame-creation-function-alist): Mark unused parameter.
11117 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11118
11119 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11120 Remove unused parameters.
11121 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11122 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11123
11124 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11125 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11126 (hfy-prepare-tag-map): Mark unused parameters.
11127 (htmlfontify-buffer): Use `called-interactively-p'.
11128
11129 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11130 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11131 (ibuffer-do-occur): Mark unused parameters.
11132 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11133 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11134
11135 * ibuffer.el: Don't quote `lambda'.
11136 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11137 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11138 Mark unused parameters.
11139
11140 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11141 (ido-completing-read): Mark unused parameters.
11142 (ido-copy-current-word): Mark unused parameters;
11143 remove unused variable `name'.
11144 (ido-sort-merged-list): Remove unused parameter `dirs'.
11145
11146 * ielm.el (ielm-input-sender): Mark unused parameter.
11147 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11148 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11149 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11150 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11151 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11152
11153 * image-dired.el (image-dired-display-thumbs): Remove unused
11154 variables `curr-file' and `count'.
11155 (image-dired-remove-tag): Remove unused variable `start'.
11156 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11157 variable `curr-file'
11158 (image-dired-rotate-original): Remove unused variable `temp-file'.
11159 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11160 Remove unused variable `file'.
11161 (image-dired-gallery-generate): Remove unused variable `curr'.
11162 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11163
11164 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11165
11166 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11167
11168 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11169
11170 * isearch.el (minibuffer-history-symbol): Declare.
11171 (isearch-edit-string): Remove unused variable `err'.
11172 (isearch-message-prefix, isearch-message-suffix):
11173 Mark unused parameters.
11174
11175 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11176
11177 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11178
11179 * makesum.el (double-column): Remove unused variable `cnt'.
11180
11181 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11182 (ido-ignore-item-temp-list): Declare.
11183
11184 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11185 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11186 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11187 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11188 `mouse-col-delta'.
11189
11190 * mouse-sel.el (mouse-extend-internal):
11191 Remove unused variable `orig-window-frame'.
11192
11193 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11194 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11195 Move declarations before first use.
11196 (pcomplete-opt): Mark unused parameters; doc fix.
11197
11198 * proced.el (proced-revert): Mark unused parameter.
11199 (proced-send-signal): Remove unused variable `err'.
11200
11201 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11202 Rename parameter PREFIX-ARG to ARG.
11203 (ps-basic-plot-string, ps-basic-plot-whitespace):
11204 Mark unused parameters.
11205
11206 * replace.el (replace-count): Define.
11207 (occur-revert-function): Mark unused parameters.
11208 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11209 (isearch-case-fold-search, isearch-string): Declare.
11210 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11211 bind `case-fold-search'. Remove unused variables `beg' and `end',
11212 and simplify.
11213 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11214 COUNT and bind `replace-count'.
11215 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11216 to COUNT.
11217
11218 * savehist.el (print-readably, print-string-length): Declare.
11219
11220 * shadowfile.el (shadow-expand-cluster-in-file-name):
11221 Remove unused variable `cluster'.
11222 (shadow-copy-file): Remove unused variable `i'.
11223 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11224 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11225 (shadow-define-literal-group, shadow-define-regexp-group)
11226 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11227
11228 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11229 (shell): Use `called-interactively-p'.
11230 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11231
11232 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11233 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11234 (delete-backward-char): Remove unused variable `ocol'.
11235 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11236 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11237 (event-apply-hyper-modifier, event-apply-shift-modifier)
11238 (event-apply-control-modifier, event-apply-meta-modifier):
11239 Mark unused parameters.
11240 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11241 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11242
11243 * speedbar.el (speedbar-ignored-directory-expressions)
11244 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11245 (speedbar-find-file, speedbar-dir-follow)
11246 (speedbar-directory-buttons-follow, speedbar-tag-find)
11247 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11248 (speedbar-buffers-line-directory, speedbar-buffer-click):
11249 Mark unused parameters.
11250 (speedbar-tag-file): Remove unused variable `mode'.
11251 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11252
11253 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11254
11255 * talk.el (talk): Remove unused variable `display'.
11256
11257 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11258 (tar-write-region-annotate): Mark unused parameter.
11259
11260 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11261 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11262 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11263 warning by another.
11264
11265 * time-stamp.el (time-stamp-string-preprocess):
11266 Remove unused variable `require-padding'.
11267
11268 * tree-widget.el (widget-glyph-enable): Declare.
11269 (tree-widget-action): Mark unused parameter.
11270
11271 * w32-fns.el (x-get-selection): Mark unused parameter.
11272 (autoload-make-program, generated-autoload-file): Declare.
11273
11274 * wdired.el (wdired-revert): Mark unused parameters.
11275 (wdired-xcase-word): Remove unused variable `err'.
11276
11277 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11278 (whitespace-help-scroll): Remove unused variable `data-help'.
11279
11280 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11281 (widget-image-insert, widget-after-change, default)
11282 (widget-default-format-handler, widget-default-notify)
11283 (widget-default-prompt-value, widget-info-link-action)
11284 (widget-url-link-action, widget-function-link-action)
11285 (widget-variable-link-action, widget-file-link-action)
11286 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11287 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11288 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11289 (widget-insert-button-action, widget-delete-button-action, visibility)
11290 (widget-documentation-link-action, widget-documentation-string-action)
11291 (widget-const-prompt-value, widget-regexp-match, symbol)
11292 (widget-coding-system-prompt-value)
11293 (widget-key-sequence-value-to-external, sexp)
11294 (widget-sexp-value-to-internal, character, vector, cons)
11295 (widget-choice-prompt-value, widget-boolean-prompt-value)
11296 (widget-color--choose-action): Mark unused parameters.
11297 (widget-item-match-inline, widget-choice-match-inline)
11298 (widget-checklist-match, widget-checklist-match-inline)
11299 (widget-group-match): Rename parameter VALUES to VALS.
11300 (widget-field-value-set): Remove unused variable `size'.
11301 (widget-color-action): Remove unused variables `value' and `start'.
11302
11303 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11304 variable `dir'. Doc fix.
06b60517
JB
11305 (windmove-find-other-window): Don't pass it.
11306
11307 * window.el (count-windows): Mark unused parameter.
11308 (bw-adjust-window): Remove unused variable `err'.
11309
11310 * woman.el (woman-file-name): Remove unused variable `default'.
11311 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11312 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11313 (global-font-lock-mode): Declare.
11314 (woman-decode-region): Mark unused parameter.
11315 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11316
11317 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11318 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11319 (x-dnd-handle-moz-url): Remove unused variable `title'.
11320 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11321
11322 * xml.el (xml-parse-tag, xml-parse-attlist):
11323 Remove unused variable `pos'.
11324
bc4f7f3d
GM
113252011-04-19 Glenn Morris <rgm@gnu.org>
11326
11327 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11328 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11329 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11330 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11331 * calendar/cal-html.el (cal-html-insert-minical):
11332 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11333 (calendar-mark-date-pattern):
11334 Prefix "unused" locals.
11335
11336 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11337 optional argument `style'.
11338
11339 * calendar/appt.el (appt-make-list):
11340 * calendar/cal-china.el (calendar-chinese-date-string):
11341 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11342 (diary-hebrew-yahrzeit):
11343 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11344 * calendar/calendar.el (calendar-generate-window):
11345 * calendar/time-date.el (time-to-days):
11346 Remove unused local variables.
11347
16a43933
CY
113482011-04-18 Chong Yidong <cyd@stupidchicken.com>
11349
11350 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11351 glyphless-char-display table.
11352 (tabulated-list-glyphless-char-display): New var.
11353
7eed1860
SS
113542011-04-18 Sam Steingold <sds@gnu.org>
11355
11356 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11357 to acknowledgments.
11358
4d2d1ccd
GM
113592011-04-17 Glenn Morris <rgm@gnu.org>
11360
11361 * calendar/diary-lib.el (diary-sexp-entry):
11362 * calendar/holidays.el (holiday-sexp):
11363 Set debug-on-error rather than the removed stack-trace-on-error.
11364
239da61d
GM
113652011-04-16 Glenn Morris <rgm@gnu.org>
11366
11367 * progmodes/f90.el: Use lexical-binding.
11368 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11369
8b05752a
SM
113702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11371
daca8ba5
SM
11372 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11373 (mail-mode): Setup mailalias completion here instead.
11374 * mail/mailalias.el: Use lexical-binding.
11375 (pattern, mailalias-done): Declare dynamic.
11376 (mail-completion-at-point-function): New function, from mail-complete.
11377 (mail-complete): Use it.
11378 (mail-completion-expand): New function.
11379 (mail-get-names): Use it.
11380 (mail-directory, mail-directory-process, mail-directory-stream):
11381 Don't use `pattern' for lexically bound arg.
11382
6f542485
SM
11383 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11384
037e7c3f
SM
11385 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11386 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11387 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11388
8b05752a
SM
11389 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11390 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11391 (byte-interactive-p): Define them again, for use when inlining
11392 old code.
11393
49093f60
JB
113942011-04-15 Juanma Barranquero <lekktu@gmail.com>
11395
11396 * loadup.el: Use `string-to-number', not `string-to-int'.
11397
b5b8e7de
SM
113982011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11401 gud-gdb-complete-command.
11402 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11403 (gud-gdb-completion-at-point): New function.
11404 (gud-gdb-completions): Remove.
11405
f42efeb5
MA
114062011-04-14 Michael Albinus <michael.albinus@gmx.de>
11407
49093f60
JB
11408 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11409 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11410 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11411 whether `executable-find' is bound.
f42efeb5
MA
11412
11413 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11414
e240cc21
SM
114152011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * minibuffer.el (completion-in-region-mode-predicate)
11418 (completion-in-region-mode--predicate): New vars.
11419 (completion-in-region, completion-in-region--postch)
11420 (completion-in-region-mode): Use them.
11421 (completion--capf-wrapper): Also return the hook function.
11422 (completion-at-point, completion-help-at-point):
11423 Adjust and provide a predicate.
c2bd2ab0
SM
11424
11425 Preserve arg names for advice of subr and lexical functions (bug#8457).
11426 * help-fns.el (help-function-arglist): Consolidate the subr and
11427 new-byte-code cases. Add argument `preserve-names' to extract names
11428 from the docstring when needed.
11429 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11430 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11431 (ad-arglist): Use help-function-arglist's new arg.
11432 (ad-definition-type): Use cond.
11433
c183f693
JB
114342011-04-13 Juanma Barranquero <lekktu@gmail.com>
11435
06641a47
JB
11436 * autorevert.el (auto-revert-handler):
11437 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11438 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11439 Don't quote lambda.
11440
c183f693
JB
11441 * image-mode.el (image-transform-set-scale):
11442 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11443
1e3b6001
G
114442011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11445
11446 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11447 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11448 Upgrades via gnutls-cli are too slow to be done opportunistically.
11449
2d6af8dd
JB
114502011-04-12 Juanma Barranquero <lekktu@gmail.com>
11451
11452 * dframe.el (dframe-current-frame): Remove spurious quote.
11453
c0749a51
GM
114542011-04-12 Glenn Morris <rgm@gnu.org>
11455
088d0d61
GM
11456 * calendar/cal-tex.el (cal-tex-end-document):
11457 Try to automatically use latin1 input if needed.
11458
c0749a51
GM
11459 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11460 Don't try to cons a mark onto an empty element.
11461
5c90fde0
LL
114622011-04-11 Leo Liu <sdl.web@gmail.com>
11463
11464 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11465 buffers.
11466 (ido-kill-buffer-at-head): Support killing virtual buffers.
11467
369e974d
CY
114682011-04-10 Chong Yidong <cyd@stupidchicken.com>
11469
11470 * minibuffer.el (completion-show-inline-help): New var.
11471 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11472 (minibuffer-force-complete, minibuffer-complete-word):
11473 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11474
11475 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11476 to avoid interference from inline help (Bug#5849).
11477
37f1c930
LL
114782011-04-10 Leo Liu <sdl.web@gmail.com>
11479
099c39a4
JB
11480 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11481 Fix typo.
37f1c930 11482
a32d4040
CY
114832011-04-09 Chong Yidong <cyd@stupidchicken.com>
11484
11485 * image-mode.el (image-toggle-display-image): Signal an error if
11486 not in Image mode.
11487 (image-transform-mode, image-transform-resize)
11488 (image-transform-set-rotation): Doc fix.
daca8ba5 11489 (image-transform-set-resize): Delete.
a32d4040
CY
11490 (image-transform-set-scale, image-transform-fit-to-height)
11491 (image-transform-fit-to-width): Handle image-toggle-display-image
11492 and image-transform-resize directly.
11493
099c39a4 114942011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11495
11496 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11497 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11498 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11499 (doc-view-mode-map): Add bindings for the new functions.
11500
099c39a4 115012011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11502
4d61f28d 11503 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11504 Fix typo in docstring.
11505
3726838a
EZ
115062011-04-08 Eli Zaretskii <eliz@gnu.org>
11507
04f33f1e
EZ
11508 * files.el (file-size-human-readable): Produce one digit after
11509 decimal, like "ls -lh" does.
11510
11511 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11512 the file size representation.
11513
3726838a
EZ
11514 * simple.el (list-processes): If async subprocesses are not
11515 available, error out with a clear error message.
11516
cbb59342
CY
115172011-04-08 Chong Yidong <cyd@stupidchicken.com>
11518
11519 * help.el (help-form-show): New function, to be called from C.
11520 Put help-form output in a buffer named differently than *Help*.
11521
e3971c44
EZ
115222011-04-08 Eli Zaretskii <eliz@gnu.org>
11523
11524 * files.el (file-size-human-readable): New function.
11525
11526 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11527 computing the representation inline. Don't require `cl'.
11528
12544bbe
GM
115292011-04-08 Glenn Morris <rgm@gnu.org>
11530
a1de6c6a
GM
11531 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11532
3c4671f4
GM
11533 * net/browse-url.el (browse-url-firefox):
11534 Test system-type, not system-configuration.
11535
b605679c
GM
11536 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11537 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11538 Use log-edit-empty-buffer-p. (Bug#7598)
11539
56442f0c
GM
11540 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11541 (rlogin-mode-map): Initialize in the defvar.
11542 (rlogin): Use ignore-errors.
11543
12544bbe
GM
11544 * replace.el (occur-mode-map): Some fixes for menu items.
11545
eb237b0f
AH
115462011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11547
11548 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11549
7d668f2c
CY
115502011-04-06 Chong Yidong <cyd@stupidchicken.com>
11551
e67a13ab
CY
11552 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11553 issuing unused warnings.
11554
11555 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11556 macro directly.
11557
7d668f2c
CY
11558 * simple.el: Lisp reimplement of list-processes. Based on an
11559 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11560 (process-menu-mode): New major mode.
11561 (list-processes--refresh, list-processes):
11562 (process-menu-visit-buffer): New functions.
11563
11564 * files.el (save-buffers-kill-emacs): Don't assume any return
11565 value of list-processes, which is undocumented anyway.
11566
a83ec3c9
CY
115672011-04-06 Chong Yidong <cyd@stupidchicken.com>
11568
11569 * emacs-lisp/tabulated-list.el: New file.
11570
e91a96fe
CY
11571 * emacs-lisp/package.el: Use Tabulated List mode.
11572 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11573 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11574 table format using Tabulated List mode variables.
11575 (package--push): New macro, replacing package-list-maybe-add.
11576 (package-menu--generate): Use package--push. Renamed from
11577 package--generate-package-list.
11578 (package-menu-refresh, list-packages): Use it.
daca8ba5 11579 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11580 Return insertion data instead of inserting it directly.
099c39a4
JB
11581 (package-menu-describe-package, package-menu-execute):
11582 Use tabulated-list-get-id.
e91a96fe
CY
11583 (package-menu-mark-delete, package-menu-mark-install)
11584 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11585 (package-menu-mark-obsolete-for-deletion):
11586 Use tabulated-list-put-tag.
e91a96fe
CY
11587 (package--list-packages, package-menu-revert)
11588 (package-menu-get-package, package-menu-get-version)
11589 (package-menu-sort-by-column): Functions deleted.
11590 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11591 (package-menu--status-predicate, package-menu--version-predicate)
11592 (package-menu--name-predicate)
11593 (package-menu--description-predicate): Handle arguments in the
11594 Tabulated List format.
11595 (package-list-packages-no-fetch): Call list-packages.
11596
3e214b50
JB
115972011-04-06 Juanma Barranquero <lekktu@gmail.com>
11598
11599 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11600 (after-find-file): Don't bind it.
3e214b50
JB
11601 (revert-buffer-in-progress-p): New variable.
11602 (revert-buffer): Bind it.
11603 Pass nil for `after-find-file-from-revert-buffer'.
11604
11605 * saveplace.el (save-place-find-file-hook): Use new variable
11606 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11607
3f0f1700
GM
116082011-04-06 Glenn Morris <rgm@gnu.org>
11609
c0274801
GM
11610 * Makefile.in (AUTOGEN_VCS): New variable.
11611 (autoloads): Use $AUTOGEN_VCS.
11612
3f0f1700
GM
11613 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11614 * calendar/calendar.el (calendar-mode-map):
11615 Check for toolkit scroll bars. (Bug#8305)
11616
41ea9e48
CY
116172011-04-05 Chong Yidong <cyd@stupidchicken.com>
11618
11619 * minibuffer.el (completion-in-region--postch)
11620 (completion-in-region-mode): Remove unnecessary messages.
11621
6194c800
JB
116222011-04-05 Juanma Barranquero <lekktu@gmail.com>
11623
33256f14
JB
11624 * font-lock.el (font-lock-refresh-defaults):
11625 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11626 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11627
6194c800
JB
11628 * info.el (Info-directory-list, Info-read-node-name-2)
11629 (Info-split-parameter-string): Doc fixes.
11630 (Info-virtual-nodes): Reflow docstring.
11631 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11632 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11633 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11634 Fix typos in docstrings.
11635 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11636 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11637 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11638 (Info-restore-desktop-buffer): Mark unused parameters.
11639 (Info-directory-find-file, Info-directory-find-node)
11640 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11641 (Info-virtual-index-find-node, Info-apropos-find-file)
11642 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11643 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11644 (Info-virtual-index): Remove unused local variable `nodename'.
11645
b87a8200 116462011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11647
b87a8200
DD
11648 * net/rcirc.el: Update my e-mail address.
11649 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11650
3b2ff876
CY
116512011-04-05 Chong Yidong <cyd@stupidchicken.com>
11652
11653 * startup.el (command-line): Save the cursor's theme-face
11654 directly, instead of using face-override-spec.
11655
11656 * custom.el (load-theme): Minor optimization in assigning faces.
11657
8d17e7ca
JB
116582011-04-04 Juanma Barranquero <lekktu@gmail.com>
11659
11660 * help-fns.el (describe-variable): Complete all variables having
11661 documentation, including keywords.
11662 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11663
2fbc1934
JB
116642011-04-04 Juanma Barranquero <lekktu@gmail.com>
11665
11666 Convert to lexical-binding.
11667
11668 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11669 (bs--get-marked-string, bs--get-modified-string)
11670 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11671 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11672 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11673
11674 * ehelp.el (electric-help-execute-extended)
11675 (electric-help-ctrl-x-prefix):
11676 * hexl.el (hexl-revert-buffer-function):
11677 * linum.el (linum-after-change, linum-after-scroll):
11678 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11679
11680 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11681
74f50695
DU
116822011-04-04 Daiki Ueno <ueno@unixuser.org>
11683
11684 * epa-dired.el:
11685 * epa-mail.el:
11686 * epa-hook.el:
11687 * epa-file.el:
11688 * epa.el:
11689 * epg.el: Use lexical binding.
11690
c11325f7
CY
116912011-04-03 Chong Yidong <cyd@stupidchicken.com>
11692
0d9e9a12
CY
11693 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11694
c11325f7 11695 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11696 dictionary case for flyspell-mark-duplications-exceptions.
11697 Use regexp matching for languages.
c11325f7
CY
11698 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11699 default dictionary (Bug#7926).
11700
da91b5f2
CY
117012011-04-02 Chong Yidong <cyd@stupidchicken.com>
11702
099c39a4
JB
11703 * emacs-lisp/package.el (package--with-work-buffer):
11704 Recognize https URLs.
da91b5f2 11705
099c39a4
JB
11706 * net/network-stream.el: Move from gnus/proto-stream.el.
11707 Change prefix to network-stream throughout.
da91b5f2
CY
11708 (open-protocol-stream): Merge into open-network-stream, leaving
11709 open-protocol-stream as an alias. Handle nil BUFFER args.
11710
11711 * subr.el (open-network-stream): Move to net/network-stream.el.
11712
afa8e9f6
GM
117132011-04-02 Glenn Morris <rgm@gnu.org>
11714
1d2e369d
GM
11715 * find-dired.el (find-exec-terminator): New option.
11716 (find-ls-option): Test for -ls support.
11717 (find-ls-subdir-switches): Test for -b in find-ls-option.
11718 (find-dired, find-grep-dired): Doc fixes.
11719 (find-dired): Use find-exec-terminator.
11720
8abb7da8 11721 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11722 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11723 (find-name-arg): Remove purecopy.
8abb7da8 11724
f3ca7378
GM
11725 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11726 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11727 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11728 accordingly. Don't add the null-device if not needed.
11729
afa8e9f6
GM
11730 * files.el (save-some-buffers): Doc fix.
11731
35eae264
EZ
117322011-04-02 Eli Zaretskii <eliz@gnu.org>
11733
11734 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11735
26b51db5
JB
117362011-04-01 Juanma Barranquero <lekktu@gmail.com>
11737
11738 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11739 Use `dolist' rather than `mapcar'.
11740
7200d79c
SM
117412011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11742
03408648 11743 Add lexical binding.
7200d79c 11744
03408648
SM
11745 * subr.el (apply-partially): Use new closures rather than CL.
11746 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11747 (dolist, dotimes): Use slightly different expansion for lexical code.
11748 (functionp): Move to C.
11749 (letrec): New macro.
11750 (with-wrapper-hook): Use it and apply-partially instead of CL.
11751 (eval-after-load): Preserve lexical-binding.
11752 (save-window-excursion, with-output-to-temp-buffer): Turn them
11753 into macros.
7200d79c 11754
03408648
SM
11755 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11756
11757 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11758 than the arglist.
11759 (help-add-fundoc-usage): Don't add `Not documented'.
11760 (help-function-arglist): Handle closures, subroutines, and new
11761 byte-code-functions.
11762 (help-make-usage): Remove leading underscores.
11763 (describe-function-1): Handle closures.
11764 (describe-variable): Use special-variable-p for completion.
11765
11766 * files.el (lexical-binding): Declare safe.
f488fb65 11767
03408648
SM
11768 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11769 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11770 (pcase): Add `let' pattern.
11771 Change memoization so it actually works.
11772 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11773 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11774 <let>: New case.
f488fb65 11775
03408648
SM
11776 * emacs-lisp/macroexp.el: Use lexical binding.
11777 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11778 Don't convert ' to #' without checking that it's indeed quoting
11779 a lambda.
11780
11781 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11782 Use eval-sexp-add-defvars.
03408648
SM
11783 (eval-sexp-add-defvars): New fun.
11784
11785 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11786
11787 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11788 Don't autoload.
11789 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11790 than the internal `byte-compile-lambda'.
11791 (defmethod): Don't hide code under quotes.
11792 (eieio-defmethod): New `code' argument.
11793
11794 * emacs-lisp/eieio-comp.el: Remove.
11795
11796 * emacs-lisp/edebug.el (edebug-eval-defun)
11797 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11798 (edebug-toggle): Avoid `eval'.
11799
11800 * emacs-lisp/disass.el (disassemble-internal): Handle new
11801 `closure' objects.
11802 (disassemble-1): Handle new byte codes.
11803
11804 * emacs-lisp/cl.el (pushnew): Silence warning.
11805
11806 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11807 (cl-byte-compile-throw): Remove.
11808 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11809
11810 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11811 closures.
11812
11813 * emacs-lisp/cconv.el: New file.
11814
11815 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11816 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11817 (byte-compile-initial-macro-environment):
11818 Handle declare-function here.
11819 (byte-compile--lexical-environment): New var.
11820 (byte-stack-ref, byte-stack-set, byte-discardN)
11821 (byte-discardN-preserve-tos): New lap codes.
11822 (byte-interactive-p): Don't use any more.
11823 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11824 New macros.
11825 (byte-compile-lapcode): Use them and handle new lap codes.
11826 (byte-compile-obsolete): Remove.
11827 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11828 (byte-compile-arglist-warn): Check late def of inlinable funs.
11829 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11830 since they should have been expanded by now.
11831 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11832 (byte-compile-from-buffer): Remove unused second arg.
11833 (byte-compile-preprocess): New function.
11834 (byte-compile-toplevel-file-form): New function to distinguish
11835 file-form calls from outside from file-form calls from hunk-handlers.
11836 (byte-compile-file-form): Simplify.
11837 (byte-compile-file-form-defsubst): Remove.
11838 (byte-compile-file-form-defmumble): Simplify now that
11839 byte-compile-lambda always returns a byte-code-function.
11840 (byte-compile): Preprocess.
11841 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11842 Remove, not used any more.
11843 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11844 (byte-compile-make-args-desc): New funs.
11845 (byte-compile-lambda): Handle lexical functions. Always return
11846 a byte-code-function.
11847 (byte-compile-reserved-constants): New var, to make up room for
11848 closed-over variables.
11849 (byte-compile-constants-vector): Obey it.
11850 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11851 (byte-compile-macroexpand-declare-function): New function.
11852 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11853 byte-code-functions.
11854 (byte-compile-form): Check obsolescence here.
11855 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11856 (byte-compile-variable-ref): Remove.
11857 (byte-compile-dynamic-variable-op): New fun.
11858 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11859 (byte-compile-variable-set): New funs.
11860 (byte-compile-discard): Add 2 args.
11861 (byte-compile-stack-ref, byte-compile-stack-set)
11862 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11863 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11864 macroexpand-all instead.
11865 (byte-compile-quote-form): Remove.
11866 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11867 (byte-compile-bind, byte-compile-unbind): New funs.
11868 (byte-compile-let): Handle let* and lexical binding.
11869 (byte-compile-let*): Remove.
11870 (byte-compile-catch, byte-compile-unwind-protect)
11871 (byte-compile-track-mouse, byte-compile-condition-case):
11872 Handle a new :fun-body form, used for lexical scoping.
11873 (byte-compile-save-window-excursion)
11874 (byte-compile-with-output-to-temp-buffer): Remove.
11875 (byte-compile-defun): Simplify.
11876 (byte-compile-stack-adjustment): New fun.
11877 (byte-compile-out): Use it.
11878 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11879
11880 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11881 handler any more.
11882
11883 * emacs-lisp/byte-opt.el: Use lexical binding.
11884 (byte-inline-lapcode): Remove (to bytecomp).
11885 (byte-compile-inline-expand): Pay attention to inlining to/from
11886 lexically bound code.
11887 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11888 any more.
11889 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11890 any more and don't call compiler-macros.
11891 (byte-compile-splice-in-already-compiled-code): Remove.
11892 (byte-code): Don't inline any more.
11893 (disassemble-offset): Receive `bytes' as argument rather than via
11894 dynamic scoping.
11895 (byte-compile-tag-number): Declare before first use.
11896 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11897 `return' even if make-spliceable.
11898 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11899 obsolete interactive-p.
11900 (byte-optimize-lapcode): Optimize new lap-codes.
11901 Don't trip up on new form of `byte-constant' lap code.
11902
11903 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11904
11905 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11906
11907 * custom.el (custom-initialize-default, custom-declare-variable):
11908 Use `defvar'.
11909
11910 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11911 New variables.
11912 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11913 (COMPILE_FIRST): Add macroexp and cconv.
11914 * makefile.w32-in: Mirror changes in Makefile.in.
11915
11916 * vc/cvs-status.el:
11917 * vc/diff-mode.el:
11918 * vc/log-edit.el:
11919 * vc/log-view.el:
11920 * vc/smerge-mode.el:
11921 * textmodes/bibtex-style.el:
11922 * textmodes/css.el:
11923 * startup.el:
11924 * uniquify.el:
da91b5f2
CY
11925 * minibuffer.el:
11926 * newcomment.el:
11927 * reveal.el:
11928 * server.el:
11929 * mpc.el:
11930 * emacs-lisp/smie.el:
11931 * doc-view.el:
11932 * dired.el:
03408648
SM
11933 * abbrev.el: Use lexical binding.
11934
0f0c1f27
EZ
119352011-04-01 Eli Zaretskii <eliz@gnu.org>
11936
11937 * info.el (info-display-manual): New function.
11938
c82b2579
SM
119392011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11942
221ddf68
TH
119432011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11944
11945 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11946 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11947
cba6e77e
GM
119482011-03-31 Glenn Morris <rgm@gnu.org>
11949
e040639f
GM
11950 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11951
cba6e77e
GM
11952 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11953
6d0f1c9e
CS
119542011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11955
11956 * progmodes/python.el (python-default-interpreter)
11957 (python-python-command-args, python-jython-command-args)
11958 (python-which-shell, python-which-args, python-which-bufname)
11959 (python-file-queue, python-comint-output-filter-function)
11960 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11961 variables and functions.
11962
3e2d70fd
SM
119632011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11964
11965 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11966 (completion-in-region-mode): New minor mode.
11967 (completion-in-region): Use it.
11968 (completion-in-region--data, completion-in-region-mode-map): New vars.
11969 (completion-in-region--postch): New function.
11970 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11971 New vars.
11972 (completion--capf-wrapper): New function.
11973 (completion-at-point): Use it to track well-behavedness of
11974 hook functions.
11975 (completion-help-at-point): New command.
11976
f3e4086c
JM
119772011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11978
11979 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11980 syntax class to search for whitespace on a single line
11981 (Message-ID: <4D938140.4030905@redhat.com>).
11982
eb7ffc14
LL
119832011-03-30 Leo Liu <sdl.web@gmail.com>
11984
11985 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11986 New commands.
11987 (edit-abbrevs-map): Bind them here.
11988 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11989
d806ab68
KM
119902011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11991
11992 * allout.el (allout-hide-by-annotation, allout-flag-region):
11993 Reduce possibility of overlay leakage by making them volatile.
11994
11995 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11996 hash is not shared between buffers. Mode initialization is
11997 responsible for giving it a useful starting value.
11998 (allout-item-span): Reduce possibility of overlay leakage by
11999 making them volatile.
12000 (allout-widgets-count-buttons-in-region): Add diagnostic function
12001 for tracking down button overlay leaks.
12002
ea622834
LL
120032011-03-29 Leo Liu <sdl.web@gmail.com>
12004
12005 * ido.el (ido-read-internal): Use the default history var
12006 minibuffer-history if no HISTORY is specified.
12007
b62f8267
G
120082011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12009
03408648
SM
12010 * net/imap.el (imap-shell-open, imap-process-connection-type):
12011 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12012 Kerberos, SSL, other subprocesses.
12013
947b6566
LL
120142011-03-28 Leo Liu <sdl.web@gmail.com>
12015
12016 * abbrev.el (abbrev-table-empty-p): New function.
12017 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12018 nonempty ones. (Bug#5937)
12019
5ffb62aa
JD
120202011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12021
12022 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12023
7a097943
LL
120242011-03-27 Leo Liu <sdl.web@gmail.com>
12025
12026 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12027 for foreground and background colors.
12028 (ansi-color-make-color-map): Adapt.
12029
c5b40130
LL
120302011-03-25 Leo Liu <sdl.web@gmail.com>
12031
1f48f7d2
LL
12032 * midnight.el (midnight-time-float): Remove. Note it calculates
12033 the microsecond component incorrectly and seconds-to-time does the
12034 same job.
625897ec 12035 Remove redundant (require 'timer).
1f48f7d2 12036
c5b40130
LL
12037 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12038 (ido-completions): Remove unused arguments. (Bug#8329)
12039
d86d2721
SM
120402011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12041
12042 * minibuffer.el (completion--flush-all-sorted-completions):
12043 Remove itself from hook.
12044 (completion-at-point): Let the functions perform the completion
12045 immediately and return nil or t.
12046 * comint.el (comint-dynamic-complete-functions): Now identical to
12047 completion-at-point-functions.
12048 (comint-dynamic-list-input-ring): Remove unused var `index'.
12049 (comint--match-partial-filename, comint--unquote&expand-filename):
12050 New funs, split from comint-match-partial-filename.
12051 (comint-dynamic-complete): Use completion-at-point.
12052 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12053
e8974c48
DA
120542011-03-24 Drew Adams <drew.adams@oracle.com>
12055
12056 * thingatpt.el: Support `defun'.
12057
def71b5e
LL
120582011-03-23 Leo Liu <sdl.web@gmail.com>
12059
cb5af48e
LL
12060 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12061
def71b5e
LL
12062 * help-mode.el (help-mode-finish): Tweak regexp.
12063
927c53e7
GM
120642011-03-23 Glenn Morris <rgm@gnu.org>
12065
18d05bed
GM
12066 * eshell/esh-opt.el (eshell-eval-using-options):
12067 Do not bind unused local variable `eshell-option-stub'.
12068
927c53e7
GM
12069 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12070
9d0da923
JB
120712011-03-22 Juanma Barranquero <lekktu@gmail.com>
12072
12073 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12074 keymap variable in `with-no-warnings' to avoid a warning when the
12075 keymap has been already `defconst'ed.
12076
4b978a67
LL
120772011-03-22 Leo Liu <sdl.web@gmail.com>
12078
12079 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12080 encode all chars in abbrevs; otherwise use emacs-mule or
12081 utf-8-emacs. (Bug#8308)
12082
5fd62452
JB
120832011-03-22 Juanma Barranquero <lekktu@gmail.com>
12084
0b1596c6
JB
12085 * simple.el (backward-delete-char-untabify):
12086 Avoid warning about using `delete-backward-char'.
12087
5fd62452
JB
12088 * image.el (image-type-file-name-regexps): Make it variable.
12089 `imagemagick-register-types' modifies it, and the user may want
12090 to add new extensions for known image types.
12091 (imagemagick-register-types): Throw error if not using ImageMagick.
12092
0b4e93f1
LL
120932011-03-22 Leo Liu <sdl.web@gmail.com>
12094
12095 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12096 located before rcirc-prompt-end-marker.
12097 (rcirc-complete): Error if point is not after rcirc prompt.
12098 Handle the case when table is nil.
9882e214 12099 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12100
fccee4ab
CY
121012011-03-22 Chong Yidong <cyd@stupidchicken.com>
12102
12103 * custom.el (custom--inhibit-theme-enable): Make it affect only
12104 custom-theme-set-variables and custom-theme-set-faces.
12105 (provide-theme): Ignore custom--inhibit-theme-enable.
12106 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12107 (custom-enabling-themes): Delete variable.
d86d2721
SM
12108 (enable-theme): Accept only loaded themes as arguments.
12109 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12110 (custom-enabled-themes): Forbid themes from setting this.
12111 Eliminate use of custom-enabling-themes.
12112 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12113
af896da6
LL
121142011-03-21 Leo Liu <sdl.web@gmail.com>
12115
12116 * ido.el (ido-read-internal): Add ido-selected to history instead
12117 of user input.
12118
78f64af0
SM
121192011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * subr.el (deferred-action-list, deferred-action-function):
12122 Mark obsolete.
12123
b16ac1ec
LL
121242011-03-21 Leo Liu <sdl.web@gmail.com>
12125
810f7698
LL
12126 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12127 change on 2011-02-13 (bug#8309).
12128
b16ac1ec
LL
12129 * minibuffer.el (read-file-name-function): Change default value.
12130 (read-file-name--defaults): Rename from read-file-name-defaults.
12131 (read-file-name-default): Rename from read-file-name.
12132 (read-file-name): Call read-file-name-function.
12133
4e05e67e
GM
121342011-03-21 Glenn Morris <rgm@gnu.org>
12135
12136 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12137 Doc fixes.
12138
4359915b
CY
121392011-03-21 Chong Yidong <cyd@stupidchicken.com>
12140
12141 * cus-theme.el: Add missing provide statement.
12142 (customize-create-theme): Extract theme value correctly.
12143 (custom-theme-visit-theme): Autoload.
12144 (customize-create-theme): Prompt before inserting default faces.
12145
1fe275ee
JB
121462011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12147
12148 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12149 units and musical notes.
12150
cd394be1 121512011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12152
12153 * ido.el (ido-read-internal): Use completing-read-default.
12154 (ido-completing-read): Fix compatibility with completing-read.
12155
7d476bde
CO
121562011-03-20 Christian Ohler <ohler@gnu.org>
12157
12158 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12159 (ert-delete-all-tests): Use `called-interactively-p' rather than
12160 `interactive-p'.
12161 (ert--make-xrefs-region): Respect END.
12162
fe0fb33e
CY
121632011-03-19 Chong Yidong <cyd@stupidchicken.com>
12164
ff854b0b
CY
12165 * dired-aux.el (dired-create-directory): Signal an error if the
12166 directory already exists (Bug#8246).
12167
fe0fb33e
CY
12168 * facemenu.el (list-colors-display): Call list-faces-display
12169 inside with-help-window.
12170 (list-colors-print): Use display property to align the final
12171 column, instead of checking window-width.
12172
576bce32
EZ
121732011-03-19 Eli Zaretskii <eliz@gnu.org>
12174
4d61f28d 12175 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12176 windows-nt systems.
12177 (emerge-protect-metachars): Quote correctly for ms-dos and
12178 windows-nt systems.
12179
89c41d68 121802011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12181
12182 * info.el (info-initialize): Replace all uses of `:' with
12183 path-separator for compatibility with non-Unix systems.
12184 Cache quoting of path-separator. (Bug#8258)
12185
b14e3e21 121862011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12187
12188 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12189 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12190 (mouse-avoidance-mode): Fix typos in docstrings.
12191
4525ce3e
CY
121922011-03-19 Chong Yidong <cyd@stupidchicken.com>
12193
12194 * startup.el (package-subdirectory-regexp): Move from package.el.
12195 Omit \\` and \\', and let callers add them.
12196
12197 * emacs-lisp/package.el (package-strip-version)
12198 (package-load-all-descriptors): Add \\` and \\' to
12199 package-subdirectory-regexp before using it.
12200 (package-untar-buffer): New arg DIR; ensure that file untars only
12201 into this expected directory. Remove superfluous delete-region.
12202 (package-unpack): Caller changed.
12203 (package-tar-file-info): Use package-subdirectory-regexp.
12204
a904a09a 122052011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12206
a904a09a
SM
12207 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12208 diff-mode-shared-map (bug#8284).
12209 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12210
122112011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12212
12213 * calendar/time-date.el (format-seconds): Use assoc instead of
12214 assoc-string, since assoc-string doesn't exist in XEmacs.
12215
171fc304
JB
122162011-03-17 Juanma Barranquero <lekktu@gmail.com>
12217
12218 * custom.el (custom-known-themes): Reflow docstring.
12219 (custom-theme-load-path): Fix typo in docstring.
12220 (load-theme): Fix typo in error message.
12221 (custom-available-themes, custom-variable-theme-value):
12222 Use `let', not `let*'.
12223
d71990a1
JB
122242011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12225
12226 * calc/README: Mention inclusion of musical notes.
12227
12228 * calc/calc-units.el (calc-lu-quant): Rename from
12229 `calc-logunits-quantity'.
12230 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12231 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12232 (calc-db): Rename from `calc-dblevel'.
12233 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12234 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12235 (calc-np): Rename from `calc-nplevel'.
12236 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12237 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12238 (calc-lu-plus): Rename from `calc-logunits-add'.
12239 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12240 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12241 (calc-lu-minus): Rename from `calc-logunits-sub'.
12242 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12243 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12244 (calc-lu-times): Rename from `calc-logunits-mul'.
12245 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12246 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12247 (calc-lu-divide): Rename from `calc-logunits-div'.
12248 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12249 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12250
12251 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12252 functions being autoloaded.
12253
12254 * calc/calc.el (calc-lu-power-reference): Rename from
12255 `calc-logunits-power-reference'.
12256 (calc-lu-field-reference): Rename from
12257 `calc-logunits-field-reference'.
12258
7a71b18d
GM
12259 * calc/calc-help.el (calc-l-prefix-help):
12260 Mention musical note functions.
d71990a1 12261
40c2934b
SM
122622011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 * minibuffer.el (completion-all-sorted-completions):
12265 Use :completion-cycle-penalty text property if present.
12266
b0911414
KM
122672011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12268
12269 * allout.el (allout-yank-processing): Adjust for new rebulleting
12270 regime so bullet being yanked is used without prompting the user
12271 for a choice.
12272
8a05b668
JB
122732011-03-16 Juanma Barranquero <lekktu@gmail.com>
12274
12275 * startup.el (command-line): Warn the user that _emacs is deprecated.
12276
5ba5fb81
JB
122772011-03-16 Juanma Barranquero <lekktu@gmail.com>
12278
12279 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12280 (delphi-verbose, delphi-comment-face, delphi-string-face)
12281 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12282 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12283 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12284 (delphi-new-comment-line, delphi-font-lock-defaults)
12285 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12286 Fix typos in docstrings.
12287
2dab465b
KM
122882011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12289
5ba5fb81 12290 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12291 Invert the roles of character and string values for INSTEAD, so a
12292 string is used for the more common case of a defaulting prompt.
12293
0adf5618
SM
122942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * progmodes/ruby-mode.el (ruby-backward-sexp):
12297 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12298 * play/gamegrid.el (gamegrid-make-face):
12299 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12300 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12301 * notifications.el (notifications-notify):
12302 * net/xesam.el (xesam-search-engines):
12303 * net/quickurl.el (quickurl-list-insert):
12304 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12305
d72700e5
CY
123062011-03-15 Chong Yidong <cyd@stupidchicken.com>
12307
12308 * startup.el (command-line): Update package subdirectory regexp.
12309
49c5410a
SM
123102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12311
c6eee9aa
SM
12312 * allout.el (allout-abbreviate-flattened-numbering)
12313 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12314
49c5410a
SM
12315 * subr.el (read-char-choice): Only show the cursor after the prompt,
12316 not after the answer.
12317
047b2bb9
KR
123182011-03-15 Kevin Ryde <user42@zip.com.au>
12319
12320 * help-fns.el (variable-at-point): Skip leading quotes, if any
12321 (bug#8253).
12322
0a57d256
SM
123232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12326 warning message.
12327
77c992bc
MA
123282011-03-14 Michael Albinus <michael.albinus@gmx.de>
12329
12330 * shell.el (shell): When called interactively, offer to change the
12331 shell file name on remote hosts.
12332
eebc475d
TZ
123332011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12334
12335 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12336 integration for LDAP parameters. The host, base, user or binddn,
12337 and secret tokens can be specified in a netrc file, for instance.
12338 This is optional because an `auth-source' parameter must be
12339 specified in the search attributes.
12340
9d05d1ba
JB
123412011-03-13 Juanma Barranquero <lekktu@gmail.com>
12342
12343 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12344
09d9db2c
GM
123452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12348 into declaration. Remove redundant and harmful binding.
12349
123502011-03-12 Eli Zaretskii <eliz@gnu.org>
12351
12352 * files.el (file-ownership-preserved-p): Pass `integer' as an
12353 explicit 2nd argument to `file-attributes'. If the file's owner
12354 is the Administrators group on Windows, and the current user is
12355 Administrator, consider that a match.
12356
12357 * server.el (server-ensure-safe-dir): Consider server directory
12358 safe on MS-Windows if its owner is the Administrators group while
12359 the current Emacs user is Administrator. Use `=' to compare
12360 numerical UIDs, since they could be integers or floats.
12361
219bd536
JB
123622011-03-12 Juanma Barranquero <lekktu@gmail.com>
12363
12364 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12365
f3afd36b
MA
123662011-03-12 Michael Albinus <michael.albinus@gmx.de>
12367
12368 Sync with Tramp 2.2.1.
12369
12370 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12371
12372 * net/trampver.el: Update release number.
12373
3aaaa6f1
SM
123742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12375
94642599
SM
12376 * progmodes/compile.el (compilation--previous-directory): Fix up
12377 various nil/dead-marker mismatches (bug#8014).
12378 (compilation-directory-properties, compilation-error-properties):
12379 Don't call it at a position past the one we're about to change.
12380
3aaaa6f1
SM
12381 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12382 Disable obsolescence warnings in the file that declares it.
12383
14239447
KM
123842011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12385
099c39a4
JB
12386 * allout-widgets.el (allout-widgets-tally):
12387 Initialize allout-widgets-tally as a hash table rather than nil to
12388 prevent mode-line redisplay warnings. Also, clarify the module
12389 description and fix a comment typo.
14239447 12390
135e287c
JB
123912011-03-11 Juanma Barranquero <lekktu@gmail.com>
12392
12393 * help-fns.el (describe-variable): Don't complete keywords.
12394 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12395
ffbf300e
CY
123962011-03-10 Chong Yidong <cyd@stupidchicken.com>
12397
ba08b241
CY
12398 * emacs-lisp/package.el (package-version-join): Impose a standard
12399 string representation for pre/alpha/beta version lists.
12400 (package-unpack-single): Standardize the directory name by passing
12401 it through package-version-join.
12402 (package-strip-rcs-id): Accept any version string that does not
12403 signal an error in version-to-list.
ffbf300e 12404
f346fd6b
MA
124052011-03-10 Michael Albinus <michael.albinus@gmx.de>
12406
12407 * simple.el (delete-trailing-whitespace): Return nil for the
12408 benefit of `write-file-functions'.
12409
ccb55d27
GM
124102011-03-10 Glenn Morris <rgm@gnu.org>
12411
5ceaac0c
GM
12412 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12413
02da65ff
GM
12414 * vc/vc-git.el (vc-git-program): New option.
12415 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12416 (vc-git--call): Use it.
12417
b2f603cc
GM
12418 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12419
5772caab
GM
12420 * cus-edit.el (Custom-newline): If no button at point, look
12421 for a subgroup button at start-of-line. (Bug#2298)
12422
ccb55d27
GM
12423 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12424
ec6ecaed
JD
124252011-03-10 Julien Danjou <julien@danjou.info>
12426
12427 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12428 `cursor-type' is nil.
12429
9d5aa01d
JB
124302011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12431
12432 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12433
b6a5875b
KM
124342011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12435
7a71b18d 12436 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12437 preserves the existing header prefix, rebulleting it if necessary,
12438 rather than replacing it. This is necessary for proper operation
12439 of cooperative addons like allout-widgets.
1154d12e
JB
12440 (allout-make-topic-prefix, allout-rebullet-heading):
12441 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12442 value as alternate bullet to be used, instead of prompting the user
12443 for a bullet character.
b6a5875b 12444
ee545c35
MA
124452011-03-09 Michael Albinus <michael.albinus@gmx.de>
12446
d86d2721
SM
12447 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12448 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12449 `tramp-default-port'.
12450
c47971d7
DD
124512011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12452
12453 * net/rcirc.el (rcirc-handler-001): Remove useless
12454 with-rcirc-process-buffer.
12455 (rcirc-check-auth-status): Swap arguments to string-match.
12456
13522cb4
GM
124572011-03-09 Glenn Morris <rgm@gnu.org>
12458
0be6f4f1
GM
12459 * shell.el (shell-mode):
12460 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12461
13522cb4
GM
12462 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12463 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12464
515de2e3
CY
124652011-03-08 Chong Yidong <cyd@stupidchicken.com>
12466
12467 * emacs-lisp/package.el (package-refresh-contents)
12468 (package-menu-execute): Use condition-case-no-debug.
12469
b511b994
MA
124702011-03-08 Michael Albinus <michael.albinus@gmx.de>
12471
12472 * simple.el (shell-command-to-string): Use `process-file'.
12473
12474 * emacs-lisp/package.el (package-tar-file-info): Handle also
12475 remote files.
12476
d86d2721
SM
12477 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12478 Use `equal' for upload base check.
b511b994 12479
25bbfb31
AM
124802011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12481
12482 * textmodes/texinfo.el (texinfo-environments):
12483 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12484
be996521
GM
124852011-03-08 Glenn Morris <rgm@gnu.org>
12486
e9c8529f
GM
12487 * cus-start.el (cursor-in-non-selected-windows):
12488 Fix :set quoting oddness. (Bug#8192)
12489
be996521
GM
12490 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12491 in some setf expressions. (Bug#2159)
12492
2bb5649e
CY
124932011-03-08 Chong Yidong <cyd@stupidchicken.com>
12494
12495 * custom.el (custom-available-themes): Return themes in
12496 alphabetical order.
12497
33383987 12498See ChangeLog.15 for earlier changes.
e3d51b27
MR
12499
12500;; Local Variables:
12501;; coding: utf-8
e3d51b27
MR
12502;; End:
12503
acaf905b 12504 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12505
12506 This file is part of GNU Emacs.
12507
12508 GNU Emacs is free software: you can redistribute it and/or modify
12509 it under the terms of the GNU General Public License as published by
12510 the Free Software Foundation, either version 3 of the License, or
12511 (at your option) any later version.
12512
12513 GNU Emacs is distributed in the hope that it will be useful,
12514 but WITHOUT ANY WARRANTY; without even the implied warranty of
12515 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12516 GNU General Public License for more details.
12517
12518 You should have received a copy of the GNU General Public License
12519 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.