]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Backport 2012-06-23T12:54:59Z!cyd@gnu.org from trunk
[gnu-emacs] / lisp / ChangeLog
1 2012-08-07 Chong Yidong <cyd@gnu.org>
2
3 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4
5 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8 syntax-propertize-function (bug#10095).
9
10 2012-07-28 Chong Yidong <cyd@gnu.org>
11
12 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
13 gdb-get-location.
14
15 2012-07-25 Leo Liu <sdl.web@gmail.com>
16
17 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
18 the alist (bug#12029).
19
20 2012-07-25 Chong Yidong <cyd@gnu.org>
21
22 * mouse.el (mouse-drag-track): Do not set the mark if the user
23 releases the mouse without selecting anything (Bug#11588).
24
25 2012-07-21 Leo Liu <sdl.web@gmail.com>
26
27 * progmodes/cc-cmds.el (c-defun-name):
28 Use match-string-no-properties instead for consistency.
29
30 2012-07-20 Leo Liu <sdl.web@gmail.com>
31
32 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
33 (Bug#7879)
34
35 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
36
37 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
40 * progmodes/bug-reference.el, misearch.el: Provide themselves
41 (bug#11915).
42
43 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
44 of narrowed buffer (bug#11966).
45
46 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
47
48 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
49 also (Bug#7879).
50
51 2012-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
54 change (bug#11826).
55
56 2012-07-02 Glenn Morris <rgm@gnu.org>
57
58 * simple.el (kill-whole-line): Doc tweak.
59
60 2012-07-01 Eli Zaretskii <eliz@gnu.org>
61
62 * files.el (file-relative-name): Compare file names
63 case-insensitively if on MS-Windows or MS-DOS, or if
64 read-file-name-completion-ignore-case is non-nil. Don't use
65 case-fold-search for this purpose. (Bug#11827)
66
67 2012-06-28 Andreas Schwab <schwab@linux-m68k.org>
68
69 * calendar/cal-dst.el (calendar-current-time-zone):
70 Return calendar-current-time-zone-cache if non-nil.
71
72 2012-06-25 Masatake YAMATO <yamato@redhat.com>
73
74 * progmodes/which-func.el (which-func-format):
75 Add mouse-face. (Bug#11698)
76
77 2012-06-24 Leo Liu <sdl.web@gmail.com>
78
79 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
80 read-only error.
81
82 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
83
84 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
85
86 2012-06-23 Leo Liu <sdl.web@gmail.com>
87
88 * textmodes/enriched.el (enriched-next-annotation):
89 Use eq (Bug#11528).
90
91 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * minibuffer.el (minibuffer-confirm-exit-commands):
94 Add completion-at-point (bug#11725).
95
96 2012-06-21 Glenn Morris <rgm@gnu.org>
97
98 * progmodes/f90.el (f90-font-lock-keywords-2):
99 Add some preprocessor elements. (Bug#10499)
100
101 2012-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * progmodes/cperl-mode.el (cperl-update-syntaxification):
104 Use syntax-propertize (bug#11739).
105
106 2012-06-13 Glenn Morris <rgm@gnu.org>
107
108 * international/mule-cmds.el (mule-menu-keymap)
109 (set-language-environment, set-locale-environment): Doc tweaks.
110
111 2012-06-01 Chong Yidong <cyd@gnu.org>
112
113 * Version 24.1 released.
114
115 2012-06-01 Glenn Morris <rgm@gnu.org>
116
117 * mail/rmail.el (rmail-yank-current-message):
118 Leave point at correct position. (Bug#11660)
119
120 2012-06-01 Chong Yidong <cyd@gnu.org>
121
122 * allout-widgets.el: Fix code header
123
124 2012-06-01 Chong Yidong <cyd@gnu.org>
125
126 * cus-edit.el (customize-changed-options-previous-release):
127 Bump to 23.4.
128
129 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
132 Handle arbitrary file name lengths (Bug#11585).
133
134 2012-05-28 Martin Rudalics <rudalics@gmx.at>
135
136 * desktop.el (desktop-read): Clear previous and next buffers for
137 all windows and bury *Messages* buffer (bug#11556).
138
139 2012-05-18 Eli Zaretskii <eliz@gnu.org>
140
141 * mail/sendmail.el (mail-yank-region):
142 Recognize rmail-yank-current-message in addition to insert-buffer.
143 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
144 a *mail* buffer created through rmail-start-mail with sendmail as
145 mail-user-agent.
146
147 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
150 parens around the arg list (bug#11499). Silly backport.
151
152 2012-05-16 Chong Yidong <cyd@gnu.org>
153
154 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
155
156 2012-05-15 Chong Yidong <cyd@gnu.org>
157
158 * help.el (describe-mode): Doc fix.
159
160 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
161
162 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
163
164 * progmodes/compile.el (compilation-internal-error-properties):
165 Calculate start position correctly when end-col is set but
166 end-line is not (Bug#11382).
167
168 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * net/rlogin.el (rlogin-mode-map): Fix last change.
171
172 2012-05-09 Jason L. Wright <jason.wright@inl.gov> (tiny change)
173
174 * mail/smtpmail.el (smtpmail-send-command): Send the command and
175 the following \r\n using a single `process-send-string', since the
176 Lotus SMTP server refuses to accept any commands if they are sent
177 with two `process-send-string's (bug#11444).
178
179 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * shell.el (shell-parse-pcomplete-arguments): Obey
182 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
183
184 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * shell.el (shell-completion-vars): Fix last change (bug#11348).
187
188 2012-05-07 Chong Yidong <cyd@gnu.org>
189
190 * ansi-color.el (ansi-color-process-output): Check for validity of
191 comint-last-output-start before using it. This avoids a bad
192 interaction with gdb-mi's input/output buffer.
193
194 2012-05-06 Glenn Morris <rgm@gnu.org>
195
196 * files.el (dir-locals-read-from-file):
197 Mention dir-locals in any error message.
198
199 2012-05-06 Chong Yidong <cyd@gnu.org>
200
201 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
202 package (Bug#11410).
203
204 2012-05-05 Chong Yidong <cyd@gnu.org>
205
206 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
207 variables into description.
208
209 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
212 shell-delimiter-argument-list (bug#11348).
213 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
214
215 2012-05-04 Chong Yidong <cyd@gnu.org>
216
217 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
218 Nextstep.
219
220 2012-05-03 Kenichi Handa <handa@m17n.org>
221
222 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
223 decoding, and show a warning message without signalling an error
224 (Bug#11282).
225
226 2012-04-30 Eli Zaretskii <eliz@gnu.org>
227
228 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
229 the yanked message in preference to the default value of
230 buffer-file-coding-system.
231
232 2012-04-30 Martin Rudalics <rudalics@gmx.at>
233
234 * window.el (display-buffer--action-function-custom-type):
235 Fix entry.
236
237 2012-04-27 Alan Mackenzie <acm@muc.de>
238
239 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
240
241 2012-04-27 Chong Yidong <cyd@gnu.org>
242
243 * subr.el (read-key): Avoid running filter function when setting
244 up temporary tool bar entries (Bug#9922).
245
246 2012-04-26 Andreas Schwab <schwab@linux-m68k.org>
247
248 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
249 (Bug#11344)
250
251 2012-04-24 Chong Yidong <cyd@gnu.org>
252
253 * select.el (xselect--encode-string): New function, split from
254 xselect-convert-to-string.
255 (xselect-convert-to-string): Use it.
256 (xselect-convert-to-filename, xselect-convert-to-os)
257 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
258 returned strings are properly encoded (Bug#11315).
259
260 2012-04-22 Chong Yidong <cyd@gnu.org>
261
262 * simple.el (delete-active-region): Move to killing custom group.
263
264 2012-04-21 Andreas Schwab <schwab@linux-m68k.org>
265
266 * progmodes/which-func.el (which-func-current): Quote %
267 characters for mode-line processing.
268
269 2012-04-21 Chong Yidong <cyd@gnu.org>
270
271 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
272 reaching eob (Bug#11286).
273
274 2012-04-20 Richard Stallman <rms@gnu.org>
275
276 Fix logic for returning to and yanking from Rmail buffer.
277
278 * mail/rmail.el (rmail-start-mail):
279 Pass (rmail-mail-return...) for the return-action.
280 Pass (rmail-yank-current-message...) for the yank-action.
281 (rmail-yank-current-message): New function.
282 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
283 (rmail-reply): Likewise.
284 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
285
286 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
287 buffer, not the last. Reject temp buffers. Use the rmail-mode
288 buffer, not newbuf.
289
290 2012-04-20 Eli Zaretskii <eliz@gnu.org>
291
292 * progmodes/gdb-mi.el (gdb-control-level): New variable.
293 (gdb): Make it buffer-local and init to zero.
294 (gdb-control-commands-regexp): New variable.
295 (gdb-send): Don't wrap in "-interpreter-exec console" if
296 gdb-control-level is positive. Increment gdb-control-level
297 whenever the command matches gdb-control-commands-regexp, and
298 decrement it each time the command is "end". (Bug#11279)
299
300 2012-04-20 Martin Rudalics <rudalics@gmx.at>
301
302 * window.el (adjust-window-trailing-edge, enlarge-window)
303 (shrink-window, window-resize):
304 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
305 windows (Bug#11276).
306
307 2012-04-20 Dan Nicolaescu <dann@gnu.org>
308
309 * battery.el (battery-echo-area-format): Display remaining time
310 for sysfs backend too (Bug#11269).
311 (battery-linux-sysfs): Fix conditional for the charge.
312
313 2012-04-20 Chong Yidong <cyd@gnu.org>
314
315 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
316 (gdb-inferior-io--init-proc): New function.
317 (gdb-init-1): Use it.
318 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
319 responsible for allocating a new pty and hooking it to gdb when
320 the old pty gets an EIO due to process exit.
321 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
322 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
323 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
324
325 2012-04-20 Eli Zaretskii <eliz@gnu.org>
326
327 * window.el (window-min-size, window-sizable, window-min-delta)
328 (window-max-delta, window--resizable, window-resizable)
329 (window-total-size, window-full-height-p, window-full-width-p)
330 (window-in-direction, window--resize-mini-window, window-resize)
331 (window--resize-child-windows-normal)
332 (window--resize-child-windows, window--resize-siblings)
333 (window--resize-this-window, adjust-window-trailing-edge)
334 (enlarge-window, shrink-window): Doc fixes.
335
336 2012-04-19 Chong Yidong <cyd@gnu.org>
337
338 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
339 New function to call delete-process on the gdb-inferior buffer's pty.
340 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
341 pty process (Bug#11273).
342 (gdb-update): New arg to suppress talking to the gdb process.
343 (gdb-done-or-error): Use it.
344 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
345 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
346 sentinel not being called.
347
348 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
349
350 2012-04-18 Chong Yidong <cyd@gnu.org>
351
352 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
353
354 2012-04-18 Glenn Morris <rgm@gnu.org>
355
356 * net/network-stream.el (open-network-stream): Doc fix.
357
358 2012-04-17 Chong Yidong <cyd@gnu.org>
359
360 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
361
362 2012-04-16 Alan Mackenzie <acm@muc.de>
363
364 Ensure searching for keywords is case sensitive.
365
366 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
367 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
368 (c-defun-name, c-mark-function, c-cpp-define-name)
369 (c-comment-indent, c-scan-conditionals, c-indent-defun)
370 (c-context-line-break): bind case-fold-search to nil.
371
372 * progmodes/cc-mode.el (c-font-lock-fontify-region):
373 bind case-fold-search to nil.
374
375 2012-04-16 Chong Yidong <cyd@gnu.org>
376
377 * mail/sendmail.el (mail-bury): Call return action with the right
378 Rmail buffer (Bug#11242).
379
380 2012-04-15 Chong Yidong <cyd@gnu.org>
381
382 * server.el (server-process-filter): Handle corner case where both
383 tty and nowait options are present (Bug#11102).
384
385 2012-04-15 Glenn Morris <rgm@gnu.org>
386
387 * simple.el (process-file-side-effects): Doc fix.
388
389 2012-04-14 Glenn Morris <rgm@gnu.org>
390
391 * international/mule-cmds.el (set-language-environment): Doc fix.
392
393 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 Avoid the use of ((lambda ...) ...) in lexical-binding code.
396 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
397
398 2012-04-13 Kim F. Storm <storm@cua.dk>
399
400 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
401 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
402
403 2012-04-12 Chong Yidong <cyd@gnu.org>
404
405 * custom.el (custom-theme-set-variables): Doc fix.
406
407 2012-04-12 Glenn Morris <rgm@gnu.org>
408
409 * international/mule.el (set-auto-coding-for-load): Doc fix.
410
411 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
414 Reported by Noah Friedman. Backport from trunk.
415
416 2012-04-11 Alan Mackenzie <acm@muc.de>
417
418 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
419 Make imenu work again for Objective C Mode. Correct the *-index
420 values, these having been disturbed by a previous change in 2011-08.
421
422 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
423 Correct two search limits.
424
425 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
428
429 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
430
431 * international/characters.el: Fix sorting.
432
433 2012-04-10 Eli Zaretskii <eliz@gnu.org>
434
435 * international/characters.el: Add more missing Latin case pairs.
436
437 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
438
439 * international/characters.el: Recover lost case pairs.
440
441 2012-04-10 Glenn Morris <rgm@gnu.org>
442
443 * files.el (dir-locals-set-class-variables): Doc fix.
444
445 2012-04-09 Eli Zaretskii <eliz@gnu.org>
446
447 * international/characters.el: Add set-case-syntax-pair call for
448 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
449 counterpart. (Bug#11209)
450
451 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
452
453 2012-04-09 Glenn Morris <rgm@gnu.org>
454
455 * calendar/holidays.el (calendar-check-holidays): Doc fix.
456
457 2012-04-08 Eli Zaretskii <eliz@gnu.org>
458
459 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
460 Hebrew.
461
462 2012-04-08 Chong Yidong <cyd@gnu.org>
463
464 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
465 (Bug#11192).
466
467 2012-04-07 Glenn Morris <rgm@gnu.org>
468
469 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
470
471 2012-04-07 Eli Zaretskii <eliz@gnu.org>
472
473 * minibuffer.el (completion-in-region-mode-map):
474 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
475
476 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
477
478 * window.el (shrink-window): Mention the `window-min-height'
479 variable in the doc string.
480
481 2012-04-05 Bastien Guerry <bzg@altern.org>
482
483 * color.el (color-lighten-name): Fix typo.
484
485 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * server.el (server--on-display-p): New function.
488 (server--on-display-p): Use it.
489
490 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
491
492 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
493 (bug#11145).
494
495 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * comint.el (comint--common-quoted-suffix): Check string boundary
498 before comparing (bug#11158).
499 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
500
501 2012-04-04 Chong Yidong <cyd@gnu.org>
502
503 * minibuffer.el (completion-extra-properties): Doc fix.
504
505 * subr.el (delayed-warnings-hook): Doc fix.
506
507 2012-04-04 Daiki Ueno <ueno@unixuser.org>
508
509 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
510 selection (Bug#11159).
511 (epa-insert-keys): Inform that the default public key will be
512 exported if no key is selected.
513
514 2012-04-04 Richard Stallman <rms@gnu.org>
515
516 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
517
518 2012-04-03 Chong Yidong <cyd@gnu.org>
519
520 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
521 mail-insert-file, not its obsolete alias mail-attach-file.
522
523 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
524
525 * notifications.el (notifications-notify): Fix docstring.
526
527 2012-04-02 Glenn Morris <rgm@gnu.org>
528
529 * emacs-lisp/authors.el (authors-aliases): Another addition.
530
531 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
532
533 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
534 `tramp-compat-call-process' instead of `tramp-local-call-process'.
535 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
536
537 2012-04-01 Chong Yidong <cyd@gnu.org>
538
539 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
540 Handle root directory properly.
541 (copy-directory): Caller changed.
542
543 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
544 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
545
546 2012-03-31 Glenn Morris <rgm@gnu.org>
547
548 * term/xterm.el (xterm-extra-capabilities): Doc fix.
549
550 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
551
552 * calendar/calendar.el (calendar-window-list)
553 (calendar-hide-window): Restore. (Bug#11140)
554 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
555
556 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
557
558 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
559
560 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
561 Check if file is a symlink (Bug#10489).
562
563 * files.el (copy-directory): Likewise.
564
565 2012-03-30 Chong Yidong <cyd@gnu.org>
566
567 * image.el (imagemagick-types-inhibit)
568 (imagemagick-register-types): Doc fix.
569
570 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
571
572 * ispell.el (ispell-get-extended-character-mode): Disable
573 extended-char-mode for hunspell. hunspell does not support it and
574 treats ~word as ordinary words in pipe mode.
575
576 2012-03-30 Glenn Morris <rgm@gnu.org>
577
578 * tutorial.el (help-with-tutorial): Ensure local variables don't
579 happen to make the buffer read-only. (Bug#11127)
580
581 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
584 (perl-calculate-indent): Return `noindent' in strings.
585
586 2012-03-28 Sam Steingold <sds@gnu.org>
587
588 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
589 instead of the broken adhockery which does not prevent calendar
590 buffers from being displayed at random after exit.
591 (calendar-window-list, calendar-hide-window): Remove the broken
592 adhockery.
593
594 2012-03-28 Glenn Morris <rgm@gnu.org>
595
596 * replace.el (query-replace-map): Doc fix.
597
598 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
599
600 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
601 contents. (Bug#11109)
602
603 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
606 (bug#11077).
607 (avl-tree--check, avl-tree--check-node): New funs.
608
609 2012-03-27 Martin Rudalics <rudalics@gmx.at>
610
611 * window.el (switch-to-visible-buffer): New option.
612 (switch-to-prev-buffer, switch-to-next-buffer):
613 Observe switch-to-visible-buffer. Make sure that checking for a window
614 showing a buffer already is done on the same frame.
615
616 2012-03-27 Glenn Morris <rgm@gnu.org>
617
618 * startup.el (mail-host-address): Doc fix.
619
620 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
623 than 197 variables.
624
625 2012-03-26 Ami Fischman <ami@fischman.org>
626
627 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
628
629 2012-03-26 Glenn Morris <rgm@gnu.org>
630
631 * files.el (save-buffers-kill-emacs): Doc fix.
632
633 * startup.el (normal-top-level, command-line, command-line-1):
634 Give them doc strings.
635
636 2012-03-25 Eli Zaretskii <eliz@gnu.org>
637
638 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
639 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
640
641 2012-03-25 Chong Yidong <cyd@gnu.org>
642
643 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
644 theme if it was previously enabled before (Bug#11031).
645
646 * cus-theme.el (custom-theme-write-faces): Retrieve current face
647 spec with custom-face-get-current-spec if its :shown-value is not
648 determined yet (Bug#9337).
649 (customize-create-theme, custom-theme-revert): Doc fixes.
650
651 * button.el (button-at): Minor addition to docstring.
652
653 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
654
655 * vc/vc.el (vc-merge): Fix a prompt.
656
657 2012-03-24 Chong Yidong <cyd@gnu.org>
658
659 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
660 point (Bug#9623).
661
662 * button.el (button-at): Minor addition to docstring.
663
664 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * newcomment.el (comment-choose-indent): No space after BOL.
667
668 2012-03-22 Sam Steingold <sds@gnu.org>
669
670 * window.el (switch-to-prev-buffer): Revert last patch because the
671 bug turned out to be an advertised feature (Elisp manual 28.14).
672
673 2012-03-22 Glenn Morris <rgm@gnu.org>
674
675 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
676 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
677
678 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
679
680 * net/network-stream.el (network-stream-open-starttls): Make error
681 message under Windows be less misleading.
682
683 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
684
685 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
686 understands (bug#9942).
687
688 2012-03-22 Chong Yidong <cyd@gnu.org>
689
690 * simple.el (end-of-visible-line): Handle return value of
691 next-single-property-change properly (Bug#9371).
692
693 2012-03-22 Kenichi Handa <handa@m17n.org>
694
695 * international/quail.el (quail-insert-kbd-layout): Fix previous
696 change. To avoid unwanted bidi reordering, use
697 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
698
699 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
700
701 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
702 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
703 (ruby-beginning-of-indent): Be more careful with the difference
704 between word-boundary and symbol boundary.
705 (ruby-mode-syntax-table): Make : a symbol constituent.
706
707 2012-03-21 Andreas Politz <politza@fh-trier.de>
708
709 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
710
711 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * progmodes/etags.el (tags-completion-at-point-function):
714 Improve last fix.
715
716 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
717
718 2012-03-21 Sam Steingold <sds@gnu.org>
719
720 * progmodes/etags.el (tags-completion-at-point-function):
721 Avoid the error when point is inside the pattern.
722
723 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
724
725 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
726 line (Bug#10855).
727
728 2012-03-21 Drew Adams <drew.adams@oracle.com>
729
730 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
731
732 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
733
734 * ido.el (ido-set-current-directory, ido-read-internal)
735 (ido-choose-completion-string, ido-completion-help): Handle nil
736 value of ido-completion-buffer (Bug#11008).
737
738 2012-03-21 Sam Steingold <sds@gnu.org>
739
740 * window.el (switch-to-prev-buffer): Do not switch to a visible
741 window previous buffer, just like with the frame previous buffers.
742
743 2012-03-21 Chong Yidong <cyd@gnu.org>
744
745 * faces.el (make-face, make-empty-face, copy-face):
746 * face-remap.el (face-remap-add-relative, face-remap-set-base):
747 Doc fixes.
748
749 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * wid-edit.el (widget-complete-field): Remove (bug#11051).
752 (widget-complete): Remove broken use of it.
753
754 2012-03-20 Chong Yidong <cyd@gnu.org>
755
756 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
757 Use string-width and truncate-string-width to handle arbitrary
758 characters.
759
760 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
761
762 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
763 to draw rectangles, not squares. (Regression introduced by revno
764 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
765
766 2012-03-18 Chong Yidong <cyd@gnu.org>
767
768 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
769 it is not yet defined (for temacs).
770
771 2012-03-18 Leo Liu <sdl.web@gmail.com>
772
773 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
774
775 2012-03-17 Eli Zaretskii <eliz@gnu.org>
776
777 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
778 (ispell-choices-win-default-height, ispell-silently-savep)
779 (ispell-dictionary-alist, ispell-encoding8-command)
780 (ispell-check-version, ispell-aspell-find-dictionary)
781 (ispell-valid-dictionary-list, ispell-words-keyword)
782 (ispell-get-word, ispell-internal-change-dictionary)
783 (ispell-region, ispell-skip-region-list)
784 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
785 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
786 (ispell-message-text-end, ispell-message)
787 (ispell-buffer-local-parsing): Doc fix.
788
789 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
790
791 * htmlfontify.el: Add support for code block fontification for ODT
792 export (Bug #9914).
793 (hfy-optimisations): Define new option
794 `body-text-only'
795 (hfy-fontify-buffer): Honor above setting.
796 (hfy-begin-span, hfy-end-span): New routines factored out form
797 `hfy-fontify-buffer'.
798 (hfy-begin-span-handler, hfy-end-span-handler): New variables
799 that permit insertion of custom tags.
800 (hfy-fontify-buffer): Use above handlers.
801 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
802 (hfy-face-to-css): Re-defined to be a variable.
803 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
804 over multiple runs. This is made possible by having the caller let
805 bind a special variable `hfy-user-sheet-assoc'.
806 (htmlfontify-string): New defun.
807 (hfy-compile-face-map): Make sure that the last char in the
808 buffer is correctly fontified.
809 (hfy-face-resolve-face): Whitespace only change.
810
811 2012-03-17 Eli Zaretskii <eliz@gnu.org>
812
813 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
814 message more clear.
815
816 2012-03-16 Leo Liu <sdl.web@gmail.com>
817
818 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
819
820 2012-03-16 Alan Mackenzie <acm@muc.de>
821
822 Further optimise the handling of large macros.
823
824 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
825 limit to a call of `c-literal-limits'.
826 (c-determine-+ve-limit): New function.
827 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
828 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
829 In CASE 5B, restrict a search limit to 500.
830 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
831
832 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
833 Restrict macro bounds to +-500 from after-change's BEG END.
834
835 2012-03-16 Leo Liu <sdl.web@gmail.com>
836
837 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
838
839 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
840
841 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
842 `special-mode' setting of `buffer-read-only'. (Bug#11010)
843
844 2012-03-16 Glenn Morris <rgm@gnu.org>
845
846 * view.el (view-buffer, view-buffer-other-window)
847 (view-buffer-other-frame): Doc fixes re special mode-class.
848
849 * subr.el (eval-after-load): If named feature is provided not from
850 a file, run after-load forms. (Bug#10946)
851
852 * calendar/calendar.el (calendar-insert-at-column):
853 Handle non-unit-width characters a bit better. (Bug#10978)
854
855 2012-03-15 Chong Yidong <cyd@gnu.org>
856
857 * emacs-lisp/ring.el (ring-extend): New function.
858 (ring-insert+extend): Extend the ring correctly (Bug#11019).
859
860 * comint.el (comint-read-input-ring)
861 (comint-add-to-input-history): Grow comint-input-ring lazily.
862
863 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
866 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
867
868 * imenu.el: Fix multiple inheritance breakage (bug#9199).
869 (imenu-add-to-menubar): Don't add a redundant index.
870 (imenu-update-menubar): Handle a dynamically composed keymap.
871
872 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
873
874 * mail/sendmail.el (mail-encode-header):
875 Bind rfc2047-encode-encoded-words to nil.
876
877 2012-03-13 Glenn Morris <rgm@gnu.org>
878
879 * calendar/calendar.el (calendar-string-spread):
880 Handle non-unit-width characters a bit better. (Bug#10978)
881
882 2012-03-13 Leo Liu <sdl.web@gmail.com>
883
884 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
885 directory and file as argument (Bug#10822).
886
887 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
888
889 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
890 For dynamically generated code, follow $PC.
891 (gdb-disassembly-handler-custom): Handle no function name case.
892
893 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
894
895 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
896 * emulation/ws-mode.el (ws-query-replace):
897 * sort.el (sort-regexp-fields):
898 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
899
900 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * dabbrev.el: Fix cycle completion order (bug#10963).
903 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
904 (dabbrev-completion): Don't use an obarray; provide
905 a cycle-sort-function.
906
907 2012-03-12 Leo Liu <sdl.web@gmail.com>
908
909 * simple.el (kill-new): Use equal-including-properties for comparison.
910 (kill-do-not-save-duplicates): Doc fix.
911
912 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * dabbrev.el: Fix cycle completion (bug#10963).
915 Use lexical binding and wrap to 80 columns.
916 (dabbrev-completion): Delay computing the list of completions.
917
918 2012-03-12 Kenichi Handa <handa@m17n.org>
919
920 * international/quail.el (quail-insert-kbd-layout): Surround each
921 row by LRO and PDF instead of inserting many LRMs. Pad the left
922 and right of each non-spacing marks. Insert invisible space
923 between lower and upper characters to prevent composition.
924
925 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * minibuffer.el (minibuffer-complete): Don't get confused when the
928 function is run twice via different commands (bug#10958).
929 (complete-with-action): Fix docstring.
930
931 2012-03-12 Chong Yidong <cyd@gnu.org>
932
933 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
934 (nxml-completion-at-point-function): New function.
935 (nxml-mode): Use it.
936 (nxml-bind-meta-tab-to-complete-flag): Default to t.
937
938 * emacs-lisp/package.el (package-unpack, package-unpack-single):
939 Load generated autoloads file before byte compiling (Bug#10970).
940 (package--make-autoloads-and-compile): New helper fun.
941
942 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
943
944 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
945
946 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
947
948 * autorevert.el (auto-revert-handler): Ensure, that
949 file-readable-p is applied only for local files or in
950 auto-revert-tail-mode.
951
952 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
953
954 * server.el (server-eval-at): Handle non-tcp connections.
955 Decode result string.
956
957 * server.el (server-msg-size): New constant.
958 (server-reply-print): New function.
959 (server-eval-and-print): Use it.
960 (server-eval-at): Use server-quote-arg and server-unquote-arg.
961 Handle -print-nonl.
962
963 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
964
965 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
966 (Bug#10987).
967
968 2012-03-11 Chong Yidong <cyd@gnu.org>
969
970 * simple.el (goto-line): Doc fix (Bug#9938).
971
972 * subr.el (save-window-excursion): Doc fix (Bug#9979).
973
974 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
975 when finished (Bug#10963).
976
977 2012-03-11 Martin Rudalics <rudalics@gmx.at>
978
979 * window.el (split-window-below): Fix bug in case where
980 split-window-keep-point is nil (Bug#10971).
981
982 2012-03-11 Juri Linkov <juri@jurta.org>
983
984 * replace.el (replace-highlight): Set isearch-word to nil
985 unconditionally. (Bug#10887)
986
987 2012-03-10 Eli Zaretskii <eliz@gnu.org>
988
989 * net/mairix.el (mairix-replace-invalid-chars): Rename from
990 mairix-replace-illegal-chars; all callers changed. Don't remove
991 ^, ~, and = characters: they are meaningful in mairix search specs.
992 (mairix-widget-create-query): Add usage information about mairix
993 search forms: negating words, searching for substrings, etc.
994
995 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
996
997 * international/fontset.el (font-encoding-alist): Add an entry for
998 ksx1001 (Bug#5667).
999
1000 2012-03-10 Richard Stallman <rms@gnu.org>
1001
1002 * mail/sendmail.el (mail-encode-header):
1003 Set rfc2047-encode-encoded-words.
1004
1005 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1006
1007 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1008 view buffer means not swapped.
1009 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1010 (rmail-write-region-annotate): Error if real text has disappeared.
1011
1012 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1013
1014 2012-03-10 Chong Yidong <cyd@gnu.org>
1015
1016 * emulation/cua-rect.el (cua--init-rectangles):
1017 * emulation/cua-base.el (cua--init-keymaps):
1018 Add delete-forward-char to remappings (Bug#9666).
1019
1020 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1021
1022 * speedbar.el (speedbar-unhighlight-one-tag-line):
1023 Avoid unhighlighting due to frame switching (Bug#10275).
1024
1025 2012-03-10 Chong Yidong <cyd@gnu.org>
1026
1027 * minibuffer.el (completion-in-region, completion-help-at-point):
1028 Give the completion field overlay a high priority (Bug#6830).
1029
1030 * dired.el (dired-goto-file): Recognize absolute file name
1031 listings (Bug#7126).
1032 (dired-goto-file-1): New helper function.
1033 (dired-toggle-read-only): Inhibit warnings.
1034
1035 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1036
1037 * net/dbus.el: (dbus-property-handler): Return empty array if
1038 there are no properties.
1039
1040 2012-03-09 Leo Liu <sdl.web@gmail.com>
1041
1042 * savehist.el (savehist-printable): Stricter check for string
1043 value (Bug#10937).
1044
1045 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1046
1047 * mail/smtpmail.el (smtpmail-send-it):
1048 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1049 valid mbox format.
1050
1051 2012-03-09 Glenn Morris <rgm@gnu.org>
1052
1053 * files.el (dir-locals-find-file):
1054 Don't check result is regular, readable.
1055 (dir-locals-read-from-file): Demote errors.
1056
1057 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1058
1059 * international/quail.el (quail-insert-kbd-layout):
1060 Insert invisible LRM characters before each character in a keyboard
1061 layout cell, to prevent their reordering by bidi display engine.
1062 For details, see the discussion in
1063 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1064
1065 2012-03-08 Alan Mackenzie <acm@muc.de>
1066
1067 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1068 the starting position; make it extend the marked region when
1069 invoked repeatedly - all under appropriate circumstances.
1070 Fixes bugs #5525, #10906.
1071
1072 2012-03-08 Glenn Morris <rgm@gnu.org>
1073
1074 * files.el (locate-dominating-file, dir-locals-find-file):
1075 Undo 2012-03-06 change.
1076
1077 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1078
1079 * international/quail.el (quail-help):
1080 Force bidi-paragraph-direction be left-to-right. See discussion in
1081 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1082 for the reason.
1083
1084 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1085
1086 Avoid superfluous registering of signals. (Bug#10807)
1087
1088 * notifications.el (notifications-on-action-object)
1089 (notifications-on-close-object): New defvars.
1090 (notifications-on-action-signal, notifications-on-closed-signal):
1091 Unregister the signal if not needed any longer.
1092 (notifications-notify): Register `notifications-action-signal' or
1093 `notifications-closed-signal', if :on-action or :on-close has been
1094 passed as argument.
1095
1096 2012-03-07 Chong Yidong <cyd@gnu.org>
1097
1098 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1099 non-X platforms.
1100
1101 2012-03-06 Glenn Morris <rgm@gnu.org>
1102
1103 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1104 (x-disown-selection-internal, x-get-selection-internal):
1105 Doc fix (add arglist signatures). (Bug#10783)
1106
1107 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1108
1109 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1110 Handle breakpoints with no "type".
1111
1112 2012-03-06 Glenn Morris <rgm@gnu.org>
1113
1114 * files.el (locate-dominating-file): Add optional predicate argument.
1115 (dir-locals-find-file): Make use of above change.
1116
1117 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1118
1119 * info.el (Info-insert-dir): Also try "dir.gz".
1120
1121 2012-03-06 Glenn Morris <rgm@gnu.org>
1122
1123 * files.el (dir-locals-find-file):
1124 Ignore non-readable or non-regular files. (Bug#10928)
1125
1126 * files.el (locate-dominating-file): Doc fix.
1127
1128 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1129
1130 * calendar/calendar.el (calendar-set-mode-line):
1131 `getenv' returns a string. (Bug#10951)
1132
1133 2012-03-05 Leo Liu <sdl.web@gmail.com>
1134
1135 * simple.el (backward-delete-char-untabify): Constrain point to
1136 field (Bug#10939).
1137
1138 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1139
1140 2012-03-05 Chong Yidong <cyd@gnu.org>
1141
1142 * simple.el (count-words): If called from Lisp, return the word
1143 count, for symmetry with `count-lines'. Arglist changed.
1144 (count-words--message): Args changed. Consolidate counting code
1145 from count-words and count-words-region.
1146 (count-words-region): Caller changed.
1147 (count-lines-region): Make it an obsolete alias.
1148
1149 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1150
1151 * saveplace.el (save-place-to-alist)
1152 (save-place-ignore-files-regexp): Allow value nil to disable this
1153 feature.
1154
1155 2012-03-04 Chong Yidong <cyd@gnu.org>
1156
1157 * faces.el (face-spec-reset-face): For the default face, reset the
1158 attributes to default values (Bug#10748).
1159
1160 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1161
1162 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1163 previous patch: Check `message-send-mail-function', and not the
1164 default function (bug#10897).
1165
1166 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * notifications.el (notifications-on-action-signal)
1169 (notifications-on-closed-signal): Check for unique service name of
1170 incoming event. Fix error in removing entry.
1171 (top): Register for signals with wildcard service name.
1172 (notifications-notify): Use daemon unique service name for map entries.
1173
1174 2012-03-04 Chong Yidong <cyd@gnu.org>
1175
1176 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1177
1178 2012-03-04 Glenn Morris <rgm@gnu.org>
1179
1180 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1181 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1182 (expand-abbrev, define-abbrev-table): Doc fixes.
1183
1184 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185
1186 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1187 `message-default-send-mail-function' and not `send-mail-function'
1188 when doing the prompting for `sendmail-query-once' before sending
1189 in Message buffers (bug#10897).
1190
1191 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1192 This is inconsistent with all the other stream functions, which leave
1193 the setting up to the higher levels (if so wanted) (bug#10931).
1194
1195 2012-03-02 Alan Mackenzie <acm@muc.de>
1196
1197 Depessimize the handling of very large macros.
1198
1199 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1200 (c-macro-cache-syntactic): New variables to implement a one
1201 element macro cache.
1202 (c-invalidate-macro-cache): New function.
1203 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1204 Adapt to use the new cache.
1205 (c-state-safe-place): Use better the cache of safe positions.
1206 (c-state-semi-nonlit-pos-cache)
1207 (c-state-semi-nonlit-pos-cache-limit):
1208 New variables for...
1209 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1210 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1211 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1212 Use c-state-semi-safe-place.
1213
1214 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1215 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1216
1217 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1218
1219 * jka-compr.el (jka-compr-call-process):
1220 Apply `file-accessible-directory-p' only when the default directory is
1221 not remote.
1222
1223 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1224
1225 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1226 access of FILE2, if FILE1 does not exist.
1227
1228 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1229 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1230
1231 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1232 Add "PAGER=" to `process-environment'.
1233
1234 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1235
1236 * progmodes/sql.el: Bug fix
1237 (sql-get-login-ext): Save login values in globals.
1238 (sql-get-login): Use new version of `sql-get-login-ext'.
1239 (sql-interactive-mode): Set global `sql-connection' to nil.
1240 (sql-connect): Set global values for connection.
1241 (sql-product-interactive): Save global values as buffer local.
1242
1243 2012-02-29 Leo Liu <sdl.web@gmail.com>
1244
1245 * abbrev.el (define-abbrevs): Reset sys to nil.
1246
1247 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1248
1249 * files.el (file-equal-p): Rename from `files-equal-p'.
1250 Return nil when one or both files don't exist.
1251 (file-subdir-of-p): Now only top directory must exists,
1252 return nil if it doesn't.
1253 (copy-directory): No need to test with `file-subdir-of-p' after
1254 creating dir.
1255 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1256 to `file-equal-p'.
1257
1258 2012-02-28 Glenn Morris <rgm@gnu.org>
1259
1260 * shell.el (shell-mode):
1261 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1262 * play/landmark.el (landmark-font-lock-face-O):
1263 * play/handwrite.el (handwrite):
1264 * play/gomoku.el (gomoku-O):
1265 * net/browse-url.el (browse-url-browser-display):
1266 * international/mule.el (define-charset):
1267 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1268 * filesets.el (filesets-find-file-delay):
1269 * eshell/em-xtra.el (eshell-xtra):
1270 * eshell/em-unix.el (eshell-grep):
1271 * emulation/viper.el (viper-mode):
1272 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1273 * emacs-lisp/easymenu.el (easy-menu-define):
1274 * calendar/timeclock.el (timeclock-use-display-time):
1275 * bs.el (bs-mode):
1276 * bookmark.el (bookmark-save-flag):
1277 Doc fix (standardize possessive apostrophe usage).
1278
1279 2012-02-27 Chong Yidong <cyd@gnu.org>
1280
1281 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1282 Fix key-binding lookup for ESC key (Bug#9146).
1283
1284 * font-lock.el (font-lock-specified-p): Rename from
1285 font-lock-spec-present. Callers changed.
1286
1287 2012-02-27 Daniel Hackney <dan@haxney.org>
1288
1289 * emacs-lisp/package.el (package-compute-transaction):
1290 Handle holding a package version to t in package-load-list.
1291
1292 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1295 (tramp-get-inode, tramp-get-device): Use cached values.
1296
1297 2012-02-26 Alan Mackenzie <acm@muc.de>
1298
1299 Check there is a font-lock specification before doing initial
1300 fontification.
1301
1302 * font-core.el (font-lock-mode): Move the conditional from
1303 :after-hook to font-lock-initial-fontify.
1304 (font-lock-default-function): Move the check for a specification
1305 to font-lock-spec-present.
1306
1307 * font-lock.el (font-lock-initial-fontify): Call ...
1308 (font-lock-spec-present): New function.
1309
1310 2012-02-26 Jim Blandy <jimb@red-bean.com>
1311
1312 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1313 (gdb-send): Apply it to the operand of the '-interpreter-exec
1314 console' command, so that we can pass arguments with (say) quotes
1315 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1316
1317 2012-02-26 Chong Yidong <cyd@gnu.org>
1318
1319 * help-fns.el (describe-function-1): Clarify description of
1320 remapping (Bug#10844).
1321
1322 * files.el (files-equal-p): Doc fix.
1323 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1324 and quit the loop once a mismatch is found.
1325
1326 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1327
1328 * bs.el (bs--show-with-configuration): Don't throw an error
1329 if the window cannot be split; otherwise, subsequent calls to
1330 bs-show fail, restoring a stale window config. (Bug#10882)
1331
1332 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1333
1334 * term/ns-win.el (global-map): Bind ns-drag-file to
1335 ns-find-file (Bug#5855, Bug#10050).
1336
1337 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1338
1339 * calendar/parse-time.el (parse-time-string): Allow extractor to
1340 return nil.
1341
1342 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp.el (tramp-file-name-for-operation):
1345 Add `files-equal-p' and `file-subdir-of-p'.
1346
1347 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1348 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1349 Add COPY-CONTENTS argument.
1350
1351 2012-02-25 Chong Yidong <cyd@gnu.org>
1352
1353 Add custom groups for VC backends, for consistency with vc-bzr.
1354
1355 * vc/vc-arch.el (vc-arch):
1356 * vc/vc-cvs.el (vc-cvs):
1357 * vc/vc-git.el (vc-git):
1358 * vc/vc-hg.el (vc-hg):
1359 * vc/vc-mtn.el (vc-mtn):
1360 * vc/vc-rcs.el (vc-rcs):
1361 * vc/vc-sccs.el (vc-sccs):
1362 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1363 All relevant defcustoms reassigned.
1364
1365 2012-02-25 Chong Yidong <cyd@gnu.org>
1366
1367 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1368
1369 * term/x-win.el (x-initialize-window-system): Reduce default for
1370 x-selection-timeout to 5 seconds (Bug#8869).
1371
1372 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1373
1374 * files.el (file-subdir-of-p): Fix typo.
1375
1376 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1377
1378 * files.el (files-equal-p, file-subdir-of-p): New functions.
1379 (copy-directory): Error when trying to copy a directory on itself.
1380 Add missing copy-contents arg to tramp handler.
1381 * dired-aux.el (dired-copy-file-recursive): Same.
1382 (dired-create-files): Modify destination when source is equal to
1383 dest when copying files.
1384 Return also when dest is a subdir of source. (Bug#10489)
1385
1386 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1389 (Bug#10874)
1390
1391 2012-02-23 Alan Mackenzie <acm@muc.de>
1392
1393 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1394 parameter "after-hook:" to allow the expansion to run code after
1395 the execution of the mode hooks.
1396
1397 * font-lock.el (font-lock-initial-fontify): New function extracted
1398 from font-lock-mode-internal.
1399
1400 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1401 :after-hook.
1402
1403 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1406 (completion--cache-all-sorted-completions): New function.
1407 (completion-all-sorted-completions): Use it.
1408 (completion--do-completion, minibuffer-force-complete):
1409 Use it to re-instate the flush hook.
1410
1411 * icomplete.el (icomplete-completions): Replace last fix with a better
1412 one (bug#10850).
1413
1414 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1415
1416 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1417 when it might call us back infinitely (bug#10797).
1418
1419 2012-02-23 Glenn Morris <rgm@gnu.org>
1420
1421 * minibuffer.el (completion-category-overrides): Doc fix.
1422
1423 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1426 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1427
1428 2012-02-23 Glenn Morris <rgm@gnu.org>
1429
1430 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1431 (authors-obsolete-files-regexps, authors-ignored-files)
1432 (authors-ambiguous-files, authors-renamed-files-alist):
1433 Add more entries.
1434
1435 2012-02-23 Juri Linkov <juri@jurta.org>
1436
1437 * isearch.el (isearch-occur): Sync interactive spec with occur's
1438 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1439
1440 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1441
1442 2012-02-22 Juri Linkov <juri@jurta.org>
1443
1444 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1445 (ucs-insert): Doc fix. Check for hex digits in the string.
1446 Don't display `nil' in the error message. (Bug#10857)
1447
1448 2012-02-22 Alan Mackenzie <acm@muc.de>
1449
1450 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1451
1452 2012-02-22 Glenn Morris <rgm@gnu.org>
1453
1454 * ffap.el (ffap-c-path):
1455 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1456
1457 2012-02-22 Chong Yidong <cyd@gnu.org>
1458
1459 * custom.el (load-theme): Doc fix.
1460
1461 2012-02-22 Glenn Morris <rgm@gnu.org>
1462
1463 * dired-x.el (dired-guess-shell-alist-default):
1464 Remove escape sequences from nroff output. (Bug#172)
1465
1466 2012-02-21 Glenn Morris <rgm@gnu.org>
1467
1468 * vc/emerge.el (emerge-defvar-local):
1469 Set `permanent-local' property rather than unused `preserved'.
1470
1471 * textmodes/picture.el (picture-delete-char): New alias.
1472 (picture-mode-map): Use it. (Bug#10860)
1473 (picture-mode): Doc fix.
1474
1475 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1476
1477 * newcomment.el (uncomment-region-default): Remove unused binding.
1478
1479 2012-02-21 Glenn Morris <rgm@gnu.org>
1480
1481 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1482 (picture-self-insert, picture-tab-chars): Doc fix.
1483 (picture-mode-map): Fix C-a, C-e.
1484
1485 2012-02-20 Glenn Morris <rgm@gnu.org>
1486
1487 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1488
1489 2012-02-20 Leo Liu <sdl.web@gmail.com>
1490
1491 * icomplete.el (icomplete-completions): Check FROM arg before
1492 passing to substring (Bug#10850).
1493
1494 2012-02-19 Chong Yidong <cyd@gnu.org>
1495
1496 * comint.el: Require ansi-color.
1497 (comint-output-filter-functions): Add ansi-color-process-output.
1498
1499 * ansi-color.el: Don't set comint-output-filter-functions; it is
1500 now in the initial value defined in comint.el.
1501 (ansi-color-apply-face-function): New variable.
1502 (ansi-color-apply-on-region): Use it.
1503 (ansi-color-apply-overlay-face): New function.
1504
1505 * shell.el (shell): No need to require ansi-color.
1506 (shell-mode): Use ansi-color-apply-face-function to highlight
1507 color escapes using font-lock-face property (Bug#10835).
1508
1509 2012-02-19 Chong Yidong <cyd@gnu.org>
1510
1511 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1512 mode-line formats (Bug#10839).
1513
1514 2012-02-18 Glenn Morris <rgm@gnu.org>
1515
1516 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1517
1518 * mail/undigest.el (unforward-rmail-message): Doc fix.
1519
1520 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1521
1522 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1523
1524 * international/characters.el (script-list): Sync with the latest
1525 Unicode Character Database.
1526
1527 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1528
1529 * international/titdic-cnv.el: Remove duplicate coding tag.
1530 * language/cham.el: Likewise.
1531 * language/tai-viet.el: Likewise.
1532
1533 2012-02-18 Glenn Morris <rgm@gnu.org>
1534
1535 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1536 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1537 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1538 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1539 * calendar/holidays.el (holiday-bahai-holidays)
1540 (calendar-holidays, list-holidays):
1541 Use utf-8 Bahá'í in doc-strings, menus, etc.
1542
1543 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1544
1545 * saveplace.el (save-place-ignore-files-regexp): New variable
1546 allowing for excluding files from saving their location of point.
1547 The default value matches the temporary commit message editing
1548 files from Git, SVN, Bazaar, and Mercurial.
1549 (save-place-to-alist): Use it.
1550
1551 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1552 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * newcomment.el (uncomment-region-default): Don't leave extra space
1555 when an arg is provided (bug#8150).
1556
1557 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1558
1559 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1560
1561 2012-02-17 Glenn Morris <rgm@gnu.org>
1562
1563 * net/socks.el: Require network-stream. (Bug#10599)
1564
1565 2012-02-17 Kenichi Handa <handa@m17n.org>
1566
1567 * international/charprop.el:
1568 * international/uni-name.el:
1569 * international/uni-old-name.el:
1570 * international/uni-comment.el: Regenerate.
1571
1572 2012-02-16 Glenn Morris <rgm@gnu.org>
1573
1574 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1575 Interactively in calendar buffer, give an error if not on a date.
1576
1577 2012-02-15 Glenn Morris <rgm@gnu.org>
1578
1579 * shell.el (shell-delimiter-argument-list):
1580 Revert 2011-02-17 change. (Bug#8027)
1581
1582 2012-02-15 Chong Yidong <cyd@gnu.org>
1583
1584 * minibuffer.el (completion-at-point-functions): Doc fix.
1585
1586 * custom.el (defcustom): Doc fix; note use of defvar.
1587
1588 2012-02-15 Glenn Morris <rgm@gnu.org>
1589
1590 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1591 Doc fixes.
1592
1593 2012-02-14 Glenn Morris <rgm@gnu.org>
1594
1595 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1596
1597 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1598
1599 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1600 way the ports list is computed.
1601 (smtpmail-query-smtp-server): Prompt the user for a port number if
1602 we can't connect to any of the standard ports (bug#10810).
1603
1604 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1605
1606 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1607
1608 2012-02-13 Glenn Morris <rgm@gnu.org>
1609
1610 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1611
1612 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1613
1614 * net/gnutls.el (gnutls-trustfiles): New variable.
1615 (gnutls-negotiate): Use it.
1616
1617 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1618
1619 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1620 does its stuff if Gnus is running.
1621
1622 2012-02-13 Alan Mackenzie <acm@muc.de>
1623
1624 Fix a loop in c-set-fl-decl-start.
1625
1626 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1627 c-backward-syntactic-ws actually moves backwards.
1628
1629 2012-02-13 Leo Liu <sdl.web@gmail.com>
1630
1631 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1632 beginning so that all \C-o chars are removed.
1633
1634 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1635
1636 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1637
1638 2012-02-12 Alan Mackenzie <acm@muc.de>
1639
1640 Fix infinite loop with long macros.
1641 * cc-engine.el (c-state-safe-place): Handle macros properly.
1642
1643 2012-02-12 Chong Yidong <cyd@gnu.org>
1644
1645 * window.el (display-buffer): Doc fix (Bug#10785).
1646
1647 2012-02-12 Glenn Morris <rgm@gnu.org>
1648
1649 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1650 (x-disown-selection-internal, x-get-selection-internal):
1651 Sync docs with the xselect.c versions.
1652
1653 * allout-widgets.el: Add missing license notice.
1654
1655 2012-02-11 Glenn Morris <rgm@gnu.org>
1656
1657 * select.el (x-get-selection-internal, x-own-selection-internal)
1658 (x-disown-selection-internal):
1659 * x-dnd.el (x-get-selection-internal): Update declarations.
1660
1661 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1662
1663 * window.el (window-sides-slots):
1664 * tool-bar.el (tool-bar-position):
1665 * term/xterm.el (xterm-extra-capabilities):
1666 * ses.el (ses-self-reference-early-detection):
1667 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1668 (verilog-auto-wire-type)
1669 (verilog-auto-delete-trailing-whitespace)
1670 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1671 (verilog-auto-tieoff-declaration):
1672 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1673 (sql-oracle-statement-starters, sql-oracle-scan-on):
1674 * progmodes/prolog.el (prolog-align-comments-flag)
1675 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1676 (prolog-left-indent-regexp, prolog-paren-indent-p)
1677 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1678 (prolog-types, prolog-mode-specificators)
1679 (prolog-determinism-specificators, prolog-directives)
1680 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1681 (prolog-electric-dot-flag)
1682 (prolog-electric-dot-full-predicate-template)
1683 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1684 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1685 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1686 (prolog-program-switches, prolog-prompt-regexp)
1687 (prolog-debug-on-string, prolog-debug-off-string)
1688 (prolog-trace-on-string, prolog-trace-off-string)
1689 (prolog-zip-on-string, prolog-zip-off-string)
1690 (prolog-use-standard-consult-compile-method-flag)
1691 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1692 (prolog-imenu-max-lines, prolog-info-predicate-index)
1693 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1694 (prolog-char-quote-workaround):
1695 * progmodes/cc-vars.el (c-defun-tactic):
1696 * net/tramp.el (tramp-encoding-command-interactive)
1697 (tramp-local-end-of-line):
1698 * net/soap-client.el (soap-client):
1699 * net/netrc.el (netrc-file):
1700 * net/gnutls.el (gnutls):
1701 * minibuffer.el (completion-category-overrides)
1702 (completion-cycle-threshold)
1703 (completion-pcm-complete-word-inserts-delimiters):
1704 * man.el (Man-name-local-regexp):
1705 * mail/feedmail.el (feedmail-display-full-frame):
1706 * international/characters.el (glyphless-char-display-control):
1707 * eshell/em-ls.el (eshell-ls-date-format):
1708 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1709 (lisp-lambda-list-keyword-parameter-indentation)
1710 (lisp-lambda-list-keyword-parameter-alignment):
1711 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1712 * dired-x.el (dired-omit-verbose):
1713 * cus-theme.el (custom-theme-allow-multiple-selections):
1714 * calc/calc.el (calc-highlight-selections-with-faces)
1715 (calc-lu-field-reference, calc-lu-power-reference)
1716 (calc-note-threshold):
1717 * battery.el (battery-mode-line-limit):
1718 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1719 (archive-7z-update):
1720 * allout.el (allout-prefixed-keybindings)
1721 (allout-unprefixed-keybindings)
1722 (allout-inhibit-auto-fill-on-headline)
1723 (allout-flattened-numbering-abbreviation):
1724 * allout-widgets.el (allout-widgets-auto-activation)
1725 (allout-widgets-icons-dark-subdir)
1726 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1727 (allout-widgets-theme-dark-background)
1728 (allout-widgets-theme-light-background)
1729 (allout-widgets-item-image-properties-emacs)
1730 (allout-widgets-item-image-properties-xemacs)
1731 (allout-widgets-run-unit-tests-on-load)
1732 (allout-widgets-time-decoration-activity)
1733 (allout-widgets-hook-error-post-time)
1734 (allout-widgets-track-decoration):
1735 Add missing :version tags to new defcustoms and defgroups.
1736
1737 * progmodes/sql.el (sql-ansi-statement-starters)
1738 (sql-oracle-statement-starters): Add custom type.
1739
1740 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1741 (prolog-system-version): Give it a type.
1742
1743 2012-02-11 Eli Zaretskii <eliz@gnu.org>
1744
1745 * term/pc-win.el (x-select-text, x-selection-owner-p)
1746 (x-own-selection-internal, x-disown-selection-internal)
1747 (x-get-selection-internal): Sync doc strings and argument lists
1748 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1749
1750 2012-02-11 Leo Liu <sdl.web@gmail.com>
1751
1752 * progmodes/python.el (python-end-of-statement): Fix infinite
1753 loop. (Bug#10788)
1754
1755 2012-02-10 Glenn Morris <rgm@gnu.org>
1756
1757 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1758 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1759
1760 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1761
1762 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1763 about SMTP before checking the From header.
1764
1765 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1766 into own function for reuse by emacsbug.el.
1767
1768 2012-02-10 Leo Liu <sdl.web@gmail.com>
1769
1770 * subr.el (condition-case-unless-debug): Rename from
1771 condition-case-no-debug. All callers changed.
1772 (with-demoted-errors): Fix caller.
1773
1774 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1775 * nxml/rng-valid.el (rng-do-some-validation):
1776 * emacs-lisp/package.el (package-refresh-contents)
1777 (package-menu-execute):
1778 * desktop.el (desktop-create-buffer):
1779 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1780
1781 2012-02-10 Glenn Morris <rgm@gnu.org>
1782
1783 * textmodes/bibtex.el:
1784 Add missing :version tags for new/changed defcustoms.
1785
1786 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1787
1788 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
1789
1790 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1791 (smtpmail-via-smtp): Use it, or fall back on the From address.
1792 (smtpmail-send-it): Ditto.
1793
1794 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1797 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1798 (byte-compile-tmp-var): New const.
1799 (byte-compile-defvar): Use it to minimize .elc size.
1800 Just use `defvar' rather than simulate it (bug#10761).
1801
1802 2012-02-09 Glenn Morris <rgm@gnu.org>
1803
1804 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1805
1806 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1807 Add :version tags.
1808
1809 * progmodes/compile.el (compilation-error-screen-columns)
1810 (compilation-first-column, compilation-filter-start): Doc fixes.
1811
1812 * vc/log-view.el (log-view-toggle-entry-display):
1813 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1814
1815 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1816 (report-emacs-bug-can-use-xdg-email):
1817 (report-emacs-bug-insert-to-mailer): Doc fixes.
1818 (report-emacs-bug): Message fix.
1819
1820 * net/browse-url.el (browse-url-can-use-xdg-open)
1821 (browse-url-xdg-open): Doc fixes.
1822
1823 * electric.el (electric-indent-mode, electric-pair-mode)
1824 (electric-layout-rules, electric-layout-mode): Doc fixes.
1825 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1826
1827 2012-02-08 Martin Rudalics <rudalics@gmx.at>
1828
1829 * server.el (server-unselect-display): Don't inadvertently kill
1830 the current buffer. (Bug#10729)
1831
1832 2012-02-08 Glenn Morris <rgm@gnu.org>
1833
1834 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1835 (sql-list-table): Doc fixes.
1836
1837 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1838 Comment out (does nothing).
1839
1840 * completion.el (dynamic-completion-mode):
1841 * dirtrack.el (dirtrack-debug-mode):
1842 * electric.el (electric-layout-mode):
1843 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1844 * face-remap.el (text-scale-mode, buffer-face-mode):
1845 * iimage.el (iimage-mode):
1846 * image-mode.el (image-transform-mode):
1847 * minibuffer.el (completion-in-region-mode):
1848 * scroll-lock.el (scroll-lock-mode):
1849 * simple.el (next-error-follow-minor-mode):
1850 * tar-mode.el (tar-subfile-mode):
1851 * tooltip.el (tooltip-mode):
1852 * vcursor.el (vcursor-use-vcursor-map):
1853 * wid-browse.el (widget-minor-mode):
1854 * emulation/tpu-edt.el (tpu-edt-mode):
1855 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1856 * international/iso-ascii.el (iso-ascii-mode):
1857 * language/thai-util.el (thai-word-mode):
1858 * mail/supercite.el (sc-minor-mode):
1859 * net/goto-addr.el (goto-address-mode):
1860 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1861 * progmodes/cwarn.el (cwarn-mode):
1862 * progmodes/flymake.el (flymake-mode):
1863 * progmodes/glasses.el (glasses-mode):
1864 * progmodes/hideshow.el (hs-minor-mode):
1865 * progmodes/pascal.el (pascal-outline-mode):
1866 * textmodes/enriched.el (enriched-mode):
1867 * vc/smerge-mode.el (smerge-mode):
1868 Doc fixes (minor mode argument).
1869
1870 2012-02-07 Eli Zaretskii <eliz@gnu.org>
1871
1872 * ls-lisp.el (ls-lisp-sanitize): New function.
1873 (ls-lisp-insert-directory): Use it to fix or remove any elements
1874 in file-alist with missing attributes. (Bug#4673)
1875
1876 2012-02-07 Alan Mackenzie <acm@muc.de>
1877
1878 Fix spurious recognition of c-in-knr-argdecl.
1879
1880 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1881 putative K&R region.
1882
1883 2012-02-07 Alan Mackenzie <acm@muc.de>
1884
1885 * progmodes/cc-engine.el (c-forward-objc-directive):
1886 Prevent looping in "#pragma mark @implementation".
1887
1888 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
1889
1890 * notifications.el (notifications-on-closed-signal): Make `reason'
1891 optional. (Bug#10744)
1892
1893 2012-02-07 Glenn Morris <rgm@gnu.org>
1894
1895 * emacs-lisp/easy-mmode.el (define-minor-mode):
1896 Doc fixes for the macro and the mode it defines.
1897
1898 * image.el (imagemagick-types-inhibit): Doc fix.
1899
1900 * cus-start.el (imagemagick-render-type): Add it.
1901
1902 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1903
1904 * progmodes/cc-mode.el
1905 (c-standard-font-lock-fontify-region-function): Set the default at
1906 load time, too, so that `font-lock-fontify-buffer' can be called
1907 without setting up the entire mode first. This fixes a bug in
1908 `mm-inline-text' with C MIME parts.
1909
1910 2012-02-06 Chong Yidong <cyd@gnu.org>
1911
1912 * simple.el (list-processes--refresh): Delete exited processes
1913 (Bug#8094).
1914
1915 * comint.el (comint-next-prompt): next-single-char-property-change
1916 and prev-single-char-property-change never return nil (Bug#8657).
1917
1918 * custom.el (defcustom): Doc fix (Bug#9711).
1919
1920 2012-02-05 Chong Yidong <cyd@gnu.org>
1921
1922 * cus-edit.el (custom-variable-reset-backup): Quote the value
1923 before storing it in the customized-value property (Bug#6712).
1924 (custom-display): Add a customization type tag.
1925 (custom-buffer-create-internal): Improve tooltip message.
1926
1927 * wid-edit.el (widget-field-value-get): New optional arg to
1928 suppress trailing whitespace truncation.
1929 (character): Use it (Bug#2689).
1930
1931 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1932
1933 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1934 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1935
1936 2012-02-05 Chong Yidong <cyd@gnu.org>
1937
1938 * cus-edit.el (custom-variable-value-create): For mismatched
1939 types, show the current value (Bug#7600).
1940
1941 * custom.el (defcustom): Doc fix.
1942
1943 2012-02-05 Glenn Morris <rgm@gnu.org>
1944
1945 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1946
1947 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
1948
1949 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1950 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1951 (pp-last-sexp): Use `looking-at-p'.
1952
1953 2012-02-04 Glenn Morris <rgm@gnu.org>
1954
1955 * files.el (revert-buffer):
1956 Doc fix (mention revert-buffer-in-progress-p).
1957
1958 * emacs-lisp/ert-x.el (ert-simulate-command):
1959 Check deferred-action-list (which is obsolete) is bound.
1960
1961 * subr.el (with-wrapper-hook): Doc fixes.
1962
1963 * simple.el (filter-buffer-substring-functions)
1964 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1965
1966 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1967
1968 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1969 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1970
1971 2012-02-04 Leo Liu <sdl.web@gmail.com>
1972
1973 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1974
1975 2012-02-04 Glenn Morris <rgm@gnu.org>
1976
1977 * image.el (image-extension-data): Add obsolete alias.
1978
1979 * isearch.el (isearch-update): Doc fix.
1980
1981 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1982
1983 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1984
1985 2012-02-03 Glenn Morris <rgm@gnu.org>
1986
1987 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1988 (image-animate-timeout): Doc fix.
1989
1990 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1991
1992 2012-02-02 Glenn Morris <rgm@gnu.org>
1993
1994 * server.el (server-auth-dir): Doc fix.
1995 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1996
1997 * subr.el (run-mode-hooks): Doc fix.
1998
1999 2012-02-02 Juri Linkov <juri@jurta.org>
2000
2001 * image-mode.el (image-toggle-display-image): Remove tautological
2002 `major-mode' from the `derived-mode-p' test.
2003
2004 2012-02-02 Kenichi Handa <handa@m17n.org>
2005
2006 * composite.el (compose-region): Cancel previous change.
2007
2008 2012-02-02 Kenichi Handa <handa@m17n.org>
2009
2010 * composite.el (compose-region, compose-string): Signal error for
2011 a null string component (Bug#6988).
2012
2013 2012-02-01 Chong Yidong <cyd@gnu.org>
2014
2015 * view.el (view-buffer-other-window, view-buffer-other-frame):
2016 Handle special modes like view-buffer (Bug#10650).
2017 (view-buffer): Simplify.
2018
2019 * frame.el (set-frame-font): Tweak meaning of third argument.
2020
2021 * dynamic-setting.el (font-setting-change-default-font):
2022 Use set-frame-font (Bug#9982).
2023
2024 2012-02-01 Glenn Morris <rgm@gnu.org>
2025
2026 * progmodes/compile.el (compilation-internal-error-properties):
2027 Respect compilation-first-column in the "*compilation*" buffer.
2028
2029 * emacs-lisp/easy-mmode.el (define-minor-mode):
2030 Relax :variable's test for a named function.
2031
2032 2012-01-31 Alan Mackenzie <acm@muc.de>
2033
2034 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2035 off by one error.
2036
2037 2012-01-31 Chong Yidong <cyd@gnu.org>
2038
2039 * frame.el (set-frame-font): New arg ALL-FRAMES.
2040
2041 * menu-bar.el (menu-set-font): Use set-frame-font.
2042
2043 * faces.el (face-spec-reset-face): Don't apply unspecified
2044 attribute values to the default face.
2045
2046 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2047
2048 * progmodes/cwarn.el (cwarn): Remove dead link.
2049 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2050 Remove * from defcustom docstrings.
2051 (turn-on-cwarn-mode): Make obsolete.
2052 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2053 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2054
2055 2012-01-31 Glenn Morris <rgm@gnu.org>
2056
2057 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2058 Fix :variable handling of mode a symbol not equal to modefun.
2059 Allow named functions to be used as the cdr of :variable.
2060
2061 2012-01-30 Glenn Morris <rgm@gnu.org>
2062
2063 * emacs-lisp/authors.el (authors-fixed-entries):
2064 Remove reference to deleted file rnewspost.el.
2065
2066 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2067
2068 * window.el (window-with-parameter): Remove unused variable `windows'.
2069 (window--side-check): Remove unused variable `code'.
2070 (window--resize-siblings): Remove unused variable `first'.
2071 (adjust-window-trailing-edge): Remove unused variable `failed'.
2072 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2073 Use `let', not `let*'.
2074 (balance-windows-2): Remove unused variable `found'.
2075 (window--state-put-2): Remove unused variable `splits'.
2076 (window-state-put): Remove unused variable `selected'.
2077 (same-window-p): Use `string-match-p'.
2078 (display-buffer-assq-regexp): Remove unused variable `value'.
2079 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2080 Mark argument ALIST as ignored.
2081 (pop-to-buffer): Remove unused variable `old-window'.
2082
2083 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2084
2085 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2086 and .lzma compressed files.
2087
2088 2012-01-29 Chong Yidong <cyd@gnu.org>
2089
2090 * frame.el (window-system-default-frame-alist): Doc fix.
2091
2092 * dynamic-setting.el (font-setting-change-default-font): Don't
2093 change the default face if SET-FONT argument is non-nil (Bug#9982).
2094
2095 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2096
2097 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2098
2099 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2100
2101 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2102 breakpoints in files outside current directory (Bug#6098).
2103
2104 2012-01-29 Chong Yidong <cyd@gnu.org>
2105
2106 * progmodes/python.el: Require ansi-color at top-level.
2107
2108 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2109 Define and use in Emacs Lisp mode (Bug#9360).
2110 (lisp-mode-abbrev-table): Add doc.
2111 (lisp-mode-variables): Don't set local-abbrev-table.
2112 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2113
2114 2012-01-28 Roland Winkler <winkler@gnu.org>
2115
2116 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2117
2118 2012-01-28 Roland Winkler <winkler@gnu.org>
2119
2120 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2121 (bibtex-set-dialect): Use it. Either set global values of
2122 dialect-dependent variables or bind these variables buffer-locally
2123 (Bug#10254).
2124 (bibtex-mode): Call bibtex-set-dialect via
2125 hack-local-variables-hook.
2126 (bibtex-dialect): Update docstring.
2127 Add safe-local-variable predicate.
2128 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2129 bibtex-set-dialect.
2130 (bibtex-mode-map): Define menu for each dialect.
2131 (bibtex-entry): Fix docstring.
2132
2133 2012-01-28 Chong Yidong <cyd@gnu.org>
2134
2135 * eshell/esh-arg.el (eshell-quote-argument): New function.
2136
2137 * eshell/esh-ext.el (eshell-invoke-batch-file):
2138 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2139 first arg to eshell-parse-command (Bug#10523).
2140
2141 2012-01-28 Drew Adams <drew.adams@oracle.com>
2142
2143 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2144 `default-directory' is non-nil.
2145
2146 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2147
2148 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2149 line that displays system-configuration-options. (Bug#9924)
2150
2151 2012-01-28 Drew Adams <drew.adams@oracle.com>
2152
2153 * descr-text.el (describe-char): Show information about POS, in
2154 addition to information about the character at POS. Improve and
2155 update the doc string. Change "code point" to "code point in
2156 charset", to avoid confusion with the character's Unicode code
2157 point shown above that. (Bug#10129)
2158
2159 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2160
2161 * descr-text.el (describe-char): Show the raw character, not only
2162 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2163 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2164 for the reasons.
2165
2166 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2167
2168 * emacs-lisp/package.el (package-install):
2169 Run package-refresh-contents if there is no archive yet (Bug#9798).
2170
2171 2012-01-28 Chong Yidong <cyd@gnu.org>
2172
2173 * emacs-lisp/package.el (package-maybe-load-descriptor):
2174 New function, split from package-maybe-load-descriptor.
2175 (package-maybe-load-descriptor): Use it.
2176 (package-download-transaction): Fully load required packages
2177 inside the loop, so that `require' calls work (Bug#10593).
2178 (package-install): No need to call package-initialize now.
2179
2180 2012-01-28 Chong Yidong <cyd@gnu.org>
2181
2182 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2183
2184 * tooltip.el (tooltip-mode): Doc fix.
2185 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2186
2187 * frame.el (set-cursor-color): Doc fix (Bug#352).
2188
2189 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2190 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2191
2192 * cus-edit.el (custom-buffer-create-internal): Fix search button
2193 action (Bug#10542).
2194 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2195
2196 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2197
2198 * dired.el (dired-mark-files-regexp):
2199 Include any subdirectory components. (Bug#10445)
2200
2201 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2202
2203 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2204 Handle [host]:port syntax. (Bug#10533)
2205
2206 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2207
2208 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2209
2210 2012-01-26 Glenn Morris <rgm@gnu.org>
2211
2212 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2213 * term.el (term-raw-escape-map): Use Control-X-prefix.
2214 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2215
2216 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2217
2218 * window.el (window-state-get, window--state-get-1): Don't deal
2219 with fixed-sizeness of windows. Simplify code.
2220
2221 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2222
2223 * window.el (window--state-get-1, window--state-put-2):
2224 Don't save and restore the mark.
2225
2226 2012-01-25 Chong Yidong <cyd@gnu.org>
2227
2228 * custom.el (custom-variable-p): Doc fix.
2229
2230 2012-01-25 Glenn Morris <rgm@gnu.org>
2231
2232 * dired.el (dired-goto-file): Handle some of the more common
2233 characters that `ls -b' escapes. (Bug#10596)
2234
2235 * progmodes/compile.el (compilation-next-error-function):
2236 Respect compilation-first-column in the "*compilation*" buffer.
2237 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2238
2239 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2240
2241 2012-01-24 Glenn Morris <rgm@gnu.org>
2242
2243 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2244
2245 2012-01-24 Julien Danjou <julien@danjou.info>
2246
2247 * color.el (color-rgb-to-hsl): Fix value computing.
2248 (color-hue-to-rgb): New function.
2249 (color-hsl-to-rgb): New function.
2250 (color-clamp, color-saturate-hsl, color-saturate-name)
2251 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2252 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2253
2254 2012-01-24 Glenn Morris <rgm@gnu.org>
2255
2256 * vc/vc-rcs.el (vc-rcs-create-tag):
2257 * vc/vc-sccs.el (vc-sccs-create-tag):
2258 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2259
2260 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2261
2262 * eshell/esh-util.el (eshell-read-hosts-file):
2263 Skip comment lines. (Bug#10549)
2264
2265 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2266
2267 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2268
2269 * subr.el (display-delayed-warnings): Doc fix.
2270 (collapse-delayed-warnings): New function to collapse identical
2271 adjacent warnings.
2272 (delayed-warnings-hook): Add it.
2273
2274 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2275
2276 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2277
2278 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2279 properties, when "login-as" is set.
2280
2281 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2282 (tramp-default-user-alist): Don't add "pscp".
2283 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2284 property "login-as", if set. (Bug#10530)
2285
2286 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2287
2288 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2289 "plink1" and "psftp". (Bug#10530)
2290
2291 2012-01-21 Kenichi Handa <handa@m17n.org>
2292
2293 * international/mule-cmds.el (prefer-coding-system): Show a
2294 warning message if the default value of file-name-coding-system
2295 was not changed.
2296
2297 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2298
2299 * windmove.el (windmove-reference-loc):
2300 Fix windmove-reference-loc miscalculation.
2301
2302 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2303
2304 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2305 default unit.
2306
2307 2012-01-21 Glenn Morris <rgm@gnu.org>
2308
2309 * international/mule.el (auto-coding-alist): Add .tbz.
2310
2311 * files.el (local-enable-local-variables): Doc fix.
2312 (inhibit-local-variables-regexps): Rename from
2313 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2314 Doc fix. Add some extensions from auto-coding-alist.
2315 (inhibit-local-variables-suffixes):
2316 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2317 (inhibit-local-variables-p):
2318 New function, extracted from set-auto-mode-1.
2319 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2320 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2321 (hack-local-variables): Doc fix. Make the mode-only case
2322 respect enable-local-variables and friends.
2323 Respect inhibit-local-variables-regexps for file-locals, but
2324 not for directory-locals.
2325 (set-visited-file-name):
2326 Take account of inhibit-local-variables-regexps.
2327 Whether it applies may change as the file name is changed.
2328 * jka-cmpr-hook.el (jka-compr-install):
2329 * jka-compr.el (jka-compr-uninstall):
2330 Update for inhibit-first-line-modes-suffixes name change.
2331
2332 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2333
2334 * help-macro.el (make-help-screen): Temporarily restore original
2335 binding for minor-mode-map-alist (Bug#10454).
2336
2337 2012-01-19 Julien Danjou <julien@danjou.info>
2338
2339 * color.el (color-name-to-rgb): Use the white color to find the max
2340 color component value and return correctly computed values.
2341 (color-name-to-rgb): Add missing float conversion for max value.
2342
2343 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2344
2345 * window.el (window--state-get-1, window-state-get): Do not use
2346 special state value for window-persistent-parameters.
2347 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2348 (window--state-put-2): Reset all window parameters to nil before
2349 assigning values of persistent parameters.
2350
2351 2012-01-18 Alan Mackenzie <acm@muc.de>
2352
2353 Eliminate sluggishness and hangs in fontification of "semicolon
2354 deserts".
2355
2356 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2357 Change value 10000 -> 3000.
2358 (c-state-safe-place): Reformulate so it doesn't stack up an
2359 infinite number of wrong entries in c-state-nonlit-pos-cache.
2360 (c-determine-limit-get-base, c-determine-limit): New functions to
2361 determine backward search limits disregarding literals.
2362 (c-find-decl-spots): Amend commenting.
2363 (c-cheap-inside-bracelist-p): New function which detects "={".
2364
2365 * progmodes/cc-fonts.el
2366 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2367 backward search.
2368 (c-font-lock-declarations): Fix an occurrence of point being
2369 undefined. Check additionally for point being in a bracelist or
2370 near a macro invocation without a semicolon so as to avoid a
2371 fruitless time consuming search for a declarator. Give a more
2372 precise search limit for declarators using the new
2373 c-determine-limit.
2374
2375 2012-01-18 Glenn Morris <rgm@gnu.org>
2376
2377 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2378 (set-auto-mode): Doc fixes.
2379
2380 2012-01-17 Glenn Morris <rgm@gnu.org>
2381
2382 * isearch.el (search-nonincremental-instead): Fix doc typo.
2383
2384 * dired.el (dired-insert-directory): Handle newlines in directory name.
2385 (dired-build-subdir-alist): Unescape newlines in directory name.
2386
2387 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2388
2389 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2390 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2391 (tramp-action-terminal): Use it. (Bug#10530)
2392
2393 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2396
2397 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2398
2399 * window.el (window-state-ignored-parameters): Remove variable.
2400 (window--state-get-1): Rename argument MARKERS to IGNORE.
2401 Handle persistent window parameters. Make copy of clone-of
2402 parameter only if requested. (Bug#10348)
2403 (window--state-put-2): Install a window parameter only if it has
2404 a non-nil value or an existing parameter shall be overwritten.
2405
2406 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2407
2408 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2409
2410 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2411
2412 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2413 don't pass the (nil) value of `upnode' to string-match.
2414
2415 2012-01-14 Chong Yidong <cyd@gnu.org>
2416
2417 * startup.el (command-line): Fix X resource class for cursorColor.
2418 Fix values recognized by the cursorBlink resource.
2419
2420 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2421
2422 * epg.el (epg--make-temp-file): Avoid permission race condition
2423 when running on old Emacs versions (bug#10403).
2424
2425 2012-01-14 Glenn Morris <rgm@gnu.org>
2426
2427 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2428
2429 2012-01-13 Alan Mackenzie <acm@muc.de>
2430
2431 Fix filling for when filladapt mode is enabled.
2432
2433 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2434 c-mask-paragraph, pass in `fill-paragraph' rather than
2435 `fill-region-as-paragraph'. (This is a reversion of a previous
2436 change.)
2437 * progmodes/cc-mode.el (c-basic-common-init):
2438 Make fill-paragraph-handle-comment buffer local and set it to nil.
2439
2440 2012-01-13 Glenn Morris <rgm@gnu.org>
2441
2442 * dired.el (dired-switches-escape-p): New function.
2443 (dired-insert-directory): Use dired-switches-escape-p.
2444 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2445
2446 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2447
2448 2012-01-12 Glenn Morris <rgm@gnu.org>
2449
2450 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2451 changes in adaptive-fill-regexp. (Bug#10276)
2452
2453 2012-01-11 Alan Mackenzie <acm@muc.de>
2454
2455 Fix Emacs bug #10463 - put `widen's around the critical spots.
2456
2457 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2458 widen around each invocation of c-state-pp-to-literal. Remove an
2459 unused let variable.
2460
2461 2012-01-11 Glenn Morris <rgm@gnu.org>
2462
2463 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2464 Doc fix.
2465
2466 2012-01-10 Chong Yidong <cyd@gnu.org>
2467
2468 * net/network-stream.el (network-stream-open-starttls):
2469 Avoid emitting a confusing error message when the server gives a bad
2470 response to the capability command.
2471
2472 2012-01-10 Glenn Morris <rgm@gnu.org>
2473
2474 * mail/unrmail.el (unrmail): Tweak previous change.
2475
2476 2012-01-09 Chong Yidong <cyd@gnu.org>
2477
2478 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2479
2480 2012-01-08 Alan Mackenzie <acm@muc.de>
2481
2482 Optimise font locking in long enum definitions.
2483
2484 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2485 arm to a cond form to handle enums.
2486 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2487 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2488
2489 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2490
2491 * files.el (move-file-to-trash): Preserve default file modes on error.
2492 (Bug#10401)
2493
2494 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2495
2496 * faces.el (set-face-attribute): Clarify the meaning of the nil
2497 frame (bug#10294).
2498
2499 * subr.el (with-selected-frame): Mention that the selected frame
2500 is restored (bug#9980).
2501
2502 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2503 (bug#9759).
2504
2505 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2506 (password-read): Don't autoload unused function.
2507
2508 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2509
2510 * progmodes/which-func.el (which-func-mode): Turn into a
2511 non-interactive function and mark as obsolete (bug#10428).
2512
2513 2012-01-06 Chong Yidong <cyd@gnu.org>
2514
2515 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2516 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2517 functions, along with 1 and -1.
2518
2519 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2520
2521 * time.el (display-time-load-average)
2522 (display-time-default-load-average): Doc fixes. See the thread
2523 starting at
2524 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2525 for the details.
2526
2527 2012-01-06 Glenn Morris <rgm@gnu.org>
2528
2529 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2530 has no messages. (Bug#10377)
2531
2532 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2533 than Info-edit. (Bug#10385)
2534
2535 * time.el (display-time-load-average, display-time-next-load-average):
2536 Doc fixes.
2537
2538 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2539 local setting of buffer-read-only to the input buffer. (Bug#10419)
2540
2541 * calendar/calendar.el (calendar-mode):
2542 Locally set scroll-margin to 0. (Bug#10379)
2543
2544 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2545
2546 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2547
2548 2012-01-05 Glenn Morris <rgm@gnu.org>
2549
2550 * eshell/em-unix.el (diff-no-select): Autoload it.
2551 (eshell/diff): Use diff-no-select. (Bug#10420)
2552
2553 2012-01-05 Chong Yidong <cyd@gnu.org>
2554
2555 * shell.el (shell-dynamic-complete-functions): Revert last change.
2556 (shell-command-completion-function): New function.
2557 (shell-completion-vars): Use it to implement
2558 shell-completion-execonly (Bug#10417).
2559
2560 * custom.el (enable-theme): Don't set custom-safe-themes.
2561
2562 * cus-theme.el (custom-theme-merge-theme):
2563 Ignore custom-enabled-themes and custom-safe-themes.
2564
2565 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2566
2567 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2568 first prompt in `sql-interacive-mode'.
2569 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2570 keywords.
2571 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2572 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2573 context of original buffer. Invoke `sql-login-hook'.
2574
2575 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2576
2577 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2578 letters in cite-prefix.
2579
2580 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2581
2582 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2583
2584 2012-01-03 Chong Yidong <cyd@gnu.org>
2585
2586 * shell.el (shell-dynamic-complete-functions):
2587 Put pcomplete-completions-at-point, so as to try
2588 comint-filename-completion first (Bug#10417).
2589
2590 2012-01-02 Richard Stallman <rms@gnu.org>
2591
2592 * battery.el (battery-status-function):
2593 Detect when to use battery-yeeloong-sysfs.
2594 (battery-echo-area-format): Add string for Yeeloong.
2595 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2596 (battery-yeeloong-sysfs): New function.
2597
2598 2012-01-02 Chong Yidong <cyd@gnu.org>
2599
2600 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2601 (dirtrack): Merge code for handling relative filenames in prompt
2602 from shell-dir-cookie-watcher.
2603 (dirtrack-debug-message): New arg to avoid excess format calls.
2604
2605 * shell.el (shell-dir-cookie-re): Variable deleted.
2606 (shell-dir-cookie-watcher): Function deleted.
2607 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2608 with dirtrack-mode.
2609
2610 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2611
2612 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2613 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2614 libgnutls-26.dll.
2615
2616 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2617
2618 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2619
2620 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2621
2622 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2623 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2624
2625 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2626
2627 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2628 also for alternative shells.
2629 (tramp-open-connection-setup-interactive-shell): Check, whether
2630 the shell is a busybox.
2631 (tramp-send-command): Don't suppress multiple prompts for
2632 busyboxes, it hurts.
2633
2634 2011-12-28 Chong Yidong <cyd@gnu.org>
2635
2636 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2637 (gdb-get-source-file): Move mode line update to
2638 gdb-get-source-file (Bug#10087).
2639
2640 2011-12-25 Chong Yidong <cyd@gnu.org>
2641
2642 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2643 gud-gdb-marker-filter without taking it as an argument.
2644 (gud-gdb-run-command-fetch-lines): Caller changed.
2645 (gud-gdb-completion-function): New variable.
2646 (gud-gdb-completion-at-point): Use it.
2647 (gud-gdb-completions-1): Split from gud-gdb-completions.
2648
2649 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2650 function as separate arguments.
2651 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2652 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2653 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2654 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2655 (gdb-stopped, def-gdb-auto-update-trigger)
2656 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2657 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2658 Callers changed.
2659 (gud-gdbmi-completions): New function.
2660 (gdb): Use it for generating the completion table.
2661
2662 2011-12-24 Alan Mackenzie <acm@muc.de>
2663
2664 Introduce a mechanism to widen the region used in context font
2665 locking. Use this to protect declarations from losing their contexts.
2666
2667 * progmodes/cc-langs.el (c-before-font-lock-functions):
2668 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2669 (c-before-context-fontification-functions): New defvar, a list of
2670 functions to be run just before context (etc.) font locking.
2671
2672 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2673 New, functionality extracted from
2674 c-neutralize-syntax-in-and-mark-CPP.
2675 (c-in-after-change-fontification): New variable.
2676 (c-after-change): Set c-in-after-change-fontification.
2677 (c-set-fl-decl-start): Rejig its interface, so it can be called
2678 from both after-change and context fontifying.
2679 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2680 New functions.
2681 (c-standard-font-lock-fontify-region-function): New variable.
2682 (c-font-lock-fontify-region): New function.
2683
2684 2011-12-24 Juri Linkov <juri@jurta.org>
2685
2686 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2687 (Bug#10348)
2688
2689 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
2690
2691 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2692 existence of source file. (Bug#10325)
2693
2694 2011-12-23 Alan Mackenzie <acm@muc.de>
2695
2696 Fix unstable fontification inside templates.
2697
2698 * progmodes/cc-langs.el (c-before-font-lock-functions):
2699 Newly created from the singular version. The (c c++ objc) entry now
2700 additionally has c-set-fl-decl-start. The other languages (apart
2701 from AWK) have that as a single entry.
2702
2703 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2704 The functionality for "local" declarations has been extracted to
2705 c-set-fl-decl-start.
2706
2707 * progmodes/cc-mode.el (c-common-init, c-after-change):
2708 Changes due to pluralisation of c-before-font-lock-functions.
2709 (c-set-fl-decl-start): New function, extracted from
2710 c-font-lock-enclosing-decls and enhanced.
2711
2712 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
2713
2714 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2715
2716 2011-12-22 Juri Linkov <juri@jurta.org>
2717
2718 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2719
2720 2011-12-22 Chong Yidong <cyd@gnu.org>
2721
2722 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2723
2724 2011-12-21 Drew Adams <drew.adams@oracle.com>
2725
2726 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2727
2728 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2729
2730 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2731
2732 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2733
2734 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2735 highlighting and support. Fix up comments for capitalization.
2736 (cfengine-mode-debug): New var.
2737 (cfengine3-mode): Change the modeline indicator to "CFE3".
2738 (cfengine3-font-lock-keywords): Improve defun highlighting.
2739 (cfengine2-actions): Rename from `cfengine-actions'.
2740 (cfengine2-font-lock-keywords): Rename from
2741 `cfengine-font-lock-keywords'.
2742 (cfengine2-imenu-expression): Rename from
2743 `cfengine-imenu-expression'.
2744 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2745 (cfengine2-beginning-of-defun): Rename from
2746 `cfengine-beginning-of-defun'.
2747 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2748 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2749 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2750 modeline indicator to "CFE2".
2751 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2752 (cfengine-mode-abbrevs): Mark obsolete.
2753
2754 2011-12-21 Chong Yidong <cyd@gnu.org>
2755
2756 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2757 filename argument.
2758
2759 2011-12-20 Martin Rudalics <rudalics@gmx.at>
2760
2761 * window.el (window-normalize-buffer-to-display): Remove.
2762 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2763
2764 2011-12-19 Chong Yidong <cyd@gnu.org>
2765
2766 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2767 Don't signal an error in a predicate function; return non-nil.
2768 (vc-dir-mark-file): Move the error here.
2769 (vc-dir-mark-unmark): If acting on the region, keep going if one
2770 of the entries cannot be marked/unmarked.
2771 (vc-dir-mark-all-files): If current entry is a directory, mark
2772 only child files, as documented.
2773
2774 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2775
2776 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2777 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2778 addition.
2779
2780 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2781
2782 * term/ns-win.el (ns-get-selection-internal)
2783 (ns-store-selection-internal): Declare.
2784 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2785 Declare as obsolete.
2786 (ns-get-pasteboard, ns-paste-secondary):
2787 Use ns-get-selection-internal.
2788 (ns-set-pasteboard, ns-copy-including-secondary):
2789 Use ns-store-selection-internal.
2790
2791 2011-12-17 Chong Yidong <cyd@gnu.org>
2792
2793 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2794 (vc-deduce-fileset): Doc fix.
2795
2796 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2797
2798 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2799
2800 2011-12-13 Sam Steingold <sds@gnu.org>
2801
2802 * man.el (Man-getpage-in-background): When running under a
2803 window-system, ignore $MANWIDTH and $COLUMNS.
2804
2805 2011-12-15 Kenichi Handa <handa@m17n.org>
2806
2807 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2808 (setup-ethiopic-environment-internal): Comment out key-binding for
2809 ethio-toggle-punctuation.
2810
2811 2011-12-13 Alan Mackenzie <acm@muc.de>
2812
2813 Add the switch statement to AWK Mode.
2814
2815 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2816 "default" to the keywords regexp.
2817
2818 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2819 expression as the rest.
2820 (c-nonlabel-token-key): Allow string literals for AWK.
2821 Refactor for the other modes.
2822
2823 Large brace-block initialisation makes CC Mode slow: Fix.
2824 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2825 routines. Limit backward searching in c-font-lock-enclosing.decl.
2826
2827 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2828 pp-state and literal type in addition to the limits.
2829 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2830 (c-state-literal-at): Use the above new defun.
2831 (c-slow-in-literal, c-fast-in-literal): Remove.
2832 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2833
2834 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2835 being in a literal. Add a limit for backward searching.
2836
2837 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2838 c-slow-in-literal.
2839
2840 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2843
2844 2011-12-13 Martin Rudalics <rudalics@gmx.at>
2845
2846 * window.el (delete-other-windows): Use correct frame in call to
2847 window-with-parameter.
2848
2849 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2850
2851 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2852 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2853 (makefile-gmake-statements, makefile-makepp-statements):
2854 Use it and add new makepp keywords.
2855 (makefile-makepp-font-lock-keywords): Add new patterns.
2856 (makefile-match-function-end): Match new [...] and [[...]].
2857
2858 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
2859
2860 * ses.el (ses-call-printer-return, ses-cell-property-get)
2861 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2862 (ses-create-cell-variable, ses-reset-header-string)
2863 (ses-cell-set-formula, ses-repair-cell-reference-all)
2864 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2865 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2866 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2867 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2868 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2869 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2870 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2871 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2872 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2873 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2874 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2875 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2876
2877 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2878
2879 * ses.el: The overall change is to add cell renaming, that is
2880 setting fancy names for cell symbols other than name matching
2881 "\\`[A-Z]+[0-9]+\\'" regexp .
2882 (ses-create-cell-variable): New defun.
2883 (ses-relocate-formula): Relocate formulas only for cells the
2884 symbols of which are not renamed, i.e. symbols whose names do not
2885 match regexp "\\`[A-Z]+[0-9]+\\'".
2886 (ses-relocate-all): Relocate values only for cells the symbols of
2887 which are not renamed.
2888 (ses-load): Create cells variables as the (ses-cell ...) are read,
2889 in order to check row col consistency with cell symbol name only
2890 for cells that are not renamed.
2891 (ses-replace-name-in-formula): New defun.
2892 (ses-rename-cell): New defun.
2893
2894 2011-12-11 Chong Yidong <cyd@gnu.org>
2895
2896 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2897 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2898
2899 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2900
2901 * window.el (other-window): Fix docstring.
2902
2903 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2904
2905 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2906 `from' or `to' address before taking its substring.
2907 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2908 encoded name is chopped in the middle of the encoded string, and
2909 thus displayed encoded.
2910
2911 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2914
2915 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2916
2917 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2918 to use texinfo-update-node and commands that call it if the
2919 Texinfo file uses @node lines without next/prev/up pointers.
2920 Correct outdated description about texinfo-master-menu.
2921 (texinfo-all-menus-update, texinfo-master-menu)
2922 (texinfo-update-node, texinfo-every-node-update)
2923 (texinfo-multiple-files-update): Doc fix. Warn against updating
2924 all the @node lines.
2925 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2926 argument is numeric. Explain better in the doc string what the
2927 function really does.
2928 (texinfo-insert-master-menu-list): Improve the error message
2929 displayed if there's no menu in the Top node.
2930 (Bug#2975) See also this thread:
2931 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2932
2933 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2934
2935 * speedbar.el (speedbar-supported-extension-expressions):
2936 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2937
2938 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
2939
2940 * printing.el (pr-mode-alist):
2941 * simple.el (filter-buffer-substring-functions)
2942 (completion-list-insert-choice-function):
2943 * window.el (window-with-parameter, window-atom-root)
2944 (window-sides-slots, window-size-fixed, window-min-delta)
2945 (window-max-delta, window--resize-mini-window)
2946 (window--resize-child-windows-normal, window-tree)
2947 (delete-other-windows, quit-window, split-window)
2948 (display-buffer-record-window, special-display-buffer-names)
2949 (special-display-regexps, special-display-popup-frame)
2950 (same-window-p, split-window-sensibly)
2951 (display-buffer-overriding-action, display-buffer-alist)
2952 (display-buffer-base-action, display-buffer, switch-to-buffer)
2953 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2954 (fit-window-to-buffer, recenter-positions)
2955 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2956 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2957 and remove unneeded backslashes in docstrings.
2958
2959 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2962
2963 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2964 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2965 end in ".mk".
2966 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2967 when reading the makefile (bug#10116).
2968
2969 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2972 (bug#10116).
2973
2974 2011-12-06 Glenn Morris <rgm@gnu.org>
2975
2976 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2977
2978 2011-12-06 Chong Yidong <cyd@gnu.org>
2979
2980 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2981
2982 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
2983
2984 * textmodes/table.el (table-shorten-cell): Fix typo.
2985
2986 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2987
2988 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2989
2990 2011-12-05 Eli Zaretskii <eliz@gnu.org>
2991
2992 * descr-text.el (describe-char): Fix display of strong
2993 right-to-left characters and directional embeddings and overrides.
2994
2995 * simple.el (what-cursor-position): Fix display of codepoints of
2996 strong right-to-left characters.
2997
2998 2011-12-05 Chong Yidong <cyd@gnu.org>
2999
3000 * faces.el (read-color): Doc fix.
3001
3002 2011-12-05 Glenn Morris <rgm@gnu.org>
3003
3004 * align.el (align--set-marker): Add doc-string.
3005 Don't try to move something that is not a marker. (Bug#10216)
3006
3007 2011-12-04 Glenn Morris <rgm@gnu.org>
3008
3009 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3010 overly zealous deletion of trailing whitespace.
3011
3012 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3013
3014 * server.el (server-delete-client): On Windows, do not try to delete
3015 the only terminal.
3016 (server-process-filter): On Windows, treat requests for a tty frame as
3017 if they were for a GUI frame if the running server is in GUI mode.
3018
3019 2011-12-03 Glenn Morris <rgm@gnu.org>
3020
3021 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3022
3023 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * electric.el: Streamline electric-indent's hook.
3026 (electric-indent-chars): Revert to simple list.
3027 (electric-indent-functions): New var.
3028 (electric-indent-post-self-insert-function): Use it.
3029
3030 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3031 there's no inferior buffer (bug#10196).
3032 (prolog-consult-compile): Don't use toggle-read-only.
3033
3034 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3037 interrupt. (Bug#10187)
3038
3039 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3042 (bug#9160).
3043
3044 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3045 (bug#10191).
3046
3047 2011-12-02 Juri Linkov <juri@jurta.org>
3048
3049 * info.el (Info-search): Display "end of manual" when Isearch
3050 reaches the end of single-file Info manual. (Bug#9918)
3051
3052 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3053
3054 * isearch.el (isearch-message-prefix): Run the input method part
3055 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3056
3057 2011-12-02 Juri Linkov <juri@jurta.org>
3058
3059 * isearch.el (isearch-occur): Use `word-search-regexp' for
3060 `isearch-word'.
3061 (isearch-search-and-update): Add condition for `isearch-word' and
3062 call `word-search-regexp'. (Bug#10145)
3063
3064 2011-12-01 Glenn Morris <rgm@gnu.org>
3065
3066 * eshell/em-hist.el (eshell-hist-initialize):
3067 Handle eshell-history-size nil and HISTSIZE set or unset.
3068 (eshell-history-file-name, eshell-history-size): Fix custom type.
3069
3070 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3073
3074 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3075
3076 * progmodes/verilog-mode.el (verilog-pretty-expr):
3077 Rework verilog-pretty-expr to handle new assignment operators in system
3078 verilog, such as += *= and the like.
3079 (verilog-assignment-operator-re): Regular expression to find the
3080 assigment operator in a verilog assignment.
3081 (verilog-assignment-operation-re): Regular expression to find an
3082 assignment statement for pretty-expr.
3083 (verilog-in-attribute-p): Query returns true if point is in an
3084 attribute context; used to skip these for expression line up from
3085 pretty-expr.
3086 (verilog-in-parameter-p): Query returns true if point is in an
3087 parameter definition context; used to skip these for expression
3088 line up from pretty-expr.
3089 (verilog-in-parenthesis-p): Query returns true if point is in a
3090 parenthetical expression, specifically ( ) but not [ ] or { };
3091 used by pretty-expr.
3092 (verilog-just-one-space): If there is no space, don't add one.
3093 (verilog-get-lineup-indent-2): Specifically skip just attribute
3094 contexts for expression lineup, rather than skipping all
3095 parenthetical expressions.
3096 (verilog-calculate-indent): Fix comment, and fix indent.
3097 (verilog-do-indent): Indent declarations in lists (suggested by
3098 Joachim Lechner).
3099 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3100 skeleton items.
3101 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3102 by Alain Mellan).
3103
3104 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3105
3106 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3107 parameters with embedded comments. Reported by Ray Stevens.
3108 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3109 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3110 Reported by Tim Holt.
3111 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3112 instantiated by upper module causing wrong expansion until AUTOed a
3113 second time. Reported by K C Buckenmaier.
3114 (verilog-diff-auto): Fix showing .* as a difference when
3115 `verilog-auto-star-save' off. Reported by Dan Dever.
3116 (verilog-auto-reset, verilog-read-always-signals)
3117 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3118 temporary signals in reset list if
3119 verilog-auto-reset-blocking-in-non is nil, and match assignment
3120 style to each signal's assignment type, bug381.
3121 Reported by Thomas Esposito.
3122 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3123 (verilog-uvm-statement-re): Support UVM indentation and
3124 highlighting, with old OVM keywords only.
3125 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3126 Support AUTOTIEOFF creating non-wire data types.
3127 Suggested by Jonathan Greenlaw.
3128 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3129 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3130 (verilog-inject-sense, verilog-read-inst-pins)
3131 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3132 Fix mismatching parenthesis inside commented out code when deleting
3133 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3134 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3135 non-numeric vector width. Reported by Alex Reed.
3136 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3137 detecting signals with parameter widths. Reported by Alex Reed.
3138 (verilog-auto-delete-trailing-whitespace):
3139 With `verilog-auto-delete-trailing-whitespace' remove trailing
3140 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3141 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3142 Fix verilog-scan-cache corruption when running user AUTO expansion
3143 hooks that call indentation routines.
3144 (verilog-simplify-range-expression): Fix typo ignoring lower case
3145 identifiers.
3146 (verilog-delete-auto): Fix delete-autos to also remove user created
3147 automatics, as long as they start with AUTO.
3148 (verilog-batch-diff-auto, verilog-diff-auto)
3149 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3150 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3151 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3152 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3153 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3154 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3155 is disabled and its cache will get corrupt, causing AUTOS not to
3156 expand. Instead use only -quick functions.
3157 (verilog-scan-region): Fix scanning over escaped quotes.
3158 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3159 (verilog-re-search-backward-quick)
3160 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3161 related functions now ignore strings, to fix misparsing of strings
3162 with magic comments embedded in them.
3163 (verilog-read-auto-template):
3164 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3165 Reported by Brad Dobbie.
3166 (verilog-read-auto-template):
3167 Fix 'verilog-auto-inst-template-numbers' with comments.
3168 Reported by Brad Dobbie.
3169 (verilog-auto-inst, verilog-auto-inst-param)
3170 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3171 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3172 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3173 debugging templates without merge conflicts, bug357.
3174 Reported by Brad Dobbie.
3175 (verilog-read-auto-template):
3176 Fix verilog-auto-inst-template-numbers with multiple templates.
3177 Reported by Brad Dobbie.
3178 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3179 abbrevs so user won't be asked to save.
3180 (verilog-read-auto-lisp-present): Fix to start at beginning of
3181 buffer in case called outside of verilog-auto.
3182 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3183 to "X-2". Reported by Matthew Myers.
3184 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3185 all inputs from module templates. Reported by Leith Johnson.
3186 (verilog-module-inside-filename-p): Fix locating programs as with
3187 modules.
3188 (verilog-auto-inst-port): Fix vl-width expressions when using
3189 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3190 (verilog-decls-get-regs, verilog-decls-get-signals,
3191 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3192 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3193 verilog-read-decls): Combine reg and wire structures into one var
3194 structure to represent SystemVerilog concepts.
3195 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3196 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3197 (verilog-auto-wire-type, verilog-insert-definition):
3198 Add verilog-auto-wire-type and AUTOLOGIC to support using
3199 SystemVerilog "logic" keyword instead of "wire"/"reg".
3200 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3201 to declares outputs that also have assignments (presumably in an
3202 ifdef or generate if so there's not a driver conflict).
3203 Reported by Matthew Myers.
3204 (verilog-auto-declare-nettype, verilog-insert-definition):
3205 Add verilog-auto-declare-nettype to fix declarations using
3206 `default_nettype none. Reported by Julian Gorfajn.
3207 (verilog-read-always-signals-recurse, verilog-read-decls)
3208 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3209 malformed end statement, bug325. Reported by Joshua Wise and
3210 Andrew Drake.
3211 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3212 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3213 when expanding .* in interfaces, bug320.
3214 Reported by Pierre-David Pfister.
3215 (verilog-read-module-name): Fix import statements between module
3216 name and open parenthesis, bug317.
3217 Reported by Pierre-David Pfister.
3218 (verilog-simplify-range-expression): Fix simplification of
3219 multiplications inside AUTOWIRE connections, bug303.
3220 (verilog-auto-inst-port): Support parameter expansion in
3221 multidimensional arrays.
3222 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3223 after "assert property". Reported by Julian Gorfajn.
3224 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3225 with multiplication, bug303.
3226 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3227 Reported by Jan Frode Lonnum.
3228
3229 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3230
3231 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3232 (hfy-shell-file-name, hfy-shell):
3233 * international/fontset.el (x-decompose-font-name): Fix typos.
3234
3235 2011-11-29 Ken Brown <kbrown@cornell.edu>
3236
3237 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3238 (gdb-version): Remove defvar.
3239 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3240 (gdb-gud-context-command, gdb-non-stop-handler)
3241 (gdb-current-context-command, gdb-stopped): Use it.
3242 (gdb-init-1): Enable pretty printing here.
3243 (gdb-non-stop-handler): Don't enable pretty-printing here.
3244 Check to see if the target supports non-stop mode; if not, turn off
3245 non-stop mode. Use the following.
3246 (gdb-check-target-async): New defun.
3247 (gud-watch, gdb-stopped): Fix whitespace.
3248 (gdb-get-source-file): Don't try to display the source file if
3249 `gdb-main-file' is nil.
3250
3251 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * align.el: Try to generate fewer markers (bug#10047).
3254 (align--set-marker): New macro.
3255 (align-region): Use it.
3256
3257 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3260
3261 2011-11-29 Chong Yidong <cyd@gnu.org>
3262
3263 * indent.el (indent-for-tab-command, indent-according-to-mode):
3264 Doc fix.
3265 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3266
3267 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3268
3269 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3270 aware of remote file names. (Bug#10124)
3271
3272 2011-11-29 Chong Yidong <cyd@gnu.org>
3273
3274 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3275
3276 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * files.el (find-file): Don't use force-same-window (bug#10144).
3279 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3280 use pop-to-buffer if the selected window can't be used.
3281 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3282
3283 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3284
3285 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3286 special-mode-map.
3287
3288 2011-11-28 Chong Yidong <cyd@gnu.org>
3289
3290 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3291
3292 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3293
3294 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3295 gdb-get-source-file-list on gdb-create-source-file-list.
3296
3297 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3298
3299 * whitespace.el (whitespace-newline): Use a different foreground
3300 color for 16-color light-background displays.
3301
3302 2011-11-24 Chong Yidong <cyd@gnu.org>
3303
3304 * window.el (display-buffer--special-action): Doc fix.
3305
3306 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3307
3308 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3309 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3310 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3311 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3312 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3313 (avl-tree-stack-first):
3314 * emacs-lisp/cconv.el (cconv--analyse-use):
3315 * net/gnutls.el (gnutls-negotiate): Fix typos.
3316
3317 2011-11-24 Glenn Morris <rgm@gnu.org>
3318
3319 * lpr.el (lpr-windows-system, lpr-lp-system):
3320 * mail/binhex.el (binhex-begin-line):
3321 * progmodes/grep.el (grep-history, grep-find-history):
3322 * textmodes/flyspell.el:
3323 * vc/pcvs-defs.el (cvs-global-menu):
3324 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3325 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3326 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3327
3328 * net/tls.el: Fix case of "GnuTLS".
3329
3330 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3331
3332 * version.el (emacs-build-system): Give it a doc-string.
3333
3334 2011-11-24 Juri Linkov <juri@jurta.org>
3335
3336 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3337
3338 2011-11-24 Glenn Morris <rgm@gnu.org>
3339
3340 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3341 if called on a non-mime message just toggle the headers. (Bug#8006)
3342
3343 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3344
3345 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3346 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3347 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3348 (allout-rebullet-heading, allout-open-sibtopic)
3349 (allout-toggle-current-subtree-encryption)
3350 (allout-toggle-subtree-encryption, allout-encrypt-string)
3351 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3352 (allout-distinctive-bullets-string, allout-auto-activation):
3353 * window.el (window-normalize-buffer-to-display):
3354 * progmodes/verilog-mode.el (verilog-batch-indent):
3355 * textmodes/bibtex.el (bibtex-field-braces-opt)
3356 (bibtex-field-strings-opt):
3357 * vc/cvs-status.el (cvs-tree-merge):
3358 Fix typos.
3359
3360 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3361
3362 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3363 `non-essential' to t, in order to avoid remote connections.
3364
3365 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3366
3367 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3368 On MS-DOS and MS-Windows, compare with loaddefs.el
3369 case-insensitively.
3370
3371 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3372
3373 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3374
3375 2011-11-23 Glenn Morris <rgm@gnu.org>
3376
3377 * paths.el (rmail-file-name): Reformat the doc-string so that it
3378 is picked up.
3379
3380 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3381 (rmail-auto-file): Ignore case in the "special" field names,
3382 as mail-fetch-field does for all others.
3383
3384 * mail/rmail.el (rmail-forward):
3385 * mail/rmailkwd.el (rmail-set-label):
3386 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3387 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3388
3389 * mail/rmail.el (rmail-current-message): Doc fix.
3390
3391 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3392
3393 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3396
3397 2011-11-22 Glenn Morris <rgm@gnu.org>
3398
3399 * mail/rmailmm.el (test-rmail-mime-handler)
3400 (test-rmail-mime-bulk-handler)
3401 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3402
3403 2011-11-21 Juri Linkov <juri@jurta.org>
3404
3405 * calc/calc.el (calc-read-key-sequence):
3406 Let-bind `input-method-function' to nil. (Bug#10018)
3407
3408 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3409
3410 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3411 Tell the caller that the next line needs recomputation, even
3412 though it doesn't start a sexp (bug#10094).
3413
3414 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3417
3418 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3421 Use force-same-window.
3422
3423 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3424
3425 * descr-text.el (describe-char-unicode-data):
3426 * json.el (json-string-escape):
3427 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3428 (Footnote-unicode, Footnote-style-p):
3429 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3430
3431 2011-11-20 Chong Yidong <cyd@gnu.org>
3432
3433 * window.el (replace-buffer-in-windows): Restore interactive spec.
3434
3435 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3438
3439 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3440 (byte-compile-global-not-obsolete-vars): New var.
3441 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3442 Use it.
3443 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3444
3445 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3446
3447 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3448 * progmodes/pascal.el (electric-pascal-equal):
3449 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3450 * xml.el (xml-substitute-special): Fix typos.
3451
3452 2011-11-20 Glenn Morris <rgm@gnu.org>
3453
3454 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3455 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3456 Doc fixes.
3457 (rmail-decode-mime-charset): Mark as obsolete.
3458
3459 * mail/rmailsum.el (rmail-message-regexp-p-1):
3460 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3461 Before using mime functions, check they are set. (Bug#10077)
3462
3463 2011-11-19 Juri Linkov <juri@jurta.org>
3464
3465 * info.el (Info-finder-find-node): Use `package--builtins' instead
3466 of `package-alist'. Use node names formed by the pattern "Keyword "
3467 and the keyword name.
3468
3469 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3470
3471 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3472
3473 2011-11-19 Juri Linkov <juri@jurta.org>
3474
3475 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3476 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3477 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3478 `old-history', `old-history-forward'. Add let-binding
3479 `window-selected'. Remove calls to `kill-buffer',
3480 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3481 before calling `Info-find-node', so `Info-find-node-2' will reread
3482 the Info file. Restore window positions only when `window-selected'
3483 is non-nil.
3484
3485 2011-11-19 Juri Linkov <juri@jurta.org>
3486
3487 * isearch.el (isearch-lazy-highlight-new-loop):
3488 Remove condition `(not isearch-error)'. (Bug#9918)
3489
3490 * misearch.el (multi-isearch-search-fun): Add condition
3491 `(not bound)' to ignore lazy-highlighting search.
3492 Add the search-failed message "end of multi" when the end of
3493 multi-sequence is reached. Uncapitalize the search-failed
3494 message "Repeat for next buffer".
3495
3496 * info.el (Info-search): Add the search-failed message
3497 "end of the manual" when the end of the manual is reached
3498 in Isearch mode.
3499
3500 2011-11-19 Juri Linkov <juri@jurta.org>
3501
3502 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3503 Use non-destructive `remove' instead of `delete' because
3504 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3505 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3506
3507 2011-11-19 Juri Linkov <juri@jurta.org>
3508
3509 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3510 to nil instead of binding `search-ring' and `regexp-search-ring'.
3511 (Bug#9185)
3512
3513 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3514
3515 * simple.el (line-move): Force movement by logical lines for any
3516 hscrolled window, not only when auto-hscroll-mode is on.
3517 (line-move-visual): Update doc string to that effect. (Bug#10076)
3518
3519 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3520
3521 * language/european.el (macintosh): Define as alias for mac-roman.
3522
3523 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3524
3525 * mail/rmailmm.el (rmail-mime-display-header)
3526 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3527 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3528 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3529 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3530 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3531 of a raw aref.
3532 (rmail-mime-entity-segment): To get past the tagline, move forward
3533 2 more lines, to account for the 2 empty lines that precede and
3534 follow the line with the buttons.
3535 (rmail-mime-update-tagline): Move one more line, to get past the
3536 empty line that follows the buttons in the tagline. (Bug#9520)
3537
3538 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3539
3540 * window.el (window-max-delta-1, window-min-delta-1)
3541 (window-min-size-1, window-state-get-1, window-state-put-1)
3542 (window-state-put-2): Use "window--" prefix.
3543
3544 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3547 (smie-warning-count): New var.
3548 (smie-set-prec2tab): Use it.
3549 (smie-bnf->prec2): Improve warnings. Add docstring.
3550 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3551 (smie-bnf--set-class): New function.
3552 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3553 corner case.
3554
3555 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3556 (compilation-error-properties, compilation-move-to-column):
3557 Handle compilation-first-column while in the target buffer.
3558
3559 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3560 Don't hardcode point-min==1.
3561
3562 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3563 (eshell-rewrite-for-command): Remove workaround.
3564 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3565 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3566 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3567
3568 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3569
3570 2011-11-17 Glenn Morris <rgm@gnu.org>
3571
3572 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3573 Ignore buffer-local generated-autoload-file if it is the same
3574 as the global value. (Bug#10049)
3575
3576 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3577
3578 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3579 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3580 (reftex-toc-previous-heading, reftex-toc-max-level)
3581 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3582 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3583 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3584 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3585 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3586 (reftex-toc-rename-label, reftex-toc-visit-location)
3587 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3588 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3589 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3590 leaving "*toc*" only for references to the buffer.
3591
3592 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3593
3594 * window.el (window-resize, delete-window, split-window):
3595 Replace window-splits by window-combination-resize.
3596 * cus-start.el (window-splits): Replace by window-combination-resize.
3597
3598 2011-11-17 Glenn Morris <rgm@gnu.org>
3599
3600 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3601 Make bash entry derive from sh entry, not shell entry.
3602
3603 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3604
3605 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3606 properties of linked files. (Bug#9879)
3607
3608 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3609 local file name.
3610
3611 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3612
3613 * menu-bar.el (menu-bar-file-menu):
3614 * printing.el (pr-ps-utility):
3615 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3616 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3617 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3618 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3619 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3620 (icalendar--convert-cyclic-to-ical)
3621 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3622 (icalendar--convert-ical-to-diary)
3623 (icalendar--convert-recurring-to-diary)
3624 (icalendar--convert-non-recurring-all-day-to-diary)
3625 (icalendar-import-format-sample):
3626 * progmodes/idlw-shell.el (idlwave-shell-mode):
3627 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3628 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3629 (vhdl-ps-print-init): Fix typos.
3630
3631 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3632
3633 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3634 FSF and collapse date sequence, obscure author/maintainer email address
3635 better, remove extra version line, track relocation of author's webpage.
3636
3637 * progmodes/python.el (python-pdbtrack-input-prompt)
3638 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3639 regular python pdb prompts. Adjustments shamelessly taken exactly as
3640 suggested in EmacsWiki page (tiny change):
3641 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3642
3643 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3644
3645 * expand.el (expand-pos, expand-index, expand-point):
3646 Remove redundant info from docstring.
3647 (expand-add-abbrevs): Doc fix.
3648 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3649 (expand-sample-perl-mode-expand-list): Fix typos.
3650
3651 * net/dbus.el (dbus-event-member-name):
3652 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3653 * term/pc-win.el (msdos-create-frame-with-faces):
3654 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3655
3656 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3657
3658 * window.el (split-window, window-state-get-1)
3659 (window-state-put-1, window-state-put-2): Rename occurrences of
3660 window-nest to window-combination-limit.
3661 * cus-start.el (window-nest): Rename to window-combination-limit.
3662
3663 2011-11-16 Chong Yidong <cyd@gnu.org>
3664
3665 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3666 regexp (Bug#10033).
3667
3668 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3671 `completing-read' will remove *Completions* and will preserve
3672 current-buffer for us.
3673 (tmm-add-prompt): Users of *Completions* will always (re)set its
3674 major mode.
3675 (tmm-old-comp-map): Remove.
3676
3677 2011-11-16 Glenn Morris <rgm@gnu.org>
3678
3679 * mail/rmailedit.el: Require rmailmm when compiling.
3680 (rmail-old-mime-state): New declaration.
3681 (rmail-edit-current-message): If editing a mime message,
3682 edit the "raw" message from the mbox buffer.
3683 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3684
3685 2011-11-15 Glenn Morris <rgm@gnu.org>
3686
3687 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3688 which wasn't being used. Add optional arg to force given state.
3689 (rmail-mime): Add optional arg to force given state.
3690
3691 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3692
3693 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3694 * frame.el (display-mm-dimensions-alist):
3695 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3696 (outline-move-subtree-down):
3697 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3698 (newsticker--treeview-do-get-node):
3699 * net/quickurl.el (quickurl-list-buffer-name):
3700 * progmodes/dcl-mode.el (dcl-mode):
3701 * progmodes/gdb-mi.el (gdb-mapcar*):
3702 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3703
3704 2011-11-15 Glenn Morris <rgm@gnu.org>
3705
3706 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3707 in a boolean sense, so just make it a boolean, and fix the doc.
3708 (rmail-show-mime-function, rmail-mime-feature)
3709 (rmail-require-mime-maybe): Doc fixes.
3710 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3711
3712 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3713
3714 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3715
3716 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3717 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3718 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3719 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3720
3721 2011-11-15 Glenn Morris <rgm@gnu.org>
3722
3723 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3724 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3725 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3726 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3727 (rmail-mime, rmail-show-mime): Doc fixes.
3728
3729 * term/ns-win.el (mode-line-frame-identification):
3730 Leave it alone. (Bug#10051)
3731
3732 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3733
3734 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3735 Handle empty buffers. (Bug#9978)
3736
3737 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
3738
3739 * international/mule.el (define-charset):
3740 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3741 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3742 * progmodes/verilog-mode.el (verilog-backward-token):
3743 * textmodes/ispell.el (lookup-words):
3744 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3745
3746 2011-11-14 Glenn Morris <rgm@gnu.org>
3747
3748 * progmodes/executable.el
3749 (executable-make-buffer-file-executable-if-script-p):
3750 Handle file-modes returning nil.
3751
3752 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3753 message - not necessary, and causes problems. (Bug#9831)
3754
3755 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3756
3757 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3758
3759 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3760 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3761 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3762
3763 2011-11-12 Martin Rudalics <rudalics@gmx.at>
3764
3765 * window.el (window-resize, delete-window): Use window-splits
3766 variable instead of function.
3767 (window-state-get-1, window-state-put-2, window-state-put):
3768 Don't deal with windows' splits status.
3769
3770 2011-11-12 Glenn Morris <rgm@gnu.org>
3771
3772 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3773 (apropos-documentation): Doc fixes.
3774
3775 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
3776
3777 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3778 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3779
3780 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * electric.el (electric-indent-post-self-insert-function): Make it
3783 possible for a char to only indent in some circumstances.
3784 (electric-indent-mode): Simplify.
3785
3786 2011-11-11 Martin Rudalics <rudalics@gmx.at>
3787
3788 * window.el (windows-with-parameter): Remove unused function.
3789 (windows-at-side): Rename to window-at-side-list.
3790 (window-check, window-atom-check, window-atom-check-1)
3791 (window-side-check, window-size-ignore, window-size-fixed-1)
3792 (window-in-direction-2): Prefix with "window--".
3793 (window-tree-1): Rename to window--subtree, fix doc-string.
3794
3795 2011-11-11 Glenn Morris <rgm@gnu.org>
3796
3797 * subr.el (eval-after-load): If FILE is already loaded,
3798 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3799
3800 2011-11-10 Glenn Morris <rgm@gnu.org>
3801
3802 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3803 Call svn via vc-svn-command rather than vc-do-command.
3804 (vc-svn-command): Add --non-interactive. (Bug#9993)
3805 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3806
3807 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3808 Add toggle-read-only. (Bug#7292)
3809 * files.el (toggle-read-only): Mention that it should only
3810 be used interactively. (Bug#10006)
3811
3812 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3815 Adjust regexp for OCaml warnings.
3816
3817 * electric.el (electric-pair-post-self-insert-function): Let user
3818 turn it off buffer-locally (bug#9932).
3819
3820 * progmodes/python.el (python-beginning-of-statement):
3821 Rewrite (bug#2703).
3822
3823 * progmodes/compile.el: Better handle TABs (bug#9749).
3824 (compilation-internal-error-properties)
3825 (compilation-next-error-function): Obey the target buffer's
3826 compilation-error-screen-columns.
3827
3828 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
3829
3830 * progmodes/meta-mode.el: Remove obsolete comments.
3831 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3832 Fix typos in docstrings.
3833
3834 2011-11-09 Martin Rudalics <rudalics@gmx.at>
3835
3836 * window.el (window-size-fixed-p): Rewrite doc-string.
3837 (window-resizable-p): Rename to window--resizable-p. Update callers.
3838 (window--resizable): New function. Make all callers of
3839 window-resizable call window--resizable instead.
3840 (window-resizable): Rewrite in terms of window--resizable.
3841
3842 2011-11-08 Glenn Morris <rgm@gnu.org>
3843
3844 * progmodes/delphi.el (delphi-mode-syntax-table):
3845 Let define-derived-mode define a proper syntax table. (Bug#9994)
3846
3847 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * window.el: Stay away from defsubst.
3850 (window-list-no-nils): Remove.
3851 (window-state-get-1, window-state-get): Use backquote instead.
3852
3853 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3854
3855 * emacs-lisp/find-func.el (find-function-read):
3856 Fix incorrect use of default argument in `completing-read'.
3857
3858 2011-11-08 Martin Rudalics <rudalics@gmx.at>
3859
3860 * window.el (display-buffer-function, special-display-function):
3861 Mention display-buffer-record-window but do not mention
3862 help-setup parameter in doc-strings.
3863 (window-min-delta): Fix doc-string typo.
3864
3865 2011-11-08 Chong Yidong <cyd@gnu.org>
3866
3867 * window.el (window-total-height, window-total-width): Doc fix.
3868 (window-body-size): Move from C.
3869 (window-body-height, window-body-width): Move to C.
3870
3871 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * window.el: Make special-display like display-buffer-alist (bug#9532).
3874 (display-buffer--special-action): New function, morphed
3875 from display-buffer--special.
3876 (display-buffer): Use it to handle special-display-buffers at higher
3877 priority (just after display-buffer-alist).
3878 (display-buffer-fallback-action, display-buffer--other-frame-action)
3879 (pop-to-buffer-same-window): Remove display-buffer--special.
3880
3881 2011-11-07 Glenn Morris <rgm@gnu.org>
3882
3883 * calendar/cal-menu.el (cal-menu-set-date-title):
3884 Do nothing if not in a calendar. (Bug#9976)
3885
3886 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * files.el (find-file): Always use selected-window.
3889
3890 2011-11-07 Martin Rudalics <rudalics@gmx.at>
3891
3892 * window.el (window-combinations): Make WINDOW argument
3893 mandatory. Rewrite doc-string.
3894 (walk-window-subtree, window-atom-check, window-min-delta)
3895 (window-max-delta, window--resize-this-window)
3896 (window--resize-root-window-vertically, window-tree)
3897 (balance-windows, window-state-put): Rewrite doc-strings as to
3898 not mention the term "subwindow".
3899 (window--resize-subwindows-skip-p): Rename to
3900 window--resize-child-windows-skip-p.
3901 (window--resize-subwindows-normal): Rename to
3902 window--resize-child-windows-normal.
3903 (window--resize-subwindows): Rename to
3904 window--resize-child-windows.
3905 (window-or-subwindow-p): Rename to window--in-subtree-p.
3906
3907 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3908
3909 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3910 Ensure that mbox format messages end in two newlines (Bug#9974).
3911
3912 2011-11-06 Chong Yidong <cyd@gnu.org>
3913
3914 * window.el (window-combination-p): Function deleted; its
3915 side-effect is not used in any existing code.
3916 (window-combinations, window-combined-p): Call window-*-child
3917 directly.
3918
3919 2011-11-05 Chong Yidong <cyd@gnu.org>
3920
3921 * window.el (window-valid-p): Rename from window-any-p.
3922 (window-size-ignore, window-state-get): Callers changed.
3923 (window-normalize-window): Rename from window-normalize-any-window.
3924 New arg LIVE-ONLY, replacing window-normalize-live-window.
3925 (window-normalize-live-window): Delete.
3926 (window-combination-p, window-combined-p, window-combinations)
3927 (walk-window-subtree, window-atom-root, window-min-size)
3928 (window-sizable, window-sizable-p, window-size-fixed-p)
3929 (window-min-delta, window-max-delta, window-resizable)
3930 (window-resizable-p, window-full-height-p, window-full-width-p)
3931 (window-current-scroll-bars, window-point-1, set-window-point-1)
3932 (window-at-side-p, window-in-direction, window-resize)
3933 (adjust-window-trailing-edge, maximize-window, minimize-window)
3934 (window-deletable-p, delete-window, delete-other-windows)
3935 (record-window-buffer, unrecord-window-buffer)
3936 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3937 (quit-window, split-window, window-state-put)
3938 (set-window-text-height, fit-window-to-buffer)
3939 (shrink-window-if-larger-than-buffer): Callers changed.
3940
3941 2011-11-04 Eli Zaretskii <eliz@gnu.org>
3942
3943 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3944 rfc2047-decode-string.
3945 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3946 warnings.
3947
3948 * window.el (window-body-height, window-body-width): Mention in
3949 the doc string that the return values are in frame's canonical
3950 units. (Bug#9949)
3951
3952 2011-11-03 Alan Mackenzie <acm@muc.de>
3953
3954 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3955 change in cc-engine.el.
3956
3957 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3960
3961 2011-11-02 Martin Rudalics <rudalics@gmx.at>
3962
3963 * window.el (quit-window): Call unrecord-window-buffer after
3964 showing another buffer in the window. (Bug#9937)
3965 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3966
3967 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
3968
3969 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3970 Accept status with more than 9 shelves. (Bug#9935)
3971 Reported by Colin D Bennett <colin@gibibit.com>.
3972
3973 2011-11-01 Martin Rudalics <rudalics@gmx.at>
3974
3975 * help.el (with-help-window): Don't reference
3976 temp-buffer-show-specifiers in doc-string.
3977
3978 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3979
3980 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3981 menu-item.
3982
3983 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3984
3985 * whitespace.el: New version 13.2.2.
3986 (whitespace-newline-mode): Disable properly. Reported by Sarah
3987 <EmacsWiki>.
3988
3989 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
3990
3991 * net/newst-treeview.el: Remove "Time-stamp".
3992 (newsticker--group-manage-orphan-feeds): Do not call
3993 newsticker--treeview-tree-update.
3994 (newsticker-treeview-update, newsticker-treeview):
3995 Call newsticker--treeview-tree-update if necessary.
3996
3997 2011-10-30 Martin Rudalics <rudalics@gmx.at>
3998
3999 * window.el (window-iso-combination-p, window-iso-combined-p)
4000 (window-iso-combinations): Remove "iso-" infix.
4001 Suggested by Chong Yidong.
4002 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4003 (window-max-delta-1, window-resize, window--resize-siblings)
4004 (window--resize-this-window, adjust-window-trailing-edge)
4005 (split-window, balance-windows-1)
4006 (shrink-window-if-larger-than-buffer):
4007 * calendar/calendar.el (calendar-generate-window):
4008 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4009
4010 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4013 in place (bug#9907).
4014 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4015 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4016 (eshell-structure-basic-command, eshell-rewrite-while-command)
4017 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4018 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4019 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4020 (eshell-do-pipelines-synchronously, eshell-eval-command):
4021 Use backquotes and prefer setq to set.
4022 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4023 (eshell-macrop): Use functionp.
4024 (eshell-do-eval): Handle multiple expressions in `while' body.
4025
4026 2011-10-30 Chong Yidong <cyd@gnu.org>
4027
4028 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4029 instead of set-mark (Bug#9810).
4030
4031 2011-10-30 Chong Yidong <cyd@gnu.org>
4032
4033 * window.el (split-window-below, split-window-right): Rename from
4034 split-window-above-each-other and split-window-side-by-side
4035 respectively. All callers changed.
4036 (split-window-sensibly, split-window-sensibly): Use them.
4037 (split-window-keep-point): Doc fix.
4038
4039 * isearch.el: Add isearch-scroll property to split-window-below
4040 and split-window-right.
4041
4042 * follow.el (follow-mode):
4043 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4044 * progmodes/ada-xref.el (ada-gdb-application):
4045 * emulation/vip.el (vip-buffer-in-two-windows):
4046 * image-dired.el (image-dired-dired-with-window-configuration):
4047 * dired-x.el (dired-do-find-marked-files):
4048 * dired.el (dired-pop-to-buffer):
4049 * bs.el (bs--show-with-configuration):
4050 * vc/emerge.el (emerge-setup-windows):
4051 * textmodes/two-column.el (2C-two-columns):
4052 * textmodes/reftex-toc.el (reftex-toc):
4053 * progmodes/gdb-mi.el (gdb-setup-windows):
4054 * progmodes/fortran.el (fortran-window-create):
4055 * net/newst-treeview.el (newsticker--treeview-window-init):
4056 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4057 * emulation/tpu-edt.el (tpu-gold-map):
4058 * emulation/crisp.el (crisp-mode-map):
4059 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4060
4061 2011-10-29 Chong Yidong <cyd@gnu.org>
4062
4063 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4064
4065 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4066
4067 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4068 forged Ispell output (Bug#7904).
4069
4070 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4071
4072 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 * doc-view.el: Avoid ugly errors about not finding nil.
4075 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4076 (doc-view-dvipdf-program, doc-view-unoconv-program)
4077 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4078 Avoid nil or absolute file name as default value.
4079 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4080
4081 2011-10-28 Alan Mackenzie <acm@muc.de>
4082
4083 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4084
4085 2011-10-28 Alan Mackenzie <acm@muc.de>
4086
4087 Amend the handling of c-beginning/end-of-defun in nested declaration
4088 scopes.
4089
4090 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4091 cc-langs.el. Change it to a defcustom.
4092
4093 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4094 cc-vars.el.
4095
4096 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4097 Prevent "class foo : bar" being spuriously recognized as a label.
4098
4099 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4100 Add parameter `inclusive' (to include enclosing braces in the region).
4101 (c-widen-to-enclosing-decl-scope): New function.
4102 (c-while-widening-to-decl-block): New macro.
4103 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4104 outward for defun boundaries, and correspondingly change symbol
4105 `respect-enclosure' to `go-outward'.
4106 (c-declaration-limits): Change algorithm to report only the "innermost"
4107 defun's boundaries.
4108
4109 2011-10-28 Deniz Dogan <deniz@dogan.se>
4110
4111 * net/rcirc.el (rcirc-mode): Use hard newlines.
4112
4113 2011-10-28 Alan Mackenzie <acm@muc.de>
4114
4115 Amend to indent and fontify macros "which include their own semicolon"
4116 correctly, using the "virtual semicolon" mechanism.
4117
4118 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4119
4120 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4121 Recode to scan one line at a time rather than having \n and \r
4122 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4123 (c-forward-label): Amend for virtual semicolons.
4124 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4125
4126 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4127 of the new C macros.
4128
4129 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4130 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4131 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4132 (c-opt-cpp-macro-define): Make into a full language variable.
4133 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4134 AWK Mode (including \n, \r) removed, no longer needed.
4135
4136 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4137 Invoke c-make-macro-with-semi-re.
4138
4139 * progmodes/cc-vars.el (c-macro-with-semi-re):
4140 (c-macro-names-with-semicolon): New variables.
4141 (c-make-macro-with-semi-re): New function.
4142
4143 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * vc/log-edit.el: Fill empty field rather than adding new one.
4146 (log-edit-add-field): New function.
4147 (log-edit-insert-changelog): Use it.
4148
4149 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4150
4151 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4152
4153 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4156 (gdb--check-interpreter): New function.
4157 (gdb): Use it.
4158
4159 2011-10-27 Glenn Morris <rgm@gnu.org>
4160
4161 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4162 (least-positive-float, least-negative-float)
4163 (least-positive-normalized-float, least-negative-normalized-float)
4164 (float-epsilon, float-negative-epsilon):
4165 Remove unnecessary declarations.
4166
4167 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4168 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4169 (least-positive-float, least-negative-float)
4170 (least-positive-normalized-float, least-negative-normalized-float)
4171 (float-epsilon, float-negative-epsilon): Add doc-strings,
4172 based on those in cl.texi.
4173
4174 * files.el (set-visited-file-name): If the major-mode changed,
4175 reload the local variables. (Bug#9796)
4176
4177 2011-10-27 Chong Yidong <cyd@gnu.org>
4178
4179 * subr.el (change-major-mode-after-body-hook): New hook.
4180 (run-mode-hooks): Run it.
4181
4182 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4183 Use change-major-mode-before-body-hook.
4184
4185 * simple.el (fundamental-mode):
4186 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4187 change introducing fundamental-mode-hook.
4188
4189 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4190
4191 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4192
4193 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4194
4195 * ido.el (ido-file-name-all-completions-1): Do not require
4196 tramp.el explicitly. (Bug#7583)
4197
4198 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * progmodes/octave-mod.el:
4201 * progmodes/octave-inf.el: Update maintainer.
4202
4203 2011-10-26 Chong Yidong <cyd@gnu.org>
4204
4205 * subr.el (with-wrapper-hook): Rewrite doc.
4206
4207 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4208
4209 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4210 filenames "/method:foo:". (Bug#9793)
4211
4212 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4215 (bug#9865).
4216
4217 2011-10-24 Glenn Morris <rgm@gnu.org>
4218
4219 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4220
4221 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4222
4223 * notifications.el: Add the requirement of a running D-Bus session
4224 bus to the Commentary.
4225
4226 2011-10-24 Juri Linkov <juri@jurta.org>
4227
4228 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4229 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4230 (Bug#9364)
4231
4232 2011-10-24 Juri Linkov <juri@jurta.org>
4233
4234 * info.el (Info-following-node-name-re): Add newline to the list
4235 of allowed characters for leading space. (Bug#9824)
4236
4237 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * progmodes/octave-inf.el (inferior-octave-mode-map):
4240 Fix C-c C-h binding.
4241 * progmodes/octave-mod.el (octave-help): Remove.
4242
4243 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4244
4245 Sync with Tramp 2.2.3.
4246
4247 * net/tramp-cache.el (top): Pacify byte-compiler using
4248 `init-file-user' and `site-run-file'.
4249
4250 * net/trampver.el: Update release number.
4251
4252 2011-10-23 Chong Yidong <cyd@gnu.org>
4253
4254 * files.el (toggle-read-only): Remove obsolete comment about
4255 version control.
4256
4257 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4258 for toggle-read-only. Note that this hasn't called vc-next-action
4259 since 2008-05-02, though it wasn't documented at the time.
4260
4261 * vc/ediff-init.el (ediff-toggle-read-only-function):
4262 Use toggle-read-only.
4263
4264 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4265
4266 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4267 of c-parse-state.
4268
4269 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4270 correct faulty logical expression.
4271 (c-parse-state-state, c-record-parse-state-state):
4272 (c-replay-parse-state-state): New defvar/defuns.
4273 (c-debug-parse-state): Use new functions.
4274
4275 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4276
4277 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4278 last fix. Use window-in-direction correctly.
4279
4280 2011-10-21 Chong Yidong <cyd@gnu.org>
4281
4282 * progmodes/idlwave.el (idlwave-mode):
4283 * progmodes/vera-mode.el (vera-mode): No need to set
4284 require-final-newline; that's done in prog-mode.
4285 Suggested by Stefan Monnier.
4286
4287 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4288
4289 * mouse.el (mouse-drag-window-above)
4290 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4291 (mouse-drag-mode-line-1, mouse-drag-header-line)
4292 (mouse-drag-vertical-line-rightward-window): Remove.
4293 (mouse-drag-line): New function.
4294 (mouse-drag-mode-line, mouse-drag-header-line)
4295 (mouse-drag-vertical-line): Call mouse-drag-line.
4296 * window.el (window-at-side-p, windows-at-side): New functions.
4297
4298 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4299
4300 * tar-mode.el (tar-grind-file-mode):
4301 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4302
4303 2011-10-21 Chong Yidong <cyd@gnu.org>
4304
4305 * progmodes/idlwave.el (idlwave-mode):
4306 * progmodes/vera-mode.el (vera-mode):
4307 Use mode-require-final-newline.
4308
4309 2011-10-20 Glenn Morris <rgm@gnu.org>
4310
4311 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4312
4313 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4314
4315 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4316
4317 2011-10-20 Chong Yidong <cyd@gnu.org>
4318
4319 * emulation/cua-base.el (cua-mode):
4320 * mail/footnote.el (footnote-mode):
4321 * mail/mailabbrev.el (mail-abbrevs-mode):
4322 * net/xesam.el (xesam-minor-mode):
4323 * progmodes/bug-reference.el (bug-reference-mode):
4324 * progmodes/cap-words.el (capitalized-words-mode):
4325 * progmodes/compile.el (compilation-minor-mode)
4326 (compilation-shell-minor-mode):
4327 * progmodes/gud.el (gud-tooltip-mode):
4328 * progmodes/hideif.el (hide-ifdef-mode):
4329 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4330 * progmodes/subword.el (subword-mode):
4331 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4332 * progmodes/which-func.el (which-function-mode):
4333 * term/tvi970.el (tvi970-set-keypad-mode):
4334 * term/vt100.el (vt100-wide-mode):
4335 * textmodes/flyspell.el (flyspell-mode):
4336 * textmodes/ispell.el (ispell-minor-mode):
4337 * textmodes/nroff-mode.el (nroff-electric-mode):
4338 * textmodes/paragraphs.el (use-hard-newlines):
4339 * textmodes/refill.el (refill-mode):
4340 * textmodes/reftex.el (reftex-mode):
4341 * textmodes/rst.el (rst-minor-mode):
4342 * textmodes/sgml-mode.el (html-autoview-mode)
4343 (sgml-electric-tag-pair-mode):
4344 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4345 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4346 * emulation/crisp.el (crisp-mode):
4347 * emacs-lisp/eldoc.el (eldoc-mode):
4348 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4349 minor mode behavior.
4350
4351 2011-10-19 Juri Linkov <juri@jurta.org>
4352
4353 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4354 the list of hard-coded chars with escape-glyph face.
4355
4356 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4359
4360 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4363 running process.
4364
4365 2011-10-19 Glenn Morris <rgm@gnu.org>
4366
4367 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4368 Ignore ignored files. (Bug#9726)
4369
4370 2011-10-19 Chong Yidong <cyd@gnu.org>
4371
4372 Doc fix for minor modes, stating that an omitted argument enables
4373 the mode unconditionally when called from Lisp.
4374
4375 * abbrev.el (abbrev-mode):
4376 * allout.el (allout-mode):
4377 * autoinsert.el (auto-insert-mode):
4378 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4379 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4380 (global-auto-revert-mode):
4381 * battery.el (display-battery-mode):
4382 * composite.el (global-auto-composition-mode)
4383 (auto-composition-mode):
4384 * delsel.el (delete-selection-mode):
4385 * desktop.el (desktop-save-mode):
4386 * dired-x.el (dired-omit-mode):
4387 * dirtrack.el (dirtrack-mode):
4388 * doc-view.el (doc-view-minor-mode):
4389 * double.el (double-mode):
4390 * electric.el (electric-indent-mode, electric-pair-mode):
4391 * emacs-lock.el (emacs-lock-mode):
4392 * epa-hook.el (auto-encryption-mode):
4393 * follow.el (follow-mode):
4394 * font-core.el (font-lock-mode):
4395 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4396 * help.el (temp-buffer-resize-mode):
4397 * hilit-chg.el (highlight-changes-mode)
4398 (highlight-changes-visible-mode):
4399 * hi-lock.el (hi-lock-mode):
4400 * hl-line.el (hl-line-mode, global-hl-line-mode):
4401 * icomplete.el (icomplete-mode):
4402 * ido.el (ido-everywhere):
4403 * image-file.el (auto-image-file-mode):
4404 * image-mode.el (image-minor-mode):
4405 * iswitchb.el (iswitchb-mode):
4406 * jka-cmpr-hook.el (auto-compression-mode):
4407 * linum.el (linum-mode):
4408 * longlines.el (longlines-mode):
4409 * master.el (master-mode):
4410 * mb-depth.el (minibuffer-depth-indicate-mode):
4411 * menu-bar.el (menu-bar-mode):
4412 * minibuf-eldef.el (minibuffer-electric-default-mode):
4413 * mouse-sel.el (mouse-sel-mode):
4414 * msb.el (msb-mode):
4415 * mwheel.el (mouse-wheel-mode):
4416 * outline.el (outline-minor-mode):
4417 * paren.el (show-paren-mode):
4418 * recentf.el (recentf-mode):
4419 * reveal.el (reveal-mode, global-reveal-mode):
4420 * rfn-eshadow.el (file-name-shadow-mode):
4421 * ruler-mode.el (ruler-mode):
4422 * savehist.el (savehist-mode):
4423 * scroll-all.el (scroll-all-mode):
4424 * scroll-bar.el (scroll-bar-mode):
4425 * server.el (server-mode):
4426 * shell.el (shell-dirtrack-mode):
4427 * simple.el (auto-fill-mode, transient-mark-mode)
4428 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4429 (line-number-mode, column-number-mode, size-indication-mode)
4430 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4431 * strokes.el (strokes-mode):
4432 * time.el (display-time-mode):
4433 * t-mouse.el (gpm-mouse-mode):
4434 * tool-bar.el (tool-bar-mode):
4435 * tooltip.el (tooltip-mode):
4436 * type-break.el (type-break-mode-line-message-mode)
4437 (type-break-query-mode):
4438 * view.el (view-mode):
4439 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4440 (global-whitespace-mode, global-whitespace-newline-mode):
4441 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4442
4443 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4444 Fix autogenerated docstring.
4445
4446 2011-10-19 Juri Linkov <juri@jurta.org>
4447
4448 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4449 by checking environment variables "DESKTOP_SESSION" and
4450 "XDG_CURRENT_DESKTOP". (Bug#9779)
4451
4452 2011-10-19 Juri Linkov <juri@jurta.org>
4453
4454 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4455 (browse-url-chromium-program, browse-url-chromium-arguments):
4456 New defcustoms.
4457 (browse-url-default-browser): Check for `browse-url-chromium' and
4458 call `browse-url-chromium-program'.
4459 (browse-url-chromium): New command. (Bug#9779)
4460
4461 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4462
4463 * facemenu.el (list-colors-duplicates): On Windows, detect more
4464 duplicates by assuming that only colors matching "^System" are
4465 special "system colors". (Bug#9722)
4466
4467 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4470 to distinguish the author from the committer.
4471
4472 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4473
4474 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4475
4476 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4477
4478 * international/mule.el (sgml-html-meta-auto-coding-function):
4479 Add support for detecting encoding in HTML5 specified only as
4480 <meta charset="UTF-8">. Implementation just makes http-equiv and
4481 content-type parts from HTML4 encoding string optional. (Bug#9716)
4482
4483 2011-10-18 Glenn Morris <rgm@gnu.org>
4484
4485 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4486
4487 2011-10-18 Chong Yidong <cyd@gnu.org>
4488
4489 * faces.el (cursor): Doc fix.
4490
4491 2011-10-17 Chong Yidong <cyd@gnu.org>
4492
4493 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4494
4495 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4496
4497 * dirtrack.el (dirtrack): Support shell buffers with path
4498 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4499
4500 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4501
4502 * json.el: Bump version to 1.3 and note change in History.
4503 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4504
4505 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * comint.el (comint-insert-input, comint-send-input)
4508 (comint-get-old-input-default, comint-backward-matching-input)
4509 (comint-next-prompt): Use nil instead of `input' for field property of
4510 past user input (bug#114).
4511
4512 * minibuffer.el (completion--replace): Inherit surrounding properties
4513 (bug#114).
4514 (minibuffer-complete-and-exit): Use it.
4515
4516 * comint.el (comint--table-subvert): Quote the all-completions output
4517 (bug#9160).
4518
4519 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4520
4521 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4522
4523 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4524 window on right of selected. (Bug#9350) Reword other window
4525 entries and separate them from frame entries.
4526
4527 2011-10-15 Glenn Morris <rgm@gnu.org>
4528
4529 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4530 Doc fixes.
4531
4532 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4533
4534 * net/network-stream.el (network-stream-open-starttls):
4535 Improve detection of failure due to lack of TLS support.
4536
4537 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4538 putting the input text in front and in bold.
4539
4540 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4543
4544 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4545 empty buffer.
4546
4547 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4548 unread-command-events rather than pushing yet-another event.
4549
4550 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4551
4552 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4553 the explanation of the possible choices. Make the options passed
4554 to completing-read shorter.
4555
4556 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4557
4558 * textmodes/flyspell.el (flyspell-large-region): Make sure
4559 extended character mode is used if defined (Bug#1339).
4560
4561 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4562
4563 * simple.el (what-cursor-position): Fix the display of the
4564 character info for LRE, LRO, RLE, and RLO characters by appending
4565 an invisible PDF.
4566
4567 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4570 even in case of error; add debug spec; simplify data flow.
4571 (with-timeout-handler): Remove.
4572
4573 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4574
4575 Fix Bug#6019, Bug#9315.
4576
4577 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4578 complete `buffer-file-name', the local file name part could look
4579 remotely (for example on VMS).
4580
4581 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4582 `tramp-run-real-handler'.
4583 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4584 already quoted by '"'.
4585
4586 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4587 Let `file-name-handler-alist' be nil, the local file name part
4588 could look remotely (for example on VMS).
4589
4590 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4593 from here...
4594 (flyspell-post-command-hook): ...to here.
4595
4596 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4599 if not needed.
4600 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4601 using completion. Protect against "slow" callers.
4602 Remove the "message hack".
4603
4604 2011-10-11 Juri Linkov <juri@jurta.org>
4605
4606 * isearch.el (isearch-lazy-highlight-word): New variable.
4607 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4608 Use it. (Bug#9727)
4609
4610 2011-10-11 Glenn Morris <rgm@gnu.org>
4611
4612 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4613 like f90-previous-statement does.
4614
4615 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4616
4617 * eshell/eshell.el (eshell-command): History should be saved
4618 only in interactive use, to avoid error.
4619
4620 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * minibuffer.el (completion-file-name-table): Fix last change,
4623 i.e. ignore normal errors but not the other ones.
4624
4625 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4626
4627 * window.el (special-display-buffer-names)
4628 (special-display-regexps): Remove some remnants of earlier
4629 changes from doc-strings.
4630 (quit-windows-on): New function.
4631
4632 * vc/vc.el (vc-revert, vc-rollback):
4633 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4634 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4635 (Bug#6183) (Bug#7074) (Bug#7447)
4636
4637 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4638
4639 * window.el (frame-auto-hide-function): Add version tag.
4640 (Bug#9699)
4641
4642 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4643
4644 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4645 condition.
4646
4647 2011-10-09 Leo Liu <sdl.web@gmail.com>
4648
4649 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4650 (Bug#9701)
4651
4652 2011-10-08 Glenn Morris <rgm@gnu.org>
4653
4654 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4655 before the first code statement zero indent. (Bug#9690)
4656
4657 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4658
4659 * simple.el (count-words-region): Always count in the region.
4660 Report the number of lines and characters too.
4661 (count-words): New command, which counts in the buffer if the
4662 region is inactive, as count-words-region used to.
4663 (count-words--message): New function. Handle plurals.
4664 (count-lines-region): Make it an alias for count-words-region.
4665
4666 * bindings.el (esc-map): Replace count-lines-region with
4667 count-words-region.
4668
4669 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4670
4671 * window.el (window--delete): Delete dedicated frame
4672 unconditionally when argument KILL is non-nil. (Bug#9699)
4673 (switch-to-buffer): Fix doc-string typo.
4674
4675 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4676
4677 * eshell/eshell.el (eshell-command): Avoid using hooks.
4678
4679 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
4680
4681 * bindings.el ([M-left],[M-right]): Bind to left-word and
4682 right-word respectively.
4683
4684 2011-10-07 Glenn Morris <rgm@gnu.org>
4685
4686 * cus-start.el (debug-on-quit): Fix custom type.
4687
4688 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4689
4690 * subr.el (define-key-after): Clarify that the function is not
4691 useful for non-menu keymaps.
4692
4693 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4694
4695 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4696
4697 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4698 in current minibuffer (Fix bug with recursive minibuffers).
4699
4700 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
4701
4702 * progmodes/gdb-mi.el (gdb): Doc fix.
4703
4704 2011-10-05 Martin Rudalics <rudalics@gmx.at>
4705
4706 * window.el (frame-auto-hide-function): New option replacing
4707 frame-auto-delete. Suggested by Stefan Monnier.
4708 (window--delete): Call frame-auto-hide-function instead of
4709 investigating frame-auto-delete.
4710 (window-point-1, set-window-point-1): New functions.
4711 (window-in-direction, record-window-buffer, window-state-get-1)
4712 (display-buffer-record-window): Use window-point-1 instead of
4713 window-point.
4714 (set-window-buffer-start-and-point): Use set-window-point-1.
4715
4716 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4719
4720 2011-10-05 Glenn Morris <rgm@gnu.org>
4721
4722 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4723 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4724
4725 2011-10-05 Leo Liu <sdl.web@gmail.com>
4726
4727 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4728 works with buffer object.
4729
4730 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * mpc.el (mpc-tool-bar-map): Add labels.
4733
4734 2011-10-04 Glenn Morris <rgm@gnu.org>
4735
4736 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4737
4738 2011-10-04 Martin Rudalics <rudalics@gmx.at>
4739
4740 * window.el (window--delete): New function.
4741 (frame-auto-delete): Resuscitate option.
4742 (bury-buffer, replace-buffer-in-windows)
4743 (quit-window): Rewrite using window--delete.
4744 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4745 Pass display-buffer-mark-dedicated to window--display-buffer-2
4746 (Bug#9639).
4747
4748 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4751 returns a list (bug#9554). Add remote file name completion.
4752 * comint.el (comint--table-subvert): Curry and get quote&unquote
4753 functions as arguments.
4754 (comint--complete-file-name-data): Adjust call accordingly.
4755 * pcomplete.el (pcomplete--table-subvert): Remove.
4756 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4757
4758 * minibuffer.el (completion-table-case-fold): Use currying.
4759 (completion--styles-type, completion--cycling-threshold-type):
4760 New constants.
4761 (completion-styles, completion-category-overrides)
4762 (completion-cycle-threshold): Use them.
4763 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4764 completion-table-case-fold.
4765
4766 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
4767
4768 * minibuffer.el (completion-category-overrides): Fix type of styles
4769 and add more user friendly tags (bug#9660).
4770
4771 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4772
4773 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4774 (mule-input-method-string): New widget.
4775 (default-input-method, language-info-custom-alist): Use it.
4776
4777 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * pcomplete.el: Require comint.
4780 (pcomplete--common-suffix): Remove.
4781 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4782 (pcomplete--table-subvert): Sync with comint--table-subvert.
4783 (pcomplete--entries): Use comint-completion-file-name-table.
4784 * comint.el (comint-unquote-filename): Simplify.
4785 (comint-completion-file-name-table): New function (bug#9616).
4786 (comint--complete-file-name-data): Use it.
4787
4788 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4789 (pcmpl-gnu-tar-buffer): Remove.
4790 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4791 around. Make sure pcomplete-suffix-list is only changed temporarily.
4792 Don't look inside the tar's file if it's too large.
4793
4794 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
4795
4796 * cus-edit.el (custom-mode-map):
4797 * epa.el (epa-key-list-mode-map):
4798 * man.el (Man-mode-map):
4799 * startup.el (splash-screen-keymap):
4800 * simple.el (special-mode-map): Use scroll-up-command and
4801 scroll-down-command.
4802
4803 * progmodes/idlw-help.el (idlwave-help-mode-map):
4804 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4805 * net/newst-plainview.el (newsticker-mode-map):
4806 * emulation/ws-mode.el (wordstar-mode-map):
4807 * emulation/vi.el (vi-com-map):
4808 * calc/calc-graph.el (calc-graph-show-dumb):
4809 * term/sun.el (terminal-init-sun):
4810 * term/ns-win.el (global-map):
4811 * progmodes/grep.el (grep-mode-map):
4812 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4813 * mail/rmail.el (rmail-mode-map):
4814 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4815
4816 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4817 custom-safe-themes as special.
4818
4819 2011-10-01 Julien Danjou <julien@danjou.info>
4820
4821 * notifications.el (notifications-notify): Fix docstring.
4822
4823 2011-10-01 Per Starbäck <per@starback.se>
4824
4825 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4826
4827 2011-09-30 Martin Rudalics <rudalics@gmx.at>
4828
4829 * startup.el (command-line-1): Fix last fix by inserting
4830 initial-scratch-message into *scratch* before displaying it.
4831 (Bug#9605) and (Bug#9636)
4832
4833 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4834
4835 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4836 window is hscrolled, move by logical lines. (Bug#9607)
4837 (line-move-visual): Update the doc string to the above effect.
4838
4839 2011-09-29 Martin Rudalics <rudalics@gmx.at>
4840
4841 * window.el (display-buffer-record-window): When WINDOW is the
4842 selected window use `point' instead of `window-point'. (Bug#9626)
4843
4844 * startup.el (command-line-1): Use insert-before-markers when
4845 inserting initial-scratch-message. (Bug#9605)
4846
4847 * help.el (help-window): Remove variable.
4848
4849 2011-09-29 Glenn Morris <rgm@gnu.org>
4850
4851 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4852
4853 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
4854
4855 * descr-text.el (describe-char-categories): Accept category
4856 descriptions more than one line long.
4857
4858 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * simple.el (delete-trailing-whitespace): Fix last change.
4861
4862 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4863 Don't confuse "y => 3" as the beginning of a `y' operation.
4864
4865 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4866 object has more than 4 slots (bug#9613).
4867
4868 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
4869
4870 * subr.el (with-output-to-temp-buffer):
4871 * net/quickurl.el (quickurl, quickurl-browse-url):
4872 Fix typos in docstrings.
4873
4874 2011-09-27 Eli Zaretskii <eliz@gnu.org>
4875
4876 * minibuffer.el (completion-styles)
4877 (completion-category-overrides): Cross reference each other in doc
4878 strings.
4879
4880 2011-09-27 Glenn Morris <rgm@gnu.org>
4881
4882 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4883 to split-string. (Bug#9606)
4884
4885 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4886
4887 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4888 (bug#9615).
4889
4890 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
4891
4892 * emacs-lisp/package.el (list-packages): Fix echo area message.
4893
4894 2011-09-27 Leo Liu <sdl.web@gmail.com>
4895
4896 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4897
4898 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
4899
4900 * net/dbus.el (dbus-unregister-object): Don't release services for
4901 registered signals. (Bug#9581)
4902
4903 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4904
4905 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4906 function that picks between cfengine 2 and 3 support
4907 automatically. Update docs accordingly.
4908
4909 2011-09-22 Kenichi Handa <handa@m17n.org>
4910
4911 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4912 ZERO.
4913 (indian-itrans-v5-table-for-tamil): New variable.
4914 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4915
4916 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4917
4918 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4919 that's true if the current command involved collapsing of text.
4920 It's reset to false at the beginning of the next command.
4921 (allout-post-command-business): Move the cursor to the beginning
4922 of entry if the cursor is hidden and collapsing activity just
4923 happened.
4924
4925 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
4926
4927 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4928 tracking (Bug#9541).
4929
4930 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
4931
4932 * net/newst-reader.el (newsticker-html-renderer)
4933 (newsticker-show-news): Automatically load html rendering package
4934 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4935 because w3m-fill-column is let-bound" and the error "Symbol's value
4936 as variable is void: w3m-fill-column".
4937
4938 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
4939
4940 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4941 Release services only if they are defined. (Bug#9581)
4942
4943 2011-09-23 Richard Stallman <rms@gnu.org>
4944
4945 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4946 distinguish start of paragraph from start of its text.
4947
4948 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4949
4950 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4951 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4952 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4953
4954 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4955
4956 * international/mule-diag.el (mule-diag): Insert a newline after
4957 each fontset description.
4958
4959 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4960
4961 * simple.el (delete-trailing-whitespace):
4962 Document last change; simplify.
4963
4964 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4965
4966 * simple.el (delete-trailing-whitespace): Also delete
4967 extra newlines at the end of the buffer.
4968
4969 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4970 (picture-newline): Use forward-line so as to ignore fields.
4971
4972 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4973
4974 * subr.el (with-wrapper-hook): Fix edebug spec.
4975
4976 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
4978 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4979 (bug#4538).
4980
4981 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
4982
4983 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4984 Fix nasty bug using wrong cached values.
4985
4986 2011-09-23 Alan Mackenzie <acm@muc.de>
4987
4988 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4989
4990 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
4991
4992 * window.el (pop-to-buffer): Ensure right window is selected if we
4993 chose another frame.
4994
4995 2011-09-22 Eli Zaretskii <eliz@gnu.org>
4996
4997 * simple.el (what-cursor-position): Use get-char-property-change
4998 and next-single-char-property-change, to be able to show display
4999 properties that come from overlays as well as text properties.
5000
5001 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5002
5003 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5004
5005 * cmuscheme.el (run-scheme, switch-to-scheme):
5006 * cus-edit.el (customize-group, custom-buffer-create)
5007 (customize-browse):
5008 * info.el (info):
5009 * shell.el (shell):
5010 * mail/sendmail.el (mail):
5011 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5012
5013 2011-09-22 Richard Stallman <rms@gnu.org>
5014
5015 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5016 move back only to line beg, don't move back over blank lines.
5017
5018 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5019
5020 * files.el (copy-directory): Set directory attributes only in case
5021 they could be retrieved from the source directory. (Bug#9565)
5022
5023 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5024
5025 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5026 (hs-find-block-beginning, hs-hide-level-recursive):
5027 Ignore strings as well as comments. (Bug#9502)
5028
5029 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5030
5031 * progmodes/sql.el (sql-comint-postgres):
5032 Convert port number to a string. (Bug#9566)
5033
5034 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5035
5036 * window.el (quit-window): Undedicate window when switching to
5037 previous buffer. Reported by Thierry Volpiatto
5038 <thierry.volpiatto@gmail.com>.
5039 (special-display-popup-frame): When popping up a new frame reset
5040 its previous buffers to nil. Simplify code.
5041
5042 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5043
5044 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5045 and process filter, as done also in `shell-command'.
5046
5047 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5048
5049 * window.el (set-window-buffer-start-and-point):
5050 Call set-window-start with NOFORCE argument t.
5051 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5052 (quit-window): Reword doc-string. Handle new format of
5053 quit-restore parameter. Don't delete window if it has a
5054 previous buffer we can show instead of the present one.
5055 (display-buffer-record-window): Rewrite using a new format for
5056 the quit-restore window parameter
5057 (special-display-popup-frame, display-buffer-same-window)
5058 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5059 (display-buffer-pop-up-window, display-buffer-use-some-window):
5060 Adapt symbol passed to display-buffer-record-window.
5061 * help.el (help-window-setup): Handle new format of quit-restore
5062 parameter.
5063
5064 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * faces.el (face-list): Fix docstring (bug#9564).
5067
5068 * window.el (display-buffer--action-function-custom-type):
5069 Don't include internal functions in the Custom interface.
5070
5071 2011-09-20 Juri Linkov <juri@jurta.org>
5072
5073 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5074 (Info-forward-node, Info-backward-node, Info-next-preorder)
5075 (Info-last-preorder): Use it. (Bug#9528)
5076
5077 2011-09-20 Juri Linkov <juri@jurta.org>
5078
5079 * info.el (Info-last-preorder): Visit last menu item only when
5080 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5081
5082 2011-09-20 Julien Danjou <julien@danjou.info>
5083
5084 * password-cache.el (password-cache-remove): Remove entries even if the
5085 value is nil, so that password with a nil value (negative caching) is
5086 possible to invalidate.
5087
5088 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5089
5090 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5091 all whitespace around breakpoint. (Bug#9553)
5092 (f90-find-breakpoint): Only break at whitespace inside a comment.
5093
5094 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5095
5096 * minibuffer.el (completion-file-name-table): Keep track of errors.
5097 (completion-table-with-predicate): Handle the case where pred1 is nil.
5098 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5099
5100 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5103 (debugger-return-value): Signal an error if the debugging context does
5104 not await any return value.
5105
5106 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5107 * image-mode.el (image-toggle-display-text)
5108 (image-toggle-display-image): Stay away from evil `intangible'.
5109
5110 2011-09-19 Leo Liu <sdl.web@gmail.com>
5111
5112 * replace.el (occur-revert-arguments): Make it permanent-local.
5113 (occur-mode): Don't call font-lock-defontify.
5114
5115 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5116
5117 * net/ldap.el (ldap-search-internal): Don't push empty search
5118 result (Bug#9508).
5119
5120 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5123
5124 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5125
5126 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5127 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5128
5129 2011-09-18 Juri Linkov <juri@jurta.org>
5130
5131 * buff-menu.el (Buffer-menu-mode-map):
5132 * dired.el (dired-mode-map):
5133 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5134 (lisp-interaction-mode-map):
5135 * emacs-lisp/package.el (package-menu-mode-map):
5136 * epa.el (epa-key-list-mode-map):
5137 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5138 (menu-bar-options-menu):
5139 * outline.el (outline-mode-menu-bar-map):
5140 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5141 * vc/vc-dir.el (vc-dir-menu-map):
5142 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5143 Capitalize non-function content words in menu item strings.
5144
5145 * dired.el (dired-mode-map): Add menu item for
5146 `image-dired-dired-toggle-marked-thumbs'.
5147
5148 2011-09-18 Juri Linkov <juri@jurta.org>
5149
5150 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5151 to `isearch-case-fold-search' and restore its original value
5152 after the `isearch-mode' call.
5153
5154 2011-09-18 Juri Linkov <juri@jurta.org>
5155
5156 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5157 because `zgrep' returns 1 for successful matches (bug#9226).
5158
5159 2011-09-18 Juri Linkov <juri@jurta.org>
5160
5161 * info.el (Info-extract-menu-node-name): Check the second match
5162 for empty string (second test-case of bug#9528).
5163 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5164 intermediate nodes to the history (first test-case of bug#9528).
5165
5166 2011-09-18 Juri Linkov <juri@jurta.org>
5167
5168 * info.el (Info-mode-syntax-table): New variable.
5169 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5170
5171 2011-09-18 Juri Linkov <juri@jurta.org>
5172
5173 * info.el (Info-file-supports-index-cookies):
5174 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5175 outputs one more line for long file names (bug#4142).
5176
5177 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5178
5179 * newcomment.el (comment-normalize-vars): If prompting for
5180 comment-start, set comment-start-skip too (Bug#8424).
5181
5182 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5183
5184 * icomplete.el: Fix previous fix of Bug#5849.
5185 (icomplete-mode): Don't set completion-show-inline-help.
5186 (icomplete-minibuffer-setup): Set completion-show-inline-help
5187 locally during icompletion.
5188
5189 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5190
5191 * woman.el (woman2-process-escapes): Don't delete unrecognized
5192 escapes (Bug#7843).
5193
5194 * files.el (inhibit-first-line-modes-regexps): Add image files.
5195 (hack-local-variables-prop-line): Return nil for malformed
5196 prop-lines (Bug#9044).
5197
5198 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5199
5200 * net/tramp.el (top): Don't require 'shell.
5201 (tramp-methods): Fix docstring.
5202 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5203 Return complete remote file name. Handle "smb" case.
5204 Use `tramp-tmpdir', if defined for the respective method.
5205 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5206
5207 * net/tramp-compat.el (top): Require 'shell.
5208
5209 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5210 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5211 `tramp-current-host'.
5212 (tramp-get-remote-tmpdir): Remove.
5213
5214 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5215 `tramp-tmpdir' entries.
5216 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5217 (tramp-smb-handle-file-attributes): Ignore errors.
5218 (tramp-smb-wait-for-output): Check also for process end.
5219
5220 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5221
5222 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5223 when sending QUIT (bug#9312).
5224
5225 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5226
5227 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5228 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5229 occur-mode-display-occurrence.
5230 (occur-edit-mode): Add usage message.
5231 (occur-cease-edit): New command.
5232 (occur-after-change-function): Use text properties to find the
5233 position of the prefix text.
5234 (occur-engine): Set stickiness of prefix text properties.
5235
5236 2011-09-17 Glenn Morris <rgm@gnu.org>
5237
5238 * progmodes/etags.el (complete-tag):
5239 Fix call to completion-in-region. (Bug#9526)
5240
5241 2011-09-17 Juri Linkov <juri@jurta.org>
5242
5243 * textmodes/ispell.el (ispell-word): Add to the error message
5244 the word, ispell program name and current dictionary (bug#9121).
5245 (ispell-tex-arg-end): Capitalize "error" in the error message.
5246
5247 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5248
5249 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5250 check. (Bug#4251)
5251
5252 2011-09-17 Juri Linkov <juri@jurta.org>
5253
5254 * window.el (window-safe-min-height, window-safe-min-width):
5255 Fix typos (followup to bug#9522).
5256
5257 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5258
5259 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5260
5261 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5262
5263 * simple.el (line-move): If goal-column is set, move by logical
5264 lines, not by display lines. (Bug#971)
5265 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5266 to reflect the above change.
5267
5268 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5269
5270 * image.el (imagemagick-register-types): Use regexp-opt.
5271
5272 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5273
5274 * window.el (display-buffer-base-action): Rename from
5275 display-buffer-default-action. Make default value empty.
5276 (display-buffer-overriding-action): Convert to defvar.
5277 (display-buffer-fallback-action): New var.
5278
5279 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5280
5281 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5282 declaration.
5283 (package--add-to-archive-contents): If there is a duplicate entry
5284 with an older version, remove it.
5285 (package-menu-mark-delete, package-menu-mark-install)
5286 (package-menu-mark-unmark): Make unused args optional.
5287 (package-menu-mark-obsolete-for-deletion):
5288 Use package-menu-get-status instead of a regexp search.
5289 (package-menu-get-status): Use tabulated-list-entry.
5290 (package-menu-mark-upgrades): New command.
5291 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5292 (package-menu-execute): Do installation before deletion.
5293 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5294 instead of checking major-mode.
5295 (package-menu--find-upgrades): New function.
5296
5297 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5298
5299 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5300 passwords in the log buffer.
5301 (smtpmail-process-filter): Update the process marker so that the
5302 "broken by peer" status message is inserted in the right place.
5303
5304 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5307 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5308 bibtex-completion-at-point-function.
5309 (bibtex-completion-at-point-function): Use them.
5310
5311 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5312
5313 * mpc.el (mpc-constraints-tag-lookup): New function.
5314 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5315 also to browser "album|playlist".
5316
5317 2011-09-14 Juri Linkov <juri@jurta.org>
5318
5319 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5320 (isearch-edit-string): Use length of `isearch-string' when
5321 `isearch-fail-pos' returns nil.
5322 (isearch-message): Remove duplicate code and call
5323 `isearch-fail-pos' with arg `t'.
5324
5325 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5326
5327 * replace.el (occur-mode-goto-occurrence): Don't force using other
5328 window (Bug#9499).
5329
5330 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5331
5332 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5333
5334 * window.el (display-buffer-window): Remove.
5335 (display-buffer-record-window): Use help-setup window parameter
5336 instead of variable display-buffer-window.
5337 (display-buffer-function, special-display-buffer-names)
5338 (special-display-function): Mention help-setup parameter instead
5339 of display-buffer-window in doc-string.
5340 * help.el (help-window-setup): New argument help-window.
5341 Use help-window-setup parameter instead of display-buffer-window.
5342 Reword some messages.
5343 (with-help-window): Pass window used for displaying the buffer
5344 to help-window-setup. Don't set display-buffer-window.
5345
5346 2011-09-13 Glenn Morris <rgm@gnu.org>
5347
5348 * emacs-lisp/debug.el (debugger-make-xrefs):
5349 Preserve point. (Bug#9462)
5350
5351 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5352
5353 * window.el (window-deletable-p): Use next-frame.
5354
5355 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5356
5357 * window.el (window-auto-delete): Remove.
5358 (window-deletable-p): Remove argument FORCE. Don't deal with
5359 dedication and previous buffers.
5360 (switch-to-prev-buffer): Don't delete window.
5361 (delete-windows-on): Delete a window's frame if and only if the
5362 window is dedicated.
5363 (replace-buffer-in-windows): Delete buffer's window or frame if
5364 and only if window is dedicated.
5365 (quit-window): Handle quit-restore as before last change.
5366 (bury-buffer): Delete window only if window-deletable-p returns t.
5367
5368 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5369
5370 * window.el (window-deletable-p): Never delete the last frame on a
5371 given terminal.
5372
5373 2011-09-13 Glenn Morris <rgm@gnu.org>
5374
5375 * help.el (describe-key-briefly): Copy previous standard-output change.
5376
5377 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5378
5379 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5380
5381 2011-09-13 Glenn Morris <rgm@gnu.org>
5382
5383 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5384 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5385
5386 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5387
5388 * dired-aux.el (dired-mark-read-string): Don't return default
5389 value on empty input (Bug#9361).
5390 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5391 Omit initial minibuffer contents.
5392 (dired-do-chmod): Signal an error on empty input.
5393 (dired-mark-read-string): Don't return default on empty input.
5394
5395 * files.el (file-modes-symbolic-to-number): Doc fix.
5396
5397 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * international/mule-cmds.el (ucs-completions): Remove.
5400 (read-char-by-name): Use complete-with-action instead; add metadata.
5401
5402 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5403
5404 * window.el (display-buffer--action-function-custom-type)
5405 (display-buffer--action-custom-type): New vars.
5406 (display-buffer-alist, display-buffer-default-action)
5407 (display-buffer-overriding-action): Add defcustom types.
5408
5409 * frame.el (delete-other-frames): Doc fix (Bug#276).
5410
5411 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412
5413 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5414
5415 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5416
5417 Change modes that used same-window-* vars to use switch-to-buffer.
5418
5419 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5420 Use switch-to-buffer.
5421
5422 * cus-edit.el (customize-group, custom-buffer-create)
5423 (customize-browse, custom-buffer-create-other-window):
5424 Use switch-to-buffer or switch-to-buffer-other-window.
5425
5426 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5427 (Info-prev, Info-up, Info-speedbar-goto-node)
5428 (info-display-manual): Use switch-to-buffer.
5429 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5430
5431 * mail/sendmail.el (mail): Use switch-to-buffer.
5432 (mail-recover): Use switch-to-buffer-other-window.
5433
5434 * cmuscheme.el (run-scheme, switch-to-scheme):
5435 * ielm.el (ielm):
5436 * shell.el (shell):
5437 * net/rlogin.el (rlogin):
5438 * net/telnet.el (telnet, rsh):
5439 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5440
5441 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5442
5443 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5444
5445 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5446
5447 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5448 so don't mention it (bug#9301).
5449 (dired-sort-toggle-or-edit): Clarify string further.
5450
5451 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5452 match `x', `w32' and `ns', like the manual says (bug#9029).
5453
5454 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5455 (process-kill-buffer-query-function): Mention the buffer name in
5456 the query.
5457
5458 * image-mode.el (image-next-line): The line parameter is mandatory
5459 (bug#9258).
5460
5461 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5462 which can be useful (bug#9301).
5463
5464 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5465
5466 * subr.el (match-string): Mention that the current buffer should
5467 be the same as the search was done in (bug#9282).
5468
5469 * facemenu.el: Disable the remove-* commands if the mark isn't
5470 active (bug#9162).
5471
5472 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5473
5474 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5475 of display-buffer.
5476 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5477
5478 * replace.el (occur-mode-goto-occurrence)
5479 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5480 and display-buffer.
5481
5482 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5483 display-buffer.
5484
5485 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5486 special-display and same-window variables.
5487 (mail-other-window): Use switch-to-buffer-other-window.
5488 (mail-other-frame): USe switch-to-buffer-other-frame.
5489
5490 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5491 Use display-buffer-other-frame.
5492 (gdb-display-gdb-buffer): Use pop-to-buffer.
5493
5494 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5495
5496 * progmodes/python.el: Don't set same-window-buffer-names.
5497
5498 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5499
5500 * window.el (display-buffer-alist): Add *Python*.
5501
5502 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5503
5504 * window.el (display-buffer-alist): Add entry for buffers
5505 previously handled same-window-*.
5506 (display-buffer-alist, display-buffer-default-action)
5507 (display-buffer-overriding-action): Mark as risky.
5508 (display-buffer-alist): Document action function changes.
5509 (display-buffer--same-window-action)
5510 (display-buffer--other-frame-action): New variables.
5511 (switch-to-buffer, display-buffer-other-frame): Use them.
5512 (display-buffer): Rename reuse-frame entry to reusable-frames.
5513 (display-buffer-reuse-selected-window): Function deleted.
5514 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5515 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5516 (display-buffer-special): New function.
5517 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5518 display-buffer-reuse-or-pop-window. Split off special-display
5519 part into display-buffer-special.
5520 (display-buffer-use-some-window): Don't perform any special
5521 pop-up-frames handling.
5522 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5523 (display-buffer--maybe-same-window): Rename from
5524 display-buffer-maybe-same-window.
5525
5526 * info.el: Don't set same-window-regexps.
5527 (info-setup): New function.
5528 (info-other-window, info): Call it.
5529
5530 * cus-edit.el: Don't set same-window-regexps.
5531 (customize-group): New argument.
5532 (customize-group-other-window): Use it.
5533 (customize-face, customize-face-other-window): Likewise.
5534 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5535
5536 * net/rlogin.el:
5537 * net/telnet.el:
5538 * progmodes/gud.el: Don't set same-window-regexps.
5539
5540 * cmuscheme.el:
5541 * ielm.el:
5542 * shell.el:
5543 * mail/sendmail.el:
5544 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5545
5546 2011-09-10 Juri Linkov <juri@jurta.org>
5547
5548 * isearch.el (isearch-edit-string): Remove obsolete mention of
5549 `C-w' (`isearch-yank-word-or-char') from docstring.
5550 (isearch-query-replace): Fix typo in docstring (bug#9466).
5551
5552 2011-09-10 Juri Linkov <juri@jurta.org>
5553
5554 * paren.el (show-paren-function): Don't show escaped parens.
5555 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5556
5557 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5558
5559 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5560 (mm-default-file-encoding): Remove autoload forms, they are
5561 replaced with autoload cookies in mml.el and mm-encode.el.
5562 (mail-add-attachment): New command.
5563 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5564 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5565 the doc string.
5566 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5567
5568 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5569
5570 * simple.el (count-words-region): Use buffer if there's no region
5571 (bug#9429).
5572
5573 2011-09-09 Juri Linkov <juri@jurta.org>
5574
5575 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5576 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5577 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5578
5579 2011-09-09 Alan Mackenzie <acm@muc.de>
5580
5581 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5582 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5583
5584 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5585
5586 Fix for Savannah bug#9392.
5587 * simple.el (mail-encode-mml): New defvar.
5588
5589 * mail/rmail.el (mail-encode-mml): Add a defvar.
5590 (rmail-enable-mime-composing): Default to t.
5591 (rmail-forward): Use MIME method of forwarding only if both
5592 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5593 Set mail-encode-mml non-nil if the MIME method was used.
5594
5595 * mail/sendmail.el (mml-to-mime): Add autoload form.
5596 (mail-encode-mml): Add a defvar.
5597 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5598 to nil.
5599 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5600 message through mml-to-mime, and reset mail-encode-mml to nil.
5601
5602 2011-09-09 Glenn Morris <rgm@gnu.org>
5603
5604 * woman.el (woman-if-body): When processing an .el block,
5605 do not delete the next .el block as well. (Bug#9447)
5606 (woman-special-characters): Add oq, cq, and hy characters.
5607
5608 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5609
5610 * window.el (window-deletable-p): Make sure window is live before
5611 invoking window-prev-buffers.
5612
5613 2011-09-08 Leo Liu <sdl.web@gmail.com>
5614
5615 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5616
5617 2011-09-08 Juri Linkov <juri@jurta.org>
5618
5619 * progmodes/compile.el (compilation-environment): Make it
5620 a defcustom (bug#8340).
5621
5622 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5623
5624 * window.el (frame-auto-delete): Rename to window-auto-delete.
5625 Make it control auto-deletion of windows and/or frames.
5626 (window-deletable-p): New argument FORCE. Rewrite conditions
5627 for deleting window/frame. (Bug#9419)
5628 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5629 Rewrite handling of case when window/frame can be deleted.
5630 (delete-windows-on): Call window-deletable-p with new FORCE
5631 argument t. (Bug#9456)
5632
5633 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5634
5635 * help-mode.el (help-mode): Restore autoload.
5636
5637 2011-09-07 Juri Linkov <juri@jurta.org>
5638
5639 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5640 `compilation-environment'. Set buffer-local
5641 `compilation-environment' to `thisenv' later after (funcall mode).
5642 (Bug#8340)
5643
5644 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5645 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5646 instead of replacing its value. (Bug#8340)
5647
5648 2011-09-07 Juri Linkov <juri@jurta.org>
5649
5650 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5651 based on text properties put by `grep-filter' instead of matching
5652 escape sequences.
5653 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5654 to the value of `grep-error-screen-columns' (bug#9438).
5655
5656 2011-09-07 Juri Linkov <juri@jurta.org>
5657
5658 * simple.el (next-error-highlight, next-error-highlight-no-select):
5659 Doc fix (bug#9432).
5660
5661 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5662
5663 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5664 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5665
5666 2011-09-07 Leo Liu <sdl.web@gmail.com>
5667
5668 * net/rcirc.el (rcirc-mode): Conditionally initialize
5669 rcirc-input-ring.
5670
5671 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * emacs-lisp/find-func.el (find-function-C-source): Only set
5674 find-function-C-source-directory after checking that we found a source
5675 file there (bug#9440).
5676
5677 2011-09-06 Alan Mackenzie <acm@muc.de>
5678
5679 * isearch.el (isearch-other-meta-char): Wherever a key list is
5680 unread, "unread" the prefix arg, too. This fixes bug #8901.
5681
5682 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5683
5684 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5685
5686 2011-09-05 Juri Linkov <juri@jurta.org>
5687
5688 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5689
5690 2011-09-05 Juri Linkov <juri@jurta.org>
5691
5692 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5693 keeping point where processing of grep matches begins, and
5694 continue to delete remaining escape sequences from the same point.
5695 (grep-filter): Make leading zero optional in "0?1;31m" because
5696 git-grep emits "\033[1;31m" escape sequences unlike expected
5697 "\033[01;31m" as GNU Grep does (bug#9408).
5698 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5699
5700 2011-09-05 Juri Linkov <juri@jurta.org>
5701
5702 * subr.el (y-or-n-p): Capitalize "yes".
5703
5704 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
5705
5706 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5707 `tramp-cache-unload-hook' where appropriate.
5708 (tramp-methods): Rename `tramp-remote-sh' to
5709 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5710 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5711
5712 * net/tramp-sh.el (top): Don't require 'shell.
5713 (tramp-methods): Add `tramp-remote-shell' and
5714 `tramp-remote-shell-args' entries.
5715 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5716 (tramp-sh-handle-shell-command): Remove.
5717 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5718 Use `tramp-remote-shell'.
5719
5720 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
5721
5722 * mail/sendmail.el (sendmail-query-once-function): Delete.
5723 (sendmail-query-once): Save directly to send-mail-function.
5724 Update message-send-mail-function too.
5725
5726 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5727
5728 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5729
5730 * progmodes/python.el (python-mode-map): Use correct function to
5731 start python interpreter from menu-bar (as reported by Geert
5732 Kloosterman).
5733 (inferior-python-mode-map): Fix typo.
5734 (python-shell-map): Remove.
5735
5736 2011-09-03 Deniz Dogan <deniz@dogan.se>
5737
5738 * net/rcirc.el (rcirc-print): Simplify code for
5739 rcirc-scroll-show-maximum-output. There is no need to walk
5740 through all windows to find the right one.
5741
5742 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5743
5744 * help.el (help-return-method): Doc fix.
5745
5746 2011-09-03 Martin Rudalics <rudalics@gmx.at>
5747
5748 * window.el (window-deletable-p): Don't return a non-nil value
5749 when there's a buffer that was shown in the window before.
5750 (Bug#9419)
5751 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5752 Set window's previous buffers to nil.
5753
5754 2011-09-03 Eli Zaretskii <eliz@gnu.org>
5755
5756 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5757 newline before and after the tag line, so it doesn't interfere
5758 with determining the paragraph direction of bidirectional text.
5759
5760 2011-09-03 Leo Liu <sdl.web@gmail.com>
5761
5762 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5763
5764 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5765
5766 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5767 (pop-to-buffer): Change interactive spec. Pass second argument
5768 directly to display-buffer.
5769 (display-buffer): Fix interactive spec. Use functionp to
5770 distinguish between a function and a list of functions.
5771
5772 * abbrev.el (edit-abbrevs):
5773 * arc-mode.el (archive-extract):
5774 * autoinsert.el (auto-insert):
5775 * bookmark.el (bookmark-bmenu-list):
5776 * files.el (find-file):
5777 * view.el (view-buffer):
5778 * progmodes/compile.el (compilation-goto-locus):
5779 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5780
5781 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5782
5783 * window.el (display-buffer-alist): Doc fix.
5784 (display-buffer): Add docstring. Don't treat
5785 display-buffer-default specially.
5786 (display-buffer-reuse-selected-window)
5787 (display-buffer-same-window, display-buffer-maybe-same-window)
5788 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5789 (display-buffer-pop-up-window)
5790 (display-buffer-reuse-or-pop-window)
5791 (display-buffer-use-some-window): New functions.
5792 (display-buffer-default-action): Use them.
5793 (display-buffer-default): Delete.
5794 (pop-to-buffer-1): Fix choice of actions.
5795
5796 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * minibuffer.el (completion--insert-strings): Don't get confused by
5799 completion entries that end with an LF char.
5800
5801 2011-09-01 Eli Zaretskii <eliz@gnu.org>
5802
5803 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5804
5805 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
5806
5807 * window.el (display-buffer): Restore interactive spec.
5808 (display-buffer-same-window, display-buffer-other-window):
5809 New functions.
5810 (pop-to-buffer-1): New function. Use the above.
5811 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5812 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5813
5814 * view.el (view-buffer-other-window, view-buffer-other-frame):
5815 Just use pop-to-buffer.
5816
5817 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5818
5819 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5820
5821 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5822
5823 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5824
5825 2011-08-31 Richard Stallman <rms@gnu.org>
5826
5827 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5828 of the separation of rmail-view-buffer from rmail-buffer.
5829 If you say no to "replace original", the decrypt is in the
5830 view buffer. If you say yes, the decrypt goes into the
5831 rmail buffer also.
5832
5833 2011-08-31 Martin Rudalics <rudalics@gmx.at>
5834
5835 * window.el (display-buffer-window): Rewrite doc-string.
5836 (display-buffer-record-window): New function.
5837 (display-buffer-macro-specifiers)
5838 (display-buffer-even-window-sizes, display-buffer-set-height)
5839 (display-buffer-set-width, display-buffer-in-window)
5840 (display-buffer-reuse-window, display-buffer-split-specifiers)
5841 (display-buffer-side-specifiers, display-buffer-split-window-1)
5842 (display-buffer-split-window, display-buffer-split-atom-window)
5843 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5844 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5845 (display-buffer-other-window-means-other-frame)
5846 (display-buffer-normalize-special)
5847 (display-buffer-normalize-default)
5848 (display-buffer-normalize-argument)
5849 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5850 (display-buffer-normalize-specifiers, display-buffer-frame)
5851 (display-buffer-same-window, display-buffer-same-frame)
5852 (display-buffer-other-window)
5853 (display-buffer-same-frame-other-window)
5854 (display-buffer-other-frame, pop-to-buffer-same-window)
5855 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5856 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5857 (switch-to-buffer-same-frame)
5858 (switch-to-buffer-other-window-same-frame)
5859 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5860 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5861 (display-buffer-alist-set): Remove.
5862 (display-buffer-function, special-display-buffer-names)
5863 (special-display-regexps, special-display-function):
5864 In doc-string refer to display-buffer-window and quit-restore
5865 parameter.
5866 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5867 (special-display-frame-alist, special-display-popup-frame)
5868 (same-window-buffer-names, same-window-regexps, same-window-p)
5869 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5870 (split-window-preferred-function, split-height-threshold)
5871 (split-width-threshold, window-splittable-p)
5872 (split-window-sensibly, window--try-to-split-window)
5873 (window--frame-usable-p, even-window-heights)
5874 (window--even-window-heights, window--display-buffer-1)
5875 (window--display-buffer-2, display-buffer-other-frame):
5876 Restore old Emacs 23 code, order and doc-strings where applicable.
5877 (display-buffer-default, display-buffer-assq-regexp): New functions.
5878 (display-buffer-alist): Rewrite doc-string.
5879 (display-buffer-default-action)
5880 (display-buffer-overriding-action): New variables.
5881 (display-buffer, switch-to-buffer): Rewrite.
5882 (pop-to-buffer): Restore Emacs 23 behavior but use
5883 window-normalize-buffer-to-display.
5884 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5885 Restore Emacs 23 behavior but use
5886 window-normalize-buffer-to-switch-to.
5887 (pop-to-buffer-same-window): Rewrite.
5888 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5889 Rewrite using Emacs 23 options.
5890
5891 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * net/tramp.el (tramp-root-regexp): Remove.
5894 (tramp-completion-file-name-regexp-unified)
5895 (tramp-completion-file-name-regexp-separate)
5896 (tramp-completion-file-name-regexp-url): Don't use leading volume
5897 letter on win32 systems. (Bug#5303, Bug#9311)
5898 (tramp-drop-volume-letter): Simplify definition.
5899 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5900
5901 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5904 (bug#9356).
5905
5906 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5907
5908 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5909
5910 2011-08-29 Juri Linkov <juri@jurta.org>
5911
5912 * isearch.el (isearch-done): Don't display message "Mark saved"
5913 when arg `edit' is non-nil to prevent its flicker in the echo area.
5914
5915 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5916
5917 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5918 obsolete packages for deletion.
5919
5920 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5921
5922 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5923 (help-mode): Derive help-mode from special-mode. Don't invoke
5924 view-mode from help-mode.
5925 (help-xref-override-view-map): Remove.
5926 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5927 view-mode is not used anymore.
5928
5929 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5930
5931 * server.el (server-port): Doc fix.
5932
5933 * cus-theme.el (custom-theme-choose-mode): Inherit from
5934 special-mode (Bug#9124).
5935 (custom-theme-choose-mode-map): Add special-mode to parent.
5936
5937 2011-08-28 Alan Mackenzie <acm@muc.de>
5938
5939 * progmodes/cc-fonts.el
5940 (c-make-font-lock-BO-decl-search-function): New function.
5941 (c-basic-matchers-after - "Fontify the clauses after various
5942 keywords"): Extract the three keyword lists for the 3 erroneous
5943 constructs from the list of four, and use the new function above
5944 in place of an old one.
5945
5946 2011-08-28 Deniz Dogan <deniz@dogan.se>
5947
5948 * net/rcirc.el (rcirc-insert-prev-input)
5949 (rcirc-insert-next-input): Remove unused argument.
5950
5951 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5954
5955 2011-08-27 Alan Mackenzie <acm@muc.de>
5956
5957 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5958 handle function pointer parameters properly.
5959
5960 2011-08-27 Martin Rudalics <rudalics@gmx.at>
5961
5962 * window.el (display-buffer-reuse-window): Fix case where
5963 selected window was reused with non-nil OTHER-WINDOW argument.
5964 (Bug#9381)
5965
5966 2011-08-27 Deniz Dogan <deniz@dogan.se>
5967
5968 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5969 oftc's NickServ messages.
5970
5971 2011-08-27 Glenn Morris <rgm@gnu.org>
5972
5973 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5974
5975 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
5976
5977 * emacs-lisp/package.el (package-install): Call package-initialize
5978 if called interactively.
5979
5980 2011-08-26 Leo Liu <sdl.web@gmail.com>
5981
5982 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5983
5984 2011-08-25 Juri Linkov <juri@jurta.org>
5985
5986 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5987 `search-whitespace-regexp' (bug#9364).
5988
5989 2011-08-25 Juri Linkov <juri@jurta.org>
5990
5991 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5992 `regexp-search-ring' to their global values to protect from
5993 updating by `read-from-minibuffer' (bug#9185).
5994
5995 2011-08-25 Juri Linkov <juri@jurta.org>
5996
5997 * textmodes/ispell.el (ispell-command-loop): Add newline
5998 at the end of the "Use option `i'..." line.
5999
6000 2011-08-25 Juri Linkov <juri@jurta.org>
6001
6002 * battery.el (display-battery-mode): If `battery-status-function'
6003 or `battery-mode-line-format' is nil, display the message and set
6004 `display-battery-mode' to nil (bug#9363).
6005
6006 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6007
6008 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6009 bidi-string-mark-left-to-right; they are unnecessary now.
6010
6011 2011-08-25 Deniz Dogan <deniz@dogan.se>
6012
6013 * net/quickurl.el: Documentation typo fixes.
6014
6015 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6016
6017 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6018
6019 2011-08-25 Glenn Morris <rgm@gnu.org>
6020
6021 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6022
6023 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6024 (smtpmail-via-smtp): Handle nil response from smtp.
6025
6026 2011-08-24 Juri Linkov <juri@jurta.org>
6027
6028 * proced.el (proced-marked): Inherit from `error' instead of
6029 `font-lock-warning-face'.
6030
6031 * ibuffer.el (ibuffer-marked-face): Change default face from
6032 `font-lock-warning-face' to `warning'.
6033 (ibuffer-deletion-face): Change default face from
6034 `font-lock-type-face' to `error'.
6035
6036 * battery.el (battery-update): Use the face `error' instead of
6037 `font-lock-warning-face' (bug#6117).
6038
6039 2011-08-24 Juri Linkov <juri@jurta.org>
6040
6041 * faces.el (success): Change face color from "Green3" to
6042 "ForestGreen" on light background (bug#9353).
6043
6044 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6045
6046 * window.el (quit-window): Rename from quit-restore-window.
6047 Use same arglist as old quit-window.
6048 (frame-auto-delete): Doc fix.
6049
6050 * view.el (view-mode-exit): Use quit-window.
6051
6052 2011-08-24 Juri Linkov <juri@jurta.org>
6053
6054 * isearch.el (isearch-ring-adjust1): Start visiting previous
6055 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6056 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6057 for empty search string (when the last search string is reused
6058 automatically) to adjust the isearch ring to the last element and
6059 prepare the correct index for further M-p commands (bug#9185).
6060
6061 2011-08-24 Kenichi Handa <handa@m17n.org>
6062
6063 * international/ucs-normalize.el: If decomposition property of
6064 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6065 nil.
6066 (nfd, nfkd): Likewise.
6067
6068 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6071 from process filters aren't reliably transmitted to the surrounding
6072 accept-process-output.
6073 (mpc-proc-check): New function.
6074 (mpc-proc-sync): Use it (bug#8293)
6075
6076 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6079 Add compatibility functions (bug#9313).
6080
6081 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6082
6083 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6084
6085 * international/uni-bidi.el: Regenerate.
6086
6087 2011-08-23 Kenichi Handa <handa@m17n.org>
6088
6089 * international/charprop.el:
6090 * international/uni-bidi.el:
6091 * international/uni-category.el:
6092 * international/uni-combining.el:
6093 * international/uni-comment.el:
6094 * international/uni-decimal.el:
6095 * international/uni-decomposition.el:
6096 * international/uni-digit.el:
6097 * international/uni-lowercase.el:
6098 * international/uni-mirrored.el:
6099 * international/uni-name.el:
6100 * international/uni-numeric.el:
6101 * international/uni-old-name.el:
6102 * international/uni-titlecase.el:
6103 * international/uni-uppercase.el: Regenerate.
6104
6105 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6106
6107 * help.el (help-window-setup): Fix message displayed when other
6108 window is reused. (Bug#9341)
6109
6110 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6113 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6114
6115 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6116 Mark obsolete.
6117 * shell.el (shell-parse-pcomplete-arguments): New function.
6118 (shell-completion-vars): Use it instead (bug#9160).
6119
6120 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6123 strings and comments (bug#9333).
6124
6125 * emacs-lisp/debug.el (debug-arglist): New function.
6126 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6127 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6128
6129 2011-08-22 Juri Linkov <juri@jurta.org>
6130
6131 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6132 Revert regexp that highlights output switches to its old
6133 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6134
6135 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6136 to check for empty output (bug#9226).
6137
6138 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6139
6140 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6141 symbol-constituent as the default, as that stops font-lock from
6142 working properly (Bug#8843).
6143
6144 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6145
6146 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6147 `coding-system-for-*' around the process open call to avoid
6148 auth-source side effects.
6149 (smtpmail-try-auth-methods): Expand the secret password.
6150 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6151 probe hangs.
6152
6153 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6154
6155 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6156
6157 * emacs-lisp/find-func.el (find-function-noselect): New arg
6158 lisp-only.
6159
6160 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6161 signal an error for built-in functions (Bug#6664).
6162
6163 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6164
6165 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6166 (smtpmail-try-auth-methods): Use it.
6167
6168 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * font-lock.el (font-lock-fontify-region)
6171 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6172 (font-lock-default-unfontify-buffer)
6173 (font-lock-default-fontify-region)
6174 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6175
6176 * progmodes/compile.el (compilation-error-properties):
6177 Fix confusion between file struct and message struct (Bug#9319).
6178 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6179 `ant' regexp.
6180
6181 * net/browse-url.el (browse-url-firefox): Don't call
6182 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6183
6184 2011-08-20 Glenn Morris <rgm@gnu.org>
6185
6186 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6187
6188 * tutorial.el (tutorial--default-keys): Update some default bindings.
6189
6190 * files.el (hack-local-variables): Fully ignore case for "mode:".
6191
6192 2011-08-20 Alan Mackenzie <acm@muc.de>
6193
6194 Resolve invalid use of a regexp in regexp-opt.
6195
6196 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6197 detection for a java annotation.
6198
6199 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6200 detection for a java annotation.
6201
6202 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6203 handling for java.
6204 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6205
6206 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6207
6208 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6209 (Bug#9274).
6210
6211 2011-08-20 Alan Mackenzie <acm@muc.de>
6212
6213 Fontify CPP expressions correctly when starting in the middle of
6214 such a construct. Mainly for when jit-lock etc. starts a chunk
6215 here.
6216
6217 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6218 variable.
6219 (c-make-font-lock-search-form): New function, extracted from
6220 c-make-font-lock-search-function.
6221 (c-make-font-lock-search-function): Use the above function.
6222 (c-make-font-lock-context-search-function): New function.
6223 (c-cpp-matchers): Enhance the preprocessor expression case with
6224 the above function
6225 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6226 which takes an expression.
6227
6228 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6229
6230 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6231
6232 * window.el (display-buffer-reuse-window)
6233 (display-buffer-pop-up-window): Don't reuse or split a side
6234 window.
6235
6236 2011-08-19 Glenn Morris <rgm@gnu.org>
6237
6238 * files.el (hack-local-variables-prop-line, hack-local-variables):
6239 Downcase "Mode:". (Bug#9331)
6240
6241 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6242
6243 * international/characters.el: Add L and R categories.
6244
6245 * subr.el (bidi-string-mark-left-to-right): Rename from
6246 string-mark-left-to-right. Use category search.
6247
6248 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6249
6250 2011-08-18 Juri Linkov <juri@jurta.org>
6251
6252 * faces.el (error, warning, success): New faces with definitions
6253 copied from old default values of `font-lock-warning-face',
6254 `compilation-warning', `compilation-info' (bug#6117).
6255
6256 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6257
6258 * progmodes/compile.el (compilation-error): Inherit from `error'.
6259 (compilation-warning): Inherit from `warning'.
6260 (compilation-info): Inherit from `success'.
6261
6262 * dired.el (dired-marked): Inherit from `warning'.
6263 (dired-flagged): Inherit from `error'.
6264
6265 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6266
6267 * mail/smtpmail.el (auth-source): Require to avoid problems with
6268 binding variables (bug#9298). Also clean up some unused
6269 autoloads.
6270
6271 * net/network-stream.el (network-stream-open-starttls):
6272 Support using starttls.el without using gnutls-cli.
6273
6274 2011-08-17 Juri Linkov <juri@jurta.org>
6275
6276 * progmodes/grep.el (rgrep): Handle the case when
6277 `grep-find-command' is a cons cell (bug#9278).
6278
6279 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6280
6281 * window.el (display-buffer-pop-up-frame): Run frame creation
6282 function with BUFFER current (as special-display-popup-frame
6283 does). Reported by Drew Adams.
6284
6285 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6286
6287 * epa-mail.el: Simplify GnuPG group expansion using
6288 epg-expand-group.
6289 (epa-mail-group-alist, epa-mail-group-modtime)
6290 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6291 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6292 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6293 Remove.
6294
6295 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6296
6297 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6298
6299 2011-08-16 Alan Mackenzie <acm@muc.de>
6300
6301 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6302 Correct, to avoid the inside of macros.
6303
6304 2011-08-16 Richard Stallman <rms@gnu.org>
6305
6306 * epa-mail.el: Handle GnuPG group definitions.
6307 (epa-mail-group-alist, epa-mail-group-modtime)
6308 (epa-mail-gnupg-conf-file): New variables.
6309 (epa-mail-parse-groups, epa-mail-sync-groups)
6310 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6311 (epa-mail-expand-recipients): New functions.
6312 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6313
6314 * mail/rmail.el (rmail-epa-decrypt): New command.
6315
6316 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6317 Don't bind buffer-read-only, just inhibit-read-only.
6318 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6319 (epa-decrypt-armor-in-region): Make error message clearer.
6320
6321 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6324 and "a2b" to "ab" for `prefix'.
6325
6326 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6327
6328 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6329 filter groups.
6330 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6331 Fourquet (Bug#8804).
6332
6333 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * startup.el (argi): Declare as global variable (bug#9275).
6336
6337 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6338
6339 * subr.el (string-mark-left-to-right): Search the entire string
6340 for RTL script, not just the terminating character. Doc fix.
6341
6342 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6345 New function.
6346 (js--regexp-literal, js-syntax-propertize-function): Remove.
6347 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6348 (js-mode-map): Don't rebind electric keys.
6349 (js-insert-and-indent): Remove.
6350 (js-mode): Setup electric-layout and electric-indent instead.
6351
6352 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6353
6354 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6355
6356 * epa.el (epa-progress-callback-function): Fix the logic of
6357 displaying progress.
6358 * epa-file.el (epa-file-insert-file-contents): Make progress
6359 display more user-friendly.
6360 (epa-file-write-region): Ditto.
6361
6362 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6363
6364 * subr.el (string-mark-left-to-right): New function.
6365
6366 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6367 Use string-mark-left-to-right.
6368 (list-buffers-noselect): Caller changed.
6369
6370 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6371 Use string-mark-left-to-right.
6372 (tabulated-list-print): Recenter after moving point.
6373
6374 2011-08-10 Juri Linkov <juri@jurta.org>
6375
6376 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6377 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6378 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6379
6380 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6381
6382 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6383 (Bug#7554).
6384
6385 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6386
6387 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6388 character. (Bug#6594)
6389
6390 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6391
6392 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6393 (image-dired--with-db-file): New macro.
6394 (image-dired-write-tags, image-dired-remove-tag)
6395 (image-dired-create-gallery-lists, image-dired-write-comments)
6396 (image-dired-get-comment, image-dired-mark-tagged-files)
6397 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6398 (image-dired-gallery-generate): Use insert-file-contents.
6399
6400 * time.el (display-time-world-list, display-time-world-display):
6401 * time-stamp.el (time-stamp-string):
6402 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6403 set-time-zone-rule (Bug#7337).
6404
6405 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6406
6407 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6408 (epg-error-to-string, epg-errors-to-string): New function.
6409 (epg-wait-for-completion): Reverse errors list.
6410 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6411 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6412 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6413 (epg-sign-keys, epg-generate-key-from-file)
6414 (epg-generate-key-from-string): Format errors by using
6415 epg-errors-to-string (bug#9255).
6416 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6417
6418 2011-08-07 Juri Linkov <juri@jurta.org>
6419
6420 * faces.el (list-faces-display): Remove extra angle bracket
6421 from `help-mode-map'.
6422
6423 * info.el (Info-history-toc-nodes): Doc fix.
6424
6425 * longlines.el (longlines-mode): Doc fix.
6426
6427 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6428
6429 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6430 of statements and in a few more cases (bug#9183).
6431
6432 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6433 New functions.
6434 (cl-transform-lambda): Use them (bug#9239).
6435
6436 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6437
6438 * window.el (display-buffer-same-window)
6439 (display-buffer-same-frame, display-buffer-other-window)
6440 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6441 (pop-to-buffer-other-window)
6442 (pop-to-buffer-same-frame-other-window)
6443 (pop-to-buffer-other-frame): Make them defuns.
6444 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6445
6446 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * subr.el (make-composed-keymap): Move from C. Change calling
6449 convention, and improve docstring to bring attention to a subtle point.
6450 * minibuffer.el (completing-read-default): Adjust accordingly.
6451
6452 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6453
6454 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6455 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6456
6457 * net/trampver.el: Update release number.
6458
6459 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6460
6461 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6462 "in" (bug#9190).
6463
6464 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6465
6466 * mail/sendmail.el (sendmail-query-once): Restore the current
6467 buffer after querying (bug#9074).
6468
6469 * dired.el (dired-flagged): Use different faces for marked and
6470 flagged files (bug#6117).
6471
6472 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6473 (bug#4433).
6474
6475 * ido.el (ido-mode): Switch off the message if called
6476 non-interactively.
6477
6478 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6479 before 587, since it appears that that's more likely to work for
6480 more people.
6481
6482 * cus-edit.el (custom-file): When running under emacs -q, always
6483 refuse to save the customizations, even if the .emacs file doesn't
6484 exist.
6485
6486 * info.el: Remove the `Info-beginning-of-buffer' function
6487 (bug#8325).
6488
6489 * net/network-stream.el (network-stream-open-starttls):
6490 Use `starttls-available-p' to see whether starttls.el can be used.
6491
6492 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6493
6494 * window.el (display-buffer-in-window): Don't set dedicated status
6495 of window here (Bug#9215).
6496 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6497 (display-buffer-pop-up-side-window)
6498 (display-buffer-in-side-window): Set dedicated status of window here.
6499
6500 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6503 before binding generated-autoload-file.
6504
6505 2011-08-01 Deniz Dogan <deniz@dogan.se>
6506
6507 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6508
6509 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6510
6511 Sync with Tramp 2.2.2.
6512
6513 * net/trampver.el: Update release number.
6514
6515 2011-07-30 Juri Linkov <juri@jurta.org>
6516
6517 * dired-aux.el (dired-touch-initial): Remove function.
6518 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6519 current time, and `default' to the last modification time of the
6520 current marked file (bug#6887).
6521
6522 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6523
6524 * simple.el (goto-line): Use string-to-number to provide a
6525 numeric argument to read-number (bug#9163).
6526
6527 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6528
6529 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6530 connection process, it could be nil.
6531
6532 2011-07-27 Leo Liu <sdl.web@gmail.com>
6533
6534 Simplify url handling in rcirc-mode.
6535
6536 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6537 (rcirc-browse-url-at-mouse): Remove.
6538 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6539
6540 2011-07-26 Alan Mackenzie <acm@muc.de>
6541
6542 Fontify bitfield declarations properly.
6543
6544 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6545 (c-symbol-chars): Now exported as a lang variable.
6546 (c-not-primitive-type-keywords): New lang variable.
6547
6548 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6549 QT keyword "more" to prevent "more slots: ...." being spuriously
6550 parsed as a bitfield declaration.
6551
6552 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6553 Refactor and enhance to handle bitfield declarations.
6554 (c-punctuation-in): New function.
6555 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6556 declarations properly.
6557
6558 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6559
6560 * calendar/icalendar.el (icalendar--all-events): Take care of
6561 multiple vcalendars in a single file.
6562 (icalendar--convert-float-to-ical): Checkdoc fixes.
6563
6564 2011-07-25 Deniz Dogan <deniz@dogan.se>
6565
6566 * image.el (insert-image): Clarifying docstring.
6567
6568 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6571 `tramp-send-command-and-check' if there is no error.
6572 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6573
6574 2011-07-22 Alan Mackenzie <acm@muc.de>
6575
6576 Prevent cc-langs.elc being loaded at run time.
6577
6578 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6579 cc-langs.
6580
6581 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6582 "(require 'cc-langs)". Quote a form so it will evaluate at
6583 (cc-mode's) compilation time.
6584
6585 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6586
6587 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6588 loading. (Bug#9114)
6589
6590 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6591
6592 * window.el (display-buffer-pop-up-window)
6593 (display-buffer-pop-up-side-window)
6594 (display-buffer-in-side-window): Call display-buffer-set-height
6595 and display-buffer-set-width after setting the new window's
6596 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6597
6598 2011-07-20 Sam Steingold <sds@gnu.org>
6599
6600 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6601 (etags-tags-included-tables): Call `convert-standard-filename' on
6602 the file names contained in TAGS so that windows Emacs can handle
6603 TAGS files created by cygwin ctags.
6604
6605 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6606
6607 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6608 which apparently didn't work.
6609
6610 2011-07-19 Roland Winkler <winkler@gnu.org>
6611
6612 * proced.el (proced-send-signal): For *Marked Processes* buffer
6613 put point at beginning of buffer.
6614
6615 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6616
6617 * proced.el (proced-format): Make header lines align with the text
6618 (bug#1779).
6619
6620 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6621
6622 * view.el (view-buffer): Allow running in `special' modes if we're
6623 visiting a file (bug#8615).
6624
6625 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6626
6627 * window.el (display-buffer-alist-of-strings-p)
6628 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6629 New functions.
6630 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6631 more accurately.
6632
6633 2011-07-18 Alan Mackenzie <acm@muc.de>
6634
6635 Fontify declarators properly when, e.g., a jit-lock chunk begins
6636 inside a declaration.
6637
6638 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6639
6640 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6641 New function.
6642 (c-complex-decl-matchers): Insert reference to
6643 c-font-lock-enclosing-decls.
6644
6645 * progmodes/cc-engine.el (c-backward-single-comment):
6646 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6647 to nil around calls to (forward-comment -1).
6648
6649 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6650
6651 * image.el (put-image): Doc typo fix.
6652
6653 * progmodes/etags.el (tags-search): Doc typo fix.
6654
6655 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6656 password if we get errors 550 to 554.
6657
6658 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6659
6660 * net/gnutls.el (gnutls-log-level): Remove.
6661
6662 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6663 indentation character (bug#6380).
6664
6665 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6666
6667 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6668 to clarify what the problem is (bug#4291).
6669
6670 * simple.el (current-kill): Clarify what
6671 `interprogram-paste-function' does (bug#7500).
6672 (auto-fill-mode): Document `auto-fill-function' in relation to
6673 `auto-fill-mode' (bug#2470).
6674
6675 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6676
6677 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6678 method if slot is read-only (bug#9035).
6679
6680 2011-07-16 Martin Rudalics <rudalics@gmx.at>
6681
6682 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6683 * window.el (pop-to-buffer): Select window used even if it was
6684 selected before, see discussion of (Bug#8615), (Bug#6954).
6685 Pass argument NORECORD on to select-frame-set-input-focus.
6686
6687 2011-07-15 Glenn Morris <rgm@gnu.org>
6688
6689 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6690 Respect help-form.
6691
6692 2011-07-09 Lawrence Mitchell <wence@gmx.li>
6693
6694 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6695 (gnutls-negotiate): Use it.
6696
6697 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6698
6699 * net/gnutls.el (gnutls-negotiate):
6700 Upcase `gnutls-algorithm-priority'.
6701
6702 2011-07-15 Glenn Morris <rgm@gnu.org>
6703
6704 * jka-compr.el (jka-compr-verbose): Move from here...
6705 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6706 Add missing :version tag.
6707 * info.el: No need to require jka-compr when compiling.
6708
6709 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6710
6711 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6712 (gnutls-negotiate): Use it.
6713
6714 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6715
6716 * info.el (Info-beginning-of-buffer): New command.
6717 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6718 announcing `b' as the key (bug#8325).
6719 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6720
6721 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6722
6723 * international/mule-cmds.el
6724 (describe-specified-language-support): Make the error message
6725 clearer (bug#8905).
6726
6727 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6728
6729 * isearch.el (isearch-barrier): Add a doc string, since it's
6730 mentioned in a function doc string (bug#8678).
6731
6732 2011-07-15 Martin Rudalics <rudalics@gmx.at>
6733
6734 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6735 buffer argument (Bug#9083) and self-identifying label argument.
6736
6737 2011-07-15 Glenn Morris <rgm@gnu.org>
6738
6739 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6740
6741 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6742
6743 * man.el (Man-fontify-manpage): Fix message when formatting the
6744 man page (bug#7929).
6745
6746 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6747
6748 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6749 argument LRM; if non-nil, append an invisible LRM character to the
6750 buffer name.
6751 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6752 last argument non-nil, when formatting buffer names.
6753 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6754 paragraph direction.
6755
6756 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757
6758 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6759 the man page name (bug#7929).
6760
6761 * image.el (put-image): Mention the `put-image' overlay property
6762 (bug#7834).
6763
6764 * scroll-bar.el (set-scroll-bar-mode): Mention that
6765 `scroll-bar-mode' lists the values (bug#7772).
6766
6767 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6768 command (bug#7729).
6769
6770 * rect.el (apply-on-rectangle): Return the point after the last
6771 operation.
6772 (string-rectangle): Go to the point after the last operation
6773 (bug#7522).
6774
6775 * printing.el (pr-toggle-region): Clarify the documentation
6776 slightly (bug#7493).
6777
6778 * time.el (display-time-update):
6779 Allow `display-time-mail-function' to return nil (bug#7158).
6780 Fix suggested by Detlev Zundel.
6781
6782 * vc/diff.el (diff): Clarify the order the file names are read
6783 (bug#7111).
6784
6785 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6786 the doc string (bug#7015).
6787
6788 * font-lock.el (font-lock-maximum-decoration): Mention what
6789 numeric levels mean (bug#6935).
6790
6791 * startup.el (initial-buffer-choice): Don't mention the `none'
6792 selection, which is against policy.
6793
6794 2011-07-14 Martin Rudalics <rudalics@gmx.at>
6795
6796 * window.el (display-buffer-normalize-special):
6797 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6798
6799 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6800
6801 * subr.el (version<, version<=, version=): Mention "-CVS" and
6802 "-12345" alpha version numbers.
6803
6804 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6805
6806 * bindings.el: Add advertised binding for set-mark-command
6807 (Bug#5772).
6808
6809 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6810
6811 * bindings.el (mode-line-other-buffer):
6812 * bookmark.el (bookmark-bmenu-2-window):
6813 * bs.el (bs-cycle-next, bs-cycle-previous):
6814 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6815 switch-to-buffer.
6816
6817 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6818 Delete.
6819
6820 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
6821
6822 * follow.el (follow-debug-message, follow-redisplay):
6823 * jka-cmpr-hook.el (with-auto-compression-mode):
6824 Fix typos in docstrings.
6825
6826 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827
6828 * subr.el (with-silent-modifications): Clarify somewhat what the
6829 macro inhibits (bug#6525).
6830
6831 * simple.el (eval-expression): Note what it does if called
6832 interactively (bug#6495).
6833
6834 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6835
6836 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6837 Use pop-to-buffer buffer-or-name if it is nil.
6838
6839 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6840 Remove switch-to-buffer.
6841
6842 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6843
6844 * files.el (make-directory): Clarify that an error will be raised
6845 if there's an error (bug#6397).
6846
6847 * startup.el (initial-buffer-choice): Add `none' as a choice
6848 (bug#6234).
6849
6850 * subr.el (add-hook): Clarify section about buffer-local hooks
6851 (bug#6218).
6852
6853 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6854
6855 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * tabify.el (untabify): Preserve the current column so that point
6858 doesn't move (bug#6032).
6859
6860 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6861
6862 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6863 Rewrite to avoid awkward possessive "s" (bug#5986).
6864
6865 2011-07-13 Glenn Morris <rgm@gnu.org>
6866
6867 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6868 (dired-insert-directory): Give a message the first time
6869 if ls is found not to support --dired.
6870
6871 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6872
6873 * simple.el (toggle-truncate-lines): Clarify what is toggled
6874 (bug#5580). Text by Drew Adams.
6875
6876 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6877
6878 * simple.el (blink-matching-open): Make the error message from the
6879 last change less verbose.
6880
6881 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6882
6883 * font-lock.el (font-lock-comment-face): Use the high contrast
6884 "yellow" color for font-lock-comment-face on low color terminals
6885 using a dark background color (bug#4221).
6886
6887 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6888
6889 * dired.el (dired-insert-set-properties): Make the doc string
6890 reflect what it does now (bug#5325).
6891
6892 * simple.el (blink-matching-open): Say that we were unable to find
6893 the match within the limit, if we're limited (bug#5122).
6894
6895 * international/mule-cmds.el (prefer-coding-system): Add an
6896 example (bug#4869).
6897
6898 * progmodes/etags.el (tags-search): Document `file-list-form'
6899 (bug#4731).
6900
6901 2011-07-13 Lawrence Mitchell <wence@gmx.li>
6902
6903 * net/browse-url.el (browse-url-default-browser)
6904 (browse-url-browser-function): Make the default browser choice a
6905 bit more logical (bug#4300). Also clean up the doc string.
6906
6907 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6908
6909 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6910 binary endings (bug#4440).
6911
6912 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913
6914 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6915 which can be pretty annoying (bug#8971).
6916
6917 * jka-compr.el (jka-compr-verbose): New variable, and use
6918 throughout (bug#8971).
6919
6920 * info.el (Info-find-file): Fall back on the installation
6921 directory if we can't find the info node anywhere else.
6922
6923 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6924
6925 * vc/vc.el (vc-revert-file):
6926 Don't set file time-stamp in the past. (Bug#5181)
6927
6928 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6929
6930 * files.el (after-find-file): Give a better error message when
6931 trying to find a symlink that points to a file that doesn't exist
6932 (bug#4398).
6933
6934 * progmodes/cc-vars.el: Remove (probably) misleading comment
6935 (bug#4396).
6936
6937 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6938
6939 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6940
6941 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6942
6943 * mouse-sel.el: Hack restoring functionality, while keeping
6944 compatibility with 2010-07-03 changes to mouse selection.
6945 (mouse-sel-primary-overlay): New var.
6946 (mouse-sel-selection-alist): Use it.
6947 (mouse-sel-mode): Doc fix; remove points that are default features
6948 of mouse.el.
6949
6950 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6951
6952 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6953 Fix previous fix (bug#2490).
6954
6955 2011-07-12 Roland Winkler <winkler@gnu.org>
6956
6957 * textmodes/bibtex.el (bibtex-initialize):
6958 Use pop-to-buffer-same-window.
6959 (bibtex-search-entries): Fix interactive call.
6960
6961 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6962
6963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6964 Fontise bytecomp Error lines more correctly (bug#2490).
6965 Fix suggested by Johan Bockgård.
6966
6967 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6968
6969 * dired-x.el (dired-guess-default): Use `delete-dups'.
6970
6971 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6972
6973 * dired.el (dired-mark-prompt):
6974 * dired-aux.el (dired-read-shell-command): Doc fix.
6975
6976 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6977
6978 * mail/sendmail.el (sendmail-query-once):
6979 Use `customize-save-variable' unconditionally, now that it works under
6980 emacs -Q.
6981
6982 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6983
6984 * cus-edit.el (custom-file): Take an optional no-error variable.
6985 (customize-save-variable): Set the variable, and give a warning if
6986 running under "emacs -q".
6987
6988 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
6989
6990 * loadhist.el (unload-feature-special-hooks):
6991 Add `auto-coding-functions', `fill-nobreak-predicate' and
6992 `find-directory-functions' (bug#5327).
6993
6994 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6995
6996 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6997
6998 * cus-edit.el (custom-guess-name-alist): -alist variables should
6999 use the `alist' type (bug#3120). Suggested by Drew Adams.
7000
7001 * printing.el: Add documentation to all the `pr-toggle-' commands.
7002
7003 2011-07-11 Leo Liu <sdl.web@gmail.com>
7004
7005 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7006 backends where it makes sense (bug#2623).
7007
7008 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7009
7010 * dired-x.el (dired-guess-default): Remove duplicate shell command
7011 entries (bug#2028).
7012 (dired-guess-default): Fix grammar in doc string (bug#2028).
7013 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7014
7015 * subr.el (remove-duplicates): New conveniency function.
7016
7017 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7018
7019 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7020 (bug#1526).
7021
7022 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7023
7024 * window.el (display-buffer-normalize-default): Don't invert
7025 meaning of even-window-heights. Reported by Eli Zaretskii
7026 <eliz@gnu.org>.
7027
7028 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7029
7030 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7031
7032 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7033
7034 * window.el (display-buffer): Fix arguments to
7035 display-buffer-reuse-window in last change.
7036
7037 * faces.el (link): Use a less saturated blue on light backgrounds.
7038
7039 * startup.el (fancy-startup-text, fancy-about-text)
7040 (fancy-startup-tail): Use font-lock faces, for background safety.
7041
7042 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7043
7044 * emulation/viper-cmd.el (viper-change-state-to-vi):
7045 Limit triggering of abbrev expansion (Bug#9038).
7046
7047 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7048
7049 * window.el (display-buffer-default-specifiers): Remove.
7050 (display-buffer-macro-specifiers): Remove default specifiers.
7051 (display-buffer-alist): Default to nil.
7052 (display-buffer-reuse-window): New optional argument other-window.
7053 (display-buffer-pop-up-window): Allow splitting internal
7054 windows. Check whether a live window was created.
7055 (display-buffer-other-window-means-other-frame)
7056 (display-buffer-normalize-arguments): Rename to
7057 display-buffer-normalize-argument and rewrite. Set the
7058 other-window specifier.
7059 (display-buffer-normalize-special): New function.
7060 (display-buffer-normalize-options): Rename to
7061 display-buffer-normalize-default and rewrite.
7062 (display-buffer-normalize-options-inhibit): Remove.
7063 (display-buffer-normalize-specifiers): Rewrite.
7064 (display-buffer): Process other-window specifier and call
7065 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7066 more faithfully.
7067 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7068 (display-buffer-alist-set): Don't handle 'unset default values.
7069 (display-buffer-in-window, display-buffer-alist-set):
7070 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7071 <tassilo@member.fsf.org>.
7072
7073 2011-07-09 Leo Liu <sdl.web@gmail.com>
7074
7075 * register.el (insert-register): Restore accidental change on
7076 2011-06-26. (Bug#9028)
7077
7078 2011-07-09 Glenn Morris <rgm@gnu.org>
7079
7080 * subr.el (remq): Handle the empty list. (Bug#9024)
7081
7082 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7083
7084 * mail/sendmail.el (send-mail-function): No longer delay custom
7085 initialization.
7086 * custom.el (custom-initialize-delay): Doc fix.
7087
7088 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7091
7092 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7093
7094 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7095 human-friendly prompt.
7096
7097 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7100 provided by a particular plugin.
7101
7102 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7103
7104 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7105 save customizations (with "emacs -Q"), just set the variable
7106 instead of erroring out.
7107
7108 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7109
7110 2011-07-08 Juri Linkov <juri@jurta.org>
7111
7112 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7113 (archive-zip-update-case): Use 7z if found by `executable-find'.
7114 The order of searching the available programs is the same as in
7115 `archive-zip-extract' (bug#8968).
7116
7117 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7118
7119 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7120 (menu-bar-options-menu): Tweak descriptions.
7121
7122 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7123
7124 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7125 menu items into verb phrases (bug#1421). Also refill to fit under
7126 80 columns.
7127
7128 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7129
7130 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7131 (Info-read-node-name): Doc fix (Bug#1084).
7132
7133 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7134 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7135 (end-of-sexp, beginning-of-sexp)
7136 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7137 (forward-symbol, forward-same-syntax, word-at-point)
7138 (sentence-at-point): Doc fix (Bug#1144).
7139
7140 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7141
7142 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7143 should cover it (bug#1281).
7144
7145 * cus-edit.el (custom-show): Mark as obsolete.
7146
7147 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7148 negotiation fails, then possibly try again with a non-encrypted
7149 connection (bug#9017).
7150
7151 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7152 be used.
7153
7154 2011-07-07 Richard Stallman <rms@gnu.org>
7155
7156 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7157 property, and handle its changed format.
7158 Look for the correct line number.
7159 Use file's line contents (but not past first =) to find
7160 correct line in message.
7161
7162 2011-07-07 Kenichi Handa <handa@m17n.org>
7163
7164 * international/characters.el (build-unicode-category-table):
7165 Delete it.
7166 (unicode-category-table): Set it by unicode-property-table-internal.
7167
7168 * international/mule-cmds.el (char-code-property-alist): Move to
7169 to src/chartab.c.
7170 (get-char-code-property): Call unicode-property-table-internal to
7171 load a file. Call get-unicode-property-internal where necessary.
7172 (put-char-code-property): Call unicode-property-table-internal to
7173 load a file. Call put-unicode-property-internal where necessary.
7174 put-unicode-property-internal where necessary.
7175 (char-code-property-description):
7176 Call unicode-property-table-internal to load a file.
7177
7178 * international/charprop.el:
7179 * international/uni-bidi.el:
7180 * international/uni-category.el:
7181 * international/uni-combining.el:
7182 * international/uni-comment.el:
7183 * international/uni-decimal.el:
7184 * international/uni-decomposition.el:
7185 * international/uni-digit.el:
7186 * international/uni-lowercase.el:
7187 * international/uni-mirrored.el:
7188 * international/uni-name.el:
7189 * international/uni-numeric.el:
7190 * international/uni-old-name.el:
7191 * international/uni-titlecase.el:
7192 * international/uni-uppercase.el: Regenerate.
7193
7194 * loadup.el: Load international/charprop.el before
7195 international/characters.
7196
7197 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7198
7199 * window.el (next-buffer, previous-buffer): Signal an error if
7200 called from a minibuffer window.
7201
7202 * bindings.el: Revert 2011-07-04 change.
7203
7204 2011-07-06 Richard Stallman <rms@gnu.org>
7205
7206 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7207 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7208 Treat markers like ints.
7209 (rmail-mime-entity): Doc fix.
7210
7211 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7212
7213 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7214 defcustom again for backwards compatibility.
7215
7216 * simple.el (shell-command-on-region): Fill.
7217
7218 * dired-aux.el (dired-kill-line): Add a doc string.
7219
7220 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7221 to "\\sw\\|\\s_" (bug#358).
7222
7223 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7224 (dired-unmark-backward): Ditto.
7225 (dired-flag-backup-files): Ditto.
7226
7227 * dired-x.el (dired-mark-sexp): Ditto.
7228
7229 2011-07-06 Richard Stallman <rms@gnu.org>
7230
7231 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7232 (rmail-mime-entity): New arg TRUNCATED.
7233 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7234 New functions.
7235 (rmail-mime-save): Warn if entity is truncated.
7236 (rmail-mime-toggle-hidden): Likewise, for showing.
7237 (rmail-mime-process-multipart): Record when an entity is truncated.
7238
7239 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7240 if ENTITY is a string.
7241
7242 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243
7244 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7245 of faces when `M-C-x'-ing their definitions (bug#8378).
7246 Also clean up the code slightly.
7247
7248 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7249 because that makes the colors go away.
7250
7251 * mail/sendmail.el (send-mail-function): Change the default to
7252 `sendmail-query-once'.
7253 (sendmail-query-once): Add an autoload cookie.
7254
7255 * net/network-stream.el (network-stream-open-starttls): Try using
7256 a plain connection even if the server offered STARTTLS, and we
7257 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7258 capability. This should make smtpmail.el work in slightly more
7259 configurations.
7260
7261 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7262
7263 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7264 New defun.
7265 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7266
7267 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7268
7269 * progmodes/sql.el: Version 3.0
7270 (sql-product-alist): Add product :completion-object,
7271 :completion-column, and :statement attributes.
7272 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7273 (sql-mode-syntax-table): Mark all punctuation.
7274 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7275 ansi keywords.
7276 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7277 (sql-mode-oracle-font-lock-keywords): Improve.
7278 (sql-oracle-show-reserved-words): New function for development.
7279 (sql-product-font-lock): Simplify for source code buffers.
7280 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7281 New functions.
7282 (sql-highlight-product): Set product specific syntax table.
7283 (sql-mode-map): Add statement movement functions.
7284 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7285 New variable.
7286 (sql-statement-regexp, sql-beginning-of-statement)
7287 (sql-end-of-statement, sql-signum): New functions.
7288 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7289 (sql-show-sqli-buffer): Bug fix.
7290 (sql-interactive-mode): Store connection data as buffer local.
7291 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7292 with sql-interactive-mode.
7293 (sql-save-connection): Save buffer local settings.
7294 (sql-connection-menu-filter): Change menu entry name.
7295 (sql-product-interactive): Bug fix.
7296 (sql-preoutput-hold): New variable.
7297 (sql-interactive-remove-continuation-prompt): Bug fixes.
7298 (sql-debug-redirect): New variable.
7299 (sql-str-literal): New function.
7300 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7301 Redesign.
7302 (sql-oracle-save-settings, sql-oracle-restore-settings)
7303 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7304 (sql-completion-object, sql-completion-column)
7305 (sql-completion-sqlbuf): New variables.
7306 (sql-build-completions-1, sql-build-completions)
7307 (sql-try-completion): New functions.
7308 (sql-read-table-name): Use them.
7309 (sql-contains-names): New buffer local variable.
7310 (sql-list-all, sql-list-table): Use it.
7311 (sql-oracle-completion-types): New variable.
7312 (sql-oracle-completion-object, sql-sqlite-completion-object)
7313 (sql-postgres-completion-object): New functions.
7314
7315 2011-07-06 Glenn Morris <rgm@gnu.org>
7316
7317 * window.el (pop-to-buffer): Doc fix.
7318
7319 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7320
7321 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7322
7323 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7324
7325 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7326
7327 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7328
7329 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7330
7331 * button.el (button): Inherit from link face. Suggested by Dan
7332 Nicolaescu.
7333
7334 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * progmodes/gdb-mi.el: Fit in 80 columns.
7337 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7338 switch-to-buffer.
7339
7340 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7341 if imenu is simply not configured (bug#8941).
7342
7343 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7344
7345 * allout.el (allout-post-undo-hook): New allout outline-change
7346 event hook to signal undo activity.
7347 (allout-post-command-business): Run allout-post-undo-hook if an
7348 undo just occurred.
7349 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7350 * allout-widgets.el (allout-widgets-after-undo-function):
7351 Ensure the integrity of the current item's decoration after it has been
7352 in the vicinity of an undo.
7353 (allout-widgets-mode): Include allout-widgets-after-undo-function
7354 on the new allout-post-undo-hook.
7355
7356 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7359 Let define-derived-mode define it.
7360 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7361 cycles of abbrev-table inheritance (bug#8998).
7362
7363 2011-07-05 Roland Winkler <winkler@gnu.org>
7364
7365 * textmodes/bibtex.el: Add support for biblatex.
7366 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7367 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7368 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7369 (bibtex-entry-alist, bibtex-field-alist): New variables.
7370 (bibtex-entry-field-alist): Obsolete alias for
7371 bibtex-BibTeX-entry-alist.
7372 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7373 (bibtex-set-dialect): New command.
7374 (bibtex-entry-type, bibtex-entry-head)
7375 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7376 Bind via bibtex-set-dialect.
7377 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7378 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7379 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7380 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7381 Define via bibtex-set-dialect.
7382 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7383 Obey bibtex-no-opt-remove-re.
7384 (bibtex-vec-push, bibtex-vec-incr): New functions.
7385 (bibtex-format-entry, bibtex-field-list)
7386 (bibtex-print-help-message, bibtex-validate)
7387 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7388
7389 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * progmodes/compile.el (compilation-goto-locus):
7392 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7393 * bs.el (bs-cycle-next, bs-cycle-previous):
7394 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7395 * bindings.el (mode-line-other-buffer):
7396 * autoinsert.el (auto-insert):
7397 * arc-mode.el (archive-extract):
7398 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7399
7400 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7401
7402 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7403 Fix check of `emacs-lock-unlockable-modes'.
7404 Coerce true values of `emacs-lock--try-unlocking' to t.
7405
7406 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7409 * emacs-lock.el: New file.
7410
7411 2011-07-05 Julien Danjou <julien@danjou.info>
7412
7413 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7414 than `boundp' to check if face is set.
7415
7416 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7417
7418 * register.el (registerv-make):
7419 * window.el (window-min-height): Fix typos in docstrings.
7420
7421 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7422
7423 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7424 Update doc string.
7425
7426 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7427
7428 * server.el (server-execute): Catch quit and call
7429 `server-return-error' to pass the error back to emacsclient and
7430 close the connection (bug#8942).
7431
7432 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7433
7434 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7435 insecure exception for current topic. Also note that auto-saves
7436 are handled differently.
7437
7438 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7439 State variables for tracking auto-save inhibition situation.
7440
7441 (allout-write-contents-hook-handler): Rename from
7442 'allout-write-file-hook-handler', and describe how it depends on
7443 write-contents-functions sensitivity to non-nil value to prevent
7444 file write.
7445
7446 (allout-auto-save-hook-handler): Remove. auto-save does not check
7447 this in individual buffers, only in the starting buffer, so this
7448 is not the right way for us to inhibit auto-save in a buffer
7449 according to its condition.
7450
7451 (allout-mode): Use new allout-write-contents-hook-handler, and
7452 only with write-contents-functions. Remove auto-save provisions -
7453 they're implemented elsewhere.
7454
7455 (allout-before-change-handler): If undo is in progress, note that
7456 for attention of allout-post-command-business.
7457
7458 (allout-post-command-business): If the command we're following was
7459 an undo, check for change in the status of encrypted items and
7460 adjust auto-save inhibitions accordingly.
7461
7462 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7463 according to whether there are or aren't any plain-text topics
7464 pending encryption.
7465
7466 (allout-inhibit-auto-save-info-for-decryption):
7467 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7468 if there are plain-text topics pending encryption.
7469
7470 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7471 buffer-saved-size and some allout state to not inhibit auto-saves
7472 if there are no longer any plain-text topics pending encryption.
7473
7474 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7475 No longer provide for exemption of the current topic.
7476
7477 2011-07-04 Juri Linkov <juri@jurta.org>
7478
7479 Add 7z operations to delete and save changed members (bug#8968).
7480 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7481 New defcustoms.
7482 (archive-7z-write-file-member): New function.
7483 (archive-7z-summarize): Fix the number of dashes in the
7484 listing output.
7485
7486 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7489 (bug#8958).
7490
7491 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7492
7493 * bindings.el: Ignore next-buffer and previous-buffer in
7494 minibuffer-local-map.
7495
7496 * font-lock.el (font-lock-builtin-face): Change light background
7497 color to dark slate blue (Bug#6693).
7498
7499 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7500
7501 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7502
7503 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7506 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7507 Add switch-to-buffer.
7508
7509 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7510
7511 * isearch.el (isearch-search-fun-function): Clarify further the
7512 meaning of the function returned.
7513
7514 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7515
7516 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7517
7518 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7519 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7520 Use it.
7521 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7522 `tramp-default-remote-path' does not exist.
7523 (tramp-send-command-and-read): New optional argument NOERROR.
7524 (tramp-open-connection-setup-interactive-shell)
7525 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7526 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7527 (tramp-process-sentinel): Flush also process' connection property.
7528 (tramp-sh-handle-start-file-process): Do not set process
7529 sentinel. It is done now ...
7530 (tramp-maybe-open-connection): ... here. (Bug#8929)
7531
7532 2011-07-04 MON KEY <monkey@sandpframing.com>
7533
7534 * play/animate.el (animate-string): Doc fixes and allow changing
7535 the buffer name (bug#5417).
7536
7537 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7538
7539 * play/animate.el (animation-buffer-name): Rename from *animate*.
7540
7541 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7542
7543 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7544 This is simpler and helps future-proof the code.
7545 (timer-until): Use time-subtract and float-time.
7546 (timer--time-less-p): Use time-less-p.
7547
7548 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7549
7550 * type-break.el (timep): Use the value of `float-time' to avoid a
7551 byte-compiler warning.
7552
7553 * server.el (server-eval-and-print): Return any result, even nil.
7554
7555 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7556
7557 * type-break.el: Accept time formats that the builtins accept.
7558 (timep, type-break-time-difference): Accept any format that
7559 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7560 This is simpler and helps future-proof the code.
7561 (type-break-time-difference): Round rather than ignoring
7562 subseconds components.
7563
7564 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7565
7566 * info.el (Info-apropos-matches): Make non-interactive, since it
7567 doesn't seem to do anything useful as a command (bug#8829).
7568
7569 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7570
7571 * frame.el (frame-background-mode, frame-set-background-mode):
7572 Move from faces.el.
7573 (frame-default-terminal-background): New function.
7574
7575 * custom.el (custom-push-theme): Don't record faces in `changed'
7576 theme; this doesn't work correctly for per-frame face settings.
7577 (disable-theme): Use face-set-after-frame-default to reset faces.
7578 (custom--frame-color-default): New function.
7579
7580 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7581
7582 * dired.el (dired-flagging-regexp): Remove unused variable
7583 (bug#8769).
7584
7585 2011-03-29 Kevin Ryde <user42@zip.com.au>
7586
7587 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7588 `perl-Test2' extend to match possible "fail #N" rep count
7589 (bug#8377).
7590
7591 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7592
7593 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7594 `smtpmail-via-smtp' now returns the error instead of nil.
7595
7596 * isearch.el (isearch-search-fun-function): Clarify the doc string
7597 (bug#8101).
7598
7599 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7600
7601 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7602 unnecessary spaces (bug#8987).
7603
7604 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7605
7606 * net/network-stream.el (open-network-stream): Use the
7607 :end-of-capability command thoughout.
7608
7609 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7610
7611 * net/network-stream.el (open-network-stream): Add the
7612 :end-of-capability command parameter, used by pop3.el.
7613
7614 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7615
7616 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7617
7618 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7619 for list)" (bug#6475).
7620
7621 * files.el (file-expand-wildcards): Ignore non-readable
7622 sub-directories while trying to find matches instead of signaling
7623 an error (bug#6297).
7624
7625 * man.el (Man-reference-regexp): Allow matching possible
7626 word-wrapped references (bug#6289).
7627
7628 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7629 for consistency with the other vc buffers (bug#6197).
7630 (vc-checkin): Ditto.
7631
7632 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7633
7634 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7635
7636 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7637
7638 * custom.el (defcustom): Clarify that :set is only used in the
7639 Customize user interface (bug#6089).
7640
7641 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7642 associated with a file, refuse to run instead of erroring out
7643 (bug#6084).
7644
7645 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7646 the doc string, since it appears that using `fill-column' always
7647 controls the width (bug#7845).
7648
7649 * simple.el (shell-command-on-region): Say where the error output
7650 went if `shell-command-default-error-buffer' is set (bug#6857).
7651
7652 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7653
7654 * allout.el (allout-yank-processing): Adjust cursor position for
7655 backwards-deleted space.
7656
7657 (allout-rebullet-heading): Register changes with
7658 allout-exposure-changed-hook, so the modified topic is properly
7659 decorated.
7660
7661 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7662
7663 * minibuffer.el (completion-in-region): Document PREDICATE
7664 (bug#7136).
7665
7666 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7667 of keyword/argument pairs (bug#6904).
7668
7669 * replace.el (multi-occur):
7670 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7671
7672 2011-07-02 Drew Adams <drew.adams@oracle.com>
7673
7674 * dired.el (dired-mark-if): Make the message about whether it's
7675 marking or unmarking clearer (bug#8523).
7676
7677 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7678
7679 * disp-table.el (display-table-print-array): New function.
7680 (describe-display-table): Use it to print the vectors more pretty
7681 (Bug#8859).
7682
7683 2011-07-02 Martin Rudalics <rudalics@gmx.at>
7684
7685 * window.el (window-state-get-1): Don't assign clone numbers.
7686 Add clone-of item to list of window parameters.
7687 (window-state-put-2): Don't process clone numbers.
7688 (display-buffer-alist): Fix doc-string.
7689
7690 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * subr.el (remq): Don't allocate if it's not needed.
7693 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7694 (keymap--merge-bindings): New functions.
7695 (keymap-canonicalize): Use them to refine the canonicalization.
7696 * minibuffer.el (minibuffer-local-completion-map)
7697 (minibuffer-local-must-match-map): Move initialization from C.
7698 (minibuffer-local-filename-completion-map): Move initialization from C;
7699 don't inherit from anything here.
7700 (minibuffer-local-filename-must-match-map): Make obsolete.
7701 (completing-read-default): Use make-composed-keymap to combine
7702 minibuffer-local-filename-completion-map with either
7703 minibuffer-local-must-match-map or
7704 minibuffer-local-filename-completion-map.
7705
7706 2011-07-01 Glenn Morris <rgm@gnu.org>
7707
7708 * type-break.el (type-break-time-sum): Use dolist.
7709
7710 * textmodes/flyspell.el (flyspell-word-search-backward):
7711 Replace CL function.
7712
7713 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * mouse.el (mouse--strip-first-event): New function.
7716 (function-key-map): Use it to map fringe clicks to normal clicks
7717 by default.
7718
7719 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7720 (vc-bzr-revision-completion-table): Add support for annotate and date.
7721
7722 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7723 inherit from parent.
7724
7725 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
7727 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7728 (dired-show-file-type): Doc fixup (bug#8818).
7729
7730 * dired.el (dired-mode): Fix up the doc string as suggested by
7731 Drew Adams (bug#8817).
7732
7733 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7734 cookie, since the manual says that it should be possible to add
7735 this function to `find-file-hook' (bug#8709).
7736
7737 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7738
7739 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7740 here. Noted Ted Zlatanov as the maintainer.
7741 (cfengine-common-settings, cfengine-common-syntax): New functions
7742 to set up common things between `cfengine-mode' and
7743 `cfengine3-mode'.
7744 (cfengine3-mode): New mode.
7745 (cfengine3-defuns cfengine3-defuns-regex
7746 (cfengine3-class-selector-regex cfengine3-category-regex)
7747 (cfengine3-vartypes cfengine3-font-lock-keywords)
7748 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7749 (cfengine3-indent-line): Add from cfengine3.el.
7750
7751 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
7752
7753 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7754
7755 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7756
7757 2011-07-01 Martin Rudalics <rudalics@gmx.at>
7758
7759 * window.el (same-window-buffer-names, same-window-regexps)
7760 (same-window-p, special-display-frame-alist)
7761 (special-display-popup-frame, special-display-function)
7762 (special-display-buffer-names, special-display-regexps)
7763 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7764 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7765 (split-window-preferred-function, split-height-threshold)
7766 (split-width-threshold, even-window-heights)
7767 (display-buffer-mark-dedicated, window-splittable-p)
7768 (split-window-sensibly, window-safely-shrinkable-p):
7769 Un-obsolete.
7770 (display-buffer): Don't spread args with function specifier
7771 because special-display-popup-frame won't like it.
7772
7773 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7774
7775 Time-stamp simplifications and fixes.
7776 These improve accuracy slightly, and future-proof the code
7777 against some potential changes to current-time format.
7778
7779 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7780 by using time-since and float-time.
7781
7782 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7783 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7784 + NNN microseconds".
7785
7786 * type-break.el (type-break-time-sum): Rewrite using time-add.
7787
7788 * play/hanoi.el (hanoi-current-time-float): Remove.
7789 All uses replaced by float-time.
7790
7791 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7792 This yields a more-accurate answer.
7793 (rng-time-to-float): Remove; no longer needed.
7794
7795 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7796
7797 * calendar/timeclock.el (timeclock-seconds-to-time):
7798 Defalias to seconds-to-time, since they're the same thing.
7799
7800 * emacs-lisp/elp.el (elp-elapsed-time):
7801 * emacs-lisp/benchmark.el (benchmark-elapse):
7802 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7803
7804 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * window.el (bury-buffer): Don't iconify the only frame.
7807 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7808 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7809
7810 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
7811
7812 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7813 Add mouse-yank-primary.
7814
7815 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7816
7817 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7818
7819 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7822 (find-library-name): Use it to find relative load names when provided
7823 absolute file name (bug#8803).
7824
7825 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7826
7827 * textmodes/flyspell.el (flyspell-word): Consider words that
7828 differ only in case as potential doublons (bug#5687).
7829
7830 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7831 Remove two rather uninteresting debugging-like messages to make
7832 debbugs.el more silent.
7833
7834 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7835 a password-like phrase.
7836
7837 2011-06-30 Masatake YAMATO <yamato@redhat.com>
7838
7839 * progmodes/cc-guess.el: New file.
7840
7841 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7842
7843 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7844 derived from `c-basic-common-init'.
7845
7846 * progmodes/cc-mode.el (top-level): Require cc-guess.
7847 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7848
7849 2011-06-30 Lawrence Mitchell <wence@gmx.li>
7850
7851 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7852
7853 2011-06-30 Alan Mackenzie <acm@muc.de>
7854
7855 * progmodes/cc-engine.el (c-guess-continued-construct):
7856 Correct the handling of template-args-cont, particularly for when font
7857 lock is disabled. Name this case as "CASE G".
7858
7859 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7860
7861 * allout.el (allout-yank-processing): Fix injection of extra space
7862 between bullet and non-whitespace character in first topic when
7863 pasting, ensuring that the actual spacing in the pasted topic
7864 following the bullet char is preserved. This extra space was
7865 causing pasted encrypted topics to get a decrypted status even
7866 when the content was actually still encrypted. Now the decryption
7867 status from before the paste is preserved.
7868
7869 (allout-flag-region): Set all allout overlays so they evaporate
7870 when reduced to zero length (evanescent), to prevent overlay
7871 leakage.
7872
7873 2011-06-30 Glenn Morris <rgm@gnu.org>
7874
7875 * w32-fns.el (w32-charset-info-alist): Declare.
7876
7877 * find-dired.el (find-grep-options): Simplify.
7878
7879 * term/ns-win.el (ns-set-resource): Declare.
7880
7881 * ses.el (row, col): Declare dynamic variables honestly.
7882
7883 * textmodes/reftex-parse.el (index-tags): Declare.
7884
7885 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
7886
7887 * cus-edit.el (customize-push-and-save): New function.
7888
7889 * files.el (hack-local-variables-confirm): Use it.
7890
7891 * custom.el (load-theme): New arg NO-CONFIRM.
7892 Use customize-push-and-save (Bug#8720).
7893 (custom-enabled-themes): Doc fix.
7894
7895 * cus-theme.el (customize-create-theme)
7896 (custom-theme-merge-theme): Callers to load-theme changed.
7897
7898 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899
7900 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7901 short URLs have at least one dot in them (bug #7614).
7902
7903 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7904 nil, because using a pty is apparently too slow (bug #895).
7905
7906 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7907
7908 * mail/sendmail.el (sendmail-query-once): New function.
7909 (sendmail-query-once-function): New variable.
7910
7911 2011-06-29 Glenn Morris <rgm@gnu.org>
7912
7913 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7914
7915 * ses.el (top-level): Require cl when compiling.
7916 (ses-set-localvars): Fix error statement.
7917 Call it at compile time to silence a storm of warnings.
7918
7919 2011-06-29 Martin Rudalics <rudalics@gmx.at>
7920
7921 * window.el (normalize-live-buffer): Rename to
7922 window-normalize-buffer.
7923 (normalize-live-frame): Rename to window-normalize-frame.
7924 (normalize-any-window): Rename to window-normalize-any-window.
7925 (normalize-live-window): Rename to window-normalize-live-window.
7926 (make-window-atom): Rename to window-make-atom.
7927 (window-resize-reset): Rename to window--resize-reset.
7928 (window-resize-reset-1): Rename to window--resize-reset-1.
7929 (resize-mini-window): Rename to window--resize-mini-window.
7930 (resize-subwindows-skip-p): Rename to
7931 window--resize-subwindows-skip-p.
7932 (resize-subwindows-normal): Rename to
7933 window--resize-subwindows-normal.
7934 (resize-subwindows): Rename to window--resize-subwindows.
7935 (resize-other-windows): Rename to window--resize-siblings.
7936 (resize-this-window): Rename to window--resize-this-window.
7937 (resize-root-window): Rename to window--resize-root-window.
7938 (resize-root-window-vertically): Rename to
7939 window--resize-root-window-vertically.
7940 (normalize-buffer-to-display): Rename to
7941 window-normalize-buffer-to-display.
7942 (normalize-buffer-to-switch-to): Rename to
7943 window-normalize-buffer-to-switch-to.
7944 Correspondingly update all callers of the functions listed
7945 above.
7946 (display-buffer-alist, display-buffer-normalize-arguments)
7947 (display-buffer-normalize-options, display-buffer)
7948 (display-buffer-alist-set): Use "function" instead of
7949 "fun-with-args".
7950
7951 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
7952
7953 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7954 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7955 debbugs.gnu.org. Mention acknowledgment email.
7956
7957 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7958
7959 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7960 buffer multibyteness, since it shouldn't matter.
7961
7962 2011-06-28 Martin Rudalics <rudalics@gmx.at>
7963
7964 * window.el (display-buffer-in-side-window): Handle dedicated
7965 windows as in display-buffer-reuse-window.
7966 (display-buffer-normalize-alist): Use value of override
7967 specifier.
7968 (display-buffer-normalize-specifiers): Use value of
7969 other-window-means-other-frame specifier.
7970 (display-buffer-alist): Rewrite some texts in widgets.
7971 (display-buffer): Spread arguments when calling function
7972 specified by fun-with-args.
7973
7974 2011-06-28 Deniz Dogan <deniz@dogan.se>
7975
7976 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7977 Unnest `let'.
7978
7979 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7980 selectors (Bug#5732).
7981 (css-proprietary-nmstart-re): Use `regexp-opt'.
7982
7983 2011-06-27 Jari Aalto <jari.aalto@cante.net>
7984
7985 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7986 (eshell-ls-date-format): New defcustom.
7987 (eshell-ls-file): Use it.
7988
7989 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7992
7993 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7994
7995 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7996 (ange-ftp-make-tmp-name): New arg.
7997 (ange-ftp-file-local-copy): Use it.
7998
7999 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8000
8001 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8002 no-conversion (Bug#8870).
8003
8004 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8005
8006 * window.el (window-right, window-left, window-child)
8007 (window-child-count, window-last-child)
8008 (window-iso-combination-p, walk-window-tree-1)
8009 (window-atom-check-1, window-tree-1, delete-window)
8010 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8011 new naming conventions - window-vchild, window-hchild,
8012 window-next and window-prev are now called window-top-child,
8013 window-left-child, window-next-sibling and window-prev-sibling
8014 respectively.
8015 (resize-window-reset): Rename to window-resize-reset.
8016 (resize-window-reset-1): Rename to window-resize-reset-1.
8017 (resize-window): Rename to window-resize.
8018 (window-min-height, window-min-width)
8019 (resize-mini-window, resize-this-window, resize-root-window)
8020 (resize-root-window-vertically, adjust-window-trailing-edge)
8021 (enlarge-window, shrink-window, maximize-window)
8022 (minimize-window, delete-window, quit-restore-window)
8023 (split-window, balance-windows, balance-windows-area-adjust)
8024 (balance-windows-area, window-state-put-2)
8025 (display-buffer-even-window-sizes, display-buffer-set-height)
8026 (display-buffer-set-width, set-window-text-height)
8027 (fit-window-to-buffer): Rename all "resize-window" prefixed
8028 calls to use the "window-resize" prefix convention.
8029 (display-buffer-alist): Fix symbol for label specifier.
8030 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8031 corresponding specifier.
8032 Reported by Juanma Barranquero <lekktu@gmail.com>.
8033
8034 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8035
8036 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8037 convention.
8038 (ses-call-printer): Does not pass an empty string to formatter when the
8039 cell is empty to keep from barking printer Calc math-format-value.
8040
8041 2011-06-27 Richard Stallman <rms@gnu.org>
8042
8043 * battery.el (battery-mode-line-limit): New variable.
8044 (battery-update): Handle it.
8045
8046 * mail/rmailmm.el (rmail-mime-process-multipart):
8047 Handle truncated messages.
8048
8049 2011-06-27 Glenn Morris <rgm@gnu.org>
8050
8051 * progmodes/flymake.el (flymake-err-line-patterns):
8052 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8053
8054 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8055
8056 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8057 (ses--clean-!, ses--clean-_): New functions.
8058 (ses-range): Add configurability of readout order, and conversion
8059 to Calc vector.
8060
8061 * ses.el (ses-repair-cell-reference-all): New function.
8062 (ses-cell-symbol): Set macro as safe, so that it can be used in
8063 formulas.
8064
8065 * ses.el: Update cycle detection algorithm.
8066 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8067 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8068 (ses-set-localvars): New function.
8069 (ses-make-cell): Add property-list as a cell element.
8070 (ses-cell-property-get-fun, ses-cell-property-get)
8071 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8072 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8073 New functions.
8074 (ses-cell-property-set, ses-cell-property-pop)
8075 (ses-cell-property-get-handle): New macro.
8076 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8077 New aliases, used for code readability.
8078 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8079 cycle detection.
8080 (ses-self-reference-early-detection): New defcustom.
8081 (ses-formula-references): Robustify against self-referring cells.
8082 (ses-mode): Use ses-set-localvars.
8083 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8084 before lauching the update processing.
8085 (ses-initialize-Dijkstra-attempt): New function.
8086 (ses-recalculate-cell): Update for cycle detection based on
8087 Dijkstra algorithm.
8088
8089 * ses.el: Fix commenting and indenting convention.
8090
8091 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * bs.el (bs-cycle-next): Complete last change.
8094
8095 2011-06-27 Drew Adams <drew.adams@oracle.com>
8096
8097 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8098
8099 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8100
8101 * net/network-stream.el (network-stream-open-starttls):
8102 Don't re-get capabilities unless we've reestablished connection.
8103 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8104
8105 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8106 to binary to possibly avoid line encoding issues on Windows (among
8107 other things).
8108
8109 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110
8111 * net/network-stream.el (open-network-stream): Return an :error
8112 saying what the problem was, if possible.
8113
8114 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8115 server.
8116
8117 * net/network-stream.el (network-stream-open-starttls): If we
8118 wanted to use STARTTLS, and the server offered it, but we weren't
8119 able to because we had no STARTTLS support, then close the connection.
8120 (open-network-stream): Return an :error element, if present.
8121
8122 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8123
8124 * hl-line.el (hl-line-sticky-flag): Doc fix.
8125 (global-hl-line-sticky-flag): New option (Bug#8323).
8126 (global-hl-line-highlight): Obey it.
8127
8128 * vc/vc.el (vc-revert-show-diff): Default to t.
8129
8130 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8131
8132 * allout-widgets.el (allout-widgets-post-command-business):
8133 Stop decorating intermediate isearch matches. They're not being
8134 undecorated when an isearch is continued past, and isearch
8135 automatically collapses them. This leads to "widget leaks", where
8136 decorated items accumulate in collapsed areas. Lines with lots of
8137 hidden widgets can slow down cursor travel, substantially.
8138 Too much complicated machinery would be needed to ensure undecoration,
8139 so we're doing without this nicety.
8140
8141 (allout-widgets-tally-string): Don't try to do a hash-table-count
8142 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8143 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8144 *Messages* when allout-widgets-maintain-tally is t.
8145
8146 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8147
8148 * window.el (display-buffer-normalize-argument): Rename to
8149 display-buffer-normalize-arguments. Handle special meaning of
8150 LABEL argument. Respect special-display-function when popping up
8151 a new frame. Fix code searching for a window showing the buffer
8152 on another frame.
8153 (display-buffer-normalize-specifiers):
8154 Call display-buffer-normalize-arguments.
8155 (display-buffer-in-window): Don't undedicate the window if its
8156 buffer remains the same.
8157 Reported by Drew Adams <drew.adams@oracle.com>.
8158 (display-buffer-alist): Add choice for same-window macro
8159 specfier.
8160 (display-buffer): Mention special meaning of LABEL argument in
8161 doc-string. Fix quoting. Don't pop up a new frame even as
8162 fallback.
8163
8164 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8165
8166 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8167 avoid deleting the current window in some cases (bug#8911).
8168
8169 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8170
8171 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8172 (Bug#8934)
8173
8174 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8175
8176 * net/network-stream.el (network-stream-open-starttls):
8177 Use built-in TLS support if `gnutls-available-p' is true.
8178 (network-stream-open-tls): Ditto.
8179
8180 2011-06-26 Leo Liu <sdl.web@gmail.com>
8181
8182 * register.el (registerv): New struct.
8183 (registerv-make): New function.
8184 (jump-to-register, describe-register-1, insert-register):
8185 Support the jump-func, print-func and insert-func slot of a registerv
8186 struct. (Bug#8415)
8187
8188 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8189
8190 * vc/vc.el (vc-revert-show-diff): New defcustom.
8191 (vc-diff-internal): New arg specifying diff buffer.
8192 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8193 reuse an existing *vc-diff* buffer (Bug#8927).
8194
8195 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8196
8197 2011-06-26 Glenn Morris <rgm@gnu.org>
8198
8199 * progmodes/f90.el (f90-critical-indent): New option.
8200 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8201 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8202 (f90-mode): Doc fix.
8203 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8204 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8205 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8206 (f90-match-end): Handle block, critical.
8207
8208 2011-06-25 Glenn Morris <rgm@gnu.org>
8209
8210 * calendar/diary-lib.el (diary-included-files): Doc fix.
8211 (diary-include-files): New function, extracted from
8212 diary-include-other-diary-files and diary-mark-included-diary-files.
8213 (diary-include-other-diary-files, diary-mark-included-diary-files):
8214 Just call diary-include-files.
8215 (diary-mark-entries): Reset diary-included-files on first call.
8216
8217 * calendar/diary-lib.el (diary-mark-entries)
8218 (diary-mark-included-diary-files):
8219 Visit included diary-files in temp buffers.
8220
8221 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8222 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8223 (f90-start-block-re, f90-imenu-generic-expression)
8224 (f90-looking-at-program-block-start, f90-no-block-limit):
8225 Add support for submodules.
8226
8227 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8228 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8229
8230 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8231
8232 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8233 buffer-file-type before setting its value, to avoid disastrous
8234 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8235
8236 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8237
8238 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8239
8240 * ses.el (ses-unload-function):
8241 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8242
8243 * proced.el (proced-unload-function):
8244 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8245
8246 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8247
8248 * server.el (server-create-window-system-frame): Add parameters arg.
8249 (server-process-filter): Doc fix. Handle frame-parameters.
8250
8251 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8252
8253 Fix bug#8730, bug#8781.
8254
8255 * loadhist.el (unload--set-major-mode): New function.
8256 (unload-feature): Use it.
8257
8258 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8259 (python-unload-function): New function.
8260
8261 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8264
8265 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8266
8267 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8268 the candidates list.
8269
8270 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8271
8272 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8273
8274 2011-06-23 Richard Stallman <rms@gnu.org>
8275
8276 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8277 (rmail-variables): Set next-error-move-function.
8278 (rmail-what-message): Take argument POS.
8279 (rmail-next-error-move): New function.
8280
8281 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8284 messages for adjacent non-terminals.
8285
8286 2011-06-23 Richard Stallman <rms@gnu.org>
8287
8288 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8289 (rmail-show-message-1): Preserve buffer modified flag.
8290 (rmail-start-mail): Don't specify use of rmail-mail-return;
8291 that's done by mail-bury now.
8292 (rmail-mail-return): Handle arg NEWBUF.
8293
8294 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8295
8296 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8297 SIZE is a number.
8298
8299 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8300
8301 * window.el (get-lru-window, get-mru-window)
8302 (get-largest-window): Never return a minibuffer window.
8303 (display-buffer-pop-up-window): Fix a bug that could lead to
8304 reusing the minibuffer window.
8305 (display-buffer): Pass original specifier argument to
8306 display-buffer-function instead of the normalized one.
8307 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8308
8309 2011-06-22 Leo Liu <sdl.web@gmail.com>
8310
8311 * minibuffer.el (completing-read-function)
8312 (completing-read-default): Move from minibuf.c
8313
8314 2011-06-22 Richard Stallman <rms@gnu.org>
8315
8316 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8317 to Rmail even if not started by a special Rmail command.
8318
8319 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8320 Copy the buffer currently showing just one message.
8321
8322 2011-06-22 Roland Winkler <winkler@gnu.org>
8323
8324 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8325 (bibtex-clean-entry): First delete the old key so that a
8326 customized algorithm for generating the new key does not get
8327 confused by the old key.
8328 (bibtex-url): Obey regexp of first step.
8329 (bibtex-search-entries): Do not use add-to-list with local
8330 list-var.
8331
8332 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8333
8334 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8335 stored a user name, then query for the password first, instead of
8336 waiting for SMTP to give an error message and the trying again.
8337
8338 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8339
8340 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8341 BUFFER in call-process.
8342
8343 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8344
8345 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8346 QUIT twice.
8347 (smtpmail-try-auth-methods): Require user name and password from
8348 auth-source.
8349
8350 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8351
8352 * window.el (display-buffer-default-specifiers)
8353 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8354 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8355 (split-window): Normalize SIDE argument (Bug#8916).
8356
8357 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8358 (special-display-frame-alist, special-display-popup-frame):
8359 Remove duplicate declarations. These are now in window.el.
8360
8361 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8362
8363 * mail/smtpmail.el (smtpmail-via-smtp):
8364 Set :use-starttls-if-possible so that we always use STARTTLS if the
8365 server supports it. SMTP servers that support STARTTLS commonly
8366 require it.
8367
8368 * net/network-stream.el (network-stream-open-starttls): Support
8369 upgrading to STARTTLS always, even if we don't have built-in support.
8370 (open-network-stream): Add the :always-query-capabilities keyword.
8371
8372 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8373 upgrades with `open-network-stream', and rely solely on
8374 auth-source for all credentials. Big changes throughout the file,
8375 but in particular:
8376 (smtpmail-auth-credentials): Remove.
8377 (smtpmail-starttls-credentials): Remove.
8378 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8379 MAIL FROM, too.
8380
8381 * net/network-stream.el (network-stream-open-starttls):
8382 Provide support for client certificates both for external and built-in
8383 STARTTLS.
8384 (auth-source): Require.
8385 (open-network-stream): Document the :client-certificate keyword.
8386 (network-stream-certificate): Change cert-cert to cert and
8387 cert-key to key.
8388
8389 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8390
8391 * net/tramp-cache.el (top): Don't load the persistency file when
8392 "emacs -Q" has been called.
8393
8394 2011-06-21 Tim Harper <timcharper@gmail.com>
8395
8396 * term/ns-win.el (ns-initialize-window-system):
8397 Set application-specific `ApplePressAndHoldEnabled' system
8398 resource to NO as it is not yet supported by the NS port.
8399
8400 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8401
8402 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8403 (list-dynamic-libraries): ...not here.
8404
8405 2011-06-21 Leo Liu <sdl.web@gmail.com>
8406
8407 * subr.el (sha1): Implement sha1 using secure-hash.
8408
8409 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8410
8411 * window.el (display-buffer-alist): In default value do not
8412 enforce searching a window on any but the selected frame.
8413 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8414 (display-buffer-select-window): Remove function.
8415 (display-buffer-in-window): When a window on another frame gets
8416 reused, do not select it any more but just raise its frame if
8417 necessary (Bug#8851) and (Bug#8856).
8418 (display-buffer-normalize-options): Handle pop-up-frames related
8419 options more faithfully.
8420 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8421 window if it is on another frame.
8422 (display-buffer-alist, display-buffer-default-specifiers):
8423 Don't make new frame unsplittable by default.
8424 (display-buffer-normalize-argument): Fix doc-string typo and use
8425 'same-frame-other-window instead of 'other-window when associating
8426 with display-buffer-macro-specifiers.
8427
8428 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8429
8430 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8431 New functions.
8432 (5x5-mode-map, 5x5-mode-menu): Bind them.
8433 (5x5-draw-grid): Tweak the solver's rendering.
8434
8435 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8438 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8439
8440 2011-06-21 Drew Adams <drew.adams@oracle.com>
8441
8442 * menu-bar.el: Use function variable instead of switch-to-buffer.
8443 (menu-bar-select-buffer-function): New variable.
8444 (menu-bar-update-buffers): Use it (bug#8876).
8445
8446 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8447
8448 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8449 variable's status.
8450
8451 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8452
8453 * x-dnd.el (x-dnd-version-from-flags)
8454 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8455 and long as number (Bug#8899).
8456 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8457
8458 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8461 (completion-try-completion, completion-all-completions): Compute the
8462 metadata argument if it's missing; make it optional (bug#8795).
8463
8464 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8465 (widget-complete): Use new :completion-function property.
8466 (widget-completions-at-point): New function.
8467 (default): Use :completion-function instead of :complete.
8468 (widget-default-completions): Rename from widget-default-complete;
8469 Rewrite.
8470 (widget-string-complete, widget-file-complete, widget-color-complete):
8471 Remove functions.
8472 (file, symbol, function, variable, coding-system, color):
8473 * international/mule-cmds.el (default-input-method, charset)
8474 (language-info-custom-alist):
8475 * cus-edit.el (face): Use new property :completions.
8476
8477 * progmodes/pascal.el (pascal-completions-at-point): New function.
8478 (pascal-mode): Use it.
8479 (pascal-mode-map): Use completion-at-point.
8480 (pascal-toggle-completions): Make obsolete.
8481 (pascal-complete-word, pascal-show-completions):
8482 * progmodes/octave-mod.el (octave-complete-symbol):
8483 Redefine as obsolete alias.
8484 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8485 Signal absence of completion info for old Octave,
8486 (inferior-octave-complete): Redefine as obsolete alias.
8487 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8488 (meta-completions-at-point): Rename from meta-complete-symbol and
8489 adapt it for use on completion-at-point-functions.
8490 (meta-common-mode): Use it.
8491 (meta-looking-at-backward, meta-match-buffer): Remove.
8492 (meta-complete-symbol): Redefine as obsolete alias.
8493 (meta-common-mode-map): Use completion-at-point.
8494 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8495 (makefile-mode-map): Use completion-at-point.
8496 (makefile-completions-at-point): Rename from makefile-complete and
8497 adapt it for use on completion-at-point-functions.
8498 (makefile-mode): Use it.
8499 (makefile-complete): Redefine as obsolete alias.
8500
8501 2011-06-20 Deniz Dogan <deniz@dogan.se>
8502
8503 * net/rcirc.el: Delete trailing whitespaces once and for all.
8504
8505 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8506
8507 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8508
8509 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8510
8511 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8512
8513 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8514
8515 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8516
8517 * window.el (display-buffer-other-window-means-other-frame):
8518 Call display-buffer-normalize-alist.
8519 (display-buffer-normalize-specifiers-1): Rename to
8520 display-buffer-normalize-argument. New argument other-frame.
8521 Rewrite.
8522 (display-buffer-normalize-specifiers-2): Rename to
8523 display-buffer-normalize-options.
8524 (display-buffer-normalize-alist-1): New function.
8525 (display-buffer-normalize-specifiers-3): Rename to
8526 display-buffer-normalize-alist.
8527 Call display-buffer-normalize-alist-1.
8528 (display-buffer-normalize-options-inhibit): New variable.
8529 (display-buffer-normalize-specifiers): Rewrite calling
8530 display-buffer-normalize-alist,
8531 display-buffer-normalize-argument, and
8532 display-buffer-normalize-options. Don't call the latter if
8533 display-buffer-normalize-options-inhibit is non-nil.
8534 (frame-auto-delete): New option.
8535 (window-deletable-p): Use frame-auto-delete.
8536 (window-list-no-nils, window-state-ignored-parameters)
8537 (window-state-get-1, window-state-get, window-state-put-list)
8538 (window-state-put-1, window-state-put-2, window-state-put):
8539 New functions.
8540 (display-buffer-normalize-options): Move special-display-p group
8541 after pop-up-frame group (Bug#8851) and (Bug#8856).
8542
8543 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8544
8545 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8546 groups (Bug#8776).
8547 (rx-submatch-n): New function.
8548 (rx): Document it.
8549
8550 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8551 (Bug#8768).
8552
8553 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8554
8555 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8556
8557 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8558 anytime existing face settings are present (Bug#8889).
8559
8560 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8561 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8562 Remove unused argument.
8563
8564 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8565
8566 * window.el (display-buffer-default-specifiers):
8567 Remove pop-up-frame. Add pop-up-window-min-height,
8568 pop-up-window-min-width, and another reuse-window specifier
8569 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8570 (display-buffer-normalize-specifiers-2):
8571 Handle split-height-threshold and split-width-threshold also when
8572 pop-up-windows is unset. Add a reuse-window specifier for the
8573 case popping up a new window fails.
8574 (special-display-popup-frame): Remove double quoting.
8575 (display-buffer-normalize-specifiers-1): Fix thinko.
8576
8577 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8580 according to comint-completion-addsuffix.
8581
8582 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8583 (pcomplete-suffix-list): Mark as obsolete.
8584 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8585 pcomplete-seen in the closure.
8586 (pcomplete-comint-setup): Setup completion-at-point as well.
8587 (pcomplete--entries): New function.
8588 (pcomplete--env-regexp): New var.
8589 (pcomplete-entries): Rewrite to work with partial-completion and
8590 without relying on pcomplete-suffix-list.
8591 (pcomplete-pare-list): Remove, unused.
8592
8593 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8594
8595 * window.el (display-buffer-alist): Set pop-up-window-min-height
8596 and pop-up-window-min-width in default value. Reported by
8597 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8598 other-window-means-other-frame.
8599 (display-buffer-macro-specifiers): Comment out entry for
8600 other-window specifier.
8601 (display-buffer-other-window-means-other-frame): New function.
8602 (display-buffer-normalize-specifiers-1): New arguments
8603 buffer-name and label. Treat other-window case specially.
8604 (display-buffer-normalize-specifiers-2): Treat other-window case
8605 specially.
8606 (display-buffer-normalize-specifiers-3): New function.
8607 (display-buffer-normalize-specifiers):
8608 Call display-buffer-normalize-specifiers-3.
8609
8610 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8611
8612 * window.el (same-window-p): Fix two typos introduced when
8613 adding with-no-warnings.
8614 (display-buffer-normalize-specifiers-1): Don't check
8615 pop-up-frames for 'unset initialization.
8616 (display-buffer-normalize-specifiers-2): Major rewrite using
8617 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8618 (pop-up-frames, display-buffer-reuse-frames)
8619 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8620 Suggested by David Engster <deng@randomsample.de>.
8621 (even-window-heights): Initialize to 'unset.
8622 (display-buffer-alist-set): Handle new 'unset initializations.
8623 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8624 other window case.
8625
8626 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8627
8628 * window.el (display-buffer-normalize-specifiers-1):
8629 Respect current value of pop-up-frames for most reasonable values of
8630 second argument of display-buffer (Bug#8865).
8631 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8632 (switch-to-buffer-other-window-same-frame)
8633 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8634 Adams (Bug#8875).
8635 (display-buffer): Don't check noninteractive when calling
8636 display-buffer-pop-up-frame.
8637 (display-buffer-pop-up-frame): Never pop up a frame in
8638 noninteractive mode (Bug#8857).
8639 (enlarge-window, shrink-window): Don't report an error when the
8640 window can't be resized as requested (Bug#8862).
8641
8642 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8645
8646 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8647
8648 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8649
8650 2011-06-15 Alan Mackenzie <acm@muc.de>
8651
8652 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8653 for declarators, disable knr checking to speed up for normal files.
8654 2: Refactor, replacing a sequence of nested if forms by a cond form.
8655
8656 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8657
8658 * net/network-stream.el (open-network-stream): Add the keyword
8659 :always-query-capabilities for the case where you want to force a
8660 `plain' network connection, but the protocol still requires the
8661 capabilitiy command (i.e., SMTP and EHLO).
8662
8663 * subr.el (process-live-p): Rename from `process-alive-p' for
8664 consistency with other `-live-p' functions.
8665
8666 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * window.el (same-window-buffer-names, same-window-regexps)
8669 (special-display-frame-alist, special-display-popup-frame)
8670 (special-display-function, special-display-buffer-names)
8671 (special-display-regexps, pop-up-frame-alist)
8672 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8673 (pop-up-windows, split-window-preferred-function)
8674 (split-height-threshold, split-width-threshold, even-window-heights)
8675 (display-buffer-mark-dedicated): Don't encourage the use of
8676 display-buffer-alist from Elisp code.
8677
8678 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8679
8680 * progmodes/python.el (python-mode): Derive from prog-mode.
8681 * progmodes/ps-mode.el (ps-mode):
8682 * progmodes/mixal-mode.el (mixal-mode):
8683 * progmodes/cfengine.el (cfengine-mode):
8684 * progmodes/ld-script.el (ld-script-mode): Likewise.
8685
8686 2011-06-15 Martin Rudalics <rudalics@gmx.at>
8687
8688 * window.el (display-buffer-alist): Trim default value to avoid
8689 popping up a new frame (Bug#8857) or reusing an arbitrary window
8690 on another frame.
8691 (display-buffer): Do not fall back on popping up a new frame in
8692 batch mode (Bug#8857).
8693
8694 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
8695
8696 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8697 (custom-theme-summary): New function.
8698 (customize-themes): Use it.
8699
8700 2011-06-13 Glenn Morris <rgm@gnu.org>
8701
8702 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8703
8704 2011-06-13 Martin Rudalics <rudalics@gmx.at>
8705
8706 * help.el (help-window): Remove variable.
8707 (help-window-point-marker, temp-buffer-max-height)
8708 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8709 (help-print-return-message): Don't set help-window.
8710 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8711 (help-window-setup-finish): Remove.
8712 (help-window-display-message, help-window-setup)
8713 (with-help-window): Major rewrite based on new
8714 display-buffer-window variable.
8715
8716 * help-mode.el (help-mode-finish): Remove help-window related
8717 code.
8718
8719 * view.el (view-exits-all-viewing-windows): Remove reference to
8720 view-return-to-alist in doc-string.
8721 (view-return-to-alist): Make obsolete.
8722 (view-buffer): Call pop-to-buffer-same-window and remove
8723 undo-window code.
8724 (view-buffer-other-window): Call pop-to-buffer-other-window and
8725 simplify code. Ignore second argument.
8726 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8727 simplify code. Ignore second argument.
8728 (view-return-to-alist-update): Make obsolete.
8729 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8730 Rewrite using quit-restore window parameters.
8731 (view-mode-exit): Rename second argument to EXIT-ONLY.
8732 Rewrite using quit-restore-window.
8733 (View-exit, View-exit-and-edit, View-leave, View-quit)
8734 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8735 appropriate arguments.
8736 (view-end-message): Use quit-restore window parameter.
8737
8738 * window.el (display-buffer-function): Rewrite doc-string.
8739 (display-buffer-window, display-buffer-alist): New variables.
8740 (display-buffer-split-specifiers)
8741 (display-buffer-side-specifiers)
8742 (display-buffer-macro-specifiers): New constants.
8743 (display-buffer-even-window-sizes, display-buffer-set-height)
8744 (display-buffer-set-width, display-buffer-select-window)
8745 (display-buffer-in-window, display-buffer-reuse-window)
8746 (display-buffer-split-window-1, display-buffer-split-window)
8747 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8748 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8749 (display-buffer-in-side-window, normalize-buffer-to-display)
8750 (display-buffer-normalize-specifiers-1)
8751 (display-buffer-normalize-specifiers-2)
8752 (display-buffer-normalize-specifiers, display-buffer-frame):
8753 New functions.
8754 (display-buffer): Major rewrite.
8755 (display-buffer-other-window, display-buffer-other-frame)
8756 (pop-to-buffer, switch-to-buffer-other-window)
8757 (switch-to-buffer-other-frame): Rewrite.
8758 (display-buffer-same-window, display-buffer-same-frame)
8759 (display-buffer-same-frame-other-window)
8760 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8761 (pop-to-buffer-other-window)
8762 (pop-to-buffer-same-frame-other-window)
8763 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8764 (switch-to-buffer-other-window-same-frame): New functions.
8765 (same-window-p, special-display-p): Rewrite disabling warnings.
8766 Make obsolete.
8767 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8768 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8769 Make obsolete
8770 (same-window-buffer-names, same-window-regexps)
8771 (special-display-frame-alist, special-display-popup-frame)
8772 (special-display-function, special-display-buffer-names)
8773 (special-display-regexps, pop-up-frame-alist)
8774 (pop-up-frame-function, split-window-preferred-function)
8775 (split-height-threshold, split-width-threshold)
8776 (even-window-heights): Make obsolete.
8777
8778 2011-06-12 Glenn Morris <rgm@gnu.org>
8779
8780 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8781 Misc simplifications.
8782
8783 2011-06-12 Martin Rudalics <rudalics@gmx.at>
8784
8785 * window.el (window-safely-shrinkable-p): Restore function which
8786 was inadvertently removed in change from 2011-06-11. Declare as
8787 obsolete.
8788
8789 * calendar/calendar.el (calendar-generate-window):
8790 Use window-iso-combined-p instead of combination of one-window-p and
8791 window-safely-shrinkable-p.
8792
8793 2011-06-12 Glenn Morris <rgm@gnu.org>
8794
8795 * progmodes/fortran.el (fortran-mode-syntax-table):
8796 * progmodes/f90.el (f90-mode-syntax-table):
8797 Set % to punctuation. (Bug#8820)
8798 (f90-find-tag-default): Remove, no longer needed.
8799
8800 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8801
8802 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8803
8804 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
8805
8806 * image.el (image-animated-p): Return animation delay in seconds.
8807 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8808 (image-animate-timeout): Remove DELAY argument. Don't assume
8809 every subimage has the same delay; get it from image-animated-p.
8810 (image-animate): Caller changed.
8811
8812 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
8813
8814 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8815 to ignored backtrace functions.
8816
8817 2011-06-11 Glenn Morris <rgm@gnu.org>
8818
8819 * calendar/appt.el (appt-disp-window-function): Doc fix.
8820 (appt-check): Handle overlapping appointments. (Bug#8337)
8821
8822 2011-06-11 Martin Rudalics <rudalics@gmx.at>
8823
8824 * window.el (window-tree-1, window-tree): New functions, moving
8825 the latter to window.el.
8826 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8827 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8828 (bw-refresh-edges): Remove.
8829 (balance-windows-1, balance-windows-2): New functions.
8830 (balance-windows): Rewrite in terms of window tree functions,
8831 balance-windows-1 and balance-windows-2.
8832 (bw-adjust-window): Remove.
8833 (balance-windows-area-adjust): New function with functionality of
8834 bw-adjust-window but using resize-window.
8835 (set-window-text-height): Rewrite doc-string.
8836 Use normalize-live-window and resize-window.
8837 (enlarge-window-horizontally, shrink-window-horizontally):
8838 Rename argument to DELTA.
8839 (window-buffer-height): New function.
8840 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8841 Rewrite using new window resize routines.
8842 (kill-buffer-and-window, mouse-autoselect-window-select):
8843 Use ignore-errors instead of condition-case.
8844 (quit-window): Call delete-frame instead of delete-windows-on
8845 for the only buffer on frame.
8846
8847 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8848
8849 * loadup.el (top-level): Load window before files for the sake
8850 of replace-buffer-in-windows.
8851
8852 * files.el (read-buffer-to-switch)
8853 (switch-to-buffer-other-window)
8854 (switch-to-buffer-other-frame, display-buffer-other-frame):
8855 Move to window.el.
8856
8857 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8858 (previous-buffer): Move to window.el.
8859
8860 * bindings.el (unbury-buffer): Move to window.el.
8861
8862 * window.el (delete-other-windows-vertically): Move after
8863 definition of delete-other-windows.
8864 (other-window, delete-windows-on, replace-buffer-in-windows):
8865 Move here from window.c.
8866 (record-window-buffer, unrecord-window-buffer)
8867 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8868 (switch-to-next-buffer): New functions.
8869 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8870 from simple.el. Call switch-to-next-buffer.
8871 (previous-buffer): Move here from simple.el.
8872 Call switch-to-prev-buffer.
8873 (bury-buffer): Move here from buffer.c. Switch to previous
8874 buffer when window cannot be deleted.
8875 (unbury-buffer): Move here from bindings.el.
8876 (ctl-x-map): Move binding for other-window from window.c to
8877 here.
8878 (read-buffer-to-switch, switch-to-buffer-other-window)
8879 (switch-to-buffer-other-frame): Move here from files.el.
8880 (normalize-buffer-to-switch-to): New functions.
8881 (switch-to-buffer): Move here from buffer.c.
8882 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8883
8884 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8885
8886 * window.el (window-min-height, window-min-width): Move here
8887 from window.c. Add defcustoms and rewrite doc-strings.
8888 (resize-mini-window, resize-window): New functions.
8889 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8890 Move here from window.c.
8891 (maximize-window, minimize-window): New functions.
8892 (delete-window, delete-other-windows, split-window): Move here
8893 from window.c.
8894 (window-split-min-size): New function.
8895 (split-window-keep-point): Mention split-window-above-each-other
8896 instead of split-window-vertically.
8897 (split-window-above-each-other, split-window-vertically):
8898 Rename split-window-vertically to split-window-above-each-other
8899 and provide defalias for old definition.
8900 (split-window-side-by-side, split-window-horizontally):
8901 Rename split-window-horizontally to split-window-side-by-side
8902 and provide defalias for the old definition.
8903 (ctl-x-map): Move bindings for delete-window,
8904 delete-other-windows and enlarge-window here from window.c.
8905 Replace bindings for split-window-vertically and
8906 split-window-horizontally by bindings for
8907 split-window-above-each-other and split-window-side-by-side.
8908
8909 * cus-start.el (all): Remove entries for window-min-height and
8910 window-min-width. Add entries for window-splits and
8911 window-nest.
8912
8913 2011-06-09 Glenn Morris <rgm@gnu.org>
8914
8915 * calendar/appt.el (appt-mode-line): New function.
8916 (appt-check, appt-disp-window): Use it.
8917
8918 * files.el (hack-one-local-variable-eval-safep):
8919 Allow minor-modes with explicit +/-1 arguments.
8920
8921 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8922
8923 * term/xterm.el (xterm): Add defgroup.
8924 (xterm-extra-capabilities): Add defcustom to supply known xterm
8925 capabilities, skip querying them, or query them (default).
8926 (terminal-init-xterm): Use it.
8927 (terminal-init-xterm-modify-other-keys): New function to set up
8928 modifyOtherKeys support to simplify `terminal-init-xterm'.
8929
8930 2011-06-09 Martin Rudalics <rudalics@gmx.at>
8931
8932 * window.el (resize-window-reset, resize-window-reset-1)
8933 (resize-subwindows-skip-p, resize-subwindows-normal)
8934 (resize-subwindows, resize-other-windows, resize-this-window)
8935 (resize-root-window, resize-root-window-vertically)
8936 (window-deletable-p, window-or-subwindow-p)
8937 (frame-root-window-p): New functions.
8938
8939 2011-06-09 Glenn Morris <rgm@gnu.org>
8940
8941 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8942 (ange-ftp-get-files): Use it.
8943
8944 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8945
8946 * mail/sendmail.el (mail-recover-1, mail-recover):
8947 * files.el (recover-file, recover-session):
8948 Handle dired-listing-switches not being just a single short option.
8949
8950 2011-06-09 Glenn Morris <rgm@gnu.org>
8951
8952 * calendar/appt.el (appt-display-message, appt-disp-window):
8953 Handle lists of appointments.
8954
8955 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8956
8957 * window.el (one-window-p): Move down in code.
8958 Rewrite doc-string.
8959 (window-current-scroll-bars): Rewrite doc-string.
8960 Normalize live window argument.
8961 (walk-windows, get-window-with-predicate, count-windows):
8962 Rewrite doc-string. Use window-list-1.
8963 (window-in-direction-2, window-in-direction, get-mru-window):
8964 New functions.
8965
8966 2011-06-08 Reuben Thomas <rrt@sc3d.org>
8967
8968 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8969 Doc fix (Bug#8713).
8970
8971 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
8972
8973 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8974
8975 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
8976
8977 * loadhist.el (unload-feature-special-hooks):
8978 Add `comint-output-filter-functions'.
8979
8980 2011-06-08 Ivan Kanis <gnu@kanis.fr>
8981
8982 * calendar/appt.el (appt-check): Move some initializations into the let.
8983
8984 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8985
8986 * window.el (window-height): Defalias to window-total-height.
8987 (window-width): Defalias to window-body-width.
8988
8989 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
8990
8991 * image-mode.el (image-toggle-animation): New command.
8992 (image-mode-map): Bind it to RET.
8993 (image-mode): Update message.
8994 (image-toggle-display-image): Avoid a spurious cache flush.
8995 (image-transform-rotation): Doc fix.
8996 (image-transform-properties): Return quickly in the normal case.
8997 (image-animate-loop): Rename from image-animate-max-time.
8998
8999 * image.el (image-animate-max-time): Move to image-mode.el.
9000 (create-animated-image): Remove unnecessary function.
9001 (image-animate): Rename from image-animate-start. New arg.
9002 (image-animate-stop): Remove; just use image-animate-timer.
9003 (image-animate-timer): Use car-safe.
9004 (image-animate-timeout): Rename argument.
9005
9006 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9007
9008 * window.el (get-lru-window, get-largest-window): Move here from
9009 window.c. Rename first argument to ALL-FRAMES.
9010 Rephrase doc-strings.
9011 (get-buffer-window-list): Rewrite using window-list-1.
9012 Rephrase doc-string.
9013 (window-safe-min-height, window-safe-min-width): New constants.
9014 (window-size-ignore, window-min-size, window-min-size-1)
9015 (window-sizable, window-sizable-p, window-size-fixed-1)
9016 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9017 (window-max-delta-1, window-max-delta, window-resizable)
9018 (window-resizable-p, window-total-height, window-total-width)
9019 (window-body-width): New functions.
9020 (window-full-height-p, window-full-width-p): Rewrite using
9021 window-total-size.
9022 (window-body-height): Rewrite using window-body-size.
9023
9024 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9025
9026 * window.el (window-right, window-left, window-child)
9027 (window-child-count, window-last-child, window-any-p)
9028 (normalize-live-buffer, normalize-live-frame)
9029 (normalize-any-window, normalize-live-window)
9030 (window-iso-combination-p, window-iso-combined-p)
9031 (window-iso-combinations)
9032 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9033 (windows-with-parameter, window-with-parameter)
9034 (window-atom-root, make-window-atom, window-atom-check-1)
9035 (window-atom-check, window-side-check, window-check):
9036 New functions.
9037 (ignore-window-parameters, window-sides, window-sides-vertical)
9038 (window-sides-slots): New variables.
9039 (window-size-fixed): Move down in code. Minor doc-string fix.
9040
9041 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9042
9043 * comint.el (comint-dynamic-complete-as-filename)
9044 (comint-dynamic-complete-filename): Correctly call
9045 completion-in-region.
9046
9047 2011-06-05 Deniz Dogan <deniz@dogan.se>
9048
9049 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9050 in last change.
9051
9052 2011-06-05 Deniz Dogan <deniz@dogan.se>
9053
9054 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9055 (rcirc): Use it to prompt for encryption.
9056
9057 2011-06-05 Roland Winkler <winkler@gnu.org>
9058
9059 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9060 (bibtex-search-entries): New command bound to C-c C-a.
9061 (bibtex-display-entries): New function.
9062
9063 2011-06-05 Roland Winkler <winkler@gnu.org>
9064
9065 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9066 (bibtex-insert-kill): After yanking insert newline if necessary.
9067 (bibtex-initialize): Call bibtex-string-files-init only once.
9068 (bibtex-mode): Do not call easy-menu-add.
9069 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9070 (bibtex-yank): Set arg properly if nil.
9071
9072 2011-06-05 Roland Winkler <winkler@gnu.org>
9073
9074 * textmodes/bibtex.el (bibtex-search-entry-globally):
9075 New variable.
9076 (bibtex-search-entry): Use it.
9077
9078 2011-06-05 Roland Winkler <winkler@gnu.org>
9079
9080 * textmodes/bibtex.el (bibtex-entry-format): New option
9081 sort-fields.
9082 (bibtex-format-entry, bibtex-reformat): Honor this option.
9083 (bibtex-parse-entry): Return fields in proper order.
9084
9085 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9086
9087 * doc-view.el (doc-view-remove-if): Move computation of result out
9088 of `dolist' to silence misleading lexical-binding warning.
9089
9090 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9091
9092 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9093 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9094
9095 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9096
9097 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9098 "SunOS 5.10".
9099
9100 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9101
9102 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9103 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9104 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9105 (tramp-parse-putty):
9106 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9107 (tramp-completion-function-alist-ssh)
9108 (tramp-completion-function-alist-telnet)
9109 (tramp-completion-function-alist-su)
9110 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9111 cookie.
9112
9113 * net/tramp-ftp.el:
9114 * net/tramp-sh.el:
9115 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9116 load "tramp.el" `tramp-set-completion-function'.
9117
9118 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * shell.el: Require and use pcomplete.
9121 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9122 (shell-completion-vars): Set pcomplete-default-completion-function.
9123
9124 2011-06-04 Deniz Dogan <deniz@dogan.se>
9125
9126 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9127 `memq' (Bug#8799).
9128
9129 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9132
9133 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9134
9135 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9136 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9137 * vc/log-view.el (log-view-beginning-of-defun):
9138 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9139 (smerge-refine-forward, smerge-refine-chopup-region):
9140 Silence warning for unused `dotimes' counter variables.
9141
9142 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * net/tramp.el (tramp-with-progress-reporter): Rename from
9145 with-progress-reporter. Use `declare'.
9146 * net/tramp-smb.el:
9147 * net/tramp-sh.el:
9148 * net/tramp-gvfs.el: Update all uses.
9149
9150 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9151
9152 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9153 buffer isn't killed before making it current.
9154
9155 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 Silence various byte-compiler warnings.
9158 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9159 `access-type' and new obsolescence format.
9160 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9161 new format.
9162 (byte-compile-check-variable): New `access-type' argument.
9163 Only warn if the access-type is obsolete.
9164 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9165 (byte-compile-variable-set): Adjust callers.
9166 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9167 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9168 setting it as obsolete.
9169 * simple.el (minibuffer-completing-symbol):
9170 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9171 access as obsolete.
9172 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9173 obsolete yet.
9174 * international/quail.el (quail-mouse-choose-completion): Remove unused
9175 code referring to obsolete var.
9176 (quail-choose-completion-string): Remove.
9177 * server.el (server-clients-with, server-kill-buffer-query-function)
9178 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9179 * proced.el (proced-send-signal):
9180 * emacs-lisp/lisp.el (lisp-complete-symbol):
9181 Replace completion-annotate-function with completion-extra-properties.
9182
9183 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * simple.el (goto-line): Use read-number.
9186 (overriding-map-is-bound): Remove.
9187 (saved-overriding-map): Change default.
9188 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9189 Take the map as argument.
9190 (universal-argument, negative-argument, digit-argument): Use it.
9191 (restore-overriding-map): Adjust.
9192 (do-auto-fill): Use fill-forward-paragraph.
9193 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9194
9195 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9196 (minibuffer-inactive-mode): New major mode.
9197 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9198 the *Messages* buffer" hack.
9199 (mouse-popup-menubar): Don't burp if the event is a normal key.
9200
9201 Miscellaneous tweaks.
9202 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9203 lexical scoping as in subr.el's dolist and dotimes.
9204 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9205 Silence compiler warning.
9206 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9207 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9208 * international/ccl.el (ccl-compile): Trivial simplification.
9209 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9210 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9211 `printflag' argument.
9212 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9213 Purecopy the whole obsolescence data.
9214
9215 2011-06-01 Leo Liu <sdl.web@gmail.com>
9216
9217 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9218 improve doc-string as suggested by Marco Pessotto
9219 <melmothx@gmail.com>.
9220 (rcirc-print): Fix last change.
9221
9222 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * minibuffer.el (complete-with-action): Return nil for the metadata and
9225 boundaries of non-functional tables.
9226 (completion-table-dynamic): Return nil for the metadata.
9227 (completion-table-with-terminator): Add default case, using
9228 complete-with-action.
9229 (completion--metadata): New function.
9230 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9231 to try and avoid pathological performance problems.
9232 (completion--embedded-envvar-table): Return `category' metadata.
9233
9234 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9235
9236 * subr.el (process-alive-p): New tiny convenience function.
9237
9238 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9241 content but also its previous major mode.
9242
9243 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9244
9245 * emacs-lisp/debug.el (debug): Restore the previous content of the
9246 *Backtrace* buffer when we exit with C-M-c.
9247
9248 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9249
9250 * minibuffer.el: Add metadata method to completion tables.
9251 (completion-category-overrides): New defcustom.
9252 (completion-metadata, completion--field-metadata)
9253 (completion-metadata-get, completion--styles)
9254 (completion--cycle-threshold): New functions.
9255 (completion-try-completion, completion-all-completions):
9256 Add `metadata' argument to choose completion-styles.
9257 (completion--do-completion): Use metadata to choose cycling.
9258 (completion-all-sorted-completions): Use metadata for sorting.
9259 Remove :completion-cycle-penalty which is not needed any more.
9260 (completion--try-word-completion): Add `metadata' argument.
9261 (minibuffer-completion-help): Check metadata for annotation function
9262 and sorting.
9263 (completion-file-name-table): Return `category' metadata.
9264 (minibuffer-completing-file-name): Make obsolete.
9265 * simple.el (minibuffer-completing-symbol): Make obsolete.
9266 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9267 completion-try-completion.
9268
9269 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9272
9273 2011-05-30 Leo Liu <sdl.web@gmail.com>
9274
9275 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9276 (rcirc-print): Decode all incoming messages (bug#8744).
9277 (rcirc-decode-coding-system): Allow value nil for automatic coding
9278 system detection.
9279
9280 2011-06-01 Glenn Morris <rgm@gnu.org>
9281
9282 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9283
9284 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9285
9286 * image.el (image-animate-max-time): Allow nil and t values.
9287 Default to nil.
9288 (create-animated-image): Doc fix.
9289 (image-animate-start): Remove second arg; just use
9290 image-animate-max-time.
9291 (image-animate-timeout): Doc fix. Args changed.
9292
9293 * image-mode.el (image-toggle-display-image): Ensure that the
9294 image spec passed to the animate timer is the same object as in
9295 the buffer's display property (Bug#6981).
9296 (image-transform-properties): Doc fix.
9297
9298 * image.el (image-animate-max-time): Default to nil.
9299
9300 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9301
9302 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9303 entire buffer list (Bug#8184).
9304
9305 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9306
9307 * image.el (imagemagick-types-inhibit)
9308 (imagemagick-register-types): Doc fix.
9309
9310 2011-05-29 Deniz Dogan <deniz@dogan.se>
9311
9312 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9313 default.
9314
9315 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9316
9317 * select.el: Don't perform clipboard-manager saving in hooks;
9318 leave the hooks empty.
9319
9320 2011-05-28 Leo Liu <sdl.web@gmail.com>
9321
9322 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9323 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9324 (occur-edit-mode): New major mode (Bug#8463).
9325 (occur-after-change-function): New function.
9326 (occur-engine): Give Occur tags a read-only property.
9327
9328 2011-05-28 Kevin Ryde <user42@zip.com.au>
9329
9330 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9331
9332 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9333
9334 * bindings.el (help-echo): Make the initial non-indicator dash
9335 empty on graphical terminals (Bug#7295).
9336
9337 * files.el (auto-mode-alist): Move config rule after the
9338 in-stripping one (Bug#8547).
9339
9340 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9341
9342 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9343 setting (Bug#8740).
9344
9345 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9346
9347 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9348 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9349 (Bug#8539).
9350
9351 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9352
9353 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9354
9355 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9356
9357 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9358 (hs-hide-block-at-point, hs-find-block-beginning)
9359 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9360 (Bug#8279).
9361
9362 2011-05-28 Glenn Morris <rgm@gnu.org>
9363
9364 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9365
9366 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9367
9368 * help-fns.el (describe-function-1): If the function is a derived
9369 major mode, print the parent mode.
9370
9371 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9372 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9373
9374 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * minibuffer.el (completion--capf-wrapper): Check applicability before
9377 returning non-nil for non-exclusive completion data.
9378 * progmodes/etags.el (tags-completion-at-point-function):
9379 * info-look.el (info-lookup-completions-at-point): Mark as
9380 non-exclusive.
9381 (info-complete): Adjust accordingly.
9382
9383 * info-look.el: Convert to lexical-binding and completion-at-point.
9384 (info-lookup-completions-at-point): New function.
9385 (info-complete): Use it and completion-in-region.
9386
9387 2011-05-28 Drew Adams <drew.adams@oracle.com>
9388
9389 * isearch.el: Let M-e start with point at the first mismatched char.
9390 (isearch-fail-pos): New function.
9391 (isearch-edit-string): Use it.
9392
9393 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9394
9395 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9396
9397 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9398
9399 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9400 traversal functions for avl-trees.
9401 (avl-tree--stack): New struct.
9402 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9403 (avl-tree-enter): Add optional `updatefun' arg.
9404 (avl-tree--do-enter): Add optional `updatefun' arg.
9405 Change return value.
9406 (avl-tree-delete): Add optional `test' and `nilflag' args.
9407 (avl-tree--do-delete): Add `test' and `nilflag' args.
9408 Change return value.
9409 (avl-tree-member): Add optional `nilflag'
9410 (avl-tree-member-p): New function.
9411 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9412 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9413 (avl-tree-stack-empty-p): New functions.
9414
9415 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9416 avl-tree--del-balance1 and make it work both ways.
9417 (avl-tree--del-balance2): Remove.
9418 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9419 make it work both ways.
9420 (avl-tree--enter-balance2): Remove.
9421 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9422 New macros.
9423 (avl-tree--mapc, avl-tree-map): Add direction argument.
9424
9425 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9426
9427 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9428
9429 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9430
9431 * select.el: Support clipboard managers with built-in function
9432 x-clipboard-manager-save, via delete-frame-functions and
9433 kill-emacs-hook.
9434 (xselect-convert-to-targets): Add MULTIPLE target to list.
9435 (xselect-convert-to-save-targets): New function.
9436
9437 2011-05-27 Kenichi Handa <handa@m17n.org>
9438
9439 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9440 let-binding rfc2047-encode-encoded-words to nil.
9441
9442 2011-05-27 Glenn Morris <rgm@gnu.org>
9443
9444 * mail/emacsbug.el: Don't require url-util.
9445
9446 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9447
9448 * files.el (set-auto-mode):
9449 Also respect mode: entries at the end of the file. (Bug#8586)
9450
9451 2011-05-26 Glenn Morris <rgm@gnu.org>
9452
9453 * files.el (hack-local-variables-prop-line, hack-local-variables):
9454 Downcase mode names, as seems to be traditional.
9455 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9456
9457 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9458 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9459
9460 2011-05-25 Julien Danjou <julien@danjou.info>
9461
9462 * textmodes/rst.el (rst-define-level-faces): Do not define face
9463 symbol if it is already defined.
9464
9465 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9466
9467 * play/5x5.el (5x5-new-game, 5x5-randomize):
9468 Reset 5x5-solver-output to nil when a new grid is cast.
9469 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9470 these debugging traces, as defmacro breaks the compiled code.
9471
9472 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9473
9474 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9475
9476 2011-05-24 Leo Liu <sdl.web@gmail.com>
9477
9478 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9479 (vc-bzr-sha1): Adapt.
9480
9481 * sha1.el: Remove. Function `sha1' is now builtin.
9482
9483 * bindings.el: Provide sha1 feature.
9484
9485 2011-05-24 Kenichi Handa <handa@m17n.org>
9486
9487 * mail/sendmail.el: Require `rfc2047'.
9488 (mail-insert-from-field): Do not perform RFC2047 encoding.
9489 (mail-encode-header): New function.
9490 (sendmail-send-it): Set buffer-file-coding-system of the work
9491 buffer to the return value of select-message-coding-system.
9492 Call mail-encode-header.
9493
9494 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9495
9496 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9497
9498 * mail/supercite.el (sc-default-cite-frame):
9499 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9500
9501 2011-05-24 Glenn Morris <rgm@gnu.org>
9502
9503 * progmodes/python.el (brm-menu): Declare.
9504
9505 * emulation/viper.el (viper-set-hooks): Declare.
9506
9507 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9508 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9509 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9510 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9511 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9512 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9513
9514 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 Add an :exit-function for completion-at-point.
9517
9518 * minibuffer.el (completion--done): New fun.
9519 (completion--do-completion): Use it. New arg `expect-exact'.
9520 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9521 since completion--do-completion does it for us now.
9522 (minibuffer-force-complete): Use completion--done and
9523 completion--replace. Handle sole-completion case with more care.
9524 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9525 (completion-extra-properties): New var.
9526 (completion-annotate-function): Make obsolete.
9527 (minibuffer-completion-help): Adjust accordingly.
9528 Use completion-list-insert-choice-function.
9529 (completion-at-point, completion-help-at-point):
9530 Bind completion-extra-properties.
9531 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9532 * simple.el (completion-list-insert-choice-function): New var.
9533 (completion-setup-function): Preserve it.
9534 (choose-completion): Pay attention to it, shuffle the code a bit.
9535 (choose-completion-string): New arg `insert-function'.
9536
9537 * textmodes/bibtex.el: Convert to lexical binding.
9538 (bibtex-mode-map): Use completion-at-point.
9539 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9540 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9541 (bibtex-complete): Define as obsolete alias.
9542 (bibtex-complete-internal): Remove.
9543 (bibtex-format-entry): Remove unused sub-group in regexp.
9544 * shell.el (shell--command-completion-data)
9545 (shell-environment-variable-completion):
9546 * pcomplete.el (pcomplete-completions-at-point):
9547 * comint.el (comint--complete-file-name-data): Use :exit-function
9548 instead of completion-table-with-terminator so it also works for
9549 choose-completion.
9550
9551 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9552
9553 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9554
9555 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9556 (bug#8710).
9557
9558 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9559
9560 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9561
9562 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9563 customization variable and implement: If non-nil, auto-fill will
9564 be inhibited while on topic's header line.
9565
9566 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9567
9568 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9569 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9570 always have a solution in grid size = 5 cases.
9571 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9572 (5x5-solver-output, 5x5-log-buffer): New vars.
9573 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9574 Make these variables buffer local to achieve 5x5 multi-session-ness.
9575 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9576 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9577 (5x5-solve-suggest): New funs.
9578 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9579 randomize a grid so that we ensure that there is always a solution.
9580 (5x5-make-random-grid): Allow other movement than flipping.
9581
9582 2011-05-23 Kevin Ryde <user42@zip.com.au>
9583
9584 * emacs-lisp/advice.el (ad-read-advised-function):
9585 Use `function-called-at-point' as the default, if it has
9586 advice and passes PREDICATE.
9587
9588 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9591 byte-compile-lambda if it's actually a lambda.
9592
9593 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9594 Fix function quoting. Use backquote better.
9595
9596 2011-05-22 Yuanle Song <sylecn@gmail.com>
9597
9598 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9599 matching (Bug#8516).
9600
9601 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9602
9603 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9604 different face (Bug#8178).
9605
9606 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9607
9608 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9609 defface (Bug#8144).
9610
9611 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9614 funcall as well (bug#8712). Warn when performing those conversions.
9615 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9616
9617 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9618
9619 2011-05-22 Glenn Morris <rgm@gnu.org>
9620
9621 * files.el (hack-local-variables-prop-line): Small simplifications.
9622 (hack-local-variables, hack-local-variables-prop-line):
9623 If MODE-ONLY, return the mode, rather than just `t'.
9624
9625 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9628
9629 2011-05-21 Glenn Morris <rgm@gnu.org>
9630
9631 * files.el (hack-local-variables-prop-line, hack-local-variables):
9632 If only interested in the mode, don't bother doing the other stuff.
9633
9634 * image-mode.el (image-after-revert-hook):
9635 Redraw all frames on which the image is visible. (Bug#8567)
9636
9637 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9638
9639 * wid-edit.el (widget-checklist-match-inline):
9640 Fix 2011-04-19 change. (Bug#8649)
9641
9642 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9645 Also allow singlespace after single-letter capitals followed by a dot.
9646
9647 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9648 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9649
9650 2011-05-20 Nix <nix@esperi.org.uk>
9651
9652 * files.el (basic-save-buffer-2):
9653 Fix handling of break-hardlink-on-save with non-existent files.
9654
9655 2011-05-19 Deniz Dogan <deniz@dogan.se>
9656
9657 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9658 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9659
9660 2011-05-19 Glenn Morris <rgm@gnu.org>
9661
9662 * progmodes/f90.el (f90-type-def-re):
9663 Handle "type, bind(c)". (Bug#8691)
9664
9665 * emacs-lisp/autoload.el (batch-update-autoloads):
9666 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9667
9668 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9671 property for the correct connection in case of multihops.
9672
9673 2011-05-18 Glenn Morris <rgm@gnu.org>
9674
9675 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9676 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9677
9678 Rationalize calendar handling of day and month abbrev-arrays.
9679 * calendar/calendar.el (calendar-customized-p): New function.
9680 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9681 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9682 Add :set function.
9683 (calendar-abbrev-length, calendar-day-abbrev-array)
9684 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9685 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9686 Elements may no longer be nil.
9687 (calendar-day-name, calendar-month-name):
9688 Update for changed nature of abbrev arrays.
9689 * calendar/diary-lib.el (diary-name-pattern):
9690 Update for changed nature of abbrev arrays.
9691 (diary-mark-entries-1): Update calendar-make-alist calls.
9692 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9693 * calendar/cal-html.el (cal-html-day-abbrev-array):
9694 Simply inherit from calendar-day-abbrev-array.
9695
9696 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9697
9698 * progmodes/grep.el (grep-mode): Disable default
9699 compilation-directory-matcher setting (bug#8684).
9700
9701 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
9702
9703 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9704 instead of "head" and "tail". There were problems with SunOS 5.9,
9705 and it performs better.
9706
9707 2011-05-17 Glenn Morris <rgm@gnu.org>
9708
9709 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9710
9711 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9712 Replace obsolete function.
9713
9714 * shell.el (pcomplete-parse-arguments-function): Declare.
9715
9716 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9717 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9718 (appt-check): Doc fixes.
9719 (appt-disp-window-function, appt-delete-window-function):
9720 Remove needless special case in custom :type.
9721 (appt-display-count): Default to 0, not nil.
9722 (appt-check): Reset appt-display-count to 0, not nil.
9723
9724 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
9725
9726 * progmodes/python.el (python-font-lock-keywords):
9727 Add the Python 3.X keyword "nonlocal" (bug#8639).
9728
9729 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9732
9733 2011-05-16 Kevin Ryde <user42@zip.com.au>
9734
9735 * info-look.el (makefile-automake-mode): New setups, looking in
9736 automake manual, then makefile-mode.
9737 (makefile-mode): Remove automake manual, have it just in
9738 makefile-automake-mode since there's various things different or
9739 not relevant to plain make.
9740 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9741 believe a hypothetical automake-mode would go to makefile-mode,
9742 not the other way around.
9743
9744 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
9745
9746 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9747 hunk-end tags (Bug#8672).
9748
9749 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9750 vc-annotate-show-diff-revision-at-line (Bug#8671).
9751
9752 2011-05-14 Glenn Morris <rgm@gnu.org>
9753
9754 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9755 in the middle of an existing one with multiple authors. (Bug#8645)
9756 (change-log-font-lock-keywords): Also handle multiple author lines
9757 with leading tabs. (Bug#8644)
9758
9759 * calendar/appt.el (appt-check): Rename some local variables.
9760 Some simplification/reordering.
9761
9762 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9763 (feedmail-sendmail-f-doesnt-sell-me-out)
9764 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9765 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9766 (feedmail-queue-runner-message-sender): Set :version.
9767 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9768 (bbdb-dwim-net-address, vm-mail): Declare.
9769 (feedmail-binmail-gnulinuxish-template):
9770 Rename from feedmail-binmail-linuxish-template.
9771 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9772 Use insert-buffer-substring.
9773
9774 2011-05-14 Bill Carpenter <bill@carpenter.org>
9775
9776 * mail/feedmail.el (feedmail-patch-level): Increase.
9777 (feedmail-debug): New custom group.
9778 (feedmail-confirm-outgoing-timeout)
9779 (feedmail-sendmail-f-doesnt-sell-me-out)
9780 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9781 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9782 (feedmail-sender-line, feedmail-from-line)
9783 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9784 (feedmail-spray-this-address)
9785 (feedmail-spray-address-fiddle-plex-list)
9786 (feedmail-queue-use-send-time-for-date)
9787 (feedmail-queue-use-send-time-for-message-id)
9788 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9789 (feedmail-buffer-eating-function):
9790 Doc fixes.
9791 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9792 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9793 (feedmail-message-action-scroll-down): New functions.
9794 (feedmail-queue-directory, feedmail-queue-draft-directory):
9795 Use expand-file-name.
9796 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9797 Remove C-v help entry.
9798 (feedmail-queue-buffer-file-name): New variable.
9799 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9800 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9801 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9802 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9803 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9804 (feedmail-message-action-toggle-spray)
9805 (feedmail-run-the-queue-no-prompts)
9806 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9807 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9808 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9809 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9810 (feedmail-envelope-deducer, feedmail-fiddle-from)
9811 (feedmail-fiddle-sender, feedmail-default-date-generator)
9812 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9813 (feedmail-fiddle-spray-address)
9814 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9815 (feedmail-fiddle-list-of-fiddle-plexes)
9816 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9817 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9818 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9819 Change default. Doc fix.
9820 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9821 (feedmail-binmail-linuxish-template): New constant.
9822 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9823 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9824 (feedmail-send-it): Add debug call.
9825 Use feedmail-queue-buffer-file-name, and
9826 feedmail-send-it-immediately-wrapper.
9827 (feedmail-message-action-send): Add debug call.
9828 Use feedmail-send-it-immediately-wrapper.
9829 (feedmail-queue-express-to-queue): Add debug call.
9830 Run feedmail-queue-express-hook.
9831 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9832 (feedmail-message-action-help-blat):
9833 Rename from feedmail-queue-send-edit-prompt-help-first.
9834 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9835 Check line-endings. Handle errors better.
9836 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9837 Doc fix. Add debug call.
9838 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9839 Use feedmail-queue-send-edit-prompt-inner.
9840 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9841 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9842 from feedmail-queue-send-edit-prompt.
9843 (feedmail-queue-send-edit-prompt-help)
9844 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9845 (feedmail-tidy-up-slug): Add debug call.
9846 Respect feedmail-queue-slug-suspect-regexp.
9847 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9848 (feedmail-dump-message-to-queue): Add debug call.
9849 Expand queue-directory.
9850 (feedmail-dump-message-to-queue): Change message slightly.
9851 Use feedmail-say-chatter.
9852 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9853 (feedmail-send-it-immediately-wrapper): New function.
9854 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9855 Insert empty string rather than newline. Handle full-frame case.
9856 Use catch/throw. Use feedmail-say-chatter.
9857 (feedmail-fiddle-from): Try mail-host-address.
9858 (feedmail-default-message-id-generator): Doc fix.
9859 Bind system-time-locale. Handle missing end.
9860 (feedmail-fiddle-x-mailer): Add debug call.
9861 Handle feedmail-x-mailer-line being nil.
9862 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9863 Add debug call. Use buffer-substring-no-properties.
9864 (feedmail-say-debug, feedmail-say-chatter): New functions.
9865 (feedmail-find-eoh): Give an explicit error.
9866
9867 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
9868
9869 * net/newst-treeview.el (newsticker-treeview-face): Change default
9870 family from helvetica to sans.
9871 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9872 etc/images/newsticker.
9873
9874 * net/newst-reader.el (newsticker-feed-face): Change default
9875 family from helvetica to sans.
9876
9877 * net/newst-plainview.el (newsticker-new-item-face)
9878 (newsticker-old-item-face, newsticker-immortal-item-face)
9879 (newsticker-obsolete-item-face, newsticker-date-face)
9880 (newsticker-statistics-face): Change default family from
9881 helvetica to sans.
9882 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9883 etc/images/newsticker.
9884
9885 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9886 (newsticker--process-auto-mark-filter-match): : Tell user about
9887 auto-marking.
9888
9889 2011-05-13 Didier Verna <didier@xemacs.org>
9890
9891 Common Lisp indentation improvements on defmethod and lambda-lists.
9892 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9893 TODO entries.
9894 (lisp-lambda-list-keyword-parameter-indentation)
9895 (lisp-lambda-list-keyword-parameter-alignment)
9896 (lisp-lambda-list-keyword-alignment): New customizable user options.
9897 (lisp-indent-defun-method): Improve docstring.
9898 (extended-loop-p): Fix comment.
9899 (lisp-indent-lambda-list-keywords-regexp): New variable.
9900 (lisp-indent-lambda-list): New function.
9901 (lisp-indent-259): Use it.
9902 (lisp-indent-defmethod): Support for more than one
9903 method qualifier and properly indent methods lambda-lists.
9904 (defgeneric): Provide a missing common-lisp-indent-function property.
9905
9906 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9909 bounds for the empty string (bug#8667).
9910
9911 2011-05-13 Glenn Morris <rgm@gnu.org>
9912
9913 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9914
9915 * mail/sendmail.el (sendmail-program): Try executable-find first.
9916 (sendmail-send-it): `sendmail-program' cannot be unbound.
9917
9918 * calendar/appt.el (appt-make-list): Simplify.
9919 (appt-time-msg-list): Doc fix.
9920 (appt-check): Change mode-line message at the time of the appointment.
9921
9922 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9923
9924 * progmodes/ld-script.el (ld-script-keywords)
9925 (ld-script-builtins): Update keywords list.
9926
9927 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9930
9931 * shell.el (shell-completion-vars): New function.
9932 (shell-mode):
9933 * simple.el (read-shell-command): Use it.
9934 (blink-matching-open): No need for " [...]" in minibuffer-message.
9935
9936 2011-05-12 Glenn Morris <rgm@gnu.org>
9937
9938 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9939 (appt-check): Simplify.
9940
9941 2011-05-12 Eli Zaretskii <eliz@gnu.org>
9942
9943 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9944 literal "/dev/null".
9945
9946 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9949 Fix typo.
9950
9951 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
9952
9953 * progmodes/which-func.el (which-function):
9954 Use add-log-current-defun instead of add-log-current-defun-function,
9955 which might not be defined (Bug#8260).
9956
9957 2011-05-12 Glenn Morris <rgm@gnu.org>
9958
9959 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9960 Let byte-compile-initial-macro-environment always take precedence.
9961
9962 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * net/rcirc.el: Add support for SSL/TLS connections.
9965 (rcirc-server-alist): New field `encryption'.
9966 (rcirc): Check `encryption' settings.
9967 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9968 Merge make-local-variable into `set'.
9969 (rcirc--connection-open-p): New function.
9970 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9971 the process is not a network process (e.g. running gnutls-cli).
9972 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9973 Make rcirc-(en|de)code-coding-system local here.
9974 (rcirc-mode): Merge make-local-variable into `set'.
9975 (rcirc-parent-buffer): Make permanent buffer-local.
9976 (rcirc-multiline-minor-mode): Don't do it here.
9977 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9978 there's no server buffer.
9979
9980 2011-05-11 Glenn Morris <rgm@gnu.org>
9981
9982 * newcomment.el (comment-kill): Prefix "unused" local.
9983
9984 * term/w32console.el (get-screen-color): Declare.
9985
9986 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9987 Handle symbol elements of byte-compile-initial-macro-environment.
9988
9989 2011-05-10 Leo Liu <sdl.web@gmail.com>
9990
9991 * bookmark.el (bookmark-bmenu-mode-map):
9992 Bind bookmark-bmenu-search to `/'.
9993
9994 * mail/footnote.el: Convert to utf-8 encoding.
9995 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9996 (Footnote-unicode): New function.
9997 (footnote-style-alist): Add unicode style to the list.
9998 (footnote-style): Doc fix.
9999
10000 2011-05-10 Jim Meyering <meyering@redhat.com>
10001
10002 Fix doubled-word typos.
10003 * international/quail.el (quail-insert-kbd-layout): and and -> and
10004 * kermit.el: and and -> and
10005 * net/ldap.el (ldap-search-internal): to to -> to
10006 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10007 * progmodes/js.el (js-mode): and and -> and
10008 * textmodes/artist.el (artist-move-to-xy): at at -> at
10009 (artist-draw-region-trim-line-endings): if if -> if
10010 And Safetyc -> Safety.
10011 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10012
10013 2011-05-10 Glenn Morris <rgm@gnu.org>
10014 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * files.el (hack-one-local-variable-eval-safep):
10017 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10018
10019 2011-05-10 Glenn Morris <rgm@gnu.org>
10020
10021 * calendar/diary-lib.el (diary-list-entries-hook)
10022 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10023 (diary-nongregorian-marking-hook, diary-list-entries)
10024 (diary-include-other-diary-files, diary-mark-entries)
10025 (diary-mark-included-diary-files): Doc fixes.
10026
10027 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10028
10029 * misc.el: Require tabulated-list.el during compilation.
10030
10031 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10032
10033 * progmodes/compile.el (compilation-start):
10034 Run compilation-filter-hook for the async case too.
10035 (compilation-filter-hook): Doc fix.
10036
10037 2011-05-09 Deniz Dogan <deniz@dogan.se>
10038
10039 * wdired.el: Remove outdated installation comment. Fix usage
10040 comment.
10041
10042 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10043
10044 * misc.el: Implement new command `list-dynamic-libraries'.
10045 (list-dynamic-libraries--loaded-only-p): New variable.
10046 (list-dynamic-libraries--refresh): New function.
10047 (list-dynamic-libraries): New command.
10048
10049 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10050
10051 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10052 Fix the ant regexp to handle end-line and end-column info from jikes.
10053 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10054 higher priority to avoid clobbering by gnu.
10055
10056 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10057
10058 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10059 if the face has existing theme settings (Bug#8454).
10060
10061 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10062
10063 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10064 Only match variables declared via `my' or `our' (Bug#8261).
10065
10066 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10067 special file names `.' and `..' (Bug#8259).
10068
10069 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10070
10071 * progmodes/grep.el (grep-mode-font-lock-keywords):
10072 Remove buffer-changing entries.
10073 (grep-filter): New function.
10074 (grep-mode): Add it to compilation-filter-hook.
10075
10076 * progmodes/compile.el (compilation-filter-hook)
10077 (compilation-filter-start): New defvars.
10078 (compilation-filter): Call compilation-filter-hook prior to
10079 updating the process mark.
10080
10081 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10084
10085 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10086
10087 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10088 mailclient-send-it even if window-system is nil. (Bug#8595)
10089
10090 * term/w32console.el (terminal-init-w32console):
10091 Call get-screen-color and use its output to set the frame
10092 background-mode. (Bug#8597)
10093
10094 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10097 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10098 New functions.
10099 (defgeneric, eieio--defmethod): Use them.
10100 (eieio-defgeneric): Remove.
10101 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10102
10103 2011-05-07 Glenn Morris <rgm@gnu.org>
10104
10105 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10106 Use let rather than let*.
10107 (timeclock-find-discrep): Remove unused local.
10108
10109 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10110
10111 * calendar/appt.el (appt-time-msg-list): Doc fix.
10112
10113 2011-05-06 Noah Friedman <friedman@splode.com>
10114
10115 * apropos.el (apropos-print-doc): Only use
10116 emacs-lisp-docstring-fill-column when it is bound to an integer,
10117 per that variable's documentation.
10118
10119 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10122 and warnings are not silently discarded (e.g. use -d instead of -P).
10123
10124 2011-05-06 Glenn Morris <rgm@gnu.org>
10125
10126 * calendar/appt.el (appt-message-warning-time): Doc fix.
10127 (appt-warning-time-regexp): New option.
10128 (appt-make-list): Respect appt-message-warning-time.
10129
10130 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10131 New options.
10132 (diary-add-to-list): Strip comments from the displayed string.
10133 (diary-mode): Set comment-start and comment-end.
10134
10135 * vc/diff-mode.el (smerge-refine-subst): Declare.
10136 (diff-refine-hunk): Don't require smerge-mode when compiling.
10137
10138 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10139
10140 * simple.el (list-processes): Return nil as the docstring says.
10141
10142 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10143
10144 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10145 to "".
10146 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10147 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10148 determining of binary transfer. (Bug#7383)
10149
10150 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10151
10152 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10153 Fix port computation bug. (Bug#8618)
10154
10155 2011-05-05 Glenn Morris <rgm@gnu.org>
10156
10157 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10158
10159 * simple.el (shell-dynamic-complete-functions)
10160 (comint-dynamic-complete-functions): Declare.
10161
10162 * net/network-stream.el (gnutls-negotiate):
10163 * simple.el (tabulated-list-print): Fix declarations.
10164
10165 * progmodes/gud.el (syntax-symbol, syntax-point):
10166 Remove unnecessary and incorrect declarations.
10167
10168 * emacs-lisp/check-declare.el (check-declare-scan):
10169 Handle byte-compile-initial-macro-environment in bytecomp.el
10170
10171 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 Fix earlier half-done eieio-defmethod change (bug#8338).
10174 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10175 Streamline and change calling convention.
10176 (defmethod): Adjust accordingly and simplify.
10177 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10178 new eieio--defmethod.
10179 (slot-boundp): Minor CSE simplification.
10180
10181 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10182
10183 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10184 (glasses-make-readable): Use glasses-separate-capital-groups.
10185
10186 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10187
10188 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10189 (warning-series): Doc fix.
10190 (display-warning): Don't try to create the buffer if we just found it.
10191
10192 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10193
10194 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10195 (autoload-find-generated-file): New function.
10196 (generate-file-autoloads): Bind generated-autoload-file to
10197 buffer-file-name.
10198 (update-file-autoloads, update-directory-autoloads):
10199 Use autoload-find-generated-file. If called interactively, prompt for
10200 output file (Bug#7989).
10201 (batch-update-autoloads): Doc fix.
10202
10203 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10204
10205 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10206
10207 2011-05-04 Glenn Morris <rgm@gnu.org>
10208
10209 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10210 function, so it follows changes in calendar-date-style.
10211 (diary-fancy-date-matcher): New function.
10212 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10213 (diary-fancy-font-lock-fontify-region-function):
10214 Use diary-fancy-date-pattern as a function.
10215
10216 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10217 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10218
10219 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10220
10221 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10222 instead of positional arguments. Allow :keylist and :crlfiles
10223 arguments.
10224 (open-gnutls-stream): Call it.
10225
10226 * net/network-stream.el (network-stream-open-starttls): Adjust to
10227 call `gnutls-negotiate' with :process and :hostname arguments.
10228
10229 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * minibuffer.el (completion--message): New function.
10232 (completion--do-completion, minibuffer-complete)
10233 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10234 (completion--do-completion): Don't ignore completion-auto-help when in
10235 icomplete-mode.
10236
10237 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10238 internal encoding (e.g. tibetan zero is not whitespace).
10239 (global-whitespace-mode): Prefer save-current-buffer.
10240 (whitespace-trailing-regexp): Remove useless save-match-data.
10241 (whitespace-empty-at-bob-regexp): Minor simplification.
10242
10243 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10244
10245 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10246
10247 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10248
10249 * textmodes/ispell.el (ispell-add-per-file-word-list):
10250 Use `concat' to create string for insertion.
10251
10252 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10255 Avoid open-line which runs post-self-insert-hook.
10256 (bibtex-fill-entry): Remove unused `end' var.
10257
10258 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10259
10260 * textmodes/ispell.el (ispell-add-per-file-word-list):
10261 Protect against `nil' value of `comment-start' (Bug#8579).
10262
10263 2011-05-03 Leo Liu <sdl.web@gmail.com>
10264
10265 * isearch.el (isearch-yank-pop): New command.
10266 (isearch-mode-map): Bind it to `M-y'.
10267 (isearch-forward): Mention it.
10268
10269 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * simple.el (minibuffer-complete-shell-command): Remove.
10272 (minibuffer-local-shell-command-map): Use completion-at-point.
10273 (read-shell-command): Setup completion vars here instead.
10274 (read-expression-map): Bind TAB to symbol completion.
10275
10276 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10277 error directly rather via storing it into `results'.
10278
10279 2011-05-02 Leo Liu <sdl.web@gmail.com>
10280
10281 * vc/diff.el: Fix description.
10282
10283 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10284
10285 * server.el (server-eval-at): New function.
10286
10287 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10288
10289 * net/network-stream.el (open-network-stream): Take a :nowait
10290 parameter and pass it on to `make-network-process'.
10291 (network-stream-open-plain): Ditto.
10292
10293 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10294
10295 * faces.el (face-spec-set-match-display): Don't match toolkit
10296 options on terminal frames.
10297
10298 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * progmodes/pascal.el: Use lexical binding.
10301 (pascal-mode-map): Remove author preferences.
10302
10303 * pcomplete.el (pcomplete-std-complete): Don't abuse
10304 completion-at-point.
10305
10306 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10307
10308 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10309 removing code that has been dead since 1991 or so.
10310
10311 * startup.el (command-line): When warning about "_emacs", use a
10312 delayed warning to allow the user to filter it out.
10313
10314 2011-04-28 Deniz Dogan <deniz@dogan.se>
10315
10316 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10317 user has not joined.
10318
10319 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10322 aren't any completions at point.
10323
10324 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10325
10326 * subr.el (display-delayed-warnings): New function.
10327 (delayed-warnings-hook): New variable.
10328
10329 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * minibuffer.el (completion-at-point, completion-help-at-point):
10332 Don't presume that a given completion-at-point-function will always
10333 use the same calling convention.
10334
10335 * pcomplete.el (pcomplete-completions-at-point):
10336 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10337 pcomplete-seen is non-nil.
10338 (pcomplete-comint-setup): Also recognize the new comint/shell
10339 completion functions.
10340 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10341 pcomplete-seen is non-nil.
10342
10343 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10344
10345 * calendar/icalendar.el (diary-lib): Add require statement.
10346 (icalendar--create-uid): Read out a uid from a text-property on
10347 the first character in the entry. This allows for code to add its
10348 own uid to the entry.
10349 (icalendar--convert-float-to-ical): Add export of
10350 `diary-float'-entries save for those with the optional DAY
10351 argument.
10352
10353 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10354
10355 * subr.el (shell-quote-argument): Use alternate escaping strategy
10356 when we spot a variable reference in a string.
10357
10358 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10359
10360 * cus-start.el (all): Define customization for debug-on-event.
10361
10362 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10363
10364 * subr.el (shell-quote-argument): Escape correctly under Windows.
10365
10366 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10369
10370 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10371
10372 * net/tramp.el (tramp-process-actions): Add POS argument.
10373 Delete region between POS and (pos).
10374
10375 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10376 Use `nil' position in `tramp-process-actions' call.
10377 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10378
10379 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10380 position in `tramp-process-actions' call.
10381
10382 * net/trampver.el: Update release number.
10383
10384 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * custom.el (defcustom): Obey lexical-binding.
10387
10388 Fix octave-inf completion problems reported by Alexander Klimov.
10389 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10390 Inherit from octave-mode-syntax-table.
10391 (inferior-octave-mode): Set info-lookup-mode.
10392 (inferior-octave-completion-at-point): New function.
10393 (inferior-octave-complete): Use it and completion-in-region.
10394 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10395 comint-filename-completion.
10396 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10397 symbol elements which shouldn't be word elements.
10398 (octave-font-lock-keywords, octave-beginning-of-defun)
10399 (octave-function-header-regexp): Adjust regexps accordingly.
10400 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10401
10402 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10403
10404 * net/gnutls.el (gnutls-errorp): Declare before first use.
10405
10406 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10407
10408 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10409 verify-error, and verify-hostname-error parameters. Check whether
10410 default trustfile exists before going to use it. Add missing
10411 argument to gnutls-message-maybe call. Return value.
10412 Reported by Claudio Bley <claudio.bley@gmail.com>.
10413 (open-gnutls-stream): Add usage example.
10414
10415 * net/network-stream.el (network-stream-open-starttls): Give host
10416 parameter to `gnutls-negotiate'.
10417 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10418 * subr.el (shell-quote-argument): Escape correctly under Windows.
10419
10420 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10421
10422 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10423 Use correct match group (bug#8438).
10424
10425 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10426
10427 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10428 (package-menu--generate): New arg specifying packages to show.
10429 (package-menu-refresh, package-menu-execute, list-packages):
10430 Callers changed.
10431 (package-show-package-list): New function, replacing deleted
10432 package--list-packages (renamed because it is non-internal).
10433
10434 * finder.el (finder-list-matches): Use package-show-package-list
10435 instead of deleted package--list-packages.
10436
10437 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10438 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10439 (vc-annotate-mode-map): Bind it to RET.
10440
10441 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10442
10443 * progmodes/etags.el (next-file): Don't use set-buffer to change
10444 buffers (Bug#8478).
10445
10446 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10447
10448 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10449
10450 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10451 (apropos-accumulator): Doc fix.
10452 (apropos-function, apropos-macro, apropos-command)
10453 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10454 (apropos-plist): Add face property.
10455 (apropos-symbols-internal): Fix indentation.
10456 (apropos-print): Simplify help, and recognize apropos-multi-type.
10457 (apropos-print-doc): Use button-type-get to extract the button's
10458 face property. Fill docstring (Bug#8352).
10459
10460 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10461
10462 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10463
10464 * play/mpuz.el (mpuz-silent): Doc fix.
10465 (mpuz-mode-map): Use mapc.
10466 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10467 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10468 Fix typos in docstrings.
10469
10470 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10471 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10472
10473 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10474
10475 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10476
10477 * minibuffer.el (completion--do-completion): Avoid the "Next char
10478 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10479
10480 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10481 mouse-2 into unread-command-events, it is interpreted correctly.
10482
10483 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10484 (image-toggle-display): Doc fix.
10485
10486 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10487
10488 * textmodes/page.el (what-page): Use line-number-at-pos to
10489 calculate line number (Bug#6825).
10490
10491 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10492
10493 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10494 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10495 Pass argument NO-DEFAULT to `find-tag-interactive'.
10496
10497 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10498
10499 Lexical-binding cleanup.
10500
10501 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10502 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10503 * progmodes/ada-prj.el (ada-prj-initialize-values)
10504 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10505 (ada-prj-show-value):
10506 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10507 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10508 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10509 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10510 * progmodes/bug-reference.el (bug-reference-push-button):
10511 * progmodes/fortran.el (fortran-line-length):
10512 * progmodes/glasses.el (glasses-change):
10513 * progmodes/octave-mod.el (octave-fill-paragraph):
10514 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10515 (python-pdbtrack-grub-for-buffer, python-sentinel):
10516 * progmodes/sql.el (sql-save-connection):
10517 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10518 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10519 Mark unused parameters.
10520
10521 * progmodes/compile.el (compilation--flush-directory-cache)
10522 (compilation--flush-parse, compile-internal): Mark unused parameters.
10523 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10524 (compilation-next-error-function): Remove unused variable `timestamp'.
10525
10526 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10527 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10528
10529 * progmodes/dcl-mode.el (dcl-end-of-command):
10530 Remove unused variable `start'.
10531 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10532 (dcl-option-value-basic, dcl-option-value-offset)
10533 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10534 Mark unused parameters.
10535 (dcl-save-local-variable): Remove unused variable `val'.
10536 (mode): Declare.
10537
10538 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10539 Mark unused parameters.
10540 (delphi-ignore-changes): Move before first use.
10541 (delphi-charset-token-at): Remove unused variable `start'.
10542 (delphi-else-start): Remove unused variable `if-count'.
10543 (delphi-comment-block-start, delphi-comment-block-end):
10544 Remove unused variable `kind'.
10545 (delphi-indent-line): Remove unused variable `new-point'.
10546
10547 * progmodes/ebrowse.el (ebrowse-files-list)
10548 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10549 Mark unused parameters. Don't quote `lambda'.
10550 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10551 Don't quote `lambda'.
10552 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10553 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10554 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10555 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10556 Use `ignore-errors'.
10557 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10558 (ebrowse-view/find-file-and-search-pattern)
10559 (ebrowse-view/find-member-declaration/definition):
10560 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10561 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10562 Rename parameter PREFIX-ARG to PREFIX.
10563 (ebrowse-tags-read-name): Remove unused variables `start' and
10564 `member-info'.
10565 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10566 to `tags-file'.
10567
10568 * progmodes/etags.el (local-find-tag-hook): Declare.
10569 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10570 Mark unused parameters.
10571
10572 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10573 (executable-interpret): Mark unused parameter.
10574
10575 * progmodes/flymake.el (flymake-process-sentinel)
10576 (flymake-after-change-function)
10577 (flymake-create-temp-with-folder-structure)
10578 (flymake-get-include-dirs-dot): Mark unused parameters.
10579 (flymake-safe-delete-directory): Remove unused variable `err'.
10580
10581 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10582 (speedbar-timer-fn, speedbar-line-text)
10583 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10584 (speedbar-center-buffer-smartly): Declare functions.
10585 (gdb-find-watch-expression): Remove unused variable `array'.
10586 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10587 (gdb-starting): Mark unused parameters.
10588 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10589 (gdb-table-string): Remove unused variable `res'.
10590 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10591 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10592 (gdb-display-buffer): Remove unused variable `cur-size'.
10593
10594 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10595 allow lexical-binding compilation.
10596 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10597 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10598 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10599 Mark unused parameters.
10600 (gud-gdb-marker-filter): Remove unused variable `match'.
10601 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10602 lambda expressions and funcall them, instead of using `fset'.
10603
10604 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10605 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10606
10607 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10608 variable `header-beg'; use `let'.
10609
10610 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10611 `restart', `last-sexp' and `at-do'.
10612
10613 * progmodes/js.el (js--debug): Mark unused parameter.
10614 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10615 (js--splice-into-items): Remove unused variable `item'.
10616 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10617
10618 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10619 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10620 (makefile-complete): Remove unused variable `try'.
10621 (makefile-fill-paragraph, makefile-match-function-end):
10622 Mark unused parameters.
10623
10624 * progmodes/octave-inf.el (inferior-octave-complete):
10625 Remove unused variable `proc'.
10626 (inferior-octave-output-digest): Mark unused parameter.
10627
10628 * progmodes/perl-mode.el (perl-calculate-indent):
10629 Remove unused variable `err'.
10630
10631 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10632 (prolog-indent-line): Mark unused parameters.
10633 (prolog-indent-line): Remove unused variable `beg'.
10634
10635 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10636 (reporter-dont-compact-list): Declare.
10637
10638 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10639 Remove unused variable `char'.
10640 (sh-debug): Mark unused parameter.
10641 (sh-get-indent-info): Remove unused variable `start'.
10642 (sh-calculate-indent): Remove unused variable `var'.
10643
10644 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10645 (simula-electric-keyword): Remove unused variable `null'.
10646 (simula-search-backward, simula-search-forward): Remove unused
10647 variables `begin' and `end'.
10648
10649 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10650 Remove unused variable `pos'.
10651 (vera-electric-tab, vera-comment-uncomment-region):
10652 Mark unused parameters.
10653 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10654
10655 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10656
10657 * emacs-lisp/package.el (package--builtins, package-alist)
10658 (package-load-descriptor, package-built-in-p, package-activate)
10659 (define-package, package-installed-p)
10660 (package-compute-transaction, package-buffer-info)
10661 (package--push): Doc fix. Distinguish more clearly between
10662 version strings and version lists.
10663
10664 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10665
10666 Lexical-binding cleanup.
10667
10668 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10669 (5x5-make-mutate-best):
10670 * play/fortune.el (fortune-in-buffer):
10671 * play/gomoku.el (gomoku-init-display):
10672 * play/solitaire.el (solitaire, solitaire-do-check):
10673 * play/tetris.el (tetris-default-update-speed-function):
10674 Mark unused parameters.
10675
10676 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10677 (bubbles--shift): Remove unused variable `char-org'.
10678 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10679 (bubbles--show-images): Remove unused variable `char'.
10680
10681 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10682 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10683 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10684 (decipher-analyze-buffer): Use ?\s.
10685 (decipher-make-checkpoint): Remove unused variable `mapping'.
10686
10687 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10688
10689 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10690 Remove unused variable `result'; use `let'.
10691
10692 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10693 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10694 (gametree-children-shown-p, gametree-compute-reduced-score):
10695 Use `ignore-errors'.
10696
10697 * play/handwrite.el (ps-lpr-switches): Declare.
10698 (handwrite): Remove unused variables `pmin' and `lastp'.
10699
10700 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10701
10702 * play/landmark.el (landmark-init-display)
10703 (landmark-update-naught-weights): Mark unused parameters.
10704 (landmark-y): Remove unused variable `noise'. Simplify.
10705 (landmark-human-plays): Remove unused variable `score'.
10706
10707 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10708 (mpuz-try-proposal): Remove unused variable `game'.
10709
10710 * play/zone.el (life-patterns): Declare.
10711
10712 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
10713
10714 * vc/vc.el (ediff-vc-internal): Declare function.
10715
10716 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 * shell.el: Use lexical-binding and std completion UI.
10719 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10720 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10721 comint-preoutput-filter-functions rather than on
10722 comint-output-filter-functions.
10723 (shell-command-completion, shell--command-completion-data)
10724 (shell-filename-completion, shell-environment-variable-completion)
10725 (shell-c-a-p-replace-by-expanded-directory): New functions.
10726 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10727 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10728 (shell-dynamic-complete-environment-variable): Use them.
10729 (shell-dynamic-complete-as-environment-variable)
10730 (shell-dynamic-complete-as-command): Remove.
10731 (shell-match-partial-variable): Match past point.
10732 * comint.el: Clean up use of completion-at-point-functions.
10733 (comint-completion-at-point): New function.
10734 (comint-mode): Use it completion-at-point-functions.
10735 (comint-dynamic-complete): Make it obsolete.
10736 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10737 (comint-c-a-p-replace-by-expanded-history): New function.
10738 (comint-dynamic-complete-functions)
10739 (comint-replace-by-expanded-history): Use it.
10740 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10741 termination strings. Try harder to avoid second try-completion.
10742 (completion-in-region-mode-map): Disable bindings that don't work yet.
10743
10744 * comint.el: Use lexical-binding. Require CL.
10745 (comint-dynamic-complete-functions): Use comint-filename-completion.
10746 (comint-completion-addsuffix): Tweak custom type.
10747 (comint-filename-completion, comint--common-suffix)
10748 (comint--common-quoted-suffix, comint--table-subvert)
10749 (comint--complete-file-name-data): New functions.
10750 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10751 (comint-dynamic-list-filename-completions): Use them.
10752 (comint-dynamic-simple-complete): Make obsolete.
10753
10754 * minibuffer.el (completion-in-region-mode):
10755 Keep completion-in-region-mode--predicate global.
10756 (completion-in-region--postch):
10757 Assume completion-in-region-mode--predicate is not null.
10758
10759 * progmodes/flymake.el (flymake-start-syntax-check-process):
10760 Obey `dir'. Simplify.
10761
10762 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10763 we're in VC after all.
10764
10765 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10766
10767 * vc/vc.el (vc-diff-build-argument-list-internal)
10768 (vc-version-ediff, vc-ediff): New commands.
10769 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10770
10771 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10772
10773 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10774 add sanity check.
10775
10776 * obsolete/erc-hecomplete.el: Make obsolete.
10777 * obsolete/: Standardize obsolescence info in the header.
10778
10779 2011-04-20 Glenn Morris <rgm@gnu.org>
10780
10781 * calendar/solar.el (solar-horizontal-coordinates):
10782 Use the longitude argument rather than `calendar-longitude'.
10783 (solar-date-next-longitude): Remove unused locals.
10784
10785 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10786
10787 * whitespace.el: New version 13.2.1.
10788
10789 2011-04-20 felix <EmacsWiki> (tiny change)
10790
10791 * whitespace.el (global-whitespace-mode): Keep highlight when
10792 switching between major modes on a file.
10793
10794 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10797 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10798 multi-line comments as well.
10799
10800 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
10801
10802 Lexical-binding cleanup.
10803
10804 * arc-mode.el (archive-mode-revert):
10805 * cmuscheme.el (scheme-interactively-start-process):
10806 * custom.el (custom-initialize-delay):
10807 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10808 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10809 * emacs-lock.el (emacs-lock-clear-sentinel):
10810 * ezimage.el (defezimage):
10811 * follow.el (follow-avoid-tail-recenter):
10812 * fringe.el (set-fringe-mode-1):
10813 * generic-x.el (bat-generic-mode-compile):
10814 * help-mode.el (help-info-variable, help-do-xref)
10815 (help-mode-revert-buffer):
10816 * help.el (view-emacs-todo):
10817 * iswitchb.el (iswitchb-completion-help):
10818 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10819 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10820 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10821 * locate.el (locate-update):
10822 * longlines.el (longlines-encode-region)
10823 (longlines-after-change-function):
10824 * outline.el (outline-isearch-open-invisible):
10825 * ps-def.el (declare-function, charset-dimension, char-width)
10826 (encode-char):
10827 * ps-mule.el (ps-mule-plot-string):
10828 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10829 (recentf-edit-list-select, recentf-edit-list-validate)
10830 (recentf-open-files-action):
10831 * rect.el (delete-whitespace-rectangle-line)
10832 (rectangle-number-line-callback):
10833 * register.el (window-configuration-to-register)
10834 (frame-configuration-to-register):
10835 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10836 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10837 (xselect-convert-to-targets, xselect-convert-to-delete)
10838 (xselect-convert-to-filename, xselect-convert-to-charpos)
10839 (xselect-convert-to-lineno, xselect-convert-to-colno)
10840 (xselect-convert-to-os, xselect-convert-to-host)
10841 (xselect-convert-to-user, xselect-convert-to-class)
10842 (xselect-convert-to-name, xselect-convert-to-integer)
10843 (xselect-convert-to-atom, xselect-convert-to-identity):
10844 * subr.el (declare, ignore, process-kill-without-query)
10845 (text-clone-maintain):
10846 * terminal.el (te-get-char, te-tic-sentinel):
10847 * tool-bar.el (tool-bar-make-keymap):
10848 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10849 * type-break.el (type-break-mode, type-break-noninteractive-query):
10850 * view.el (View-back-to-mark):
10851 * wid-browse.el (widget-browse-action, widget-browse-widget)
10852 (widget-browse-widgets, widget-browse-sexp):
10853 * widget.el (define-widget-keywords):
10854 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10855 Mark unused parameters.
10856
10857 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10858 (align-areas): Remove unused variable `look'.
10859 (align-region): Remove unused variables `real-end' and `pos-list'.
10860
10861 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10862
10863 * bindings.el (mode-line-modified, mode-line-remote):
10864 Mark unused parameters.
10865 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10866
10867 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10868 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10869
10870 * comint.el (comint-history-isearch-pop-state)
10871 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10872 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10873 (comint-substitute-in-file-name): Doc fix.
10874
10875 * completion.el (cmpl-statistics-block): Mark unused parameter.
10876 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10877 (save-completions-to-file, load-completions-from-file):
10878 Remove unused local variable `e'.
10879
10880 * composite.el (compose-chars): Remove unused variable `len'.
10881 (lgstring-insert-glyph): Remove unused variable `g'.
10882 (compose-glyph-string): Remove unused variables `ascent',
10883 `descent', `lbearing' and `rbearing'.
10884 (compose-glyph-string-relative): Remove unused variables
10885 `lbearing', `rbearing' and `wadjust'.
10886 (compose-gstring-for-graphic): Remove unused variables `header',
10887 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10888 (compose-gstring-for-terminal): Remove unused variables `header'
10889 and `nchars'. Use `let', not `let*'.
10890
10891 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10892 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10893 (Custom-buffer-done, custom-buffer-create-internal)
10894 (custom-browse-visibility-action, custom-browse-group-tag-action)
10895 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10896 (widget-magic-mouse-down-action, custom-toggle-parent)
10897 (custom-add-parent-links, custom-toggle-hide-variable)
10898 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10899 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10900 (custom-face-menu-create, custom-variable-menu-create, get)
10901 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10902 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10903 (customize-apropos): Remove unused variable `tests'.
10904 (custom-group-value-create): Remove unused variable `hidden-p'.
10905 (sort-fold-case): Declare.
10906
10907 * cus-theme.el (custom-reset-standard-faces-list)
10908 (custom-reset-standard-variables-list): Declare.
10909 (customize-create-theme, custom-theme-revert, custom-theme-write)
10910 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10911 Mark unused parameters.
10912
10913 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10914
10915 * delim-col.el (delimit-columns-max): Move defvar before first use.
10916
10917 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10918 (describe-char): Don't quote `lambda'. Mark unused parameter.
10919
10920 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10921 (auto-insert): Declare.
10922 (desktop-restore-file-buffer): Rename desktop-* parameters;
10923 mark unused ones.
10924 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10925 (desktop-buffer): Rename desktop-* parameters.
10926
10927 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10928 (dframe-reposition-frame-xemacs, dframe-help-echo)
10929 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10930 Mark unused parameters.
10931
10932 * dired-aux.el (backup-extract-version-start, overwrite-query)
10933 (overwrite-backup-query, rename-regexp-query)
10934 (rename-non-directory-query): Declare.
10935 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10936 (dired-add-entry): Remove unused variable `orig-file-name'.
10937 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10938 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10939 `dired-copy-preserve-time' directly.
10940 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10941 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10942
10943 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10944 (dired-virtual-revert, dired-make-relative-symlink):
10945 Mark unused parameters.
10946 (manual-program): Declare.
10947 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10948 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10949 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10950
10951 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10952
10953 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10954
10955 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10956 Declare.
10957
10958 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10959
10960 * electric.el (Electric-command-loop): Rename parameter
10961 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10962
10963 * expand.el (expand-in-literal): Remove unused variable `here'.
10964
10965 * facemenu.el (facemenu-add-new-color):
10966 Remove unused variable `docstring'.
10967
10968 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10969 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10970 (face-attr-construct): Mark unused parameter. Doc fix.
10971 (read-color): Remove unused variable `hex-string'.
10972
10973 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10974 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10975 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10976 (display-buffer-other-frame): Remove unused variable `old-window'.
10977 (kill-buffer-hook): Declare.
10978 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10979 Mark unused parameters.
10980 (after-find-file): Pass 1 to `auto-save-mode', not t.
10981
10982 * files-x.el (auto-insert): Declare.
10983 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10984
10985 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10986 variable `buf'. Mark unused parameter.
10987 (find-lisp-insert-directory): Mark unused parameter.
10988
10989 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10990 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10991 (format-common-tail): Remove, unused.
10992 (format-deannotate-region): Remove unused variable `loc'.
10993 (format-annotate-region): Remove unused variable `p'.
10994 (format-annotate-single-property-change): Remove unused variables
10995 `default' and `tail'.
10996
10997 * forms.el (read-file-filter): Declare.
10998 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10999
11000 * frame.el (frame-creation-function-alist): Mark unused parameter.
11001 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11002
11003 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11004 Remove unused parameters.
11005 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11006 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11007
11008 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11009 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11010 (hfy-prepare-tag-map): Mark unused parameters.
11011 (htmlfontify-buffer): Use `called-interactively-p'.
11012
11013 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11014 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11015 (ibuffer-do-occur): Mark unused parameters.
11016 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11017 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11018
11019 * ibuffer.el: Don't quote `lambda'.
11020 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11021 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11022 Mark unused parameters.
11023
11024 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11025 (ido-completing-read): Mark unused parameters.
11026 (ido-copy-current-word): Mark unused parameters;
11027 remove unused variable `name'.
11028 (ido-sort-merged-list): Remove unused parameter `dirs'.
11029
11030 * ielm.el (ielm-input-sender): Mark unused parameter.
11031 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11032 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11033 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11034 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11035 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11036
11037 * image-dired.el (image-dired-display-thumbs): Remove unused
11038 variables `curr-file' and `count'.
11039 (image-dired-remove-tag): Remove unused variable `start'.
11040 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11041 variable `curr-file'
11042 (image-dired-rotate-original): Remove unused variable `temp-file'.
11043 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11044 Remove unused variable `file'.
11045 (image-dired-gallery-generate): Remove unused variable `curr'.
11046 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11047
11048 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11049
11050 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11051
11052 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11053
11054 * isearch.el (minibuffer-history-symbol): Declare.
11055 (isearch-edit-string): Remove unused variable `err'.
11056 (isearch-message-prefix, isearch-message-suffix):
11057 Mark unused parameters.
11058
11059 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11060
11061 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11062
11063 * makesum.el (double-column): Remove unused variable `cnt'.
11064
11065 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11066 (ido-ignore-item-temp-list): Declare.
11067
11068 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11069 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11070 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11071 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11072 `mouse-col-delta'.
11073
11074 * mouse-sel.el (mouse-extend-internal):
11075 Remove unused variable `orig-window-frame'.
11076
11077 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11078 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11079 Move declarations before first use.
11080 (pcomplete-opt): Mark unused parameters; doc fix.
11081
11082 * proced.el (proced-revert): Mark unused parameter.
11083 (proced-send-signal): Remove unused variable `err'.
11084
11085 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11086 Rename parameter PREFIX-ARG to ARG.
11087 (ps-basic-plot-string, ps-basic-plot-whitespace):
11088 Mark unused parameters.
11089
11090 * replace.el (replace-count): Define.
11091 (occur-revert-function): Mark unused parameters.
11092 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11093 (isearch-case-fold-search, isearch-string): Declare.
11094 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11095 bind `case-fold-search'. Remove unused variables `beg' and `end',
11096 and simplify.
11097 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11098 COUNT and bind `replace-count'.
11099 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11100 to COUNT.
11101
11102 * savehist.el (print-readably, print-string-length): Declare.
11103
11104 * shadowfile.el (shadow-expand-cluster-in-file-name):
11105 Remove unused variable `cluster'.
11106 (shadow-copy-file): Remove unused variable `i'.
11107 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11108 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11109 (shadow-define-literal-group, shadow-define-regexp-group)
11110 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11111
11112 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11113 (shell): Use `called-interactively-p'.
11114 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11115
11116 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11117 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11118 (delete-backward-char): Remove unused variable `ocol'.
11119 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11120 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11121 (event-apply-hyper-modifier, event-apply-shift-modifier)
11122 (event-apply-control-modifier, event-apply-meta-modifier):
11123 Mark unused parameters.
11124 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11125 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11126
11127 * speedbar.el (speedbar-ignored-directory-expressions)
11128 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11129 (speedbar-find-file, speedbar-dir-follow)
11130 (speedbar-directory-buttons-follow, speedbar-tag-find)
11131 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11132 (speedbar-buffers-line-directory, speedbar-buffer-click):
11133 Mark unused parameters.
11134 (speedbar-tag-file): Remove unused variable `mode'.
11135 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11136
11137 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11138
11139 * talk.el (talk): Remove unused variable `display'.
11140
11141 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11142 (tar-write-region-annotate): Mark unused parameter.
11143
11144 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11145 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11146 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11147 warning by another.
11148
11149 * time-stamp.el (time-stamp-string-preprocess):
11150 Remove unused variable `require-padding'.
11151
11152 * tree-widget.el (widget-glyph-enable): Declare.
11153 (tree-widget-action): Mark unused parameter.
11154
11155 * w32-fns.el (x-get-selection): Mark unused parameter.
11156 (autoload-make-program, generated-autoload-file): Declare.
11157
11158 * wdired.el (wdired-revert): Mark unused parameters.
11159 (wdired-xcase-word): Remove unused variable `err'.
11160
11161 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11162 (whitespace-help-scroll): Remove unused variable `data-help'.
11163
11164 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11165 (widget-image-insert, widget-after-change, default)
11166 (widget-default-format-handler, widget-default-notify)
11167 (widget-default-prompt-value, widget-info-link-action)
11168 (widget-url-link-action, widget-function-link-action)
11169 (widget-variable-link-action, widget-file-link-action)
11170 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11171 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11172 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11173 (widget-insert-button-action, widget-delete-button-action, visibility)
11174 (widget-documentation-link-action, widget-documentation-string-action)
11175 (widget-const-prompt-value, widget-regexp-match, symbol)
11176 (widget-coding-system-prompt-value)
11177 (widget-key-sequence-value-to-external, sexp)
11178 (widget-sexp-value-to-internal, character, vector, cons)
11179 (widget-choice-prompt-value, widget-boolean-prompt-value)
11180 (widget-color--choose-action): Mark unused parameters.
11181 (widget-item-match-inline, widget-choice-match-inline)
11182 (widget-checklist-match, widget-checklist-match-inline)
11183 (widget-group-match): Rename parameter VALUES to VALS.
11184 (widget-field-value-set): Remove unused variable `size'.
11185 (widget-color-action): Remove unused variables `value' and `start'.
11186
11187 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11188 variable `dir'. Doc fix.
11189 (windmove-find-other-window): Don't pass it.
11190
11191 * window.el (count-windows): Mark unused parameter.
11192 (bw-adjust-window): Remove unused variable `err'.
11193
11194 * woman.el (woman-file-name): Remove unused variable `default'.
11195 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11196 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11197 (global-font-lock-mode): Declare.
11198 (woman-decode-region): Mark unused parameter.
11199 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11200
11201 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11202 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11203 (x-dnd-handle-moz-url): Remove unused variable `title'.
11204 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11205
11206 * xml.el (xml-parse-tag, xml-parse-attlist):
11207 Remove unused variable `pos'.
11208
11209 2011-04-19 Glenn Morris <rgm@gnu.org>
11210
11211 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11212 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11213 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11214 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11215 * calendar/cal-html.el (cal-html-insert-minical):
11216 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11217 (calendar-mark-date-pattern):
11218 Prefix "unused" locals.
11219
11220 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11221 optional argument `style'.
11222
11223 * calendar/appt.el (appt-make-list):
11224 * calendar/cal-china.el (calendar-chinese-date-string):
11225 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11226 (diary-hebrew-yahrzeit):
11227 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11228 * calendar/calendar.el (calendar-generate-window):
11229 * calendar/time-date.el (time-to-days):
11230 Remove unused local variables.
11231
11232 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11233
11234 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11235 glyphless-char-display table.
11236 (tabulated-list-glyphless-char-display): New var.
11237
11238 2011-04-18 Sam Steingold <sds@gnu.org>
11239
11240 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11241 to acknowledgments.
11242
11243 2011-04-17 Glenn Morris <rgm@gnu.org>
11244
11245 * calendar/diary-lib.el (diary-sexp-entry):
11246 * calendar/holidays.el (holiday-sexp):
11247 Set debug-on-error rather than the removed stack-trace-on-error.
11248
11249 2011-04-16 Glenn Morris <rgm@gnu.org>
11250
11251 * progmodes/f90.el: Use lexical-binding.
11252 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11253
11254 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11257 (mail-mode): Setup mailalias completion here instead.
11258 * mail/mailalias.el: Use lexical-binding.
11259 (pattern, mailalias-done): Declare dynamic.
11260 (mail-completion-at-point-function): New function, from mail-complete.
11261 (mail-complete): Use it.
11262 (mail-completion-expand): New function.
11263 (mail-get-names): Use it.
11264 (mail-directory, mail-directory-process, mail-directory-stream):
11265 Don't use `pattern' for lexically bound arg.
11266
11267 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11268
11269 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11270 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11271 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11272
11273 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11274 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11275 (byte-interactive-p): Define them again, for use when inlining
11276 old code.
11277
11278 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11279
11280 * loadup.el: Use `string-to-number', not `string-to-int'.
11281
11282 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11285 gud-gdb-complete-command.
11286 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11287 (gud-gdb-completion-at-point): New function.
11288 (gud-gdb-completions): Remove.
11289
11290 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11291
11292 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11293 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11294 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11295 whether `executable-find' is bound.
11296
11297 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11298
11299 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * minibuffer.el (completion-in-region-mode-predicate)
11302 (completion-in-region-mode--predicate): New vars.
11303 (completion-in-region, completion-in-region--postch)
11304 (completion-in-region-mode): Use them.
11305 (completion--capf-wrapper): Also return the hook function.
11306 (completion-at-point, completion-help-at-point):
11307 Adjust and provide a predicate.
11308
11309 Preserve arg names for advice of subr and lexical functions (bug#8457).
11310 * help-fns.el (help-function-arglist): Consolidate the subr and
11311 new-byte-code cases. Add argument `preserve-names' to extract names
11312 from the docstring when needed.
11313 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11314 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11315 (ad-arglist): Use help-function-arglist's new arg.
11316 (ad-definition-type): Use cond.
11317
11318 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11319
11320 * autorevert.el (auto-revert-handler):
11321 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11322 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11323 Don't quote lambda.
11324
11325 * image-mode.el (image-transform-set-scale):
11326 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11327
11328 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11329
11330 * net/network-stream.el (network-stream-open-starttls): Only do
11331 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11332 Upgrades via gnutls-cli are too slow to be done opportunistically.
11333
11334 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11335
11336 * dframe.el (dframe-current-frame): Remove spurious quote.
11337
11338 2011-04-12 Glenn Morris <rgm@gnu.org>
11339
11340 * calendar/cal-tex.el (cal-tex-end-document):
11341 Try to automatically use latin1 input if needed.
11342
11343 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11344 Don't try to cons a mark onto an empty element.
11345
11346 2011-04-11 Leo Liu <sdl.web@gmail.com>
11347
11348 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11349 buffers.
11350 (ido-kill-buffer-at-head): Support killing virtual buffers.
11351
11352 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11353
11354 * minibuffer.el (completion-show-inline-help): New var.
11355 (completion--do-completion, minibuffer-complete)
11356 (minibuffer-force-complete, minibuffer-complete-word):
11357 Inhibit minibuffer messages if completion-show-inline-help is nil.
11358
11359 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11360 to avoid interference from inline help (Bug#5849).
11361
11362 2011-04-10 Leo Liu <sdl.web@gmail.com>
11363
11364 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11365 Fix typo.
11366
11367 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11368
11369 * image-mode.el (image-toggle-display-image): Signal an error if
11370 not in Image mode.
11371 (image-transform-mode, image-transform-resize)
11372 (image-transform-set-rotation): Doc fix.
11373 (image-transform-set-resize): Delete.
11374 (image-transform-set-scale, image-transform-fit-to-height)
11375 (image-transform-fit-to-width): Handle image-toggle-display-image
11376 and image-transform-resize directly.
11377
11378 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11379
11380 * doc-view.el (doc-view-fit-width-to-window)
11381 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11382 New functions for fitting the shown image to the Emacs window size.
11383 (doc-view-mode-map): Add bindings for the new functions.
11384
11385 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11386
11387 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11388 Fix typo in docstring.
11389
11390 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11391
11392 * files.el (file-size-human-readable): Produce one digit after
11393 decimal, like "ls -lh" does.
11394
11395 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11396 the file size representation.
11397
11398 * simple.el (list-processes): If async subprocesses are not
11399 available, error out with a clear error message.
11400
11401 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11402
11403 * help.el (help-form-show): New function, to be called from C.
11404 Put help-form output in a buffer named differently than *Help*.
11405
11406 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11407
11408 * files.el (file-size-human-readable): New function.
11409
11410 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11411 computing the representation inline. Don't require `cl'.
11412
11413 2011-04-08 Glenn Morris <rgm@gnu.org>
11414
11415 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11416
11417 * net/browse-url.el (browse-url-firefox):
11418 Test system-type, not system-configuration.
11419
11420 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11421 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11422 Use log-edit-empty-buffer-p. (Bug#7598)
11423
11424 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11425 (rlogin-mode-map): Initialize in the defvar.
11426 (rlogin): Use ignore-errors.
11427
11428 * replace.el (occur-mode-map): Some fixes for menu items.
11429
11430 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11431
11432 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11433
11434 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11435
11436 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11437 issuing unused warnings.
11438
11439 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11440 macro directly.
11441
11442 * simple.el: Lisp reimplement of list-processes. Based on an
11443 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11444 (process-menu-mode): New major mode.
11445 (list-processes--refresh, list-processes):
11446 (process-menu-visit-buffer): New functions.
11447
11448 * files.el (save-buffers-kill-emacs): Don't assume any return
11449 value of list-processes, which is undocumented anyway.
11450
11451 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11452
11453 * emacs-lisp/tabulated-list.el: New file.
11454
11455 * emacs-lisp/package.el: Use Tabulated List mode.
11456 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11457 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11458 table format using Tabulated List mode variables.
11459 (package--push): New macro, replacing package-list-maybe-add.
11460 (package-menu--generate): Use package--push. Renamed from
11461 package--generate-package-list.
11462 (package-menu-refresh, list-packages): Use it.
11463 (package-menu--print-info): Rename from package-print-package.
11464 Return insertion data instead of inserting it directly.
11465 (package-menu-describe-package, package-menu-execute):
11466 Use tabulated-list-get-id.
11467 (package-menu-mark-delete, package-menu-mark-install)
11468 (package-menu-mark-unmark, package-menu-backup-unmark)
11469 (package-menu-mark-obsolete-for-deletion):
11470 Use tabulated-list-put-tag.
11471 (package--list-packages, package-menu-revert)
11472 (package-menu-get-package, package-menu-get-version)
11473 (package-menu-sort-by-column): Functions deleted.
11474 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11475 (package-menu--status-predicate, package-menu--version-predicate)
11476 (package-menu--name-predicate)
11477 (package-menu--description-predicate): Handle arguments in the
11478 Tabulated List format.
11479 (package-list-packages-no-fetch): Call list-packages.
11480
11481 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11482
11483 * files.el (after-find-file-from-revert-buffer): Remove variable.
11484 (after-find-file): Don't bind it.
11485 (revert-buffer-in-progress-p): New variable.
11486 (revert-buffer): Bind it.
11487 Pass nil for `after-find-file-from-revert-buffer'.
11488
11489 * saveplace.el (save-place-find-file-hook): Use new variable
11490 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11491
11492 2011-04-06 Glenn Morris <rgm@gnu.org>
11493
11494 * Makefile.in (AUTOGEN_VCS): New variable.
11495 (autoloads): Use $AUTOGEN_VCS.
11496
11497 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11498 * calendar/calendar.el (calendar-mode-map):
11499 Check for toolkit scroll bars. (Bug#8305)
11500
11501 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11502
11503 * minibuffer.el (completion-in-region--postch)
11504 (completion-in-region-mode): Remove unnecessary messages.
11505
11506 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11507
11508 * font-lock.el (font-lock-refresh-defaults):
11509 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11510 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11511
11512 * info.el (Info-directory-list, Info-read-node-name-2)
11513 (Info-split-parameter-string): Doc fixes.
11514 (Info-virtual-nodes): Reflow docstring.
11515 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11516 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11517 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11518 Fix typos in docstrings.
11519 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11520 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11521 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11522 (Info-restore-desktop-buffer): Mark unused parameters.
11523 (Info-directory-find-file, Info-directory-find-node)
11524 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11525 (Info-virtual-index-find-node, Info-apropos-find-file)
11526 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11527 Mark unused parameters; fix typos in docstrings.
11528 (Info-virtual-index): Remove unused local variable `nodename'.
11529
11530 2011-04-05 Deniz Dogan <deniz@dogan.se>
11531
11532 * net/rcirc.el: Update my e-mail address.
11533 (rcirc-mode-map): Remove M-o binding.
11534
11535 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11536
11537 * startup.el (command-line): Save the cursor's theme-face
11538 directly, instead of using face-override-spec.
11539
11540 * custom.el (load-theme): Minor optimization in assigning faces.
11541
11542 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11543
11544 * help-fns.el (describe-variable): Complete all variables having
11545 documentation, including keywords.
11546 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11547
11548 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11549
11550 Convert to lexical-binding.
11551
11552 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11553 (bs--get-marked-string, bs--get-modified-string)
11554 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11555 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11556 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11557
11558 * ehelp.el (electric-help-execute-extended)
11559 (electric-help-ctrl-x-prefix):
11560 * hexl.el (hexl-revert-buffer-function):
11561 * linum.el (linum-after-change, linum-after-scroll):
11562 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11563
11564 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11565
11566 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11567
11568 * epa-dired.el:
11569 * epa-mail.el:
11570 * epa-hook.el:
11571 * epa-file.el:
11572 * epa.el:
11573 * epg.el: Use lexical binding.
11574
11575 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11576
11577 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11578
11579 * textmodes/flyspell.el (flyspell-word): Recognize default
11580 dictionary case for flyspell-mark-duplications-exceptions.
11581 Use regexp matching for languages.
11582 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11583 default dictionary (Bug#7926).
11584
11585 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11586
11587 * emacs-lisp/package.el (package--with-work-buffer):
11588 Recognize https URLs.
11589
11590 * net/network-stream.el: Move from gnus/proto-stream.el.
11591 Change prefix to network-stream throughout.
11592 (open-protocol-stream): Merge into open-network-stream, leaving
11593 open-protocol-stream as an alias. Handle nil BUFFER args.
11594
11595 * subr.el (open-network-stream): Move to net/network-stream.el.
11596
11597 2011-04-02 Glenn Morris <rgm@gnu.org>
11598
11599 * find-dired.el (find-exec-terminator): New option.
11600 (find-ls-option): Test for -ls support.
11601 (find-ls-subdir-switches): Test for -b in find-ls-option.
11602 (find-dired, find-grep-dired): Doc fixes.
11603 (find-dired): Use find-exec-terminator.
11604
11605 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11606 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11607 (find-name-arg): Remove purecopy.
11608
11609 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11610 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11611 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11612 accordingly. Don't add the null-device if not needed.
11613
11614 * files.el (save-some-buffers): Doc fix.
11615
11616 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11617
11618 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11619
11620 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11621
11622 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11623 Use `dolist' rather than `mapcar'.
11624
11625 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 Add lexical binding.
11628
11629 * subr.el (apply-partially): Use new closures rather than CL.
11630 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11631 (dolist, dotimes): Use slightly different expansion for lexical code.
11632 (functionp): Move to C.
11633 (letrec): New macro.
11634 (with-wrapper-hook): Use it and apply-partially instead of CL.
11635 (eval-after-load): Preserve lexical-binding.
11636 (save-window-excursion, with-output-to-temp-buffer): Turn them
11637 into macros.
11638
11639 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11640
11641 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11642 than the arglist.
11643 (help-add-fundoc-usage): Don't add `Not documented'.
11644 (help-function-arglist): Handle closures, subroutines, and new
11645 byte-code-functions.
11646 (help-make-usage): Remove leading underscores.
11647 (describe-function-1): Handle closures.
11648 (describe-variable): Use special-variable-p for completion.
11649
11650 * files.el (lexical-binding): Declare safe.
11651
11652 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11653 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11654 (pcase): Add `let' pattern.
11655 Change memoization so it actually works.
11656 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11657 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11658 <let>: New case.
11659
11660 * emacs-lisp/macroexp.el: Use lexical binding.
11661 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11662 Don't convert ' to #' without checking that it's indeed quoting
11663 a lambda.
11664
11665 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11666 Use eval-sexp-add-defvars.
11667 (eval-sexp-add-defvars): New fun.
11668
11669 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11670
11671 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11672 Don't autoload.
11673 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11674 than the internal `byte-compile-lambda'.
11675 (defmethod): Don't hide code under quotes.
11676 (eieio-defmethod): New `code' argument.
11677
11678 * emacs-lisp/eieio-comp.el: Remove.
11679
11680 * emacs-lisp/edebug.el (edebug-eval-defun)
11681 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11682 (edebug-toggle): Avoid `eval'.
11683
11684 * emacs-lisp/disass.el (disassemble-internal): Handle new
11685 `closure' objects.
11686 (disassemble-1): Handle new byte codes.
11687
11688 * emacs-lisp/cl.el (pushnew): Silence warning.
11689
11690 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11691 (cl-byte-compile-throw): Remove.
11692 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11693
11694 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11695 closures.
11696
11697 * emacs-lisp/cconv.el: New file.
11698
11699 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11700 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11701 (byte-compile-initial-macro-environment):
11702 Handle declare-function here.
11703 (byte-compile--lexical-environment): New var.
11704 (byte-stack-ref, byte-stack-set, byte-discardN)
11705 (byte-discardN-preserve-tos): New lap codes.
11706 (byte-interactive-p): Don't use any more.
11707 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11708 New macros.
11709 (byte-compile-lapcode): Use them and handle new lap codes.
11710 (byte-compile-obsolete): Remove.
11711 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11712 (byte-compile-arglist-warn): Check late def of inlinable funs.
11713 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11714 since they should have been expanded by now.
11715 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11716 (byte-compile-from-buffer): Remove unused second arg.
11717 (byte-compile-preprocess): New function.
11718 (byte-compile-toplevel-file-form): New function to distinguish
11719 file-form calls from outside from file-form calls from hunk-handlers.
11720 (byte-compile-file-form): Simplify.
11721 (byte-compile-file-form-defsubst): Remove.
11722 (byte-compile-file-form-defmumble): Simplify now that
11723 byte-compile-lambda always returns a byte-code-function.
11724 (byte-compile): Preprocess.
11725 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11726 Remove, not used any more.
11727 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11728 (byte-compile-make-args-desc): New funs.
11729 (byte-compile-lambda): Handle lexical functions. Always return
11730 a byte-code-function.
11731 (byte-compile-reserved-constants): New var, to make up room for
11732 closed-over variables.
11733 (byte-compile-constants-vector): Obey it.
11734 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11735 (byte-compile-macroexpand-declare-function): New function.
11736 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11737 byte-code-functions.
11738 (byte-compile-form): Check obsolescence here.
11739 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11740 (byte-compile-variable-ref): Remove.
11741 (byte-compile-dynamic-variable-op): New fun.
11742 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11743 (byte-compile-variable-set): New funs.
11744 (byte-compile-discard): Add 2 args.
11745 (byte-compile-stack-ref, byte-compile-stack-set)
11746 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11747 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11748 macroexpand-all instead.
11749 (byte-compile-quote-form): Remove.
11750 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11751 (byte-compile-bind, byte-compile-unbind): New funs.
11752 (byte-compile-let): Handle let* and lexical binding.
11753 (byte-compile-let*): Remove.
11754 (byte-compile-catch, byte-compile-unwind-protect)
11755 (byte-compile-track-mouse, byte-compile-condition-case):
11756 Handle a new :fun-body form, used for lexical scoping.
11757 (byte-compile-save-window-excursion)
11758 (byte-compile-with-output-to-temp-buffer): Remove.
11759 (byte-compile-defun): Simplify.
11760 (byte-compile-stack-adjustment): New fun.
11761 (byte-compile-out): Use it.
11762 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11763
11764 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11765 handler any more.
11766
11767 * emacs-lisp/byte-opt.el: Use lexical binding.
11768 (byte-inline-lapcode): Remove (to bytecomp).
11769 (byte-compile-inline-expand): Pay attention to inlining to/from
11770 lexically bound code.
11771 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11772 any more.
11773 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11774 any more and don't call compiler-macros.
11775 (byte-compile-splice-in-already-compiled-code): Remove.
11776 (byte-code): Don't inline any more.
11777 (disassemble-offset): Receive `bytes' as argument rather than via
11778 dynamic scoping.
11779 (byte-compile-tag-number): Declare before first use.
11780 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11781 `return' even if make-spliceable.
11782 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11783 obsolete interactive-p.
11784 (byte-optimize-lapcode): Optimize new lap-codes.
11785 Don't trip up on new form of `byte-constant' lap code.
11786
11787 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11788
11789 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11790
11791 * custom.el (custom-initialize-default, custom-declare-variable):
11792 Use `defvar'.
11793
11794 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11795 New variables.
11796 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11797 (COMPILE_FIRST): Add macroexp and cconv.
11798 * makefile.w32-in: Mirror changes in Makefile.in.
11799
11800 * vc/cvs-status.el:
11801 * vc/diff-mode.el:
11802 * vc/log-edit.el:
11803 * vc/log-view.el:
11804 * vc/smerge-mode.el:
11805 * textmodes/bibtex-style.el:
11806 * textmodes/css.el:
11807 * startup.el:
11808 * uniquify.el:
11809 * minibuffer.el:
11810 * newcomment.el:
11811 * reveal.el:
11812 * server.el:
11813 * mpc.el:
11814 * emacs-lisp/smie.el:
11815 * doc-view.el:
11816 * dired.el:
11817 * abbrev.el: Use lexical binding.
11818
11819 2011-04-01 Eli Zaretskii <eliz@gnu.org>
11820
11821 * info.el (info-display-manual): New function.
11822
11823 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11826
11827 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11828
11829 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11830 an entry for that server in rcirc-authinfo. (Bug#8385)
11831
11832 2011-03-31 Glenn Morris <rgm@gnu.org>
11833
11834 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11835
11836 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11837
11838 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11839
11840 * progmodes/python.el (python-default-interpreter)
11841 (python-python-command-args, python-jython-command-args)
11842 (python-which-shell, python-which-args, python-which-bufname)
11843 (python-file-queue, python-comint-output-filter-function)
11844 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11845 variables and functions.
11846
11847 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11850 (completion-in-region-mode): New minor mode.
11851 (completion-in-region): Use it.
11852 (completion-in-region--data, completion-in-region-mode-map): New vars.
11853 (completion-in-region--postch): New function.
11854 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11855 New vars.
11856 (completion--capf-wrapper): New function.
11857 (completion-at-point): Use it to track well-behavedness of
11858 hook functions.
11859 (completion-help-at-point): New command.
11860
11861 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11862
11863 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11864 syntax class to search for whitespace on a single line
11865 (Message-ID: <4D938140.4030905@redhat.com>).
11866
11867 2011-03-30 Leo Liu <sdl.web@gmail.com>
11868
11869 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11870 New commands.
11871 (edit-abbrevs-map): Bind them here.
11872 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11873
11874 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11875
11876 * allout.el (allout-hide-by-annotation, allout-flag-region):
11877 Reduce possibility of overlay leakage by making them volatile.
11878
11879 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11880 hash is not shared between buffers. Mode initialization is
11881 responsible for giving it a useful starting value.
11882 (allout-item-span): Reduce possibility of overlay leakage by
11883 making them volatile.
11884 (allout-widgets-count-buttons-in-region): Add diagnostic function
11885 for tracking down button overlay leaks.
11886
11887 2011-03-29 Leo Liu <sdl.web@gmail.com>
11888
11889 * ido.el (ido-read-internal): Use the default history var
11890 minibuffer-history if no HISTORY is specified.
11891
11892 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11893
11894 * net/imap.el (imap-shell-open, imap-process-connection-type):
11895 Use imap-process-connection-type for 'shell' streams as well as
11896 Kerberos, SSL, other subprocesses.
11897
11898 2011-03-28 Leo Liu <sdl.web@gmail.com>
11899
11900 * abbrev.el (abbrev-table-empty-p): New function.
11901 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11902 nonempty ones. (Bug#5937)
11903
11904 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11905
11906 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11907
11908 2011-03-27 Leo Liu <sdl.web@gmail.com>
11909
11910 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11911 for foreground and background colors.
11912 (ansi-color-make-color-map): Adapt.
11913
11914 2011-03-25 Leo Liu <sdl.web@gmail.com>
11915
11916 * midnight.el (midnight-time-float): Remove. Note it calculates
11917 the microsecond component incorrectly and seconds-to-time does the
11918 same job.
11919 Remove redundant (require 'timer).
11920
11921 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11922 (ido-completions): Remove unused arguments. (Bug#8329)
11923
11924 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11925
11926 * minibuffer.el (completion--flush-all-sorted-completions):
11927 Remove itself from hook.
11928 (completion-at-point): Let the functions perform the completion
11929 immediately and return nil or t.
11930 * comint.el (comint-dynamic-complete-functions): Now identical to
11931 completion-at-point-functions.
11932 (comint-dynamic-list-input-ring): Remove unused var `index'.
11933 (comint--match-partial-filename, comint--unquote&expand-filename):
11934 New funs, split from comint-match-partial-filename.
11935 (comint-dynamic-complete): Use completion-at-point.
11936 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11937
11938 2011-03-24 Drew Adams <drew.adams@oracle.com>
11939
11940 * thingatpt.el: Support `defun'.
11941
11942 2011-03-23 Leo Liu <sdl.web@gmail.com>
11943
11944 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11945
11946 * help-mode.el (help-mode-finish): Tweak regexp.
11947
11948 2011-03-23 Glenn Morris <rgm@gnu.org>
11949
11950 * eshell/esh-opt.el (eshell-eval-using-options):
11951 Do not bind unused local variable `eshell-option-stub'.
11952
11953 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11954
11955 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11956
11957 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11958 keymap variable in `with-no-warnings' to avoid a warning when the
11959 keymap has been already `defconst'ed.
11960
11961 2011-03-22 Leo Liu <sdl.web@gmail.com>
11962
11963 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11964 encode all chars in abbrevs; otherwise use emacs-mule or
11965 utf-8-emacs. (Bug#8308)
11966
11967 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11968
11969 * simple.el (backward-delete-char-untabify):
11970 Avoid warning about using `delete-backward-char'.
11971
11972 * image.el (image-type-file-name-regexps): Make it variable.
11973 `imagemagick-register-types' modifies it, and the user may want
11974 to add new extensions for known image types.
11975 (imagemagick-register-types): Throw error if not using ImageMagick.
11976
11977 2011-03-22 Leo Liu <sdl.web@gmail.com>
11978
11979 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11980 located before rcirc-prompt-end-marker.
11981 (rcirc-complete): Error if point is not after rcirc prompt.
11982 Handle the case when table is nil.
11983 (rcirc-user-authenticated): Define to fix compiler warning.
11984
11985 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
11986
11987 * custom.el (custom--inhibit-theme-enable): Make it affect only
11988 custom-theme-set-variables and custom-theme-set-faces.
11989 (provide-theme): Ignore custom--inhibit-theme-enable.
11990 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11991 (custom-enabling-themes): Delete variable.
11992 (enable-theme): Accept only loaded themes as arguments.
11993 Ignore the special custom-enabled-themes variable.
11994 (custom-enabled-themes): Forbid themes from setting this.
11995 Eliminate use of custom-enabling-themes.
11996 (custom-push-theme): Quote "changed" custom var entry.
11997
11998 2011-03-21 Leo Liu <sdl.web@gmail.com>
11999
12000 * ido.el (ido-read-internal): Add ido-selected to history instead
12001 of user input.
12002
12003 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * subr.el (deferred-action-list, deferred-action-function):
12006 Mark obsolete.
12007
12008 2011-03-21 Leo Liu <sdl.web@gmail.com>
12009
12010 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12011 change on 2011-02-13 (bug#8309).
12012
12013 * minibuffer.el (read-file-name-function): Change default value.
12014 (read-file-name--defaults): Rename from read-file-name-defaults.
12015 (read-file-name-default): Rename from read-file-name.
12016 (read-file-name): Call read-file-name-function.
12017
12018 2011-03-21 Glenn Morris <rgm@gnu.org>
12019
12020 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12021 Doc fixes.
12022
12023 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12024
12025 * cus-theme.el: Add missing provide statement.
12026 (customize-create-theme): Extract theme value correctly.
12027 (custom-theme-visit-theme): Autoload.
12028 (customize-create-theme): Prompt before inserting default faces.
12029
12030 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12031
12032 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12033 units and musical notes.
12034
12035 2011-03-20 Leo Liu <sdl.web@gmail.com>
12036
12037 * ido.el (ido-read-internal): Use completing-read-default.
12038 (ido-completing-read): Fix compatibility with completing-read.
12039
12040 2011-03-20 Christian Ohler <ohler@gnu.org>
12041
12042 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12043 (ert-delete-all-tests): Use `called-interactively-p' rather than
12044 `interactive-p'.
12045 (ert--make-xrefs-region): Respect END.
12046
12047 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12048
12049 * dired-aux.el (dired-create-directory): Signal an error if the
12050 directory already exists (Bug#8246).
12051
12052 * facemenu.el (list-colors-display): Call list-faces-display
12053 inside with-help-window.
12054 (list-colors-print): Use display property to align the final
12055 column, instead of checking window-width.
12056
12057 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12058
12059 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12060 windows-nt systems.
12061 (emerge-protect-metachars): Quote correctly for ms-dos and
12062 windows-nt systems.
12063
12064 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12065
12066 * info.el (info-initialize): Replace all uses of `:' with
12067 path-separator for compatibility with non-Unix systems.
12068 Cache quoting of path-separator. (Bug#8258)
12069
12070 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12071
12072 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12073 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12074 (mouse-avoidance-mode): Fix typos in docstrings.
12075
12076 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12077
12078 * startup.el (package-subdirectory-regexp): Move from package.el.
12079 Omit \\` and \\', and let callers add them.
12080
12081 * emacs-lisp/package.el (package-strip-version)
12082 (package-load-all-descriptors): Add \\` and \\' to
12083 package-subdirectory-regexp before using it.
12084 (package-untar-buffer): New arg DIR; ensure that file untars only
12085 into this expected directory. Remove superfluous delete-region.
12086 (package-unpack): Caller changed.
12087 (package-tar-file-info): Use package-subdirectory-regexp.
12088
12089 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12090
12091 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12092 diff-mode-shared-map (bug#8284).
12093 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12094
12095 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12096
12097 * calendar/time-date.el (format-seconds): Use assoc instead of
12098 assoc-string, since assoc-string doesn't exist in XEmacs.
12099
12100 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12101
12102 * custom.el (custom-known-themes): Reflow docstring.
12103 (custom-theme-load-path): Fix typo in docstring.
12104 (load-theme): Fix typo in error message.
12105 (custom-available-themes, custom-variable-theme-value):
12106 Use `let', not `let*'.
12107
12108 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12109
12110 * calc/README: Mention inclusion of musical notes.
12111
12112 * calc/calc-units.el (calc-lu-quant): Rename from
12113 `calc-logunits-quantity'.
12114 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12115 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12116 (calc-db): Rename from `calc-dblevel'.
12117 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12118 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12119 (calc-np): Rename from `calc-nplevel'.
12120 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12121 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12122 (calc-lu-plus): Rename from `calc-logunits-add'.
12123 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12124 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12125 (calc-lu-minus): Rename from `calc-logunits-sub'.
12126 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12127 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12128 (calc-lu-times): Rename from `calc-logunits-mul'.
12129 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12130 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12131 (calc-lu-divide): Rename from `calc-logunits-div'.
12132 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12133 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12134
12135 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12136 functions being autoloaded.
12137
12138 * calc/calc.el (calc-lu-power-reference): Rename from
12139 `calc-logunits-power-reference'.
12140 (calc-lu-field-reference): Rename from
12141 `calc-logunits-field-reference'.
12142
12143 * calc/calc-help.el (calc-l-prefix-help):
12144 Mention musical note functions.
12145
12146 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * minibuffer.el (completion-all-sorted-completions):
12149 Use :completion-cycle-penalty text property if present.
12150
12151 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12152
12153 * allout.el (allout-yank-processing): Adjust for new rebulleting
12154 regime so bullet being yanked is used without prompting the user
12155 for a choice.
12156
12157 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12158
12159 * startup.el (command-line): Warn the user that _emacs is deprecated.
12160
12161 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12162
12163 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12164 (delphi-verbose, delphi-comment-face, delphi-string-face)
12165 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12166 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12167 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12168 (delphi-new-comment-line, delphi-font-lock-defaults)
12169 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12170 Fix typos in docstrings.
12171
12172 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12173
12174 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12175 Invert the roles of character and string values for INSTEAD, so a
12176 string is used for the more common case of a defaulting prompt.
12177
12178 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12179
12180 * progmodes/ruby-mode.el (ruby-backward-sexp):
12181 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12182 * play/gamegrid.el (gamegrid-make-face):
12183 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12184 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12185 * notifications.el (notifications-notify):
12186 * net/xesam.el (xesam-search-engines):
12187 * net/quickurl.el (quickurl-list-insert):
12188 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12189
12190 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12191
12192 * startup.el (command-line): Update package subdirectory regexp.
12193
12194 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12195
12196 * allout.el (allout-abbreviate-flattened-numbering)
12197 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12198
12199 * subr.el (read-char-choice): Only show the cursor after the prompt,
12200 not after the answer.
12201
12202 2011-03-15 Kevin Ryde <user42@zip.com.au>
12203
12204 * help-fns.el (variable-at-point): Skip leading quotes, if any
12205 (bug#8253).
12206
12207 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12210 warning message.
12211
12212 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12213
12214 * shell.el (shell): When called interactively, offer to change the
12215 shell file name on remote hosts.
12216
12217 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12218
12219 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12220 integration for LDAP parameters. The host, base, user or binddn,
12221 and secret tokens can be specified in a netrc file, for instance.
12222 This is optional because an `auth-source' parameter must be
12223 specified in the search attributes.
12224
12225 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12228
12229 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12232 into declaration. Remove redundant and harmful binding.
12233
12234 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12235
12236 * files.el (file-ownership-preserved-p): Pass `integer' as an
12237 explicit 2nd argument to `file-attributes'. If the file's owner
12238 is the Administrators group on Windows, and the current user is
12239 Administrator, consider that a match.
12240
12241 * server.el (server-ensure-safe-dir): Consider server directory
12242 safe on MS-Windows if its owner is the Administrators group while
12243 the current Emacs user is Administrator. Use `=' to compare
12244 numerical UIDs, since they could be integers or floats.
12245
12246 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12247
12248 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12249
12250 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12251
12252 Sync with Tramp 2.2.1.
12253
12254 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12255
12256 * net/trampver.el: Update release number.
12257
12258 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * progmodes/compile.el (compilation--previous-directory): Fix up
12261 various nil/dead-marker mismatches (bug#8014).
12262 (compilation-directory-properties, compilation-error-properties):
12263 Don't call it at a position past the one we're about to change.
12264
12265 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12266 Disable obsolescence warnings in the file that declares it.
12267
12268 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12269
12270 * allout-widgets.el (allout-widgets-tally):
12271 Initialize allout-widgets-tally as a hash table rather than nil to
12272 prevent mode-line redisplay warnings. Also, clarify the module
12273 description and fix a comment typo.
12274
12275 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12276
12277 * help-fns.el (describe-variable): Don't complete keywords.
12278 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12279
12280 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12281
12282 * emacs-lisp/package.el (package-version-join): Impose a standard
12283 string representation for pre/alpha/beta version lists.
12284 (package-unpack-single): Standardize the directory name by passing
12285 it through package-version-join.
12286 (package-strip-rcs-id): Accept any version string that does not
12287 signal an error in version-to-list.
12288
12289 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12290
12291 * simple.el (delete-trailing-whitespace): Return nil for the
12292 benefit of `write-file-functions'.
12293
12294 2011-03-10 Glenn Morris <rgm@gnu.org>
12295
12296 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12297
12298 * vc/vc-git.el (vc-git-program): New option.
12299 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12300 (vc-git--call): Use it.
12301
12302 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12303
12304 * cus-edit.el (Custom-newline): If no button at point, look
12305 for a subgroup button at start-of-line. (Bug#2298)
12306
12307 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12308
12309 2011-03-10 Julien Danjou <julien@danjou.info>
12310
12311 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12312 `cursor-type' is nil.
12313
12314 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12315
12316 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12317
12318 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12319
12320 * allout.el: Change so yank of distinctive-bullet items
12321 preserves the existing header prefix, rebulleting it if necessary,
12322 rather than replacing it. This is necessary for proper operation
12323 of cooperative addons like allout-widgets.
12324 (allout-make-topic-prefix, allout-rebullet-heading):
12325 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12326 value as alternate bullet to be used, instead of prompting the user
12327 for a bullet character.
12328
12329 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12330
12331 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12332 Do not use `tramp-file-name-port', because this returns also
12333 `tramp-default-port'.
12334
12335 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12336
12337 * net/rcirc.el (rcirc-handler-001): Remove useless
12338 with-rcirc-process-buffer.
12339 (rcirc-check-auth-status): Swap arguments to string-match.
12340
12341 2011-03-09 Glenn Morris <rgm@gnu.org>
12342
12343 * shell.el (shell-mode):
12344 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12345
12346 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12347 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12348
12349 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12350
12351 * emacs-lisp/package.el (package-refresh-contents)
12352 (package-menu-execute): Use condition-case-no-debug.
12353
12354 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12355
12356 * simple.el (shell-command-to-string): Use `process-file'.
12357
12358 * emacs-lisp/package.el (package-tar-file-info): Handle also
12359 remote files.
12360
12361 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12362 Use `equal' for upload base check.
12363
12364 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12365
12366 * textmodes/texinfo.el (texinfo-environments):
12367 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12368
12369 2011-03-08 Glenn Morris <rgm@gnu.org>
12370
12371 * cus-start.el (cursor-in-non-selected-windows):
12372 Fix :set quoting oddness. (Bug#8192)
12373
12374 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12375 in some setf expressions. (Bug#2159)
12376
12377 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12378
12379 * custom.el (custom-available-themes): Return themes in
12380 alphabetical order.
12381
12382 See ChangeLog.15 for earlier changes.
12383
12384 ;; Local Variables:
12385 ;; coding: utf-8
12386 ;; End:
12387
12388 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12389
12390 This file is part of GNU Emacs.
12391
12392 GNU Emacs is free software: you can redistribute it and/or modify
12393 it under the terms of the GNU General Public License as published by
12394 the Free Software Foundation, either version 3 of the License, or
12395 (at your option) any later version.
12396
12397 GNU Emacs is distributed in the hope that it will be useful,
12398 but WITHOUT ANY WARRANTY; without even the implied warranty of
12399 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12400 GNU General Public License for more details.
12401
12402 You should have received a copy of the GNU General Public License
12403 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.