]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Further mule-menu-keymap doc tweak
[gnu-emacs] / lisp / ChangeLog
1 2012-06-13 Glenn Morris <rgm@gnu.org>
2
3 * international/mule-cmds.el (mule-menu-keymap)
4 (set-language-environment, set-locale-environment): Doc tweaks.
5
6 2012-06-01 Chong Yidong <cyd@gnu.org>
7
8 * Version 24.1 released.
9
10 2012-06-01 Glenn Morris <rgm@gnu.org>
11
12 * mail/rmail.el (rmail-yank-current-message):
13 Leave point at correct position. (Bug#11660)
14
15 2012-06-01 Chong Yidong <cyd@gnu.org>
16
17 * allout-widgets.el: Fix code header
18
19 2012-06-01 Chong Yidong <cyd@gnu.org>
20
21 * cus-edit.el (customize-changed-options-previous-release): Bump
22 to 23.4.
23
24 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
27 arbitrary file name lengths (Bug#11585).
28
29 2012-05-28 Martin Rudalics <rudalics@gmx.at>
30
31 * desktop.el (desktop-read): Clear previous and next buffers for
32 all windows and bury *Messages* buffer (bug#11556).
33
34 2012-05-18 Eli Zaretskii <eliz@gnu.org>
35
36 * mail/sendmail.el (mail-yank-region): Recognize
37 rmail-yank-current-message in addition to insert-buffer. Fixes
38 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
39 a *mail* buffer created through rmail-start-mail with sendmail as
40 mail-user-agent.
41
42 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
45 parens around the arg list (bug#11499). Silly backport.
46
47 2012-05-16 Chong Yidong <cyd@gnu.org>
48
49 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
50
51 2012-05-15 Chong Yidong <cyd@gnu.org>
52
53 * help.el (describe-mode): Doc fix.
54
55 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
56
57 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
58
59 * progmodes/compile.el (compilation-internal-error-properties):
60 Calculate start position correctly when end-col is set but
61 end-line is not (Bug#11382).
62
63 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * net/rlogin.el (rlogin-mode-map): Fix last change.
66
67 2012-05-09 Jason L. Wright <jason.wright@inl.gov> (tiny change)
68
69 * mail/smtpmail.el (smtpmail-send-command): Send the command and
70 the following \r\n using a single `process-send-string', since the
71 Lotus SMTP server refuses to accept any commands if they are sent
72 with two `process-send-string's (bug#11444).
73
74 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * shell.el (shell-parse-pcomplete-arguments): Obey
77 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
78
79 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * shell.el (shell-completion-vars): Fix last change (bug#11348).
82
83 2012-05-07 Chong Yidong <cyd@gnu.org>
84
85 * ansi-color.el (ansi-color-process-output): Check for validity of
86 comint-last-output-start before using it. This avoids a bad
87 interaction with gdb-mi's input/output buffer.
88
89 2012-05-06 Glenn Morris <rgm@gnu.org>
90
91 * files.el (dir-locals-read-from-file):
92 Mention dir-locals in any error message.
93
94 2012-05-06 Chong Yidong <cyd@gnu.org>
95
96 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
97 package (Bug#11410).
98
99 2012-05-05 Chong Yidong <cyd@gnu.org>
100
101 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
102 variables into description.
103
104 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
107 shell-delimiter-argument-list (bug#11348).
108 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
109
110 2012-05-04 Chong Yidong <cyd@gnu.org>
111
112 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
113 Nextstep.
114
115 2012-05-03 Kenichi Handa <handa@m17n.org>
116
117 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
118 decoding, and show a warning message without signalling an error
119 (Bug#11282).
120
121 2012-04-30 Eli Zaretskii <eliz@gnu.org>
122
123 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
124 the yanked message in preference to the default value of
125 buffer-file-coding-system.
126
127 2012-04-30 Martin Rudalics <rudalics@gmx.at>
128
129 * window.el (display-buffer--action-function-custom-type):
130 Fix entry.
131
132 2012-04-27 Alan Mackenzie <acm@muc.de>
133
134 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
135
136 2012-04-27 Chong Yidong <cyd@gnu.org>
137
138 * subr.el (read-key): Avoid running filter function when setting
139 up temporary tool bar entries (Bug#9922).
140
141 2012-04-26 Andreas Schwab <schwab@linux-m68k.org>
142
143 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
144 (Bug#11344)
145
146 2012-04-24 Chong Yidong <cyd@gnu.org>
147
148 * select.el (xselect--encode-string): New function, split from
149 xselect-convert-to-string.
150 (xselect-convert-to-string): Use it.
151 (xselect-convert-to-filename, xselect-convert-to-os)
152 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
153 returned strings are properly encoded (Bug#11315).
154
155 2012-04-22 Chong Yidong <cyd@gnu.org>
156
157 * simple.el (delete-active-region): Move to killing custom group.
158
159 2012-04-21 Andreas Schwab <schwab@linux-m68k.org>
160
161 * progmodes/which-func.el (which-func-current): Quote %
162 characters for mode-line processing.
163
164 2012-04-21 Chong Yidong <cyd@gnu.org>
165
166 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
167 reaching eob (Bug#11286).
168
169 2012-04-20 Richard Stallman <rms@gnu.org>
170
171 Fix logic for returning to and yanking from Rmail buffer.
172
173 * mail/rmail.el (rmail-start-mail):
174 Pass (rmail-mail-return...) for the return-action.
175 Pass (rmail-yank-current-message...) for the yank-action.
176 (rmail-yank-current-message): New function.
177 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
178 (rmail-reply): Likewise.
179 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
180
181 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
182 buffer, not the last. Reject temp buffers. Use the rmail-mode
183 buffer, not newbuf.
184
185 2012-04-20 Eli Zaretskii <eliz@gnu.org>
186
187 * progmodes/gdb-mi.el (gdb-control-level): New variable.
188 (gdb): Make it buffer-local and init to zero.
189 (gdb-control-commands-regexp): New variable.
190 (gdb-send): Don't wrap in "-interpreter-exec console" if
191 gdb-control-level is positive. Increment gdb-control-level
192 whenever the command matches gdb-control-commands-regexp, and
193 decrement it each time the command is "end". (Bug#11279)
194
195 2012-04-20 Martin Rudalics <rudalics@gmx.at>
196
197 * window.el (adjust-window-trailing-edge, enlarge-window)
198 (shrink-window, window-resize):
199 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
200 windows (Bug#11276).
201
202 2012-04-20 Dan Nicolaescu <dann@gnu.org>
203
204 * battery.el (battery-echo-area-format): Display remaining time
205 for sysfs backend too (Bug#11269).
206 (battery-linux-sysfs): Fix conditional for the charge.
207
208 2012-04-20 Chong Yidong <cyd@gnu.org>
209
210 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
211 (gdb-inferior-io--init-proc): New function.
212 (gdb-init-1): Use it.
213 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
214 responsible for allocating a new pty and hooking it to gdb when
215 the old pty gets an EIO due to process exit.
216 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
217 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
218 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
219
220 2012-04-20 Eli Zaretskii <eliz@gnu.org>
221
222 * window.el (window-min-size, window-sizable, window-min-delta)
223 (window-max-delta, window--resizable, window-resizable)
224 (window-total-size, window-full-height-p, window-full-width-p)
225 (window-in-direction, window--resize-mini-window, window-resize)
226 (window--resize-child-windows-normal)
227 (window--resize-child-windows, window--resize-siblings)
228 (window--resize-this-window, adjust-window-trailing-edge)
229 (enlarge-window, shrink-window): Doc fixes.
230
231 2012-04-19 Chong Yidong <cyd@gnu.org>
232
233 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
234 New function to call delete-process on the gdb-inferior buffer's pty.
235 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
236 pty process (Bug#11273).
237 (gdb-update): New arg to suppress talking to the gdb process.
238 (gdb-done-or-error): Use it.
239 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
240 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
241 sentinel not being called.
242
243 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
244
245 2012-04-18 Chong Yidong <cyd@gnu.org>
246
247 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
248
249 2012-04-18 Glenn Morris <rgm@gnu.org>
250
251 * net/network-stream.el (open-network-stream): Doc fix.
252
253 2012-04-17 Chong Yidong <cyd@gnu.org>
254
255 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
256
257 2012-04-16 Alan Mackenzie <acm@muc.de>
258
259 Ensure searching for keywords is case sensitive.
260
261 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
262 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
263 (c-defun-name, c-mark-function, c-cpp-define-name)
264 (c-comment-indent, c-scan-conditionals, c-indent-defun)
265 (c-context-line-break): bind case-fold-search to nil.
266
267 * progmodes/cc-mode.el (c-font-lock-fontify-region):
268 bind case-fold-search to nil.
269
270 2012-04-16 Chong Yidong <cyd@gnu.org>
271
272 * mail/sendmail.el (mail-bury): Call return action with the right
273 Rmail buffer (Bug#11242).
274
275 2012-04-15 Chong Yidong <cyd@gnu.org>
276
277 * server.el (server-process-filter): Handle corner case where both
278 tty and nowait options are present (Bug#11102).
279
280 2012-04-15 Glenn Morris <rgm@gnu.org>
281
282 * simple.el (process-file-side-effects): Doc fix.
283
284 2012-04-14 Glenn Morris <rgm@gnu.org>
285
286 * international/mule-cmds.el (set-language-environment): Doc fix.
287
288 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 Avoid the use of ((lambda ...) ...) in lexical-binding code.
291 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
292
293 2012-04-13 Kim F. Storm <storm@cua.dk>
294
295 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
296 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
297
298 2012-04-12 Chong Yidong <cyd@gnu.org>
299
300 * custom.el (custom-theme-set-variables): Doc fix.
301
302 2012-04-12 Glenn Morris <rgm@gnu.org>
303
304 * international/mule.el (set-auto-coding-for-load): Doc fix.
305
306 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
309 Reported by Noah Friedman. Backport from trunk.
310
311 2012-04-11 Alan Mackenzie <acm@muc.de>
312
313 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
314 Make imenu work again for Objective C Mode. Correct the *-index
315 values, these having been disturbed by a previous change in 2011-08.
316
317 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
318 Correct two search limits.
319
320 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
323
324 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
325
326 * international/characters.el: Fix sorting.
327
328 2012-04-10 Eli Zaretskii <eliz@gnu.org>
329
330 * international/characters.el: Add more missing Latin case pairs.
331
332 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
333
334 * international/characters.el: Recover lost case pairs.
335
336 2012-04-10 Glenn Morris <rgm@gnu.org>
337
338 * files.el (dir-locals-set-class-variables): Doc fix.
339
340 2012-04-09 Eli Zaretskii <eliz@gnu.org>
341
342 * international/characters.el: Add set-case-syntax-pair call for
343 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
344 counterpart. (Bug#11209)
345
346 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
347
348 2012-04-09 Glenn Morris <rgm@gnu.org>
349
350 * calendar/holidays.el (calendar-check-holidays): Doc fix.
351
352 2012-04-08 Eli Zaretskii <eliz@gnu.org>
353
354 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
355 Hebrew.
356
357 2012-04-08 Chong Yidong <cyd@gnu.org>
358
359 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
360 (Bug#11192).
361
362 2012-04-07 Glenn Morris <rgm@gnu.org>
363
364 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
365
366 2012-04-07 Eli Zaretskii <eliz@gnu.org>
367
368 * minibuffer.el (completion-in-region-mode-map):
369 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
370
371 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
372
373 * window.el (shrink-window): Mention the `window-min-height'
374 variable in the doc string.
375
376 2012-04-05 Bastien Guerry <bzg@altern.org>
377
378 * color.el (color-lighten-name): Fix typo.
379
380 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * server.el (server--on-display-p): New function.
383 (server--on-display-p): Use it.
384
385 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
386
387 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
388 (bug#11145).
389
390 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * comint.el (comint--common-quoted-suffix): Check string boundary
393 before comparing (bug#11158).
394 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
395
396 2012-04-04 Chong Yidong <cyd@gnu.org>
397
398 * minibuffer.el (completion-extra-properties): Doc fix.
399
400 * subr.el (delayed-warnings-hook): Doc fix.
401
402 2012-04-04 Daiki Ueno <ueno@unixuser.org>
403
404 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
405 selection (Bug#11159).
406 (epa-insert-keys): Inform that the default public key will be
407 exported if no key is selected.
408
409 2012-04-04 Richard Stallman <rms@gnu.org>
410
411 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
412
413 2012-04-03 Chong Yidong <cyd@gnu.org>
414
415 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
416 mail-insert-file, not its obsolete alias mail-attach-file.
417
418 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
419
420 * notifications.el (notifications-notify): Fix docstring.
421
422 2012-04-02 Glenn Morris <rgm@gnu.org>
423
424 * emacs-lisp/authors.el (authors-aliases): Another addition.
425
426 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
429 `tramp-compat-call-process' instead of `tramp-local-call-process'.
430 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
431
432 2012-04-01 Chong Yidong <cyd@gnu.org>
433
434 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
435 Handle root directory properly.
436 (copy-directory): Caller changed.
437
438 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
439 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
440
441 2012-03-31 Glenn Morris <rgm@gnu.org>
442
443 * term/xterm.el (xterm-extra-capabilities): Doc fix.
444
445 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
446
447 * calendar/calendar.el (calendar-window-list)
448 (calendar-hide-window): Restore. (Bug#11140)
449 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
450
451 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
452
453 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
454
455 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
456 Check if file is a symlink (Bug#10489).
457
458 * files.el (copy-directory): Likewise.
459
460 2012-03-30 Chong Yidong <cyd@gnu.org>
461
462 * image.el (imagemagick-types-inhibit)
463 (imagemagick-register-types): Doc fix.
464
465 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
466
467 * ispell.el (ispell-get-extended-character-mode): Disable
468 extended-char-mode for hunspell. hunspell does not support it and
469 treats ~word as ordinary words in pipe mode.
470
471 2012-03-30 Glenn Morris <rgm@gnu.org>
472
473 * tutorial.el (help-with-tutorial): Ensure local variables don't
474 happen to make the buffer read-only. (Bug#11127)
475
476 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
479 (perl-calculate-indent): Return `noindent' in strings.
480
481 2012-03-28 Sam Steingold <sds@gnu.org>
482
483 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
484 instead of the broken adhockery which does not prevent calendar
485 buffers from being displayed at random after exit.
486 (calendar-window-list, calendar-hide-window): Remove the broken
487 adhockery.
488
489 2012-03-28 Glenn Morris <rgm@gnu.org>
490
491 * replace.el (query-replace-map): Doc fix.
492
493 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
494
495 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
496 contents. (Bug#11109)
497
498 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
501 (bug#11077).
502 (avl-tree--check, avl-tree--check-node): New funs.
503
504 2012-03-27 Martin Rudalics <rudalics@gmx.at>
505
506 * window.el (switch-to-visible-buffer): New option.
507 (switch-to-prev-buffer, switch-to-next-buffer):
508 Observe switch-to-visible-buffer. Make sure that checking for a window
509 showing a buffer already is done on the same frame.
510
511 2012-03-27 Glenn Morris <rgm@gnu.org>
512
513 * startup.el (mail-host-address): Doc fix.
514
515 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
518 than 197 variables.
519
520 2012-03-26 Ami Fischman <ami@fischman.org>
521
522 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
523
524 2012-03-26 Glenn Morris <rgm@gnu.org>
525
526 * files.el (save-buffers-kill-emacs): Doc fix.
527
528 * startup.el (normal-top-level, command-line, command-line-1):
529 Give them doc strings.
530
531 2012-03-25 Eli Zaretskii <eliz@gnu.org>
532
533 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
534 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
535
536 2012-03-25 Chong Yidong <cyd@gnu.org>
537
538 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
539 theme if it was previously enabled before (Bug#11031).
540
541 * cus-theme.el (custom-theme-write-faces): Retrieve current face
542 spec with custom-face-get-current-spec if its :shown-value is not
543 determined yet (Bug#9337).
544 (customize-create-theme, custom-theme-revert): Doc fixes.
545
546 * button.el (button-at): Minor addition to docstring.
547
548 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
549
550 * vc/vc.el (vc-merge): Fix a prompt.
551
552 2012-03-24 Chong Yidong <cyd@gnu.org>
553
554 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
555 point (Bug#9623).
556
557 * button.el (button-at): Minor addition to docstring.
558
559 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * newcomment.el (comment-choose-indent): No space after BOL.
562
563 2012-03-22 Sam Steingold <sds@gnu.org>
564
565 * window.el (switch-to-prev-buffer): Revert last patch because the
566 bug turned out to be an advertised feature (Elisp manual 28.14).
567
568 2012-03-22 Glenn Morris <rgm@gnu.org>
569
570 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
571 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
572
573 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
574
575 * net/network-stream.el (network-stream-open-starttls): Make error
576 message under Windows be less misleading.
577
578 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
579
580 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
581 understands (bug#9942).
582
583 2012-03-22 Chong Yidong <cyd@gnu.org>
584
585 * simple.el (end-of-visible-line): Handle return value of
586 next-single-property-change properly (Bug#9371).
587
588 2012-03-22 Kenichi Handa <handa@m17n.org>
589
590 * international/quail.el (quail-insert-kbd-layout): Fix previous
591 change. To avoid unwanted bidi reordering, use
592 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
593
594 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
595
596 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
597 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
598 (ruby-beginning-of-indent): Be more careful with the difference
599 between word-boundary and symbol boundary.
600 (ruby-mode-syntax-table): Make : a symbol constituent.
601
602 2012-03-21 Andreas Politz <politza@fh-trier.de>
603
604 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
605
606 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * progmodes/etags.el (tags-completion-at-point-function):
609 Improve last fix.
610
611 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
612
613 2012-03-21 Sam Steingold <sds@gnu.org>
614
615 * progmodes/etags.el (tags-completion-at-point-function):
616 Avoid the error when point is inside the pattern.
617
618 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
619
620 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
621 line (Bug#10855).
622
623 2012-03-21 Drew Adams <drew.adams@oracle.com>
624
625 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
626
627 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
628
629 * ido.el (ido-set-current-directory, ido-read-internal)
630 (ido-choose-completion-string, ido-completion-help): Handle nil
631 value of ido-completion-buffer (Bug#11008).
632
633 2012-03-21 Sam Steingold <sds@gnu.org>
634
635 * window.el (switch-to-prev-buffer): Do not switch to a visible
636 window previous buffer, just like with the frame previous buffers.
637
638 2012-03-21 Chong Yidong <cyd@gnu.org>
639
640 * faces.el (make-face, make-empty-face, copy-face):
641 * face-remap.el (face-remap-add-relative, face-remap-set-base):
642 Doc fixes.
643
644 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * wid-edit.el (widget-complete-field): Remove (bug#11051).
647 (widget-complete): Remove broken use of it.
648
649 2012-03-20 Chong Yidong <cyd@gnu.org>
650
651 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
652 Use string-width and truncate-string-width to handle arbitrary
653 characters.
654
655 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
656
657 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
658 to draw rectangles, not squares. (Regression introduced by revno
659 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
660
661 2012-03-18 Chong Yidong <cyd@gnu.org>
662
663 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
664 it is not yet defined (for temacs).
665
666 2012-03-18 Leo Liu <sdl.web@gmail.com>
667
668 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
669
670 2012-03-17 Eli Zaretskii <eliz@gnu.org>
671
672 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
673 (ispell-choices-win-default-height, ispell-silently-savep)
674 (ispell-dictionary-alist, ispell-encoding8-command)
675 (ispell-check-version, ispell-aspell-find-dictionary)
676 (ispell-valid-dictionary-list, ispell-words-keyword)
677 (ispell-get-word, ispell-internal-change-dictionary)
678 (ispell-region, ispell-skip-region-list)
679 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
680 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
681 (ispell-message-text-end, ispell-message)
682 (ispell-buffer-local-parsing): Doc fix.
683
684 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
685
686 * htmlfontify.el: Add support for code block fontification for ODT
687 export (Bug #9914).
688 (hfy-optimisations): Define new option
689 `body-text-only'
690 (hfy-fontify-buffer): Honor above setting.
691 (hfy-begin-span, hfy-end-span): New routines factored out form
692 `hfy-fontify-buffer'.
693 (hfy-begin-span-handler, hfy-end-span-handler): New variables
694 that permit insertion of custom tags.
695 (hfy-fontify-buffer): Use above handlers.
696 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
697 (hfy-face-to-css): Re-defined to be a variable.
698 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
699 over multiple runs. This is made possible by having the caller let
700 bind a special variable `hfy-user-sheet-assoc'.
701 (htmlfontify-string): New defun.
702 (hfy-compile-face-map): Make sure that the last char in the
703 buffer is correctly fontified.
704 (hfy-face-resolve-face): Whitespace only change.
705
706 2012-03-17 Eli Zaretskii <eliz@gnu.org>
707
708 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
709 message more clear.
710
711 2012-03-16 Leo Liu <sdl.web@gmail.com>
712
713 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
714
715 2012-03-16 Alan Mackenzie <acm@muc.de>
716
717 Further optimise the handling of large macros.
718
719 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
720 limit to a call of `c-literal-limits'.
721 (c-determine-+ve-limit): New function.
722 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
723 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
724 In CASE 5B, restrict a search limit to 500.
725 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
726
727 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
728 Restrict macro bounds to +-500 from after-change's BEG END.
729
730 2012-03-16 Leo Liu <sdl.web@gmail.com>
731
732 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
733
734 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
735
736 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
737 `special-mode' setting of `buffer-read-only'. (Bug#11010)
738
739 2012-03-16 Glenn Morris <rgm@gnu.org>
740
741 * view.el (view-buffer, view-buffer-other-window)
742 (view-buffer-other-frame): Doc fixes re special mode-class.
743
744 * subr.el (eval-after-load): If named feature is provided not from
745 a file, run after-load forms. (Bug#10946)
746
747 * calendar/calendar.el (calendar-insert-at-column):
748 Handle non-unit-width characters a bit better. (Bug#10978)
749
750 2012-03-15 Chong Yidong <cyd@gnu.org>
751
752 * emacs-lisp/ring.el (ring-extend): New function.
753 (ring-insert+extend): Extend the ring correctly (Bug#11019).
754
755 * comint.el (comint-read-input-ring)
756 (comint-add-to-input-history): Grow comint-input-ring lazily.
757
758 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
761 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
762
763 * imenu.el: Fix multiple inheritance breakage (bug#9199).
764 (imenu-add-to-menubar): Don't add a redundant index.
765 (imenu-update-menubar): Handle a dynamically composed keymap.
766
767 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
768
769 * mail/sendmail.el (mail-encode-header):
770 Bind rfc2047-encode-encoded-words to nil.
771
772 2012-03-13 Glenn Morris <rgm@gnu.org>
773
774 * calendar/calendar.el (calendar-string-spread):
775 Handle non-unit-width characters a bit better. (Bug#10978)
776
777 2012-03-13 Leo Liu <sdl.web@gmail.com>
778
779 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
780 directory and file as argument (Bug#10822).
781
782 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
783
784 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
785 For dynamically generated code, follow $PC.
786 (gdb-disassembly-handler-custom): Handle no function name case.
787
788 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
789
790 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
791 * emulation/ws-mode.el (ws-query-replace):
792 * sort.el (sort-regexp-fields):
793 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
794
795 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * dabbrev.el: Fix cycle completion order (bug#10963).
798 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
799 (dabbrev-completion): Don't use an obarray; provide
800 a cycle-sort-function.
801
802 2012-03-12 Leo Liu <sdl.web@gmail.com>
803
804 * simple.el (kill-new): Use equal-including-properties for comparison.
805 (kill-do-not-save-duplicates): Doc fix.
806
807 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
808
809 * dabbrev.el: Fix cycle completion (bug#10963).
810 Use lexical binding and wrap to 80 columns.
811 (dabbrev-completion): Delay computing the list of completions.
812
813 2012-03-12 Kenichi Handa <handa@m17n.org>
814
815 * international/quail.el (quail-insert-kbd-layout): Surround each
816 row by LRO and PDF instead of inserting many LRMs. Pad the left
817 and right of each non-spacing marks. Insert invisible space
818 between lower and upper characters to prevent composition.
819
820 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * minibuffer.el (minibuffer-complete): Don't get confused when the
823 function is run twice via different commands (bug#10958).
824 (complete-with-action): Fix docstring.
825
826 2012-03-12 Chong Yidong <cyd@gnu.org>
827
828 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
829 (nxml-completion-at-point-function): New function.
830 (nxml-mode): Use it.
831 (nxml-bind-meta-tab-to-complete-flag): Default to t.
832
833 * emacs-lisp/package.el (package-unpack, package-unpack-single):
834 Load generated autoloads file before byte compiling (Bug#10970).
835 (package--make-autoloads-and-compile): New helper fun.
836
837 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
838
839 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
840
841 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
842
843 * autorevert.el (auto-revert-handler): Ensure, that
844 file-readable-p is applied only for local files or in
845 auto-revert-tail-mode.
846
847 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
848
849 * server.el (server-eval-at): Handle non-tcp connections.
850 Decode result string.
851
852 * server.el (server-msg-size): New constant.
853 (server-reply-print): New function.
854 (server-eval-and-print): Use it.
855 (server-eval-at): Use server-quote-arg and server-unquote-arg.
856 Handle -print-nonl.
857
858 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
859
860 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
861 (Bug#10987).
862
863 2012-03-11 Chong Yidong <cyd@gnu.org>
864
865 * simple.el (goto-line): Doc fix (Bug#9938).
866
867 * subr.el (save-window-excursion): Doc fix (Bug#9979).
868
869 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
870 when finished (Bug#10963).
871
872 2012-03-11 Martin Rudalics <rudalics@gmx.at>
873
874 * window.el (split-window-below): Fix bug in case where
875 split-window-keep-point is nil (Bug#10971).
876
877 2012-03-11 Juri Linkov <juri@jurta.org>
878
879 * replace.el (replace-highlight): Set isearch-word to nil
880 unconditionally. (Bug#10887)
881
882 2012-03-10 Eli Zaretskii <eliz@gnu.org>
883
884 * net/mairix.el (mairix-replace-invalid-chars): Rename from
885 mairix-replace-illegal-chars; all callers changed. Don't remove
886 ^, ~, and = characters: they are meaningful in mairix search specs.
887 (mairix-widget-create-query): Add usage information about mairix
888 search forms: negating words, searching for substrings, etc.
889
890 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
891
892 * international/fontset.el (font-encoding-alist): Add an entry for
893 ksx1001 (Bug#5667).
894
895 2012-03-10 Richard Stallman <rms@gnu.org>
896
897 * mail/sendmail.el (mail-encode-header):
898 Set rfc2047-encode-encoded-words.
899
900 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
901
902 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
903 view buffer means not swapped.
904 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
905 (rmail-write-region-annotate): Error if real text has disappeared.
906
907 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
908
909 2012-03-10 Chong Yidong <cyd@gnu.org>
910
911 * emulation/cua-rect.el (cua--init-rectangles):
912 * emulation/cua-base.el (cua--init-keymaps):
913 Add delete-forward-char to remappings (Bug#9666).
914
915 2012-03-10 Martin Rudalics <rudalics@gmx.at>
916
917 * speedbar.el (speedbar-unhighlight-one-tag-line):
918 Avoid unhighlighting due to frame switching (Bug#10275).
919
920 2012-03-10 Chong Yidong <cyd@gnu.org>
921
922 * minibuffer.el (completion-in-region, completion-help-at-point):
923 Give the completion field overlay a high priority (Bug#6830).
924
925 * dired.el (dired-goto-file): Recognize absolute file name
926 listings (Bug#7126).
927 (dired-goto-file-1): New helper function.
928 (dired-toggle-read-only): Inhibit warnings.
929
930 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
931
932 * net/dbus.el: (dbus-property-handler): Return empty array if
933 there are no properties.
934
935 2012-03-09 Leo Liu <sdl.web@gmail.com>
936
937 * savehist.el (savehist-printable): Stricter check for string
938 value (Bug#10937).
939
940 2012-03-09 Eli Zaretskii <eliz@gnu.org>
941
942 * mail/smtpmail.el (smtpmail-send-it):
943 Bind coding-system-for-write to *-unix, so that FCC files are kept in
944 valid mbox format.
945
946 2012-03-09 Glenn Morris <rgm@gnu.org>
947
948 * files.el (dir-locals-find-file):
949 Don't check result is regular, readable.
950 (dir-locals-read-from-file): Demote errors.
951
952 2012-03-08 Eli Zaretskii <eliz@gnu.org>
953
954 * international/quail.el (quail-insert-kbd-layout):
955 Insert invisible LRM characters before each character in a keyboard
956 layout cell, to prevent their reordering by bidi display engine.
957 For details, see the discussion in
958 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
959
960 2012-03-08 Alan Mackenzie <acm@muc.de>
961
962 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
963 the starting position; make it extend the marked region when
964 invoked repeatedly - all under appropriate circumstances.
965 Fixes bugs #5525, #10906.
966
967 2012-03-08 Glenn Morris <rgm@gnu.org>
968
969 * files.el (locate-dominating-file, dir-locals-find-file):
970 Undo 2012-03-06 change.
971
972 2012-03-07 Eli Zaretskii <eliz@gnu.org>
973
974 * international/quail.el (quail-help):
975 Force bidi-paragraph-direction be left-to-right. See discussion in
976 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
977 for the reason.
978
979 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
980
981 Avoid superfluous registering of signals. (Bug#10807)
982
983 * notifications.el (notifications-on-action-object)
984 (notifications-on-close-object): New defvars.
985 (notifications-on-action-signal, notifications-on-closed-signal):
986 Unregister the signal if not needed any longer.
987 (notifications-notify): Register `notifications-action-signal' or
988 `notifications-closed-signal', if :on-action or :on-close has been
989 passed as argument.
990
991 2012-03-07 Chong Yidong <cyd@gnu.org>
992
993 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
994 non-X platforms.
995
996 2012-03-06 Glenn Morris <rgm@gnu.org>
997
998 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
999 (x-disown-selection-internal, x-get-selection-internal):
1000 Doc fix (add arglist signatures). (Bug#10783)
1001
1002 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1003
1004 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1005 Handle breakpoints with no "type".
1006
1007 2012-03-06 Glenn Morris <rgm@gnu.org>
1008
1009 * files.el (locate-dominating-file): Add optional predicate argument.
1010 (dir-locals-find-file): Make use of above change.
1011
1012 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1013
1014 * info.el (Info-insert-dir): Also try "dir.gz".
1015
1016 2012-03-06 Glenn Morris <rgm@gnu.org>
1017
1018 * files.el (dir-locals-find-file):
1019 Ignore non-readable or non-regular files. (Bug#10928)
1020
1021 * files.el (locate-dominating-file): Doc fix.
1022
1023 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1024
1025 * calendar/calendar.el (calendar-set-mode-line):
1026 `getenv' returns a string. (Bug#10951)
1027
1028 2012-03-05 Leo Liu <sdl.web@gmail.com>
1029
1030 * simple.el (backward-delete-char-untabify): Constrain point to
1031 field (Bug#10939).
1032
1033 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1034
1035 2012-03-05 Chong Yidong <cyd@gnu.org>
1036
1037 * simple.el (count-words): If called from Lisp, return the word
1038 count, for symmetry with `count-lines'. Arglist changed.
1039 (count-words--message): Args changed. Consolidate counting code
1040 from count-words and count-words-region.
1041 (count-words-region): Caller changed.
1042 (count-lines-region): Make it an obsolete alias.
1043
1044 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1045
1046 * saveplace.el (save-place-to-alist)
1047 (save-place-ignore-files-regexp): Allow value nil to disable this
1048 feature.
1049
1050 2012-03-04 Chong Yidong <cyd@gnu.org>
1051
1052 * faces.el (face-spec-reset-face): For the default face, reset the
1053 attributes to default values (Bug#10748).
1054
1055 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1056
1057 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1058 previous patch: Check `message-send-mail-function', and not the
1059 default function (bug#10897).
1060
1061 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1062
1063 * notifications.el (notifications-on-action-signal)
1064 (notifications-on-closed-signal): Check for unique service name of
1065 incoming event. Fix error in removing entry.
1066 (top): Register for signals with wildcard service name.
1067 (notifications-notify): Use daemon unique service name for map entries.
1068
1069 2012-03-04 Chong Yidong <cyd@gnu.org>
1070
1071 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1072
1073 2012-03-04 Glenn Morris <rgm@gnu.org>
1074
1075 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1076 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1077 (expand-abbrev, define-abbrev-table): Doc fixes.
1078
1079 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1080
1081 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1082 `message-default-send-mail-function' and not `send-mail-function'
1083 when doing the prompting for `sendmail-query-once' before sending
1084 in Message buffers (bug#10897).
1085
1086 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1087 This is inconsistent with all the other stream functions, which leave
1088 the setting up to the higher levels (if so wanted) (bug#10931).
1089
1090 2012-03-02 Alan Mackenzie <acm@muc.de>
1091
1092 Depessimize the handling of very large macros.
1093
1094 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1095 (c-macro-cache-syntactic): New variables to implement a one
1096 element macro cache.
1097 (c-invalidate-macro-cache): New function.
1098 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1099 Adapt to use the new cache.
1100 (c-state-safe-place): Use better the cache of safe positions.
1101 (c-state-semi-nonlit-pos-cache)
1102 (c-state-semi-nonlit-pos-cache-limit):
1103 New variables for...
1104 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1105 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1106 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1107 Use c-state-semi-safe-place.
1108
1109 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1110 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1111
1112 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1113
1114 * jka-compr.el (jka-compr-call-process):
1115 Apply `file-accessible-directory-p' only when the default directory is
1116 not remote.
1117
1118 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1121 access of FILE2, if FILE1 does not exist.
1122
1123 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1124 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1125
1126 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1127 Add "PAGER=" to `process-environment'.
1128
1129 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1130
1131 * progmodes/sql.el: Bug fix
1132 (sql-get-login-ext): Save login values in globals.
1133 (sql-get-login): Use new version of `sql-get-login-ext'.
1134 (sql-interactive-mode): Set global `sql-connection' to nil.
1135 (sql-connect): Set global values for connection.
1136 (sql-product-interactive): Save global values as buffer local.
1137
1138 2012-02-29 Leo Liu <sdl.web@gmail.com>
1139
1140 * abbrev.el (define-abbrevs): Reset sys to nil.
1141
1142 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1143
1144 * files.el (file-equal-p): Rename from `files-equal-p'.
1145 Return nil when one or both files don't exist.
1146 (file-subdir-of-p): Now only top directory must exists,
1147 return nil if it doesn't.
1148 (copy-directory): No need to test with `file-subdir-of-p' after
1149 creating dir.
1150 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1151 to `file-equal-p'.
1152
1153 2012-02-28 Glenn Morris <rgm@gnu.org>
1154
1155 * shell.el (shell-mode):
1156 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1157 * play/landmark.el (landmark-font-lock-face-O):
1158 * play/handwrite.el (handwrite):
1159 * play/gomoku.el (gomoku-O):
1160 * net/browse-url.el (browse-url-browser-display):
1161 * international/mule.el (define-charset):
1162 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1163 * filesets.el (filesets-find-file-delay):
1164 * eshell/em-xtra.el (eshell-xtra):
1165 * eshell/em-unix.el (eshell-grep):
1166 * emulation/viper.el (viper-mode):
1167 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1168 * emacs-lisp/easymenu.el (easy-menu-define):
1169 * calendar/timeclock.el (timeclock-use-display-time):
1170 * bs.el (bs-mode):
1171 * bookmark.el (bookmark-save-flag):
1172 Doc fix (standardize possessive apostrophe usage).
1173
1174 2012-02-27 Chong Yidong <cyd@gnu.org>
1175
1176 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1177 Fix key-binding lookup for ESC key (Bug#9146).
1178
1179 * font-lock.el (font-lock-specified-p): Rename from
1180 font-lock-spec-present. Callers changed.
1181
1182 2012-02-27 Daniel Hackney <dan@haxney.org>
1183
1184 * emacs-lisp/package.el (package-compute-transaction):
1185 Handle holding a package version to t in package-load-list.
1186
1187 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1188
1189 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1190 (tramp-get-inode, tramp-get-device): Use cached values.
1191
1192 2012-02-26 Alan Mackenzie <acm@muc.de>
1193
1194 Check there is a font-lock specification before doing initial
1195 fontification.
1196
1197 * font-core.el (font-lock-mode): Move the conditional from
1198 :after-hook to font-lock-initial-fontify.
1199 (font-lock-default-function): Move the check for a specification
1200 to font-lock-spec-present.
1201
1202 * font-lock.el (font-lock-initial-fontify): Call ...
1203 (font-lock-spec-present): New function.
1204
1205 2012-02-26 Jim Blandy <jimb@red-bean.com>
1206
1207 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1208 (gdb-send): Apply it to the operand of the '-interpreter-exec
1209 console' command, so that we can pass arguments with (say) quotes
1210 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1211
1212 2012-02-26 Chong Yidong <cyd@gnu.org>
1213
1214 * help-fns.el (describe-function-1): Clarify description of
1215 remapping (Bug#10844).
1216
1217 * files.el (files-equal-p): Doc fix.
1218 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1219 and quit the loop once a mismatch is found.
1220
1221 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1222
1223 * bs.el (bs--show-with-configuration): Don't throw an error
1224 if the window cannot be split; otherwise, subsequent calls to
1225 bs-show fail, restoring a stale window config. (Bug#10882)
1226
1227 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1228
1229 * term/ns-win.el (global-map): Bind ns-drag-file to
1230 ns-find-file (Bug#5855, Bug#10050).
1231
1232 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1233
1234 * calendar/parse-time.el (parse-time-string): Allow extractor to
1235 return nil.
1236
1237 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1238
1239 * net/tramp.el (tramp-file-name-for-operation):
1240 Add `files-equal-p' and `file-subdir-of-p'.
1241
1242 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1243 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1244 Add COPY-CONTENTS argument.
1245
1246 2012-02-25 Chong Yidong <cyd@gnu.org>
1247
1248 Add custom groups for VC backends, for consistency with vc-bzr.
1249
1250 * vc/vc-arch.el (vc-arch):
1251 * vc/vc-cvs.el (vc-cvs):
1252 * vc/vc-git.el (vc-git):
1253 * vc/vc-hg.el (vc-hg):
1254 * vc/vc-mtn.el (vc-mtn):
1255 * vc/vc-rcs.el (vc-rcs):
1256 * vc/vc-sccs.el (vc-sccs):
1257 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1258 All relevant defcustoms reassigned.
1259
1260 2012-02-25 Chong Yidong <cyd@gnu.org>
1261
1262 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1263
1264 * term/x-win.el (x-initialize-window-system): Reduce default for
1265 x-selection-timeout to 5 seconds (Bug#8869).
1266
1267 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1268
1269 * files.el (file-subdir-of-p): Fix typo.
1270
1271 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1272
1273 * files.el (files-equal-p, file-subdir-of-p): New functions.
1274 (copy-directory): Error when trying to copy a directory on itself.
1275 Add missing copy-contents arg to tramp handler.
1276 * dired-aux.el (dired-copy-file-recursive): Same.
1277 (dired-create-files): Modify destination when source is equal to
1278 dest when copying files.
1279 Return also when dest is a subdir of source. (Bug#10489)
1280
1281 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1282
1283 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1284 (Bug#10874)
1285
1286 2012-02-23 Alan Mackenzie <acm@muc.de>
1287
1288 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1289 parameter "after-hook:" to allow the expansion to run code after
1290 the execution of the mode hooks.
1291
1292 * font-lock.el (font-lock-initial-fontify): New function extracted
1293 from font-lock-mode-internal.
1294
1295 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1296 :after-hook.
1297
1298 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1301 (completion--cache-all-sorted-completions): New function.
1302 (completion-all-sorted-completions): Use it.
1303 (completion--do-completion, minibuffer-force-complete):
1304 Use it to re-instate the flush hook.
1305
1306 * icomplete.el (icomplete-completions): Replace last fix with a better
1307 one (bug#10850).
1308
1309 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1312 when it might call us back infinitely (bug#10797).
1313
1314 2012-02-23 Glenn Morris <rgm@gnu.org>
1315
1316 * minibuffer.el (completion-category-overrides): Doc fix.
1317
1318 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1321 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1322
1323 2012-02-23 Glenn Morris <rgm@gnu.org>
1324
1325 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1326 (authors-obsolete-files-regexps, authors-ignored-files)
1327 (authors-ambiguous-files, authors-renamed-files-alist):
1328 Add more entries.
1329
1330 2012-02-23 Juri Linkov <juri@jurta.org>
1331
1332 * isearch.el (isearch-occur): Sync interactive spec with occur's
1333 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1334
1335 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1336
1337 2012-02-22 Juri Linkov <juri@jurta.org>
1338
1339 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1340 (ucs-insert): Doc fix. Check for hex digits in the string.
1341 Don't display `nil' in the error message. (Bug#10857)
1342
1343 2012-02-22 Alan Mackenzie <acm@muc.de>
1344
1345 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1346
1347 2012-02-22 Glenn Morris <rgm@gnu.org>
1348
1349 * ffap.el (ffap-c-path):
1350 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1351
1352 2012-02-22 Chong Yidong <cyd@gnu.org>
1353
1354 * custom.el (load-theme): Doc fix.
1355
1356 2012-02-22 Glenn Morris <rgm@gnu.org>
1357
1358 * dired-x.el (dired-guess-shell-alist-default):
1359 Remove escape sequences from nroff output. (Bug#172)
1360
1361 2012-02-21 Glenn Morris <rgm@gnu.org>
1362
1363 * vc/emerge.el (emerge-defvar-local):
1364 Set `permanent-local' property rather than unused `preserved'.
1365
1366 * textmodes/picture.el (picture-delete-char): New alias.
1367 (picture-mode-map): Use it. (Bug#10860)
1368 (picture-mode): Doc fix.
1369
1370 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1371
1372 * newcomment.el (uncomment-region-default): Remove unused binding.
1373
1374 2012-02-21 Glenn Morris <rgm@gnu.org>
1375
1376 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1377 (picture-self-insert, picture-tab-chars): Doc fix.
1378 (picture-mode-map): Fix C-a, C-e.
1379
1380 2012-02-20 Glenn Morris <rgm@gnu.org>
1381
1382 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1383
1384 2012-02-20 Leo Liu <sdl.web@gmail.com>
1385
1386 * icomplete.el (icomplete-completions): Check FROM arg before
1387 passing to substring (Bug#10850).
1388
1389 2012-02-19 Chong Yidong <cyd@gnu.org>
1390
1391 * comint.el: Require ansi-color.
1392 (comint-output-filter-functions): Add ansi-color-process-output.
1393
1394 * ansi-color.el: Don't set comint-output-filter-functions; it is
1395 now in the initial value defined in comint.el.
1396 (ansi-color-apply-face-function): New variable.
1397 (ansi-color-apply-on-region): Use it.
1398 (ansi-color-apply-overlay-face): New function.
1399
1400 * shell.el (shell): No need to require ansi-color.
1401 (shell-mode): Use ansi-color-apply-face-function to highlight
1402 color escapes using font-lock-face property (Bug#10835).
1403
1404 2012-02-19 Chong Yidong <cyd@gnu.org>
1405
1406 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1407 mode-line formats (Bug#10839).
1408
1409 2012-02-18 Glenn Morris <rgm@gnu.org>
1410
1411 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1412
1413 * mail/undigest.el (unforward-rmail-message): Doc fix.
1414
1415 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1416
1417 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1418
1419 * international/characters.el (script-list): Sync with the latest
1420 Unicode Character Database.
1421
1422 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1423
1424 * international/titdic-cnv.el: Remove duplicate coding tag.
1425 * language/cham.el: Likewise.
1426 * language/tai-viet.el: Likewise.
1427
1428 2012-02-18 Glenn Morris <rgm@gnu.org>
1429
1430 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1431 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1432 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1433 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1434 * calendar/holidays.el (holiday-bahai-holidays)
1435 (calendar-holidays, list-holidays):
1436 Use utf-8 Bahá'í in doc-strings, menus, etc.
1437
1438 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1439
1440 * saveplace.el (save-place-ignore-files-regexp): New variable
1441 allowing for excluding files from saving their location of point.
1442 The default value matches the temporary commit message editing
1443 files from Git, SVN, Bazaar, and Mercurial.
1444 (save-place-to-alist): Use it.
1445
1446 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1447 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * newcomment.el (uncomment-region-default): Don't leave extra space
1450 when an arg is provided (bug#8150).
1451
1452 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1453
1454 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1455
1456 2012-02-17 Glenn Morris <rgm@gnu.org>
1457
1458 * net/socks.el: Require network-stream. (Bug#10599)
1459
1460 2012-02-17 Kenichi Handa <handa@m17n.org>
1461
1462 * international/charprop.el:
1463 * international/uni-name.el:
1464 * international/uni-old-name.el:
1465 * international/uni-comment.el: Regenerate.
1466
1467 2012-02-16 Glenn Morris <rgm@gnu.org>
1468
1469 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1470 Interactively in calendar buffer, give an error if not on a date.
1471
1472 2012-02-15 Glenn Morris <rgm@gnu.org>
1473
1474 * shell.el (shell-delimiter-argument-list):
1475 Revert 2011-02-17 change. (Bug#8027)
1476
1477 2012-02-15 Chong Yidong <cyd@gnu.org>
1478
1479 * minibuffer.el (completion-at-point-functions): Doc fix.
1480
1481 * custom.el (defcustom): Doc fix; note use of defvar.
1482
1483 2012-02-15 Glenn Morris <rgm@gnu.org>
1484
1485 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1486 Doc fixes.
1487
1488 2012-02-14 Glenn Morris <rgm@gnu.org>
1489
1490 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1491
1492 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1493
1494 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1495 way the ports list is computed.
1496 (smtpmail-query-smtp-server): Prompt the user for a port number if
1497 we can't connect to any of the standard ports (bug#10810).
1498
1499 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1500
1501 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1502
1503 2012-02-13 Glenn Morris <rgm@gnu.org>
1504
1505 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1506
1507 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1508
1509 * net/gnutls.el (gnutls-trustfiles): New variable.
1510 (gnutls-negotiate): Use it.
1511
1512 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1513
1514 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1515 does its stuff if Gnus is running.
1516
1517 2012-02-13 Alan Mackenzie <acm@muc.de>
1518
1519 Fix a loop in c-set-fl-decl-start.
1520
1521 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1522 c-backward-syntactic-ws actually moves backwards.
1523
1524 2012-02-13 Leo Liu <sdl.web@gmail.com>
1525
1526 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1527 beginning so that all \C-o chars are removed.
1528
1529 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1530
1531 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1532
1533 2012-02-12 Alan Mackenzie <acm@muc.de>
1534
1535 Fix infinite loop with long macros.
1536 * cc-engine.el (c-state-safe-place): Handle macros properly.
1537
1538 2012-02-12 Chong Yidong <cyd@gnu.org>
1539
1540 * window.el (display-buffer): Doc fix (Bug#10785).
1541
1542 2012-02-12 Glenn Morris <rgm@gnu.org>
1543
1544 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1545 (x-disown-selection-internal, x-get-selection-internal):
1546 Sync docs with the xselect.c versions.
1547
1548 * allout-widgets.el: Add missing license notice.
1549
1550 2012-02-11 Glenn Morris <rgm@gnu.org>
1551
1552 * select.el (x-get-selection-internal, x-own-selection-internal)
1553 (x-disown-selection-internal):
1554 * x-dnd.el (x-get-selection-internal): Update declarations.
1555
1556 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1557
1558 * window.el (window-sides-slots):
1559 * tool-bar.el (tool-bar-position):
1560 * term/xterm.el (xterm-extra-capabilities):
1561 * ses.el (ses-self-reference-early-detection):
1562 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1563 (verilog-auto-wire-type)
1564 (verilog-auto-delete-trailing-whitespace)
1565 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1566 (verilog-auto-tieoff-declaration):
1567 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1568 (sql-oracle-statement-starters, sql-oracle-scan-on):
1569 * progmodes/prolog.el (prolog-align-comments-flag)
1570 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1571 (prolog-left-indent-regexp, prolog-paren-indent-p)
1572 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1573 (prolog-types, prolog-mode-specificators)
1574 (prolog-determinism-specificators, prolog-directives)
1575 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1576 (prolog-electric-dot-flag)
1577 (prolog-electric-dot-full-predicate-template)
1578 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1579 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1580 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1581 (prolog-program-switches, prolog-prompt-regexp)
1582 (prolog-debug-on-string, prolog-debug-off-string)
1583 (prolog-trace-on-string, prolog-trace-off-string)
1584 (prolog-zip-on-string, prolog-zip-off-string)
1585 (prolog-use-standard-consult-compile-method-flag)
1586 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1587 (prolog-imenu-max-lines, prolog-info-predicate-index)
1588 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1589 (prolog-char-quote-workaround):
1590 * progmodes/cc-vars.el (c-defun-tactic):
1591 * net/tramp.el (tramp-encoding-command-interactive)
1592 (tramp-local-end-of-line):
1593 * net/soap-client.el (soap-client):
1594 * net/netrc.el (netrc-file):
1595 * net/gnutls.el (gnutls):
1596 * minibuffer.el (completion-category-overrides)
1597 (completion-cycle-threshold)
1598 (completion-pcm-complete-word-inserts-delimiters):
1599 * man.el (Man-name-local-regexp):
1600 * mail/feedmail.el (feedmail-display-full-frame):
1601 * international/characters.el (glyphless-char-display-control):
1602 * eshell/em-ls.el (eshell-ls-date-format):
1603 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1604 (lisp-lambda-list-keyword-parameter-indentation)
1605 (lisp-lambda-list-keyword-parameter-alignment):
1606 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1607 * dired-x.el (dired-omit-verbose):
1608 * cus-theme.el (custom-theme-allow-multiple-selections):
1609 * calc/calc.el (calc-highlight-selections-with-faces)
1610 (calc-lu-field-reference, calc-lu-power-reference)
1611 (calc-note-threshold):
1612 * battery.el (battery-mode-line-limit):
1613 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1614 (archive-7z-update):
1615 * allout.el (allout-prefixed-keybindings)
1616 (allout-unprefixed-keybindings)
1617 (allout-inhibit-auto-fill-on-headline)
1618 (allout-flattened-numbering-abbreviation):
1619 * allout-widgets.el (allout-widgets-auto-activation)
1620 (allout-widgets-icons-dark-subdir)
1621 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1622 (allout-widgets-theme-dark-background)
1623 (allout-widgets-theme-light-background)
1624 (allout-widgets-item-image-properties-emacs)
1625 (allout-widgets-item-image-properties-xemacs)
1626 (allout-widgets-run-unit-tests-on-load)
1627 (allout-widgets-time-decoration-activity)
1628 (allout-widgets-hook-error-post-time)
1629 (allout-widgets-track-decoration):
1630 Add missing :version tags to new defcustoms and defgroups.
1631
1632 * progmodes/sql.el (sql-ansi-statement-starters)
1633 (sql-oracle-statement-starters): Add custom type.
1634
1635 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1636 (prolog-system-version): Give it a type.
1637
1638 2012-02-11 Eli Zaretskii <eliz@gnu.org>
1639
1640 * term/pc-win.el (x-select-text, x-selection-owner-p)
1641 (x-own-selection-internal, x-disown-selection-internal)
1642 (x-get-selection-internal): Sync doc strings and argument lists
1643 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1644
1645 2012-02-11 Leo Liu <sdl.web@gmail.com>
1646
1647 * progmodes/python.el (python-end-of-statement): Fix infinite
1648 loop. (Bug#10788)
1649
1650 2012-02-10 Glenn Morris <rgm@gnu.org>
1651
1652 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1653 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1654
1655 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1656
1657 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1658 about SMTP before checking the From header.
1659
1660 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1661 into own function for reuse by emacsbug.el.
1662
1663 2012-02-10 Leo Liu <sdl.web@gmail.com>
1664
1665 * subr.el (condition-case-unless-debug): Rename from
1666 condition-case-no-debug. All callers changed.
1667 (with-demoted-errors): Fix caller.
1668
1669 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1670 * nxml/rng-valid.el (rng-do-some-validation):
1671 * emacs-lisp/package.el (package-refresh-contents)
1672 (package-menu-execute):
1673 * desktop.el (desktop-create-buffer):
1674 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1675
1676 2012-02-10 Glenn Morris <rgm@gnu.org>
1677
1678 * textmodes/bibtex.el:
1679 Add missing :version tags for new/changed defcustoms.
1680
1681 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1682
1683 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
1684
1685 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1686 (smtpmail-via-smtp): Use it, or fall back on the From address.
1687 (smtpmail-send-it): Ditto.
1688
1689 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1692 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1693 (byte-compile-tmp-var): New const.
1694 (byte-compile-defvar): Use it to minimize .elc size.
1695 Just use `defvar' rather than simulate it (bug#10761).
1696
1697 2012-02-09 Glenn Morris <rgm@gnu.org>
1698
1699 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1700
1701 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1702 Add :version tags.
1703
1704 * progmodes/compile.el (compilation-error-screen-columns)
1705 (compilation-first-column, compilation-filter-start): Doc fixes.
1706
1707 * vc/log-view.el (log-view-toggle-entry-display):
1708 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1709
1710 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1711 (report-emacs-bug-can-use-xdg-email):
1712 (report-emacs-bug-insert-to-mailer): Doc fixes.
1713 (report-emacs-bug): Message fix.
1714
1715 * net/browse-url.el (browse-url-can-use-xdg-open)
1716 (browse-url-xdg-open): Doc fixes.
1717
1718 * electric.el (electric-indent-mode, electric-pair-mode)
1719 (electric-layout-rules, electric-layout-mode): Doc fixes.
1720 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1721
1722 2012-02-08 Martin Rudalics <rudalics@gmx.at>
1723
1724 * server.el (server-unselect-display): Don't inadvertently kill
1725 the current buffer. (Bug#10729)
1726
1727 2012-02-08 Glenn Morris <rgm@gnu.org>
1728
1729 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1730 (sql-list-table): Doc fixes.
1731
1732 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1733 Comment out (does nothing).
1734
1735 * completion.el (dynamic-completion-mode):
1736 * dirtrack.el (dirtrack-debug-mode):
1737 * electric.el (electric-layout-mode):
1738 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1739 * face-remap.el (text-scale-mode, buffer-face-mode):
1740 * iimage.el (iimage-mode):
1741 * image-mode.el (image-transform-mode):
1742 * minibuffer.el (completion-in-region-mode):
1743 * scroll-lock.el (scroll-lock-mode):
1744 * simple.el (next-error-follow-minor-mode):
1745 * tar-mode.el (tar-subfile-mode):
1746 * tooltip.el (tooltip-mode):
1747 * vcursor.el (vcursor-use-vcursor-map):
1748 * wid-browse.el (widget-minor-mode):
1749 * emulation/tpu-edt.el (tpu-edt-mode):
1750 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1751 * international/iso-ascii.el (iso-ascii-mode):
1752 * language/thai-util.el (thai-word-mode):
1753 * mail/supercite.el (sc-minor-mode):
1754 * net/goto-addr.el (goto-address-mode):
1755 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1756 * progmodes/cwarn.el (cwarn-mode):
1757 * progmodes/flymake.el (flymake-mode):
1758 * progmodes/glasses.el (glasses-mode):
1759 * progmodes/hideshow.el (hs-minor-mode):
1760 * progmodes/pascal.el (pascal-outline-mode):
1761 * textmodes/enriched.el (enriched-mode):
1762 * vc/smerge-mode.el (smerge-mode):
1763 Doc fixes (minor mode argument).
1764
1765 2012-02-07 Eli Zaretskii <eliz@gnu.org>
1766
1767 * ls-lisp.el (ls-lisp-sanitize): New function.
1768 (ls-lisp-insert-directory): Use it to fix or remove any elements
1769 in file-alist with missing attributes. (Bug#4673)
1770
1771 2012-02-07 Alan Mackenzie <acm@muc.de>
1772
1773 Fix spurious recognition of c-in-knr-argdecl.
1774
1775 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1776 putative K&R region.
1777
1778 2012-02-07 Alan Mackenzie <acm@muc.de>
1779
1780 * progmodes/cc-engine.el (c-forward-objc-directive):
1781 Prevent looping in "#pragma mark @implementation".
1782
1783 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
1784
1785 * notifications.el (notifications-on-closed-signal): Make `reason'
1786 optional. (Bug#10744)
1787
1788 2012-02-07 Glenn Morris <rgm@gnu.org>
1789
1790 * emacs-lisp/easy-mmode.el (define-minor-mode):
1791 Doc fixes for the macro and the mode it defines.
1792
1793 * image.el (imagemagick-types-inhibit): Doc fix.
1794
1795 * cus-start.el (imagemagick-render-type): Add it.
1796
1797 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1798
1799 * progmodes/cc-mode.el
1800 (c-standard-font-lock-fontify-region-function): Set the default at
1801 load time, too, so that `font-lock-fontify-buffer' can be called
1802 without setting up the entire mode first. This fixes a bug in
1803 `mm-inline-text' with C MIME parts.
1804
1805 2012-02-06 Chong Yidong <cyd@gnu.org>
1806
1807 * simple.el (list-processes--refresh): Delete exited processes
1808 (Bug#8094).
1809
1810 * comint.el (comint-next-prompt): next-single-char-property-change
1811 and prev-single-char-property-change never return nil (Bug#8657).
1812
1813 * custom.el (defcustom): Doc fix (Bug#9711).
1814
1815 2012-02-05 Chong Yidong <cyd@gnu.org>
1816
1817 * cus-edit.el (custom-variable-reset-backup): Quote the value
1818 before storing it in the customized-value property (Bug#6712).
1819 (custom-display): Add a customization type tag.
1820 (custom-buffer-create-internal): Improve tooltip message.
1821
1822 * wid-edit.el (widget-field-value-get): New optional arg to
1823 suppress trailing whitespace truncation.
1824 (character): Use it (Bug#2689).
1825
1826 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1827
1828 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1829 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1830
1831 2012-02-05 Chong Yidong <cyd@gnu.org>
1832
1833 * cus-edit.el (custom-variable-value-create): For mismatched
1834 types, show the current value (Bug#7600).
1835
1836 * custom.el (defcustom): Doc fix.
1837
1838 2012-02-05 Glenn Morris <rgm@gnu.org>
1839
1840 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1841
1842 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1845 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1846 (pp-last-sexp): Use `looking-at-p'.
1847
1848 2012-02-04 Glenn Morris <rgm@gnu.org>
1849
1850 * files.el (revert-buffer):
1851 Doc fix (mention revert-buffer-in-progress-p).
1852
1853 * emacs-lisp/ert-x.el (ert-simulate-command):
1854 Check deferred-action-list (which is obsolete) is bound.
1855
1856 * subr.el (with-wrapper-hook): Doc fixes.
1857
1858 * simple.el (filter-buffer-substring-functions)
1859 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1860
1861 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1862
1863 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1864 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1865
1866 2012-02-04 Leo Liu <sdl.web@gmail.com>
1867
1868 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1869
1870 2012-02-04 Glenn Morris <rgm@gnu.org>
1871
1872 * image.el (image-extension-data): Add obsolete alias.
1873
1874 * isearch.el (isearch-update): Doc fix.
1875
1876 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1877
1878 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1879
1880 2012-02-03 Glenn Morris <rgm@gnu.org>
1881
1882 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1883 (image-animate-timeout): Doc fix.
1884
1885 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1886
1887 2012-02-02 Glenn Morris <rgm@gnu.org>
1888
1889 * server.el (server-auth-dir): Doc fix.
1890 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1891
1892 * subr.el (run-mode-hooks): Doc fix.
1893
1894 2012-02-02 Juri Linkov <juri@jurta.org>
1895
1896 * image-mode.el (image-toggle-display-image): Remove tautological
1897 `major-mode' from the `derived-mode-p' test.
1898
1899 2012-02-02 Kenichi Handa <handa@m17n.org>
1900
1901 * composite.el (compose-region): Cancel previous change.
1902
1903 2012-02-02 Kenichi Handa <handa@m17n.org>
1904
1905 * composite.el (compose-region, compose-string): Signal error for
1906 a null string component (Bug#6988).
1907
1908 2012-02-01 Chong Yidong <cyd@gnu.org>
1909
1910 * view.el (view-buffer-other-window, view-buffer-other-frame):
1911 Handle special modes like view-buffer (Bug#10650).
1912 (view-buffer): Simplify.
1913
1914 * frame.el (set-frame-font): Tweak meaning of third argument.
1915
1916 * dynamic-setting.el (font-setting-change-default-font):
1917 Use set-frame-font (Bug#9982).
1918
1919 2012-02-01 Glenn Morris <rgm@gnu.org>
1920
1921 * progmodes/compile.el (compilation-internal-error-properties):
1922 Respect compilation-first-column in the "*compilation*" buffer.
1923
1924 * emacs-lisp/easy-mmode.el (define-minor-mode):
1925 Relax :variable's test for a named function.
1926
1927 2012-01-31 Alan Mackenzie <acm@muc.de>
1928
1929 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1930 off by one error.
1931
1932 2012-01-31 Chong Yidong <cyd@gnu.org>
1933
1934 * frame.el (set-frame-font): New arg ALL-FRAMES.
1935
1936 * menu-bar.el (menu-set-font): Use set-frame-font.
1937
1938 * faces.el (face-spec-reset-face): Don't apply unspecified
1939 attribute values to the default face.
1940
1941 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
1942
1943 * progmodes/cwarn.el (cwarn): Remove dead link.
1944 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1945 Remove * from defcustom docstrings.
1946 (turn-on-cwarn-mode): Make obsolete.
1947 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1948 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1949
1950 2012-01-31 Glenn Morris <rgm@gnu.org>
1951
1952 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1953 Fix :variable handling of mode a symbol not equal to modefun.
1954 Allow named functions to be used as the cdr of :variable.
1955
1956 2012-01-30 Glenn Morris <rgm@gnu.org>
1957
1958 * emacs-lisp/authors.el (authors-fixed-entries):
1959 Remove reference to deleted file rnewspost.el.
1960
1961 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
1962
1963 * window.el (window-with-parameter): Remove unused variable `windows'.
1964 (window--side-check): Remove unused variable `code'.
1965 (window--resize-siblings): Remove unused variable `first'.
1966 (adjust-window-trailing-edge): Remove unused variable `failed'.
1967 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1968 Use `let', not `let*'.
1969 (balance-windows-2): Remove unused variable `found'.
1970 (window--state-put-2): Remove unused variable `splits'.
1971 (window-state-put): Remove unused variable `selected'.
1972 (same-window-p): Use `string-match-p'.
1973 (display-buffer-assq-regexp): Remove unused variable `value'.
1974 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1975 Mark argument ALIST as ignored.
1976 (pop-to-buffer): Remove unused variable `old-window'.
1977
1978 2012-01-29 Eli Zaretskii <eliz@gnu.org>
1979
1980 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1981 and .lzma compressed files.
1982
1983 2012-01-29 Chong Yidong <cyd@gnu.org>
1984
1985 * frame.el (window-system-default-frame-alist): Doc fix.
1986
1987 * dynamic-setting.el (font-setting-change-default-font): Don't
1988 change the default face if SET-FONT argument is non-nil (Bug#9982).
1989
1990 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1991
1992 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1993
1994 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
1995
1996 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1997 breakpoints in files outside current directory (Bug#6098).
1998
1999 2012-01-29 Chong Yidong <cyd@gnu.org>
2000
2001 * progmodes/python.el: Require ansi-color at top-level.
2002
2003 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2004 Define and use in Emacs Lisp mode (Bug#9360).
2005 (lisp-mode-abbrev-table): Add doc.
2006 (lisp-mode-variables): Don't set local-abbrev-table.
2007 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2008
2009 2012-01-28 Roland Winkler <winkler@gnu.org>
2010
2011 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2012
2013 2012-01-28 Roland Winkler <winkler@gnu.org>
2014
2015 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2016 (bibtex-set-dialect): Use it. Either set global values of
2017 dialect-dependent variables or bind these variables buffer-locally
2018 (Bug#10254).
2019 (bibtex-mode): Call bibtex-set-dialect via
2020 hack-local-variables-hook.
2021 (bibtex-dialect): Update docstring.
2022 Add safe-local-variable predicate.
2023 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2024 bibtex-set-dialect.
2025 (bibtex-mode-map): Define menu for each dialect.
2026 (bibtex-entry): Fix docstring.
2027
2028 2012-01-28 Chong Yidong <cyd@gnu.org>
2029
2030 * eshell/esh-arg.el (eshell-quote-argument): New function.
2031
2032 * eshell/esh-ext.el (eshell-invoke-batch-file):
2033 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2034 first arg to eshell-parse-command (Bug#10523).
2035
2036 2012-01-28 Drew Adams <drew.adams@oracle.com>
2037
2038 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2039 `default-directory' is non-nil.
2040
2041 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2042
2043 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2044 line that displays system-configuration-options. (Bug#9924)
2045
2046 2012-01-28 Drew Adams <drew.adams@oracle.com>
2047
2048 * descr-text.el (describe-char): Show information about POS, in
2049 addition to information about the character at POS. Improve and
2050 update the doc string. Change "code point" to "code point in
2051 charset", to avoid confusion with the character's Unicode code
2052 point shown above that. (Bug#10129)
2053
2054 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2055
2056 * descr-text.el (describe-char): Show the raw character, not only
2057 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2058 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2059 for the reasons.
2060
2061 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2062
2063 * emacs-lisp/package.el (package-install):
2064 Run package-refresh-contents if there is no archive yet (Bug#9798).
2065
2066 2012-01-28 Chong Yidong <cyd@gnu.org>
2067
2068 * emacs-lisp/package.el (package-maybe-load-descriptor):
2069 New function, split from package-maybe-load-descriptor.
2070 (package-maybe-load-descriptor): Use it.
2071 (package-download-transaction): Fully load required packages
2072 inside the loop, so that `require' calls work (Bug#10593).
2073 (package-install): No need to call package-initialize now.
2074
2075 2012-01-28 Chong Yidong <cyd@gnu.org>
2076
2077 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2078
2079 * tooltip.el (tooltip-mode): Doc fix.
2080 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2081
2082 * frame.el (set-cursor-color): Doc fix (Bug#352).
2083
2084 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2085 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2086
2087 * cus-edit.el (custom-buffer-create-internal): Fix search button
2088 action (Bug#10542).
2089 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2090
2091 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2092
2093 * dired.el (dired-mark-files-regexp):
2094 Include any subdirectory components. (Bug#10445)
2095
2096 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2097
2098 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2099 Handle [host]:port syntax. (Bug#10533)
2100
2101 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2102
2103 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2104
2105 2012-01-26 Glenn Morris <rgm@gnu.org>
2106
2107 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2108 * term.el (term-raw-escape-map): Use Control-X-prefix.
2109 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2110
2111 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2112
2113 * window.el (window-state-get, window--state-get-1): Don't deal
2114 with fixed-sizeness of windows. Simplify code.
2115
2116 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2117
2118 * window.el (window--state-get-1, window--state-put-2):
2119 Don't save and restore the mark.
2120
2121 2012-01-25 Chong Yidong <cyd@gnu.org>
2122
2123 * custom.el (custom-variable-p): Doc fix.
2124
2125 2012-01-25 Glenn Morris <rgm@gnu.org>
2126
2127 * dired.el (dired-goto-file): Handle some of the more common
2128 characters that `ls -b' escapes. (Bug#10596)
2129
2130 * progmodes/compile.el (compilation-next-error-function):
2131 Respect compilation-first-column in the "*compilation*" buffer.
2132 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2133
2134 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2135
2136 2012-01-24 Glenn Morris <rgm@gnu.org>
2137
2138 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2139
2140 2012-01-24 Julien Danjou <julien@danjou.info>
2141
2142 * color.el (color-rgb-to-hsl): Fix value computing.
2143 (color-hue-to-rgb): New function.
2144 (color-hsl-to-rgb): New function.
2145 (color-clamp, color-saturate-hsl, color-saturate-name)
2146 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2147 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2148
2149 2012-01-24 Glenn Morris <rgm@gnu.org>
2150
2151 * vc/vc-rcs.el (vc-rcs-create-tag):
2152 * vc/vc-sccs.el (vc-sccs-create-tag):
2153 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2154
2155 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2156
2157 * eshell/esh-util.el (eshell-read-hosts-file):
2158 Skip comment lines. (Bug#10549)
2159
2160 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2161
2162 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2163
2164 * subr.el (display-delayed-warnings): Doc fix.
2165 (collapse-delayed-warnings): New function to collapse identical
2166 adjacent warnings.
2167 (delayed-warnings-hook): Add it.
2168
2169 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2170
2171 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2172
2173 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2174 properties, when "login-as" is set.
2175
2176 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2177 (tramp-default-user-alist): Don't add "pscp".
2178 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2179 property "login-as", if set. (Bug#10530)
2180
2181 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2182
2183 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2184 "plink1" and "psftp". (Bug#10530)
2185
2186 2012-01-21 Kenichi Handa <handa@m17n.org>
2187
2188 * international/mule-cmds.el (prefer-coding-system): Show a
2189 warning message if the default value of file-name-coding-system
2190 was not changed.
2191
2192 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2193
2194 * windmove.el (windmove-reference-loc):
2195 Fix windmove-reference-loc miscalculation.
2196
2197 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2198
2199 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2200 default unit.
2201
2202 2012-01-21 Glenn Morris <rgm@gnu.org>
2203
2204 * international/mule.el (auto-coding-alist): Add .tbz.
2205
2206 * files.el (local-enable-local-variables): Doc fix.
2207 (inhibit-local-variables-regexps): Rename from
2208 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2209 Doc fix. Add some extensions from auto-coding-alist.
2210 (inhibit-local-variables-suffixes):
2211 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2212 (inhibit-local-variables-p):
2213 New function, extracted from set-auto-mode-1.
2214 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2215 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2216 (hack-local-variables): Doc fix. Make the mode-only case
2217 respect enable-local-variables and friends.
2218 Respect inhibit-local-variables-regexps for file-locals, but
2219 not for directory-locals.
2220 (set-visited-file-name):
2221 Take account of inhibit-local-variables-regexps.
2222 Whether it applies may change as the file name is changed.
2223 * jka-cmpr-hook.el (jka-compr-install):
2224 * jka-compr.el (jka-compr-uninstall):
2225 Update for inhibit-first-line-modes-suffixes name change.
2226
2227 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2228
2229 * help-macro.el (make-help-screen): Temporarily restore original
2230 binding for minor-mode-map-alist (Bug#10454).
2231
2232 2012-01-19 Julien Danjou <julien@danjou.info>
2233
2234 * color.el (color-name-to-rgb): Use the white color to find the max
2235 color component value and return correctly computed values.
2236 (color-name-to-rgb): Add missing float conversion for max value.
2237
2238 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2239
2240 * window.el (window--state-get-1, window-state-get): Do not use
2241 special state value for window-persistent-parameters.
2242 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2243 (window--state-put-2): Reset all window parameters to nil before
2244 assigning values of persistent parameters.
2245
2246 2012-01-18 Alan Mackenzie <acm@muc.de>
2247
2248 Eliminate sluggishness and hangs in fontification of "semicolon
2249 deserts".
2250
2251 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2252 Change value 10000 -> 3000.
2253 (c-state-safe-place): Reformulate so it doesn't stack up an
2254 infinite number of wrong entries in c-state-nonlit-pos-cache.
2255 (c-determine-limit-get-base, c-determine-limit): New functions to
2256 determine backward search limits disregarding literals.
2257 (c-find-decl-spots): Amend commenting.
2258 (c-cheap-inside-bracelist-p): New function which detects "={".
2259
2260 * progmodes/cc-fonts.el
2261 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2262 backward search.
2263 (c-font-lock-declarations): Fix an occurrence of point being
2264 undefined. Check additionally for point being in a bracelist or
2265 near a macro invocation without a semicolon so as to avoid a
2266 fruitless time consuming search for a declarator. Give a more
2267 precise search limit for declarators using the new
2268 c-determine-limit.
2269
2270 2012-01-18 Glenn Morris <rgm@gnu.org>
2271
2272 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2273 (set-auto-mode): Doc fixes.
2274
2275 2012-01-17 Glenn Morris <rgm@gnu.org>
2276
2277 * isearch.el (search-nonincremental-instead): Fix doc typo.
2278
2279 * dired.el (dired-insert-directory): Handle newlines in directory name.
2280 (dired-build-subdir-alist): Unescape newlines in directory name.
2281
2282 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2283
2284 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2285 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2286 (tramp-action-terminal): Use it. (Bug#10530)
2287
2288 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2291
2292 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2293
2294 * window.el (window-state-ignored-parameters): Remove variable.
2295 (window--state-get-1): Rename argument MARKERS to IGNORE.
2296 Handle persistent window parameters. Make copy of clone-of
2297 parameter only if requested. (Bug#10348)
2298 (window--state-put-2): Install a window parameter only if it has
2299 a non-nil value or an existing parameter shall be overwritten.
2300
2301 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2302
2303 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2304
2305 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2306
2307 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2308 don't pass the (nil) value of `upnode' to string-match.
2309
2310 2012-01-14 Chong Yidong <cyd@gnu.org>
2311
2312 * startup.el (command-line): Fix X resource class for cursorColor.
2313 Fix values recognized by the cursorBlink resource.
2314
2315 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2316
2317 * epg.el (epg--make-temp-file): Avoid permission race condition
2318 when running on old Emacs versions (bug#10403).
2319
2320 2012-01-14 Glenn Morris <rgm@gnu.org>
2321
2322 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2323
2324 2012-01-13 Alan Mackenzie <acm@muc.de>
2325
2326 Fix filling for when filladapt mode is enabled.
2327
2328 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2329 c-mask-paragraph, pass in `fill-paragraph' rather than
2330 `fill-region-as-paragraph'. (This is a reversion of a previous
2331 change.)
2332 * progmodes/cc-mode.el (c-basic-common-init):
2333 Make fill-paragraph-handle-comment buffer local and set it to nil.
2334
2335 2012-01-13 Glenn Morris <rgm@gnu.org>
2336
2337 * dired.el (dired-switches-escape-p): New function.
2338 (dired-insert-directory): Use dired-switches-escape-p.
2339 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2340
2341 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2342
2343 2012-01-12 Glenn Morris <rgm@gnu.org>
2344
2345 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2346 changes in adaptive-fill-regexp. (Bug#10276)
2347
2348 2012-01-11 Alan Mackenzie <acm@muc.de>
2349
2350 Fix Emacs bug #10463 - put `widen's around the critical spots.
2351
2352 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2353 widen around each invocation of c-state-pp-to-literal. Remove an
2354 unused let variable.
2355
2356 2012-01-11 Glenn Morris <rgm@gnu.org>
2357
2358 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2359 Doc fix.
2360
2361 2012-01-10 Chong Yidong <cyd@gnu.org>
2362
2363 * net/network-stream.el (network-stream-open-starttls):
2364 Avoid emitting a confusing error message when the server gives a bad
2365 response to the capability command.
2366
2367 2012-01-10 Glenn Morris <rgm@gnu.org>
2368
2369 * mail/unrmail.el (unrmail): Tweak previous change.
2370
2371 2012-01-09 Chong Yidong <cyd@gnu.org>
2372
2373 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2374
2375 2012-01-08 Alan Mackenzie <acm@muc.de>
2376
2377 Optimise font locking in long enum definitions.
2378
2379 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2380 arm to a cond form to handle enums.
2381 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2382 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2383
2384 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2385
2386 * files.el (move-file-to-trash): Preserve default file modes on error.
2387 (Bug#10401)
2388
2389 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2390
2391 * faces.el (set-face-attribute): Clarify the meaning of the nil
2392 frame (bug#10294).
2393
2394 * subr.el (with-selected-frame): Mention that the selected frame
2395 is restored (bug#9980).
2396
2397 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2398 (bug#9759).
2399
2400 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2401 (password-read): Don't autoload unused function.
2402
2403 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2404
2405 * progmodes/which-func.el (which-func-mode): Turn into a
2406 non-interactive function and mark as obsolete (bug#10428).
2407
2408 2012-01-06 Chong Yidong <cyd@gnu.org>
2409
2410 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2411 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2412 functions, along with 1 and -1.
2413
2414 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2415
2416 * time.el (display-time-load-average)
2417 (display-time-default-load-average): Doc fixes. See the thread
2418 starting at
2419 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2420 for the details.
2421
2422 2012-01-06 Glenn Morris <rgm@gnu.org>
2423
2424 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2425 has no messages. (Bug#10377)
2426
2427 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2428 than Info-edit. (Bug#10385)
2429
2430 * time.el (display-time-load-average, display-time-next-load-average):
2431 Doc fixes.
2432
2433 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2434 local setting of buffer-read-only to the input buffer. (Bug#10419)
2435
2436 * calendar/calendar.el (calendar-mode):
2437 Locally set scroll-margin to 0. (Bug#10379)
2438
2439 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2440
2441 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2442
2443 2012-01-05 Glenn Morris <rgm@gnu.org>
2444
2445 * eshell/em-unix.el (diff-no-select): Autoload it.
2446 (eshell/diff): Use diff-no-select. (Bug#10420)
2447
2448 2012-01-05 Chong Yidong <cyd@gnu.org>
2449
2450 * shell.el (shell-dynamic-complete-functions): Revert last change.
2451 (shell-command-completion-function): New function.
2452 (shell-completion-vars): Use it to implement
2453 shell-completion-execonly (Bug#10417).
2454
2455 * custom.el (enable-theme): Don't set custom-safe-themes.
2456
2457 * cus-theme.el (custom-theme-merge-theme):
2458 Ignore custom-enabled-themes and custom-safe-themes.
2459
2460 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2461
2462 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2463 first prompt in `sql-interacive-mode'.
2464 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2465 keywords.
2466 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2467 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2468 context of original buffer. Invoke `sql-login-hook'.
2469
2470 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2471
2472 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2473 letters in cite-prefix.
2474
2475 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2476
2477 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2478
2479 2012-01-03 Chong Yidong <cyd@gnu.org>
2480
2481 * shell.el (shell-dynamic-complete-functions):
2482 Put pcomplete-completions-at-point, so as to try
2483 comint-filename-completion first (Bug#10417).
2484
2485 2012-01-02 Richard Stallman <rms@gnu.org>
2486
2487 * battery.el (battery-status-function):
2488 Detect when to use battery-yeeloong-sysfs.
2489 (battery-echo-area-format): Add string for Yeeloong.
2490 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2491 (battery-yeeloong-sysfs): New function.
2492
2493 2012-01-02 Chong Yidong <cyd@gnu.org>
2494
2495 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2496 (dirtrack): Merge code for handling relative filenames in prompt
2497 from shell-dir-cookie-watcher.
2498 (dirtrack-debug-message): New arg to avoid excess format calls.
2499
2500 * shell.el (shell-dir-cookie-re): Variable deleted.
2501 (shell-dir-cookie-watcher): Function deleted.
2502 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2503 with dirtrack-mode.
2504
2505 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2506
2507 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2508 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2509 libgnutls-26.dll.
2510
2511 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2512
2513 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2514
2515 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2516
2517 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2518 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2519
2520 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2523 also for alternative shells.
2524 (tramp-open-connection-setup-interactive-shell): Check, whether
2525 the shell is a busybox.
2526 (tramp-send-command): Don't suppress multiple prompts for
2527 busyboxes, it hurts.
2528
2529 2011-12-28 Chong Yidong <cyd@gnu.org>
2530
2531 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2532 (gdb-get-source-file): Move mode line update to
2533 gdb-get-source-file (Bug#10087).
2534
2535 2011-12-25 Chong Yidong <cyd@gnu.org>
2536
2537 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2538 gud-gdb-marker-filter without taking it as an argument.
2539 (gud-gdb-run-command-fetch-lines): Caller changed.
2540 (gud-gdb-completion-function): New variable.
2541 (gud-gdb-completion-at-point): Use it.
2542 (gud-gdb-completions-1): Split from gud-gdb-completions.
2543
2544 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2545 function as separate arguments.
2546 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2547 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2548 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2549 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2550 (gdb-stopped, def-gdb-auto-update-trigger)
2551 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2552 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2553 Callers changed.
2554 (gud-gdbmi-completions): New function.
2555 (gdb): Use it for generating the completion table.
2556
2557 2011-12-24 Alan Mackenzie <acm@muc.de>
2558
2559 Introduce a mechanism to widen the region used in context font
2560 locking. Use this to protect declarations from losing their contexts.
2561
2562 * progmodes/cc-langs.el (c-before-font-lock-functions):
2563 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2564 (c-before-context-fontification-functions): New defvar, a list of
2565 functions to be run just before context (etc.) font locking.
2566
2567 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2568 New, functionality extracted from
2569 c-neutralize-syntax-in-and-mark-CPP.
2570 (c-in-after-change-fontification): New variable.
2571 (c-after-change): Set c-in-after-change-fontification.
2572 (c-set-fl-decl-start): Rejig its interface, so it can be called
2573 from both after-change and context fontifying.
2574 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2575 New functions.
2576 (c-standard-font-lock-fontify-region-function): New variable.
2577 (c-font-lock-fontify-region): New function.
2578
2579 2011-12-24 Juri Linkov <juri@jurta.org>
2580
2581 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2582 (Bug#10348)
2583
2584 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2587 existence of source file. (Bug#10325)
2588
2589 2011-12-23 Alan Mackenzie <acm@muc.de>
2590
2591 Fix unstable fontification inside templates.
2592
2593 * progmodes/cc-langs.el (c-before-font-lock-functions):
2594 Newly created from the singular version. The (c c++ objc) entry now
2595 additionally has c-set-fl-decl-start. The other languages (apart
2596 from AWK) have that as a single entry.
2597
2598 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2599 The functionality for "local" declarations has been extracted to
2600 c-set-fl-decl-start.
2601
2602 * progmodes/cc-mode.el (c-common-init, c-after-change):
2603 Changes due to pluralisation of c-before-font-lock-functions.
2604 (c-set-fl-decl-start): New function, extracted from
2605 c-font-lock-enclosing-decls and enhanced.
2606
2607 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
2608
2609 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2610
2611 2011-12-22 Juri Linkov <juri@jurta.org>
2612
2613 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2614
2615 2011-12-22 Chong Yidong <cyd@gnu.org>
2616
2617 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2618
2619 2011-12-21 Drew Adams <drew.adams@oracle.com>
2620
2621 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2622
2623 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2624
2625 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2626
2627 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2628
2629 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2630 highlighting and support. Fix up comments for capitalization.
2631 (cfengine-mode-debug): New var.
2632 (cfengine3-mode): Change the modeline indicator to "CFE3".
2633 (cfengine3-font-lock-keywords): Improve defun highlighting.
2634 (cfengine2-actions): Rename from `cfengine-actions'.
2635 (cfengine2-font-lock-keywords): Rename from
2636 `cfengine-font-lock-keywords'.
2637 (cfengine2-imenu-expression): Rename from
2638 `cfengine-imenu-expression'.
2639 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2640 (cfengine2-beginning-of-defun): Rename from
2641 `cfengine-beginning-of-defun'.
2642 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2643 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2644 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2645 modeline indicator to "CFE2".
2646 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2647 (cfengine-mode-abbrevs): Mark obsolete.
2648
2649 2011-12-21 Chong Yidong <cyd@gnu.org>
2650
2651 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2652 filename argument.
2653
2654 2011-12-20 Martin Rudalics <rudalics@gmx.at>
2655
2656 * window.el (window-normalize-buffer-to-display): Remove.
2657 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2658
2659 2011-12-19 Chong Yidong <cyd@gnu.org>
2660
2661 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2662 Don't signal an error in a predicate function; return non-nil.
2663 (vc-dir-mark-file): Move the error here.
2664 (vc-dir-mark-unmark): If acting on the region, keep going if one
2665 of the entries cannot be marked/unmarked.
2666 (vc-dir-mark-all-files): If current entry is a directory, mark
2667 only child files, as documented.
2668
2669 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2670
2671 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2672 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2673 addition.
2674
2675 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2676
2677 * term/ns-win.el (ns-get-selection-internal)
2678 (ns-store-selection-internal): Declare.
2679 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2680 Declare as obsolete.
2681 (ns-get-pasteboard, ns-paste-secondary):
2682 Use ns-get-selection-internal.
2683 (ns-set-pasteboard, ns-copy-including-secondary):
2684 Use ns-store-selection-internal.
2685
2686 2011-12-17 Chong Yidong <cyd@gnu.org>
2687
2688 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2689 (vc-deduce-fileset): Doc fix.
2690
2691 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2692
2693 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2694
2695 2011-12-13 Sam Steingold <sds@gnu.org>
2696
2697 * man.el (Man-getpage-in-background): When running under a
2698 window-system, ignore $MANWIDTH and $COLUMNS.
2699
2700 2011-12-15 Kenichi Handa <handa@m17n.org>
2701
2702 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2703 (setup-ethiopic-environment-internal): Comment out key-binding for
2704 ethio-toggle-punctuation.
2705
2706 2011-12-13 Alan Mackenzie <acm@muc.de>
2707
2708 Add the switch statement to AWK Mode.
2709
2710 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2711 "default" to the keywords regexp.
2712
2713 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2714 expression as the rest.
2715 (c-nonlabel-token-key): Allow string literals for AWK.
2716 Refactor for the other modes.
2717
2718 Large brace-block initialisation makes CC Mode slow: Fix.
2719 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2720 routines. Limit backward searching in c-font-lock-enclosing.decl.
2721
2722 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2723 pp-state and literal type in addition to the limits.
2724 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2725 (c-state-literal-at): Use the above new defun.
2726 (c-slow-in-literal, c-fast-in-literal): Remove.
2727 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2728
2729 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2730 being in a literal. Add a limit for backward searching.
2731
2732 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2733 c-slow-in-literal.
2734
2735 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2738
2739 2011-12-13 Martin Rudalics <rudalics@gmx.at>
2740
2741 * window.el (delete-other-windows): Use correct frame in call to
2742 window-with-parameter.
2743
2744 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2745
2746 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2747 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2748 (makefile-gmake-statements, makefile-makepp-statements):
2749 Use it and add new makepp keywords.
2750 (makefile-makepp-font-lock-keywords): Add new patterns.
2751 (makefile-match-function-end): Match new [...] and [[...]].
2752
2753 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
2754
2755 * ses.el (ses-call-printer-return, ses-cell-property-get)
2756 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2757 (ses-create-cell-variable, ses-reset-header-string)
2758 (ses-cell-set-formula, ses-repair-cell-reference-all)
2759 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2760 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2761 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2762 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2763 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2764 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2765 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2766 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2767 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2768 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2769 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2770 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2771
2772 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2773
2774 * ses.el: The overall change is to add cell renaming, that is
2775 setting fancy names for cell symbols other than name matching
2776 "\\`[A-Z]+[0-9]+\\'" regexp .
2777 (ses-create-cell-variable): New defun.
2778 (ses-relocate-formula): Relocate formulas only for cells the
2779 symbols of which are not renamed, i.e. symbols whose names do not
2780 match regexp "\\`[A-Z]+[0-9]+\\'".
2781 (ses-relocate-all): Relocate values only for cells the symbols of
2782 which are not renamed.
2783 (ses-load): Create cells variables as the (ses-cell ...) are read,
2784 in order to check row col consistency with cell symbol name only
2785 for cells that are not renamed.
2786 (ses-replace-name-in-formula): New defun.
2787 (ses-rename-cell): New defun.
2788
2789 2011-12-11 Chong Yidong <cyd@gnu.org>
2790
2791 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2792 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2793
2794 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2795
2796 * window.el (other-window): Fix docstring.
2797
2798 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2799
2800 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2801 `from' or `to' address before taking its substring.
2802 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2803 encoded name is chopped in the middle of the encoded string, and
2804 thus displayed encoded.
2805
2806 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
2807
2808 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2809
2810 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2811
2812 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2813 to use texinfo-update-node and commands that call it if the
2814 Texinfo file uses @node lines without next/prev/up pointers.
2815 Correct outdated description about texinfo-master-menu.
2816 (texinfo-all-menus-update, texinfo-master-menu)
2817 (texinfo-update-node, texinfo-every-node-update)
2818 (texinfo-multiple-files-update): Doc fix. Warn against updating
2819 all the @node lines.
2820 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2821 argument is numeric. Explain better in the doc string what the
2822 function really does.
2823 (texinfo-insert-master-menu-list): Improve the error message
2824 displayed if there's no menu in the Top node.
2825 (Bug#2975) See also this thread:
2826 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2827
2828 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2829
2830 * speedbar.el (speedbar-supported-extension-expressions):
2831 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2832
2833 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * printing.el (pr-mode-alist):
2836 * simple.el (filter-buffer-substring-functions)
2837 (completion-list-insert-choice-function):
2838 * window.el (window-with-parameter, window-atom-root)
2839 (window-sides-slots, window-size-fixed, window-min-delta)
2840 (window-max-delta, window--resize-mini-window)
2841 (window--resize-child-windows-normal, window-tree)
2842 (delete-other-windows, quit-window, split-window)
2843 (display-buffer-record-window, special-display-buffer-names)
2844 (special-display-regexps, special-display-popup-frame)
2845 (same-window-p, split-window-sensibly)
2846 (display-buffer-overriding-action, display-buffer-alist)
2847 (display-buffer-base-action, display-buffer, switch-to-buffer)
2848 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2849 (fit-window-to-buffer, recenter-positions)
2850 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2851 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2852 and remove unneeded backslashes in docstrings.
2853
2854 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2857
2858 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2859 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2860 end in ".mk".
2861 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2862 when reading the makefile (bug#10116).
2863
2864 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2867 (bug#10116).
2868
2869 2011-12-06 Glenn Morris <rgm@gnu.org>
2870
2871 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2872
2873 2011-12-06 Chong Yidong <cyd@gnu.org>
2874
2875 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2876
2877 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
2878
2879 * textmodes/table.el (table-shorten-cell): Fix typo.
2880
2881 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2882
2883 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2884
2885 2011-12-05 Eli Zaretskii <eliz@gnu.org>
2886
2887 * descr-text.el (describe-char): Fix display of strong
2888 right-to-left characters and directional embeddings and overrides.
2889
2890 * simple.el (what-cursor-position): Fix display of codepoints of
2891 strong right-to-left characters.
2892
2893 2011-12-05 Chong Yidong <cyd@gnu.org>
2894
2895 * faces.el (read-color): Doc fix.
2896
2897 2011-12-05 Glenn Morris <rgm@gnu.org>
2898
2899 * align.el (align--set-marker): Add doc-string.
2900 Don't try to move something that is not a marker. (Bug#10216)
2901
2902 2011-12-04 Glenn Morris <rgm@gnu.org>
2903
2904 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2905 overly zealous deletion of trailing whitespace.
2906
2907 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * server.el (server-delete-client): On Windows, do not try to delete
2910 the only terminal.
2911 (server-process-filter): On Windows, treat requests for a tty frame as
2912 if they were for a GUI frame if the running server is in GUI mode.
2913
2914 2011-12-03 Glenn Morris <rgm@gnu.org>
2915
2916 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2917
2918 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * electric.el: Streamline electric-indent's hook.
2921 (electric-indent-chars): Revert to simple list.
2922 (electric-indent-functions): New var.
2923 (electric-indent-post-self-insert-function): Use it.
2924
2925 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2926 there's no inferior buffer (bug#10196).
2927 (prolog-consult-compile): Don't use toggle-read-only.
2928
2929 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2932 interrupt. (Bug#10187)
2933
2934 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2937 (bug#9160).
2938
2939 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2940 (bug#10191).
2941
2942 2011-12-02 Juri Linkov <juri@jurta.org>
2943
2944 * info.el (Info-search): Display "end of manual" when Isearch
2945 reaches the end of single-file Info manual. (Bug#9918)
2946
2947 2011-12-02 Eli Zaretskii <eliz@gnu.org>
2948
2949 * isearch.el (isearch-message-prefix): Run the input method part
2950 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2951
2952 2011-12-02 Juri Linkov <juri@jurta.org>
2953
2954 * isearch.el (isearch-occur): Use `word-search-regexp' for
2955 `isearch-word'.
2956 (isearch-search-and-update): Add condition for `isearch-word' and
2957 call `word-search-regexp'. (Bug#10145)
2958
2959 2011-12-01 Glenn Morris <rgm@gnu.org>
2960
2961 * eshell/em-hist.el (eshell-hist-initialize):
2962 Handle eshell-history-size nil and HISTSIZE set or unset.
2963 (eshell-history-file-name, eshell-history-size): Fix custom type.
2964
2965 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2968
2969 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
2970
2971 * progmodes/verilog-mode.el (verilog-pretty-expr):
2972 Rework verilog-pretty-expr to handle new assignment operators in system
2973 verilog, such as += *= and the like.
2974 (verilog-assignment-operator-re): Regular expression to find the
2975 assigment operator in a verilog assignment.
2976 (verilog-assignment-operation-re): Regular expression to find an
2977 assignment statement for pretty-expr.
2978 (verilog-in-attribute-p): Query returns true if point is in an
2979 attribute context; used to skip these for expression line up from
2980 pretty-expr.
2981 (verilog-in-parameter-p): Query returns true if point is in an
2982 parameter definition context; used to skip these for expression
2983 line up from pretty-expr.
2984 (verilog-in-parenthesis-p): Query returns true if point is in a
2985 parenthetical expression, specifically ( ) but not [ ] or { };
2986 used by pretty-expr.
2987 (verilog-just-one-space): If there is no space, don't add one.
2988 (verilog-get-lineup-indent-2): Specifically skip just attribute
2989 contexts for expression lineup, rather than skipping all
2990 parenthetical expressions.
2991 (verilog-calculate-indent): Fix comment, and fix indent.
2992 (verilog-do-indent): Indent declarations in lists (suggested by
2993 Joachim Lechner).
2994 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2995 skeleton items.
2996 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2997 by Alain Mellan).
2998
2999 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3000
3001 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3002 parameters with embedded comments. Reported by Ray Stevens.
3003 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3004 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3005 Reported by Tim Holt.
3006 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3007 instantiated by upper module causing wrong expansion until AUTOed a
3008 second time. Reported by K C Buckenmaier.
3009 (verilog-diff-auto): Fix showing .* as a difference when
3010 `verilog-auto-star-save' off. Reported by Dan Dever.
3011 (verilog-auto-reset, verilog-read-always-signals)
3012 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3013 temporary signals in reset list if
3014 verilog-auto-reset-blocking-in-non is nil, and match assignment
3015 style to each signal's assignment type, bug381.
3016 Reported by Thomas Esposito.
3017 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3018 (verilog-uvm-statement-re): Support UVM indentation and
3019 highlighting, with old OVM keywords only.
3020 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3021 Support AUTOTIEOFF creating non-wire data types.
3022 Suggested by Jonathan Greenlaw.
3023 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3024 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3025 (verilog-inject-sense, verilog-read-inst-pins)
3026 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3027 Fix mismatching parenthesis inside commented out code when deleting
3028 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3029 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3030 non-numeric vector width. Reported by Alex Reed.
3031 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3032 detecting signals with parameter widths. Reported by Alex Reed.
3033 (verilog-auto-delete-trailing-whitespace):
3034 With `verilog-auto-delete-trailing-whitespace' remove trailing
3035 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3036 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3037 Fix verilog-scan-cache corruption when running user AUTO expansion
3038 hooks that call indentation routines.
3039 (verilog-simplify-range-expression): Fix typo ignoring lower case
3040 identifiers.
3041 (verilog-delete-auto): Fix delete-autos to also remove user created
3042 automatics, as long as they start with AUTO.
3043 (verilog-batch-diff-auto, verilog-diff-auto)
3044 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3045 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3046 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3047 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3048 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3049 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3050 is disabled and its cache will get corrupt, causing AUTOS not to
3051 expand. Instead use only -quick functions.
3052 (verilog-scan-region): Fix scanning over escaped quotes.
3053 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3054 (verilog-re-search-backward-quick)
3055 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3056 related functions now ignore strings, to fix misparsing of strings
3057 with magic comments embedded in them.
3058 (verilog-read-auto-template):
3059 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3060 Reported by Brad Dobbie.
3061 (verilog-read-auto-template):
3062 Fix 'verilog-auto-inst-template-numbers' with comments.
3063 Reported by Brad Dobbie.
3064 (verilog-auto-inst, verilog-auto-inst-param)
3065 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3066 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3067 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3068 debugging templates without merge conflicts, bug357.
3069 Reported by Brad Dobbie.
3070 (verilog-read-auto-template):
3071 Fix verilog-auto-inst-template-numbers with multiple templates.
3072 Reported by Brad Dobbie.
3073 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3074 abbrevs so user won't be asked to save.
3075 (verilog-read-auto-lisp-present): Fix to start at beginning of
3076 buffer in case called outside of verilog-auto.
3077 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3078 to "X-2". Reported by Matthew Myers.
3079 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3080 all inputs from module templates. Reported by Leith Johnson.
3081 (verilog-module-inside-filename-p): Fix locating programs as with
3082 modules.
3083 (verilog-auto-inst-port): Fix vl-width expressions when using
3084 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3085 (verilog-decls-get-regs, verilog-decls-get-signals,
3086 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3087 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3088 verilog-read-decls): Combine reg and wire structures into one var
3089 structure to represent SystemVerilog concepts.
3090 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3091 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3092 (verilog-auto-wire-type, verilog-insert-definition):
3093 Add verilog-auto-wire-type and AUTOLOGIC to support using
3094 SystemVerilog "logic" keyword instead of "wire"/"reg".
3095 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3096 to declares outputs that also have assignments (presumably in an
3097 ifdef or generate if so there's not a driver conflict).
3098 Reported by Matthew Myers.
3099 (verilog-auto-declare-nettype, verilog-insert-definition):
3100 Add verilog-auto-declare-nettype to fix declarations using
3101 `default_nettype none. Reported by Julian Gorfajn.
3102 (verilog-read-always-signals-recurse, verilog-read-decls)
3103 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3104 malformed end statement, bug325. Reported by Joshua Wise and
3105 Andrew Drake.
3106 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3107 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3108 when expanding .* in interfaces, bug320.
3109 Reported by Pierre-David Pfister.
3110 (verilog-read-module-name): Fix import statements between module
3111 name and open parenthesis, bug317.
3112 Reported by Pierre-David Pfister.
3113 (verilog-simplify-range-expression): Fix simplification of
3114 multiplications inside AUTOWIRE connections, bug303.
3115 (verilog-auto-inst-port): Support parameter expansion in
3116 multidimensional arrays.
3117 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3118 after "assert property". Reported by Julian Gorfajn.
3119 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3120 with multiplication, bug303.
3121 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3122 Reported by Jan Frode Lonnum.
3123
3124 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3125
3126 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3127 (hfy-shell-file-name, hfy-shell):
3128 * international/fontset.el (x-decompose-font-name): Fix typos.
3129
3130 2011-11-29 Ken Brown <kbrown@cornell.edu>
3131
3132 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3133 (gdb-version): Remove defvar.
3134 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3135 (gdb-gud-context-command, gdb-non-stop-handler)
3136 (gdb-current-context-command, gdb-stopped): Use it.
3137 (gdb-init-1): Enable pretty printing here.
3138 (gdb-non-stop-handler): Don't enable pretty-printing here.
3139 Check to see if the target supports non-stop mode; if not, turn off
3140 non-stop mode. Use the following.
3141 (gdb-check-target-async): New defun.
3142 (gud-watch, gdb-stopped): Fix whitespace.
3143 (gdb-get-source-file): Don't try to display the source file if
3144 `gdb-main-file' is nil.
3145
3146 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * align.el: Try to generate fewer markers (bug#10047).
3149 (align--set-marker): New macro.
3150 (align-region): Use it.
3151
3152 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3155
3156 2011-11-29 Chong Yidong <cyd@gnu.org>
3157
3158 * indent.el (indent-for-tab-command, indent-according-to-mode):
3159 Doc fix.
3160 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3161
3162 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3165 aware of remote file names. (Bug#10124)
3166
3167 2011-11-29 Chong Yidong <cyd@gnu.org>
3168
3169 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3170
3171 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * files.el (find-file): Don't use force-same-window (bug#10144).
3174 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3175 use pop-to-buffer if the selected window can't be used.
3176 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3177
3178 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3179
3180 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3181 special-mode-map.
3182
3183 2011-11-28 Chong Yidong <cyd@gnu.org>
3184
3185 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3186
3187 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3188
3189 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3190 gdb-get-source-file-list on gdb-create-source-file-list.
3191
3192 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3193
3194 * whitespace.el (whitespace-newline): Use a different foreground
3195 color for 16-color light-background displays.
3196
3197 2011-11-24 Chong Yidong <cyd@gnu.org>
3198
3199 * window.el (display-buffer--special-action): Doc fix.
3200
3201 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3202
3203 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3204 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3205 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3206 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3207 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3208 (avl-tree-stack-first):
3209 * emacs-lisp/cconv.el (cconv--analyse-use):
3210 * net/gnutls.el (gnutls-negotiate): Fix typos.
3211
3212 2011-11-24 Glenn Morris <rgm@gnu.org>
3213
3214 * lpr.el (lpr-windows-system, lpr-lp-system):
3215 * mail/binhex.el (binhex-begin-line):
3216 * progmodes/grep.el (grep-history, grep-find-history):
3217 * textmodes/flyspell.el:
3218 * vc/pcvs-defs.el (cvs-global-menu):
3219 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3220 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3221 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3222
3223 * net/tls.el: Fix case of "GnuTLS".
3224
3225 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3226
3227 * version.el (emacs-build-system): Give it a doc-string.
3228
3229 2011-11-24 Juri Linkov <juri@jurta.org>
3230
3231 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3232
3233 2011-11-24 Glenn Morris <rgm@gnu.org>
3234
3235 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3236 if called on a non-mime message just toggle the headers. (Bug#8006)
3237
3238 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3239
3240 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3241 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3242 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3243 (allout-rebullet-heading, allout-open-sibtopic)
3244 (allout-toggle-current-subtree-encryption)
3245 (allout-toggle-subtree-encryption, allout-encrypt-string)
3246 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3247 (allout-distinctive-bullets-string, allout-auto-activation):
3248 * window.el (window-normalize-buffer-to-display):
3249 * progmodes/verilog-mode.el (verilog-batch-indent):
3250 * textmodes/bibtex.el (bibtex-field-braces-opt)
3251 (bibtex-field-strings-opt):
3252 * vc/cvs-status.el (cvs-tree-merge):
3253 Fix typos.
3254
3255 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3256
3257 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3258 `non-essential' to t, in order to avoid remote connections.
3259
3260 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3261
3262 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3263 On MS-DOS and MS-Windows, compare with loaddefs.el
3264 case-insensitively.
3265
3266 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3267
3268 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3269
3270 2011-11-23 Glenn Morris <rgm@gnu.org>
3271
3272 * paths.el (rmail-file-name): Reformat the doc-string so that it
3273 is picked up.
3274
3275 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3276 (rmail-auto-file): Ignore case in the "special" field names,
3277 as mail-fetch-field does for all others.
3278
3279 * mail/rmail.el (rmail-forward):
3280 * mail/rmailkwd.el (rmail-set-label):
3281 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3282 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3283
3284 * mail/rmail.el (rmail-current-message): Doc fix.
3285
3286 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3287
3288 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3291
3292 2011-11-22 Glenn Morris <rgm@gnu.org>
3293
3294 * mail/rmailmm.el (test-rmail-mime-handler)
3295 (test-rmail-mime-bulk-handler)
3296 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3297
3298 2011-11-21 Juri Linkov <juri@jurta.org>
3299
3300 * calc/calc.el (calc-read-key-sequence):
3301 Let-bind `input-method-function' to nil. (Bug#10018)
3302
3303 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3304
3305 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3306 Tell the caller that the next line needs recomputation, even
3307 though it doesn't start a sexp (bug#10094).
3308
3309 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3312
3313 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3316 Use force-same-window.
3317
3318 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3319
3320 * descr-text.el (describe-char-unicode-data):
3321 * json.el (json-string-escape):
3322 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3323 (Footnote-unicode, Footnote-style-p):
3324 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3325
3326 2011-11-20 Chong Yidong <cyd@gnu.org>
3327
3328 * window.el (replace-buffer-in-windows): Restore interactive spec.
3329
3330 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3333
3334 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3335 (byte-compile-global-not-obsolete-vars): New var.
3336 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3337 Use it.
3338 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3339
3340 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3343 * progmodes/pascal.el (electric-pascal-equal):
3344 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3345 * xml.el (xml-substitute-special): Fix typos.
3346
3347 2011-11-20 Glenn Morris <rgm@gnu.org>
3348
3349 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3350 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3351 Doc fixes.
3352 (rmail-decode-mime-charset): Mark as obsolete.
3353
3354 * mail/rmailsum.el (rmail-message-regexp-p-1):
3355 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3356 Before using mime functions, check they are set. (Bug#10077)
3357
3358 2011-11-19 Juri Linkov <juri@jurta.org>
3359
3360 * info.el (Info-finder-find-node): Use `package--builtins' instead
3361 of `package-alist'. Use node names formed by the pattern "Keyword "
3362 and the keyword name.
3363
3364 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3367
3368 2011-11-19 Juri Linkov <juri@jurta.org>
3369
3370 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3371 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3372 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3373 `old-history', `old-history-forward'. Add let-binding
3374 `window-selected'. Remove calls to `kill-buffer',
3375 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3376 before calling `Info-find-node', so `Info-find-node-2' will reread
3377 the Info file. Restore window positions only when `window-selected'
3378 is non-nil.
3379
3380 2011-11-19 Juri Linkov <juri@jurta.org>
3381
3382 * isearch.el (isearch-lazy-highlight-new-loop):
3383 Remove condition `(not isearch-error)'. (Bug#9918)
3384
3385 * misearch.el (multi-isearch-search-fun): Add condition
3386 `(not bound)' to ignore lazy-highlighting search.
3387 Add the search-failed message "end of multi" when the end of
3388 multi-sequence is reached. Uncapitalize the search-failed
3389 message "Repeat for next buffer".
3390
3391 * info.el (Info-search): Add the search-failed message
3392 "end of the manual" when the end of the manual is reached
3393 in Isearch mode.
3394
3395 2011-11-19 Juri Linkov <juri@jurta.org>
3396
3397 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3398 Use non-destructive `remove' instead of `delete' because
3399 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3400 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3401
3402 2011-11-19 Juri Linkov <juri@jurta.org>
3403
3404 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3405 to nil instead of binding `search-ring' and `regexp-search-ring'.
3406 (Bug#9185)
3407
3408 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3409
3410 * simple.el (line-move): Force movement by logical lines for any
3411 hscrolled window, not only when auto-hscroll-mode is on.
3412 (line-move-visual): Update doc string to that effect. (Bug#10076)
3413
3414 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3415
3416 * language/european.el (macintosh): Define as alias for mac-roman.
3417
3418 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3419
3420 * mail/rmailmm.el (rmail-mime-display-header)
3421 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3422 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3423 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3424 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3425 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3426 of a raw aref.
3427 (rmail-mime-entity-segment): To get past the tagline, move forward
3428 2 more lines, to account for the 2 empty lines that precede and
3429 follow the line with the buttons.
3430 (rmail-mime-update-tagline): Move one more line, to get past the
3431 empty line that follows the buttons in the tagline. (Bug#9520)
3432
3433 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3434
3435 * window.el (window-max-delta-1, window-min-delta-1)
3436 (window-min-size-1, window-state-get-1, window-state-put-1)
3437 (window-state-put-2): Use "window--" prefix.
3438
3439 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3442 (smie-warning-count): New var.
3443 (smie-set-prec2tab): Use it.
3444 (smie-bnf->prec2): Improve warnings. Add docstring.
3445 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3446 (smie-bnf--set-class): New function.
3447 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3448 corner case.
3449
3450 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3451 (compilation-error-properties, compilation-move-to-column):
3452 Handle compilation-first-column while in the target buffer.
3453
3454 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3455 Don't hardcode point-min==1.
3456
3457 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3458 (eshell-rewrite-for-command): Remove workaround.
3459 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3460 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3461 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3462
3463 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3464
3465 2011-11-17 Glenn Morris <rgm@gnu.org>
3466
3467 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3468 Ignore buffer-local generated-autoload-file if it is the same
3469 as the global value. (Bug#10049)
3470
3471 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3472
3473 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3474 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3475 (reftex-toc-previous-heading, reftex-toc-max-level)
3476 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3477 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3478 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3479 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3480 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3481 (reftex-toc-rename-label, reftex-toc-visit-location)
3482 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3483 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3484 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3485 leaving "*toc*" only for references to the buffer.
3486
3487 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3488
3489 * window.el (window-resize, delete-window, split-window):
3490 Replace window-splits by window-combination-resize.
3491 * cus-start.el (window-splits): Replace by window-combination-resize.
3492
3493 2011-11-17 Glenn Morris <rgm@gnu.org>
3494
3495 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3496 Make bash entry derive from sh entry, not shell entry.
3497
3498 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3499
3500 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3501 properties of linked files. (Bug#9879)
3502
3503 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3504 local file name.
3505
3506 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * menu-bar.el (menu-bar-file-menu):
3509 * printing.el (pr-ps-utility):
3510 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3511 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3512 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3513 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3514 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3515 (icalendar--convert-cyclic-to-ical)
3516 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3517 (icalendar--convert-ical-to-diary)
3518 (icalendar--convert-recurring-to-diary)
3519 (icalendar--convert-non-recurring-all-day-to-diary)
3520 (icalendar-import-format-sample):
3521 * progmodes/idlw-shell.el (idlwave-shell-mode):
3522 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3523 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3524 (vhdl-ps-print-init): Fix typos.
3525
3526 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3527
3528 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3529 FSF and collapse date sequence, obscure author/maintainer email address
3530 better, remove extra version line, track relocation of author's webpage.
3531
3532 * progmodes/python.el (python-pdbtrack-input-prompt)
3533 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3534 regular python pdb prompts. Adjustments shamelessly taken exactly as
3535 suggested in EmacsWiki page (tiny change):
3536 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3537
3538 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3539
3540 * expand.el (expand-pos, expand-index, expand-point):
3541 Remove redundant info from docstring.
3542 (expand-add-abbrevs): Doc fix.
3543 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3544 (expand-sample-perl-mode-expand-list): Fix typos.
3545
3546 * net/dbus.el (dbus-event-member-name):
3547 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3548 * term/pc-win.el (msdos-create-frame-with-faces):
3549 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3550
3551 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3552
3553 * window.el (split-window, window-state-get-1)
3554 (window-state-put-1, window-state-put-2): Rename occurrences of
3555 window-nest to window-combination-limit.
3556 * cus-start.el (window-nest): Rename to window-combination-limit.
3557
3558 2011-11-16 Chong Yidong <cyd@gnu.org>
3559
3560 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3561 regexp (Bug#10033).
3562
3563 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3566 `completing-read' will remove *Completions* and will preserve
3567 current-buffer for us.
3568 (tmm-add-prompt): Users of *Completions* will always (re)set its
3569 major mode.
3570 (tmm-old-comp-map): Remove.
3571
3572 2011-11-16 Glenn Morris <rgm@gnu.org>
3573
3574 * mail/rmailedit.el: Require rmailmm when compiling.
3575 (rmail-old-mime-state): New declaration.
3576 (rmail-edit-current-message): If editing a mime message,
3577 edit the "raw" message from the mbox buffer.
3578 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3579
3580 2011-11-15 Glenn Morris <rgm@gnu.org>
3581
3582 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3583 which wasn't being used. Add optional arg to force given state.
3584 (rmail-mime): Add optional arg to force given state.
3585
3586 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3587
3588 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3589 * frame.el (display-mm-dimensions-alist):
3590 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3591 (outline-move-subtree-down):
3592 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3593 (newsticker--treeview-do-get-node):
3594 * net/quickurl.el (quickurl-list-buffer-name):
3595 * progmodes/dcl-mode.el (dcl-mode):
3596 * progmodes/gdb-mi.el (gdb-mapcar*):
3597 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3598
3599 2011-11-15 Glenn Morris <rgm@gnu.org>
3600
3601 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3602 in a boolean sense, so just make it a boolean, and fix the doc.
3603 (rmail-show-mime-function, rmail-mime-feature)
3604 (rmail-require-mime-maybe): Doc fixes.
3605 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3606
3607 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3608
3609 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3610
3611 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3612 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3613 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3614 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3615
3616 2011-11-15 Glenn Morris <rgm@gnu.org>
3617
3618 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3619 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3620 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3621 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3622 (rmail-mime, rmail-show-mime): Doc fixes.
3623
3624 * term/ns-win.el (mode-line-frame-identification):
3625 Leave it alone. (Bug#10051)
3626
3627 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3628
3629 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3630 Handle empty buffers. (Bug#9978)
3631
3632 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
3633
3634 * international/mule.el (define-charset):
3635 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3636 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3637 * progmodes/verilog-mode.el (verilog-backward-token):
3638 * textmodes/ispell.el (lookup-words):
3639 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3640
3641 2011-11-14 Glenn Morris <rgm@gnu.org>
3642
3643 * progmodes/executable.el
3644 (executable-make-buffer-file-executable-if-script-p):
3645 Handle file-modes returning nil.
3646
3647 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3648 message - not necessary, and causes problems. (Bug#9831)
3649
3650 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3651
3652 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3653
3654 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3655 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3656 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3657
3658 2011-11-12 Martin Rudalics <rudalics@gmx.at>
3659
3660 * window.el (window-resize, delete-window): Use window-splits
3661 variable instead of function.
3662 (window-state-get-1, window-state-put-2, window-state-put):
3663 Don't deal with windows' splits status.
3664
3665 2011-11-12 Glenn Morris <rgm@gnu.org>
3666
3667 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3668 (apropos-documentation): Doc fixes.
3669
3670 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
3671
3672 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3673 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3674
3675 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * electric.el (electric-indent-post-self-insert-function): Make it
3678 possible for a char to only indent in some circumstances.
3679 (electric-indent-mode): Simplify.
3680
3681 2011-11-11 Martin Rudalics <rudalics@gmx.at>
3682
3683 * window.el (windows-with-parameter): Remove unused function.
3684 (windows-at-side): Rename to window-at-side-list.
3685 (window-check, window-atom-check, window-atom-check-1)
3686 (window-side-check, window-size-ignore, window-size-fixed-1)
3687 (window-in-direction-2): Prefix with "window--".
3688 (window-tree-1): Rename to window--subtree, fix doc-string.
3689
3690 2011-11-11 Glenn Morris <rgm@gnu.org>
3691
3692 * subr.el (eval-after-load): If FILE is already loaded,
3693 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3694
3695 2011-11-10 Glenn Morris <rgm@gnu.org>
3696
3697 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3698 Call svn via vc-svn-command rather than vc-do-command.
3699 (vc-svn-command): Add --non-interactive. (Bug#9993)
3700 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3701
3702 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3703 Add toggle-read-only. (Bug#7292)
3704 * files.el (toggle-read-only): Mention that it should only
3705 be used interactively. (Bug#10006)
3706
3707 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3710 Adjust regexp for OCaml warnings.
3711
3712 * electric.el (electric-pair-post-self-insert-function): Let user
3713 turn it off buffer-locally (bug#9932).
3714
3715 * progmodes/python.el (python-beginning-of-statement):
3716 Rewrite (bug#2703).
3717
3718 * progmodes/compile.el: Better handle TABs (bug#9749).
3719 (compilation-internal-error-properties)
3720 (compilation-next-error-function): Obey the target buffer's
3721 compilation-error-screen-columns.
3722
3723 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
3724
3725 * progmodes/meta-mode.el: Remove obsolete comments.
3726 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3727 Fix typos in docstrings.
3728
3729 2011-11-09 Martin Rudalics <rudalics@gmx.at>
3730
3731 * window.el (window-size-fixed-p): Rewrite doc-string.
3732 (window-resizable-p): Rename to window--resizable-p. Update callers.
3733 (window--resizable): New function. Make all callers of
3734 window-resizable call window--resizable instead.
3735 (window-resizable): Rewrite in terms of window--resizable.
3736
3737 2011-11-08 Glenn Morris <rgm@gnu.org>
3738
3739 * progmodes/delphi.el (delphi-mode-syntax-table):
3740 Let define-derived-mode define a proper syntax table. (Bug#9994)
3741
3742 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * window.el: Stay away from defsubst.
3745 (window-list-no-nils): Remove.
3746 (window-state-get-1, window-state-get): Use backquote instead.
3747
3748 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3749
3750 * emacs-lisp/find-func.el (find-function-read):
3751 Fix incorrect use of default argument in `completing-read'.
3752
3753 2011-11-08 Martin Rudalics <rudalics@gmx.at>
3754
3755 * window.el (display-buffer-function, special-display-function):
3756 Mention display-buffer-record-window but do not mention
3757 help-setup parameter in doc-strings.
3758 (window-min-delta): Fix doc-string typo.
3759
3760 2011-11-08 Chong Yidong <cyd@gnu.org>
3761
3762 * window.el (window-total-height, window-total-width): Doc fix.
3763 (window-body-size): Move from C.
3764 (window-body-height, window-body-width): Move to C.
3765
3766 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * window.el: Make special-display like display-buffer-alist (bug#9532).
3769 (display-buffer--special-action): New function, morphed
3770 from display-buffer--special.
3771 (display-buffer): Use it to handle special-display-buffers at higher
3772 priority (just after display-buffer-alist).
3773 (display-buffer-fallback-action, display-buffer--other-frame-action)
3774 (pop-to-buffer-same-window): Remove display-buffer--special.
3775
3776 2011-11-07 Glenn Morris <rgm@gnu.org>
3777
3778 * calendar/cal-menu.el (cal-menu-set-date-title):
3779 Do nothing if not in a calendar. (Bug#9976)
3780
3781 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * files.el (find-file): Always use selected-window.
3784
3785 2011-11-07 Martin Rudalics <rudalics@gmx.at>
3786
3787 * window.el (window-combinations): Make WINDOW argument
3788 mandatory. Rewrite doc-string.
3789 (walk-window-subtree, window-atom-check, window-min-delta)
3790 (window-max-delta, window--resize-this-window)
3791 (window--resize-root-window-vertically, window-tree)
3792 (balance-windows, window-state-put): Rewrite doc-strings as to
3793 not mention the term "subwindow".
3794 (window--resize-subwindows-skip-p): Rename to
3795 window--resize-child-windows-skip-p.
3796 (window--resize-subwindows-normal): Rename to
3797 window--resize-child-windows-normal.
3798 (window--resize-subwindows): Rename to
3799 window--resize-child-windows.
3800 (window-or-subwindow-p): Rename to window--in-subtree-p.
3801
3802 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3803
3804 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3805 Ensure that mbox format messages end in two newlines (Bug#9974).
3806
3807 2011-11-06 Chong Yidong <cyd@gnu.org>
3808
3809 * window.el (window-combination-p): Function deleted; its
3810 side-effect is not used in any existing code.
3811 (window-combinations, window-combined-p): Call window-*-child
3812 directly.
3813
3814 2011-11-05 Chong Yidong <cyd@gnu.org>
3815
3816 * window.el (window-valid-p): Rename from window-any-p.
3817 (window-size-ignore, window-state-get): Callers changed.
3818 (window-normalize-window): Rename from window-normalize-any-window.
3819 New arg LIVE-ONLY, replacing window-normalize-live-window.
3820 (window-normalize-live-window): Delete.
3821 (window-combination-p, window-combined-p, window-combinations)
3822 (walk-window-subtree, window-atom-root, window-min-size)
3823 (window-sizable, window-sizable-p, window-size-fixed-p)
3824 (window-min-delta, window-max-delta, window-resizable)
3825 (window-resizable-p, window-full-height-p, window-full-width-p)
3826 (window-current-scroll-bars, window-point-1, set-window-point-1)
3827 (window-at-side-p, window-in-direction, window-resize)
3828 (adjust-window-trailing-edge, maximize-window, minimize-window)
3829 (window-deletable-p, delete-window, delete-other-windows)
3830 (record-window-buffer, unrecord-window-buffer)
3831 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3832 (quit-window, split-window, window-state-put)
3833 (set-window-text-height, fit-window-to-buffer)
3834 (shrink-window-if-larger-than-buffer): Callers changed.
3835
3836 2011-11-04 Eli Zaretskii <eliz@gnu.org>
3837
3838 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3839 rfc2047-decode-string.
3840 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3841 warnings.
3842
3843 * window.el (window-body-height, window-body-width): Mention in
3844 the doc string that the return values are in frame's canonical
3845 units. (Bug#9949)
3846
3847 2011-11-03 Alan Mackenzie <acm@muc.de>
3848
3849 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3850 change in cc-engine.el.
3851
3852 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3855
3856 2011-11-02 Martin Rudalics <rudalics@gmx.at>
3857
3858 * window.el (quit-window): Call unrecord-window-buffer after
3859 showing another buffer in the window. (Bug#9937)
3860 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3861
3862 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
3863
3864 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3865 Accept status with more than 9 shelves. (Bug#9935)
3866 Reported by Colin D Bennett <colin@gibibit.com>.
3867
3868 2011-11-01 Martin Rudalics <rudalics@gmx.at>
3869
3870 * help.el (with-help-window): Don't reference
3871 temp-buffer-show-specifiers in doc-string.
3872
3873 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3874
3875 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3876 menu-item.
3877
3878 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3879
3880 * whitespace.el: New version 13.2.2.
3881 (whitespace-newline-mode): Disable properly. Reported by Sarah
3882 <EmacsWiki>.
3883
3884 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
3885
3886 * net/newst-treeview.el: Remove "Time-stamp".
3887 (newsticker--group-manage-orphan-feeds): Do not call
3888 newsticker--treeview-tree-update.
3889 (newsticker-treeview-update, newsticker-treeview):
3890 Call newsticker--treeview-tree-update if necessary.
3891
3892 2011-10-30 Martin Rudalics <rudalics@gmx.at>
3893
3894 * window.el (window-iso-combination-p, window-iso-combined-p)
3895 (window-iso-combinations): Remove "iso-" infix.
3896 Suggested by Chong Yidong.
3897 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3898 (window-max-delta-1, window-resize, window--resize-siblings)
3899 (window--resize-this-window, adjust-window-trailing-edge)
3900 (split-window, balance-windows-1)
3901 (shrink-window-if-larger-than-buffer):
3902 * calendar/calendar.el (calendar-generate-window):
3903 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3904
3905 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3906
3907 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3908 in place (bug#9907).
3909 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3910 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3911 (eshell-structure-basic-command, eshell-rewrite-while-command)
3912 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3913 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3914 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3915 (eshell-do-pipelines-synchronously, eshell-eval-command):
3916 Use backquotes and prefer setq to set.
3917 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3918 (eshell-macrop): Use functionp.
3919 (eshell-do-eval): Handle multiple expressions in `while' body.
3920
3921 2011-10-30 Chong Yidong <cyd@gnu.org>
3922
3923 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3924 instead of set-mark (Bug#9810).
3925
3926 2011-10-30 Chong Yidong <cyd@gnu.org>
3927
3928 * window.el (split-window-below, split-window-right): Rename from
3929 split-window-above-each-other and split-window-side-by-side
3930 respectively. All callers changed.
3931 (split-window-sensibly, split-window-sensibly): Use them.
3932 (split-window-keep-point): Doc fix.
3933
3934 * isearch.el: Add isearch-scroll property to split-window-below
3935 and split-window-right.
3936
3937 * follow.el (follow-mode):
3938 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3939 * progmodes/ada-xref.el (ada-gdb-application):
3940 * emulation/vip.el (vip-buffer-in-two-windows):
3941 * image-dired.el (image-dired-dired-with-window-configuration):
3942 * dired-x.el (dired-do-find-marked-files):
3943 * dired.el (dired-pop-to-buffer):
3944 * bs.el (bs--show-with-configuration):
3945 * vc/emerge.el (emerge-setup-windows):
3946 * textmodes/two-column.el (2C-two-columns):
3947 * textmodes/reftex-toc.el (reftex-toc):
3948 * progmodes/gdb-mi.el (gdb-setup-windows):
3949 * progmodes/fortran.el (fortran-window-create):
3950 * net/newst-treeview.el (newsticker--treeview-window-init):
3951 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3952 * emulation/tpu-edt.el (tpu-gold-map):
3953 * emulation/crisp.el (crisp-mode-map):
3954 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3955
3956 2011-10-29 Chong Yidong <cyd@gnu.org>
3957
3958 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3959
3960 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3961
3962 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3963 forged Ispell output (Bug#7904).
3964
3965 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3966
3967 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * doc-view.el: Avoid ugly errors about not finding nil.
3970 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3971 (doc-view-dvipdf-program, doc-view-unoconv-program)
3972 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3973 Avoid nil or absolute file name as default value.
3974 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3975
3976 2011-10-28 Alan Mackenzie <acm@muc.de>
3977
3978 * progmodes/cc-defs.el (c-version): -> 5.32.2.
3979
3980 2011-10-28 Alan Mackenzie <acm@muc.de>
3981
3982 Amend the handling of c-beginning/end-of-defun in nested declaration
3983 scopes.
3984
3985 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3986 cc-langs.el. Change it to a defcustom.
3987
3988 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3989 cc-vars.el.
3990
3991 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3992 Prevent "class foo : bar" being spuriously recognized as a label.
3993
3994 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3995 Add parameter `inclusive' (to include enclosing braces in the region).
3996 (c-widen-to-enclosing-decl-scope): New function.
3997 (c-while-widening-to-decl-block): New macro.
3998 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3999 outward for defun boundaries, and correspondingly change symbol
4000 `respect-enclosure' to `go-outward'.
4001 (c-declaration-limits): Change algorithm to report only the "innermost"
4002 defun's boundaries.
4003
4004 2011-10-28 Deniz Dogan <deniz@dogan.se>
4005
4006 * net/rcirc.el (rcirc-mode): Use hard newlines.
4007
4008 2011-10-28 Alan Mackenzie <acm@muc.de>
4009
4010 Amend to indent and fontify macros "which include their own semicolon"
4011 correctly, using the "virtual semicolon" mechanism.
4012
4013 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4014
4015 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4016 Recode to scan one line at a time rather than having \n and \r
4017 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4018 (c-forward-label): Amend for virtual semicolons.
4019 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4020
4021 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4022 of the new C macros.
4023
4024 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4025 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4026 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4027 (c-opt-cpp-macro-define): Make into a full language variable.
4028 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4029 AWK Mode (including \n, \r) removed, no longer needed.
4030
4031 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4032 Invoke c-make-macro-with-semi-re.
4033
4034 * progmodes/cc-vars.el (c-macro-with-semi-re):
4035 (c-macro-names-with-semicolon): New variables.
4036 (c-make-macro-with-semi-re): New function.
4037
4038 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * vc/log-edit.el: Fill empty field rather than adding new one.
4041 (log-edit-add-field): New function.
4042 (log-edit-insert-changelog): Use it.
4043
4044 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4045
4046 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4047
4048 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4051 (gdb--check-interpreter): New function.
4052 (gdb): Use it.
4053
4054 2011-10-27 Glenn Morris <rgm@gnu.org>
4055
4056 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4057 (least-positive-float, least-negative-float)
4058 (least-positive-normalized-float, least-negative-normalized-float)
4059 (float-epsilon, float-negative-epsilon):
4060 Remove unnecessary declarations.
4061
4062 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4063 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4064 (least-positive-float, least-negative-float)
4065 (least-positive-normalized-float, least-negative-normalized-float)
4066 (float-epsilon, float-negative-epsilon): Add doc-strings,
4067 based on those in cl.texi.
4068
4069 * files.el (set-visited-file-name): If the major-mode changed,
4070 reload the local variables. (Bug#9796)
4071
4072 2011-10-27 Chong Yidong <cyd@gnu.org>
4073
4074 * subr.el (change-major-mode-after-body-hook): New hook.
4075 (run-mode-hooks): Run it.
4076
4077 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4078 Use change-major-mode-before-body-hook.
4079
4080 * simple.el (fundamental-mode):
4081 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4082 change introducing fundamental-mode-hook.
4083
4084 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4085
4086 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4087
4088 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4089
4090 * ido.el (ido-file-name-all-completions-1): Do not require
4091 tramp.el explicitly. (Bug#7583)
4092
4093 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * progmodes/octave-mod.el:
4096 * progmodes/octave-inf.el: Update maintainer.
4097
4098 2011-10-26 Chong Yidong <cyd@gnu.org>
4099
4100 * subr.el (with-wrapper-hook): Rewrite doc.
4101
4102 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4103
4104 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4105 filenames "/method:foo:". (Bug#9793)
4106
4107 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4110 (bug#9865).
4111
4112 2011-10-24 Glenn Morris <rgm@gnu.org>
4113
4114 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4115
4116 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4117
4118 * notifications.el: Add the requirement of a running D-Bus session
4119 bus to the Commentary.
4120
4121 2011-10-24 Juri Linkov <juri@jurta.org>
4122
4123 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4124 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4125 (Bug#9364)
4126
4127 2011-10-24 Juri Linkov <juri@jurta.org>
4128
4129 * info.el (Info-following-node-name-re): Add newline to the list
4130 of allowed characters for leading space. (Bug#9824)
4131
4132 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 * progmodes/octave-inf.el (inferior-octave-mode-map):
4135 Fix C-c C-h binding.
4136 * progmodes/octave-mod.el (octave-help): Remove.
4137
4138 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4139
4140 Sync with Tramp 2.2.3.
4141
4142 * net/tramp-cache.el (top): Pacify byte-compiler using
4143 `init-file-user' and `site-run-file'.
4144
4145 * net/trampver.el: Update release number.
4146
4147 2011-10-23 Chong Yidong <cyd@gnu.org>
4148
4149 * files.el (toggle-read-only): Remove obsolete comment about
4150 version control.
4151
4152 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4153 for toggle-read-only. Note that this hasn't called vc-next-action
4154 since 2008-05-02, though it wasn't documented at the time.
4155
4156 * vc/ediff-init.el (ediff-toggle-read-only-function):
4157 Use toggle-read-only.
4158
4159 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4160
4161 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4162 of c-parse-state.
4163
4164 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4165 correct faulty logical expression.
4166 (c-parse-state-state, c-record-parse-state-state):
4167 (c-replay-parse-state-state): New defvar/defuns.
4168 (c-debug-parse-state): Use new functions.
4169
4170 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4171
4172 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4173 last fix. Use window-in-direction correctly.
4174
4175 2011-10-21 Chong Yidong <cyd@gnu.org>
4176
4177 * progmodes/idlwave.el (idlwave-mode):
4178 * progmodes/vera-mode.el (vera-mode): No need to set
4179 require-final-newline; that's done in prog-mode.
4180 Suggested by Stefan Monnier.
4181
4182 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4183
4184 * mouse.el (mouse-drag-window-above)
4185 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4186 (mouse-drag-mode-line-1, mouse-drag-header-line)
4187 (mouse-drag-vertical-line-rightward-window): Remove.
4188 (mouse-drag-line): New function.
4189 (mouse-drag-mode-line, mouse-drag-header-line)
4190 (mouse-drag-vertical-line): Call mouse-drag-line.
4191 * window.el (window-at-side-p, windows-at-side): New functions.
4192
4193 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4194
4195 * tar-mode.el (tar-grind-file-mode):
4196 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4197
4198 2011-10-21 Chong Yidong <cyd@gnu.org>
4199
4200 * progmodes/idlwave.el (idlwave-mode):
4201 * progmodes/vera-mode.el (vera-mode):
4202 Use mode-require-final-newline.
4203
4204 2011-10-20 Glenn Morris <rgm@gnu.org>
4205
4206 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4207
4208 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4209
4210 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4211
4212 2011-10-20 Chong Yidong <cyd@gnu.org>
4213
4214 * emulation/cua-base.el (cua-mode):
4215 * mail/footnote.el (footnote-mode):
4216 * mail/mailabbrev.el (mail-abbrevs-mode):
4217 * net/xesam.el (xesam-minor-mode):
4218 * progmodes/bug-reference.el (bug-reference-mode):
4219 * progmodes/cap-words.el (capitalized-words-mode):
4220 * progmodes/compile.el (compilation-minor-mode)
4221 (compilation-shell-minor-mode):
4222 * progmodes/gud.el (gud-tooltip-mode):
4223 * progmodes/hideif.el (hide-ifdef-mode):
4224 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4225 * progmodes/subword.el (subword-mode):
4226 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4227 * progmodes/which-func.el (which-function-mode):
4228 * term/tvi970.el (tvi970-set-keypad-mode):
4229 * term/vt100.el (vt100-wide-mode):
4230 * textmodes/flyspell.el (flyspell-mode):
4231 * textmodes/ispell.el (ispell-minor-mode):
4232 * textmodes/nroff-mode.el (nroff-electric-mode):
4233 * textmodes/paragraphs.el (use-hard-newlines):
4234 * textmodes/refill.el (refill-mode):
4235 * textmodes/reftex.el (reftex-mode):
4236 * textmodes/rst.el (rst-minor-mode):
4237 * textmodes/sgml-mode.el (html-autoview-mode)
4238 (sgml-electric-tag-pair-mode):
4239 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4240 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4241 * emulation/crisp.el (crisp-mode):
4242 * emacs-lisp/eldoc.el (eldoc-mode):
4243 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4244 minor mode behavior.
4245
4246 2011-10-19 Juri Linkov <juri@jurta.org>
4247
4248 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4249 the list of hard-coded chars with escape-glyph face.
4250
4251 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4254
4255 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4256
4257 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4258 running process.
4259
4260 2011-10-19 Glenn Morris <rgm@gnu.org>
4261
4262 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4263 Ignore ignored files. (Bug#9726)
4264
4265 2011-10-19 Chong Yidong <cyd@gnu.org>
4266
4267 Doc fix for minor modes, stating that an omitted argument enables
4268 the mode unconditionally when called from Lisp.
4269
4270 * abbrev.el (abbrev-mode):
4271 * allout.el (allout-mode):
4272 * autoinsert.el (auto-insert-mode):
4273 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4274 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4275 (global-auto-revert-mode):
4276 * battery.el (display-battery-mode):
4277 * composite.el (global-auto-composition-mode)
4278 (auto-composition-mode):
4279 * delsel.el (delete-selection-mode):
4280 * desktop.el (desktop-save-mode):
4281 * dired-x.el (dired-omit-mode):
4282 * dirtrack.el (dirtrack-mode):
4283 * doc-view.el (doc-view-minor-mode):
4284 * double.el (double-mode):
4285 * electric.el (electric-indent-mode, electric-pair-mode):
4286 * emacs-lock.el (emacs-lock-mode):
4287 * epa-hook.el (auto-encryption-mode):
4288 * follow.el (follow-mode):
4289 * font-core.el (font-lock-mode):
4290 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4291 * help.el (temp-buffer-resize-mode):
4292 * hilit-chg.el (highlight-changes-mode)
4293 (highlight-changes-visible-mode):
4294 * hi-lock.el (hi-lock-mode):
4295 * hl-line.el (hl-line-mode, global-hl-line-mode):
4296 * icomplete.el (icomplete-mode):
4297 * ido.el (ido-everywhere):
4298 * image-file.el (auto-image-file-mode):
4299 * image-mode.el (image-minor-mode):
4300 * iswitchb.el (iswitchb-mode):
4301 * jka-cmpr-hook.el (auto-compression-mode):
4302 * linum.el (linum-mode):
4303 * longlines.el (longlines-mode):
4304 * master.el (master-mode):
4305 * mb-depth.el (minibuffer-depth-indicate-mode):
4306 * menu-bar.el (menu-bar-mode):
4307 * minibuf-eldef.el (minibuffer-electric-default-mode):
4308 * mouse-sel.el (mouse-sel-mode):
4309 * msb.el (msb-mode):
4310 * mwheel.el (mouse-wheel-mode):
4311 * outline.el (outline-minor-mode):
4312 * paren.el (show-paren-mode):
4313 * recentf.el (recentf-mode):
4314 * reveal.el (reveal-mode, global-reveal-mode):
4315 * rfn-eshadow.el (file-name-shadow-mode):
4316 * ruler-mode.el (ruler-mode):
4317 * savehist.el (savehist-mode):
4318 * scroll-all.el (scroll-all-mode):
4319 * scroll-bar.el (scroll-bar-mode):
4320 * server.el (server-mode):
4321 * shell.el (shell-dirtrack-mode):
4322 * simple.el (auto-fill-mode, transient-mark-mode)
4323 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4324 (line-number-mode, column-number-mode, size-indication-mode)
4325 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4326 * strokes.el (strokes-mode):
4327 * time.el (display-time-mode):
4328 * t-mouse.el (gpm-mouse-mode):
4329 * tool-bar.el (tool-bar-mode):
4330 * tooltip.el (tooltip-mode):
4331 * type-break.el (type-break-mode-line-message-mode)
4332 (type-break-query-mode):
4333 * view.el (view-mode):
4334 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4335 (global-whitespace-mode, global-whitespace-newline-mode):
4336 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4337
4338 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4339 Fix autogenerated docstring.
4340
4341 2011-10-19 Juri Linkov <juri@jurta.org>
4342
4343 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4344 by checking environment variables "DESKTOP_SESSION" and
4345 "XDG_CURRENT_DESKTOP". (Bug#9779)
4346
4347 2011-10-19 Juri Linkov <juri@jurta.org>
4348
4349 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4350 (browse-url-chromium-program, browse-url-chromium-arguments):
4351 New defcustoms.
4352 (browse-url-default-browser): Check for `browse-url-chromium' and
4353 call `browse-url-chromium-program'.
4354 (browse-url-chromium): New command. (Bug#9779)
4355
4356 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4357
4358 * facemenu.el (list-colors-duplicates): On Windows, detect more
4359 duplicates by assuming that only colors matching "^System" are
4360 special "system colors". (Bug#9722)
4361
4362 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4365 to distinguish the author from the committer.
4366
4367 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4368
4369 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4370
4371 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4372
4373 * international/mule.el (sgml-html-meta-auto-coding-function):
4374 Add support for detecting encoding in HTML5 specified only as
4375 <meta charset="UTF-8">. Implementation just makes http-equiv and
4376 content-type parts from HTML4 encoding string optional. (Bug#9716)
4377
4378 2011-10-18 Glenn Morris <rgm@gnu.org>
4379
4380 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4381
4382 2011-10-18 Chong Yidong <cyd@gnu.org>
4383
4384 * faces.el (cursor): Doc fix.
4385
4386 2011-10-17 Chong Yidong <cyd@gnu.org>
4387
4388 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4389
4390 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4391
4392 * dirtrack.el (dirtrack): Support shell buffers with path
4393 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4394
4395 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4396
4397 * json.el: Bump version to 1.3 and note change in History.
4398 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4399
4400 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * comint.el (comint-insert-input, comint-send-input)
4403 (comint-get-old-input-default, comint-backward-matching-input)
4404 (comint-next-prompt): Use nil instead of `input' for field property of
4405 past user input (bug#114).
4406
4407 * minibuffer.el (completion--replace): Inherit surrounding properties
4408 (bug#114).
4409 (minibuffer-complete-and-exit): Use it.
4410
4411 * comint.el (comint--table-subvert): Quote the all-completions output
4412 (bug#9160).
4413
4414 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4415
4416 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4417
4418 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4419 window on right of selected. (Bug#9350) Reword other window
4420 entries and separate them from frame entries.
4421
4422 2011-10-15 Glenn Morris <rgm@gnu.org>
4423
4424 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4425 Doc fixes.
4426
4427 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4428
4429 * net/network-stream.el (network-stream-open-starttls):
4430 Improve detection of failure due to lack of TLS support.
4431
4432 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4433 putting the input text in front and in bold.
4434
4435 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4438
4439 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4440 empty buffer.
4441
4442 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4443 unread-command-events rather than pushing yet-another event.
4444
4445 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4446
4447 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4448 the explanation of the possible choices. Make the options passed
4449 to completing-read shorter.
4450
4451 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4452
4453 * textmodes/flyspell.el (flyspell-large-region): Make sure
4454 extended character mode is used if defined (Bug#1339).
4455
4456 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4457
4458 * simple.el (what-cursor-position): Fix the display of the
4459 character info for LRE, LRO, RLE, and RLO characters by appending
4460 an invisible PDF.
4461
4462 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4465 even in case of error; add debug spec; simplify data flow.
4466 (with-timeout-handler): Remove.
4467
4468 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4469
4470 Fix Bug#6019, Bug#9315.
4471
4472 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4473 complete `buffer-file-name', the local file name part could look
4474 remotely (for example on VMS).
4475
4476 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4477 `tramp-run-real-handler'.
4478 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4479 already quoted by '"'.
4480
4481 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4482 Let `file-name-handler-alist' be nil, the local file name part
4483 could look remotely (for example on VMS).
4484
4485 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4488 from here...
4489 (flyspell-post-command-hook): ...to here.
4490
4491 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4494 if not needed.
4495 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4496 using completion. Protect against "slow" callers.
4497 Remove the "message hack".
4498
4499 2011-10-11 Juri Linkov <juri@jurta.org>
4500
4501 * isearch.el (isearch-lazy-highlight-word): New variable.
4502 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4503 Use it. (Bug#9727)
4504
4505 2011-10-11 Glenn Morris <rgm@gnu.org>
4506
4507 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4508 like f90-previous-statement does.
4509
4510 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4511
4512 * eshell/eshell.el (eshell-command): History should be saved
4513 only in interactive use, to avoid error.
4514
4515 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * minibuffer.el (completion-file-name-table): Fix last change,
4518 i.e. ignore normal errors but not the other ones.
4519
4520 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4521
4522 * window.el (special-display-buffer-names)
4523 (special-display-regexps): Remove some remnants of earlier
4524 changes from doc-strings.
4525 (quit-windows-on): New function.
4526
4527 * vc/vc.el (vc-revert, vc-rollback):
4528 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4529 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4530 (Bug#6183) (Bug#7074) (Bug#7447)
4531
4532 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4533
4534 * window.el (frame-auto-hide-function): Add version tag.
4535 (Bug#9699)
4536
4537 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4538
4539 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4540 condition.
4541
4542 2011-10-09 Leo Liu <sdl.web@gmail.com>
4543
4544 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4545 (Bug#9701)
4546
4547 2011-10-08 Glenn Morris <rgm@gnu.org>
4548
4549 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4550 before the first code statement zero indent. (Bug#9690)
4551
4552 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4553
4554 * simple.el (count-words-region): Always count in the region.
4555 Report the number of lines and characters too.
4556 (count-words): New command, which counts in the buffer if the
4557 region is inactive, as count-words-region used to.
4558 (count-words--message): New function. Handle plurals.
4559 (count-lines-region): Make it an alias for count-words-region.
4560
4561 * bindings.el (esc-map): Replace count-lines-region with
4562 count-words-region.
4563
4564 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4565
4566 * window.el (window--delete): Delete dedicated frame
4567 unconditionally when argument KILL is non-nil. (Bug#9699)
4568 (switch-to-buffer): Fix doc-string typo.
4569
4570 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4571
4572 * eshell/eshell.el (eshell-command): Avoid using hooks.
4573
4574 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
4575
4576 * bindings.el ([M-left],[M-right]): Bind to left-word and
4577 right-word respectively.
4578
4579 2011-10-07 Glenn Morris <rgm@gnu.org>
4580
4581 * cus-start.el (debug-on-quit): Fix custom type.
4582
4583 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4584
4585 * subr.el (define-key-after): Clarify that the function is not
4586 useful for non-menu keymaps.
4587
4588 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4589
4590 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4591
4592 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4593 in current minibuffer (Fix bug with recursive minibuffers).
4594
4595 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
4596
4597 * progmodes/gdb-mi.el (gdb): Doc fix.
4598
4599 2011-10-05 Martin Rudalics <rudalics@gmx.at>
4600
4601 * window.el (frame-auto-hide-function): New option replacing
4602 frame-auto-delete. Suggested by Stefan Monnier.
4603 (window--delete): Call frame-auto-hide-function instead of
4604 investigating frame-auto-delete.
4605 (window-point-1, set-window-point-1): New functions.
4606 (window-in-direction, record-window-buffer, window-state-get-1)
4607 (display-buffer-record-window): Use window-point-1 instead of
4608 window-point.
4609 (set-window-buffer-start-and-point): Use set-window-point-1.
4610
4611 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4614
4615 2011-10-05 Glenn Morris <rgm@gnu.org>
4616
4617 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4618 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4619
4620 2011-10-05 Leo Liu <sdl.web@gmail.com>
4621
4622 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4623 works with buffer object.
4624
4625 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * mpc.el (mpc-tool-bar-map): Add labels.
4628
4629 2011-10-04 Glenn Morris <rgm@gnu.org>
4630
4631 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4632
4633 2011-10-04 Martin Rudalics <rudalics@gmx.at>
4634
4635 * window.el (window--delete): New function.
4636 (frame-auto-delete): Resuscitate option.
4637 (bury-buffer, replace-buffer-in-windows)
4638 (quit-window): Rewrite using window--delete.
4639 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4640 Pass display-buffer-mark-dedicated to window--display-buffer-2
4641 (Bug#9639).
4642
4643 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4646 returns a list (bug#9554). Add remote file name completion.
4647 * comint.el (comint--table-subvert): Curry and get quote&unquote
4648 functions as arguments.
4649 (comint--complete-file-name-data): Adjust call accordingly.
4650 * pcomplete.el (pcomplete--table-subvert): Remove.
4651 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4652
4653 * minibuffer.el (completion-table-case-fold): Use currying.
4654 (completion--styles-type, completion--cycling-threshold-type):
4655 New constants.
4656 (completion-styles, completion-category-overrides)
4657 (completion-cycle-threshold): Use them.
4658 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4659 completion-table-case-fold.
4660
4661 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
4662
4663 * minibuffer.el (completion-category-overrides): Fix type of styles
4664 and add more user friendly tags (bug#9660).
4665
4666 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4669 (mule-input-method-string): New widget.
4670 (default-input-method, language-info-custom-alist): Use it.
4671
4672 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * pcomplete.el: Require comint.
4675 (pcomplete--common-suffix): Remove.
4676 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4677 (pcomplete--table-subvert): Sync with comint--table-subvert.
4678 (pcomplete--entries): Use comint-completion-file-name-table.
4679 * comint.el (comint-unquote-filename): Simplify.
4680 (comint-completion-file-name-table): New function (bug#9616).
4681 (comint--complete-file-name-data): Use it.
4682
4683 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4684 (pcmpl-gnu-tar-buffer): Remove.
4685 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4686 around. Make sure pcomplete-suffix-list is only changed temporarily.
4687 Don't look inside the tar's file if it's too large.
4688
4689 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
4690
4691 * cus-edit.el (custom-mode-map):
4692 * epa.el (epa-key-list-mode-map):
4693 * man.el (Man-mode-map):
4694 * startup.el (splash-screen-keymap):
4695 * simple.el (special-mode-map): Use scroll-up-command and
4696 scroll-down-command.
4697
4698 * progmodes/idlw-help.el (idlwave-help-mode-map):
4699 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4700 * net/newst-plainview.el (newsticker-mode-map):
4701 * emulation/ws-mode.el (wordstar-mode-map):
4702 * emulation/vi.el (vi-com-map):
4703 * calc/calc-graph.el (calc-graph-show-dumb):
4704 * term/sun.el (terminal-init-sun):
4705 * term/ns-win.el (global-map):
4706 * progmodes/grep.el (grep-mode-map):
4707 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4708 * mail/rmail.el (rmail-mode-map):
4709 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4710
4711 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4712 custom-safe-themes as special.
4713
4714 2011-10-01 Julien Danjou <julien@danjou.info>
4715
4716 * notifications.el (notifications-notify): Fix docstring.
4717
4718 2011-10-01 Per Starbäck <per@starback.se>
4719
4720 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4721
4722 2011-09-30 Martin Rudalics <rudalics@gmx.at>
4723
4724 * startup.el (command-line-1): Fix last fix by inserting
4725 initial-scratch-message into *scratch* before displaying it.
4726 (Bug#9605) and (Bug#9636)
4727
4728 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4729
4730 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4731 window is hscrolled, move by logical lines. (Bug#9607)
4732 (line-move-visual): Update the doc string to the above effect.
4733
4734 2011-09-29 Martin Rudalics <rudalics@gmx.at>
4735
4736 * window.el (display-buffer-record-window): When WINDOW is the
4737 selected window use `point' instead of `window-point'. (Bug#9626)
4738
4739 * startup.el (command-line-1): Use insert-before-markers when
4740 inserting initial-scratch-message. (Bug#9605)
4741
4742 * help.el (help-window): Remove variable.
4743
4744 2011-09-29 Glenn Morris <rgm@gnu.org>
4745
4746 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4747
4748 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * descr-text.el (describe-char-categories): Accept category
4751 descriptions more than one line long.
4752
4753 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * simple.el (delete-trailing-whitespace): Fix last change.
4756
4757 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4758 Don't confuse "y => 3" as the beginning of a `y' operation.
4759
4760 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4761 object has more than 4 slots (bug#9613).
4762
4763 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * subr.el (with-output-to-temp-buffer):
4766 * net/quickurl.el (quickurl, quickurl-browse-url):
4767 Fix typos in docstrings.
4768
4769 2011-09-27 Eli Zaretskii <eliz@gnu.org>
4770
4771 * minibuffer.el (completion-styles)
4772 (completion-category-overrides): Cross reference each other in doc
4773 strings.
4774
4775 2011-09-27 Glenn Morris <rgm@gnu.org>
4776
4777 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4778 to split-string. (Bug#9606)
4779
4780 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4781
4782 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4783 (bug#9615).
4784
4785 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
4786
4787 * emacs-lisp/package.el (list-packages): Fix echo area message.
4788
4789 2011-09-27 Leo Liu <sdl.web@gmail.com>
4790
4791 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4792
4793 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
4794
4795 * net/dbus.el (dbus-unregister-object): Don't release services for
4796 registered signals. (Bug#9581)
4797
4798 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4799
4800 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4801 function that picks between cfengine 2 and 3 support
4802 automatically. Update docs accordingly.
4803
4804 2011-09-22 Kenichi Handa <handa@m17n.org>
4805
4806 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4807 ZERO.
4808 (indian-itrans-v5-table-for-tamil): New variable.
4809 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4810
4811 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4812
4813 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4814 that's true if the current command involved collapsing of text.
4815 It's reset to false at the beginning of the next command.
4816 (allout-post-command-business): Move the cursor to the beginning
4817 of entry if the cursor is hidden and collapsing activity just
4818 happened.
4819
4820 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
4821
4822 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4823 tracking (Bug#9541).
4824
4825 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
4826
4827 * net/newst-reader.el (newsticker-html-renderer)
4828 (newsticker-show-news): Automatically load html rendering package
4829 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4830 because w3m-fill-column is let-bound" and the error "Symbol's value
4831 as variable is void: w3m-fill-column".
4832
4833 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4836 Release services only if they are defined. (Bug#9581)
4837
4838 2011-09-23 Richard Stallman <rms@gnu.org>
4839
4840 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4841 distinguish start of paragraph from start of its text.
4842
4843 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4844
4845 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4846 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4847 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4848
4849 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4850
4851 * international/mule-diag.el (mule-diag): Insert a newline after
4852 each fontset description.
4853
4854 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * simple.el (delete-trailing-whitespace):
4857 Document last change; simplify.
4858
4859 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4860
4861 * simple.el (delete-trailing-whitespace): Also delete
4862 extra newlines at the end of the buffer.
4863
4864 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4865 (picture-newline): Use forward-line so as to ignore fields.
4866
4867 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * subr.el (with-wrapper-hook): Fix edebug spec.
4870
4871 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4872
4873 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4874 (bug#4538).
4875
4876 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
4877
4878 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4879 Fix nasty bug using wrong cached values.
4880
4881 2011-09-23 Alan Mackenzie <acm@muc.de>
4882
4883 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4884
4885 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
4886
4887 * window.el (pop-to-buffer): Ensure right window is selected if we
4888 chose another frame.
4889
4890 2011-09-22 Eli Zaretskii <eliz@gnu.org>
4891
4892 * simple.el (what-cursor-position): Use get-char-property-change
4893 and next-single-char-property-change, to be able to show display
4894 properties that come from overlays as well as text properties.
4895
4896 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
4897
4898 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4899
4900 * cmuscheme.el (run-scheme, switch-to-scheme):
4901 * cus-edit.el (customize-group, custom-buffer-create)
4902 (customize-browse):
4903 * info.el (info):
4904 * shell.el (shell):
4905 * mail/sendmail.el (mail):
4906 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4907
4908 2011-09-22 Richard Stallman <rms@gnu.org>
4909
4910 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4911 move back only to line beg, don't move back over blank lines.
4912
4913 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * files.el (copy-directory): Set directory attributes only in case
4916 they could be retrieved from the source directory. (Bug#9565)
4917
4918 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4919
4920 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4921 (hs-find-block-beginning, hs-hide-level-recursive):
4922 Ignore strings as well as comments. (Bug#9502)
4923
4924 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4925
4926 * progmodes/sql.el (sql-comint-postgres):
4927 Convert port number to a string. (Bug#9566)
4928
4929 2011-09-22 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (quit-window): Undedicate window when switching to
4932 previous buffer. Reported by Thierry Volpiatto
4933 <thierry.volpiatto@gmail.com>.
4934 (special-display-popup-frame): When popping up a new frame reset
4935 its previous buffers to nil. Simplify code.
4936
4937 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
4938
4939 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4940 and process filter, as done also in `shell-command'.
4941
4942 2011-09-21 Martin Rudalics <rudalics@gmx.at>
4943
4944 * window.el (set-window-buffer-start-and-point):
4945 Call set-window-start with NOFORCE argument t.
4946 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4947 (quit-window): Reword doc-string. Handle new format of
4948 quit-restore parameter. Don't delete window if it has a
4949 previous buffer we can show instead of the present one.
4950 (display-buffer-record-window): Rewrite using a new format for
4951 the quit-restore window parameter
4952 (special-display-popup-frame, display-buffer-same-window)
4953 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4954 (display-buffer-pop-up-window, display-buffer-use-some-window):
4955 Adapt symbol passed to display-buffer-record-window.
4956 * help.el (help-window-setup): Handle new format of quit-restore
4957 parameter.
4958
4959 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4960
4961 * faces.el (face-list): Fix docstring (bug#9564).
4962
4963 * window.el (display-buffer--action-function-custom-type):
4964 Don't include internal functions in the Custom interface.
4965
4966 2011-09-20 Juri Linkov <juri@jurta.org>
4967
4968 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4969 (Info-forward-node, Info-backward-node, Info-next-preorder)
4970 (Info-last-preorder): Use it. (Bug#9528)
4971
4972 2011-09-20 Juri Linkov <juri@jurta.org>
4973
4974 * info.el (Info-last-preorder): Visit last menu item only when
4975 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4976
4977 2011-09-20 Julien Danjou <julien@danjou.info>
4978
4979 * password-cache.el (password-cache-remove): Remove entries even if the
4980 value is nil, so that password with a nil value (negative caching) is
4981 possible to invalidate.
4982
4983 2011-09-20 Lawrence Mitchell <wence@gmx.li>
4984
4985 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4986 all whitespace around breakpoint. (Bug#9553)
4987 (f90-find-breakpoint): Only break at whitespace inside a comment.
4988
4989 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * minibuffer.el (completion-file-name-table): Keep track of errors.
4992 (completion-table-with-predicate): Handle the case where pred1 is nil.
4993 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4994
4995 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4998 (debugger-return-value): Signal an error if the debugging context does
4999 not await any return value.
5000
5001 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5002 * image-mode.el (image-toggle-display-text)
5003 (image-toggle-display-image): Stay away from evil `intangible'.
5004
5005 2011-09-19 Leo Liu <sdl.web@gmail.com>
5006
5007 * replace.el (occur-revert-arguments): Make it permanent-local.
5008 (occur-mode): Don't call font-lock-defontify.
5009
5010 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5011
5012 * net/ldap.el (ldap-search-internal): Don't push empty search
5013 result (Bug#9508).
5014
5015 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5018
5019 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5020
5021 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5022 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5023
5024 2011-09-18 Juri Linkov <juri@jurta.org>
5025
5026 * buff-menu.el (Buffer-menu-mode-map):
5027 * dired.el (dired-mode-map):
5028 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5029 (lisp-interaction-mode-map):
5030 * emacs-lisp/package.el (package-menu-mode-map):
5031 * epa.el (epa-key-list-mode-map):
5032 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5033 (menu-bar-options-menu):
5034 * outline.el (outline-mode-menu-bar-map):
5035 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5036 * vc/vc-dir.el (vc-dir-menu-map):
5037 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5038 Capitalize non-function content words in menu item strings.
5039
5040 * dired.el (dired-mode-map): Add menu item for
5041 `image-dired-dired-toggle-marked-thumbs'.
5042
5043 2011-09-18 Juri Linkov <juri@jurta.org>
5044
5045 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5046 to `isearch-case-fold-search' and restore its original value
5047 after the `isearch-mode' call.
5048
5049 2011-09-18 Juri Linkov <juri@jurta.org>
5050
5051 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5052 because `zgrep' returns 1 for successful matches (bug#9226).
5053
5054 2011-09-18 Juri Linkov <juri@jurta.org>
5055
5056 * info.el (Info-extract-menu-node-name): Check the second match
5057 for empty string (second test-case of bug#9528).
5058 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5059 intermediate nodes to the history (first test-case of bug#9528).
5060
5061 2011-09-18 Juri Linkov <juri@jurta.org>
5062
5063 * info.el (Info-mode-syntax-table): New variable.
5064 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5065
5066 2011-09-18 Juri Linkov <juri@jurta.org>
5067
5068 * info.el (Info-file-supports-index-cookies):
5069 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5070 outputs one more line for long file names (bug#4142).
5071
5072 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5073
5074 * newcomment.el (comment-normalize-vars): If prompting for
5075 comment-start, set comment-start-skip too (Bug#8424).
5076
5077 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5078
5079 * icomplete.el: Fix previous fix of Bug#5849.
5080 (icomplete-mode): Don't set completion-show-inline-help.
5081 (icomplete-minibuffer-setup): Set completion-show-inline-help
5082 locally during icompletion.
5083
5084 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5085
5086 * woman.el (woman2-process-escapes): Don't delete unrecognized
5087 escapes (Bug#7843).
5088
5089 * files.el (inhibit-first-line-modes-regexps): Add image files.
5090 (hack-local-variables-prop-line): Return nil for malformed
5091 prop-lines (Bug#9044).
5092
5093 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5094
5095 * net/tramp.el (top): Don't require 'shell.
5096 (tramp-methods): Fix docstring.
5097 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5098 Return complete remote file name. Handle "smb" case.
5099 Use `tramp-tmpdir', if defined for the respective method.
5100 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5101
5102 * net/tramp-compat.el (top): Require 'shell.
5103
5104 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5105 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5106 `tramp-current-host'.
5107 (tramp-get-remote-tmpdir): Remove.
5108
5109 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5110 `tramp-tmpdir' entries.
5111 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5112 (tramp-smb-handle-file-attributes): Ignore errors.
5113 (tramp-smb-wait-for-output): Check also for process end.
5114
5115 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5116
5117 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5118 when sending QUIT (bug#9312).
5119
5120 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5121
5122 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5123 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5124 occur-mode-display-occurrence.
5125 (occur-edit-mode): Add usage message.
5126 (occur-cease-edit): New command.
5127 (occur-after-change-function): Use text properties to find the
5128 position of the prefix text.
5129 (occur-engine): Set stickiness of prefix text properties.
5130
5131 2011-09-17 Glenn Morris <rgm@gnu.org>
5132
5133 * progmodes/etags.el (complete-tag):
5134 Fix call to completion-in-region. (Bug#9526)
5135
5136 2011-09-17 Juri Linkov <juri@jurta.org>
5137
5138 * textmodes/ispell.el (ispell-word): Add to the error message
5139 the word, ispell program name and current dictionary (bug#9121).
5140 (ispell-tex-arg-end): Capitalize "error" in the error message.
5141
5142 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5143
5144 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5145 check. (Bug#4251)
5146
5147 2011-09-17 Juri Linkov <juri@jurta.org>
5148
5149 * window.el (window-safe-min-height, window-safe-min-width):
5150 Fix typos (followup to bug#9522).
5151
5152 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5153
5154 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5155
5156 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5157
5158 * simple.el (line-move): If goal-column is set, move by logical
5159 lines, not by display lines. (Bug#971)
5160 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5161 to reflect the above change.
5162
5163 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * image.el (imagemagick-register-types): Use regexp-opt.
5166
5167 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5168
5169 * window.el (display-buffer-base-action): Rename from
5170 display-buffer-default-action. Make default value empty.
5171 (display-buffer-overriding-action): Convert to defvar.
5172 (display-buffer-fallback-action): New var.
5173
5174 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5175
5176 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5177 declaration.
5178 (package--add-to-archive-contents): If there is a duplicate entry
5179 with an older version, remove it.
5180 (package-menu-mark-delete, package-menu-mark-install)
5181 (package-menu-mark-unmark): Make unused args optional.
5182 (package-menu-mark-obsolete-for-deletion):
5183 Use package-menu-get-status instead of a regexp search.
5184 (package-menu-get-status): Use tabulated-list-entry.
5185 (package-menu-mark-upgrades): New command.
5186 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5187 (package-menu-execute): Do installation before deletion.
5188 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5189 instead of checking major-mode.
5190 (package-menu--find-upgrades): New function.
5191
5192 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5193
5194 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5195 passwords in the log buffer.
5196 (smtpmail-process-filter): Update the process marker so that the
5197 "broken by peer" status message is inserted in the right place.
5198
5199 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5202 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5203 bibtex-completion-at-point-function.
5204 (bibtex-completion-at-point-function): Use them.
5205
5206 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5207
5208 * mpc.el (mpc-constraints-tag-lookup): New function.
5209 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5210 also to browser "album|playlist".
5211
5212 2011-09-14 Juri Linkov <juri@jurta.org>
5213
5214 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5215 (isearch-edit-string): Use length of `isearch-string' when
5216 `isearch-fail-pos' returns nil.
5217 (isearch-message): Remove duplicate code and call
5218 `isearch-fail-pos' with arg `t'.
5219
5220 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5221
5222 * replace.el (occur-mode-goto-occurrence): Don't force using other
5223 window (Bug#9499).
5224
5225 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5226
5227 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (display-buffer-window): Remove.
5230 (display-buffer-record-window): Use help-setup window parameter
5231 instead of variable display-buffer-window.
5232 (display-buffer-function, special-display-buffer-names)
5233 (special-display-function): Mention help-setup parameter instead
5234 of display-buffer-window in doc-string.
5235 * help.el (help-window-setup): New argument help-window.
5236 Use help-window-setup parameter instead of display-buffer-window.
5237 Reword some messages.
5238 (with-help-window): Pass window used for displaying the buffer
5239 to help-window-setup. Don't set display-buffer-window.
5240
5241 2011-09-13 Glenn Morris <rgm@gnu.org>
5242
5243 * emacs-lisp/debug.el (debugger-make-xrefs):
5244 Preserve point. (Bug#9462)
5245
5246 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5247
5248 * window.el (window-deletable-p): Use next-frame.
5249
5250 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5251
5252 * window.el (window-auto-delete): Remove.
5253 (window-deletable-p): Remove argument FORCE. Don't deal with
5254 dedication and previous buffers.
5255 (switch-to-prev-buffer): Don't delete window.
5256 (delete-windows-on): Delete a window's frame if and only if the
5257 window is dedicated.
5258 (replace-buffer-in-windows): Delete buffer's window or frame if
5259 and only if window is dedicated.
5260 (quit-window): Handle quit-restore as before last change.
5261 (bury-buffer): Delete window only if window-deletable-p returns t.
5262
5263 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5264
5265 * window.el (window-deletable-p): Never delete the last frame on a
5266 given terminal.
5267
5268 2011-09-13 Glenn Morris <rgm@gnu.org>
5269
5270 * help.el (describe-key-briefly): Copy previous standard-output change.
5271
5272 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5273
5274 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5275
5276 2011-09-13 Glenn Morris <rgm@gnu.org>
5277
5278 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5279 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5280
5281 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5282
5283 * dired-aux.el (dired-mark-read-string): Don't return default
5284 value on empty input (Bug#9361).
5285 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5286 Omit initial minibuffer contents.
5287 (dired-do-chmod): Signal an error on empty input.
5288 (dired-mark-read-string): Don't return default on empty input.
5289
5290 * files.el (file-modes-symbolic-to-number): Doc fix.
5291
5292 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * international/mule-cmds.el (ucs-completions): Remove.
5295 (read-char-by-name): Use complete-with-action instead; add metadata.
5296
5297 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5298
5299 * window.el (display-buffer--action-function-custom-type)
5300 (display-buffer--action-custom-type): New vars.
5301 (display-buffer-alist, display-buffer-default-action)
5302 (display-buffer-overriding-action): Add defcustom types.
5303
5304 * frame.el (delete-other-frames): Doc fix (Bug#276).
5305
5306 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5307
5308 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5309
5310 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5311
5312 Change modes that used same-window-* vars to use switch-to-buffer.
5313
5314 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5315 Use switch-to-buffer.
5316
5317 * cus-edit.el (customize-group, custom-buffer-create)
5318 (customize-browse, custom-buffer-create-other-window):
5319 Use switch-to-buffer or switch-to-buffer-other-window.
5320
5321 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5322 (Info-prev, Info-up, Info-speedbar-goto-node)
5323 (info-display-manual): Use switch-to-buffer.
5324 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5325
5326 * mail/sendmail.el (mail): Use switch-to-buffer.
5327 (mail-recover): Use switch-to-buffer-other-window.
5328
5329 * cmuscheme.el (run-scheme, switch-to-scheme):
5330 * ielm.el (ielm):
5331 * shell.el (shell):
5332 * net/rlogin.el (rlogin):
5333 * net/telnet.el (telnet, rsh):
5334 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5335
5336 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5337
5338 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5339
5340 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5341
5342 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5343 so don't mention it (bug#9301).
5344 (dired-sort-toggle-or-edit): Clarify string further.
5345
5346 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5347 match `x', `w32' and `ns', like the manual says (bug#9029).
5348
5349 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5350 (process-kill-buffer-query-function): Mention the buffer name in
5351 the query.
5352
5353 * image-mode.el (image-next-line): The line parameter is mandatory
5354 (bug#9258).
5355
5356 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5357 which can be useful (bug#9301).
5358
5359 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5360
5361 * subr.el (match-string): Mention that the current buffer should
5362 be the same as the search was done in (bug#9282).
5363
5364 * facemenu.el: Disable the remove-* commands if the mark isn't
5365 active (bug#9162).
5366
5367 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5368
5369 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5370 of display-buffer.
5371 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5372
5373 * replace.el (occur-mode-goto-occurrence)
5374 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5375 and display-buffer.
5376
5377 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5378 display-buffer.
5379
5380 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5381 special-display and same-window variables.
5382 (mail-other-window): Use switch-to-buffer-other-window.
5383 (mail-other-frame): USe switch-to-buffer-other-frame.
5384
5385 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5386 Use display-buffer-other-frame.
5387 (gdb-display-gdb-buffer): Use pop-to-buffer.
5388
5389 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5390
5391 * progmodes/python.el: Don't set same-window-buffer-names.
5392
5393 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5394
5395 * window.el (display-buffer-alist): Add *Python*.
5396
5397 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5398
5399 * window.el (display-buffer-alist): Add entry for buffers
5400 previously handled same-window-*.
5401 (display-buffer-alist, display-buffer-default-action)
5402 (display-buffer-overriding-action): Mark as risky.
5403 (display-buffer-alist): Document action function changes.
5404 (display-buffer--same-window-action)
5405 (display-buffer--other-frame-action): New variables.
5406 (switch-to-buffer, display-buffer-other-frame): Use them.
5407 (display-buffer): Rename reuse-frame entry to reusable-frames.
5408 (display-buffer-reuse-selected-window): Function deleted.
5409 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5410 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5411 (display-buffer-special): New function.
5412 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5413 display-buffer-reuse-or-pop-window. Split off special-display
5414 part into display-buffer-special.
5415 (display-buffer-use-some-window): Don't perform any special
5416 pop-up-frames handling.
5417 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5418 (display-buffer--maybe-same-window): Rename from
5419 display-buffer-maybe-same-window.
5420
5421 * info.el: Don't set same-window-regexps.
5422 (info-setup): New function.
5423 (info-other-window, info): Call it.
5424
5425 * cus-edit.el: Don't set same-window-regexps.
5426 (customize-group): New argument.
5427 (customize-group-other-window): Use it.
5428 (customize-face, customize-face-other-window): Likewise.
5429 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5430
5431 * net/rlogin.el:
5432 * net/telnet.el:
5433 * progmodes/gud.el: Don't set same-window-regexps.
5434
5435 * cmuscheme.el:
5436 * ielm.el:
5437 * shell.el:
5438 * mail/sendmail.el:
5439 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5440
5441 2011-09-10 Juri Linkov <juri@jurta.org>
5442
5443 * isearch.el (isearch-edit-string): Remove obsolete mention of
5444 `C-w' (`isearch-yank-word-or-char') from docstring.
5445 (isearch-query-replace): Fix typo in docstring (bug#9466).
5446
5447 2011-09-10 Juri Linkov <juri@jurta.org>
5448
5449 * paren.el (show-paren-function): Don't show escaped parens.
5450 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5451
5452 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5453
5454 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5455 (mm-default-file-encoding): Remove autoload forms, they are
5456 replaced with autoload cookies in mml.el and mm-encode.el.
5457 (mail-add-attachment): New command.
5458 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5459 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5460 the doc string.
5461 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5462
5463 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5464
5465 * simple.el (count-words-region): Use buffer if there's no region
5466 (bug#9429).
5467
5468 2011-09-09 Juri Linkov <juri@jurta.org>
5469
5470 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5471 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5472 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5473
5474 2011-09-09 Alan Mackenzie <acm@muc.de>
5475
5476 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5477 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5478
5479 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5480
5481 Fix for Savannah bug#9392.
5482 * simple.el (mail-encode-mml): New defvar.
5483
5484 * mail/rmail.el (mail-encode-mml): Add a defvar.
5485 (rmail-enable-mime-composing): Default to t.
5486 (rmail-forward): Use MIME method of forwarding only if both
5487 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5488 Set mail-encode-mml non-nil if the MIME method was used.
5489
5490 * mail/sendmail.el (mml-to-mime): Add autoload form.
5491 (mail-encode-mml): Add a defvar.
5492 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5493 to nil.
5494 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5495 message through mml-to-mime, and reset mail-encode-mml to nil.
5496
5497 2011-09-09 Glenn Morris <rgm@gnu.org>
5498
5499 * woman.el (woman-if-body): When processing an .el block,
5500 do not delete the next .el block as well. (Bug#9447)
5501 (woman-special-characters): Add oq, cq, and hy characters.
5502
5503 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5504
5505 * window.el (window-deletable-p): Make sure window is live before
5506 invoking window-prev-buffers.
5507
5508 2011-09-08 Leo Liu <sdl.web@gmail.com>
5509
5510 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5511
5512 2011-09-08 Juri Linkov <juri@jurta.org>
5513
5514 * progmodes/compile.el (compilation-environment): Make it
5515 a defcustom (bug#8340).
5516
5517 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5518
5519 * window.el (frame-auto-delete): Rename to window-auto-delete.
5520 Make it control auto-deletion of windows and/or frames.
5521 (window-deletable-p): New argument FORCE. Rewrite conditions
5522 for deleting window/frame. (Bug#9419)
5523 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5524 Rewrite handling of case when window/frame can be deleted.
5525 (delete-windows-on): Call window-deletable-p with new FORCE
5526 argument t. (Bug#9456)
5527
5528 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5529
5530 * help-mode.el (help-mode): Restore autoload.
5531
5532 2011-09-07 Juri Linkov <juri@jurta.org>
5533
5534 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5535 `compilation-environment'. Set buffer-local
5536 `compilation-environment' to `thisenv' later after (funcall mode).
5537 (Bug#8340)
5538
5539 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5540 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5541 instead of replacing its value. (Bug#8340)
5542
5543 2011-09-07 Juri Linkov <juri@jurta.org>
5544
5545 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5546 based on text properties put by `grep-filter' instead of matching
5547 escape sequences.
5548 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5549 to the value of `grep-error-screen-columns' (bug#9438).
5550
5551 2011-09-07 Juri Linkov <juri@jurta.org>
5552
5553 * simple.el (next-error-highlight, next-error-highlight-no-select):
5554 Doc fix (bug#9432).
5555
5556 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5557
5558 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5559 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5560
5561 2011-09-07 Leo Liu <sdl.web@gmail.com>
5562
5563 * net/rcirc.el (rcirc-mode): Conditionally initialize
5564 rcirc-input-ring.
5565
5566 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * emacs-lisp/find-func.el (find-function-C-source): Only set
5569 find-function-C-source-directory after checking that we found a source
5570 file there (bug#9440).
5571
5572 2011-09-06 Alan Mackenzie <acm@muc.de>
5573
5574 * isearch.el (isearch-other-meta-char): Wherever a key list is
5575 unread, "unread" the prefix arg, too. This fixes bug #8901.
5576
5577 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5578
5579 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5580
5581 2011-09-05 Juri Linkov <juri@jurta.org>
5582
5583 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5584
5585 2011-09-05 Juri Linkov <juri@jurta.org>
5586
5587 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5588 keeping point where processing of grep matches begins, and
5589 continue to delete remaining escape sequences from the same point.
5590 (grep-filter): Make leading zero optional in "0?1;31m" because
5591 git-grep emits "\033[1;31m" escape sequences unlike expected
5592 "\033[01;31m" as GNU Grep does (bug#9408).
5593 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5594
5595 2011-09-05 Juri Linkov <juri@jurta.org>
5596
5597 * subr.el (y-or-n-p): Capitalize "yes".
5598
5599 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
5600
5601 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5602 `tramp-cache-unload-hook' where appropriate.
5603 (tramp-methods): Rename `tramp-remote-sh' to
5604 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5605 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5606
5607 * net/tramp-sh.el (top): Don't require 'shell.
5608 (tramp-methods): Add `tramp-remote-shell' and
5609 `tramp-remote-shell-args' entries.
5610 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5611 (tramp-sh-handle-shell-command): Remove.
5612 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5613 Use `tramp-remote-shell'.
5614
5615 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
5616
5617 * mail/sendmail.el (sendmail-query-once-function): Delete.
5618 (sendmail-query-once): Save directly to send-mail-function.
5619 Update message-send-mail-function too.
5620
5621 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5622
5623 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5624
5625 * progmodes/python.el (python-mode-map): Use correct function to
5626 start python interpreter from menu-bar (as reported by Geert
5627 Kloosterman).
5628 (inferior-python-mode-map): Fix typo.
5629 (python-shell-map): Remove.
5630
5631 2011-09-03 Deniz Dogan <deniz@dogan.se>
5632
5633 * net/rcirc.el (rcirc-print): Simplify code for
5634 rcirc-scroll-show-maximum-output. There is no need to walk
5635 through all windows to find the right one.
5636
5637 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5638
5639 * help.el (help-return-method): Doc fix.
5640
5641 2011-09-03 Martin Rudalics <rudalics@gmx.at>
5642
5643 * window.el (window-deletable-p): Don't return a non-nil value
5644 when there's a buffer that was shown in the window before.
5645 (Bug#9419)
5646 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5647 Set window's previous buffers to nil.
5648
5649 2011-09-03 Eli Zaretskii <eliz@gnu.org>
5650
5651 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5652 newline before and after the tag line, so it doesn't interfere
5653 with determining the paragraph direction of bidirectional text.
5654
5655 2011-09-03 Leo Liu <sdl.web@gmail.com>
5656
5657 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5658
5659 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5660
5661 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5662 (pop-to-buffer): Change interactive spec. Pass second argument
5663 directly to display-buffer.
5664 (display-buffer): Fix interactive spec. Use functionp to
5665 distinguish between a function and a list of functions.
5666
5667 * abbrev.el (edit-abbrevs):
5668 * arc-mode.el (archive-extract):
5669 * autoinsert.el (auto-insert):
5670 * bookmark.el (bookmark-bmenu-list):
5671 * files.el (find-file):
5672 * view.el (view-buffer):
5673 * progmodes/compile.el (compilation-goto-locus):
5674 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5675
5676 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5677
5678 * window.el (display-buffer-alist): Doc fix.
5679 (display-buffer): Add docstring. Don't treat
5680 display-buffer-default specially.
5681 (display-buffer-reuse-selected-window)
5682 (display-buffer-same-window, display-buffer-maybe-same-window)
5683 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5684 (display-buffer-pop-up-window)
5685 (display-buffer-reuse-or-pop-window)
5686 (display-buffer-use-some-window): New functions.
5687 (display-buffer-default-action): Use them.
5688 (display-buffer-default): Delete.
5689 (pop-to-buffer-1): Fix choice of actions.
5690
5691 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * minibuffer.el (completion--insert-strings): Don't get confused by
5694 completion entries that end with an LF char.
5695
5696 2011-09-01 Eli Zaretskii <eliz@gnu.org>
5697
5698 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5699
5700 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
5701
5702 * window.el (display-buffer): Restore interactive spec.
5703 (display-buffer-same-window, display-buffer-other-window):
5704 New functions.
5705 (pop-to-buffer-1): New function. Use the above.
5706 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5707 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5708
5709 * view.el (view-buffer-other-window, view-buffer-other-frame):
5710 Just use pop-to-buffer.
5711
5712 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5713
5714 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5715
5716 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5717
5718 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5719
5720 2011-08-31 Richard Stallman <rms@gnu.org>
5721
5722 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5723 of the separation of rmail-view-buffer from rmail-buffer.
5724 If you say no to "replace original", the decrypt is in the
5725 view buffer. If you say yes, the decrypt goes into the
5726 rmail buffer also.
5727
5728 2011-08-31 Martin Rudalics <rudalics@gmx.at>
5729
5730 * window.el (display-buffer-window): Rewrite doc-string.
5731 (display-buffer-record-window): New function.
5732 (display-buffer-macro-specifiers)
5733 (display-buffer-even-window-sizes, display-buffer-set-height)
5734 (display-buffer-set-width, display-buffer-in-window)
5735 (display-buffer-reuse-window, display-buffer-split-specifiers)
5736 (display-buffer-side-specifiers, display-buffer-split-window-1)
5737 (display-buffer-split-window, display-buffer-split-atom-window)
5738 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5739 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5740 (display-buffer-other-window-means-other-frame)
5741 (display-buffer-normalize-special)
5742 (display-buffer-normalize-default)
5743 (display-buffer-normalize-argument)
5744 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5745 (display-buffer-normalize-specifiers, display-buffer-frame)
5746 (display-buffer-same-window, display-buffer-same-frame)
5747 (display-buffer-other-window)
5748 (display-buffer-same-frame-other-window)
5749 (display-buffer-other-frame, pop-to-buffer-same-window)
5750 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5751 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5752 (switch-to-buffer-same-frame)
5753 (switch-to-buffer-other-window-same-frame)
5754 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5755 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5756 (display-buffer-alist-set): Remove.
5757 (display-buffer-function, special-display-buffer-names)
5758 (special-display-regexps, special-display-function):
5759 In doc-string refer to display-buffer-window and quit-restore
5760 parameter.
5761 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5762 (special-display-frame-alist, special-display-popup-frame)
5763 (same-window-buffer-names, same-window-regexps, same-window-p)
5764 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5765 (split-window-preferred-function, split-height-threshold)
5766 (split-width-threshold, window-splittable-p)
5767 (split-window-sensibly, window--try-to-split-window)
5768 (window--frame-usable-p, even-window-heights)
5769 (window--even-window-heights, window--display-buffer-1)
5770 (window--display-buffer-2, display-buffer-other-frame):
5771 Restore old Emacs 23 code, order and doc-strings where applicable.
5772 (display-buffer-default, display-buffer-assq-regexp): New functions.
5773 (display-buffer-alist): Rewrite doc-string.
5774 (display-buffer-default-action)
5775 (display-buffer-overriding-action): New variables.
5776 (display-buffer, switch-to-buffer): Rewrite.
5777 (pop-to-buffer): Restore Emacs 23 behavior but use
5778 window-normalize-buffer-to-display.
5779 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5780 Restore Emacs 23 behavior but use
5781 window-normalize-buffer-to-switch-to.
5782 (pop-to-buffer-same-window): Rewrite.
5783 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5784 Rewrite using Emacs 23 options.
5785
5786 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
5787
5788 * net/tramp.el (tramp-root-regexp): Remove.
5789 (tramp-completion-file-name-regexp-unified)
5790 (tramp-completion-file-name-regexp-separate)
5791 (tramp-completion-file-name-regexp-url): Don't use leading volume
5792 letter on win32 systems. (Bug#5303, Bug#9311)
5793 (tramp-drop-volume-letter): Simplify definition.
5794 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5795
5796 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5799 (bug#9356).
5800
5801 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5802
5803 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5804
5805 2011-08-29 Juri Linkov <juri@jurta.org>
5806
5807 * isearch.el (isearch-done): Don't display message "Mark saved"
5808 when arg `edit' is non-nil to prevent its flicker in the echo area.
5809
5810 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5811
5812 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5813 obsolete packages for deletion.
5814
5815 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5816
5817 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5818 (help-mode): Derive help-mode from special-mode. Don't invoke
5819 view-mode from help-mode.
5820 (help-xref-override-view-map): Remove.
5821 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5822 view-mode is not used anymore.
5823
5824 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5825
5826 * server.el (server-port): Doc fix.
5827
5828 * cus-theme.el (custom-theme-choose-mode): Inherit from
5829 special-mode (Bug#9124).
5830 (custom-theme-choose-mode-map): Add special-mode to parent.
5831
5832 2011-08-28 Alan Mackenzie <acm@muc.de>
5833
5834 * progmodes/cc-fonts.el
5835 (c-make-font-lock-BO-decl-search-function): New function.
5836 (c-basic-matchers-after - "Fontify the clauses after various
5837 keywords"): Extract the three keyword lists for the 3 erroneous
5838 constructs from the list of four, and use the new function above
5839 in place of an old one.
5840
5841 2011-08-28 Deniz Dogan <deniz@dogan.se>
5842
5843 * net/rcirc.el (rcirc-insert-prev-input)
5844 (rcirc-insert-next-input): Remove unused argument.
5845
5846 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5849
5850 2011-08-27 Alan Mackenzie <acm@muc.de>
5851
5852 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5853 handle function pointer parameters properly.
5854
5855 2011-08-27 Martin Rudalics <rudalics@gmx.at>
5856
5857 * window.el (display-buffer-reuse-window): Fix case where
5858 selected window was reused with non-nil OTHER-WINDOW argument.
5859 (Bug#9381)
5860
5861 2011-08-27 Deniz Dogan <deniz@dogan.se>
5862
5863 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5864 oftc's NickServ messages.
5865
5866 2011-08-27 Glenn Morris <rgm@gnu.org>
5867
5868 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5869
5870 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
5871
5872 * emacs-lisp/package.el (package-install): Call package-initialize
5873 if called interactively.
5874
5875 2011-08-26 Leo Liu <sdl.web@gmail.com>
5876
5877 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5878
5879 2011-08-25 Juri Linkov <juri@jurta.org>
5880
5881 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5882 `search-whitespace-regexp' (bug#9364).
5883
5884 2011-08-25 Juri Linkov <juri@jurta.org>
5885
5886 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5887 `regexp-search-ring' to their global values to protect from
5888 updating by `read-from-minibuffer' (bug#9185).
5889
5890 2011-08-25 Juri Linkov <juri@jurta.org>
5891
5892 * textmodes/ispell.el (ispell-command-loop): Add newline
5893 at the end of the "Use option `i'..." line.
5894
5895 2011-08-25 Juri Linkov <juri@jurta.org>
5896
5897 * battery.el (display-battery-mode): If `battery-status-function'
5898 or `battery-mode-line-format' is nil, display the message and set
5899 `display-battery-mode' to nil (bug#9363).
5900
5901 2011-08-25 Eli Zaretskii <eliz@gnu.org>
5902
5903 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5904 bidi-string-mark-left-to-right; they are unnecessary now.
5905
5906 2011-08-25 Deniz Dogan <deniz@dogan.se>
5907
5908 * net/quickurl.el: Documentation typo fixes.
5909
5910 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
5911
5912 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5913
5914 2011-08-25 Glenn Morris <rgm@gnu.org>
5915
5916 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5917
5918 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5919 (smtpmail-via-smtp): Handle nil response from smtp.
5920
5921 2011-08-24 Juri Linkov <juri@jurta.org>
5922
5923 * proced.el (proced-marked): Inherit from `error' instead of
5924 `font-lock-warning-face'.
5925
5926 * ibuffer.el (ibuffer-marked-face): Change default face from
5927 `font-lock-warning-face' to `warning'.
5928 (ibuffer-deletion-face): Change default face from
5929 `font-lock-type-face' to `error'.
5930
5931 * battery.el (battery-update): Use the face `error' instead of
5932 `font-lock-warning-face' (bug#6117).
5933
5934 2011-08-24 Juri Linkov <juri@jurta.org>
5935
5936 * faces.el (success): Change face color from "Green3" to
5937 "ForestGreen" on light background (bug#9353).
5938
5939 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
5940
5941 * window.el (quit-window): Rename from quit-restore-window.
5942 Use same arglist as old quit-window.
5943 (frame-auto-delete): Doc fix.
5944
5945 * view.el (view-mode-exit): Use quit-window.
5946
5947 2011-08-24 Juri Linkov <juri@jurta.org>
5948
5949 * isearch.el (isearch-ring-adjust1): Start visiting previous
5950 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5951 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5952 for empty search string (when the last search string is reused
5953 automatically) to adjust the isearch ring to the last element and
5954 prepare the correct index for further M-p commands (bug#9185).
5955
5956 2011-08-24 Kenichi Handa <handa@m17n.org>
5957
5958 * international/ucs-normalize.el: If decomposition property of
5959 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5960 nil.
5961 (nfd, nfkd): Likewise.
5962
5963 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5966 from process filters aren't reliably transmitted to the surrounding
5967 accept-process-output.
5968 (mpc-proc-check): New function.
5969 (mpc-proc-sync): Use it (bug#8293)
5970
5971 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5974 Add compatibility functions (bug#9313).
5975
5976 2011-08-23 Eli Zaretskii <eliz@gnu.org>
5977
5978 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5979
5980 * international/uni-bidi.el: Regenerate.
5981
5982 2011-08-23 Kenichi Handa <handa@m17n.org>
5983
5984 * international/charprop.el:
5985 * international/uni-bidi.el:
5986 * international/uni-category.el:
5987 * international/uni-combining.el:
5988 * international/uni-comment.el:
5989 * international/uni-decimal.el:
5990 * international/uni-decomposition.el:
5991 * international/uni-digit.el:
5992 * international/uni-lowercase.el:
5993 * international/uni-mirrored.el:
5994 * international/uni-name.el:
5995 * international/uni-numeric.el:
5996 * international/uni-old-name.el:
5997 * international/uni-titlecase.el:
5998 * international/uni-uppercase.el: Regenerate.
5999
6000 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6001
6002 * help.el (help-window-setup): Fix message displayed when other
6003 window is reused. (Bug#9341)
6004
6005 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6006
6007 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6008 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6009
6010 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6011 Mark obsolete.
6012 * shell.el (shell-parse-pcomplete-arguments): New function.
6013 (shell-completion-vars): Use it instead (bug#9160).
6014
6015 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6018 strings and comments (bug#9333).
6019
6020 * emacs-lisp/debug.el (debug-arglist): New function.
6021 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6022 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6023
6024 2011-08-22 Juri Linkov <juri@jurta.org>
6025
6026 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6027 Revert regexp that highlights output switches to its old
6028 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6029
6030 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6031 to check for empty output (bug#9226).
6032
6033 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6034
6035 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6036 symbol-constituent as the default, as that stops font-lock from
6037 working properly (Bug#8843).
6038
6039 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6040
6041 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6042 `coding-system-for-*' around the process open call to avoid
6043 auth-source side effects.
6044 (smtpmail-try-auth-methods): Expand the secret password.
6045 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6046 probe hangs.
6047
6048 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6049
6050 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6051
6052 * emacs-lisp/find-func.el (find-function-noselect): New arg
6053 lisp-only.
6054
6055 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6056 signal an error for built-in functions (Bug#6664).
6057
6058 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059
6060 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6061 (smtpmail-try-auth-methods): Use it.
6062
6063 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6064
6065 * font-lock.el (font-lock-fontify-region)
6066 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6067 (font-lock-default-unfontify-buffer)
6068 (font-lock-default-fontify-region)
6069 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6070
6071 * progmodes/compile.el (compilation-error-properties):
6072 Fix confusion between file struct and message struct (Bug#9319).
6073 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6074 `ant' regexp.
6075
6076 * net/browse-url.el (browse-url-firefox): Don't call
6077 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6078
6079 2011-08-20 Glenn Morris <rgm@gnu.org>
6080
6081 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6082
6083 * tutorial.el (tutorial--default-keys): Update some default bindings.
6084
6085 * files.el (hack-local-variables): Fully ignore case for "mode:".
6086
6087 2011-08-20 Alan Mackenzie <acm@muc.de>
6088
6089 Resolve invalid use of a regexp in regexp-opt.
6090
6091 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6092 detection for a java annotation.
6093
6094 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6095 detection for a java annotation.
6096
6097 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6098 handling for java.
6099 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6100
6101 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6102
6103 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6104 (Bug#9274).
6105
6106 2011-08-20 Alan Mackenzie <acm@muc.de>
6107
6108 Fontify CPP expressions correctly when starting in the middle of
6109 such a construct. Mainly for when jit-lock etc. starts a chunk
6110 here.
6111
6112 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6113 variable.
6114 (c-make-font-lock-search-form): New function, extracted from
6115 c-make-font-lock-search-function.
6116 (c-make-font-lock-search-function): Use the above function.
6117 (c-make-font-lock-context-search-function): New function.
6118 (c-cpp-matchers): Enhance the preprocessor expression case with
6119 the above function
6120 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6121 which takes an expression.
6122
6123 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6124
6125 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6126
6127 * window.el (display-buffer-reuse-window)
6128 (display-buffer-pop-up-window): Don't reuse or split a side
6129 window.
6130
6131 2011-08-19 Glenn Morris <rgm@gnu.org>
6132
6133 * files.el (hack-local-variables-prop-line, hack-local-variables):
6134 Downcase "Mode:". (Bug#9331)
6135
6136 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6137
6138 * international/characters.el: Add L and R categories.
6139
6140 * subr.el (bidi-string-mark-left-to-right): Rename from
6141 string-mark-left-to-right. Use category search.
6142
6143 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6144
6145 2011-08-18 Juri Linkov <juri@jurta.org>
6146
6147 * faces.el (error, warning, success): New faces with definitions
6148 copied from old default values of `font-lock-warning-face',
6149 `compilation-warning', `compilation-info' (bug#6117).
6150
6151 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6152
6153 * progmodes/compile.el (compilation-error): Inherit from `error'.
6154 (compilation-warning): Inherit from `warning'.
6155 (compilation-info): Inherit from `success'.
6156
6157 * dired.el (dired-marked): Inherit from `warning'.
6158 (dired-flagged): Inherit from `error'.
6159
6160 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6161
6162 * mail/smtpmail.el (auth-source): Require to avoid problems with
6163 binding variables (bug#9298). Also clean up some unused
6164 autoloads.
6165
6166 * net/network-stream.el (network-stream-open-starttls):
6167 Support using starttls.el without using gnutls-cli.
6168
6169 2011-08-17 Juri Linkov <juri@jurta.org>
6170
6171 * progmodes/grep.el (rgrep): Handle the case when
6172 `grep-find-command' is a cons cell (bug#9278).
6173
6174 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6175
6176 * window.el (display-buffer-pop-up-frame): Run frame creation
6177 function with BUFFER current (as special-display-popup-frame
6178 does). Reported by Drew Adams.
6179
6180 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6181
6182 * epa-mail.el: Simplify GnuPG group expansion using
6183 epg-expand-group.
6184 (epa-mail-group-alist, epa-mail-group-modtime)
6185 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6186 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6187 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6188 Remove.
6189
6190 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6191
6192 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6193
6194 2011-08-16 Alan Mackenzie <acm@muc.de>
6195
6196 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6197 Correct, to avoid the inside of macros.
6198
6199 2011-08-16 Richard Stallman <rms@gnu.org>
6200
6201 * epa-mail.el: Handle GnuPG group definitions.
6202 (epa-mail-group-alist, epa-mail-group-modtime)
6203 (epa-mail-gnupg-conf-file): New variables.
6204 (epa-mail-parse-groups, epa-mail-sync-groups)
6205 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6206 (epa-mail-expand-recipients): New functions.
6207 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6208
6209 * mail/rmail.el (rmail-epa-decrypt): New command.
6210
6211 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6212 Don't bind buffer-read-only, just inhibit-read-only.
6213 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6214 (epa-decrypt-armor-in-region): Make error message clearer.
6215
6216 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6219 and "a2b" to "ab" for `prefix'.
6220
6221 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6222
6223 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6224 filter groups.
6225 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6226 Fourquet (Bug#8804).
6227
6228 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6229
6230 * startup.el (argi): Declare as global variable (bug#9275).
6231
6232 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6233
6234 * subr.el (string-mark-left-to-right): Search the entire string
6235 for RTL script, not just the terminating character. Doc fix.
6236
6237 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6240 New function.
6241 (js--regexp-literal, js-syntax-propertize-function): Remove.
6242 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6243 (js-mode-map): Don't rebind electric keys.
6244 (js-insert-and-indent): Remove.
6245 (js-mode): Setup electric-layout and electric-indent instead.
6246
6247 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6248
6249 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6250
6251 * epa.el (epa-progress-callback-function): Fix the logic of
6252 displaying progress.
6253 * epa-file.el (epa-file-insert-file-contents): Make progress
6254 display more user-friendly.
6255 (epa-file-write-region): Ditto.
6256
6257 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6258
6259 * subr.el (string-mark-left-to-right): New function.
6260
6261 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6262 Use string-mark-left-to-right.
6263 (list-buffers-noselect): Caller changed.
6264
6265 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6266 Use string-mark-left-to-right.
6267 (tabulated-list-print): Recenter after moving point.
6268
6269 2011-08-10 Juri Linkov <juri@jurta.org>
6270
6271 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6272 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6273 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6274
6275 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6276
6277 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6278 (Bug#7554).
6279
6280 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6281
6282 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6283 character. (Bug#6594)
6284
6285 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6286
6287 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6288 (image-dired--with-db-file): New macro.
6289 (image-dired-write-tags, image-dired-remove-tag)
6290 (image-dired-create-gallery-lists, image-dired-write-comments)
6291 (image-dired-get-comment, image-dired-mark-tagged-files)
6292 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6293 (image-dired-gallery-generate): Use insert-file-contents.
6294
6295 * time.el (display-time-world-list, display-time-world-display):
6296 * time-stamp.el (time-stamp-string):
6297 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6298 set-time-zone-rule (Bug#7337).
6299
6300 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6301
6302 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6303 (epg-error-to-string, epg-errors-to-string): New function.
6304 (epg-wait-for-completion): Reverse errors list.
6305 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6306 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6307 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6308 (epg-sign-keys, epg-generate-key-from-file)
6309 (epg-generate-key-from-string): Format errors by using
6310 epg-errors-to-string (bug#9255).
6311 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6312
6313 2011-08-07 Juri Linkov <juri@jurta.org>
6314
6315 * faces.el (list-faces-display): Remove extra angle bracket
6316 from `help-mode-map'.
6317
6318 * info.el (Info-history-toc-nodes): Doc fix.
6319
6320 * longlines.el (longlines-mode): Doc fix.
6321
6322 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6325 of statements and in a few more cases (bug#9183).
6326
6327 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6328 New functions.
6329 (cl-transform-lambda): Use them (bug#9239).
6330
6331 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6332
6333 * window.el (display-buffer-same-window)
6334 (display-buffer-same-frame, display-buffer-other-window)
6335 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6336 (pop-to-buffer-other-window)
6337 (pop-to-buffer-same-frame-other-window)
6338 (pop-to-buffer-other-frame): Make them defuns.
6339 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6340
6341 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * subr.el (make-composed-keymap): Move from C. Change calling
6344 convention, and improve docstring to bring attention to a subtle point.
6345 * minibuffer.el (completing-read-default): Adjust accordingly.
6346
6347 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6348
6349 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6350 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6351
6352 * net/trampver.el: Update release number.
6353
6354 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6357 "in" (bug#9190).
6358
6359 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6360
6361 * mail/sendmail.el (sendmail-query-once): Restore the current
6362 buffer after querying (bug#9074).
6363
6364 * dired.el (dired-flagged): Use different faces for marked and
6365 flagged files (bug#6117).
6366
6367 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6368 (bug#4433).
6369
6370 * ido.el (ido-mode): Switch off the message if called
6371 non-interactively.
6372
6373 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6374 before 587, since it appears that that's more likely to work for
6375 more people.
6376
6377 * cus-edit.el (custom-file): When running under emacs -q, always
6378 refuse to save the customizations, even if the .emacs file doesn't
6379 exist.
6380
6381 * info.el: Remove the `Info-beginning-of-buffer' function
6382 (bug#8325).
6383
6384 * net/network-stream.el (network-stream-open-starttls):
6385 Use `starttls-available-p' to see whether starttls.el can be used.
6386
6387 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6388
6389 * window.el (display-buffer-in-window): Don't set dedicated status
6390 of window here (Bug#9215).
6391 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6392 (display-buffer-pop-up-side-window)
6393 (display-buffer-in-side-window): Set dedicated status of window here.
6394
6395 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6398 before binding generated-autoload-file.
6399
6400 2011-08-01 Deniz Dogan <deniz@dogan.se>
6401
6402 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6403
6404 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6405
6406 Sync with Tramp 2.2.2.
6407
6408 * net/trampver.el: Update release number.
6409
6410 2011-07-30 Juri Linkov <juri@jurta.org>
6411
6412 * dired-aux.el (dired-touch-initial): Remove function.
6413 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6414 current time, and `default' to the last modification time of the
6415 current marked file (bug#6887).
6416
6417 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6418
6419 * simple.el (goto-line): Use string-to-number to provide a
6420 numeric argument to read-number (bug#9163).
6421
6422 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6423
6424 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6425 connection process, it could be nil.
6426
6427 2011-07-27 Leo Liu <sdl.web@gmail.com>
6428
6429 Simplify url handling in rcirc-mode.
6430
6431 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6432 (rcirc-browse-url-at-mouse): Remove.
6433 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6434
6435 2011-07-26 Alan Mackenzie <acm@muc.de>
6436
6437 Fontify bitfield declarations properly.
6438
6439 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6440 (c-symbol-chars): Now exported as a lang variable.
6441 (c-not-primitive-type-keywords): New lang variable.
6442
6443 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6444 QT keyword "more" to prevent "more slots: ...." being spuriously
6445 parsed as a bitfield declaration.
6446
6447 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6448 Refactor and enhance to handle bitfield declarations.
6449 (c-punctuation-in): New function.
6450 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6451 declarations properly.
6452
6453 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6454
6455 * calendar/icalendar.el (icalendar--all-events): Take care of
6456 multiple vcalendars in a single file.
6457 (icalendar--convert-float-to-ical): Checkdoc fixes.
6458
6459 2011-07-25 Deniz Dogan <deniz@dogan.se>
6460
6461 * image.el (insert-image): Clarifying docstring.
6462
6463 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6464
6465 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6466 `tramp-send-command-and-check' if there is no error.
6467 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6468
6469 2011-07-22 Alan Mackenzie <acm@muc.de>
6470
6471 Prevent cc-langs.elc being loaded at run time.
6472
6473 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6474 cc-langs.
6475
6476 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6477 "(require 'cc-langs)". Quote a form so it will evaluate at
6478 (cc-mode's) compilation time.
6479
6480 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6481
6482 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6483 loading. (Bug#9114)
6484
6485 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6486
6487 * window.el (display-buffer-pop-up-window)
6488 (display-buffer-pop-up-side-window)
6489 (display-buffer-in-side-window): Call display-buffer-set-height
6490 and display-buffer-set-width after setting the new window's
6491 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6492
6493 2011-07-20 Sam Steingold <sds@gnu.org>
6494
6495 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6496 (etags-tags-included-tables): Call `convert-standard-filename' on
6497 the file names contained in TAGS so that windows Emacs can handle
6498 TAGS files created by cygwin ctags.
6499
6500 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
6502 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6503 which apparently didn't work.
6504
6505 2011-07-19 Roland Winkler <winkler@gnu.org>
6506
6507 * proced.el (proced-send-signal): For *Marked Processes* buffer
6508 put point at beginning of buffer.
6509
6510 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6511
6512 * proced.el (proced-format): Make header lines align with the text
6513 (bug#1779).
6514
6515 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6516
6517 * view.el (view-buffer): Allow running in `special' modes if we're
6518 visiting a file (bug#8615).
6519
6520 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6521
6522 * window.el (display-buffer-alist-of-strings-p)
6523 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6524 New functions.
6525 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6526 more accurately.
6527
6528 2011-07-18 Alan Mackenzie <acm@muc.de>
6529
6530 Fontify declarators properly when, e.g., a jit-lock chunk begins
6531 inside a declaration.
6532
6533 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6534
6535 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6536 New function.
6537 (c-complex-decl-matchers): Insert reference to
6538 c-font-lock-enclosing-decls.
6539
6540 * progmodes/cc-engine.el (c-backward-single-comment):
6541 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6542 to nil around calls to (forward-comment -1).
6543
6544 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6545
6546 * image.el (put-image): Doc typo fix.
6547
6548 * progmodes/etags.el (tags-search): Doc typo fix.
6549
6550 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6551 password if we get errors 550 to 554.
6552
6553 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6554
6555 * net/gnutls.el (gnutls-log-level): Remove.
6556
6557 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6558 indentation character (bug#6380).
6559
6560 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6561
6562 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6563 to clarify what the problem is (bug#4291).
6564
6565 * simple.el (current-kill): Clarify what
6566 `interprogram-paste-function' does (bug#7500).
6567 (auto-fill-mode): Document `auto-fill-function' in relation to
6568 `auto-fill-mode' (bug#2470).
6569
6570 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6571
6572 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6573 method if slot is read-only (bug#9035).
6574
6575 2011-07-16 Martin Rudalics <rudalics@gmx.at>
6576
6577 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6578 * window.el (pop-to-buffer): Select window used even if it was
6579 selected before, see discussion of (Bug#8615), (Bug#6954).
6580 Pass argument NORECORD on to select-frame-set-input-focus.
6581
6582 2011-07-15 Glenn Morris <rgm@gnu.org>
6583
6584 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6585 Respect help-form.
6586
6587 2011-07-09 Lawrence Mitchell <wence@gmx.li>
6588
6589 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6590 (gnutls-negotiate): Use it.
6591
6592 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6593
6594 * net/gnutls.el (gnutls-negotiate):
6595 Upcase `gnutls-algorithm-priority'.
6596
6597 2011-07-15 Glenn Morris <rgm@gnu.org>
6598
6599 * jka-compr.el (jka-compr-verbose): Move from here...
6600 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6601 Add missing :version tag.
6602 * info.el: No need to require jka-compr when compiling.
6603
6604 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6605
6606 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6607 (gnutls-negotiate): Use it.
6608
6609 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6610
6611 * info.el (Info-beginning-of-buffer): New command.
6612 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6613 announcing `b' as the key (bug#8325).
6614 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6615
6616 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6617
6618 * international/mule-cmds.el
6619 (describe-specified-language-support): Make the error message
6620 clearer (bug#8905).
6621
6622 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6623
6624 * isearch.el (isearch-barrier): Add a doc string, since it's
6625 mentioned in a function doc string (bug#8678).
6626
6627 2011-07-15 Martin Rudalics <rudalics@gmx.at>
6628
6629 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6630 buffer argument (Bug#9083) and self-identifying label argument.
6631
6632 2011-07-15 Glenn Morris <rgm@gnu.org>
6633
6634 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6635
6636 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6637
6638 * man.el (Man-fontify-manpage): Fix message when formatting the
6639 man page (bug#7929).
6640
6641 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6642
6643 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6644 argument LRM; if non-nil, append an invisible LRM character to the
6645 buffer name.
6646 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6647 last argument non-nil, when formatting buffer names.
6648 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6649 paragraph direction.
6650
6651 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6652
6653 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6654 the man page name (bug#7929).
6655
6656 * image.el (put-image): Mention the `put-image' overlay property
6657 (bug#7834).
6658
6659 * scroll-bar.el (set-scroll-bar-mode): Mention that
6660 `scroll-bar-mode' lists the values (bug#7772).
6661
6662 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6663 command (bug#7729).
6664
6665 * rect.el (apply-on-rectangle): Return the point after the last
6666 operation.
6667 (string-rectangle): Go to the point after the last operation
6668 (bug#7522).
6669
6670 * printing.el (pr-toggle-region): Clarify the documentation
6671 slightly (bug#7493).
6672
6673 * time.el (display-time-update):
6674 Allow `display-time-mail-function' to return nil (bug#7158).
6675 Fix suggested by Detlev Zundel.
6676
6677 * vc/diff.el (diff): Clarify the order the file names are read
6678 (bug#7111).
6679
6680 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6681 the doc string (bug#7015).
6682
6683 * font-lock.el (font-lock-maximum-decoration): Mention what
6684 numeric levels mean (bug#6935).
6685
6686 * startup.el (initial-buffer-choice): Don't mention the `none'
6687 selection, which is against policy.
6688
6689 2011-07-14 Martin Rudalics <rudalics@gmx.at>
6690
6691 * window.el (display-buffer-normalize-special):
6692 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6693
6694 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6695
6696 * subr.el (version<, version<=, version=): Mention "-CVS" and
6697 "-12345" alpha version numbers.
6698
6699 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6700
6701 * bindings.el: Add advertised binding for set-mark-command
6702 (Bug#5772).
6703
6704 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6705
6706 * bindings.el (mode-line-other-buffer):
6707 * bookmark.el (bookmark-bmenu-2-window):
6708 * bs.el (bs-cycle-next, bs-cycle-previous):
6709 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6710 switch-to-buffer.
6711
6712 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6713 Delete.
6714
6715 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
6716
6717 * follow.el (follow-debug-message, follow-redisplay):
6718 * jka-cmpr-hook.el (with-auto-compression-mode):
6719 Fix typos in docstrings.
6720
6721 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6722
6723 * subr.el (with-silent-modifications): Clarify somewhat what the
6724 macro inhibits (bug#6525).
6725
6726 * simple.el (eval-expression): Note what it does if called
6727 interactively (bug#6495).
6728
6729 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6730
6731 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6732 Use pop-to-buffer buffer-or-name if it is nil.
6733
6734 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6735 Remove switch-to-buffer.
6736
6737 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
6739 * files.el (make-directory): Clarify that an error will be raised
6740 if there's an error (bug#6397).
6741
6742 * startup.el (initial-buffer-choice): Add `none' as a choice
6743 (bug#6234).
6744
6745 * subr.el (add-hook): Clarify section about buffer-local hooks
6746 (bug#6218).
6747
6748 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6749
6750 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6751
6752 * tabify.el (untabify): Preserve the current column so that point
6753 doesn't move (bug#6032).
6754
6755 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6756
6757 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6758 Rewrite to avoid awkward possessive "s" (bug#5986).
6759
6760 2011-07-13 Glenn Morris <rgm@gnu.org>
6761
6762 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6763 (dired-insert-directory): Give a message the first time
6764 if ls is found not to support --dired.
6765
6766 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6767
6768 * simple.el (toggle-truncate-lines): Clarify what is toggled
6769 (bug#5580). Text by Drew Adams.
6770
6771 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6772
6773 * simple.el (blink-matching-open): Make the error message from the
6774 last change less verbose.
6775
6776 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6777
6778 * font-lock.el (font-lock-comment-face): Use the high contrast
6779 "yellow" color for font-lock-comment-face on low color terminals
6780 using a dark background color (bug#4221).
6781
6782 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6783
6784 * dired.el (dired-insert-set-properties): Make the doc string
6785 reflect what it does now (bug#5325).
6786
6787 * simple.el (blink-matching-open): Say that we were unable to find
6788 the match within the limit, if we're limited (bug#5122).
6789
6790 * international/mule-cmds.el (prefer-coding-system): Add an
6791 example (bug#4869).
6792
6793 * progmodes/etags.el (tags-search): Document `file-list-form'
6794 (bug#4731).
6795
6796 2011-07-13 Lawrence Mitchell <wence@gmx.li>
6797
6798 * net/browse-url.el (browse-url-default-browser)
6799 (browse-url-browser-function): Make the default browser choice a
6800 bit more logical (bug#4300). Also clean up the doc string.
6801
6802 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6803
6804 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6805 binary endings (bug#4440).
6806
6807 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6808
6809 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6810 which can be pretty annoying (bug#8971).
6811
6812 * jka-compr.el (jka-compr-verbose): New variable, and use
6813 throughout (bug#8971).
6814
6815 * info.el (Info-find-file): Fall back on the installation
6816 directory if we can't find the info node anywhere else.
6817
6818 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6819
6820 * vc/vc.el (vc-revert-file):
6821 Don't set file time-stamp in the past. (Bug#5181)
6822
6823 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6824
6825 * files.el (after-find-file): Give a better error message when
6826 trying to find a symlink that points to a file that doesn't exist
6827 (bug#4398).
6828
6829 * progmodes/cc-vars.el: Remove (probably) misleading comment
6830 (bug#4396).
6831
6832 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6833
6834 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6835
6836 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6837
6838 * mouse-sel.el: Hack restoring functionality, while keeping
6839 compatibility with 2010-07-03 changes to mouse selection.
6840 (mouse-sel-primary-overlay): New var.
6841 (mouse-sel-selection-alist): Use it.
6842 (mouse-sel-mode): Doc fix; remove points that are default features
6843 of mouse.el.
6844
6845 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6846
6847 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6848 Fix previous fix (bug#2490).
6849
6850 2011-07-12 Roland Winkler <winkler@gnu.org>
6851
6852 * textmodes/bibtex.el (bibtex-initialize):
6853 Use pop-to-buffer-same-window.
6854 (bibtex-search-entries): Fix interactive call.
6855
6856 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857
6858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6859 Fontise bytecomp Error lines more correctly (bug#2490).
6860 Fix suggested by Johan Bockgård.
6861
6862 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6863
6864 * dired-x.el (dired-guess-default): Use `delete-dups'.
6865
6866 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6867
6868 * dired.el (dired-mark-prompt):
6869 * dired-aux.el (dired-read-shell-command): Doc fix.
6870
6871 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6872
6873 * mail/sendmail.el (sendmail-query-once):
6874 Use `customize-save-variable' unconditionally, now that it works under
6875 emacs -Q.
6876
6877 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6878
6879 * cus-edit.el (custom-file): Take an optional no-error variable.
6880 (customize-save-variable): Set the variable, and give a warning if
6881 running under "emacs -q".
6882
6883 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
6884
6885 * loadhist.el (unload-feature-special-hooks):
6886 Add `auto-coding-functions', `fill-nobreak-predicate' and
6887 `find-directory-functions' (bug#5327).
6888
6889 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6890
6891 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6892
6893 * cus-edit.el (custom-guess-name-alist): -alist variables should
6894 use the `alist' type (bug#3120). Suggested by Drew Adams.
6895
6896 * printing.el: Add documentation to all the `pr-toggle-' commands.
6897
6898 2011-07-11 Leo Liu <sdl.web@gmail.com>
6899
6900 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6901 backends where it makes sense (bug#2623).
6902
6903 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904
6905 * dired-x.el (dired-guess-default): Remove duplicate shell command
6906 entries (bug#2028).
6907 (dired-guess-default): Fix grammar in doc string (bug#2028).
6908 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6909
6910 * subr.el (remove-duplicates): New conveniency function.
6911
6912 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913
6914 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6915 (bug#1526).
6916
6917 2011-07-10 Martin Rudalics <rudalics@gmx.at>
6918
6919 * window.el (display-buffer-normalize-default): Don't invert
6920 meaning of even-window-heights. Reported by Eli Zaretskii
6921 <eliz@gnu.org>.
6922
6923 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6924
6925 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6926
6927 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
6928
6929 * window.el (display-buffer): Fix arguments to
6930 display-buffer-reuse-window in last change.
6931
6932 * faces.el (link): Use a less saturated blue on light backgrounds.
6933
6934 * startup.el (fancy-startup-text, fancy-about-text)
6935 (fancy-startup-tail): Use font-lock faces, for background safety.
6936
6937 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6938
6939 * emulation/viper-cmd.el (viper-change-state-to-vi):
6940 Limit triggering of abbrev expansion (Bug#9038).
6941
6942 2011-07-09 Martin Rudalics <rudalics@gmx.at>
6943
6944 * window.el (display-buffer-default-specifiers): Remove.
6945 (display-buffer-macro-specifiers): Remove default specifiers.
6946 (display-buffer-alist): Default to nil.
6947 (display-buffer-reuse-window): New optional argument other-window.
6948 (display-buffer-pop-up-window): Allow splitting internal
6949 windows. Check whether a live window was created.
6950 (display-buffer-other-window-means-other-frame)
6951 (display-buffer-normalize-arguments): Rename to
6952 display-buffer-normalize-argument and rewrite. Set the
6953 other-window specifier.
6954 (display-buffer-normalize-special): New function.
6955 (display-buffer-normalize-options): Rename to
6956 display-buffer-normalize-default and rewrite.
6957 (display-buffer-normalize-options-inhibit): Remove.
6958 (display-buffer-normalize-specifiers): Rewrite.
6959 (display-buffer): Process other-window specifier and call
6960 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6961 more faithfully.
6962 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6963 (display-buffer-alist-set): Don't handle 'unset default values.
6964 (display-buffer-in-window, display-buffer-alist-set):
6965 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
6966 <tassilo@member.fsf.org>.
6967
6968 2011-07-09 Leo Liu <sdl.web@gmail.com>
6969
6970 * register.el (insert-register): Restore accidental change on
6971 2011-06-26. (Bug#9028)
6972
6973 2011-07-09 Glenn Morris <rgm@gnu.org>
6974
6975 * subr.el (remq): Handle the empty list. (Bug#9024)
6976
6977 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6978
6979 * mail/sendmail.el (send-mail-function): No longer delay custom
6980 initialization.
6981 * custom.el (custom-initialize-delay): Doc fix.
6982
6983 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6986
6987 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
6988
6989 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6990 human-friendly prompt.
6991
6992 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6995 provided by a particular plugin.
6996
6997 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
6999 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7000 save customizations (with "emacs -Q"), just set the variable
7001 instead of erroring out.
7002
7003 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7004
7005 2011-07-08 Juri Linkov <juri@jurta.org>
7006
7007 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7008 (archive-zip-update-case): Use 7z if found by `executable-find'.
7009 The order of searching the available programs is the same as in
7010 `archive-zip-extract' (bug#8968).
7011
7012 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7013
7014 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7015 (menu-bar-options-menu): Tweak descriptions.
7016
7017 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7018
7019 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7020 menu items into verb phrases (bug#1421). Also refill to fit under
7021 80 columns.
7022
7023 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7024
7025 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7026 (Info-read-node-name): Doc fix (Bug#1084).
7027
7028 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7029 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7030 (end-of-sexp, beginning-of-sexp)
7031 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7032 (forward-symbol, forward-same-syntax, word-at-point)
7033 (sentence-at-point): Doc fix (Bug#1144).
7034
7035 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7036
7037 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7038 should cover it (bug#1281).
7039
7040 * cus-edit.el (custom-show): Mark as obsolete.
7041
7042 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7043 negotiation fails, then possibly try again with a non-encrypted
7044 connection (bug#9017).
7045
7046 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7047 be used.
7048
7049 2011-07-07 Richard Stallman <rms@gnu.org>
7050
7051 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7052 property, and handle its changed format.
7053 Look for the correct line number.
7054 Use file's line contents (but not past first =) to find
7055 correct line in message.
7056
7057 2011-07-07 Kenichi Handa <handa@m17n.org>
7058
7059 * international/characters.el (build-unicode-category-table):
7060 Delete it.
7061 (unicode-category-table): Set it by unicode-property-table-internal.
7062
7063 * international/mule-cmds.el (char-code-property-alist): Move to
7064 to src/chartab.c.
7065 (get-char-code-property): Call unicode-property-table-internal to
7066 load a file. Call get-unicode-property-internal where necessary.
7067 (put-char-code-property): Call unicode-property-table-internal to
7068 load a file. Call put-unicode-property-internal where necessary.
7069 put-unicode-property-internal where necessary.
7070 (char-code-property-description):
7071 Call unicode-property-table-internal to load a file.
7072
7073 * international/charprop.el:
7074 * international/uni-bidi.el:
7075 * international/uni-category.el:
7076 * international/uni-combining.el:
7077 * international/uni-comment.el:
7078 * international/uni-decimal.el:
7079 * international/uni-decomposition.el:
7080 * international/uni-digit.el:
7081 * international/uni-lowercase.el:
7082 * international/uni-mirrored.el:
7083 * international/uni-name.el:
7084 * international/uni-numeric.el:
7085 * international/uni-old-name.el:
7086 * international/uni-titlecase.el:
7087 * international/uni-uppercase.el: Regenerate.
7088
7089 * loadup.el: Load international/charprop.el before
7090 international/characters.
7091
7092 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7093
7094 * window.el (next-buffer, previous-buffer): Signal an error if
7095 called from a minibuffer window.
7096
7097 * bindings.el: Revert 2011-07-04 change.
7098
7099 2011-07-06 Richard Stallman <rms@gnu.org>
7100
7101 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7102 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7103 Treat markers like ints.
7104 (rmail-mime-entity): Doc fix.
7105
7106 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107
7108 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7109 defcustom again for backwards compatibility.
7110
7111 * simple.el (shell-command-on-region): Fill.
7112
7113 * dired-aux.el (dired-kill-line): Add a doc string.
7114
7115 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7116 to "\\sw\\|\\s_" (bug#358).
7117
7118 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7119 (dired-unmark-backward): Ditto.
7120 (dired-flag-backup-files): Ditto.
7121
7122 * dired-x.el (dired-mark-sexp): Ditto.
7123
7124 2011-07-06 Richard Stallman <rms@gnu.org>
7125
7126 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7127 (rmail-mime-entity): New arg TRUNCATED.
7128 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7129 New functions.
7130 (rmail-mime-save): Warn if entity is truncated.
7131 (rmail-mime-toggle-hidden): Likewise, for showing.
7132 (rmail-mime-process-multipart): Record when an entity is truncated.
7133
7134 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7135 if ENTITY is a string.
7136
7137 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7138
7139 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7140 of faces when `M-C-x'-ing their definitions (bug#8378).
7141 Also clean up the code slightly.
7142
7143 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7144 because that makes the colors go away.
7145
7146 * mail/sendmail.el (send-mail-function): Change the default to
7147 `sendmail-query-once'.
7148 (sendmail-query-once): Add an autoload cookie.
7149
7150 * net/network-stream.el (network-stream-open-starttls): Try using
7151 a plain connection even if the server offered STARTTLS, and we
7152 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7153 capability. This should make smtpmail.el work in slightly more
7154 configurations.
7155
7156 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7157
7158 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7159 New defun.
7160 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7161
7162 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7163
7164 * progmodes/sql.el: Version 3.0
7165 (sql-product-alist): Add product :completion-object,
7166 :completion-column, and :statement attributes.
7167 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7168 (sql-mode-syntax-table): Mark all punctuation.
7169 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7170 ansi keywords.
7171 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7172 (sql-mode-oracle-font-lock-keywords): Improve.
7173 (sql-oracle-show-reserved-words): New function for development.
7174 (sql-product-font-lock): Simplify for source code buffers.
7175 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7176 New functions.
7177 (sql-highlight-product): Set product specific syntax table.
7178 (sql-mode-map): Add statement movement functions.
7179 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7180 New variable.
7181 (sql-statement-regexp, sql-beginning-of-statement)
7182 (sql-end-of-statement, sql-signum): New functions.
7183 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7184 (sql-show-sqli-buffer): Bug fix.
7185 (sql-interactive-mode): Store connection data as buffer local.
7186 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7187 with sql-interactive-mode.
7188 (sql-save-connection): Save buffer local settings.
7189 (sql-connection-menu-filter): Change menu entry name.
7190 (sql-product-interactive): Bug fix.
7191 (sql-preoutput-hold): New variable.
7192 (sql-interactive-remove-continuation-prompt): Bug fixes.
7193 (sql-debug-redirect): New variable.
7194 (sql-str-literal): New function.
7195 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7196 Redesign.
7197 (sql-oracle-save-settings, sql-oracle-restore-settings)
7198 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7199 (sql-completion-object, sql-completion-column)
7200 (sql-completion-sqlbuf): New variables.
7201 (sql-build-completions-1, sql-build-completions)
7202 (sql-try-completion): New functions.
7203 (sql-read-table-name): Use them.
7204 (sql-contains-names): New buffer local variable.
7205 (sql-list-all, sql-list-table): Use it.
7206 (sql-oracle-completion-types): New variable.
7207 (sql-oracle-completion-object, sql-sqlite-completion-object)
7208 (sql-postgres-completion-object): New functions.
7209
7210 2011-07-06 Glenn Morris <rgm@gnu.org>
7211
7212 * window.el (pop-to-buffer): Doc fix.
7213
7214 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7215
7216 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7217
7218 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7219
7220 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7221
7222 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7223
7224 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7225
7226 * button.el (button): Inherit from link face. Suggested by Dan
7227 Nicolaescu.
7228
7229 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * progmodes/gdb-mi.el: Fit in 80 columns.
7232 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7233 switch-to-buffer.
7234
7235 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7236 if imenu is simply not configured (bug#8941).
7237
7238 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7239
7240 * allout.el (allout-post-undo-hook): New allout outline-change
7241 event hook to signal undo activity.
7242 (allout-post-command-business): Run allout-post-undo-hook if an
7243 undo just occurred.
7244 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7245 * allout-widgets.el (allout-widgets-after-undo-function):
7246 Ensure the integrity of the current item's decoration after it has been
7247 in the vicinity of an undo.
7248 (allout-widgets-mode): Include allout-widgets-after-undo-function
7249 on the new allout-post-undo-hook.
7250
7251 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7254 Let define-derived-mode define it.
7255 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7256 cycles of abbrev-table inheritance (bug#8998).
7257
7258 2011-07-05 Roland Winkler <winkler@gnu.org>
7259
7260 * textmodes/bibtex.el: Add support for biblatex.
7261 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7262 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7263 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7264 (bibtex-entry-alist, bibtex-field-alist): New variables.
7265 (bibtex-entry-field-alist): Obsolete alias for
7266 bibtex-BibTeX-entry-alist.
7267 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7268 (bibtex-set-dialect): New command.
7269 (bibtex-entry-type, bibtex-entry-head)
7270 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7271 Bind via bibtex-set-dialect.
7272 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7273 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7274 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7275 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7276 Define via bibtex-set-dialect.
7277 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7278 Obey bibtex-no-opt-remove-re.
7279 (bibtex-vec-push, bibtex-vec-incr): New functions.
7280 (bibtex-format-entry, bibtex-field-list)
7281 (bibtex-print-help-message, bibtex-validate)
7282 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7283
7284 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * progmodes/compile.el (compilation-goto-locus):
7287 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7288 * bs.el (bs-cycle-next, bs-cycle-previous):
7289 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7290 * bindings.el (mode-line-other-buffer):
7291 * autoinsert.el (auto-insert):
7292 * arc-mode.el (archive-extract):
7293 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7294
7295 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7296
7297 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7298 Fix check of `emacs-lock-unlockable-modes'.
7299 Coerce true values of `emacs-lock--try-unlocking' to t.
7300
7301 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7302
7303 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7304 * emacs-lock.el: New file.
7305
7306 2011-07-05 Julien Danjou <julien@danjou.info>
7307
7308 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7309 than `boundp' to check if face is set.
7310
7311 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * register.el (registerv-make):
7314 * window.el (window-min-height): Fix typos in docstrings.
7315
7316 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7317
7318 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7319 Update doc string.
7320
7321 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7322
7323 * server.el (server-execute): Catch quit and call
7324 `server-return-error' to pass the error back to emacsclient and
7325 close the connection (bug#8942).
7326
7327 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7328
7329 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7330 insecure exception for current topic. Also note that auto-saves
7331 are handled differently.
7332
7333 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7334 State variables for tracking auto-save inhibition situation.
7335
7336 (allout-write-contents-hook-handler): Rename from
7337 'allout-write-file-hook-handler', and describe how it depends on
7338 write-contents-functions sensitivity to non-nil value to prevent
7339 file write.
7340
7341 (allout-auto-save-hook-handler): Remove. auto-save does not check
7342 this in individual buffers, only in the starting buffer, so this
7343 is not the right way for us to inhibit auto-save in a buffer
7344 according to its condition.
7345
7346 (allout-mode): Use new allout-write-contents-hook-handler, and
7347 only with write-contents-functions. Remove auto-save provisions -
7348 they're implemented elsewhere.
7349
7350 (allout-before-change-handler): If undo is in progress, note that
7351 for attention of allout-post-command-business.
7352
7353 (allout-post-command-business): If the command we're following was
7354 an undo, check for change in the status of encrypted items and
7355 adjust auto-save inhibitions accordingly.
7356
7357 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7358 according to whether there are or aren't any plain-text topics
7359 pending encryption.
7360
7361 (allout-inhibit-auto-save-info-for-decryption):
7362 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7363 if there are plain-text topics pending encryption.
7364
7365 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7366 buffer-saved-size and some allout state to not inhibit auto-saves
7367 if there are no longer any plain-text topics pending encryption.
7368
7369 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7370 No longer provide for exemption of the current topic.
7371
7372 2011-07-04 Juri Linkov <juri@jurta.org>
7373
7374 Add 7z operations to delete and save changed members (bug#8968).
7375 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7376 New defcustoms.
7377 (archive-7z-write-file-member): New function.
7378 (archive-7z-summarize): Fix the number of dashes in the
7379 listing output.
7380
7381 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7384 (bug#8958).
7385
7386 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7387
7388 * bindings.el: Ignore next-buffer and previous-buffer in
7389 minibuffer-local-map.
7390
7391 * font-lock.el (font-lock-builtin-face): Change light background
7392 color to dark slate blue (Bug#6693).
7393
7394 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7395
7396 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7397
7398 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7401 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7402 Add switch-to-buffer.
7403
7404 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7405
7406 * isearch.el (isearch-search-fun-function): Clarify further the
7407 meaning of the function returned.
7408
7409 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7410
7411 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7412
7413 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7414 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7415 Use it.
7416 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7417 `tramp-default-remote-path' does not exist.
7418 (tramp-send-command-and-read): New optional argument NOERROR.
7419 (tramp-open-connection-setup-interactive-shell)
7420 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7421 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7422 (tramp-process-sentinel): Flush also process' connection property.
7423 (tramp-sh-handle-start-file-process): Do not set process
7424 sentinel. It is done now ...
7425 (tramp-maybe-open-connection): ... here. (Bug#8929)
7426
7427 2011-07-04 MON KEY <monkey@sandpframing.com>
7428
7429 * play/animate.el (animate-string): Doc fixes and allow changing
7430 the buffer name (bug#5417).
7431
7432 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433
7434 * play/animate.el (animation-buffer-name): Rename from *animate*.
7435
7436 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7437
7438 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7439 This is simpler and helps future-proof the code.
7440 (timer-until): Use time-subtract and float-time.
7441 (timer--time-less-p): Use time-less-p.
7442
7443 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * type-break.el (timep): Use the value of `float-time' to avoid a
7446 byte-compiler warning.
7447
7448 * server.el (server-eval-and-print): Return any result, even nil.
7449
7450 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7451
7452 * type-break.el: Accept time formats that the builtins accept.
7453 (timep, type-break-time-difference): Accept any format that
7454 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7455 This is simpler and helps future-proof the code.
7456 (type-break-time-difference): Round rather than ignoring
7457 subseconds components.
7458
7459 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7460
7461 * info.el (Info-apropos-matches): Make non-interactive, since it
7462 doesn't seem to do anything useful as a command (bug#8829).
7463
7464 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7465
7466 * frame.el (frame-background-mode, frame-set-background-mode):
7467 Move from faces.el.
7468 (frame-default-terminal-background): New function.
7469
7470 * custom.el (custom-push-theme): Don't record faces in `changed'
7471 theme; this doesn't work correctly for per-frame face settings.
7472 (disable-theme): Use face-set-after-frame-default to reset faces.
7473 (custom--frame-color-default): New function.
7474
7475 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7476
7477 * dired.el (dired-flagging-regexp): Remove unused variable
7478 (bug#8769).
7479
7480 2011-03-29 Kevin Ryde <user42@zip.com.au>
7481
7482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7483 `perl-Test2' extend to match possible "fail #N" rep count
7484 (bug#8377).
7485
7486 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7487
7488 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7489 `smtpmail-via-smtp' now returns the error instead of nil.
7490
7491 * isearch.el (isearch-search-fun-function): Clarify the doc string
7492 (bug#8101).
7493
7494 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7495
7496 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7497 unnecessary spaces (bug#8987).
7498
7499 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7500
7501 * net/network-stream.el (open-network-stream): Use the
7502 :end-of-capability command thoughout.
7503
7504 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7505
7506 * net/network-stream.el (open-network-stream): Add the
7507 :end-of-capability command parameter, used by pop3.el.
7508
7509 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7510
7511 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7512
7513 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7514 for list)" (bug#6475).
7515
7516 * files.el (file-expand-wildcards): Ignore non-readable
7517 sub-directories while trying to find matches instead of signaling
7518 an error (bug#6297).
7519
7520 * man.el (Man-reference-regexp): Allow matching possible
7521 word-wrapped references (bug#6289).
7522
7523 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7524 for consistency with the other vc buffers (bug#6197).
7525 (vc-checkin): Ditto.
7526
7527 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7528
7529 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7530
7531 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7532
7533 * custom.el (defcustom): Clarify that :set is only used in the
7534 Customize user interface (bug#6089).
7535
7536 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7537 associated with a file, refuse to run instead of erroring out
7538 (bug#6084).
7539
7540 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7541 the doc string, since it appears that using `fill-column' always
7542 controls the width (bug#7845).
7543
7544 * simple.el (shell-command-on-region): Say where the error output
7545 went if `shell-command-default-error-buffer' is set (bug#6857).
7546
7547 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7548
7549 * allout.el (allout-yank-processing): Adjust cursor position for
7550 backwards-deleted space.
7551
7552 (allout-rebullet-heading): Register changes with
7553 allout-exposure-changed-hook, so the modified topic is properly
7554 decorated.
7555
7556 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7557
7558 * minibuffer.el (completion-in-region): Document PREDICATE
7559 (bug#7136).
7560
7561 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7562 of keyword/argument pairs (bug#6904).
7563
7564 * replace.el (multi-occur):
7565 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7566
7567 2011-07-02 Drew Adams <drew.adams@oracle.com>
7568
7569 * dired.el (dired-mark-if): Make the message about whether it's
7570 marking or unmarking clearer (bug#8523).
7571
7572 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573
7574 * disp-table.el (display-table-print-array): New function.
7575 (describe-display-table): Use it to print the vectors more pretty
7576 (Bug#8859).
7577
7578 2011-07-02 Martin Rudalics <rudalics@gmx.at>
7579
7580 * window.el (window-state-get-1): Don't assign clone numbers.
7581 Add clone-of item to list of window parameters.
7582 (window-state-put-2): Don't process clone numbers.
7583 (display-buffer-alist): Fix doc-string.
7584
7585 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * subr.el (remq): Don't allocate if it's not needed.
7588 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7589 (keymap--merge-bindings): New functions.
7590 (keymap-canonicalize): Use them to refine the canonicalization.
7591 * minibuffer.el (minibuffer-local-completion-map)
7592 (minibuffer-local-must-match-map): Move initialization from C.
7593 (minibuffer-local-filename-completion-map): Move initialization from C;
7594 don't inherit from anything here.
7595 (minibuffer-local-filename-must-match-map): Make obsolete.
7596 (completing-read-default): Use make-composed-keymap to combine
7597 minibuffer-local-filename-completion-map with either
7598 minibuffer-local-must-match-map or
7599 minibuffer-local-filename-completion-map.
7600
7601 2011-07-01 Glenn Morris <rgm@gnu.org>
7602
7603 * type-break.el (type-break-time-sum): Use dolist.
7604
7605 * textmodes/flyspell.el (flyspell-word-search-backward):
7606 Replace CL function.
7607
7608 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * mouse.el (mouse--strip-first-event): New function.
7611 (function-key-map): Use it to map fringe clicks to normal clicks
7612 by default.
7613
7614 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7615 (vc-bzr-revision-completion-table): Add support for annotate and date.
7616
7617 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7618 inherit from parent.
7619
7620 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7621
7622 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7623 (dired-show-file-type): Doc fixup (bug#8818).
7624
7625 * dired.el (dired-mode): Fix up the doc string as suggested by
7626 Drew Adams (bug#8817).
7627
7628 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7629 cookie, since the manual says that it should be possible to add
7630 this function to `find-file-hook' (bug#8709).
7631
7632 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7633
7634 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7635 here. Noted Ted Zlatanov as the maintainer.
7636 (cfengine-common-settings, cfengine-common-syntax): New functions
7637 to set up common things between `cfengine-mode' and
7638 `cfengine3-mode'.
7639 (cfengine3-mode): New mode.
7640 (cfengine3-defuns cfengine3-defuns-regex
7641 (cfengine3-class-selector-regex cfengine3-category-regex)
7642 (cfengine3-vartypes cfengine3-font-lock-keywords)
7643 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7644 (cfengine3-indent-line): Add from cfengine3.el.
7645
7646 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
7647
7648 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7649
7650 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7651
7652 2011-07-01 Martin Rudalics <rudalics@gmx.at>
7653
7654 * window.el (same-window-buffer-names, same-window-regexps)
7655 (same-window-p, special-display-frame-alist)
7656 (special-display-popup-frame, special-display-function)
7657 (special-display-buffer-names, special-display-regexps)
7658 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7659 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7660 (split-window-preferred-function, split-height-threshold)
7661 (split-width-threshold, even-window-heights)
7662 (display-buffer-mark-dedicated, window-splittable-p)
7663 (split-window-sensibly, window-safely-shrinkable-p):
7664 Un-obsolete.
7665 (display-buffer): Don't spread args with function specifier
7666 because special-display-popup-frame won't like it.
7667
7668 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7669
7670 Time-stamp simplifications and fixes.
7671 These improve accuracy slightly, and future-proof the code
7672 against some potential changes to current-time format.
7673
7674 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7675 by using time-since and float-time.
7676
7677 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7678 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7679 + NNN microseconds".
7680
7681 * type-break.el (type-break-time-sum): Rewrite using time-add.
7682
7683 * play/hanoi.el (hanoi-current-time-float): Remove.
7684 All uses replaced by float-time.
7685
7686 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7687 This yields a more-accurate answer.
7688 (rng-time-to-float): Remove; no longer needed.
7689
7690 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7691
7692 * calendar/timeclock.el (timeclock-seconds-to-time):
7693 Defalias to seconds-to-time, since they're the same thing.
7694
7695 * emacs-lisp/elp.el (elp-elapsed-time):
7696 * emacs-lisp/benchmark.el (benchmark-elapse):
7697 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7698
7699 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * window.el (bury-buffer): Don't iconify the only frame.
7702 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7703 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7704
7705 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
7706
7707 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7708 Add mouse-yank-primary.
7709
7710 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7711
7712 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7713
7714 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7717 (find-library-name): Use it to find relative load names when provided
7718 absolute file name (bug#8803).
7719
7720 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7721
7722 * textmodes/flyspell.el (flyspell-word): Consider words that
7723 differ only in case as potential doublons (bug#5687).
7724
7725 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7726 Remove two rather uninteresting debugging-like messages to make
7727 debbugs.el more silent.
7728
7729 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7730 a password-like phrase.
7731
7732 2011-06-30 Masatake YAMATO <yamato@redhat.com>
7733
7734 * progmodes/cc-guess.el: New file.
7735
7736 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7737
7738 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7739 derived from `c-basic-common-init'.
7740
7741 * progmodes/cc-mode.el (top-level): Require cc-guess.
7742 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7743
7744 2011-06-30 Lawrence Mitchell <wence@gmx.li>
7745
7746 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7747
7748 2011-06-30 Alan Mackenzie <acm@muc.de>
7749
7750 * progmodes/cc-engine.el (c-guess-continued-construct):
7751 Correct the handling of template-args-cont, particularly for when font
7752 lock is disabled. Name this case as "CASE G".
7753
7754 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7755
7756 * allout.el (allout-yank-processing): Fix injection of extra space
7757 between bullet and non-whitespace character in first topic when
7758 pasting, ensuring that the actual spacing in the pasted topic
7759 following the bullet char is preserved. This extra space was
7760 causing pasted encrypted topics to get a decrypted status even
7761 when the content was actually still encrypted. Now the decryption
7762 status from before the paste is preserved.
7763
7764 (allout-flag-region): Set all allout overlays so they evaporate
7765 when reduced to zero length (evanescent), to prevent overlay
7766 leakage.
7767
7768 2011-06-30 Glenn Morris <rgm@gnu.org>
7769
7770 * w32-fns.el (w32-charset-info-alist): Declare.
7771
7772 * find-dired.el (find-grep-options): Simplify.
7773
7774 * term/ns-win.el (ns-set-resource): Declare.
7775
7776 * ses.el (row, col): Declare dynamic variables honestly.
7777
7778 * textmodes/reftex-parse.el (index-tags): Declare.
7779
7780 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
7781
7782 * cus-edit.el (customize-push-and-save): New function.
7783
7784 * files.el (hack-local-variables-confirm): Use it.
7785
7786 * custom.el (load-theme): New arg NO-CONFIRM.
7787 Use customize-push-and-save (Bug#8720).
7788 (custom-enabled-themes): Doc fix.
7789
7790 * cus-theme.el (customize-create-theme)
7791 (custom-theme-merge-theme): Callers to load-theme changed.
7792
7793 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794
7795 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7796 short URLs have at least one dot in them (bug #7614).
7797
7798 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7799 nil, because using a pty is apparently too slow (bug #895).
7800
7801 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802
7803 * mail/sendmail.el (sendmail-query-once): New function.
7804 (sendmail-query-once-function): New variable.
7805
7806 2011-06-29 Glenn Morris <rgm@gnu.org>
7807
7808 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7809
7810 * ses.el (top-level): Require cl when compiling.
7811 (ses-set-localvars): Fix error statement.
7812 Call it at compile time to silence a storm of warnings.
7813
7814 2011-06-29 Martin Rudalics <rudalics@gmx.at>
7815
7816 * window.el (normalize-live-buffer): Rename to
7817 window-normalize-buffer.
7818 (normalize-live-frame): Rename to window-normalize-frame.
7819 (normalize-any-window): Rename to window-normalize-any-window.
7820 (normalize-live-window): Rename to window-normalize-live-window.
7821 (make-window-atom): Rename to window-make-atom.
7822 (window-resize-reset): Rename to window--resize-reset.
7823 (window-resize-reset-1): Rename to window--resize-reset-1.
7824 (resize-mini-window): Rename to window--resize-mini-window.
7825 (resize-subwindows-skip-p): Rename to
7826 window--resize-subwindows-skip-p.
7827 (resize-subwindows-normal): Rename to
7828 window--resize-subwindows-normal.
7829 (resize-subwindows): Rename to window--resize-subwindows.
7830 (resize-other-windows): Rename to window--resize-siblings.
7831 (resize-this-window): Rename to window--resize-this-window.
7832 (resize-root-window): Rename to window--resize-root-window.
7833 (resize-root-window-vertically): Rename to
7834 window--resize-root-window-vertically.
7835 (normalize-buffer-to-display): Rename to
7836 window-normalize-buffer-to-display.
7837 (normalize-buffer-to-switch-to): Rename to
7838 window-normalize-buffer-to-switch-to.
7839 Correspondingly update all callers of the functions listed
7840 above.
7841 (display-buffer-alist, display-buffer-normalize-arguments)
7842 (display-buffer-normalize-options, display-buffer)
7843 (display-buffer-alist-set): Use "function" instead of
7844 "fun-with-args".
7845
7846 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
7847
7848 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7849 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7850 debbugs.gnu.org. Mention acknowledgment email.
7851
7852 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7853
7854 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7855 buffer multibyteness, since it shouldn't matter.
7856
7857 2011-06-28 Martin Rudalics <rudalics@gmx.at>
7858
7859 * window.el (display-buffer-in-side-window): Handle dedicated
7860 windows as in display-buffer-reuse-window.
7861 (display-buffer-normalize-alist): Use value of override
7862 specifier.
7863 (display-buffer-normalize-specifiers): Use value of
7864 other-window-means-other-frame specifier.
7865 (display-buffer-alist): Rewrite some texts in widgets.
7866 (display-buffer): Spread arguments when calling function
7867 specified by fun-with-args.
7868
7869 2011-06-28 Deniz Dogan <deniz@dogan.se>
7870
7871 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7872 Unnest `let'.
7873
7874 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7875 selectors (Bug#5732).
7876 (css-proprietary-nmstart-re): Use `regexp-opt'.
7877
7878 2011-06-27 Jari Aalto <jari.aalto@cante.net>
7879
7880 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7881 (eshell-ls-date-format): New defcustom.
7882 (eshell-ls-file): Use it.
7883
7884 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7885
7886 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7887
7888 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7889
7890 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7891 (ange-ftp-make-tmp-name): New arg.
7892 (ange-ftp-file-local-copy): Use it.
7893
7894 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
7895
7896 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7897 no-conversion (Bug#8870).
7898
7899 2011-06-27 Martin Rudalics <rudalics@gmx.at>
7900
7901 * window.el (window-right, window-left, window-child)
7902 (window-child-count, window-last-child)
7903 (window-iso-combination-p, walk-window-tree-1)
7904 (window-atom-check-1, window-tree-1, delete-window)
7905 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7906 new naming conventions - window-vchild, window-hchild,
7907 window-next and window-prev are now called window-top-child,
7908 window-left-child, window-next-sibling and window-prev-sibling
7909 respectively.
7910 (resize-window-reset): Rename to window-resize-reset.
7911 (resize-window-reset-1): Rename to window-resize-reset-1.
7912 (resize-window): Rename to window-resize.
7913 (window-min-height, window-min-width)
7914 (resize-mini-window, resize-this-window, resize-root-window)
7915 (resize-root-window-vertically, adjust-window-trailing-edge)
7916 (enlarge-window, shrink-window, maximize-window)
7917 (minimize-window, delete-window, quit-restore-window)
7918 (split-window, balance-windows, balance-windows-area-adjust)
7919 (balance-windows-area, window-state-put-2)
7920 (display-buffer-even-window-sizes, display-buffer-set-height)
7921 (display-buffer-set-width, set-window-text-height)
7922 (fit-window-to-buffer): Rename all "resize-window" prefixed
7923 calls to use the "window-resize" prefix convention.
7924 (display-buffer-alist): Fix symbol for label specifier.
7925 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7926 corresponding specifier.
7927 Reported by Juanma Barranquero <lekktu@gmail.com>.
7928
7929 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7930
7931 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7932 convention.
7933 (ses-call-printer): Does not pass an empty string to formatter when the
7934 cell is empty to keep from barking printer Calc math-format-value.
7935
7936 2011-06-27 Richard Stallman <rms@gnu.org>
7937
7938 * battery.el (battery-mode-line-limit): New variable.
7939 (battery-update): Handle it.
7940
7941 * mail/rmailmm.el (rmail-mime-process-multipart):
7942 Handle truncated messages.
7943
7944 2011-06-27 Glenn Morris <rgm@gnu.org>
7945
7946 * progmodes/flymake.el (flymake-err-line-patterns):
7947 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7948
7949 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7950
7951 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7952 (ses--clean-!, ses--clean-_): New functions.
7953 (ses-range): Add configurability of readout order, and conversion
7954 to Calc vector.
7955
7956 * ses.el (ses-repair-cell-reference-all): New function.
7957 (ses-cell-symbol): Set macro as safe, so that it can be used in
7958 formulas.
7959
7960 * ses.el: Update cycle detection algorithm.
7961 (ses-localvars): Add ses--Dijkstra-attempt-nb and
7962 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7963 (ses-set-localvars): New function.
7964 (ses-make-cell): Add property-list as a cell element.
7965 (ses-cell-property-get-fun, ses-cell-property-get)
7966 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7967 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7968 New functions.
7969 (ses-cell-property-set, ses-cell-property-pop)
7970 (ses-cell-property-get-handle): New macro.
7971 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7972 New aliases, used for code readability.
7973 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7974 cycle detection.
7975 (ses-self-reference-early-detection): New defcustom.
7976 (ses-formula-references): Robustify against self-referring cells.
7977 (ses-mode): Use ses-set-localvars.
7978 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7979 before lauching the update processing.
7980 (ses-initialize-Dijkstra-attempt): New function.
7981 (ses-recalculate-cell): Update for cycle detection based on
7982 Dijkstra algorithm.
7983
7984 * ses.el: Fix commenting and indenting convention.
7985
7986 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * bs.el (bs-cycle-next): Complete last change.
7989
7990 2011-06-27 Drew Adams <drew.adams@oracle.com>
7991
7992 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7993
7994 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7995
7996 * net/network-stream.el (network-stream-open-starttls):
7997 Don't re-get capabilities unless we've reestablished connection.
7998 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7999
8000 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8001 to binary to possibly avoid line encoding issues on Windows (among
8002 other things).
8003
8004 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8005
8006 * net/network-stream.el (open-network-stream): Return an :error
8007 saying what the problem was, if possible.
8008
8009 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8010 server.
8011
8012 * net/network-stream.el (network-stream-open-starttls): If we
8013 wanted to use STARTTLS, and the server offered it, but we weren't
8014 able to because we had no STARTTLS support, then close the connection.
8015 (open-network-stream): Return an :error element, if present.
8016
8017 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8018
8019 * hl-line.el (hl-line-sticky-flag): Doc fix.
8020 (global-hl-line-sticky-flag): New option (Bug#8323).
8021 (global-hl-line-highlight): Obey it.
8022
8023 * vc/vc.el (vc-revert-show-diff): Default to t.
8024
8025 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8026
8027 * allout-widgets.el (allout-widgets-post-command-business):
8028 Stop decorating intermediate isearch matches. They're not being
8029 undecorated when an isearch is continued past, and isearch
8030 automatically collapses them. This leads to "widget leaks", where
8031 decorated items accumulate in collapsed areas. Lines with lots of
8032 hidden widgets can slow down cursor travel, substantially.
8033 Too much complicated machinery would be needed to ensure undecoration,
8034 so we're doing without this nicety.
8035
8036 (allout-widgets-tally-string): Don't try to do a hash-table-count
8037 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8038 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8039 *Messages* when allout-widgets-maintain-tally is t.
8040
8041 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8042
8043 * window.el (display-buffer-normalize-argument): Rename to
8044 display-buffer-normalize-arguments. Handle special meaning of
8045 LABEL argument. Respect special-display-function when popping up
8046 a new frame. Fix code searching for a window showing the buffer
8047 on another frame.
8048 (display-buffer-normalize-specifiers):
8049 Call display-buffer-normalize-arguments.
8050 (display-buffer-in-window): Don't undedicate the window if its
8051 buffer remains the same.
8052 Reported by Drew Adams <drew.adams@oracle.com>.
8053 (display-buffer-alist): Add choice for same-window macro
8054 specfier.
8055 (display-buffer): Mention special meaning of LABEL argument in
8056 doc-string. Fix quoting. Don't pop up a new frame even as
8057 fallback.
8058
8059 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8060
8061 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8062 avoid deleting the current window in some cases (bug#8911).
8063
8064 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8065
8066 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8067 (Bug#8934)
8068
8069 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8070
8071 * net/network-stream.el (network-stream-open-starttls):
8072 Use built-in TLS support if `gnutls-available-p' is true.
8073 (network-stream-open-tls): Ditto.
8074
8075 2011-06-26 Leo Liu <sdl.web@gmail.com>
8076
8077 * register.el (registerv): New struct.
8078 (registerv-make): New function.
8079 (jump-to-register, describe-register-1, insert-register):
8080 Support the jump-func, print-func and insert-func slot of a registerv
8081 struct. (Bug#8415)
8082
8083 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8084
8085 * vc/vc.el (vc-revert-show-diff): New defcustom.
8086 (vc-diff-internal): New arg specifying diff buffer.
8087 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8088 reuse an existing *vc-diff* buffer (Bug#8927).
8089
8090 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8091
8092 2011-06-26 Glenn Morris <rgm@gnu.org>
8093
8094 * progmodes/f90.el (f90-critical-indent): New option.
8095 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8096 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8097 (f90-mode): Doc fix.
8098 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8099 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8100 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8101 (f90-match-end): Handle block, critical.
8102
8103 2011-06-25 Glenn Morris <rgm@gnu.org>
8104
8105 * calendar/diary-lib.el (diary-included-files): Doc fix.
8106 (diary-include-files): New function, extracted from
8107 diary-include-other-diary-files and diary-mark-included-diary-files.
8108 (diary-include-other-diary-files, diary-mark-included-diary-files):
8109 Just call diary-include-files.
8110 (diary-mark-entries): Reset diary-included-files on first call.
8111
8112 * calendar/diary-lib.el (diary-mark-entries)
8113 (diary-mark-included-diary-files):
8114 Visit included diary-files in temp buffers.
8115
8116 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8117 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8118 (f90-start-block-re, f90-imenu-generic-expression)
8119 (f90-looking-at-program-block-start, f90-no-block-limit):
8120 Add support for submodules.
8121
8122 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8123 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8124
8125 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8126
8127 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8128 buffer-file-type before setting its value, to avoid disastrous
8129 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8130
8131 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8132
8133 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8134
8135 * ses.el (ses-unload-function):
8136 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8137
8138 * proced.el (proced-unload-function):
8139 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8140
8141 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8142
8143 * server.el (server-create-window-system-frame): Add parameters arg.
8144 (server-process-filter): Doc fix. Handle frame-parameters.
8145
8146 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8147
8148 Fix bug#8730, bug#8781.
8149
8150 * loadhist.el (unload--set-major-mode): New function.
8151 (unload-feature): Use it.
8152
8153 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8154 (python-unload-function): New function.
8155
8156 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8159
8160 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8161
8162 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8163 the candidates list.
8164
8165 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8168
8169 2011-06-23 Richard Stallman <rms@gnu.org>
8170
8171 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8172 (rmail-variables): Set next-error-move-function.
8173 (rmail-what-message): Take argument POS.
8174 (rmail-next-error-move): New function.
8175
8176 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8179 messages for adjacent non-terminals.
8180
8181 2011-06-23 Richard Stallman <rms@gnu.org>
8182
8183 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8184 (rmail-show-message-1): Preserve buffer modified flag.
8185 (rmail-start-mail): Don't specify use of rmail-mail-return;
8186 that's done by mail-bury now.
8187 (rmail-mail-return): Handle arg NEWBUF.
8188
8189 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8190
8191 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8192 SIZE is a number.
8193
8194 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8195
8196 * window.el (get-lru-window, get-mru-window)
8197 (get-largest-window): Never return a minibuffer window.
8198 (display-buffer-pop-up-window): Fix a bug that could lead to
8199 reusing the minibuffer window.
8200 (display-buffer): Pass original specifier argument to
8201 display-buffer-function instead of the normalized one.
8202 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8203
8204 2011-06-22 Leo Liu <sdl.web@gmail.com>
8205
8206 * minibuffer.el (completing-read-function)
8207 (completing-read-default): Move from minibuf.c
8208
8209 2011-06-22 Richard Stallman <rms@gnu.org>
8210
8211 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8212 to Rmail even if not started by a special Rmail command.
8213
8214 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8215 Copy the buffer currently showing just one message.
8216
8217 2011-06-22 Roland Winkler <winkler@gnu.org>
8218
8219 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8220 (bibtex-clean-entry): First delete the old key so that a
8221 customized algorithm for generating the new key does not get
8222 confused by the old key.
8223 (bibtex-url): Obey regexp of first step.
8224 (bibtex-search-entries): Do not use add-to-list with local
8225 list-var.
8226
8227 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8228
8229 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8230 stored a user name, then query for the password first, instead of
8231 waiting for SMTP to give an error message and the trying again.
8232
8233 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8234
8235 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8236 BUFFER in call-process.
8237
8238 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8241 QUIT twice.
8242 (smtpmail-try-auth-methods): Require user name and password from
8243 auth-source.
8244
8245 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8246
8247 * window.el (display-buffer-default-specifiers)
8248 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8249 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8250 (split-window): Normalize SIDE argument (Bug#8916).
8251
8252 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8253 (special-display-frame-alist, special-display-popup-frame):
8254 Remove duplicate declarations. These are now in window.el.
8255
8256 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257
8258 * mail/smtpmail.el (smtpmail-via-smtp):
8259 Set :use-starttls-if-possible so that we always use STARTTLS if the
8260 server supports it. SMTP servers that support STARTTLS commonly
8261 require it.
8262
8263 * net/network-stream.el (network-stream-open-starttls): Support
8264 upgrading to STARTTLS always, even if we don't have built-in support.
8265 (open-network-stream): Add the :always-query-capabilities keyword.
8266
8267 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8268 upgrades with `open-network-stream', and rely solely on
8269 auth-source for all credentials. Big changes throughout the file,
8270 but in particular:
8271 (smtpmail-auth-credentials): Remove.
8272 (smtpmail-starttls-credentials): Remove.
8273 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8274 MAIL FROM, too.
8275
8276 * net/network-stream.el (network-stream-open-starttls):
8277 Provide support for client certificates both for external and built-in
8278 STARTTLS.
8279 (auth-source): Require.
8280 (open-network-stream): Document the :client-certificate keyword.
8281 (network-stream-certificate): Change cert-cert to cert and
8282 cert-key to key.
8283
8284 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8285
8286 * net/tramp-cache.el (top): Don't load the persistency file when
8287 "emacs -Q" has been called.
8288
8289 2011-06-21 Tim Harper <timcharper@gmail.com>
8290
8291 * term/ns-win.el (ns-initialize-window-system):
8292 Set application-specific `ApplePressAndHoldEnabled' system
8293 resource to NO as it is not yet supported by the NS port.
8294
8295 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8296
8297 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8298 (list-dynamic-libraries): ...not here.
8299
8300 2011-06-21 Leo Liu <sdl.web@gmail.com>
8301
8302 * subr.el (sha1): Implement sha1 using secure-hash.
8303
8304 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8305
8306 * window.el (display-buffer-alist): In default value do not
8307 enforce searching a window on any but the selected frame.
8308 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8309 (display-buffer-select-window): Remove function.
8310 (display-buffer-in-window): When a window on another frame gets
8311 reused, do not select it any more but just raise its frame if
8312 necessary (Bug#8851) and (Bug#8856).
8313 (display-buffer-normalize-options): Handle pop-up-frames related
8314 options more faithfully.
8315 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8316 window if it is on another frame.
8317 (display-buffer-alist, display-buffer-default-specifiers):
8318 Don't make new frame unsplittable by default.
8319 (display-buffer-normalize-argument): Fix doc-string typo and use
8320 'same-frame-other-window instead of 'other-window when associating
8321 with display-buffer-macro-specifiers.
8322
8323 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8324
8325 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8326 New functions.
8327 (5x5-mode-map, 5x5-mode-menu): Bind them.
8328 (5x5-draw-grid): Tweak the solver's rendering.
8329
8330 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8333 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8334
8335 2011-06-21 Drew Adams <drew.adams@oracle.com>
8336
8337 * menu-bar.el: Use function variable instead of switch-to-buffer.
8338 (menu-bar-select-buffer-function): New variable.
8339 (menu-bar-update-buffers): Use it (bug#8876).
8340
8341 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8344 variable's status.
8345
8346 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8347
8348 * x-dnd.el (x-dnd-version-from-flags)
8349 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8350 and long as number (Bug#8899).
8351 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8352
8353 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8356 (completion-try-completion, completion-all-completions): Compute the
8357 metadata argument if it's missing; make it optional (bug#8795).
8358
8359 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8360 (widget-complete): Use new :completion-function property.
8361 (widget-completions-at-point): New function.
8362 (default): Use :completion-function instead of :complete.
8363 (widget-default-completions): Rename from widget-default-complete;
8364 Rewrite.
8365 (widget-string-complete, widget-file-complete, widget-color-complete):
8366 Remove functions.
8367 (file, symbol, function, variable, coding-system, color):
8368 * international/mule-cmds.el (default-input-method, charset)
8369 (language-info-custom-alist):
8370 * cus-edit.el (face): Use new property :completions.
8371
8372 * progmodes/pascal.el (pascal-completions-at-point): New function.
8373 (pascal-mode): Use it.
8374 (pascal-mode-map): Use completion-at-point.
8375 (pascal-toggle-completions): Make obsolete.
8376 (pascal-complete-word, pascal-show-completions):
8377 * progmodes/octave-mod.el (octave-complete-symbol):
8378 Redefine as obsolete alias.
8379 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8380 Signal absence of completion info for old Octave,
8381 (inferior-octave-complete): Redefine as obsolete alias.
8382 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8383 (meta-completions-at-point): Rename from meta-complete-symbol and
8384 adapt it for use on completion-at-point-functions.
8385 (meta-common-mode): Use it.
8386 (meta-looking-at-backward, meta-match-buffer): Remove.
8387 (meta-complete-symbol): Redefine as obsolete alias.
8388 (meta-common-mode-map): Use completion-at-point.
8389 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8390 (makefile-mode-map): Use completion-at-point.
8391 (makefile-completions-at-point): Rename from makefile-complete and
8392 adapt it for use on completion-at-point-functions.
8393 (makefile-mode): Use it.
8394 (makefile-complete): Redefine as obsolete alias.
8395
8396 2011-06-20 Deniz Dogan <deniz@dogan.se>
8397
8398 * net/rcirc.el: Delete trailing whitespaces once and for all.
8399
8400 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8401
8402 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8403
8404 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8405
8406 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8407
8408 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8409
8410 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8411
8412 * window.el (display-buffer-other-window-means-other-frame):
8413 Call display-buffer-normalize-alist.
8414 (display-buffer-normalize-specifiers-1): Rename to
8415 display-buffer-normalize-argument. New argument other-frame.
8416 Rewrite.
8417 (display-buffer-normalize-specifiers-2): Rename to
8418 display-buffer-normalize-options.
8419 (display-buffer-normalize-alist-1): New function.
8420 (display-buffer-normalize-specifiers-3): Rename to
8421 display-buffer-normalize-alist.
8422 Call display-buffer-normalize-alist-1.
8423 (display-buffer-normalize-options-inhibit): New variable.
8424 (display-buffer-normalize-specifiers): Rewrite calling
8425 display-buffer-normalize-alist,
8426 display-buffer-normalize-argument, and
8427 display-buffer-normalize-options. Don't call the latter if
8428 display-buffer-normalize-options-inhibit is non-nil.
8429 (frame-auto-delete): New option.
8430 (window-deletable-p): Use frame-auto-delete.
8431 (window-list-no-nils, window-state-ignored-parameters)
8432 (window-state-get-1, window-state-get, window-state-put-list)
8433 (window-state-put-1, window-state-put-2, window-state-put):
8434 New functions.
8435 (display-buffer-normalize-options): Move special-display-p group
8436 after pop-up-frame group (Bug#8851) and (Bug#8856).
8437
8438 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8439
8440 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8441 groups (Bug#8776).
8442 (rx-submatch-n): New function.
8443 (rx): Document it.
8444
8445 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8446 (Bug#8768).
8447
8448 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8449
8450 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8451
8452 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8453 anytime existing face settings are present (Bug#8889).
8454
8455 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8456 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8457 Remove unused argument.
8458
8459 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8460
8461 * window.el (display-buffer-default-specifiers):
8462 Remove pop-up-frame. Add pop-up-window-min-height,
8463 pop-up-window-min-width, and another reuse-window specifier
8464 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8465 (display-buffer-normalize-specifiers-2):
8466 Handle split-height-threshold and split-width-threshold also when
8467 pop-up-windows is unset. Add a reuse-window specifier for the
8468 case popping up a new window fails.
8469 (special-display-popup-frame): Remove double quoting.
8470 (display-buffer-normalize-specifiers-1): Fix thinko.
8471
8472 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8475 according to comint-completion-addsuffix.
8476
8477 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8478 (pcomplete-suffix-list): Mark as obsolete.
8479 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8480 pcomplete-seen in the closure.
8481 (pcomplete-comint-setup): Setup completion-at-point as well.
8482 (pcomplete--entries): New function.
8483 (pcomplete--env-regexp): New var.
8484 (pcomplete-entries): Rewrite to work with partial-completion and
8485 without relying on pcomplete-suffix-list.
8486 (pcomplete-pare-list): Remove, unused.
8487
8488 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8489
8490 * window.el (display-buffer-alist): Set pop-up-window-min-height
8491 and pop-up-window-min-width in default value. Reported by
8492 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8493 other-window-means-other-frame.
8494 (display-buffer-macro-specifiers): Comment out entry for
8495 other-window specifier.
8496 (display-buffer-other-window-means-other-frame): New function.
8497 (display-buffer-normalize-specifiers-1): New arguments
8498 buffer-name and label. Treat other-window case specially.
8499 (display-buffer-normalize-specifiers-2): Treat other-window case
8500 specially.
8501 (display-buffer-normalize-specifiers-3): New function.
8502 (display-buffer-normalize-specifiers):
8503 Call display-buffer-normalize-specifiers-3.
8504
8505 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8506
8507 * window.el (same-window-p): Fix two typos introduced when
8508 adding with-no-warnings.
8509 (display-buffer-normalize-specifiers-1): Don't check
8510 pop-up-frames for 'unset initialization.
8511 (display-buffer-normalize-specifiers-2): Major rewrite using
8512 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8513 (pop-up-frames, display-buffer-reuse-frames)
8514 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8515 Suggested by David Engster <deng@randomsample.de>.
8516 (even-window-heights): Initialize to 'unset.
8517 (display-buffer-alist-set): Handle new 'unset initializations.
8518 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8519 other window case.
8520
8521 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8522
8523 * window.el (display-buffer-normalize-specifiers-1):
8524 Respect current value of pop-up-frames for most reasonable values of
8525 second argument of display-buffer (Bug#8865).
8526 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8527 (switch-to-buffer-other-window-same-frame)
8528 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8529 Adams (Bug#8875).
8530 (display-buffer): Don't check noninteractive when calling
8531 display-buffer-pop-up-frame.
8532 (display-buffer-pop-up-frame): Never pop up a frame in
8533 noninteractive mode (Bug#8857).
8534 (enlarge-window, shrink-window): Don't report an error when the
8535 window can't be resized as requested (Bug#8862).
8536
8537 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8540
8541 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8542
8543 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8544
8545 2011-06-15 Alan Mackenzie <acm@muc.de>
8546
8547 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8548 for declarators, disable knr checking to speed up for normal files.
8549 2: Refactor, replacing a sequence of nested if forms by a cond form.
8550
8551 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
8553 * net/network-stream.el (open-network-stream): Add the keyword
8554 :always-query-capabilities for the case where you want to force a
8555 `plain' network connection, but the protocol still requires the
8556 capabilitiy command (i.e., SMTP and EHLO).
8557
8558 * subr.el (process-live-p): Rename from `process-alive-p' for
8559 consistency with other `-live-p' functions.
8560
8561 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * window.el (same-window-buffer-names, same-window-regexps)
8564 (special-display-frame-alist, special-display-popup-frame)
8565 (special-display-function, special-display-buffer-names)
8566 (special-display-regexps, pop-up-frame-alist)
8567 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8568 (pop-up-windows, split-window-preferred-function)
8569 (split-height-threshold, split-width-threshold, even-window-heights)
8570 (display-buffer-mark-dedicated): Don't encourage the use of
8571 display-buffer-alist from Elisp code.
8572
8573 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8574
8575 * progmodes/python.el (python-mode): Derive from prog-mode.
8576 * progmodes/ps-mode.el (ps-mode):
8577 * progmodes/mixal-mode.el (mixal-mode):
8578 * progmodes/cfengine.el (cfengine-mode):
8579 * progmodes/ld-script.el (ld-script-mode): Likewise.
8580
8581 2011-06-15 Martin Rudalics <rudalics@gmx.at>
8582
8583 * window.el (display-buffer-alist): Trim default value to avoid
8584 popping up a new frame (Bug#8857) or reusing an arbitrary window
8585 on another frame.
8586 (display-buffer): Do not fall back on popping up a new frame in
8587 batch mode (Bug#8857).
8588
8589 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
8590
8591 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8592 (custom-theme-summary): New function.
8593 (customize-themes): Use it.
8594
8595 2011-06-13 Glenn Morris <rgm@gnu.org>
8596
8597 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8598
8599 2011-06-13 Martin Rudalics <rudalics@gmx.at>
8600
8601 * help.el (help-window): Remove variable.
8602 (help-window-point-marker, temp-buffer-max-height)
8603 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8604 (help-print-return-message): Don't set help-window.
8605 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8606 (help-window-setup-finish): Remove.
8607 (help-window-display-message, help-window-setup)
8608 (with-help-window): Major rewrite based on new
8609 display-buffer-window variable.
8610
8611 * help-mode.el (help-mode-finish): Remove help-window related
8612 code.
8613
8614 * view.el (view-exits-all-viewing-windows): Remove reference to
8615 view-return-to-alist in doc-string.
8616 (view-return-to-alist): Make obsolete.
8617 (view-buffer): Call pop-to-buffer-same-window and remove
8618 undo-window code.
8619 (view-buffer-other-window): Call pop-to-buffer-other-window and
8620 simplify code. Ignore second argument.
8621 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8622 simplify code. Ignore second argument.
8623 (view-return-to-alist-update): Make obsolete.
8624 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8625 Rewrite using quit-restore window parameters.
8626 (view-mode-exit): Rename second argument to EXIT-ONLY.
8627 Rewrite using quit-restore-window.
8628 (View-exit, View-exit-and-edit, View-leave, View-quit)
8629 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8630 appropriate arguments.
8631 (view-end-message): Use quit-restore window parameter.
8632
8633 * window.el (display-buffer-function): Rewrite doc-string.
8634 (display-buffer-window, display-buffer-alist): New variables.
8635 (display-buffer-split-specifiers)
8636 (display-buffer-side-specifiers)
8637 (display-buffer-macro-specifiers): New constants.
8638 (display-buffer-even-window-sizes, display-buffer-set-height)
8639 (display-buffer-set-width, display-buffer-select-window)
8640 (display-buffer-in-window, display-buffer-reuse-window)
8641 (display-buffer-split-window-1, display-buffer-split-window)
8642 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8643 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8644 (display-buffer-in-side-window, normalize-buffer-to-display)
8645 (display-buffer-normalize-specifiers-1)
8646 (display-buffer-normalize-specifiers-2)
8647 (display-buffer-normalize-specifiers, display-buffer-frame):
8648 New functions.
8649 (display-buffer): Major rewrite.
8650 (display-buffer-other-window, display-buffer-other-frame)
8651 (pop-to-buffer, switch-to-buffer-other-window)
8652 (switch-to-buffer-other-frame): Rewrite.
8653 (display-buffer-same-window, display-buffer-same-frame)
8654 (display-buffer-same-frame-other-window)
8655 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8656 (pop-to-buffer-other-window)
8657 (pop-to-buffer-same-frame-other-window)
8658 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8659 (switch-to-buffer-other-window-same-frame): New functions.
8660 (same-window-p, special-display-p): Rewrite disabling warnings.
8661 Make obsolete.
8662 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8663 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8664 Make obsolete
8665 (same-window-buffer-names, same-window-regexps)
8666 (special-display-frame-alist, special-display-popup-frame)
8667 (special-display-function, special-display-buffer-names)
8668 (special-display-regexps, pop-up-frame-alist)
8669 (pop-up-frame-function, split-window-preferred-function)
8670 (split-height-threshold, split-width-threshold)
8671 (even-window-heights): Make obsolete.
8672
8673 2011-06-12 Glenn Morris <rgm@gnu.org>
8674
8675 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8676 Misc simplifications.
8677
8678 2011-06-12 Martin Rudalics <rudalics@gmx.at>
8679
8680 * window.el (window-safely-shrinkable-p): Restore function which
8681 was inadvertently removed in change from 2011-06-11. Declare as
8682 obsolete.
8683
8684 * calendar/calendar.el (calendar-generate-window):
8685 Use window-iso-combined-p instead of combination of one-window-p and
8686 window-safely-shrinkable-p.
8687
8688 2011-06-12 Glenn Morris <rgm@gnu.org>
8689
8690 * progmodes/fortran.el (fortran-mode-syntax-table):
8691 * progmodes/f90.el (f90-mode-syntax-table):
8692 Set % to punctuation. (Bug#8820)
8693 (f90-find-tag-default): Remove, no longer needed.
8694
8695 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8696
8697 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8698
8699 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
8700
8701 * image.el (image-animated-p): Return animation delay in seconds.
8702 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8703 (image-animate-timeout): Remove DELAY argument. Don't assume
8704 every subimage has the same delay; get it from image-animated-p.
8705 (image-animate): Caller changed.
8706
8707 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
8708
8709 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8710 to ignored backtrace functions.
8711
8712 2011-06-11 Glenn Morris <rgm@gnu.org>
8713
8714 * calendar/appt.el (appt-disp-window-function): Doc fix.
8715 (appt-check): Handle overlapping appointments. (Bug#8337)
8716
8717 2011-06-11 Martin Rudalics <rudalics@gmx.at>
8718
8719 * window.el (window-tree-1, window-tree): New functions, moving
8720 the latter to window.el.
8721 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8722 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8723 (bw-refresh-edges): Remove.
8724 (balance-windows-1, balance-windows-2): New functions.
8725 (balance-windows): Rewrite in terms of window tree functions,
8726 balance-windows-1 and balance-windows-2.
8727 (bw-adjust-window): Remove.
8728 (balance-windows-area-adjust): New function with functionality of
8729 bw-adjust-window but using resize-window.
8730 (set-window-text-height): Rewrite doc-string.
8731 Use normalize-live-window and resize-window.
8732 (enlarge-window-horizontally, shrink-window-horizontally):
8733 Rename argument to DELTA.
8734 (window-buffer-height): New function.
8735 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8736 Rewrite using new window resize routines.
8737 (kill-buffer-and-window, mouse-autoselect-window-select):
8738 Use ignore-errors instead of condition-case.
8739 (quit-window): Call delete-frame instead of delete-windows-on
8740 for the only buffer on frame.
8741
8742 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8743
8744 * loadup.el (top-level): Load window before files for the sake
8745 of replace-buffer-in-windows.
8746
8747 * files.el (read-buffer-to-switch)
8748 (switch-to-buffer-other-window)
8749 (switch-to-buffer-other-frame, display-buffer-other-frame):
8750 Move to window.el.
8751
8752 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8753 (previous-buffer): Move to window.el.
8754
8755 * bindings.el (unbury-buffer): Move to window.el.
8756
8757 * window.el (delete-other-windows-vertically): Move after
8758 definition of delete-other-windows.
8759 (other-window, delete-windows-on, replace-buffer-in-windows):
8760 Move here from window.c.
8761 (record-window-buffer, unrecord-window-buffer)
8762 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8763 (switch-to-next-buffer): New functions.
8764 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8765 from simple.el. Call switch-to-next-buffer.
8766 (previous-buffer): Move here from simple.el.
8767 Call switch-to-prev-buffer.
8768 (bury-buffer): Move here from buffer.c. Switch to previous
8769 buffer when window cannot be deleted.
8770 (unbury-buffer): Move here from bindings.el.
8771 (ctl-x-map): Move binding for other-window from window.c to
8772 here.
8773 (read-buffer-to-switch, switch-to-buffer-other-window)
8774 (switch-to-buffer-other-frame): Move here from files.el.
8775 (normalize-buffer-to-switch-to): New functions.
8776 (switch-to-buffer): Move here from buffer.c.
8777 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8778
8779 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8780
8781 * window.el (window-min-height, window-min-width): Move here
8782 from window.c. Add defcustoms and rewrite doc-strings.
8783 (resize-mini-window, resize-window): New functions.
8784 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8785 Move here from window.c.
8786 (maximize-window, minimize-window): New functions.
8787 (delete-window, delete-other-windows, split-window): Move here
8788 from window.c.
8789 (window-split-min-size): New function.
8790 (split-window-keep-point): Mention split-window-above-each-other
8791 instead of split-window-vertically.
8792 (split-window-above-each-other, split-window-vertically):
8793 Rename split-window-vertically to split-window-above-each-other
8794 and provide defalias for old definition.
8795 (split-window-side-by-side, split-window-horizontally):
8796 Rename split-window-horizontally to split-window-side-by-side
8797 and provide defalias for the old definition.
8798 (ctl-x-map): Move bindings for delete-window,
8799 delete-other-windows and enlarge-window here from window.c.
8800 Replace bindings for split-window-vertically and
8801 split-window-horizontally by bindings for
8802 split-window-above-each-other and split-window-side-by-side.
8803
8804 * cus-start.el (all): Remove entries for window-min-height and
8805 window-min-width. Add entries for window-splits and
8806 window-nest.
8807
8808 2011-06-09 Glenn Morris <rgm@gnu.org>
8809
8810 * calendar/appt.el (appt-mode-line): New function.
8811 (appt-check, appt-disp-window): Use it.
8812
8813 * files.el (hack-one-local-variable-eval-safep):
8814 Allow minor-modes with explicit +/-1 arguments.
8815
8816 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8817
8818 * term/xterm.el (xterm): Add defgroup.
8819 (xterm-extra-capabilities): Add defcustom to supply known xterm
8820 capabilities, skip querying them, or query them (default).
8821 (terminal-init-xterm): Use it.
8822 (terminal-init-xterm-modify-other-keys): New function to set up
8823 modifyOtherKeys support to simplify `terminal-init-xterm'.
8824
8825 2011-06-09 Martin Rudalics <rudalics@gmx.at>
8826
8827 * window.el (resize-window-reset, resize-window-reset-1)
8828 (resize-subwindows-skip-p, resize-subwindows-normal)
8829 (resize-subwindows, resize-other-windows, resize-this-window)
8830 (resize-root-window, resize-root-window-vertically)
8831 (window-deletable-p, window-or-subwindow-p)
8832 (frame-root-window-p): New functions.
8833
8834 2011-06-09 Glenn Morris <rgm@gnu.org>
8835
8836 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8837 (ange-ftp-get-files): Use it.
8838
8839 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8840
8841 * mail/sendmail.el (mail-recover-1, mail-recover):
8842 * files.el (recover-file, recover-session):
8843 Handle dired-listing-switches not being just a single short option.
8844
8845 2011-06-09 Glenn Morris <rgm@gnu.org>
8846
8847 * calendar/appt.el (appt-display-message, appt-disp-window):
8848 Handle lists of appointments.
8849
8850 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8851
8852 * window.el (one-window-p): Move down in code.
8853 Rewrite doc-string.
8854 (window-current-scroll-bars): Rewrite doc-string.
8855 Normalize live window argument.
8856 (walk-windows, get-window-with-predicate, count-windows):
8857 Rewrite doc-string. Use window-list-1.
8858 (window-in-direction-2, window-in-direction, get-mru-window):
8859 New functions.
8860
8861 2011-06-08 Reuben Thomas <rrt@sc3d.org>
8862
8863 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8864 Doc fix (Bug#8713).
8865
8866 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
8867
8868 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8869
8870 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
8871
8872 * loadhist.el (unload-feature-special-hooks):
8873 Add `comint-output-filter-functions'.
8874
8875 2011-06-08 Ivan Kanis <gnu@kanis.fr>
8876
8877 * calendar/appt.el (appt-check): Move some initializations into the let.
8878
8879 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8880
8881 * window.el (window-height): Defalias to window-total-height.
8882 (window-width): Defalias to window-body-width.
8883
8884 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
8885
8886 * image-mode.el (image-toggle-animation): New command.
8887 (image-mode-map): Bind it to RET.
8888 (image-mode): Update message.
8889 (image-toggle-display-image): Avoid a spurious cache flush.
8890 (image-transform-rotation): Doc fix.
8891 (image-transform-properties): Return quickly in the normal case.
8892 (image-animate-loop): Rename from image-animate-max-time.
8893
8894 * image.el (image-animate-max-time): Move to image-mode.el.
8895 (create-animated-image): Remove unnecessary function.
8896 (image-animate): Rename from image-animate-start. New arg.
8897 (image-animate-stop): Remove; just use image-animate-timer.
8898 (image-animate-timer): Use car-safe.
8899 (image-animate-timeout): Rename argument.
8900
8901 2011-06-07 Martin Rudalics <rudalics@gmx.at>
8902
8903 * window.el (get-lru-window, get-largest-window): Move here from
8904 window.c. Rename first argument to ALL-FRAMES.
8905 Rephrase doc-strings.
8906 (get-buffer-window-list): Rewrite using window-list-1.
8907 Rephrase doc-string.
8908 (window-safe-min-height, window-safe-min-width): New constants.
8909 (window-size-ignore, window-min-size, window-min-size-1)
8910 (window-sizable, window-sizable-p, window-size-fixed-1)
8911 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8912 (window-max-delta-1, window-max-delta, window-resizable)
8913 (window-resizable-p, window-total-height, window-total-width)
8914 (window-body-width): New functions.
8915 (window-full-height-p, window-full-width-p): Rewrite using
8916 window-total-size.
8917 (window-body-height): Rewrite using window-body-size.
8918
8919 2011-06-06 Martin Rudalics <rudalics@gmx.at>
8920
8921 * window.el (window-right, window-left, window-child)
8922 (window-child-count, window-last-child, window-any-p)
8923 (normalize-live-buffer, normalize-live-frame)
8924 (normalize-any-window, normalize-live-window)
8925 (window-iso-combination-p, window-iso-combined-p)
8926 (window-iso-combinations)
8927 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8928 (windows-with-parameter, window-with-parameter)
8929 (window-atom-root, make-window-atom, window-atom-check-1)
8930 (window-atom-check, window-side-check, window-check):
8931 New functions.
8932 (ignore-window-parameters, window-sides, window-sides-vertical)
8933 (window-sides-slots): New variables.
8934 (window-size-fixed): Move down in code. Minor doc-string fix.
8935
8936 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8937
8938 * comint.el (comint-dynamic-complete-as-filename)
8939 (comint-dynamic-complete-filename): Correctly call
8940 completion-in-region.
8941
8942 2011-06-05 Deniz Dogan <deniz@dogan.se>
8943
8944 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8945 in last change.
8946
8947 2011-06-05 Deniz Dogan <deniz@dogan.se>
8948
8949 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8950 (rcirc): Use it to prompt for encryption.
8951
8952 2011-06-05 Roland Winkler <winkler@gnu.org>
8953
8954 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8955 (bibtex-search-entries): New command bound to C-c C-a.
8956 (bibtex-display-entries): New function.
8957
8958 2011-06-05 Roland Winkler <winkler@gnu.org>
8959
8960 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8961 (bibtex-insert-kill): After yanking insert newline if necessary.
8962 (bibtex-initialize): Call bibtex-string-files-init only once.
8963 (bibtex-mode): Do not call easy-menu-add.
8964 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8965 (bibtex-yank): Set arg properly if nil.
8966
8967 2011-06-05 Roland Winkler <winkler@gnu.org>
8968
8969 * textmodes/bibtex.el (bibtex-search-entry-globally):
8970 New variable.
8971 (bibtex-search-entry): Use it.
8972
8973 2011-06-05 Roland Winkler <winkler@gnu.org>
8974
8975 * textmodes/bibtex.el (bibtex-entry-format): New option
8976 sort-fields.
8977 (bibtex-format-entry, bibtex-reformat): Honor this option.
8978 (bibtex-parse-entry): Return fields in proper order.
8979
8980 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
8981
8982 * doc-view.el (doc-view-remove-if): Move computation of result out
8983 of `dolist' to silence misleading lexical-binding warning.
8984
8985 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
8986
8987 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8988 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8989
8990 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8991
8992 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8993 "SunOS 5.10".
8994
8995 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8996
8997 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8998 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8999 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9000 (tramp-parse-putty):
9001 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9002 (tramp-completion-function-alist-ssh)
9003 (tramp-completion-function-alist-telnet)
9004 (tramp-completion-function-alist-su)
9005 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9006 cookie.
9007
9008 * net/tramp-ftp.el:
9009 * net/tramp-sh.el:
9010 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9011 load "tramp.el" `tramp-set-completion-function'.
9012
9013 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * shell.el: Require and use pcomplete.
9016 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9017 (shell-completion-vars): Set pcomplete-default-completion-function.
9018
9019 2011-06-04 Deniz Dogan <deniz@dogan.se>
9020
9021 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9022 `memq' (Bug#8799).
9023
9024 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9027
9028 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9031 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9032 * vc/log-view.el (log-view-beginning-of-defun):
9033 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9034 (smerge-refine-forward, smerge-refine-chopup-region):
9035 Silence warning for unused `dotimes' counter variables.
9036
9037 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * net/tramp.el (tramp-with-progress-reporter): Rename from
9040 with-progress-reporter. Use `declare'.
9041 * net/tramp-smb.el:
9042 * net/tramp-sh.el:
9043 * net/tramp-gvfs.el: Update all uses.
9044
9045 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9046
9047 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9048 buffer isn't killed before making it current.
9049
9050 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 Silence various byte-compiler warnings.
9053 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9054 `access-type' and new obsolescence format.
9055 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9056 new format.
9057 (byte-compile-check-variable): New `access-type' argument.
9058 Only warn if the access-type is obsolete.
9059 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9060 (byte-compile-variable-set): Adjust callers.
9061 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9062 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9063 setting it as obsolete.
9064 * simple.el (minibuffer-completing-symbol):
9065 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9066 access as obsolete.
9067 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9068 obsolete yet.
9069 * international/quail.el (quail-mouse-choose-completion): Remove unused
9070 code referring to obsolete var.
9071 (quail-choose-completion-string): Remove.
9072 * server.el (server-clients-with, server-kill-buffer-query-function)
9073 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9074 * proced.el (proced-send-signal):
9075 * emacs-lisp/lisp.el (lisp-complete-symbol):
9076 Replace completion-annotate-function with completion-extra-properties.
9077
9078 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * simple.el (goto-line): Use read-number.
9081 (overriding-map-is-bound): Remove.
9082 (saved-overriding-map): Change default.
9083 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9084 Take the map as argument.
9085 (universal-argument, negative-argument, digit-argument): Use it.
9086 (restore-overriding-map): Adjust.
9087 (do-auto-fill): Use fill-forward-paragraph.
9088 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9089
9090 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9091 (minibuffer-inactive-mode): New major mode.
9092 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9093 the *Messages* buffer" hack.
9094 (mouse-popup-menubar): Don't burp if the event is a normal key.
9095
9096 Miscellaneous tweaks.
9097 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9098 lexical scoping as in subr.el's dolist and dotimes.
9099 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9100 Silence compiler warning.
9101 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9102 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9103 * international/ccl.el (ccl-compile): Trivial simplification.
9104 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9105 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9106 `printflag' argument.
9107 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9108 Purecopy the whole obsolescence data.
9109
9110 2011-06-01 Leo Liu <sdl.web@gmail.com>
9111
9112 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9113 improve doc-string as suggested by Marco Pessotto
9114 <melmothx@gmail.com>.
9115 (rcirc-print): Fix last change.
9116
9117 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * minibuffer.el (complete-with-action): Return nil for the metadata and
9120 boundaries of non-functional tables.
9121 (completion-table-dynamic): Return nil for the metadata.
9122 (completion-table-with-terminator): Add default case, using
9123 complete-with-action.
9124 (completion--metadata): New function.
9125 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9126 to try and avoid pathological performance problems.
9127 (completion--embedded-envvar-table): Return `category' metadata.
9128
9129 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9130
9131 * subr.el (process-alive-p): New tiny convenience function.
9132
9133 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9136 content but also its previous major mode.
9137
9138 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9139
9140 * emacs-lisp/debug.el (debug): Restore the previous content of the
9141 *Backtrace* buffer when we exit with C-M-c.
9142
9143 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * minibuffer.el: Add metadata method to completion tables.
9146 (completion-category-overrides): New defcustom.
9147 (completion-metadata, completion--field-metadata)
9148 (completion-metadata-get, completion--styles)
9149 (completion--cycle-threshold): New functions.
9150 (completion-try-completion, completion-all-completions):
9151 Add `metadata' argument to choose completion-styles.
9152 (completion--do-completion): Use metadata to choose cycling.
9153 (completion-all-sorted-completions): Use metadata for sorting.
9154 Remove :completion-cycle-penalty which is not needed any more.
9155 (completion--try-word-completion): Add `metadata' argument.
9156 (minibuffer-completion-help): Check metadata for annotation function
9157 and sorting.
9158 (completion-file-name-table): Return `category' metadata.
9159 (minibuffer-completing-file-name): Make obsolete.
9160 * simple.el (minibuffer-completing-symbol): Make obsolete.
9161 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9162 completion-try-completion.
9163
9164 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9167
9168 2011-05-30 Leo Liu <sdl.web@gmail.com>
9169
9170 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9171 (rcirc-print): Decode all incoming messages (bug#8744).
9172 (rcirc-decode-coding-system): Allow value nil for automatic coding
9173 system detection.
9174
9175 2011-06-01 Glenn Morris <rgm@gnu.org>
9176
9177 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9178
9179 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9180
9181 * image.el (image-animate-max-time): Allow nil and t values.
9182 Default to nil.
9183 (create-animated-image): Doc fix.
9184 (image-animate-start): Remove second arg; just use
9185 image-animate-max-time.
9186 (image-animate-timeout): Doc fix. Args changed.
9187
9188 * image-mode.el (image-toggle-display-image): Ensure that the
9189 image spec passed to the animate timer is the same object as in
9190 the buffer's display property (Bug#6981).
9191 (image-transform-properties): Doc fix.
9192
9193 * image.el (image-animate-max-time): Default to nil.
9194
9195 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9196
9197 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9198 entire buffer list (Bug#8184).
9199
9200 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9201
9202 * image.el (imagemagick-types-inhibit)
9203 (imagemagick-register-types): Doc fix.
9204
9205 2011-05-29 Deniz Dogan <deniz@dogan.se>
9206
9207 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9208 default.
9209
9210 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9211
9212 * select.el: Don't perform clipboard-manager saving in hooks;
9213 leave the hooks empty.
9214
9215 2011-05-28 Leo Liu <sdl.web@gmail.com>
9216
9217 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9218 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9219 (occur-edit-mode): New major mode (Bug#8463).
9220 (occur-after-change-function): New function.
9221 (occur-engine): Give Occur tags a read-only property.
9222
9223 2011-05-28 Kevin Ryde <user42@zip.com.au>
9224
9225 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9226
9227 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9228
9229 * bindings.el (help-echo): Make the initial non-indicator dash
9230 empty on graphical terminals (Bug#7295).
9231
9232 * files.el (auto-mode-alist): Move config rule after the
9233 in-stripping one (Bug#8547).
9234
9235 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9236
9237 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9238 setting (Bug#8740).
9239
9240 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9241
9242 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9243 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9244 (Bug#8539).
9245
9246 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9247
9248 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9249
9250 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9251
9252 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9253 (hs-hide-block-at-point, hs-find-block-beginning)
9254 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9255 (Bug#8279).
9256
9257 2011-05-28 Glenn Morris <rgm@gnu.org>
9258
9259 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9260
9261 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9262
9263 * help-fns.el (describe-function-1): If the function is a derived
9264 major mode, print the parent mode.
9265
9266 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9267 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9268
9269 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * minibuffer.el (completion--capf-wrapper): Check applicability before
9272 returning non-nil for non-exclusive completion data.
9273 * progmodes/etags.el (tags-completion-at-point-function):
9274 * info-look.el (info-lookup-completions-at-point): Mark as
9275 non-exclusive.
9276 (info-complete): Adjust accordingly.
9277
9278 * info-look.el: Convert to lexical-binding and completion-at-point.
9279 (info-lookup-completions-at-point): New function.
9280 (info-complete): Use it and completion-in-region.
9281
9282 2011-05-28 Drew Adams <drew.adams@oracle.com>
9283
9284 * isearch.el: Let M-e start with point at the first mismatched char.
9285 (isearch-fail-pos): New function.
9286 (isearch-edit-string): Use it.
9287
9288 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9289
9290 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9291
9292 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9293
9294 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9295 traversal functions for avl-trees.
9296 (avl-tree--stack): New struct.
9297 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9298 (avl-tree-enter): Add optional `updatefun' arg.
9299 (avl-tree--do-enter): Add optional `updatefun' arg.
9300 Change return value.
9301 (avl-tree-delete): Add optional `test' and `nilflag' args.
9302 (avl-tree--do-delete): Add `test' and `nilflag' args.
9303 Change return value.
9304 (avl-tree-member): Add optional `nilflag'
9305 (avl-tree-member-p): New function.
9306 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9307 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9308 (avl-tree-stack-empty-p): New functions.
9309
9310 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9311 avl-tree--del-balance1 and make it work both ways.
9312 (avl-tree--del-balance2): Remove.
9313 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9314 make it work both ways.
9315 (avl-tree--enter-balance2): Remove.
9316 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9317 New macros.
9318 (avl-tree--mapc, avl-tree-map): Add direction argument.
9319
9320 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9321
9322 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9323
9324 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9325
9326 * select.el: Support clipboard managers with built-in function
9327 x-clipboard-manager-save, via delete-frame-functions and
9328 kill-emacs-hook.
9329 (xselect-convert-to-targets): Add MULTIPLE target to list.
9330 (xselect-convert-to-save-targets): New function.
9331
9332 2011-05-27 Kenichi Handa <handa@m17n.org>
9333
9334 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9335 let-binding rfc2047-encode-encoded-words to nil.
9336
9337 2011-05-27 Glenn Morris <rgm@gnu.org>
9338
9339 * mail/emacsbug.el: Don't require url-util.
9340
9341 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9342
9343 * files.el (set-auto-mode):
9344 Also respect mode: entries at the end of the file. (Bug#8586)
9345
9346 2011-05-26 Glenn Morris <rgm@gnu.org>
9347
9348 * files.el (hack-local-variables-prop-line, hack-local-variables):
9349 Downcase mode names, as seems to be traditional.
9350 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9351
9352 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9353 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9354
9355 2011-05-25 Julien Danjou <julien@danjou.info>
9356
9357 * textmodes/rst.el (rst-define-level-faces): Do not define face
9358 symbol if it is already defined.
9359
9360 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9361
9362 * play/5x5.el (5x5-new-game, 5x5-randomize):
9363 Reset 5x5-solver-output to nil when a new grid is cast.
9364 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9365 these debugging traces, as defmacro breaks the compiled code.
9366
9367 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9368
9369 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9370
9371 2011-05-24 Leo Liu <sdl.web@gmail.com>
9372
9373 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9374 (vc-bzr-sha1): Adapt.
9375
9376 * sha1.el: Remove. Function `sha1' is now builtin.
9377
9378 * bindings.el: Provide sha1 feature.
9379
9380 2011-05-24 Kenichi Handa <handa@m17n.org>
9381
9382 * mail/sendmail.el: Require `rfc2047'.
9383 (mail-insert-from-field): Do not perform RFC2047 encoding.
9384 (mail-encode-header): New function.
9385 (sendmail-send-it): Set buffer-file-coding-system of the work
9386 buffer to the return value of select-message-coding-system.
9387 Call mail-encode-header.
9388
9389 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9390
9391 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9392
9393 * mail/supercite.el (sc-default-cite-frame):
9394 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9395
9396 2011-05-24 Glenn Morris <rgm@gnu.org>
9397
9398 * progmodes/python.el (brm-menu): Declare.
9399
9400 * emulation/viper.el (viper-set-hooks): Declare.
9401
9402 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9403 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9404 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9405 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9406 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9407 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9408
9409 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 Add an :exit-function for completion-at-point.
9412
9413 * minibuffer.el (completion--done): New fun.
9414 (completion--do-completion): Use it. New arg `expect-exact'.
9415 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9416 since completion--do-completion does it for us now.
9417 (minibuffer-force-complete): Use completion--done and
9418 completion--replace. Handle sole-completion case with more care.
9419 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9420 (completion-extra-properties): New var.
9421 (completion-annotate-function): Make obsolete.
9422 (minibuffer-completion-help): Adjust accordingly.
9423 Use completion-list-insert-choice-function.
9424 (completion-at-point, completion-help-at-point):
9425 Bind completion-extra-properties.
9426 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9427 * simple.el (completion-list-insert-choice-function): New var.
9428 (completion-setup-function): Preserve it.
9429 (choose-completion): Pay attention to it, shuffle the code a bit.
9430 (choose-completion-string): New arg `insert-function'.
9431
9432 * textmodes/bibtex.el: Convert to lexical binding.
9433 (bibtex-mode-map): Use completion-at-point.
9434 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9435 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9436 (bibtex-complete): Define as obsolete alias.
9437 (bibtex-complete-internal): Remove.
9438 (bibtex-format-entry): Remove unused sub-group in regexp.
9439 * shell.el (shell--command-completion-data)
9440 (shell-environment-variable-completion):
9441 * pcomplete.el (pcomplete-completions-at-point):
9442 * comint.el (comint--complete-file-name-data): Use :exit-function
9443 instead of completion-table-with-terminator so it also works for
9444 choose-completion.
9445
9446 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9447
9448 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9449
9450 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9451 (bug#8710).
9452
9453 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9454
9455 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9456
9457 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9458 customization variable and implement: If non-nil, auto-fill will
9459 be inhibited while on topic's header line.
9460
9461 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9462
9463 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9464 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9465 always have a solution in grid size = 5 cases.
9466 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9467 (5x5-solver-output, 5x5-log-buffer): New vars.
9468 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9469 Make these variables buffer local to achieve 5x5 multi-session-ness.
9470 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9471 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9472 (5x5-solve-suggest): New funs.
9473 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9474 randomize a grid so that we ensure that there is always a solution.
9475 (5x5-make-random-grid): Allow other movement than flipping.
9476
9477 2011-05-23 Kevin Ryde <user42@zip.com.au>
9478
9479 * emacs-lisp/advice.el (ad-read-advised-function):
9480 Use `function-called-at-point' as the default, if it has
9481 advice and passes PREDICATE.
9482
9483 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9484
9485 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9486 byte-compile-lambda if it's actually a lambda.
9487
9488 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9489 Fix function quoting. Use backquote better.
9490
9491 2011-05-22 Yuanle Song <sylecn@gmail.com>
9492
9493 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9494 matching (Bug#8516).
9495
9496 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9497
9498 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9499 different face (Bug#8178).
9500
9501 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9502
9503 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9504 defface (Bug#8144).
9505
9506 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9509 funcall as well (bug#8712). Warn when performing those conversions.
9510 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9511
9512 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9513
9514 2011-05-22 Glenn Morris <rgm@gnu.org>
9515
9516 * files.el (hack-local-variables-prop-line): Small simplifications.
9517 (hack-local-variables, hack-local-variables-prop-line):
9518 If MODE-ONLY, return the mode, rather than just `t'.
9519
9520 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9521
9522 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9523
9524 2011-05-21 Glenn Morris <rgm@gnu.org>
9525
9526 * files.el (hack-local-variables-prop-line, hack-local-variables):
9527 If only interested in the mode, don't bother doing the other stuff.
9528
9529 * image-mode.el (image-after-revert-hook):
9530 Redraw all frames on which the image is visible. (Bug#8567)
9531
9532 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9533
9534 * wid-edit.el (widget-checklist-match-inline):
9535 Fix 2011-04-19 change. (Bug#8649)
9536
9537 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9540 Also allow singlespace after single-letter capitals followed by a dot.
9541
9542 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9543 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9544
9545 2011-05-20 Nix <nix@esperi.org.uk>
9546
9547 * files.el (basic-save-buffer-2):
9548 Fix handling of break-hardlink-on-save with non-existent files.
9549
9550 2011-05-19 Deniz Dogan <deniz@dogan.se>
9551
9552 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9553 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9554
9555 2011-05-19 Glenn Morris <rgm@gnu.org>
9556
9557 * progmodes/f90.el (f90-type-def-re):
9558 Handle "type, bind(c)". (Bug#8691)
9559
9560 * emacs-lisp/autoload.el (batch-update-autoloads):
9561 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9562
9563 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9564
9565 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9566 property for the correct connection in case of multihops.
9567
9568 2011-05-18 Glenn Morris <rgm@gnu.org>
9569
9570 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9571 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9572
9573 Rationalize calendar handling of day and month abbrev-arrays.
9574 * calendar/calendar.el (calendar-customized-p): New function.
9575 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9576 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9577 Add :set function.
9578 (calendar-abbrev-length, calendar-day-abbrev-array)
9579 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9580 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9581 Elements may no longer be nil.
9582 (calendar-day-name, calendar-month-name):
9583 Update for changed nature of abbrev arrays.
9584 * calendar/diary-lib.el (diary-name-pattern):
9585 Update for changed nature of abbrev arrays.
9586 (diary-mark-entries-1): Update calendar-make-alist calls.
9587 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9588 * calendar/cal-html.el (cal-html-day-abbrev-array):
9589 Simply inherit from calendar-day-abbrev-array.
9590
9591 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * progmodes/grep.el (grep-mode): Disable default
9594 compilation-directory-matcher setting (bug#8684).
9595
9596 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
9597
9598 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9599 instead of "head" and "tail". There were problems with SunOS 5.9,
9600 and it performs better.
9601
9602 2011-05-17 Glenn Morris <rgm@gnu.org>
9603
9604 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9605
9606 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9607 Replace obsolete function.
9608
9609 * shell.el (pcomplete-parse-arguments-function): Declare.
9610
9611 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9612 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9613 (appt-check): Doc fixes.
9614 (appt-disp-window-function, appt-delete-window-function):
9615 Remove needless special case in custom :type.
9616 (appt-display-count): Default to 0, not nil.
9617 (appt-check): Reset appt-display-count to 0, not nil.
9618
9619 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
9620
9621 * progmodes/python.el (python-font-lock-keywords):
9622 Add the Python 3.X keyword "nonlocal" (bug#8639).
9623
9624 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9627
9628 2011-05-16 Kevin Ryde <user42@zip.com.au>
9629
9630 * info-look.el (makefile-automake-mode): New setups, looking in
9631 automake manual, then makefile-mode.
9632 (makefile-mode): Remove automake manual, have it just in
9633 makefile-automake-mode since there's various things different or
9634 not relevant to plain make.
9635 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9636 believe a hypothetical automake-mode would go to makefile-mode,
9637 not the other way around.
9638
9639 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
9640
9641 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9642 hunk-end tags (Bug#8672).
9643
9644 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9645 vc-annotate-show-diff-revision-at-line (Bug#8671).
9646
9647 2011-05-14 Glenn Morris <rgm@gnu.org>
9648
9649 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9650 in the middle of an existing one with multiple authors. (Bug#8645)
9651 (change-log-font-lock-keywords): Also handle multiple author lines
9652 with leading tabs. (Bug#8644)
9653
9654 * calendar/appt.el (appt-check): Rename some local variables.
9655 Some simplification/reordering.
9656
9657 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9658 (feedmail-sendmail-f-doesnt-sell-me-out)
9659 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9660 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9661 (feedmail-queue-runner-message-sender): Set :version.
9662 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9663 (bbdb-dwim-net-address, vm-mail): Declare.
9664 (feedmail-binmail-gnulinuxish-template):
9665 Rename from feedmail-binmail-linuxish-template.
9666 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9667 Use insert-buffer-substring.
9668
9669 2011-05-14 Bill Carpenter <bill@carpenter.org>
9670
9671 * mail/feedmail.el (feedmail-patch-level): Increase.
9672 (feedmail-debug): New custom group.
9673 (feedmail-confirm-outgoing-timeout)
9674 (feedmail-sendmail-f-doesnt-sell-me-out)
9675 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9676 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9677 (feedmail-sender-line, feedmail-from-line)
9678 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9679 (feedmail-spray-this-address)
9680 (feedmail-spray-address-fiddle-plex-list)
9681 (feedmail-queue-use-send-time-for-date)
9682 (feedmail-queue-use-send-time-for-message-id)
9683 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9684 (feedmail-buffer-eating-function):
9685 Doc fixes.
9686 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9687 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9688 (feedmail-message-action-scroll-down): New functions.
9689 (feedmail-queue-directory, feedmail-queue-draft-directory):
9690 Use expand-file-name.
9691 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9692 Remove C-v help entry.
9693 (feedmail-queue-buffer-file-name): New variable.
9694 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9695 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9696 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9697 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9698 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9699 (feedmail-message-action-toggle-spray)
9700 (feedmail-run-the-queue-no-prompts)
9701 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9702 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9703 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9704 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9705 (feedmail-envelope-deducer, feedmail-fiddle-from)
9706 (feedmail-fiddle-sender, feedmail-default-date-generator)
9707 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9708 (feedmail-fiddle-spray-address)
9709 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9710 (feedmail-fiddle-list-of-fiddle-plexes)
9711 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9712 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9713 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9714 Change default. Doc fix.
9715 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9716 (feedmail-binmail-linuxish-template): New constant.
9717 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9718 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9719 (feedmail-send-it): Add debug call.
9720 Use feedmail-queue-buffer-file-name, and
9721 feedmail-send-it-immediately-wrapper.
9722 (feedmail-message-action-send): Add debug call.
9723 Use feedmail-send-it-immediately-wrapper.
9724 (feedmail-queue-express-to-queue): Add debug call.
9725 Run feedmail-queue-express-hook.
9726 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9727 (feedmail-message-action-help-blat):
9728 Rename from feedmail-queue-send-edit-prompt-help-first.
9729 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9730 Check line-endings. Handle errors better.
9731 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9732 Doc fix. Add debug call.
9733 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9734 Use feedmail-queue-send-edit-prompt-inner.
9735 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9736 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9737 from feedmail-queue-send-edit-prompt.
9738 (feedmail-queue-send-edit-prompt-help)
9739 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9740 (feedmail-tidy-up-slug): Add debug call.
9741 Respect feedmail-queue-slug-suspect-regexp.
9742 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9743 (feedmail-dump-message-to-queue): Add debug call.
9744 Expand queue-directory.
9745 (feedmail-dump-message-to-queue): Change message slightly.
9746 Use feedmail-say-chatter.
9747 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9748 (feedmail-send-it-immediately-wrapper): New function.
9749 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9750 Insert empty string rather than newline. Handle full-frame case.
9751 Use catch/throw. Use feedmail-say-chatter.
9752 (feedmail-fiddle-from): Try mail-host-address.
9753 (feedmail-default-message-id-generator): Doc fix.
9754 Bind system-time-locale. Handle missing end.
9755 (feedmail-fiddle-x-mailer): Add debug call.
9756 Handle feedmail-x-mailer-line being nil.
9757 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9758 Add debug call. Use buffer-substring-no-properties.
9759 (feedmail-say-debug, feedmail-say-chatter): New functions.
9760 (feedmail-find-eoh): Give an explicit error.
9761
9762 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
9763
9764 * net/newst-treeview.el (newsticker-treeview-face): Change default
9765 family from helvetica to sans.
9766 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9767 etc/images/newsticker.
9768
9769 * net/newst-reader.el (newsticker-feed-face): Change default
9770 family from helvetica to sans.
9771
9772 * net/newst-plainview.el (newsticker-new-item-face)
9773 (newsticker-old-item-face, newsticker-immortal-item-face)
9774 (newsticker-obsolete-item-face, newsticker-date-face)
9775 (newsticker-statistics-face): Change default family from
9776 helvetica to sans.
9777 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9778 etc/images/newsticker.
9779
9780 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9781 (newsticker--process-auto-mark-filter-match): : Tell user about
9782 auto-marking.
9783
9784 2011-05-13 Didier Verna <didier@xemacs.org>
9785
9786 Common Lisp indentation improvements on defmethod and lambda-lists.
9787 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9788 TODO entries.
9789 (lisp-lambda-list-keyword-parameter-indentation)
9790 (lisp-lambda-list-keyword-parameter-alignment)
9791 (lisp-lambda-list-keyword-alignment): New customizable user options.
9792 (lisp-indent-defun-method): Improve docstring.
9793 (extended-loop-p): Fix comment.
9794 (lisp-indent-lambda-list-keywords-regexp): New variable.
9795 (lisp-indent-lambda-list): New function.
9796 (lisp-indent-259): Use it.
9797 (lisp-indent-defmethod): Support for more than one
9798 method qualifier and properly indent methods lambda-lists.
9799 (defgeneric): Provide a missing common-lisp-indent-function property.
9800
9801 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9804 bounds for the empty string (bug#8667).
9805
9806 2011-05-13 Glenn Morris <rgm@gnu.org>
9807
9808 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9809
9810 * mail/sendmail.el (sendmail-program): Try executable-find first.
9811 (sendmail-send-it): `sendmail-program' cannot be unbound.
9812
9813 * calendar/appt.el (appt-make-list): Simplify.
9814 (appt-time-msg-list): Doc fix.
9815 (appt-check): Change mode-line message at the time of the appointment.
9816
9817 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9818
9819 * progmodes/ld-script.el (ld-script-keywords)
9820 (ld-script-builtins): Update keywords list.
9821
9822 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9825
9826 * shell.el (shell-completion-vars): New function.
9827 (shell-mode):
9828 * simple.el (read-shell-command): Use it.
9829 (blink-matching-open): No need for " [...]" in minibuffer-message.
9830
9831 2011-05-12 Glenn Morris <rgm@gnu.org>
9832
9833 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9834 (appt-check): Simplify.
9835
9836 2011-05-12 Eli Zaretskii <eliz@gnu.org>
9837
9838 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9839 literal "/dev/null".
9840
9841 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9844 Fix typo.
9845
9846 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
9847
9848 * progmodes/which-func.el (which-function):
9849 Use add-log-current-defun instead of add-log-current-defun-function,
9850 which might not be defined (Bug#8260).
9851
9852 2011-05-12 Glenn Morris <rgm@gnu.org>
9853
9854 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9855 Let byte-compile-initial-macro-environment always take precedence.
9856
9857 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * net/rcirc.el: Add support for SSL/TLS connections.
9860 (rcirc-server-alist): New field `encryption'.
9861 (rcirc): Check `encryption' settings.
9862 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9863 Merge make-local-variable into `set'.
9864 (rcirc--connection-open-p): New function.
9865 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9866 the process is not a network process (e.g. running gnutls-cli).
9867 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9868 Make rcirc-(en|de)code-coding-system local here.
9869 (rcirc-mode): Merge make-local-variable into `set'.
9870 (rcirc-parent-buffer): Make permanent buffer-local.
9871 (rcirc-multiline-minor-mode): Don't do it here.
9872 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9873 there's no server buffer.
9874
9875 2011-05-11 Glenn Morris <rgm@gnu.org>
9876
9877 * newcomment.el (comment-kill): Prefix "unused" local.
9878
9879 * term/w32console.el (get-screen-color): Declare.
9880
9881 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9882 Handle symbol elements of byte-compile-initial-macro-environment.
9883
9884 2011-05-10 Leo Liu <sdl.web@gmail.com>
9885
9886 * bookmark.el (bookmark-bmenu-mode-map):
9887 Bind bookmark-bmenu-search to `/'.
9888
9889 * mail/footnote.el: Convert to utf-8 encoding.
9890 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9891 (Footnote-unicode): New function.
9892 (footnote-style-alist): Add unicode style to the list.
9893 (footnote-style): Doc fix.
9894
9895 2011-05-10 Jim Meyering <meyering@redhat.com>
9896
9897 Fix doubled-word typos.
9898 * international/quail.el (quail-insert-kbd-layout): and and -> and
9899 * kermit.el: and and -> and
9900 * net/ldap.el (ldap-search-internal): to to -> to
9901 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9902 * progmodes/js.el (js-mode): and and -> and
9903 * textmodes/artist.el (artist-move-to-xy): at at -> at
9904 (artist-draw-region-trim-line-endings): if if -> if
9905 And Safetyc -> Safety.
9906 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9907
9908 2011-05-10 Glenn Morris <rgm@gnu.org>
9909 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * files.el (hack-one-local-variable-eval-safep):
9912 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9913
9914 2011-05-10 Glenn Morris <rgm@gnu.org>
9915
9916 * calendar/diary-lib.el (diary-list-entries-hook)
9917 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9918 (diary-nongregorian-marking-hook, diary-list-entries)
9919 (diary-include-other-diary-files, diary-mark-entries)
9920 (diary-mark-included-diary-files): Doc fixes.
9921
9922 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9923
9924 * misc.el: Require tabulated-list.el during compilation.
9925
9926 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9927
9928 * progmodes/compile.el (compilation-start):
9929 Run compilation-filter-hook for the async case too.
9930 (compilation-filter-hook): Doc fix.
9931
9932 2011-05-09 Deniz Dogan <deniz@dogan.se>
9933
9934 * wdired.el: Remove outdated installation comment. Fix usage
9935 comment.
9936
9937 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9938
9939 * misc.el: Implement new command `list-dynamic-libraries'.
9940 (list-dynamic-libraries--loaded-only-p): New variable.
9941 (list-dynamic-libraries--refresh): New function.
9942 (list-dynamic-libraries): New command.
9943
9944 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9945
9946 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9947 Fix the ant regexp to handle end-line and end-column info from jikes.
9948 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9949 higher priority to avoid clobbering by gnu.
9950
9951 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9952
9953 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9954 if the face has existing theme settings (Bug#8454).
9955
9956 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9957
9958 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9959 Only match variables declared via `my' or `our' (Bug#8261).
9960
9961 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9962 special file names `.' and `..' (Bug#8259).
9963
9964 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9965
9966 * progmodes/grep.el (grep-mode-font-lock-keywords):
9967 Remove buffer-changing entries.
9968 (grep-filter): New function.
9969 (grep-mode): Add it to compilation-filter-hook.
9970
9971 * progmodes/compile.el (compilation-filter-hook)
9972 (compilation-filter-start): New defvars.
9973 (compilation-filter): Call compilation-filter-hook prior to
9974 updating the process mark.
9975
9976 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9979
9980 2011-05-07 Eli Zaretskii <eliz@gnu.org>
9981
9982 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9983 mailclient-send-it even if window-system is nil. (Bug#8595)
9984
9985 * term/w32console.el (terminal-init-w32console):
9986 Call get-screen-color and use its output to set the frame
9987 background-mode. (Bug#8597)
9988
9989 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9990
9991 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9992 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9993 New functions.
9994 (defgeneric, eieio--defmethod): Use them.
9995 (eieio-defgeneric): Remove.
9996 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9997
9998 2011-05-07 Glenn Morris <rgm@gnu.org>
9999
10000 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10001 Use let rather than let*.
10002 (timeclock-find-discrep): Remove unused local.
10003
10004 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10005
10006 * calendar/appt.el (appt-time-msg-list): Doc fix.
10007
10008 2011-05-06 Noah Friedman <friedman@splode.com>
10009
10010 * apropos.el (apropos-print-doc): Only use
10011 emacs-lisp-docstring-fill-column when it is bound to an integer,
10012 per that variable's documentation.
10013
10014 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10017 and warnings are not silently discarded (e.g. use -d instead of -P).
10018
10019 2011-05-06 Glenn Morris <rgm@gnu.org>
10020
10021 * calendar/appt.el (appt-message-warning-time): Doc fix.
10022 (appt-warning-time-regexp): New option.
10023 (appt-make-list): Respect appt-message-warning-time.
10024
10025 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10026 New options.
10027 (diary-add-to-list): Strip comments from the displayed string.
10028 (diary-mode): Set comment-start and comment-end.
10029
10030 * vc/diff-mode.el (smerge-refine-subst): Declare.
10031 (diff-refine-hunk): Don't require smerge-mode when compiling.
10032
10033 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * simple.el (list-processes): Return nil as the docstring says.
10036
10037 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10040 to "".
10041 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10042 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10043 determining of binary transfer. (Bug#7383)
10044
10045 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10046
10047 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10048 Fix port computation bug. (Bug#8618)
10049
10050 2011-05-05 Glenn Morris <rgm@gnu.org>
10051
10052 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10053
10054 * simple.el (shell-dynamic-complete-functions)
10055 (comint-dynamic-complete-functions): Declare.
10056
10057 * net/network-stream.el (gnutls-negotiate):
10058 * simple.el (tabulated-list-print): Fix declarations.
10059
10060 * progmodes/gud.el (syntax-symbol, syntax-point):
10061 Remove unnecessary and incorrect declarations.
10062
10063 * emacs-lisp/check-declare.el (check-declare-scan):
10064 Handle byte-compile-initial-macro-environment in bytecomp.el
10065
10066 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 Fix earlier half-done eieio-defmethod change (bug#8338).
10069 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10070 Streamline and change calling convention.
10071 (defmethod): Adjust accordingly and simplify.
10072 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10073 new eieio--defmethod.
10074 (slot-boundp): Minor CSE simplification.
10075
10076 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10077
10078 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10079 (glasses-make-readable): Use glasses-separate-capital-groups.
10080
10081 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10082
10083 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10084 (warning-series): Doc fix.
10085 (display-warning): Don't try to create the buffer if we just found it.
10086
10087 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10088
10089 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10090 (autoload-find-generated-file): New function.
10091 (generate-file-autoloads): Bind generated-autoload-file to
10092 buffer-file-name.
10093 (update-file-autoloads, update-directory-autoloads):
10094 Use autoload-find-generated-file. If called interactively, prompt for
10095 output file (Bug#7989).
10096 (batch-update-autoloads): Doc fix.
10097
10098 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10099
10100 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10101
10102 2011-05-04 Glenn Morris <rgm@gnu.org>
10103
10104 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10105 function, so it follows changes in calendar-date-style.
10106 (diary-fancy-date-matcher): New function.
10107 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10108 (diary-fancy-font-lock-fontify-region-function):
10109 Use diary-fancy-date-pattern as a function.
10110
10111 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10112 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10113
10114 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10115
10116 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10117 instead of positional arguments. Allow :keylist and :crlfiles
10118 arguments.
10119 (open-gnutls-stream): Call it.
10120
10121 * net/network-stream.el (network-stream-open-starttls): Adjust to
10122 call `gnutls-negotiate' with :process and :hostname arguments.
10123
10124 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * minibuffer.el (completion--message): New function.
10127 (completion--do-completion, minibuffer-complete)
10128 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10129 (completion--do-completion): Don't ignore completion-auto-help when in
10130 icomplete-mode.
10131
10132 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10133 internal encoding (e.g. tibetan zero is not whitespace).
10134 (global-whitespace-mode): Prefer save-current-buffer.
10135 (whitespace-trailing-regexp): Remove useless save-match-data.
10136 (whitespace-empty-at-bob-regexp): Minor simplification.
10137
10138 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10139
10140 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10141
10142 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10143
10144 * textmodes/ispell.el (ispell-add-per-file-word-list):
10145 Use `concat' to create string for insertion.
10146
10147 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10150 Avoid open-line which runs post-self-insert-hook.
10151 (bibtex-fill-entry): Remove unused `end' var.
10152
10153 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10154
10155 * textmodes/ispell.el (ispell-add-per-file-word-list):
10156 Protect against `nil' value of `comment-start' (Bug#8579).
10157
10158 2011-05-03 Leo Liu <sdl.web@gmail.com>
10159
10160 * isearch.el (isearch-yank-pop): New command.
10161 (isearch-mode-map): Bind it to `M-y'.
10162 (isearch-forward): Mention it.
10163
10164 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 * simple.el (minibuffer-complete-shell-command): Remove.
10167 (minibuffer-local-shell-command-map): Use completion-at-point.
10168 (read-shell-command): Setup completion vars here instead.
10169 (read-expression-map): Bind TAB to symbol completion.
10170
10171 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10172 error directly rather via storing it into `results'.
10173
10174 2011-05-02 Leo Liu <sdl.web@gmail.com>
10175
10176 * vc/diff.el: Fix description.
10177
10178 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10179
10180 * server.el (server-eval-at): New function.
10181
10182 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10183
10184 * net/network-stream.el (open-network-stream): Take a :nowait
10185 parameter and pass it on to `make-network-process'.
10186 (network-stream-open-plain): Ditto.
10187
10188 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10189
10190 * faces.el (face-spec-set-match-display): Don't match toolkit
10191 options on terminal frames.
10192
10193 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * progmodes/pascal.el: Use lexical binding.
10196 (pascal-mode-map): Remove author preferences.
10197
10198 * pcomplete.el (pcomplete-std-complete): Don't abuse
10199 completion-at-point.
10200
10201 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10202
10203 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10204 removing code that has been dead since 1991 or so.
10205
10206 * startup.el (command-line): When warning about "_emacs", use a
10207 delayed warning to allow the user to filter it out.
10208
10209 2011-04-28 Deniz Dogan <deniz@dogan.se>
10210
10211 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10212 user has not joined.
10213
10214 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10217 aren't any completions at point.
10218
10219 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10220
10221 * subr.el (display-delayed-warnings): New function.
10222 (delayed-warnings-hook): New variable.
10223
10224 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * minibuffer.el (completion-at-point, completion-help-at-point):
10227 Don't presume that a given completion-at-point-function will always
10228 use the same calling convention.
10229
10230 * pcomplete.el (pcomplete-completions-at-point):
10231 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10232 pcomplete-seen is non-nil.
10233 (pcomplete-comint-setup): Also recognize the new comint/shell
10234 completion functions.
10235 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10236 pcomplete-seen is non-nil.
10237
10238 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10239
10240 * calendar/icalendar.el (diary-lib): Add require statement.
10241 (icalendar--create-uid): Read out a uid from a text-property on
10242 the first character in the entry. This allows for code to add its
10243 own uid to the entry.
10244 (icalendar--convert-float-to-ical): Add export of
10245 `diary-float'-entries save for those with the optional DAY
10246 argument.
10247
10248 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10249
10250 * subr.el (shell-quote-argument): Use alternate escaping strategy
10251 when we spot a variable reference in a string.
10252
10253 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10254
10255 * cus-start.el (all): Define customization for debug-on-event.
10256
10257 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10258
10259 * subr.el (shell-quote-argument): Escape correctly under Windows.
10260
10261 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10264
10265 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10266
10267 * net/tramp.el (tramp-process-actions): Add POS argument.
10268 Delete region between POS and (pos).
10269
10270 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10271 Use `nil' position in `tramp-process-actions' call.
10272 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10273
10274 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10275 position in `tramp-process-actions' call.
10276
10277 * net/trampver.el: Update release number.
10278
10279 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * custom.el (defcustom): Obey lexical-binding.
10282
10283 Fix octave-inf completion problems reported by Alexander Klimov.
10284 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10285 Inherit from octave-mode-syntax-table.
10286 (inferior-octave-mode): Set info-lookup-mode.
10287 (inferior-octave-completion-at-point): New function.
10288 (inferior-octave-complete): Use it and completion-in-region.
10289 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10290 comint-filename-completion.
10291 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10292 symbol elements which shouldn't be word elements.
10293 (octave-font-lock-keywords, octave-beginning-of-defun)
10294 (octave-function-header-regexp): Adjust regexps accordingly.
10295 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10296
10297 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10298
10299 * net/gnutls.el (gnutls-errorp): Declare before first use.
10300
10301 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10302
10303 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10304 verify-error, and verify-hostname-error parameters. Check whether
10305 default trustfile exists before going to use it. Add missing
10306 argument to gnutls-message-maybe call. Return value.
10307 Reported by Claudio Bley <claudio.bley@gmail.com>.
10308 (open-gnutls-stream): Add usage example.
10309
10310 * net/network-stream.el (network-stream-open-starttls): Give host
10311 parameter to `gnutls-negotiate'.
10312 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10313 * subr.el (shell-quote-argument): Escape correctly under Windows.
10314
10315 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10316
10317 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10318 Use correct match group (bug#8438).
10319
10320 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10321
10322 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10323 (package-menu--generate): New arg specifying packages to show.
10324 (package-menu-refresh, package-menu-execute, list-packages):
10325 Callers changed.
10326 (package-show-package-list): New function, replacing deleted
10327 package--list-packages (renamed because it is non-internal).
10328
10329 * finder.el (finder-list-matches): Use package-show-package-list
10330 instead of deleted package--list-packages.
10331
10332 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10333 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10334 (vc-annotate-mode-map): Bind it to RET.
10335
10336 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10337
10338 * progmodes/etags.el (next-file): Don't use set-buffer to change
10339 buffers (Bug#8478).
10340
10341 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10342
10343 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10344
10345 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10346 (apropos-accumulator): Doc fix.
10347 (apropos-function, apropos-macro, apropos-command)
10348 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10349 (apropos-plist): Add face property.
10350 (apropos-symbols-internal): Fix indentation.
10351 (apropos-print): Simplify help, and recognize apropos-multi-type.
10352 (apropos-print-doc): Use button-type-get to extract the button's
10353 face property. Fill docstring (Bug#8352).
10354
10355 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10356
10357 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10358
10359 * play/mpuz.el (mpuz-silent): Doc fix.
10360 (mpuz-mode-map): Use mapc.
10361 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10362 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10363 Fix typos in docstrings.
10364
10365 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10366 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10367
10368 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10369
10370 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10371
10372 * minibuffer.el (completion--do-completion): Avoid the "Next char
10373 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10374
10375 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10376 mouse-2 into unread-command-events, it is interpreted correctly.
10377
10378 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10379 (image-toggle-display): Doc fix.
10380
10381 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10382
10383 * textmodes/page.el (what-page): Use line-number-at-pos to
10384 calculate line number (Bug#6825).
10385
10386 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10387
10388 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10389 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10390 Pass argument NO-DEFAULT to `find-tag-interactive'.
10391
10392 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10393
10394 Lexical-binding cleanup.
10395
10396 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10397 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10398 * progmodes/ada-prj.el (ada-prj-initialize-values)
10399 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10400 (ada-prj-show-value):
10401 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10402 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10403 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10404 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10405 * progmodes/bug-reference.el (bug-reference-push-button):
10406 * progmodes/fortran.el (fortran-line-length):
10407 * progmodes/glasses.el (glasses-change):
10408 * progmodes/octave-mod.el (octave-fill-paragraph):
10409 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10410 (python-pdbtrack-grub-for-buffer, python-sentinel):
10411 * progmodes/sql.el (sql-save-connection):
10412 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10413 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10414 Mark unused parameters.
10415
10416 * progmodes/compile.el (compilation--flush-directory-cache)
10417 (compilation--flush-parse, compile-internal): Mark unused parameters.
10418 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10419 (compilation-next-error-function): Remove unused variable `timestamp'.
10420
10421 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10422 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10423
10424 * progmodes/dcl-mode.el (dcl-end-of-command):
10425 Remove unused variable `start'.
10426 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10427 (dcl-option-value-basic, dcl-option-value-offset)
10428 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10429 Mark unused parameters.
10430 (dcl-save-local-variable): Remove unused variable `val'.
10431 (mode): Declare.
10432
10433 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10434 Mark unused parameters.
10435 (delphi-ignore-changes): Move before first use.
10436 (delphi-charset-token-at): Remove unused variable `start'.
10437 (delphi-else-start): Remove unused variable `if-count'.
10438 (delphi-comment-block-start, delphi-comment-block-end):
10439 Remove unused variable `kind'.
10440 (delphi-indent-line): Remove unused variable `new-point'.
10441
10442 * progmodes/ebrowse.el (ebrowse-files-list)
10443 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10444 Mark unused parameters. Don't quote `lambda'.
10445 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10446 Don't quote `lambda'.
10447 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10448 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10449 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10450 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10451 Use `ignore-errors'.
10452 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10453 (ebrowse-view/find-file-and-search-pattern)
10454 (ebrowse-view/find-member-declaration/definition):
10455 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10456 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10457 Rename parameter PREFIX-ARG to PREFIX.
10458 (ebrowse-tags-read-name): Remove unused variables `start' and
10459 `member-info'.
10460 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10461 to `tags-file'.
10462
10463 * progmodes/etags.el (local-find-tag-hook): Declare.
10464 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10465 Mark unused parameters.
10466
10467 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10468 (executable-interpret): Mark unused parameter.
10469
10470 * progmodes/flymake.el (flymake-process-sentinel)
10471 (flymake-after-change-function)
10472 (flymake-create-temp-with-folder-structure)
10473 (flymake-get-include-dirs-dot): Mark unused parameters.
10474 (flymake-safe-delete-directory): Remove unused variable `err'.
10475
10476 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10477 (speedbar-timer-fn, speedbar-line-text)
10478 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10479 (speedbar-center-buffer-smartly): Declare functions.
10480 (gdb-find-watch-expression): Remove unused variable `array'.
10481 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10482 (gdb-starting): Mark unused parameters.
10483 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10484 (gdb-table-string): Remove unused variable `res'.
10485 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10486 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10487 (gdb-display-buffer): Remove unused variable `cur-size'.
10488
10489 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10490 allow lexical-binding compilation.
10491 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10492 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10493 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10494 Mark unused parameters.
10495 (gud-gdb-marker-filter): Remove unused variable `match'.
10496 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10497 lambda expressions and funcall them, instead of using `fset'.
10498
10499 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10500 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10501
10502 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10503 variable `header-beg'; use `let'.
10504
10505 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10506 `restart', `last-sexp' and `at-do'.
10507
10508 * progmodes/js.el (js--debug): Mark unused parameter.
10509 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10510 (js--splice-into-items): Remove unused variable `item'.
10511 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10512
10513 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10514 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10515 (makefile-complete): Remove unused variable `try'.
10516 (makefile-fill-paragraph, makefile-match-function-end):
10517 Mark unused parameters.
10518
10519 * progmodes/octave-inf.el (inferior-octave-complete):
10520 Remove unused variable `proc'.
10521 (inferior-octave-output-digest): Mark unused parameter.
10522
10523 * progmodes/perl-mode.el (perl-calculate-indent):
10524 Remove unused variable `err'.
10525
10526 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10527 (prolog-indent-line): Mark unused parameters.
10528 (prolog-indent-line): Remove unused variable `beg'.
10529
10530 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10531 (reporter-dont-compact-list): Declare.
10532
10533 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10534 Remove unused variable `char'.
10535 (sh-debug): Mark unused parameter.
10536 (sh-get-indent-info): Remove unused variable `start'.
10537 (sh-calculate-indent): Remove unused variable `var'.
10538
10539 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10540 (simula-electric-keyword): Remove unused variable `null'.
10541 (simula-search-backward, simula-search-forward): Remove unused
10542 variables `begin' and `end'.
10543
10544 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10545 Remove unused variable `pos'.
10546 (vera-electric-tab, vera-comment-uncomment-region):
10547 Mark unused parameters.
10548 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10549
10550 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10551
10552 * emacs-lisp/package.el (package--builtins, package-alist)
10553 (package-load-descriptor, package-built-in-p, package-activate)
10554 (define-package, package-installed-p)
10555 (package-compute-transaction, package-buffer-info)
10556 (package--push): Doc fix. Distinguish more clearly between
10557 version strings and version lists.
10558
10559 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10560
10561 Lexical-binding cleanup.
10562
10563 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10564 (5x5-make-mutate-best):
10565 * play/fortune.el (fortune-in-buffer):
10566 * play/gomoku.el (gomoku-init-display):
10567 * play/solitaire.el (solitaire, solitaire-do-check):
10568 * play/tetris.el (tetris-default-update-speed-function):
10569 Mark unused parameters.
10570
10571 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10572 (bubbles--shift): Remove unused variable `char-org'.
10573 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10574 (bubbles--show-images): Remove unused variable `char'.
10575
10576 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10577 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10578 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10579 (decipher-analyze-buffer): Use ?\s.
10580 (decipher-make-checkpoint): Remove unused variable `mapping'.
10581
10582 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10583
10584 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10585 Remove unused variable `result'; use `let'.
10586
10587 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10588 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10589 (gametree-children-shown-p, gametree-compute-reduced-score):
10590 Use `ignore-errors'.
10591
10592 * play/handwrite.el (ps-lpr-switches): Declare.
10593 (handwrite): Remove unused variables `pmin' and `lastp'.
10594
10595 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10596
10597 * play/landmark.el (landmark-init-display)
10598 (landmark-update-naught-weights): Mark unused parameters.
10599 (landmark-y): Remove unused variable `noise'. Simplify.
10600 (landmark-human-plays): Remove unused variable `score'.
10601
10602 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10603 (mpuz-try-proposal): Remove unused variable `game'.
10604
10605 * play/zone.el (life-patterns): Declare.
10606
10607 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
10608
10609 * vc/vc.el (ediff-vc-internal): Declare function.
10610
10611 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10612
10613 * shell.el: Use lexical-binding and std completion UI.
10614 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10615 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10616 comint-preoutput-filter-functions rather than on
10617 comint-output-filter-functions.
10618 (shell-command-completion, shell--command-completion-data)
10619 (shell-filename-completion, shell-environment-variable-completion)
10620 (shell-c-a-p-replace-by-expanded-directory): New functions.
10621 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10622 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10623 (shell-dynamic-complete-environment-variable): Use them.
10624 (shell-dynamic-complete-as-environment-variable)
10625 (shell-dynamic-complete-as-command): Remove.
10626 (shell-match-partial-variable): Match past point.
10627 * comint.el: Clean up use of completion-at-point-functions.
10628 (comint-completion-at-point): New function.
10629 (comint-mode): Use it completion-at-point-functions.
10630 (comint-dynamic-complete): Make it obsolete.
10631 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10632 (comint-c-a-p-replace-by-expanded-history): New function.
10633 (comint-dynamic-complete-functions)
10634 (comint-replace-by-expanded-history): Use it.
10635 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10636 termination strings. Try harder to avoid second try-completion.
10637 (completion-in-region-mode-map): Disable bindings that don't work yet.
10638
10639 * comint.el: Use lexical-binding. Require CL.
10640 (comint-dynamic-complete-functions): Use comint-filename-completion.
10641 (comint-completion-addsuffix): Tweak custom type.
10642 (comint-filename-completion, comint--common-suffix)
10643 (comint--common-quoted-suffix, comint--table-subvert)
10644 (comint--complete-file-name-data): New functions.
10645 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10646 (comint-dynamic-list-filename-completions): Use them.
10647 (comint-dynamic-simple-complete): Make obsolete.
10648
10649 * minibuffer.el (completion-in-region-mode):
10650 Keep completion-in-region-mode--predicate global.
10651 (completion-in-region--postch):
10652 Assume completion-in-region-mode--predicate is not null.
10653
10654 * progmodes/flymake.el (flymake-start-syntax-check-process):
10655 Obey `dir'. Simplify.
10656
10657 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10658 we're in VC after all.
10659
10660 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10661
10662 * vc/vc.el (vc-diff-build-argument-list-internal)
10663 (vc-version-ediff, vc-ediff): New commands.
10664 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10665
10666 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10669 add sanity check.
10670
10671 * obsolete/erc-hecomplete.el: Make obsolete.
10672 * obsolete/: Standardize obsolescence info in the header.
10673
10674 2011-04-20 Glenn Morris <rgm@gnu.org>
10675
10676 * calendar/solar.el (solar-horizontal-coordinates):
10677 Use the longitude argument rather than `calendar-longitude'.
10678 (solar-date-next-longitude): Remove unused locals.
10679
10680 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10681
10682 * whitespace.el: New version 13.2.1.
10683
10684 2011-04-20 felix <EmacsWiki> (tiny change)
10685
10686 * whitespace.el (global-whitespace-mode): Keep highlight when
10687 switching between major modes on a file.
10688
10689 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10692 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10693 multi-line comments as well.
10694
10695 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
10696
10697 Lexical-binding cleanup.
10698
10699 * arc-mode.el (archive-mode-revert):
10700 * cmuscheme.el (scheme-interactively-start-process):
10701 * custom.el (custom-initialize-delay):
10702 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10703 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10704 * emacs-lock.el (emacs-lock-clear-sentinel):
10705 * ezimage.el (defezimage):
10706 * follow.el (follow-avoid-tail-recenter):
10707 * fringe.el (set-fringe-mode-1):
10708 * generic-x.el (bat-generic-mode-compile):
10709 * help-mode.el (help-info-variable, help-do-xref)
10710 (help-mode-revert-buffer):
10711 * help.el (view-emacs-todo):
10712 * iswitchb.el (iswitchb-completion-help):
10713 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10714 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10715 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10716 * locate.el (locate-update):
10717 * longlines.el (longlines-encode-region)
10718 (longlines-after-change-function):
10719 * outline.el (outline-isearch-open-invisible):
10720 * ps-def.el (declare-function, charset-dimension, char-width)
10721 (encode-char):
10722 * ps-mule.el (ps-mule-plot-string):
10723 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10724 (recentf-edit-list-select, recentf-edit-list-validate)
10725 (recentf-open-files-action):
10726 * rect.el (delete-whitespace-rectangle-line)
10727 (rectangle-number-line-callback):
10728 * register.el (window-configuration-to-register)
10729 (frame-configuration-to-register):
10730 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10731 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10732 (xselect-convert-to-targets, xselect-convert-to-delete)
10733 (xselect-convert-to-filename, xselect-convert-to-charpos)
10734 (xselect-convert-to-lineno, xselect-convert-to-colno)
10735 (xselect-convert-to-os, xselect-convert-to-host)
10736 (xselect-convert-to-user, xselect-convert-to-class)
10737 (xselect-convert-to-name, xselect-convert-to-integer)
10738 (xselect-convert-to-atom, xselect-convert-to-identity):
10739 * subr.el (declare, ignore, process-kill-without-query)
10740 (text-clone-maintain):
10741 * terminal.el (te-get-char, te-tic-sentinel):
10742 * tool-bar.el (tool-bar-make-keymap):
10743 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10744 * type-break.el (type-break-mode, type-break-noninteractive-query):
10745 * view.el (View-back-to-mark):
10746 * wid-browse.el (widget-browse-action, widget-browse-widget)
10747 (widget-browse-widgets, widget-browse-sexp):
10748 * widget.el (define-widget-keywords):
10749 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10750 Mark unused parameters.
10751
10752 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10753 (align-areas): Remove unused variable `look'.
10754 (align-region): Remove unused variables `real-end' and `pos-list'.
10755
10756 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10757
10758 * bindings.el (mode-line-modified, mode-line-remote):
10759 Mark unused parameters.
10760 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10761
10762 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10763 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10764
10765 * comint.el (comint-history-isearch-pop-state)
10766 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10767 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10768 (comint-substitute-in-file-name): Doc fix.
10769
10770 * completion.el (cmpl-statistics-block): Mark unused parameter.
10771 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10772 (save-completions-to-file, load-completions-from-file):
10773 Remove unused local variable `e'.
10774
10775 * composite.el (compose-chars): Remove unused variable `len'.
10776 (lgstring-insert-glyph): Remove unused variable `g'.
10777 (compose-glyph-string): Remove unused variables `ascent',
10778 `descent', `lbearing' and `rbearing'.
10779 (compose-glyph-string-relative): Remove unused variables
10780 `lbearing', `rbearing' and `wadjust'.
10781 (compose-gstring-for-graphic): Remove unused variables `header',
10782 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10783 (compose-gstring-for-terminal): Remove unused variables `header'
10784 and `nchars'. Use `let', not `let*'.
10785
10786 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10787 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10788 (Custom-buffer-done, custom-buffer-create-internal)
10789 (custom-browse-visibility-action, custom-browse-group-tag-action)
10790 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10791 (widget-magic-mouse-down-action, custom-toggle-parent)
10792 (custom-add-parent-links, custom-toggle-hide-variable)
10793 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10794 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10795 (custom-face-menu-create, custom-variable-menu-create, get)
10796 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10797 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10798 (customize-apropos): Remove unused variable `tests'.
10799 (custom-group-value-create): Remove unused variable `hidden-p'.
10800 (sort-fold-case): Declare.
10801
10802 * cus-theme.el (custom-reset-standard-faces-list)
10803 (custom-reset-standard-variables-list): Declare.
10804 (customize-create-theme, custom-theme-revert, custom-theme-write)
10805 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10806 Mark unused parameters.
10807
10808 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10809
10810 * delim-col.el (delimit-columns-max): Move defvar before first use.
10811
10812 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10813 (describe-char): Don't quote `lambda'. Mark unused parameter.
10814
10815 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10816 (auto-insert): Declare.
10817 (desktop-restore-file-buffer): Rename desktop-* parameters;
10818 mark unused ones.
10819 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10820 (desktop-buffer): Rename desktop-* parameters.
10821
10822 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10823 (dframe-reposition-frame-xemacs, dframe-help-echo)
10824 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10825 Mark unused parameters.
10826
10827 * dired-aux.el (backup-extract-version-start, overwrite-query)
10828 (overwrite-backup-query, rename-regexp-query)
10829 (rename-non-directory-query): Declare.
10830 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10831 (dired-add-entry): Remove unused variable `orig-file-name'.
10832 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10833 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10834 `dired-copy-preserve-time' directly.
10835 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10836 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10837
10838 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10839 (dired-virtual-revert, dired-make-relative-symlink):
10840 Mark unused parameters.
10841 (manual-program): Declare.
10842 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10843 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10844 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10845
10846 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10847
10848 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10849
10850 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10851 Declare.
10852
10853 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10854
10855 * electric.el (Electric-command-loop): Rename parameter
10856 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10857
10858 * expand.el (expand-in-literal): Remove unused variable `here'.
10859
10860 * facemenu.el (facemenu-add-new-color):
10861 Remove unused variable `docstring'.
10862
10863 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10864 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10865 (face-attr-construct): Mark unused parameter. Doc fix.
10866 (read-color): Remove unused variable `hex-string'.
10867
10868 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10869 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10870 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10871 (display-buffer-other-frame): Remove unused variable `old-window'.
10872 (kill-buffer-hook): Declare.
10873 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10874 Mark unused parameters.
10875 (after-find-file): Pass 1 to `auto-save-mode', not t.
10876
10877 * files-x.el (auto-insert): Declare.
10878 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10879
10880 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10881 variable `buf'. Mark unused parameter.
10882 (find-lisp-insert-directory): Mark unused parameter.
10883
10884 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10885 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10886 (format-common-tail): Remove, unused.
10887 (format-deannotate-region): Remove unused variable `loc'.
10888 (format-annotate-region): Remove unused variable `p'.
10889 (format-annotate-single-property-change): Remove unused variables
10890 `default' and `tail'.
10891
10892 * forms.el (read-file-filter): Declare.
10893 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10894
10895 * frame.el (frame-creation-function-alist): Mark unused parameter.
10896 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10897
10898 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10899 Remove unused parameters.
10900 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10901 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10902
10903 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10904 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10905 (hfy-prepare-tag-map): Mark unused parameters.
10906 (htmlfontify-buffer): Use `called-interactively-p'.
10907
10908 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10909 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10910 (ibuffer-do-occur): Mark unused parameters.
10911 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10912 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10913
10914 * ibuffer.el: Don't quote `lambda'.
10915 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10916 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10917 Mark unused parameters.
10918
10919 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10920 (ido-completing-read): Mark unused parameters.
10921 (ido-copy-current-word): Mark unused parameters;
10922 remove unused variable `name'.
10923 (ido-sort-merged-list): Remove unused parameter `dirs'.
10924
10925 * ielm.el (ielm-input-sender): Mark unused parameter.
10926 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10927 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10928 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10929 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10930 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10931
10932 * image-dired.el (image-dired-display-thumbs): Remove unused
10933 variables `curr-file' and `count'.
10934 (image-dired-remove-tag): Remove unused variable `start'.
10935 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10936 variable `curr-file'
10937 (image-dired-rotate-original): Remove unused variable `temp-file'.
10938 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10939 Remove unused variable `file'.
10940 (image-dired-gallery-generate): Remove unused variable `curr'.
10941 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10942
10943 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10944
10945 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10946
10947 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10948
10949 * isearch.el (minibuffer-history-symbol): Declare.
10950 (isearch-edit-string): Remove unused variable `err'.
10951 (isearch-message-prefix, isearch-message-suffix):
10952 Mark unused parameters.
10953
10954 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10955
10956 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10957
10958 * makesum.el (double-column): Remove unused variable `cnt'.
10959
10960 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10961 (ido-ignore-item-temp-list): Declare.
10962
10963 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10964 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10965 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10966 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10967 `mouse-col-delta'.
10968
10969 * mouse-sel.el (mouse-extend-internal):
10970 Remove unused variable `orig-window-frame'.
10971
10972 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10973 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10974 Move declarations before first use.
10975 (pcomplete-opt): Mark unused parameters; doc fix.
10976
10977 * proced.el (proced-revert): Mark unused parameter.
10978 (proced-send-signal): Remove unused variable `err'.
10979
10980 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10981 Rename parameter PREFIX-ARG to ARG.
10982 (ps-basic-plot-string, ps-basic-plot-whitespace):
10983 Mark unused parameters.
10984
10985 * replace.el (replace-count): Define.
10986 (occur-revert-function): Mark unused parameters.
10987 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10988 (isearch-case-fold-search, isearch-string): Declare.
10989 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10990 bind `case-fold-search'. Remove unused variables `beg' and `end',
10991 and simplify.
10992 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10993 COUNT and bind `replace-count'.
10994 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10995 to COUNT.
10996
10997 * savehist.el (print-readably, print-string-length): Declare.
10998
10999 * shadowfile.el (shadow-expand-cluster-in-file-name):
11000 Remove unused variable `cluster'.
11001 (shadow-copy-file): Remove unused variable `i'.
11002 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11003 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11004 (shadow-define-literal-group, shadow-define-regexp-group)
11005 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11006
11007 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11008 (shell): Use `called-interactively-p'.
11009 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11010
11011 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11012 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11013 (delete-backward-char): Remove unused variable `ocol'.
11014 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11015 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11016 (event-apply-hyper-modifier, event-apply-shift-modifier)
11017 (event-apply-control-modifier, event-apply-meta-modifier):
11018 Mark unused parameters.
11019 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11020 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11021
11022 * speedbar.el (speedbar-ignored-directory-expressions)
11023 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11024 (speedbar-find-file, speedbar-dir-follow)
11025 (speedbar-directory-buttons-follow, speedbar-tag-find)
11026 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11027 (speedbar-buffers-line-directory, speedbar-buffer-click):
11028 Mark unused parameters.
11029 (speedbar-tag-file): Remove unused variable `mode'.
11030 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11031
11032 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11033
11034 * talk.el (talk): Remove unused variable `display'.
11035
11036 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11037 (tar-write-region-annotate): Mark unused parameter.
11038
11039 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11040 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11041 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11042 warning by another.
11043
11044 * time-stamp.el (time-stamp-string-preprocess):
11045 Remove unused variable `require-padding'.
11046
11047 * tree-widget.el (widget-glyph-enable): Declare.
11048 (tree-widget-action): Mark unused parameter.
11049
11050 * w32-fns.el (x-get-selection): Mark unused parameter.
11051 (autoload-make-program, generated-autoload-file): Declare.
11052
11053 * wdired.el (wdired-revert): Mark unused parameters.
11054 (wdired-xcase-word): Remove unused variable `err'.
11055
11056 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11057 (whitespace-help-scroll): Remove unused variable `data-help'.
11058
11059 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11060 (widget-image-insert, widget-after-change, default)
11061 (widget-default-format-handler, widget-default-notify)
11062 (widget-default-prompt-value, widget-info-link-action)
11063 (widget-url-link-action, widget-function-link-action)
11064 (widget-variable-link-action, widget-file-link-action)
11065 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11066 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11067 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11068 (widget-insert-button-action, widget-delete-button-action, visibility)
11069 (widget-documentation-link-action, widget-documentation-string-action)
11070 (widget-const-prompt-value, widget-regexp-match, symbol)
11071 (widget-coding-system-prompt-value)
11072 (widget-key-sequence-value-to-external, sexp)
11073 (widget-sexp-value-to-internal, character, vector, cons)
11074 (widget-choice-prompt-value, widget-boolean-prompt-value)
11075 (widget-color--choose-action): Mark unused parameters.
11076 (widget-item-match-inline, widget-choice-match-inline)
11077 (widget-checklist-match, widget-checklist-match-inline)
11078 (widget-group-match): Rename parameter VALUES to VALS.
11079 (widget-field-value-set): Remove unused variable `size'.
11080 (widget-color-action): Remove unused variables `value' and `start'.
11081
11082 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11083 variable `dir'. Doc fix.
11084 (windmove-find-other-window): Don't pass it.
11085
11086 * window.el (count-windows): Mark unused parameter.
11087 (bw-adjust-window): Remove unused variable `err'.
11088
11089 * woman.el (woman-file-name): Remove unused variable `default'.
11090 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11091 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11092 (global-font-lock-mode): Declare.
11093 (woman-decode-region): Mark unused parameter.
11094 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11095
11096 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11097 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11098 (x-dnd-handle-moz-url): Remove unused variable `title'.
11099 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11100
11101 * xml.el (xml-parse-tag, xml-parse-attlist):
11102 Remove unused variable `pos'.
11103
11104 2011-04-19 Glenn Morris <rgm@gnu.org>
11105
11106 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11107 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11108 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11109 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11110 * calendar/cal-html.el (cal-html-insert-minical):
11111 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11112 (calendar-mark-date-pattern):
11113 Prefix "unused" locals.
11114
11115 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11116 optional argument `style'.
11117
11118 * calendar/appt.el (appt-make-list):
11119 * calendar/cal-china.el (calendar-chinese-date-string):
11120 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11121 (diary-hebrew-yahrzeit):
11122 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11123 * calendar/calendar.el (calendar-generate-window):
11124 * calendar/time-date.el (time-to-days):
11125 Remove unused local variables.
11126
11127 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11128
11129 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11130 glyphless-char-display table.
11131 (tabulated-list-glyphless-char-display): New var.
11132
11133 2011-04-18 Sam Steingold <sds@gnu.org>
11134
11135 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11136 to acknowledgments.
11137
11138 2011-04-17 Glenn Morris <rgm@gnu.org>
11139
11140 * calendar/diary-lib.el (diary-sexp-entry):
11141 * calendar/holidays.el (holiday-sexp):
11142 Set debug-on-error rather than the removed stack-trace-on-error.
11143
11144 2011-04-16 Glenn Morris <rgm@gnu.org>
11145
11146 * progmodes/f90.el: Use lexical-binding.
11147 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11148
11149 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11152 (mail-mode): Setup mailalias completion here instead.
11153 * mail/mailalias.el: Use lexical-binding.
11154 (pattern, mailalias-done): Declare dynamic.
11155 (mail-completion-at-point-function): New function, from mail-complete.
11156 (mail-complete): Use it.
11157 (mail-completion-expand): New function.
11158 (mail-get-names): Use it.
11159 (mail-directory, mail-directory-process, mail-directory-stream):
11160 Don't use `pattern' for lexically bound arg.
11161
11162 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11163
11164 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11165 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11166 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11167
11168 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11169 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11170 (byte-interactive-p): Define them again, for use when inlining
11171 old code.
11172
11173 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11174
11175 * loadup.el: Use `string-to-number', not `string-to-int'.
11176
11177 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11180 gud-gdb-complete-command.
11181 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11182 (gud-gdb-completion-at-point): New function.
11183 (gud-gdb-completions): Remove.
11184
11185 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11186
11187 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11188 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11189 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11190 whether `executable-find' is bound.
11191
11192 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11193
11194 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11195
11196 * minibuffer.el (completion-in-region-mode-predicate)
11197 (completion-in-region-mode--predicate): New vars.
11198 (completion-in-region, completion-in-region--postch)
11199 (completion-in-region-mode): Use them.
11200 (completion--capf-wrapper): Also return the hook function.
11201 (completion-at-point, completion-help-at-point):
11202 Adjust and provide a predicate.
11203
11204 Preserve arg names for advice of subr and lexical functions (bug#8457).
11205 * help-fns.el (help-function-arglist): Consolidate the subr and
11206 new-byte-code cases. Add argument `preserve-names' to extract names
11207 from the docstring when needed.
11208 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11209 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11210 (ad-arglist): Use help-function-arglist's new arg.
11211 (ad-definition-type): Use cond.
11212
11213 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * autorevert.el (auto-revert-handler):
11216 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11217 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11218 Don't quote lambda.
11219
11220 * image-mode.el (image-transform-set-scale):
11221 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11222
11223 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11224
11225 * net/network-stream.el (network-stream-open-starttls): Only do
11226 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11227 Upgrades via gnutls-cli are too slow to be done opportunistically.
11228
11229 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11230
11231 * dframe.el (dframe-current-frame): Remove spurious quote.
11232
11233 2011-04-12 Glenn Morris <rgm@gnu.org>
11234
11235 * calendar/cal-tex.el (cal-tex-end-document):
11236 Try to automatically use latin1 input if needed.
11237
11238 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11239 Don't try to cons a mark onto an empty element.
11240
11241 2011-04-11 Leo Liu <sdl.web@gmail.com>
11242
11243 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11244 buffers.
11245 (ido-kill-buffer-at-head): Support killing virtual buffers.
11246
11247 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11248
11249 * minibuffer.el (completion-show-inline-help): New var.
11250 (completion--do-completion, minibuffer-complete)
11251 (minibuffer-force-complete, minibuffer-complete-word):
11252 Inhibit minibuffer messages if completion-show-inline-help is nil.
11253
11254 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11255 to avoid interference from inline help (Bug#5849).
11256
11257 2011-04-10 Leo Liu <sdl.web@gmail.com>
11258
11259 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11260 Fix typo.
11261
11262 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11263
11264 * image-mode.el (image-toggle-display-image): Signal an error if
11265 not in Image mode.
11266 (image-transform-mode, image-transform-resize)
11267 (image-transform-set-rotation): Doc fix.
11268 (image-transform-set-resize): Delete.
11269 (image-transform-set-scale, image-transform-fit-to-height)
11270 (image-transform-fit-to-width): Handle image-toggle-display-image
11271 and image-transform-resize directly.
11272
11273 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11274
11275 * doc-view.el (doc-view-fit-width-to-window)
11276 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11277 New functions for fitting the shown image to the Emacs window size.
11278 (doc-view-mode-map): Add bindings for the new functions.
11279
11280 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11281
11282 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11283 Fix typo in docstring.
11284
11285 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11286
11287 * files.el (file-size-human-readable): Produce one digit after
11288 decimal, like "ls -lh" does.
11289
11290 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11291 the file size representation.
11292
11293 * simple.el (list-processes): If async subprocesses are not
11294 available, error out with a clear error message.
11295
11296 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11297
11298 * help.el (help-form-show): New function, to be called from C.
11299 Put help-form output in a buffer named differently than *Help*.
11300
11301 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11302
11303 * files.el (file-size-human-readable): New function.
11304
11305 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11306 computing the representation inline. Don't require `cl'.
11307
11308 2011-04-08 Glenn Morris <rgm@gnu.org>
11309
11310 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11311
11312 * net/browse-url.el (browse-url-firefox):
11313 Test system-type, not system-configuration.
11314
11315 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11316 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11317 Use log-edit-empty-buffer-p. (Bug#7598)
11318
11319 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11320 (rlogin-mode-map): Initialize in the defvar.
11321 (rlogin): Use ignore-errors.
11322
11323 * replace.el (occur-mode-map): Some fixes for menu items.
11324
11325 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11326
11327 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11328
11329 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11330
11331 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11332 issuing unused warnings.
11333
11334 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11335 macro directly.
11336
11337 * simple.el: Lisp reimplement of list-processes. Based on an
11338 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11339 (process-menu-mode): New major mode.
11340 (list-processes--refresh, list-processes):
11341 (process-menu-visit-buffer): New functions.
11342
11343 * files.el (save-buffers-kill-emacs): Don't assume any return
11344 value of list-processes, which is undocumented anyway.
11345
11346 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11347
11348 * emacs-lisp/tabulated-list.el: New file.
11349
11350 * emacs-lisp/package.el: Use Tabulated List mode.
11351 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11352 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11353 table format using Tabulated List mode variables.
11354 (package--push): New macro, replacing package-list-maybe-add.
11355 (package-menu--generate): Use package--push. Renamed from
11356 package--generate-package-list.
11357 (package-menu-refresh, list-packages): Use it.
11358 (package-menu--print-info): Rename from package-print-package.
11359 Return insertion data instead of inserting it directly.
11360 (package-menu-describe-package, package-menu-execute):
11361 Use tabulated-list-get-id.
11362 (package-menu-mark-delete, package-menu-mark-install)
11363 (package-menu-mark-unmark, package-menu-backup-unmark)
11364 (package-menu-mark-obsolete-for-deletion):
11365 Use tabulated-list-put-tag.
11366 (package--list-packages, package-menu-revert)
11367 (package-menu-get-package, package-menu-get-version)
11368 (package-menu-sort-by-column): Functions deleted.
11369 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11370 (package-menu--status-predicate, package-menu--version-predicate)
11371 (package-menu--name-predicate)
11372 (package-menu--description-predicate): Handle arguments in the
11373 Tabulated List format.
11374 (package-list-packages-no-fetch): Call list-packages.
11375
11376 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11377
11378 * files.el (after-find-file-from-revert-buffer): Remove variable.
11379 (after-find-file): Don't bind it.
11380 (revert-buffer-in-progress-p): New variable.
11381 (revert-buffer): Bind it.
11382 Pass nil for `after-find-file-from-revert-buffer'.
11383
11384 * saveplace.el (save-place-find-file-hook): Use new variable
11385 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11386
11387 2011-04-06 Glenn Morris <rgm@gnu.org>
11388
11389 * Makefile.in (AUTOGEN_VCS): New variable.
11390 (autoloads): Use $AUTOGEN_VCS.
11391
11392 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11393 * calendar/calendar.el (calendar-mode-map):
11394 Check for toolkit scroll bars. (Bug#8305)
11395
11396 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11397
11398 * minibuffer.el (completion-in-region--postch)
11399 (completion-in-region-mode): Remove unnecessary messages.
11400
11401 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11402
11403 * font-lock.el (font-lock-refresh-defaults):
11404 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11405 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11406
11407 * info.el (Info-directory-list, Info-read-node-name-2)
11408 (Info-split-parameter-string): Doc fixes.
11409 (Info-virtual-nodes): Reflow docstring.
11410 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11411 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11412 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11413 Fix typos in docstrings.
11414 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11415 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11416 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11417 (Info-restore-desktop-buffer): Mark unused parameters.
11418 (Info-directory-find-file, Info-directory-find-node)
11419 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11420 (Info-virtual-index-find-node, Info-apropos-find-file)
11421 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11422 Mark unused parameters; fix typos in docstrings.
11423 (Info-virtual-index): Remove unused local variable `nodename'.
11424
11425 2011-04-05 Deniz Dogan <deniz@dogan.se>
11426
11427 * net/rcirc.el: Update my e-mail address.
11428 (rcirc-mode-map): Remove M-o binding.
11429
11430 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11431
11432 * startup.el (command-line): Save the cursor's theme-face
11433 directly, instead of using face-override-spec.
11434
11435 * custom.el (load-theme): Minor optimization in assigning faces.
11436
11437 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * help-fns.el (describe-variable): Complete all variables having
11440 documentation, including keywords.
11441 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11442
11443 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11444
11445 Convert to lexical-binding.
11446
11447 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11448 (bs--get-marked-string, bs--get-modified-string)
11449 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11450 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11451 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11452
11453 * ehelp.el (electric-help-execute-extended)
11454 (electric-help-ctrl-x-prefix):
11455 * hexl.el (hexl-revert-buffer-function):
11456 * linum.el (linum-after-change, linum-after-scroll):
11457 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11458
11459 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11460
11461 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11462
11463 * epa-dired.el:
11464 * epa-mail.el:
11465 * epa-hook.el:
11466 * epa-file.el:
11467 * epa.el:
11468 * epg.el: Use lexical binding.
11469
11470 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11471
11472 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11473
11474 * textmodes/flyspell.el (flyspell-word): Recognize default
11475 dictionary case for flyspell-mark-duplications-exceptions.
11476 Use regexp matching for languages.
11477 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11478 default dictionary (Bug#7926).
11479
11480 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11481
11482 * emacs-lisp/package.el (package--with-work-buffer):
11483 Recognize https URLs.
11484
11485 * net/network-stream.el: Move from gnus/proto-stream.el.
11486 Change prefix to network-stream throughout.
11487 (open-protocol-stream): Merge into open-network-stream, leaving
11488 open-protocol-stream as an alias. Handle nil BUFFER args.
11489
11490 * subr.el (open-network-stream): Move to net/network-stream.el.
11491
11492 2011-04-02 Glenn Morris <rgm@gnu.org>
11493
11494 * find-dired.el (find-exec-terminator): New option.
11495 (find-ls-option): Test for -ls support.
11496 (find-ls-subdir-switches): Test for -b in find-ls-option.
11497 (find-dired, find-grep-dired): Doc fixes.
11498 (find-dired): Use find-exec-terminator.
11499
11500 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11501 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11502 (find-name-arg): Remove purecopy.
11503
11504 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11505 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11506 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11507 accordingly. Don't add the null-device if not needed.
11508
11509 * files.el (save-some-buffers): Doc fix.
11510
11511 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11512
11513 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11514
11515 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11516
11517 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11518 Use `dolist' rather than `mapcar'.
11519
11520 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11521
11522 Add lexical binding.
11523
11524 * subr.el (apply-partially): Use new closures rather than CL.
11525 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11526 (dolist, dotimes): Use slightly different expansion for lexical code.
11527 (functionp): Move to C.
11528 (letrec): New macro.
11529 (with-wrapper-hook): Use it and apply-partially instead of CL.
11530 (eval-after-load): Preserve lexical-binding.
11531 (save-window-excursion, with-output-to-temp-buffer): Turn them
11532 into macros.
11533
11534 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11535
11536 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11537 than the arglist.
11538 (help-add-fundoc-usage): Don't add `Not documented'.
11539 (help-function-arglist): Handle closures, subroutines, and new
11540 byte-code-functions.
11541 (help-make-usage): Remove leading underscores.
11542 (describe-function-1): Handle closures.
11543 (describe-variable): Use special-variable-p for completion.
11544
11545 * files.el (lexical-binding): Declare safe.
11546
11547 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11548 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11549 (pcase): Add `let' pattern.
11550 Change memoization so it actually works.
11551 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11552 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11553 <let>: New case.
11554
11555 * emacs-lisp/macroexp.el: Use lexical binding.
11556 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11557 Don't convert ' to #' without checking that it's indeed quoting
11558 a lambda.
11559
11560 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11561 Use eval-sexp-add-defvars.
11562 (eval-sexp-add-defvars): New fun.
11563
11564 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11565
11566 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11567 Don't autoload.
11568 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11569 than the internal `byte-compile-lambda'.
11570 (defmethod): Don't hide code under quotes.
11571 (eieio-defmethod): New `code' argument.
11572
11573 * emacs-lisp/eieio-comp.el: Remove.
11574
11575 * emacs-lisp/edebug.el (edebug-eval-defun)
11576 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11577 (edebug-toggle): Avoid `eval'.
11578
11579 * emacs-lisp/disass.el (disassemble-internal): Handle new
11580 `closure' objects.
11581 (disassemble-1): Handle new byte codes.
11582
11583 * emacs-lisp/cl.el (pushnew): Silence warning.
11584
11585 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11586 (cl-byte-compile-throw): Remove.
11587 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11588
11589 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11590 closures.
11591
11592 * emacs-lisp/cconv.el: New file.
11593
11594 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11595 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11596 (byte-compile-initial-macro-environment):
11597 Handle declare-function here.
11598 (byte-compile--lexical-environment): New var.
11599 (byte-stack-ref, byte-stack-set, byte-discardN)
11600 (byte-discardN-preserve-tos): New lap codes.
11601 (byte-interactive-p): Don't use any more.
11602 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11603 New macros.
11604 (byte-compile-lapcode): Use them and handle new lap codes.
11605 (byte-compile-obsolete): Remove.
11606 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11607 (byte-compile-arglist-warn): Check late def of inlinable funs.
11608 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11609 since they should have been expanded by now.
11610 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11611 (byte-compile-from-buffer): Remove unused second arg.
11612 (byte-compile-preprocess): New function.
11613 (byte-compile-toplevel-file-form): New function to distinguish
11614 file-form calls from outside from file-form calls from hunk-handlers.
11615 (byte-compile-file-form): Simplify.
11616 (byte-compile-file-form-defsubst): Remove.
11617 (byte-compile-file-form-defmumble): Simplify now that
11618 byte-compile-lambda always returns a byte-code-function.
11619 (byte-compile): Preprocess.
11620 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11621 Remove, not used any more.
11622 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11623 (byte-compile-make-args-desc): New funs.
11624 (byte-compile-lambda): Handle lexical functions. Always return
11625 a byte-code-function.
11626 (byte-compile-reserved-constants): New var, to make up room for
11627 closed-over variables.
11628 (byte-compile-constants-vector): Obey it.
11629 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11630 (byte-compile-macroexpand-declare-function): New function.
11631 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11632 byte-code-functions.
11633 (byte-compile-form): Check obsolescence here.
11634 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11635 (byte-compile-variable-ref): Remove.
11636 (byte-compile-dynamic-variable-op): New fun.
11637 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11638 (byte-compile-variable-set): New funs.
11639 (byte-compile-discard): Add 2 args.
11640 (byte-compile-stack-ref, byte-compile-stack-set)
11641 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11642 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11643 macroexpand-all instead.
11644 (byte-compile-quote-form): Remove.
11645 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11646 (byte-compile-bind, byte-compile-unbind): New funs.
11647 (byte-compile-let): Handle let* and lexical binding.
11648 (byte-compile-let*): Remove.
11649 (byte-compile-catch, byte-compile-unwind-protect)
11650 (byte-compile-track-mouse, byte-compile-condition-case):
11651 Handle a new :fun-body form, used for lexical scoping.
11652 (byte-compile-save-window-excursion)
11653 (byte-compile-with-output-to-temp-buffer): Remove.
11654 (byte-compile-defun): Simplify.
11655 (byte-compile-stack-adjustment): New fun.
11656 (byte-compile-out): Use it.
11657 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11658
11659 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11660 handler any more.
11661
11662 * emacs-lisp/byte-opt.el: Use lexical binding.
11663 (byte-inline-lapcode): Remove (to bytecomp).
11664 (byte-compile-inline-expand): Pay attention to inlining to/from
11665 lexically bound code.
11666 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11667 any more.
11668 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11669 any more and don't call compiler-macros.
11670 (byte-compile-splice-in-already-compiled-code): Remove.
11671 (byte-code): Don't inline any more.
11672 (disassemble-offset): Receive `bytes' as argument rather than via
11673 dynamic scoping.
11674 (byte-compile-tag-number): Declare before first use.
11675 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11676 `return' even if make-spliceable.
11677 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11678 obsolete interactive-p.
11679 (byte-optimize-lapcode): Optimize new lap-codes.
11680 Don't trip up on new form of `byte-constant' lap code.
11681
11682 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11683
11684 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11685
11686 * custom.el (custom-initialize-default, custom-declare-variable):
11687 Use `defvar'.
11688
11689 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11690 New variables.
11691 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11692 (COMPILE_FIRST): Add macroexp and cconv.
11693 * makefile.w32-in: Mirror changes in Makefile.in.
11694
11695 * vc/cvs-status.el:
11696 * vc/diff-mode.el:
11697 * vc/log-edit.el:
11698 * vc/log-view.el:
11699 * vc/smerge-mode.el:
11700 * textmodes/bibtex-style.el:
11701 * textmodes/css.el:
11702 * startup.el:
11703 * uniquify.el:
11704 * minibuffer.el:
11705 * newcomment.el:
11706 * reveal.el:
11707 * server.el:
11708 * mpc.el:
11709 * emacs-lisp/smie.el:
11710 * doc-view.el:
11711 * dired.el:
11712 * abbrev.el: Use lexical binding.
11713
11714 2011-04-01 Eli Zaretskii <eliz@gnu.org>
11715
11716 * info.el (info-display-manual): New function.
11717
11718 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11721
11722 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11723
11724 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11725 an entry for that server in rcirc-authinfo. (Bug#8385)
11726
11727 2011-03-31 Glenn Morris <rgm@gnu.org>
11728
11729 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11730
11731 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11732
11733 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11734
11735 * progmodes/python.el (python-default-interpreter)
11736 (python-python-command-args, python-jython-command-args)
11737 (python-which-shell, python-which-args, python-which-bufname)
11738 (python-file-queue, python-comint-output-filter-function)
11739 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11740 variables and functions.
11741
11742 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11745 (completion-in-region-mode): New minor mode.
11746 (completion-in-region): Use it.
11747 (completion-in-region--data, completion-in-region-mode-map): New vars.
11748 (completion-in-region--postch): New function.
11749 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11750 New vars.
11751 (completion--capf-wrapper): New function.
11752 (completion-at-point): Use it to track well-behavedness of
11753 hook functions.
11754 (completion-help-at-point): New command.
11755
11756 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11757
11758 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11759 syntax class to search for whitespace on a single line
11760 (Message-ID: <4D938140.4030905@redhat.com>).
11761
11762 2011-03-30 Leo Liu <sdl.web@gmail.com>
11763
11764 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11765 New commands.
11766 (edit-abbrevs-map): Bind them here.
11767 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11768
11769 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11770
11771 * allout.el (allout-hide-by-annotation, allout-flag-region):
11772 Reduce possibility of overlay leakage by making them volatile.
11773
11774 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11775 hash is not shared between buffers. Mode initialization is
11776 responsible for giving it a useful starting value.
11777 (allout-item-span): Reduce possibility of overlay leakage by
11778 making them volatile.
11779 (allout-widgets-count-buttons-in-region): Add diagnostic function
11780 for tracking down button overlay leaks.
11781
11782 2011-03-29 Leo Liu <sdl.web@gmail.com>
11783
11784 * ido.el (ido-read-internal): Use the default history var
11785 minibuffer-history if no HISTORY is specified.
11786
11787 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11788
11789 * net/imap.el (imap-shell-open, imap-process-connection-type):
11790 Use imap-process-connection-type for 'shell' streams as well as
11791 Kerberos, SSL, other subprocesses.
11792
11793 2011-03-28 Leo Liu <sdl.web@gmail.com>
11794
11795 * abbrev.el (abbrev-table-empty-p): New function.
11796 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11797 nonempty ones. (Bug#5937)
11798
11799 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11800
11801 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11802
11803 2011-03-27 Leo Liu <sdl.web@gmail.com>
11804
11805 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11806 for foreground and background colors.
11807 (ansi-color-make-color-map): Adapt.
11808
11809 2011-03-25 Leo Liu <sdl.web@gmail.com>
11810
11811 * midnight.el (midnight-time-float): Remove. Note it calculates
11812 the microsecond component incorrectly and seconds-to-time does the
11813 same job.
11814 Remove redundant (require 'timer).
11815
11816 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11817 (ido-completions): Remove unused arguments. (Bug#8329)
11818
11819 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * minibuffer.el (completion--flush-all-sorted-completions):
11822 Remove itself from hook.
11823 (completion-at-point): Let the functions perform the completion
11824 immediately and return nil or t.
11825 * comint.el (comint-dynamic-complete-functions): Now identical to
11826 completion-at-point-functions.
11827 (comint-dynamic-list-input-ring): Remove unused var `index'.
11828 (comint--match-partial-filename, comint--unquote&expand-filename):
11829 New funs, split from comint-match-partial-filename.
11830 (comint-dynamic-complete): Use completion-at-point.
11831 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11832
11833 2011-03-24 Drew Adams <drew.adams@oracle.com>
11834
11835 * thingatpt.el: Support `defun'.
11836
11837 2011-03-23 Leo Liu <sdl.web@gmail.com>
11838
11839 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11840
11841 * help-mode.el (help-mode-finish): Tweak regexp.
11842
11843 2011-03-23 Glenn Morris <rgm@gnu.org>
11844
11845 * eshell/esh-opt.el (eshell-eval-using-options):
11846 Do not bind unused local variable `eshell-option-stub'.
11847
11848 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11849
11850 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11851
11852 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11853 keymap variable in `with-no-warnings' to avoid a warning when the
11854 keymap has been already `defconst'ed.
11855
11856 2011-03-22 Leo Liu <sdl.web@gmail.com>
11857
11858 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11859 encode all chars in abbrevs; otherwise use emacs-mule or
11860 utf-8-emacs. (Bug#8308)
11861
11862 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11863
11864 * simple.el (backward-delete-char-untabify):
11865 Avoid warning about using `delete-backward-char'.
11866
11867 * image.el (image-type-file-name-regexps): Make it variable.
11868 `imagemagick-register-types' modifies it, and the user may want
11869 to add new extensions for known image types.
11870 (imagemagick-register-types): Throw error if not using ImageMagick.
11871
11872 2011-03-22 Leo Liu <sdl.web@gmail.com>
11873
11874 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11875 located before rcirc-prompt-end-marker.
11876 (rcirc-complete): Error if point is not after rcirc prompt.
11877 Handle the case when table is nil.
11878 (rcirc-user-authenticated): Define to fix compiler warning.
11879
11880 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
11881
11882 * custom.el (custom--inhibit-theme-enable): Make it affect only
11883 custom-theme-set-variables and custom-theme-set-faces.
11884 (provide-theme): Ignore custom--inhibit-theme-enable.
11885 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11886 (custom-enabling-themes): Delete variable.
11887 (enable-theme): Accept only loaded themes as arguments.
11888 Ignore the special custom-enabled-themes variable.
11889 (custom-enabled-themes): Forbid themes from setting this.
11890 Eliminate use of custom-enabling-themes.
11891 (custom-push-theme): Quote "changed" custom var entry.
11892
11893 2011-03-21 Leo Liu <sdl.web@gmail.com>
11894
11895 * ido.el (ido-read-internal): Add ido-selected to history instead
11896 of user input.
11897
11898 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * subr.el (deferred-action-list, deferred-action-function):
11901 Mark obsolete.
11902
11903 2011-03-21 Leo Liu <sdl.web@gmail.com>
11904
11905 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11906 change on 2011-02-13 (bug#8309).
11907
11908 * minibuffer.el (read-file-name-function): Change default value.
11909 (read-file-name--defaults): Rename from read-file-name-defaults.
11910 (read-file-name-default): Rename from read-file-name.
11911 (read-file-name): Call read-file-name-function.
11912
11913 2011-03-21 Glenn Morris <rgm@gnu.org>
11914
11915 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11916 Doc fixes.
11917
11918 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
11919
11920 * cus-theme.el: Add missing provide statement.
11921 (customize-create-theme): Extract theme value correctly.
11922 (custom-theme-visit-theme): Autoload.
11923 (customize-create-theme): Prompt before inserting default faces.
11924
11925 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11926
11927 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11928 units and musical notes.
11929
11930 2011-03-20 Leo Liu <sdl.web@gmail.com>
11931
11932 * ido.el (ido-read-internal): Use completing-read-default.
11933 (ido-completing-read): Fix compatibility with completing-read.
11934
11935 2011-03-20 Christian Ohler <ohler@gnu.org>
11936
11937 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11938 (ert-delete-all-tests): Use `called-interactively-p' rather than
11939 `interactive-p'.
11940 (ert--make-xrefs-region): Respect END.
11941
11942 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11943
11944 * dired-aux.el (dired-create-directory): Signal an error if the
11945 directory already exists (Bug#8246).
11946
11947 * facemenu.el (list-colors-display): Call list-faces-display
11948 inside with-help-window.
11949 (list-colors-print): Use display property to align the final
11950 column, instead of checking window-width.
11951
11952 2011-03-19 Eli Zaretskii <eliz@gnu.org>
11953
11954 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11955 windows-nt systems.
11956 (emerge-protect-metachars): Quote correctly for ms-dos and
11957 windows-nt systems.
11958
11959 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
11960
11961 * info.el (info-initialize): Replace all uses of `:' with
11962 path-separator for compatibility with non-Unix systems.
11963 Cache quoting of path-separator. (Bug#8258)
11964
11965 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
11966
11967 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11968 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11969 (mouse-avoidance-mode): Fix typos in docstrings.
11970
11971 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11972
11973 * startup.el (package-subdirectory-regexp): Move from package.el.
11974 Omit \\` and \\', and let callers add them.
11975
11976 * emacs-lisp/package.el (package-strip-version)
11977 (package-load-all-descriptors): Add \\` and \\' to
11978 package-subdirectory-regexp before using it.
11979 (package-untar-buffer): New arg DIR; ensure that file untars only
11980 into this expected directory. Remove superfluous delete-region.
11981 (package-unpack): Caller changed.
11982 (package-tar-file-info): Use package-subdirectory-regexp.
11983
11984 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11987 diff-mode-shared-map (bug#8284).
11988 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11989
11990 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11991
11992 * calendar/time-date.el (format-seconds): Use assoc instead of
11993 assoc-string, since assoc-string doesn't exist in XEmacs.
11994
11995 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
11996
11997 * custom.el (custom-known-themes): Reflow docstring.
11998 (custom-theme-load-path): Fix typo in docstring.
11999 (load-theme): Fix typo in error message.
12000 (custom-available-themes, custom-variable-theme-value):
12001 Use `let', not `let*'.
12002
12003 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12004
12005 * calc/README: Mention inclusion of musical notes.
12006
12007 * calc/calc-units.el (calc-lu-quant): Rename from
12008 `calc-logunits-quantity'.
12009 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12010 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12011 (calc-db): Rename from `calc-dblevel'.
12012 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12013 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12014 (calc-np): Rename from `calc-nplevel'.
12015 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12016 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12017 (calc-lu-plus): Rename from `calc-logunits-add'.
12018 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12019 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12020 (calc-lu-minus): Rename from `calc-logunits-sub'.
12021 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12022 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12023 (calc-lu-times): Rename from `calc-logunits-mul'.
12024 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12025 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12026 (calc-lu-divide): Rename from `calc-logunits-div'.
12027 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12028 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12029
12030 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12031 functions being autoloaded.
12032
12033 * calc/calc.el (calc-lu-power-reference): Rename from
12034 `calc-logunits-power-reference'.
12035 (calc-lu-field-reference): Rename from
12036 `calc-logunits-field-reference'.
12037
12038 * calc/calc-help.el (calc-l-prefix-help):
12039 Mention musical note functions.
12040
12041 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * minibuffer.el (completion-all-sorted-completions):
12044 Use :completion-cycle-penalty text property if present.
12045
12046 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12047
12048 * allout.el (allout-yank-processing): Adjust for new rebulleting
12049 regime so bullet being yanked is used without prompting the user
12050 for a choice.
12051
12052 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12053
12054 * startup.el (command-line): Warn the user that _emacs is deprecated.
12055
12056 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12059 (delphi-verbose, delphi-comment-face, delphi-string-face)
12060 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12061 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12062 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12063 (delphi-new-comment-line, delphi-font-lock-defaults)
12064 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12065 Fix typos in docstrings.
12066
12067 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12068
12069 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12070 Invert the roles of character and string values for INSTEAD, so a
12071 string is used for the more common case of a defaulting prompt.
12072
12073 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * progmodes/ruby-mode.el (ruby-backward-sexp):
12076 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12077 * play/gamegrid.el (gamegrid-make-face):
12078 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12079 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12080 * notifications.el (notifications-notify):
12081 * net/xesam.el (xesam-search-engines):
12082 * net/quickurl.el (quickurl-list-insert):
12083 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12084
12085 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12086
12087 * startup.el (command-line): Update package subdirectory regexp.
12088
12089 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12090
12091 * allout.el (allout-abbreviate-flattened-numbering)
12092 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12093
12094 * subr.el (read-char-choice): Only show the cursor after the prompt,
12095 not after the answer.
12096
12097 2011-03-15 Kevin Ryde <user42@zip.com.au>
12098
12099 * help-fns.el (variable-at-point): Skip leading quotes, if any
12100 (bug#8253).
12101
12102 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12103
12104 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12105 warning message.
12106
12107 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12108
12109 * shell.el (shell): When called interactively, offer to change the
12110 shell file name on remote hosts.
12111
12112 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12113
12114 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12115 integration for LDAP parameters. The host, base, user or binddn,
12116 and secret tokens can be specified in a netrc file, for instance.
12117 This is optional because an `auth-source' parameter must be
12118 specified in the search attributes.
12119
12120 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12121
12122 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12123
12124 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12125
12126 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12127 into declaration. Remove redundant and harmful binding.
12128
12129 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12130
12131 * files.el (file-ownership-preserved-p): Pass `integer' as an
12132 explicit 2nd argument to `file-attributes'. If the file's owner
12133 is the Administrators group on Windows, and the current user is
12134 Administrator, consider that a match.
12135
12136 * server.el (server-ensure-safe-dir): Consider server directory
12137 safe on MS-Windows if its owner is the Administrators group while
12138 the current Emacs user is Administrator. Use `=' to compare
12139 numerical UIDs, since they could be integers or floats.
12140
12141 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12142
12143 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12144
12145 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12146
12147 Sync with Tramp 2.2.1.
12148
12149 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12150
12151 * net/trampver.el: Update release number.
12152
12153 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * progmodes/compile.el (compilation--previous-directory): Fix up
12156 various nil/dead-marker mismatches (bug#8014).
12157 (compilation-directory-properties, compilation-error-properties):
12158 Don't call it at a position past the one we're about to change.
12159
12160 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12161 Disable obsolescence warnings in the file that declares it.
12162
12163 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12164
12165 * allout-widgets.el (allout-widgets-tally):
12166 Initialize allout-widgets-tally as a hash table rather than nil to
12167 prevent mode-line redisplay warnings. Also, clarify the module
12168 description and fix a comment typo.
12169
12170 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12171
12172 * help-fns.el (describe-variable): Don't complete keywords.
12173 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12174
12175 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12176
12177 * emacs-lisp/package.el (package-version-join): Impose a standard
12178 string representation for pre/alpha/beta version lists.
12179 (package-unpack-single): Standardize the directory name by passing
12180 it through package-version-join.
12181 (package-strip-rcs-id): Accept any version string that does not
12182 signal an error in version-to-list.
12183
12184 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12185
12186 * simple.el (delete-trailing-whitespace): Return nil for the
12187 benefit of `write-file-functions'.
12188
12189 2011-03-10 Glenn Morris <rgm@gnu.org>
12190
12191 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12192
12193 * vc/vc-git.el (vc-git-program): New option.
12194 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12195 (vc-git--call): Use it.
12196
12197 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12198
12199 * cus-edit.el (Custom-newline): If no button at point, look
12200 for a subgroup button at start-of-line. (Bug#2298)
12201
12202 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12203
12204 2011-03-10 Julien Danjou <julien@danjou.info>
12205
12206 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12207 `cursor-type' is nil.
12208
12209 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12210
12211 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12212
12213 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12214
12215 * allout.el: Change so yank of distinctive-bullet items
12216 preserves the existing header prefix, rebulleting it if necessary,
12217 rather than replacing it. This is necessary for proper operation
12218 of cooperative addons like allout-widgets.
12219 (allout-make-topic-prefix, allout-rebullet-heading):
12220 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12221 value as alternate bullet to be used, instead of prompting the user
12222 for a bullet character.
12223
12224 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12225
12226 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12227 Do not use `tramp-file-name-port', because this returns also
12228 `tramp-default-port'.
12229
12230 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12231
12232 * net/rcirc.el (rcirc-handler-001): Remove useless
12233 with-rcirc-process-buffer.
12234 (rcirc-check-auth-status): Swap arguments to string-match.
12235
12236 2011-03-09 Glenn Morris <rgm@gnu.org>
12237
12238 * shell.el (shell-mode):
12239 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12240
12241 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12242 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12243
12244 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12245
12246 * emacs-lisp/package.el (package-refresh-contents)
12247 (package-menu-execute): Use condition-case-no-debug.
12248
12249 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12250
12251 * simple.el (shell-command-to-string): Use `process-file'.
12252
12253 * emacs-lisp/package.el (package-tar-file-info): Handle also
12254 remote files.
12255
12256 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12257 Use `equal' for upload base check.
12258
12259 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12260
12261 * textmodes/texinfo.el (texinfo-environments):
12262 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12263
12264 2011-03-08 Glenn Morris <rgm@gnu.org>
12265
12266 * cus-start.el (cursor-in-non-selected-windows):
12267 Fix :set quoting oddness. (Bug#8192)
12268
12269 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12270 in some setf expressions. (Bug#2159)
12271
12272 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12273
12274 * custom.el (custom-available-themes): Return themes in
12275 alphabetical order.
12276
12277 See ChangeLog.15 for earlier changes.
12278
12279 ;; Local Variables:
12280 ;; coding: utf-8
12281 ;; End:
12282
12283 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12284
12285 This file is part of GNU Emacs.
12286
12287 GNU Emacs is free software: you can redistribute it and/or modify
12288 it under the terms of the GNU General Public License as published by
12289 the Free Software Foundation, either version 3 of the License, or
12290 (at your option) any later version.
12291
12292 GNU Emacs is distributed in the hope that it will be useful,
12293 but WITHOUT ANY WARRANTY; without even the implied warranty of
12294 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12295 GNU General Public License for more details.
12296
12297 You should have received a copy of the GNU General Public License
12298 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.