]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
a29946a5a73ab58eefeaa6a7017829cb417e2f0c
[gnu-emacs] / lisp / ChangeLog
1 2012-08-24 Chong Yidong <cyd@gnu.org>
2
3 * Version 24.2 released.
4
5 2012-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8 be buffer-local; add delete-trailing-whitespace (bug#12259).
9
10 2012-08-22 Jeremy Moore <jmoore@ieee.org> (tiny change)
11
12 * progmodes/hideif.el (hif-compress-define-list):
13 Fix typo. (Bug#11951)
14
15 2012-08-20 Dan Nicolaescu <dann@gnu.org>
16
17 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
18 buffer local setting.
19
20 2012-08-15 Glenn Morris <rgm@gnu.org>
21
22 * vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean.
23
24 2012-08-15 Leo Liu <sdl.web@gmail.com>
25
26 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
27 rcirc-encode-coding-system.
28
29 2012-08-13 Leo Liu <sdl.web@gmail.com>
30
31 * net/rcirc.el (rcirc-split-message): New function.
32 (rcirc-send-message): Use it. (Bug#12051)
33
34 2012-08-10 Glenn Morris <rgm@gnu.org>
35
36 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
37
38 * tutorial.el (help-with-tutorial):
39 * emacs-lisp/copyright.el (copyright-update-directory):
40 * emacs-lisp/autoload.el (autoload-find-generated-file)
41 (autoload-find-file): Disable local eval: (for insurance).
42
43 2012-08-07 Glenn Morris <rgm@gnu.org>
44
45 * files.el (hack-local-variables-filter): If an eval: form is not
46 known to be safe, and enable-local-variables is :safe, then ignore
47 the form totally, as is done for non-eval forms. (Bug#12155)
48 This is CVE-2012-3479.
49
50 2012-08-07 Chong Yidong <cyd@gnu.org>
51
52 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
53
54 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
57 syntax-propertize-function (bug#10095).
58
59 2012-07-28 Chong Yidong <cyd@gnu.org>
60
61 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
62 gdb-get-location.
63
64 2012-07-25 Leo Liu <sdl.web@gmail.com>
65
66 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
67 the alist (bug#12029).
68
69 2012-07-25 Chong Yidong <cyd@gnu.org>
70
71 * mouse.el (mouse-drag-track): Do not set the mark if the user
72 releases the mouse without selecting anything (Bug#11588).
73
74 2012-07-21 Leo Liu <sdl.web@gmail.com>
75
76 * progmodes/cc-cmds.el (c-defun-name):
77 Use match-string-no-properties instead for consistency.
78
79 2012-07-20 Leo Liu <sdl.web@gmail.com>
80
81 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
82 (Bug#7879)
83
84 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
85
86 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
89 * progmodes/bug-reference.el, misearch.el: Provide themselves
90 (bug#11915).
91
92 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
93 of narrowed buffer (bug#11966).
94
95 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
96
97 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
98 also (Bug#7879).
99
100 2012-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
103 change (bug#11826).
104
105 2012-07-02 Glenn Morris <rgm@gnu.org>
106
107 * simple.el (kill-whole-line): Doc tweak.
108
109 2012-07-01 Eli Zaretskii <eliz@gnu.org>
110
111 * files.el (file-relative-name): Compare file names
112 case-insensitively if on MS-Windows or MS-DOS, or if
113 read-file-name-completion-ignore-case is non-nil. Don't use
114 case-fold-search for this purpose. (Bug#11827)
115
116 2012-06-28 Andreas Schwab <schwab@linux-m68k.org>
117
118 * calendar/cal-dst.el (calendar-current-time-zone):
119 Return calendar-current-time-zone-cache if non-nil.
120
121 2012-06-25 Masatake YAMATO <yamato@redhat.com>
122
123 * progmodes/which-func.el (which-func-format):
124 Add mouse-face. (Bug#11698)
125
126 2012-06-24 Leo Liu <sdl.web@gmail.com>
127
128 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
129 read-only error.
130
131 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
132
133 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
134
135 2012-06-23 Leo Liu <sdl.web@gmail.com>
136
137 * textmodes/enriched.el (enriched-next-annotation):
138 Use eq (Bug#11528).
139
140 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * minibuffer.el (minibuffer-confirm-exit-commands):
143 Add completion-at-point (bug#11725).
144
145 2012-06-21 Glenn Morris <rgm@gnu.org>
146
147 * progmodes/f90.el (f90-font-lock-keywords-2):
148 Add some preprocessor elements. (Bug#10499)
149
150 2012-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * progmodes/cperl-mode.el (cperl-update-syntaxification):
153 Use syntax-propertize (bug#11739).
154
155 2012-06-13 Glenn Morris <rgm@gnu.org>
156
157 * international/mule-cmds.el (mule-menu-keymap)
158 (set-language-environment, set-locale-environment): Doc tweaks.
159
160 2012-06-01 Chong Yidong <cyd@gnu.org>
161
162 * Version 24.1 released.
163
164 2012-06-01 Glenn Morris <rgm@gnu.org>
165
166 * mail/rmail.el (rmail-yank-current-message):
167 Leave point at correct position. (Bug#11660)
168
169 2012-06-01 Chong Yidong <cyd@gnu.org>
170
171 * allout-widgets.el: Fix code header
172
173 2012-06-01 Chong Yidong <cyd@gnu.org>
174
175 * cus-edit.el (customize-changed-options-previous-release):
176 Bump to 23.4.
177
178 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
181 Handle arbitrary file name lengths (Bug#11585).
182
183 2012-05-28 Martin Rudalics <rudalics@gmx.at>
184
185 * desktop.el (desktop-read): Clear previous and next buffers for
186 all windows and bury *Messages* buffer (bug#11556).
187
188 2012-05-18 Eli Zaretskii <eliz@gnu.org>
189
190 * mail/sendmail.el (mail-yank-region):
191 Recognize rmail-yank-current-message in addition to insert-buffer.
192 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
193 a *mail* buffer created through rmail-start-mail with sendmail as
194 mail-user-agent.
195
196 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
199 parens around the arg list (bug#11499). Silly backport.
200
201 2012-05-16 Chong Yidong <cyd@gnu.org>
202
203 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
204
205 2012-05-15 Chong Yidong <cyd@gnu.org>
206
207 * help.el (describe-mode): Doc fix.
208
209 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
210
211 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
212
213 * progmodes/compile.el (compilation-internal-error-properties):
214 Calculate start position correctly when end-col is set but
215 end-line is not (Bug#11382).
216
217 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * net/rlogin.el (rlogin-mode-map): Fix last change.
220
221 2012-05-09 Jason L. Wright <jason.wright@inl.gov> (tiny change)
222
223 * mail/smtpmail.el (smtpmail-send-command): Send the command and
224 the following \r\n using a single `process-send-string', since the
225 Lotus SMTP server refuses to accept any commands if they are sent
226 with two `process-send-string's (bug#11444).
227
228 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * shell.el (shell-parse-pcomplete-arguments): Obey
231 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
232
233 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * shell.el (shell-completion-vars): Fix last change (bug#11348).
236
237 2012-05-07 Chong Yidong <cyd@gnu.org>
238
239 * ansi-color.el (ansi-color-process-output): Check for validity of
240 comint-last-output-start before using it. This avoids a bad
241 interaction with gdb-mi's input/output buffer.
242
243 2012-05-06 Glenn Morris <rgm@gnu.org>
244
245 * files.el (dir-locals-read-from-file):
246 Mention dir-locals in any error message.
247
248 2012-05-06 Chong Yidong <cyd@gnu.org>
249
250 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
251 package (Bug#11410).
252
253 2012-05-05 Chong Yidong <cyd@gnu.org>
254
255 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
256 variables into description.
257
258 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
261 shell-delimiter-argument-list (bug#11348).
262 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
263
264 2012-05-04 Chong Yidong <cyd@gnu.org>
265
266 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
267 Nextstep.
268
269 2012-05-03 Kenichi Handa <handa@m17n.org>
270
271 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
272 decoding, and show a warning message without signalling an error
273 (Bug#11282).
274
275 2012-04-30 Eli Zaretskii <eliz@gnu.org>
276
277 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
278 the yanked message in preference to the default value of
279 buffer-file-coding-system.
280
281 2012-04-30 Martin Rudalics <rudalics@gmx.at>
282
283 * window.el (display-buffer--action-function-custom-type):
284 Fix entry.
285
286 2012-04-27 Alan Mackenzie <acm@muc.de>
287
288 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
289
290 2012-04-27 Chong Yidong <cyd@gnu.org>
291
292 * subr.el (read-key): Avoid running filter function when setting
293 up temporary tool bar entries (Bug#9922).
294
295 2012-04-26 Andreas Schwab <schwab@linux-m68k.org>
296
297 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
298 (Bug#11344)
299
300 2012-04-24 Chong Yidong <cyd@gnu.org>
301
302 * select.el (xselect--encode-string): New function, split from
303 xselect-convert-to-string.
304 (xselect-convert-to-string): Use it.
305 (xselect-convert-to-filename, xselect-convert-to-os)
306 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
307 returned strings are properly encoded (Bug#11315).
308
309 2012-04-22 Chong Yidong <cyd@gnu.org>
310
311 * simple.el (delete-active-region): Move to killing custom group.
312
313 2012-04-21 Andreas Schwab <schwab@linux-m68k.org>
314
315 * progmodes/which-func.el (which-func-current): Quote %
316 characters for mode-line processing.
317
318 2012-04-21 Chong Yidong <cyd@gnu.org>
319
320 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
321 reaching eob (Bug#11286).
322
323 2012-04-20 Richard Stallman <rms@gnu.org>
324
325 Fix logic for returning to and yanking from Rmail buffer.
326
327 * mail/rmail.el (rmail-start-mail):
328 Pass (rmail-mail-return...) for the return-action.
329 Pass (rmail-yank-current-message...) for the yank-action.
330 (rmail-yank-current-message): New function.
331 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
332 (rmail-reply): Likewise.
333 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
334
335 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
336 buffer, not the last. Reject temp buffers. Use the rmail-mode
337 buffer, not newbuf.
338
339 2012-04-20 Eli Zaretskii <eliz@gnu.org>
340
341 * progmodes/gdb-mi.el (gdb-control-level): New variable.
342 (gdb): Make it buffer-local and init to zero.
343 (gdb-control-commands-regexp): New variable.
344 (gdb-send): Don't wrap in "-interpreter-exec console" if
345 gdb-control-level is positive. Increment gdb-control-level
346 whenever the command matches gdb-control-commands-regexp, and
347 decrement it each time the command is "end". (Bug#11279)
348
349 2012-04-20 Martin Rudalics <rudalics@gmx.at>
350
351 * window.el (adjust-window-trailing-edge, enlarge-window)
352 (shrink-window, window-resize):
353 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
354 windows (Bug#11276).
355
356 2012-04-20 Dan Nicolaescu <dann@gnu.org>
357
358 * battery.el (battery-echo-area-format): Display remaining time
359 for sysfs backend too (Bug#11269).
360 (battery-linux-sysfs): Fix conditional for the charge.
361
362 2012-04-20 Chong Yidong <cyd@gnu.org>
363
364 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
365 (gdb-inferior-io--init-proc): New function.
366 (gdb-init-1): Use it.
367 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
368 responsible for allocating a new pty and hooking it to gdb when
369 the old pty gets an EIO due to process exit.
370 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
371 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
372 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
373
374 2012-04-20 Eli Zaretskii <eliz@gnu.org>
375
376 * window.el (window-min-size, window-sizable, window-min-delta)
377 (window-max-delta, window--resizable, window-resizable)
378 (window-total-size, window-full-height-p, window-full-width-p)
379 (window-in-direction, window--resize-mini-window, window-resize)
380 (window--resize-child-windows-normal)
381 (window--resize-child-windows, window--resize-siblings)
382 (window--resize-this-window, adjust-window-trailing-edge)
383 (enlarge-window, shrink-window): Doc fixes.
384
385 2012-04-19 Chong Yidong <cyd@gnu.org>
386
387 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
388 New function to call delete-process on the gdb-inferior buffer's pty.
389 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
390 pty process (Bug#11273).
391 (gdb-update): New arg to suppress talking to the gdb process.
392 (gdb-done-or-error): Use it.
393 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
394 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
395 sentinel not being called.
396
397 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
398
399 2012-04-18 Chong Yidong <cyd@gnu.org>
400
401 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
402
403 2012-04-18 Glenn Morris <rgm@gnu.org>
404
405 * net/network-stream.el (open-network-stream): Doc fix.
406
407 2012-04-17 Chong Yidong <cyd@gnu.org>
408
409 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
410
411 2012-04-16 Alan Mackenzie <acm@muc.de>
412
413 Ensure searching for keywords is case sensitive.
414
415 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
416 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
417 (c-defun-name, c-mark-function, c-cpp-define-name)
418 (c-comment-indent, c-scan-conditionals, c-indent-defun)
419 (c-context-line-break): bind case-fold-search to nil.
420
421 * progmodes/cc-mode.el (c-font-lock-fontify-region):
422 bind case-fold-search to nil.
423
424 2012-04-16 Chong Yidong <cyd@gnu.org>
425
426 * mail/sendmail.el (mail-bury): Call return action with the right
427 Rmail buffer (Bug#11242).
428
429 2012-04-15 Chong Yidong <cyd@gnu.org>
430
431 * server.el (server-process-filter): Handle corner case where both
432 tty and nowait options are present (Bug#11102).
433
434 2012-04-15 Glenn Morris <rgm@gnu.org>
435
436 * simple.el (process-file-side-effects): Doc fix.
437
438 2012-04-14 Glenn Morris <rgm@gnu.org>
439
440 * international/mule-cmds.el (set-language-environment): Doc fix.
441
442 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 Avoid the use of ((lambda ...) ...) in lexical-binding code.
445 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
446
447 2012-04-13 Kim F. Storm <storm@cua.dk>
448
449 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
450 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
451
452 2012-04-12 Chong Yidong <cyd@gnu.org>
453
454 * custom.el (custom-theme-set-variables): Doc fix.
455
456 2012-04-12 Glenn Morris <rgm@gnu.org>
457
458 * international/mule.el (set-auto-coding-for-load): Doc fix.
459
460 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
463 Reported by Noah Friedman. Backport from trunk.
464
465 2012-04-11 Alan Mackenzie <acm@muc.de>
466
467 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
468 Make imenu work again for Objective C Mode. Correct the *-index
469 values, these having been disturbed by a previous change in 2011-08.
470
471 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
472 Correct two search limits.
473
474 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
477
478 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
479
480 * international/characters.el: Fix sorting.
481
482 2012-04-10 Eli Zaretskii <eliz@gnu.org>
483
484 * international/characters.el: Add more missing Latin case pairs.
485
486 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
487
488 * international/characters.el: Recover lost case pairs.
489
490 2012-04-10 Glenn Morris <rgm@gnu.org>
491
492 * files.el (dir-locals-set-class-variables): Doc fix.
493
494 2012-04-09 Eli Zaretskii <eliz@gnu.org>
495
496 * international/characters.el: Add set-case-syntax-pair call for
497 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
498 counterpart. (Bug#11209)
499
500 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
501
502 2012-04-09 Glenn Morris <rgm@gnu.org>
503
504 * calendar/holidays.el (calendar-check-holidays): Doc fix.
505
506 2012-04-08 Eli Zaretskii <eliz@gnu.org>
507
508 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
509 Hebrew.
510
511 2012-04-08 Chong Yidong <cyd@gnu.org>
512
513 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
514 (Bug#11192).
515
516 2012-04-07 Glenn Morris <rgm@gnu.org>
517
518 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
519
520 2012-04-07 Eli Zaretskii <eliz@gnu.org>
521
522 * minibuffer.el (completion-in-region-mode-map):
523 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
524
525 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
526
527 * window.el (shrink-window): Mention the `window-min-height'
528 variable in the doc string.
529
530 2012-04-05 Bastien Guerry <bzg@altern.org>
531
532 * color.el (color-lighten-name): Fix typo.
533
534 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * server.el (server--on-display-p): New function.
537 (server--on-display-p): Use it.
538
539 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
540
541 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
542 (bug#11145).
543
544 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * comint.el (comint--common-quoted-suffix): Check string boundary
547 before comparing (bug#11158).
548 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
549
550 2012-04-04 Chong Yidong <cyd@gnu.org>
551
552 * minibuffer.el (completion-extra-properties): Doc fix.
553
554 * subr.el (delayed-warnings-hook): Doc fix.
555
556 2012-04-04 Daiki Ueno <ueno@unixuser.org>
557
558 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
559 selection (Bug#11159).
560 (epa-insert-keys): Inform that the default public key will be
561 exported if no key is selected.
562
563 2012-04-04 Richard Stallman <rms@gnu.org>
564
565 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
566
567 2012-04-03 Chong Yidong <cyd@gnu.org>
568
569 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
570 mail-insert-file, not its obsolete alias mail-attach-file.
571
572 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
573
574 * notifications.el (notifications-notify): Fix docstring.
575
576 2012-04-02 Glenn Morris <rgm@gnu.org>
577
578 * emacs-lisp/authors.el (authors-aliases): Another addition.
579
580 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
581
582 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
583 `tramp-compat-call-process' instead of `tramp-local-call-process'.
584 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
585
586 2012-04-01 Chong Yidong <cyd@gnu.org>
587
588 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
589 Handle root directory properly.
590 (copy-directory): Caller changed.
591
592 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
593 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
594
595 2012-03-31 Glenn Morris <rgm@gnu.org>
596
597 * term/xterm.el (xterm-extra-capabilities): Doc fix.
598
599 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
600
601 * calendar/calendar.el (calendar-window-list)
602 (calendar-hide-window): Restore. (Bug#11140)
603 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
604
605 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
606
607 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
608
609 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
610 Check if file is a symlink (Bug#10489).
611
612 * files.el (copy-directory): Likewise.
613
614 2012-03-30 Chong Yidong <cyd@gnu.org>
615
616 * image.el (imagemagick-types-inhibit)
617 (imagemagick-register-types): Doc fix.
618
619 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
620
621 * ispell.el (ispell-get-extended-character-mode): Disable
622 extended-char-mode for hunspell. hunspell does not support it and
623 treats ~word as ordinary words in pipe mode.
624
625 2012-03-30 Glenn Morris <rgm@gnu.org>
626
627 * tutorial.el (help-with-tutorial): Ensure local variables don't
628 happen to make the buffer read-only. (Bug#11127)
629
630 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
633 (perl-calculate-indent): Return `noindent' in strings.
634
635 2012-03-28 Sam Steingold <sds@gnu.org>
636
637 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
638 instead of the broken adhockery which does not prevent calendar
639 buffers from being displayed at random after exit.
640 (calendar-window-list, calendar-hide-window): Remove the broken
641 adhockery.
642
643 2012-03-28 Glenn Morris <rgm@gnu.org>
644
645 * replace.el (query-replace-map): Doc fix.
646
647 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
648
649 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
650 contents. (Bug#11109)
651
652 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
655 (bug#11077).
656 (avl-tree--check, avl-tree--check-node): New funs.
657
658 2012-03-27 Martin Rudalics <rudalics@gmx.at>
659
660 * window.el (switch-to-visible-buffer): New option.
661 (switch-to-prev-buffer, switch-to-next-buffer):
662 Observe switch-to-visible-buffer. Make sure that checking for a window
663 showing a buffer already is done on the same frame.
664
665 2012-03-27 Glenn Morris <rgm@gnu.org>
666
667 * startup.el (mail-host-address): Doc fix.
668
669 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
672 than 197 variables.
673
674 2012-03-26 Ami Fischman <ami@fischman.org>
675
676 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
677
678 2012-03-26 Glenn Morris <rgm@gnu.org>
679
680 * files.el (save-buffers-kill-emacs): Doc fix.
681
682 * startup.el (normal-top-level, command-line, command-line-1):
683 Give them doc strings.
684
685 2012-03-25 Eli Zaretskii <eliz@gnu.org>
686
687 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
688 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
689
690 2012-03-25 Chong Yidong <cyd@gnu.org>
691
692 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
693 theme if it was previously enabled before (Bug#11031).
694
695 * cus-theme.el (custom-theme-write-faces): Retrieve current face
696 spec with custom-face-get-current-spec if its :shown-value is not
697 determined yet (Bug#9337).
698 (customize-create-theme, custom-theme-revert): Doc fixes.
699
700 * button.el (button-at): Minor addition to docstring.
701
702 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
703
704 * vc/vc.el (vc-merge): Fix a prompt.
705
706 2012-03-24 Chong Yidong <cyd@gnu.org>
707
708 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
709 point (Bug#9623).
710
711 * button.el (button-at): Minor addition to docstring.
712
713 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * newcomment.el (comment-choose-indent): No space after BOL.
716
717 2012-03-22 Sam Steingold <sds@gnu.org>
718
719 * window.el (switch-to-prev-buffer): Revert last patch because the
720 bug turned out to be an advertised feature (Elisp manual 28.14).
721
722 2012-03-22 Glenn Morris <rgm@gnu.org>
723
724 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
725 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
726
727 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
728
729 * net/network-stream.el (network-stream-open-starttls): Make error
730 message under Windows be less misleading.
731
732 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
733
734 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
735 understands (bug#9942).
736
737 2012-03-22 Chong Yidong <cyd@gnu.org>
738
739 * simple.el (end-of-visible-line): Handle return value of
740 next-single-property-change properly (Bug#9371).
741
742 2012-03-22 Kenichi Handa <handa@m17n.org>
743
744 * international/quail.el (quail-insert-kbd-layout): Fix previous
745 change. To avoid unwanted bidi reordering, use
746 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
747
748 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
749
750 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
751 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
752 (ruby-beginning-of-indent): Be more careful with the difference
753 between word-boundary and symbol boundary.
754 (ruby-mode-syntax-table): Make : a symbol constituent.
755
756 2012-03-21 Andreas Politz <politza@fh-trier.de>
757
758 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
759
760 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * progmodes/etags.el (tags-completion-at-point-function):
763 Improve last fix.
764
765 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
766
767 2012-03-21 Sam Steingold <sds@gnu.org>
768
769 * progmodes/etags.el (tags-completion-at-point-function):
770 Avoid the error when point is inside the pattern.
771
772 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
773
774 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
775 line (Bug#10855).
776
777 2012-03-21 Drew Adams <drew.adams@oracle.com>
778
779 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
780
781 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
782
783 * ido.el (ido-set-current-directory, ido-read-internal)
784 (ido-choose-completion-string, ido-completion-help): Handle nil
785 value of ido-completion-buffer (Bug#11008).
786
787 2012-03-21 Sam Steingold <sds@gnu.org>
788
789 * window.el (switch-to-prev-buffer): Do not switch to a visible
790 window previous buffer, just like with the frame previous buffers.
791
792 2012-03-21 Chong Yidong <cyd@gnu.org>
793
794 * faces.el (make-face, make-empty-face, copy-face):
795 * face-remap.el (face-remap-add-relative, face-remap-set-base):
796 Doc fixes.
797
798 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * wid-edit.el (widget-complete-field): Remove (bug#11051).
801 (widget-complete): Remove broken use of it.
802
803 2012-03-20 Chong Yidong <cyd@gnu.org>
804
805 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
806 Use string-width and truncate-string-width to handle arbitrary
807 characters.
808
809 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
810
811 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
812 to draw rectangles, not squares. (Regression introduced by revno
813 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
814
815 2012-03-18 Chong Yidong <cyd@gnu.org>
816
817 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
818 it is not yet defined (for temacs).
819
820 2012-03-18 Leo Liu <sdl.web@gmail.com>
821
822 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
823
824 2012-03-17 Eli Zaretskii <eliz@gnu.org>
825
826 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
827 (ispell-choices-win-default-height, ispell-silently-savep)
828 (ispell-dictionary-alist, ispell-encoding8-command)
829 (ispell-check-version, ispell-aspell-find-dictionary)
830 (ispell-valid-dictionary-list, ispell-words-keyword)
831 (ispell-get-word, ispell-internal-change-dictionary)
832 (ispell-region, ispell-skip-region-list)
833 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
834 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
835 (ispell-message-text-end, ispell-message)
836 (ispell-buffer-local-parsing): Doc fix.
837
838 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
839
840 * htmlfontify.el: Add support for code block fontification for ODT
841 export (Bug #9914).
842 (hfy-optimisations): Define new option
843 `body-text-only'
844 (hfy-fontify-buffer): Honor above setting.
845 (hfy-begin-span, hfy-end-span): New routines factored out form
846 `hfy-fontify-buffer'.
847 (hfy-begin-span-handler, hfy-end-span-handler): New variables
848 that permit insertion of custom tags.
849 (hfy-fontify-buffer): Use above handlers.
850 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
851 (hfy-face-to-css): Re-defined to be a variable.
852 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
853 over multiple runs. This is made possible by having the caller let
854 bind a special variable `hfy-user-sheet-assoc'.
855 (htmlfontify-string): New defun.
856 (hfy-compile-face-map): Make sure that the last char in the
857 buffer is correctly fontified.
858 (hfy-face-resolve-face): Whitespace only change.
859
860 2012-03-17 Eli Zaretskii <eliz@gnu.org>
861
862 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
863 message more clear.
864
865 2012-03-16 Leo Liu <sdl.web@gmail.com>
866
867 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
868
869 2012-03-16 Alan Mackenzie <acm@muc.de>
870
871 Further optimise the handling of large macros.
872
873 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
874 limit to a call of `c-literal-limits'.
875 (c-determine-+ve-limit): New function.
876 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
877 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
878 In CASE 5B, restrict a search limit to 500.
879 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
880
881 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
882 Restrict macro bounds to +-500 from after-change's BEG END.
883
884 2012-03-16 Leo Liu <sdl.web@gmail.com>
885
886 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
887
888 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
889
890 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
891 `special-mode' setting of `buffer-read-only'. (Bug#11010)
892
893 2012-03-16 Glenn Morris <rgm@gnu.org>
894
895 * view.el (view-buffer, view-buffer-other-window)
896 (view-buffer-other-frame): Doc fixes re special mode-class.
897
898 * subr.el (eval-after-load): If named feature is provided not from
899 a file, run after-load forms. (Bug#10946)
900
901 * calendar/calendar.el (calendar-insert-at-column):
902 Handle non-unit-width characters a bit better. (Bug#10978)
903
904 2012-03-15 Chong Yidong <cyd@gnu.org>
905
906 * emacs-lisp/ring.el (ring-extend): New function.
907 (ring-insert+extend): Extend the ring correctly (Bug#11019).
908
909 * comint.el (comint-read-input-ring)
910 (comint-add-to-input-history): Grow comint-input-ring lazily.
911
912 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
915 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
916
917 * imenu.el: Fix multiple inheritance breakage (bug#9199).
918 (imenu-add-to-menubar): Don't add a redundant index.
919 (imenu-update-menubar): Handle a dynamically composed keymap.
920
921 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
922
923 * mail/sendmail.el (mail-encode-header):
924 Bind rfc2047-encode-encoded-words to nil.
925
926 2012-03-13 Glenn Morris <rgm@gnu.org>
927
928 * calendar/calendar.el (calendar-string-spread):
929 Handle non-unit-width characters a bit better. (Bug#10978)
930
931 2012-03-13 Leo Liu <sdl.web@gmail.com>
932
933 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
934 directory and file as argument (Bug#10822).
935
936 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
937
938 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
939 For dynamically generated code, follow $PC.
940 (gdb-disassembly-handler-custom): Handle no function name case.
941
942 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
943
944 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
945 * emulation/ws-mode.el (ws-query-replace):
946 * sort.el (sort-regexp-fields):
947 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
948
949 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * dabbrev.el: Fix cycle completion order (bug#10963).
952 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
953 (dabbrev-completion): Don't use an obarray; provide
954 a cycle-sort-function.
955
956 2012-03-12 Leo Liu <sdl.web@gmail.com>
957
958 * simple.el (kill-new): Use equal-including-properties for comparison.
959 (kill-do-not-save-duplicates): Doc fix.
960
961 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * dabbrev.el: Fix cycle completion (bug#10963).
964 Use lexical binding and wrap to 80 columns.
965 (dabbrev-completion): Delay computing the list of completions.
966
967 2012-03-12 Kenichi Handa <handa@m17n.org>
968
969 * international/quail.el (quail-insert-kbd-layout): Surround each
970 row by LRO and PDF instead of inserting many LRMs. Pad the left
971 and right of each non-spacing marks. Insert invisible space
972 between lower and upper characters to prevent composition.
973
974 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * minibuffer.el (minibuffer-complete): Don't get confused when the
977 function is run twice via different commands (bug#10958).
978 (complete-with-action): Fix docstring.
979
980 2012-03-12 Chong Yidong <cyd@gnu.org>
981
982 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
983 (nxml-completion-at-point-function): New function.
984 (nxml-mode): Use it.
985 (nxml-bind-meta-tab-to-complete-flag): Default to t.
986
987 * emacs-lisp/package.el (package-unpack, package-unpack-single):
988 Load generated autoloads file before byte compiling (Bug#10970).
989 (package--make-autoloads-and-compile): New helper fun.
990
991 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
992
993 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
994
995 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
996
997 * autorevert.el (auto-revert-handler): Ensure, that
998 file-readable-p is applied only for local files or in
999 auto-revert-tail-mode.
1000
1001 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1002
1003 * server.el (server-eval-at): Handle non-tcp connections.
1004 Decode result string.
1005
1006 * server.el (server-msg-size): New constant.
1007 (server-reply-print): New function.
1008 (server-eval-and-print): Use it.
1009 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1010 Handle -print-nonl.
1011
1012 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1013
1014 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1015 (Bug#10987).
1016
1017 2012-03-11 Chong Yidong <cyd@gnu.org>
1018
1019 * simple.el (goto-line): Doc fix (Bug#9938).
1020
1021 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1022
1023 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1024 when finished (Bug#10963).
1025
1026 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1027
1028 * window.el (split-window-below): Fix bug in case where
1029 split-window-keep-point is nil (Bug#10971).
1030
1031 2012-03-11 Juri Linkov <juri@jurta.org>
1032
1033 * replace.el (replace-highlight): Set isearch-word to nil
1034 unconditionally. (Bug#10887)
1035
1036 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1037
1038 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1039 mairix-replace-illegal-chars; all callers changed. Don't remove
1040 ^, ~, and = characters: they are meaningful in mairix search specs.
1041 (mairix-widget-create-query): Add usage information about mairix
1042 search forms: negating words, searching for substrings, etc.
1043
1044 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1045
1046 * international/fontset.el (font-encoding-alist): Add an entry for
1047 ksx1001 (Bug#5667).
1048
1049 2012-03-10 Richard Stallman <rms@gnu.org>
1050
1051 * mail/sendmail.el (mail-encode-header):
1052 Set rfc2047-encode-encoded-words.
1053
1054 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1055
1056 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1057 view buffer means not swapped.
1058 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1059 (rmail-write-region-annotate): Error if real text has disappeared.
1060
1061 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1062
1063 2012-03-10 Chong Yidong <cyd@gnu.org>
1064
1065 * emulation/cua-rect.el (cua--init-rectangles):
1066 * emulation/cua-base.el (cua--init-keymaps):
1067 Add delete-forward-char to remappings (Bug#9666).
1068
1069 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1070
1071 * speedbar.el (speedbar-unhighlight-one-tag-line):
1072 Avoid unhighlighting due to frame switching (Bug#10275).
1073
1074 2012-03-10 Chong Yidong <cyd@gnu.org>
1075
1076 * minibuffer.el (completion-in-region, completion-help-at-point):
1077 Give the completion field overlay a high priority (Bug#6830).
1078
1079 * dired.el (dired-goto-file): Recognize absolute file name
1080 listings (Bug#7126).
1081 (dired-goto-file-1): New helper function.
1082 (dired-toggle-read-only): Inhibit warnings.
1083
1084 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1085
1086 * net/dbus.el: (dbus-property-handler): Return empty array if
1087 there are no properties.
1088
1089 2012-03-09 Leo Liu <sdl.web@gmail.com>
1090
1091 * savehist.el (savehist-printable): Stricter check for string
1092 value (Bug#10937).
1093
1094 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1095
1096 * mail/smtpmail.el (smtpmail-send-it):
1097 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1098 valid mbox format.
1099
1100 2012-03-09 Glenn Morris <rgm@gnu.org>
1101
1102 * files.el (dir-locals-find-file):
1103 Don't check result is regular, readable.
1104 (dir-locals-read-from-file): Demote errors.
1105
1106 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1107
1108 * international/quail.el (quail-insert-kbd-layout):
1109 Insert invisible LRM characters before each character in a keyboard
1110 layout cell, to prevent their reordering by bidi display engine.
1111 For details, see the discussion in
1112 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1113
1114 2012-03-08 Alan Mackenzie <acm@muc.de>
1115
1116 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1117 the starting position; make it extend the marked region when
1118 invoked repeatedly - all under appropriate circumstances.
1119 Fixes bugs #5525, #10906.
1120
1121 2012-03-08 Glenn Morris <rgm@gnu.org>
1122
1123 * files.el (locate-dominating-file, dir-locals-find-file):
1124 Undo 2012-03-06 change.
1125
1126 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1127
1128 * international/quail.el (quail-help):
1129 Force bidi-paragraph-direction be left-to-right. See discussion in
1130 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1131 for the reason.
1132
1133 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1134
1135 Avoid superfluous registering of signals. (Bug#10807)
1136
1137 * notifications.el (notifications-on-action-object)
1138 (notifications-on-close-object): New defvars.
1139 (notifications-on-action-signal, notifications-on-closed-signal):
1140 Unregister the signal if not needed any longer.
1141 (notifications-notify): Register `notifications-action-signal' or
1142 `notifications-closed-signal', if :on-action or :on-close has been
1143 passed as argument.
1144
1145 2012-03-07 Chong Yidong <cyd@gnu.org>
1146
1147 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1148 non-X platforms.
1149
1150 2012-03-06 Glenn Morris <rgm@gnu.org>
1151
1152 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1153 (x-disown-selection-internal, x-get-selection-internal):
1154 Doc fix (add arglist signatures). (Bug#10783)
1155
1156 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1157
1158 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1159 Handle breakpoints with no "type".
1160
1161 2012-03-06 Glenn Morris <rgm@gnu.org>
1162
1163 * files.el (locate-dominating-file): Add optional predicate argument.
1164 (dir-locals-find-file): Make use of above change.
1165
1166 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1167
1168 * info.el (Info-insert-dir): Also try "dir.gz".
1169
1170 2012-03-06 Glenn Morris <rgm@gnu.org>
1171
1172 * files.el (dir-locals-find-file):
1173 Ignore non-readable or non-regular files. (Bug#10928)
1174
1175 * files.el (locate-dominating-file): Doc fix.
1176
1177 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1178
1179 * calendar/calendar.el (calendar-set-mode-line):
1180 `getenv' returns a string. (Bug#10951)
1181
1182 2012-03-05 Leo Liu <sdl.web@gmail.com>
1183
1184 * simple.el (backward-delete-char-untabify): Constrain point to
1185 field (Bug#10939).
1186
1187 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1188
1189 2012-03-05 Chong Yidong <cyd@gnu.org>
1190
1191 * simple.el (count-words): If called from Lisp, return the word
1192 count, for symmetry with `count-lines'. Arglist changed.
1193 (count-words--message): Args changed. Consolidate counting code
1194 from count-words and count-words-region.
1195 (count-words-region): Caller changed.
1196 (count-lines-region): Make it an obsolete alias.
1197
1198 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1199
1200 * saveplace.el (save-place-to-alist)
1201 (save-place-ignore-files-regexp): Allow value nil to disable this
1202 feature.
1203
1204 2012-03-04 Chong Yidong <cyd@gnu.org>
1205
1206 * faces.el (face-spec-reset-face): For the default face, reset the
1207 attributes to default values (Bug#10748).
1208
1209 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1210
1211 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1212 previous patch: Check `message-send-mail-function', and not the
1213 default function (bug#10897).
1214
1215 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1216
1217 * notifications.el (notifications-on-action-signal)
1218 (notifications-on-closed-signal): Check for unique service name of
1219 incoming event. Fix error in removing entry.
1220 (top): Register for signals with wildcard service name.
1221 (notifications-notify): Use daemon unique service name for map entries.
1222
1223 2012-03-04 Chong Yidong <cyd@gnu.org>
1224
1225 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1226
1227 2012-03-04 Glenn Morris <rgm@gnu.org>
1228
1229 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1230 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1231 (expand-abbrev, define-abbrev-table): Doc fixes.
1232
1233 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1234
1235 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1236 `message-default-send-mail-function' and not `send-mail-function'
1237 when doing the prompting for `sendmail-query-once' before sending
1238 in Message buffers (bug#10897).
1239
1240 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1241 This is inconsistent with all the other stream functions, which leave
1242 the setting up to the higher levels (if so wanted) (bug#10931).
1243
1244 2012-03-02 Alan Mackenzie <acm@muc.de>
1245
1246 Depessimize the handling of very large macros.
1247
1248 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1249 (c-macro-cache-syntactic): New variables to implement a one
1250 element macro cache.
1251 (c-invalidate-macro-cache): New function.
1252 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1253 Adapt to use the new cache.
1254 (c-state-safe-place): Use better the cache of safe positions.
1255 (c-state-semi-nonlit-pos-cache)
1256 (c-state-semi-nonlit-pos-cache-limit):
1257 New variables for...
1258 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1259 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1260 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1261 Use c-state-semi-safe-place.
1262
1263 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1264 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1265
1266 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * jka-compr.el (jka-compr-call-process):
1269 Apply `file-accessible-directory-p' only when the default directory is
1270 not remote.
1271
1272 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1273
1274 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1275 access of FILE2, if FILE1 does not exist.
1276
1277 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1278 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1279
1280 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1281 Add "PAGER=" to `process-environment'.
1282
1283 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1284
1285 * progmodes/sql.el: Bug fix
1286 (sql-get-login-ext): Save login values in globals.
1287 (sql-get-login): Use new version of `sql-get-login-ext'.
1288 (sql-interactive-mode): Set global `sql-connection' to nil.
1289 (sql-connect): Set global values for connection.
1290 (sql-product-interactive): Save global values as buffer local.
1291
1292 2012-02-29 Leo Liu <sdl.web@gmail.com>
1293
1294 * abbrev.el (define-abbrevs): Reset sys to nil.
1295
1296 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1297
1298 * files.el (file-equal-p): Rename from `files-equal-p'.
1299 Return nil when one or both files don't exist.
1300 (file-subdir-of-p): Now only top directory must exists,
1301 return nil if it doesn't.
1302 (copy-directory): No need to test with `file-subdir-of-p' after
1303 creating dir.
1304 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1305 to `file-equal-p'.
1306
1307 2012-02-28 Glenn Morris <rgm@gnu.org>
1308
1309 * shell.el (shell-mode):
1310 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1311 * play/landmark.el (landmark-font-lock-face-O):
1312 * play/handwrite.el (handwrite):
1313 * play/gomoku.el (gomoku-O):
1314 * net/browse-url.el (browse-url-browser-display):
1315 * international/mule.el (define-charset):
1316 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1317 * filesets.el (filesets-find-file-delay):
1318 * eshell/em-xtra.el (eshell-xtra):
1319 * eshell/em-unix.el (eshell-grep):
1320 * emulation/viper.el (viper-mode):
1321 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1322 * emacs-lisp/easymenu.el (easy-menu-define):
1323 * calendar/timeclock.el (timeclock-use-display-time):
1324 * bs.el (bs-mode):
1325 * bookmark.el (bookmark-save-flag):
1326 Doc fix (standardize possessive apostrophe usage).
1327
1328 2012-02-27 Chong Yidong <cyd@gnu.org>
1329
1330 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1331 Fix key-binding lookup for ESC key (Bug#9146).
1332
1333 * font-lock.el (font-lock-specified-p): Rename from
1334 font-lock-spec-present. Callers changed.
1335
1336 2012-02-27 Daniel Hackney <dan@haxney.org>
1337
1338 * emacs-lisp/package.el (package-compute-transaction):
1339 Handle holding a package version to t in package-load-list.
1340
1341 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1342
1343 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1344 (tramp-get-inode, tramp-get-device): Use cached values.
1345
1346 2012-02-26 Alan Mackenzie <acm@muc.de>
1347
1348 Check there is a font-lock specification before doing initial
1349 fontification.
1350
1351 * font-core.el (font-lock-mode): Move the conditional from
1352 :after-hook to font-lock-initial-fontify.
1353 (font-lock-default-function): Move the check for a specification
1354 to font-lock-spec-present.
1355
1356 * font-lock.el (font-lock-initial-fontify): Call ...
1357 (font-lock-spec-present): New function.
1358
1359 2012-02-26 Jim Blandy <jimb@red-bean.com>
1360
1361 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1362 (gdb-send): Apply it to the operand of the '-interpreter-exec
1363 console' command, so that we can pass arguments with (say) quotes
1364 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1365
1366 2012-02-26 Chong Yidong <cyd@gnu.org>
1367
1368 * help-fns.el (describe-function-1): Clarify description of
1369 remapping (Bug#10844).
1370
1371 * files.el (files-equal-p): Doc fix.
1372 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1373 and quit the loop once a mismatch is found.
1374
1375 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1376
1377 * bs.el (bs--show-with-configuration): Don't throw an error
1378 if the window cannot be split; otherwise, subsequent calls to
1379 bs-show fail, restoring a stale window config. (Bug#10882)
1380
1381 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1382
1383 * term/ns-win.el (global-map): Bind ns-drag-file to
1384 ns-find-file (Bug#5855, Bug#10050).
1385
1386 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1387
1388 * calendar/parse-time.el (parse-time-string): Allow extractor to
1389 return nil.
1390
1391 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1392
1393 * net/tramp.el (tramp-file-name-for-operation):
1394 Add `files-equal-p' and `file-subdir-of-p'.
1395
1396 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1397 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1398 Add COPY-CONTENTS argument.
1399
1400 2012-02-25 Chong Yidong <cyd@gnu.org>
1401
1402 Add custom groups for VC backends, for consistency with vc-bzr.
1403
1404 * vc/vc-arch.el (vc-arch):
1405 * vc/vc-cvs.el (vc-cvs):
1406 * vc/vc-git.el (vc-git):
1407 * vc/vc-hg.el (vc-hg):
1408 * vc/vc-mtn.el (vc-mtn):
1409 * vc/vc-rcs.el (vc-rcs):
1410 * vc/vc-sccs.el (vc-sccs):
1411 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1412 All relevant defcustoms reassigned.
1413
1414 2012-02-25 Chong Yidong <cyd@gnu.org>
1415
1416 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1417
1418 * term/x-win.el (x-initialize-window-system): Reduce default for
1419 x-selection-timeout to 5 seconds (Bug#8869).
1420
1421 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1422
1423 * files.el (file-subdir-of-p): Fix typo.
1424
1425 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1426
1427 * files.el (files-equal-p, file-subdir-of-p): New functions.
1428 (copy-directory): Error when trying to copy a directory on itself.
1429 Add missing copy-contents arg to tramp handler.
1430 * dired-aux.el (dired-copy-file-recursive): Same.
1431 (dired-create-files): Modify destination when source is equal to
1432 dest when copying files.
1433 Return also when dest is a subdir of source. (Bug#10489)
1434
1435 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1436
1437 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1438 (Bug#10874)
1439
1440 2012-02-23 Alan Mackenzie <acm@muc.de>
1441
1442 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1443 parameter "after-hook:" to allow the expansion to run code after
1444 the execution of the mode hooks.
1445
1446 * font-lock.el (font-lock-initial-fontify): New function extracted
1447 from font-lock-mode-internal.
1448
1449 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1450 :after-hook.
1451
1452 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1455 (completion--cache-all-sorted-completions): New function.
1456 (completion-all-sorted-completions): Use it.
1457 (completion--do-completion, minibuffer-force-complete):
1458 Use it to re-instate the flush hook.
1459
1460 * icomplete.el (icomplete-completions): Replace last fix with a better
1461 one (bug#10850).
1462
1463 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1464
1465 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1466 when it might call us back infinitely (bug#10797).
1467
1468 2012-02-23 Glenn Morris <rgm@gnu.org>
1469
1470 * minibuffer.el (completion-category-overrides): Doc fix.
1471
1472 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1475 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1476
1477 2012-02-23 Glenn Morris <rgm@gnu.org>
1478
1479 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1480 (authors-obsolete-files-regexps, authors-ignored-files)
1481 (authors-ambiguous-files, authors-renamed-files-alist):
1482 Add more entries.
1483
1484 2012-02-23 Juri Linkov <juri@jurta.org>
1485
1486 * isearch.el (isearch-occur): Sync interactive spec with occur's
1487 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1488
1489 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1490
1491 2012-02-22 Juri Linkov <juri@jurta.org>
1492
1493 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1494 (ucs-insert): Doc fix. Check for hex digits in the string.
1495 Don't display `nil' in the error message. (Bug#10857)
1496
1497 2012-02-22 Alan Mackenzie <acm@muc.de>
1498
1499 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1500
1501 2012-02-22 Glenn Morris <rgm@gnu.org>
1502
1503 * ffap.el (ffap-c-path):
1504 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1505
1506 2012-02-22 Chong Yidong <cyd@gnu.org>
1507
1508 * custom.el (load-theme): Doc fix.
1509
1510 2012-02-22 Glenn Morris <rgm@gnu.org>
1511
1512 * dired-x.el (dired-guess-shell-alist-default):
1513 Remove escape sequences from nroff output. (Bug#172)
1514
1515 2012-02-21 Glenn Morris <rgm@gnu.org>
1516
1517 * vc/emerge.el (emerge-defvar-local):
1518 Set `permanent-local' property rather than unused `preserved'.
1519
1520 * textmodes/picture.el (picture-delete-char): New alias.
1521 (picture-mode-map): Use it. (Bug#10860)
1522 (picture-mode): Doc fix.
1523
1524 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1525
1526 * newcomment.el (uncomment-region-default): Remove unused binding.
1527
1528 2012-02-21 Glenn Morris <rgm@gnu.org>
1529
1530 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1531 (picture-self-insert, picture-tab-chars): Doc fix.
1532 (picture-mode-map): Fix C-a, C-e.
1533
1534 2012-02-20 Glenn Morris <rgm@gnu.org>
1535
1536 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1537
1538 2012-02-20 Leo Liu <sdl.web@gmail.com>
1539
1540 * icomplete.el (icomplete-completions): Check FROM arg before
1541 passing to substring (Bug#10850).
1542
1543 2012-02-19 Chong Yidong <cyd@gnu.org>
1544
1545 * comint.el: Require ansi-color.
1546 (comint-output-filter-functions): Add ansi-color-process-output.
1547
1548 * ansi-color.el: Don't set comint-output-filter-functions; it is
1549 now in the initial value defined in comint.el.
1550 (ansi-color-apply-face-function): New variable.
1551 (ansi-color-apply-on-region): Use it.
1552 (ansi-color-apply-overlay-face): New function.
1553
1554 * shell.el (shell): No need to require ansi-color.
1555 (shell-mode): Use ansi-color-apply-face-function to highlight
1556 color escapes using font-lock-face property (Bug#10835).
1557
1558 2012-02-19 Chong Yidong <cyd@gnu.org>
1559
1560 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1561 mode-line formats (Bug#10839).
1562
1563 2012-02-18 Glenn Morris <rgm@gnu.org>
1564
1565 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1566
1567 * mail/undigest.el (unforward-rmail-message): Doc fix.
1568
1569 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1570
1571 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1572
1573 * international/characters.el (script-list): Sync with the latest
1574 Unicode Character Database.
1575
1576 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1577
1578 * international/titdic-cnv.el: Remove duplicate coding tag.
1579 * language/cham.el: Likewise.
1580 * language/tai-viet.el: Likewise.
1581
1582 2012-02-18 Glenn Morris <rgm@gnu.org>
1583
1584 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1585 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1586 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1587 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1588 * calendar/holidays.el (holiday-bahai-holidays)
1589 (calendar-holidays, list-holidays):
1590 Use utf-8 Bahá'í in doc-strings, menus, etc.
1591
1592 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1593
1594 * saveplace.el (save-place-ignore-files-regexp): New variable
1595 allowing for excluding files from saving their location of point.
1596 The default value matches the temporary commit message editing
1597 files from Git, SVN, Bazaar, and Mercurial.
1598 (save-place-to-alist): Use it.
1599
1600 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1601 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * newcomment.el (uncomment-region-default): Don't leave extra space
1604 when an arg is provided (bug#8150).
1605
1606 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1607
1608 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1609
1610 2012-02-17 Glenn Morris <rgm@gnu.org>
1611
1612 * net/socks.el: Require network-stream. (Bug#10599)
1613
1614 2012-02-17 Kenichi Handa <handa@m17n.org>
1615
1616 * international/charprop.el:
1617 * international/uni-name.el:
1618 * international/uni-old-name.el:
1619 * international/uni-comment.el: Regenerate.
1620
1621 2012-02-16 Glenn Morris <rgm@gnu.org>
1622
1623 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1624 Interactively in calendar buffer, give an error if not on a date.
1625
1626 2012-02-15 Glenn Morris <rgm@gnu.org>
1627
1628 * shell.el (shell-delimiter-argument-list):
1629 Revert 2011-02-17 change. (Bug#8027)
1630
1631 2012-02-15 Chong Yidong <cyd@gnu.org>
1632
1633 * minibuffer.el (completion-at-point-functions): Doc fix.
1634
1635 * custom.el (defcustom): Doc fix; note use of defvar.
1636
1637 2012-02-15 Glenn Morris <rgm@gnu.org>
1638
1639 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1640 Doc fixes.
1641
1642 2012-02-14 Glenn Morris <rgm@gnu.org>
1643
1644 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1645
1646 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1647
1648 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1649 way the ports list is computed.
1650 (smtpmail-query-smtp-server): Prompt the user for a port number if
1651 we can't connect to any of the standard ports (bug#10810).
1652
1653 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1654
1655 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1656
1657 2012-02-13 Glenn Morris <rgm@gnu.org>
1658
1659 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1660
1661 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1662
1663 * net/gnutls.el (gnutls-trustfiles): New variable.
1664 (gnutls-negotiate): Use it.
1665
1666 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1667
1668 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1669 does its stuff if Gnus is running.
1670
1671 2012-02-13 Alan Mackenzie <acm@muc.de>
1672
1673 Fix a loop in c-set-fl-decl-start.
1674
1675 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1676 c-backward-syntactic-ws actually moves backwards.
1677
1678 2012-02-13 Leo Liu <sdl.web@gmail.com>
1679
1680 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1681 beginning so that all \C-o chars are removed.
1682
1683 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1684
1685 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1686
1687 2012-02-12 Alan Mackenzie <acm@muc.de>
1688
1689 Fix infinite loop with long macros.
1690 * cc-engine.el (c-state-safe-place): Handle macros properly.
1691
1692 2012-02-12 Chong Yidong <cyd@gnu.org>
1693
1694 * window.el (display-buffer): Doc fix (Bug#10785).
1695
1696 2012-02-12 Glenn Morris <rgm@gnu.org>
1697
1698 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1699 (x-disown-selection-internal, x-get-selection-internal):
1700 Sync docs with the xselect.c versions.
1701
1702 * allout-widgets.el: Add missing license notice.
1703
1704 2012-02-11 Glenn Morris <rgm@gnu.org>
1705
1706 * select.el (x-get-selection-internal, x-own-selection-internal)
1707 (x-disown-selection-internal):
1708 * x-dnd.el (x-get-selection-internal): Update declarations.
1709
1710 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1711
1712 * window.el (window-sides-slots):
1713 * tool-bar.el (tool-bar-position):
1714 * term/xterm.el (xterm-extra-capabilities):
1715 * ses.el (ses-self-reference-early-detection):
1716 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1717 (verilog-auto-wire-type)
1718 (verilog-auto-delete-trailing-whitespace)
1719 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1720 (verilog-auto-tieoff-declaration):
1721 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1722 (sql-oracle-statement-starters, sql-oracle-scan-on):
1723 * progmodes/prolog.el (prolog-align-comments-flag)
1724 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1725 (prolog-left-indent-regexp, prolog-paren-indent-p)
1726 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1727 (prolog-types, prolog-mode-specificators)
1728 (prolog-determinism-specificators, prolog-directives)
1729 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1730 (prolog-electric-dot-flag)
1731 (prolog-electric-dot-full-predicate-template)
1732 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1733 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1734 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1735 (prolog-program-switches, prolog-prompt-regexp)
1736 (prolog-debug-on-string, prolog-debug-off-string)
1737 (prolog-trace-on-string, prolog-trace-off-string)
1738 (prolog-zip-on-string, prolog-zip-off-string)
1739 (prolog-use-standard-consult-compile-method-flag)
1740 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1741 (prolog-imenu-max-lines, prolog-info-predicate-index)
1742 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1743 (prolog-char-quote-workaround):
1744 * progmodes/cc-vars.el (c-defun-tactic):
1745 * net/tramp.el (tramp-encoding-command-interactive)
1746 (tramp-local-end-of-line):
1747 * net/soap-client.el (soap-client):
1748 * net/netrc.el (netrc-file):
1749 * net/gnutls.el (gnutls):
1750 * minibuffer.el (completion-category-overrides)
1751 (completion-cycle-threshold)
1752 (completion-pcm-complete-word-inserts-delimiters):
1753 * man.el (Man-name-local-regexp):
1754 * mail/feedmail.el (feedmail-display-full-frame):
1755 * international/characters.el (glyphless-char-display-control):
1756 * eshell/em-ls.el (eshell-ls-date-format):
1757 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1758 (lisp-lambda-list-keyword-parameter-indentation)
1759 (lisp-lambda-list-keyword-parameter-alignment):
1760 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1761 * dired-x.el (dired-omit-verbose):
1762 * cus-theme.el (custom-theme-allow-multiple-selections):
1763 * calc/calc.el (calc-highlight-selections-with-faces)
1764 (calc-lu-field-reference, calc-lu-power-reference)
1765 (calc-note-threshold):
1766 * battery.el (battery-mode-line-limit):
1767 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1768 (archive-7z-update):
1769 * allout.el (allout-prefixed-keybindings)
1770 (allout-unprefixed-keybindings)
1771 (allout-inhibit-auto-fill-on-headline)
1772 (allout-flattened-numbering-abbreviation):
1773 * allout-widgets.el (allout-widgets-auto-activation)
1774 (allout-widgets-icons-dark-subdir)
1775 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1776 (allout-widgets-theme-dark-background)
1777 (allout-widgets-theme-light-background)
1778 (allout-widgets-item-image-properties-emacs)
1779 (allout-widgets-item-image-properties-xemacs)
1780 (allout-widgets-run-unit-tests-on-load)
1781 (allout-widgets-time-decoration-activity)
1782 (allout-widgets-hook-error-post-time)
1783 (allout-widgets-track-decoration):
1784 Add missing :version tags to new defcustoms and defgroups.
1785
1786 * progmodes/sql.el (sql-ansi-statement-starters)
1787 (sql-oracle-statement-starters): Add custom type.
1788
1789 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1790 (prolog-system-version): Give it a type.
1791
1792 2012-02-11 Eli Zaretskii <eliz@gnu.org>
1793
1794 * term/pc-win.el (x-select-text, x-selection-owner-p)
1795 (x-own-selection-internal, x-disown-selection-internal)
1796 (x-get-selection-internal): Sync doc strings and argument lists
1797 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1798
1799 2012-02-11 Leo Liu <sdl.web@gmail.com>
1800
1801 * progmodes/python.el (python-end-of-statement): Fix infinite
1802 loop. (Bug#10788)
1803
1804 2012-02-10 Glenn Morris <rgm@gnu.org>
1805
1806 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1807 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1808
1809 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1810
1811 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1812 about SMTP before checking the From header.
1813
1814 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1815 into own function for reuse by emacsbug.el.
1816
1817 2012-02-10 Leo Liu <sdl.web@gmail.com>
1818
1819 * subr.el (condition-case-unless-debug): Rename from
1820 condition-case-no-debug. All callers changed.
1821 (with-demoted-errors): Fix caller.
1822
1823 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1824 * nxml/rng-valid.el (rng-do-some-validation):
1825 * emacs-lisp/package.el (package-refresh-contents)
1826 (package-menu-execute):
1827 * desktop.el (desktop-create-buffer):
1828 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1829
1830 2012-02-10 Glenn Morris <rgm@gnu.org>
1831
1832 * textmodes/bibtex.el:
1833 Add missing :version tags for new/changed defcustoms.
1834
1835 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1836
1837 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
1838
1839 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1840 (smtpmail-via-smtp): Use it, or fall back on the From address.
1841 (smtpmail-send-it): Ditto.
1842
1843 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1846 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1847 (byte-compile-tmp-var): New const.
1848 (byte-compile-defvar): Use it to minimize .elc size.
1849 Just use `defvar' rather than simulate it (bug#10761).
1850
1851 2012-02-09 Glenn Morris <rgm@gnu.org>
1852
1853 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1854
1855 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1856 Add :version tags.
1857
1858 * progmodes/compile.el (compilation-error-screen-columns)
1859 (compilation-first-column, compilation-filter-start): Doc fixes.
1860
1861 * vc/log-view.el (log-view-toggle-entry-display):
1862 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1863
1864 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1865 (report-emacs-bug-can-use-xdg-email):
1866 (report-emacs-bug-insert-to-mailer): Doc fixes.
1867 (report-emacs-bug): Message fix.
1868
1869 * net/browse-url.el (browse-url-can-use-xdg-open)
1870 (browse-url-xdg-open): Doc fixes.
1871
1872 * electric.el (electric-indent-mode, electric-pair-mode)
1873 (electric-layout-rules, electric-layout-mode): Doc fixes.
1874 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1875
1876 2012-02-08 Martin Rudalics <rudalics@gmx.at>
1877
1878 * server.el (server-unselect-display): Don't inadvertently kill
1879 the current buffer. (Bug#10729)
1880
1881 2012-02-08 Glenn Morris <rgm@gnu.org>
1882
1883 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1884 (sql-list-table): Doc fixes.
1885
1886 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1887 Comment out (does nothing).
1888
1889 * completion.el (dynamic-completion-mode):
1890 * dirtrack.el (dirtrack-debug-mode):
1891 * electric.el (electric-layout-mode):
1892 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1893 * face-remap.el (text-scale-mode, buffer-face-mode):
1894 * iimage.el (iimage-mode):
1895 * image-mode.el (image-transform-mode):
1896 * minibuffer.el (completion-in-region-mode):
1897 * scroll-lock.el (scroll-lock-mode):
1898 * simple.el (next-error-follow-minor-mode):
1899 * tar-mode.el (tar-subfile-mode):
1900 * tooltip.el (tooltip-mode):
1901 * vcursor.el (vcursor-use-vcursor-map):
1902 * wid-browse.el (widget-minor-mode):
1903 * emulation/tpu-edt.el (tpu-edt-mode):
1904 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1905 * international/iso-ascii.el (iso-ascii-mode):
1906 * language/thai-util.el (thai-word-mode):
1907 * mail/supercite.el (sc-minor-mode):
1908 * net/goto-addr.el (goto-address-mode):
1909 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1910 * progmodes/cwarn.el (cwarn-mode):
1911 * progmodes/flymake.el (flymake-mode):
1912 * progmodes/glasses.el (glasses-mode):
1913 * progmodes/hideshow.el (hs-minor-mode):
1914 * progmodes/pascal.el (pascal-outline-mode):
1915 * textmodes/enriched.el (enriched-mode):
1916 * vc/smerge-mode.el (smerge-mode):
1917 Doc fixes (minor mode argument).
1918
1919 2012-02-07 Eli Zaretskii <eliz@gnu.org>
1920
1921 * ls-lisp.el (ls-lisp-sanitize): New function.
1922 (ls-lisp-insert-directory): Use it to fix or remove any elements
1923 in file-alist with missing attributes. (Bug#4673)
1924
1925 2012-02-07 Alan Mackenzie <acm@muc.de>
1926
1927 Fix spurious recognition of c-in-knr-argdecl.
1928
1929 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1930 putative K&R region.
1931
1932 2012-02-07 Alan Mackenzie <acm@muc.de>
1933
1934 * progmodes/cc-engine.el (c-forward-objc-directive):
1935 Prevent looping in "#pragma mark @implementation".
1936
1937 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
1938
1939 * notifications.el (notifications-on-closed-signal): Make `reason'
1940 optional. (Bug#10744)
1941
1942 2012-02-07 Glenn Morris <rgm@gnu.org>
1943
1944 * emacs-lisp/easy-mmode.el (define-minor-mode):
1945 Doc fixes for the macro and the mode it defines.
1946
1947 * image.el (imagemagick-types-inhibit): Doc fix.
1948
1949 * cus-start.el (imagemagick-render-type): Add it.
1950
1951 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1952
1953 * progmodes/cc-mode.el
1954 (c-standard-font-lock-fontify-region-function): Set the default at
1955 load time, too, so that `font-lock-fontify-buffer' can be called
1956 without setting up the entire mode first. This fixes a bug in
1957 `mm-inline-text' with C MIME parts.
1958
1959 2012-02-06 Chong Yidong <cyd@gnu.org>
1960
1961 * simple.el (list-processes--refresh): Delete exited processes
1962 (Bug#8094).
1963
1964 * comint.el (comint-next-prompt): next-single-char-property-change
1965 and prev-single-char-property-change never return nil (Bug#8657).
1966
1967 * custom.el (defcustom): Doc fix (Bug#9711).
1968
1969 2012-02-05 Chong Yidong <cyd@gnu.org>
1970
1971 * cus-edit.el (custom-variable-reset-backup): Quote the value
1972 before storing it in the customized-value property (Bug#6712).
1973 (custom-display): Add a customization type tag.
1974 (custom-buffer-create-internal): Improve tooltip message.
1975
1976 * wid-edit.el (widget-field-value-get): New optional arg to
1977 suppress trailing whitespace truncation.
1978 (character): Use it (Bug#2689).
1979
1980 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1981
1982 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1983 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1984
1985 2012-02-05 Chong Yidong <cyd@gnu.org>
1986
1987 * cus-edit.el (custom-variable-value-create): For mismatched
1988 types, show the current value (Bug#7600).
1989
1990 * custom.el (defcustom): Doc fix.
1991
1992 2012-02-05 Glenn Morris <rgm@gnu.org>
1993
1994 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1995
1996 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
1997
1998 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1999 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2000 (pp-last-sexp): Use `looking-at-p'.
2001
2002 2012-02-04 Glenn Morris <rgm@gnu.org>
2003
2004 * files.el (revert-buffer):
2005 Doc fix (mention revert-buffer-in-progress-p).
2006
2007 * emacs-lisp/ert-x.el (ert-simulate-command):
2008 Check deferred-action-list (which is obsolete) is bound.
2009
2010 * subr.el (with-wrapper-hook): Doc fixes.
2011
2012 * simple.el (filter-buffer-substring-functions)
2013 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2014
2015 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2016
2017 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2018 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2019
2020 2012-02-04 Leo Liu <sdl.web@gmail.com>
2021
2022 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2023
2024 2012-02-04 Glenn Morris <rgm@gnu.org>
2025
2026 * image.el (image-extension-data): Add obsolete alias.
2027
2028 * isearch.el (isearch-update): Doc fix.
2029
2030 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2031
2032 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2033
2034 2012-02-03 Glenn Morris <rgm@gnu.org>
2035
2036 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2037 (image-animate-timeout): Doc fix.
2038
2039 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2040
2041 2012-02-02 Glenn Morris <rgm@gnu.org>
2042
2043 * server.el (server-auth-dir): Doc fix.
2044 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2045
2046 * subr.el (run-mode-hooks): Doc fix.
2047
2048 2012-02-02 Juri Linkov <juri@jurta.org>
2049
2050 * image-mode.el (image-toggle-display-image): Remove tautological
2051 `major-mode' from the `derived-mode-p' test.
2052
2053 2012-02-02 Kenichi Handa <handa@m17n.org>
2054
2055 * composite.el (compose-region): Cancel previous change.
2056
2057 2012-02-02 Kenichi Handa <handa@m17n.org>
2058
2059 * composite.el (compose-region, compose-string): Signal error for
2060 a null string component (Bug#6988).
2061
2062 2012-02-01 Chong Yidong <cyd@gnu.org>
2063
2064 * view.el (view-buffer-other-window, view-buffer-other-frame):
2065 Handle special modes like view-buffer (Bug#10650).
2066 (view-buffer): Simplify.
2067
2068 * frame.el (set-frame-font): Tweak meaning of third argument.
2069
2070 * dynamic-setting.el (font-setting-change-default-font):
2071 Use set-frame-font (Bug#9982).
2072
2073 2012-02-01 Glenn Morris <rgm@gnu.org>
2074
2075 * progmodes/compile.el (compilation-internal-error-properties):
2076 Respect compilation-first-column in the "*compilation*" buffer.
2077
2078 * emacs-lisp/easy-mmode.el (define-minor-mode):
2079 Relax :variable's test for a named function.
2080
2081 2012-01-31 Alan Mackenzie <acm@muc.de>
2082
2083 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2084 off by one error.
2085
2086 2012-01-31 Chong Yidong <cyd@gnu.org>
2087
2088 * frame.el (set-frame-font): New arg ALL-FRAMES.
2089
2090 * menu-bar.el (menu-set-font): Use set-frame-font.
2091
2092 * faces.el (face-spec-reset-face): Don't apply unspecified
2093 attribute values to the default face.
2094
2095 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2096
2097 * progmodes/cwarn.el (cwarn): Remove dead link.
2098 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2099 Remove * from defcustom docstrings.
2100 (turn-on-cwarn-mode): Make obsolete.
2101 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2102 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2103
2104 2012-01-31 Glenn Morris <rgm@gnu.org>
2105
2106 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2107 Fix :variable handling of mode a symbol not equal to modefun.
2108 Allow named functions to be used as the cdr of :variable.
2109
2110 2012-01-30 Glenn Morris <rgm@gnu.org>
2111
2112 * emacs-lisp/authors.el (authors-fixed-entries):
2113 Remove reference to deleted file rnewspost.el.
2114
2115 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2116
2117 * window.el (window-with-parameter): Remove unused variable `windows'.
2118 (window--side-check): Remove unused variable `code'.
2119 (window--resize-siblings): Remove unused variable `first'.
2120 (adjust-window-trailing-edge): Remove unused variable `failed'.
2121 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2122 Use `let', not `let*'.
2123 (balance-windows-2): Remove unused variable `found'.
2124 (window--state-put-2): Remove unused variable `splits'.
2125 (window-state-put): Remove unused variable `selected'.
2126 (same-window-p): Use `string-match-p'.
2127 (display-buffer-assq-regexp): Remove unused variable `value'.
2128 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2129 Mark argument ALIST as ignored.
2130 (pop-to-buffer): Remove unused variable `old-window'.
2131
2132 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2133
2134 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2135 and .lzma compressed files.
2136
2137 2012-01-29 Chong Yidong <cyd@gnu.org>
2138
2139 * frame.el (window-system-default-frame-alist): Doc fix.
2140
2141 * dynamic-setting.el (font-setting-change-default-font): Don't
2142 change the default face if SET-FONT argument is non-nil (Bug#9982).
2143
2144 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2145
2146 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2147
2148 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2149
2150 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2151 breakpoints in files outside current directory (Bug#6098).
2152
2153 2012-01-29 Chong Yidong <cyd@gnu.org>
2154
2155 * progmodes/python.el: Require ansi-color at top-level.
2156
2157 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2158 Define and use in Emacs Lisp mode (Bug#9360).
2159 (lisp-mode-abbrev-table): Add doc.
2160 (lisp-mode-variables): Don't set local-abbrev-table.
2161 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2162
2163 2012-01-28 Roland Winkler <winkler@gnu.org>
2164
2165 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2166
2167 2012-01-28 Roland Winkler <winkler@gnu.org>
2168
2169 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2170 (bibtex-set-dialect): Use it. Either set global values of
2171 dialect-dependent variables or bind these variables buffer-locally
2172 (Bug#10254).
2173 (bibtex-mode): Call bibtex-set-dialect via
2174 hack-local-variables-hook.
2175 (bibtex-dialect): Update docstring.
2176 Add safe-local-variable predicate.
2177 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2178 bibtex-set-dialect.
2179 (bibtex-mode-map): Define menu for each dialect.
2180 (bibtex-entry): Fix docstring.
2181
2182 2012-01-28 Chong Yidong <cyd@gnu.org>
2183
2184 * eshell/esh-arg.el (eshell-quote-argument): New function.
2185
2186 * eshell/esh-ext.el (eshell-invoke-batch-file):
2187 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2188 first arg to eshell-parse-command (Bug#10523).
2189
2190 2012-01-28 Drew Adams <drew.adams@oracle.com>
2191
2192 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2193 `default-directory' is non-nil.
2194
2195 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2196
2197 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2198 line that displays system-configuration-options. (Bug#9924)
2199
2200 2012-01-28 Drew Adams <drew.adams@oracle.com>
2201
2202 * descr-text.el (describe-char): Show information about POS, in
2203 addition to information about the character at POS. Improve and
2204 update the doc string. Change "code point" to "code point in
2205 charset", to avoid confusion with the character's Unicode code
2206 point shown above that. (Bug#10129)
2207
2208 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2209
2210 * descr-text.el (describe-char): Show the raw character, not only
2211 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2212 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2213 for the reasons.
2214
2215 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2216
2217 * emacs-lisp/package.el (package-install):
2218 Run package-refresh-contents if there is no archive yet (Bug#9798).
2219
2220 2012-01-28 Chong Yidong <cyd@gnu.org>
2221
2222 * emacs-lisp/package.el (package-maybe-load-descriptor):
2223 New function, split from package-maybe-load-descriptor.
2224 (package-maybe-load-descriptor): Use it.
2225 (package-download-transaction): Fully load required packages
2226 inside the loop, so that `require' calls work (Bug#10593).
2227 (package-install): No need to call package-initialize now.
2228
2229 2012-01-28 Chong Yidong <cyd@gnu.org>
2230
2231 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2232
2233 * tooltip.el (tooltip-mode): Doc fix.
2234 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2235
2236 * frame.el (set-cursor-color): Doc fix (Bug#352).
2237
2238 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2239 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2240
2241 * cus-edit.el (custom-buffer-create-internal): Fix search button
2242 action (Bug#10542).
2243 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2244
2245 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2246
2247 * dired.el (dired-mark-files-regexp):
2248 Include any subdirectory components. (Bug#10445)
2249
2250 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2251
2252 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2253 Handle [host]:port syntax. (Bug#10533)
2254
2255 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2256
2257 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2258
2259 2012-01-26 Glenn Morris <rgm@gnu.org>
2260
2261 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2262 * term.el (term-raw-escape-map): Use Control-X-prefix.
2263 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2264
2265 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2266
2267 * window.el (window-state-get, window--state-get-1): Don't deal
2268 with fixed-sizeness of windows. Simplify code.
2269
2270 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2271
2272 * window.el (window--state-get-1, window--state-put-2):
2273 Don't save and restore the mark.
2274
2275 2012-01-25 Chong Yidong <cyd@gnu.org>
2276
2277 * custom.el (custom-variable-p): Doc fix.
2278
2279 2012-01-25 Glenn Morris <rgm@gnu.org>
2280
2281 * dired.el (dired-goto-file): Handle some of the more common
2282 characters that `ls -b' escapes. (Bug#10596)
2283
2284 * progmodes/compile.el (compilation-next-error-function):
2285 Respect compilation-first-column in the "*compilation*" buffer.
2286 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2287
2288 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2289
2290 2012-01-24 Glenn Morris <rgm@gnu.org>
2291
2292 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2293
2294 2012-01-24 Julien Danjou <julien@danjou.info>
2295
2296 * color.el (color-rgb-to-hsl): Fix value computing.
2297 (color-hue-to-rgb): New function.
2298 (color-hsl-to-rgb): New function.
2299 (color-clamp, color-saturate-hsl, color-saturate-name)
2300 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2301 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2302
2303 2012-01-24 Glenn Morris <rgm@gnu.org>
2304
2305 * vc/vc-rcs.el (vc-rcs-create-tag):
2306 * vc/vc-sccs.el (vc-sccs-create-tag):
2307 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2308
2309 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2310
2311 * eshell/esh-util.el (eshell-read-hosts-file):
2312 Skip comment lines. (Bug#10549)
2313
2314 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2315
2316 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * subr.el (display-delayed-warnings): Doc fix.
2319 (collapse-delayed-warnings): New function to collapse identical
2320 adjacent warnings.
2321 (delayed-warnings-hook): Add it.
2322
2323 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2324
2325 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2326
2327 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2328 properties, when "login-as" is set.
2329
2330 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2331 (tramp-default-user-alist): Don't add "pscp".
2332 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2333 property "login-as", if set. (Bug#10530)
2334
2335 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2336
2337 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2338 "plink1" and "psftp". (Bug#10530)
2339
2340 2012-01-21 Kenichi Handa <handa@m17n.org>
2341
2342 * international/mule-cmds.el (prefer-coding-system): Show a
2343 warning message if the default value of file-name-coding-system
2344 was not changed.
2345
2346 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2347
2348 * windmove.el (windmove-reference-loc):
2349 Fix windmove-reference-loc miscalculation.
2350
2351 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2352
2353 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2354 default unit.
2355
2356 2012-01-21 Glenn Morris <rgm@gnu.org>
2357
2358 * international/mule.el (auto-coding-alist): Add .tbz.
2359
2360 * files.el (local-enable-local-variables): Doc fix.
2361 (inhibit-local-variables-regexps): Rename from
2362 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2363 Doc fix. Add some extensions from auto-coding-alist.
2364 (inhibit-local-variables-suffixes):
2365 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2366 (inhibit-local-variables-p):
2367 New function, extracted from set-auto-mode-1.
2368 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2369 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2370 (hack-local-variables): Doc fix. Make the mode-only case
2371 respect enable-local-variables and friends.
2372 Respect inhibit-local-variables-regexps for file-locals, but
2373 not for directory-locals.
2374 (set-visited-file-name):
2375 Take account of inhibit-local-variables-regexps.
2376 Whether it applies may change as the file name is changed.
2377 * jka-cmpr-hook.el (jka-compr-install):
2378 * jka-compr.el (jka-compr-uninstall):
2379 Update for inhibit-first-line-modes-suffixes name change.
2380
2381 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2382
2383 * help-macro.el (make-help-screen): Temporarily restore original
2384 binding for minor-mode-map-alist (Bug#10454).
2385
2386 2012-01-19 Julien Danjou <julien@danjou.info>
2387
2388 * color.el (color-name-to-rgb): Use the white color to find the max
2389 color component value and return correctly computed values.
2390 (color-name-to-rgb): Add missing float conversion for max value.
2391
2392 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2393
2394 * window.el (window--state-get-1, window-state-get): Do not use
2395 special state value for window-persistent-parameters.
2396 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2397 (window--state-put-2): Reset all window parameters to nil before
2398 assigning values of persistent parameters.
2399
2400 2012-01-18 Alan Mackenzie <acm@muc.de>
2401
2402 Eliminate sluggishness and hangs in fontification of "semicolon
2403 deserts".
2404
2405 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2406 Change value 10000 -> 3000.
2407 (c-state-safe-place): Reformulate so it doesn't stack up an
2408 infinite number of wrong entries in c-state-nonlit-pos-cache.
2409 (c-determine-limit-get-base, c-determine-limit): New functions to
2410 determine backward search limits disregarding literals.
2411 (c-find-decl-spots): Amend commenting.
2412 (c-cheap-inside-bracelist-p): New function which detects "={".
2413
2414 * progmodes/cc-fonts.el
2415 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2416 backward search.
2417 (c-font-lock-declarations): Fix an occurrence of point being
2418 undefined. Check additionally for point being in a bracelist or
2419 near a macro invocation without a semicolon so as to avoid a
2420 fruitless time consuming search for a declarator. Give a more
2421 precise search limit for declarators using the new
2422 c-determine-limit.
2423
2424 2012-01-18 Glenn Morris <rgm@gnu.org>
2425
2426 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2427 (set-auto-mode): Doc fixes.
2428
2429 2012-01-17 Glenn Morris <rgm@gnu.org>
2430
2431 * isearch.el (search-nonincremental-instead): Fix doc typo.
2432
2433 * dired.el (dired-insert-directory): Handle newlines in directory name.
2434 (dired-build-subdir-alist): Unescape newlines in directory name.
2435
2436 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2439 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2440 (tramp-action-terminal): Use it. (Bug#10530)
2441
2442 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2445
2446 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2447
2448 * window.el (window-state-ignored-parameters): Remove variable.
2449 (window--state-get-1): Rename argument MARKERS to IGNORE.
2450 Handle persistent window parameters. Make copy of clone-of
2451 parameter only if requested. (Bug#10348)
2452 (window--state-put-2): Install a window parameter only if it has
2453 a non-nil value or an existing parameter shall be overwritten.
2454
2455 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2458
2459 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2460
2461 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2462 don't pass the (nil) value of `upnode' to string-match.
2463
2464 2012-01-14 Chong Yidong <cyd@gnu.org>
2465
2466 * startup.el (command-line): Fix X resource class for cursorColor.
2467 Fix values recognized by the cursorBlink resource.
2468
2469 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2470
2471 * epg.el (epg--make-temp-file): Avoid permission race condition
2472 when running on old Emacs versions (bug#10403).
2473
2474 2012-01-14 Glenn Morris <rgm@gnu.org>
2475
2476 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2477
2478 2012-01-13 Alan Mackenzie <acm@muc.de>
2479
2480 Fix filling for when filladapt mode is enabled.
2481
2482 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2483 c-mask-paragraph, pass in `fill-paragraph' rather than
2484 `fill-region-as-paragraph'. (This is a reversion of a previous
2485 change.)
2486 * progmodes/cc-mode.el (c-basic-common-init):
2487 Make fill-paragraph-handle-comment buffer local and set it to nil.
2488
2489 2012-01-13 Glenn Morris <rgm@gnu.org>
2490
2491 * dired.el (dired-switches-escape-p): New function.
2492 (dired-insert-directory): Use dired-switches-escape-p.
2493 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2494
2495 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2496
2497 2012-01-12 Glenn Morris <rgm@gnu.org>
2498
2499 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2500 changes in adaptive-fill-regexp. (Bug#10276)
2501
2502 2012-01-11 Alan Mackenzie <acm@muc.de>
2503
2504 Fix Emacs bug #10463 - put `widen's around the critical spots.
2505
2506 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2507 widen around each invocation of c-state-pp-to-literal. Remove an
2508 unused let variable.
2509
2510 2012-01-11 Glenn Morris <rgm@gnu.org>
2511
2512 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2513 Doc fix.
2514
2515 2012-01-10 Chong Yidong <cyd@gnu.org>
2516
2517 * net/network-stream.el (network-stream-open-starttls):
2518 Avoid emitting a confusing error message when the server gives a bad
2519 response to the capability command.
2520
2521 2012-01-10 Glenn Morris <rgm@gnu.org>
2522
2523 * mail/unrmail.el (unrmail): Tweak previous change.
2524
2525 2012-01-09 Chong Yidong <cyd@gnu.org>
2526
2527 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2528
2529 2012-01-08 Alan Mackenzie <acm@muc.de>
2530
2531 Optimise font locking in long enum definitions.
2532
2533 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2534 arm to a cond form to handle enums.
2535 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2536 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2537
2538 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2539
2540 * files.el (move-file-to-trash): Preserve default file modes on error.
2541 (Bug#10401)
2542
2543 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2544
2545 * faces.el (set-face-attribute): Clarify the meaning of the nil
2546 frame (bug#10294).
2547
2548 * subr.el (with-selected-frame): Mention that the selected frame
2549 is restored (bug#9980).
2550
2551 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2552 (bug#9759).
2553
2554 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2555 (password-read): Don't autoload unused function.
2556
2557 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2558
2559 * progmodes/which-func.el (which-func-mode): Turn into a
2560 non-interactive function and mark as obsolete (bug#10428).
2561
2562 2012-01-06 Chong Yidong <cyd@gnu.org>
2563
2564 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2565 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2566 functions, along with 1 and -1.
2567
2568 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2569
2570 * time.el (display-time-load-average)
2571 (display-time-default-load-average): Doc fixes. See the thread
2572 starting at
2573 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2574 for the details.
2575
2576 2012-01-06 Glenn Morris <rgm@gnu.org>
2577
2578 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2579 has no messages. (Bug#10377)
2580
2581 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2582 than Info-edit. (Bug#10385)
2583
2584 * time.el (display-time-load-average, display-time-next-load-average):
2585 Doc fixes.
2586
2587 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2588 local setting of buffer-read-only to the input buffer. (Bug#10419)
2589
2590 * calendar/calendar.el (calendar-mode):
2591 Locally set scroll-margin to 0. (Bug#10379)
2592
2593 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2594
2595 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2596
2597 2012-01-05 Glenn Morris <rgm@gnu.org>
2598
2599 * eshell/em-unix.el (diff-no-select): Autoload it.
2600 (eshell/diff): Use diff-no-select. (Bug#10420)
2601
2602 2012-01-05 Chong Yidong <cyd@gnu.org>
2603
2604 * shell.el (shell-dynamic-complete-functions): Revert last change.
2605 (shell-command-completion-function): New function.
2606 (shell-completion-vars): Use it to implement
2607 shell-completion-execonly (Bug#10417).
2608
2609 * custom.el (enable-theme): Don't set custom-safe-themes.
2610
2611 * cus-theme.el (custom-theme-merge-theme):
2612 Ignore custom-enabled-themes and custom-safe-themes.
2613
2614 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2615
2616 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2617 first prompt in `sql-interacive-mode'.
2618 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2619 keywords.
2620 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2621 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2622 context of original buffer. Invoke `sql-login-hook'.
2623
2624 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2625
2626 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2627 letters in cite-prefix.
2628
2629 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2630
2631 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2632
2633 2012-01-03 Chong Yidong <cyd@gnu.org>
2634
2635 * shell.el (shell-dynamic-complete-functions):
2636 Put pcomplete-completions-at-point, so as to try
2637 comint-filename-completion first (Bug#10417).
2638
2639 2012-01-02 Richard Stallman <rms@gnu.org>
2640
2641 * battery.el (battery-status-function):
2642 Detect when to use battery-yeeloong-sysfs.
2643 (battery-echo-area-format): Add string for Yeeloong.
2644 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2645 (battery-yeeloong-sysfs): New function.
2646
2647 2012-01-02 Chong Yidong <cyd@gnu.org>
2648
2649 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2650 (dirtrack): Merge code for handling relative filenames in prompt
2651 from shell-dir-cookie-watcher.
2652 (dirtrack-debug-message): New arg to avoid excess format calls.
2653
2654 * shell.el (shell-dir-cookie-re): Variable deleted.
2655 (shell-dir-cookie-watcher): Function deleted.
2656 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2657 with dirtrack-mode.
2658
2659 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2660
2661 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2662 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2663 libgnutls-26.dll.
2664
2665 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2666
2667 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2668
2669 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2670
2671 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2672 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2673
2674 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2675
2676 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2677 also for alternative shells.
2678 (tramp-open-connection-setup-interactive-shell): Check, whether
2679 the shell is a busybox.
2680 (tramp-send-command): Don't suppress multiple prompts for
2681 busyboxes, it hurts.
2682
2683 2011-12-28 Chong Yidong <cyd@gnu.org>
2684
2685 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2686 (gdb-get-source-file): Move mode line update to
2687 gdb-get-source-file (Bug#10087).
2688
2689 2011-12-25 Chong Yidong <cyd@gnu.org>
2690
2691 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2692 gud-gdb-marker-filter without taking it as an argument.
2693 (gud-gdb-run-command-fetch-lines): Caller changed.
2694 (gud-gdb-completion-function): New variable.
2695 (gud-gdb-completion-at-point): Use it.
2696 (gud-gdb-completions-1): Split from gud-gdb-completions.
2697
2698 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2699 function as separate arguments.
2700 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2701 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2702 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2703 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2704 (gdb-stopped, def-gdb-auto-update-trigger)
2705 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2706 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2707 Callers changed.
2708 (gud-gdbmi-completions): New function.
2709 (gdb): Use it for generating the completion table.
2710
2711 2011-12-24 Alan Mackenzie <acm@muc.de>
2712
2713 Introduce a mechanism to widen the region used in context font
2714 locking. Use this to protect declarations from losing their contexts.
2715
2716 * progmodes/cc-langs.el (c-before-font-lock-functions):
2717 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2718 (c-before-context-fontification-functions): New defvar, a list of
2719 functions to be run just before context (etc.) font locking.
2720
2721 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2722 New, functionality extracted from
2723 c-neutralize-syntax-in-and-mark-CPP.
2724 (c-in-after-change-fontification): New variable.
2725 (c-after-change): Set c-in-after-change-fontification.
2726 (c-set-fl-decl-start): Rejig its interface, so it can be called
2727 from both after-change and context fontifying.
2728 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2729 New functions.
2730 (c-standard-font-lock-fontify-region-function): New variable.
2731 (c-font-lock-fontify-region): New function.
2732
2733 2011-12-24 Juri Linkov <juri@jurta.org>
2734
2735 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2736 (Bug#10348)
2737
2738 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2741 existence of source file. (Bug#10325)
2742
2743 2011-12-23 Alan Mackenzie <acm@muc.de>
2744
2745 Fix unstable fontification inside templates.
2746
2747 * progmodes/cc-langs.el (c-before-font-lock-functions):
2748 Newly created from the singular version. The (c c++ objc) entry now
2749 additionally has c-set-fl-decl-start. The other languages (apart
2750 from AWK) have that as a single entry.
2751
2752 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2753 The functionality for "local" declarations has been extracted to
2754 c-set-fl-decl-start.
2755
2756 * progmodes/cc-mode.el (c-common-init, c-after-change):
2757 Changes due to pluralisation of c-before-font-lock-functions.
2758 (c-set-fl-decl-start): New function, extracted from
2759 c-font-lock-enclosing-decls and enhanced.
2760
2761 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
2762
2763 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2764
2765 2011-12-22 Juri Linkov <juri@jurta.org>
2766
2767 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2768
2769 2011-12-22 Chong Yidong <cyd@gnu.org>
2770
2771 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2772
2773 2011-12-21 Drew Adams <drew.adams@oracle.com>
2774
2775 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2776
2777 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2778
2779 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2780
2781 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2782
2783 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2784 highlighting and support. Fix up comments for capitalization.
2785 (cfengine-mode-debug): New var.
2786 (cfengine3-mode): Change the modeline indicator to "CFE3".
2787 (cfengine3-font-lock-keywords): Improve defun highlighting.
2788 (cfengine2-actions): Rename from `cfengine-actions'.
2789 (cfengine2-font-lock-keywords): Rename from
2790 `cfengine-font-lock-keywords'.
2791 (cfengine2-imenu-expression): Rename from
2792 `cfengine-imenu-expression'.
2793 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2794 (cfengine2-beginning-of-defun): Rename from
2795 `cfengine-beginning-of-defun'.
2796 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2797 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2798 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2799 modeline indicator to "CFE2".
2800 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2801 (cfengine-mode-abbrevs): Mark obsolete.
2802
2803 2011-12-21 Chong Yidong <cyd@gnu.org>
2804
2805 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2806 filename argument.
2807
2808 2011-12-20 Martin Rudalics <rudalics@gmx.at>
2809
2810 * window.el (window-normalize-buffer-to-display): Remove.
2811 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2812
2813 2011-12-19 Chong Yidong <cyd@gnu.org>
2814
2815 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2816 Don't signal an error in a predicate function; return non-nil.
2817 (vc-dir-mark-file): Move the error here.
2818 (vc-dir-mark-unmark): If acting on the region, keep going if one
2819 of the entries cannot be marked/unmarked.
2820 (vc-dir-mark-all-files): If current entry is a directory, mark
2821 only child files, as documented.
2822
2823 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2824
2825 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2826 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2827 addition.
2828
2829 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2830
2831 * term/ns-win.el (ns-get-selection-internal)
2832 (ns-store-selection-internal): Declare.
2833 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2834 Declare as obsolete.
2835 (ns-get-pasteboard, ns-paste-secondary):
2836 Use ns-get-selection-internal.
2837 (ns-set-pasteboard, ns-copy-including-secondary):
2838 Use ns-store-selection-internal.
2839
2840 2011-12-17 Chong Yidong <cyd@gnu.org>
2841
2842 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2843 (vc-deduce-fileset): Doc fix.
2844
2845 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2846
2847 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2848
2849 2011-12-13 Sam Steingold <sds@gnu.org>
2850
2851 * man.el (Man-getpage-in-background): When running under a
2852 window-system, ignore $MANWIDTH and $COLUMNS.
2853
2854 2011-12-15 Kenichi Handa <handa@m17n.org>
2855
2856 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2857 (setup-ethiopic-environment-internal): Comment out key-binding for
2858 ethio-toggle-punctuation.
2859
2860 2011-12-13 Alan Mackenzie <acm@muc.de>
2861
2862 Add the switch statement to AWK Mode.
2863
2864 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2865 "default" to the keywords regexp.
2866
2867 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2868 expression as the rest.
2869 (c-nonlabel-token-key): Allow string literals for AWK.
2870 Refactor for the other modes.
2871
2872 Large brace-block initialisation makes CC Mode slow: Fix.
2873 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2874 routines. Limit backward searching in c-font-lock-enclosing.decl.
2875
2876 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2877 pp-state and literal type in addition to the limits.
2878 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2879 (c-state-literal-at): Use the above new defun.
2880 (c-slow-in-literal, c-fast-in-literal): Remove.
2881 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2882
2883 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2884 being in a literal. Add a limit for backward searching.
2885
2886 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2887 c-slow-in-literal.
2888
2889 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2892
2893 2011-12-13 Martin Rudalics <rudalics@gmx.at>
2894
2895 * window.el (delete-other-windows): Use correct frame in call to
2896 window-with-parameter.
2897
2898 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2899
2900 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2901 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2902 (makefile-gmake-statements, makefile-makepp-statements):
2903 Use it and add new makepp keywords.
2904 (makefile-makepp-font-lock-keywords): Add new patterns.
2905 (makefile-match-function-end): Match new [...] and [[...]].
2906
2907 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * ses.el (ses-call-printer-return, ses-cell-property-get)
2910 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2911 (ses-create-cell-variable, ses-reset-header-string)
2912 (ses-cell-set-formula, ses-repair-cell-reference-all)
2913 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2914 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2915 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2916 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2917 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2918 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2919 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2920 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2921 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2922 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2923 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2924 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2925
2926 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2927
2928 * ses.el: The overall change is to add cell renaming, that is
2929 setting fancy names for cell symbols other than name matching
2930 "\\`[A-Z]+[0-9]+\\'" regexp .
2931 (ses-create-cell-variable): New defun.
2932 (ses-relocate-formula): Relocate formulas only for cells the
2933 symbols of which are not renamed, i.e. symbols whose names do not
2934 match regexp "\\`[A-Z]+[0-9]+\\'".
2935 (ses-relocate-all): Relocate values only for cells the symbols of
2936 which are not renamed.
2937 (ses-load): Create cells variables as the (ses-cell ...) are read,
2938 in order to check row col consistency with cell symbol name only
2939 for cells that are not renamed.
2940 (ses-replace-name-in-formula): New defun.
2941 (ses-rename-cell): New defun.
2942
2943 2011-12-11 Chong Yidong <cyd@gnu.org>
2944
2945 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2946 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2947
2948 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2949
2950 * window.el (other-window): Fix docstring.
2951
2952 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2953
2954 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2955 `from' or `to' address before taking its substring.
2956 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2957 encoded name is chopped in the middle of the encoded string, and
2958 thus displayed encoded.
2959
2960 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
2961
2962 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2963
2964 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2965
2966 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2967 to use texinfo-update-node and commands that call it if the
2968 Texinfo file uses @node lines without next/prev/up pointers.
2969 Correct outdated description about texinfo-master-menu.
2970 (texinfo-all-menus-update, texinfo-master-menu)
2971 (texinfo-update-node, texinfo-every-node-update)
2972 (texinfo-multiple-files-update): Doc fix. Warn against updating
2973 all the @node lines.
2974 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2975 argument is numeric. Explain better in the doc string what the
2976 function really does.
2977 (texinfo-insert-master-menu-list): Improve the error message
2978 displayed if there's no menu in the Top node.
2979 (Bug#2975) See also this thread:
2980 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2981
2982 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2983
2984 * speedbar.el (speedbar-supported-extension-expressions):
2985 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2986
2987 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
2988
2989 * printing.el (pr-mode-alist):
2990 * simple.el (filter-buffer-substring-functions)
2991 (completion-list-insert-choice-function):
2992 * window.el (window-with-parameter, window-atom-root)
2993 (window-sides-slots, window-size-fixed, window-min-delta)
2994 (window-max-delta, window--resize-mini-window)
2995 (window--resize-child-windows-normal, window-tree)
2996 (delete-other-windows, quit-window, split-window)
2997 (display-buffer-record-window, special-display-buffer-names)
2998 (special-display-regexps, special-display-popup-frame)
2999 (same-window-p, split-window-sensibly)
3000 (display-buffer-overriding-action, display-buffer-alist)
3001 (display-buffer-base-action, display-buffer, switch-to-buffer)
3002 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3003 (fit-window-to-buffer, recenter-positions)
3004 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3005 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3006 and remove unneeded backslashes in docstrings.
3007
3008 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3011
3012 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3013 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3014 end in ".mk".
3015 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3016 when reading the makefile (bug#10116).
3017
3018 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3021 (bug#10116).
3022
3023 2011-12-06 Glenn Morris <rgm@gnu.org>
3024
3025 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3026
3027 2011-12-06 Chong Yidong <cyd@gnu.org>
3028
3029 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3030
3031 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3032
3033 * textmodes/table.el (table-shorten-cell): Fix typo.
3034
3035 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3036
3037 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3038
3039 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3040
3041 * descr-text.el (describe-char): Fix display of strong
3042 right-to-left characters and directional embeddings and overrides.
3043
3044 * simple.el (what-cursor-position): Fix display of codepoints of
3045 strong right-to-left characters.
3046
3047 2011-12-05 Chong Yidong <cyd@gnu.org>
3048
3049 * faces.el (read-color): Doc fix.
3050
3051 2011-12-05 Glenn Morris <rgm@gnu.org>
3052
3053 * align.el (align--set-marker): Add doc-string.
3054 Don't try to move something that is not a marker. (Bug#10216)
3055
3056 2011-12-04 Glenn Morris <rgm@gnu.org>
3057
3058 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3059 overly zealous deletion of trailing whitespace.
3060
3061 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3062
3063 * server.el (server-delete-client): On Windows, do not try to delete
3064 the only terminal.
3065 (server-process-filter): On Windows, treat requests for a tty frame as
3066 if they were for a GUI frame if the running server is in GUI mode.
3067
3068 2011-12-03 Glenn Morris <rgm@gnu.org>
3069
3070 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3071
3072 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * electric.el: Streamline electric-indent's hook.
3075 (electric-indent-chars): Revert to simple list.
3076 (electric-indent-functions): New var.
3077 (electric-indent-post-self-insert-function): Use it.
3078
3079 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3080 there's no inferior buffer (bug#10196).
3081 (prolog-consult-compile): Don't use toggle-read-only.
3082
3083 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3084
3085 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3086 interrupt. (Bug#10187)
3087
3088 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3091 (bug#9160).
3092
3093 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3094 (bug#10191).
3095
3096 2011-12-02 Juri Linkov <juri@jurta.org>
3097
3098 * info.el (Info-search): Display "end of manual" when Isearch
3099 reaches the end of single-file Info manual. (Bug#9918)
3100
3101 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3102
3103 * isearch.el (isearch-message-prefix): Run the input method part
3104 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3105
3106 2011-12-02 Juri Linkov <juri@jurta.org>
3107
3108 * isearch.el (isearch-occur): Use `word-search-regexp' for
3109 `isearch-word'.
3110 (isearch-search-and-update): Add condition for `isearch-word' and
3111 call `word-search-regexp'. (Bug#10145)
3112
3113 2011-12-01 Glenn Morris <rgm@gnu.org>
3114
3115 * eshell/em-hist.el (eshell-hist-initialize):
3116 Handle eshell-history-size nil and HISTSIZE set or unset.
3117 (eshell-history-file-name, eshell-history-size): Fix custom type.
3118
3119 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3122
3123 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3124
3125 * progmodes/verilog-mode.el (verilog-pretty-expr):
3126 Rework verilog-pretty-expr to handle new assignment operators in system
3127 verilog, such as += *= and the like.
3128 (verilog-assignment-operator-re): Regular expression to find the
3129 assigment operator in a verilog assignment.
3130 (verilog-assignment-operation-re): Regular expression to find an
3131 assignment statement for pretty-expr.
3132 (verilog-in-attribute-p): Query returns true if point is in an
3133 attribute context; used to skip these for expression line up from
3134 pretty-expr.
3135 (verilog-in-parameter-p): Query returns true if point is in an
3136 parameter definition context; used to skip these for expression
3137 line up from pretty-expr.
3138 (verilog-in-parenthesis-p): Query returns true if point is in a
3139 parenthetical expression, specifically ( ) but not [ ] or { };
3140 used by pretty-expr.
3141 (verilog-just-one-space): If there is no space, don't add one.
3142 (verilog-get-lineup-indent-2): Specifically skip just attribute
3143 contexts for expression lineup, rather than skipping all
3144 parenthetical expressions.
3145 (verilog-calculate-indent): Fix comment, and fix indent.
3146 (verilog-do-indent): Indent declarations in lists (suggested by
3147 Joachim Lechner).
3148 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3149 skeleton items.
3150 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3151 by Alain Mellan).
3152
3153 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3154
3155 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3156 parameters with embedded comments. Reported by Ray Stevens.
3157 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3158 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3159 Reported by Tim Holt.
3160 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3161 instantiated by upper module causing wrong expansion until AUTOed a
3162 second time. Reported by K C Buckenmaier.
3163 (verilog-diff-auto): Fix showing .* as a difference when
3164 `verilog-auto-star-save' off. Reported by Dan Dever.
3165 (verilog-auto-reset, verilog-read-always-signals)
3166 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3167 temporary signals in reset list if
3168 verilog-auto-reset-blocking-in-non is nil, and match assignment
3169 style to each signal's assignment type, bug381.
3170 Reported by Thomas Esposito.
3171 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3172 (verilog-uvm-statement-re): Support UVM indentation and
3173 highlighting, with old OVM keywords only.
3174 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3175 Support AUTOTIEOFF creating non-wire data types.
3176 Suggested by Jonathan Greenlaw.
3177 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3178 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3179 (verilog-inject-sense, verilog-read-inst-pins)
3180 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3181 Fix mismatching parenthesis inside commented out code when deleting
3182 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3183 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3184 non-numeric vector width. Reported by Alex Reed.
3185 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3186 detecting signals with parameter widths. Reported by Alex Reed.
3187 (verilog-auto-delete-trailing-whitespace):
3188 With `verilog-auto-delete-trailing-whitespace' remove trailing
3189 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3190 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3191 Fix verilog-scan-cache corruption when running user AUTO expansion
3192 hooks that call indentation routines.
3193 (verilog-simplify-range-expression): Fix typo ignoring lower case
3194 identifiers.
3195 (verilog-delete-auto): Fix delete-autos to also remove user created
3196 automatics, as long as they start with AUTO.
3197 (verilog-batch-diff-auto, verilog-diff-auto)
3198 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3199 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3200 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3201 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3202 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3203 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3204 is disabled and its cache will get corrupt, causing AUTOS not to
3205 expand. Instead use only -quick functions.
3206 (verilog-scan-region): Fix scanning over escaped quotes.
3207 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3208 (verilog-re-search-backward-quick)
3209 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3210 related functions now ignore strings, to fix misparsing of strings
3211 with magic comments embedded in them.
3212 (verilog-read-auto-template):
3213 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3214 Reported by Brad Dobbie.
3215 (verilog-read-auto-template):
3216 Fix 'verilog-auto-inst-template-numbers' with comments.
3217 Reported by Brad Dobbie.
3218 (verilog-auto-inst, verilog-auto-inst-param)
3219 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3220 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3221 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3222 debugging templates without merge conflicts, bug357.
3223 Reported by Brad Dobbie.
3224 (verilog-read-auto-template):
3225 Fix verilog-auto-inst-template-numbers with multiple templates.
3226 Reported by Brad Dobbie.
3227 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3228 abbrevs so user won't be asked to save.
3229 (verilog-read-auto-lisp-present): Fix to start at beginning of
3230 buffer in case called outside of verilog-auto.
3231 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3232 to "X-2". Reported by Matthew Myers.
3233 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3234 all inputs from module templates. Reported by Leith Johnson.
3235 (verilog-module-inside-filename-p): Fix locating programs as with
3236 modules.
3237 (verilog-auto-inst-port): Fix vl-width expressions when using
3238 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3239 (verilog-decls-get-regs, verilog-decls-get-signals,
3240 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3241 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3242 verilog-read-decls): Combine reg and wire structures into one var
3243 structure to represent SystemVerilog concepts.
3244 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3245 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3246 (verilog-auto-wire-type, verilog-insert-definition):
3247 Add verilog-auto-wire-type and AUTOLOGIC to support using
3248 SystemVerilog "logic" keyword instead of "wire"/"reg".
3249 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3250 to declares outputs that also have assignments (presumably in an
3251 ifdef or generate if so there's not a driver conflict).
3252 Reported by Matthew Myers.
3253 (verilog-auto-declare-nettype, verilog-insert-definition):
3254 Add verilog-auto-declare-nettype to fix declarations using
3255 `default_nettype none. Reported by Julian Gorfajn.
3256 (verilog-read-always-signals-recurse, verilog-read-decls)
3257 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3258 malformed end statement, bug325. Reported by Joshua Wise and
3259 Andrew Drake.
3260 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3261 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3262 when expanding .* in interfaces, bug320.
3263 Reported by Pierre-David Pfister.
3264 (verilog-read-module-name): Fix import statements between module
3265 name and open parenthesis, bug317.
3266 Reported by Pierre-David Pfister.
3267 (verilog-simplify-range-expression): Fix simplification of
3268 multiplications inside AUTOWIRE connections, bug303.
3269 (verilog-auto-inst-port): Support parameter expansion in
3270 multidimensional arrays.
3271 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3272 after "assert property". Reported by Julian Gorfajn.
3273 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3274 with multiplication, bug303.
3275 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3276 Reported by Jan Frode Lonnum.
3277
3278 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3279
3280 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3281 (hfy-shell-file-name, hfy-shell):
3282 * international/fontset.el (x-decompose-font-name): Fix typos.
3283
3284 2011-11-29 Ken Brown <kbrown@cornell.edu>
3285
3286 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3287 (gdb-version): Remove defvar.
3288 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3289 (gdb-gud-context-command, gdb-non-stop-handler)
3290 (gdb-current-context-command, gdb-stopped): Use it.
3291 (gdb-init-1): Enable pretty printing here.
3292 (gdb-non-stop-handler): Don't enable pretty-printing here.
3293 Check to see if the target supports non-stop mode; if not, turn off
3294 non-stop mode. Use the following.
3295 (gdb-check-target-async): New defun.
3296 (gud-watch, gdb-stopped): Fix whitespace.
3297 (gdb-get-source-file): Don't try to display the source file if
3298 `gdb-main-file' is nil.
3299
3300 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * align.el: Try to generate fewer markers (bug#10047).
3303 (align--set-marker): New macro.
3304 (align-region): Use it.
3305
3306 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3309
3310 2011-11-29 Chong Yidong <cyd@gnu.org>
3311
3312 * indent.el (indent-for-tab-command, indent-according-to-mode):
3313 Doc fix.
3314 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3315
3316 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3317
3318 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3319 aware of remote file names. (Bug#10124)
3320
3321 2011-11-29 Chong Yidong <cyd@gnu.org>
3322
3323 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3324
3325 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * files.el (find-file): Don't use force-same-window (bug#10144).
3328 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3329 use pop-to-buffer if the selected window can't be used.
3330 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3331
3332 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3333
3334 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3335 special-mode-map.
3336
3337 2011-11-28 Chong Yidong <cyd@gnu.org>
3338
3339 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3340
3341 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3342
3343 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3344 gdb-get-source-file-list on gdb-create-source-file-list.
3345
3346 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3347
3348 * whitespace.el (whitespace-newline): Use a different foreground
3349 color for 16-color light-background displays.
3350
3351 2011-11-24 Chong Yidong <cyd@gnu.org>
3352
3353 * window.el (display-buffer--special-action): Doc fix.
3354
3355 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3356
3357 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3358 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3359 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3360 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3361 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3362 (avl-tree-stack-first):
3363 * emacs-lisp/cconv.el (cconv--analyse-use):
3364 * net/gnutls.el (gnutls-negotiate): Fix typos.
3365
3366 2011-11-24 Glenn Morris <rgm@gnu.org>
3367
3368 * lpr.el (lpr-windows-system, lpr-lp-system):
3369 * mail/binhex.el (binhex-begin-line):
3370 * progmodes/grep.el (grep-history, grep-find-history):
3371 * textmodes/flyspell.el:
3372 * vc/pcvs-defs.el (cvs-global-menu):
3373 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3374 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3375 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3376
3377 * net/tls.el: Fix case of "GnuTLS".
3378
3379 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3380
3381 * version.el (emacs-build-system): Give it a doc-string.
3382
3383 2011-11-24 Juri Linkov <juri@jurta.org>
3384
3385 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3386
3387 2011-11-24 Glenn Morris <rgm@gnu.org>
3388
3389 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3390 if called on a non-mime message just toggle the headers. (Bug#8006)
3391
3392 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3393
3394 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3395 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3396 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3397 (allout-rebullet-heading, allout-open-sibtopic)
3398 (allout-toggle-current-subtree-encryption)
3399 (allout-toggle-subtree-encryption, allout-encrypt-string)
3400 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3401 (allout-distinctive-bullets-string, allout-auto-activation):
3402 * window.el (window-normalize-buffer-to-display):
3403 * progmodes/verilog-mode.el (verilog-batch-indent):
3404 * textmodes/bibtex.el (bibtex-field-braces-opt)
3405 (bibtex-field-strings-opt):
3406 * vc/cvs-status.el (cvs-tree-merge):
3407 Fix typos.
3408
3409 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3410
3411 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3412 `non-essential' to t, in order to avoid remote connections.
3413
3414 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3415
3416 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3417 On MS-DOS and MS-Windows, compare with loaddefs.el
3418 case-insensitively.
3419
3420 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3421
3422 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3423
3424 2011-11-23 Glenn Morris <rgm@gnu.org>
3425
3426 * paths.el (rmail-file-name): Reformat the doc-string so that it
3427 is picked up.
3428
3429 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3430 (rmail-auto-file): Ignore case in the "special" field names,
3431 as mail-fetch-field does for all others.
3432
3433 * mail/rmail.el (rmail-forward):
3434 * mail/rmailkwd.el (rmail-set-label):
3435 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3436 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3437
3438 * mail/rmail.el (rmail-current-message): Doc fix.
3439
3440 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3441
3442 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3445
3446 2011-11-22 Glenn Morris <rgm@gnu.org>
3447
3448 * mail/rmailmm.el (test-rmail-mime-handler)
3449 (test-rmail-mime-bulk-handler)
3450 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3451
3452 2011-11-21 Juri Linkov <juri@jurta.org>
3453
3454 * calc/calc.el (calc-read-key-sequence):
3455 Let-bind `input-method-function' to nil. (Bug#10018)
3456
3457 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3458
3459 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3460 Tell the caller that the next line needs recomputation, even
3461 though it doesn't start a sexp (bug#10094).
3462
3463 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3466
3467 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3470 Use force-same-window.
3471
3472 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3473
3474 * descr-text.el (describe-char-unicode-data):
3475 * json.el (json-string-escape):
3476 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3477 (Footnote-unicode, Footnote-style-p):
3478 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3479
3480 2011-11-20 Chong Yidong <cyd@gnu.org>
3481
3482 * window.el (replace-buffer-in-windows): Restore interactive spec.
3483
3484 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3487
3488 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3489 (byte-compile-global-not-obsolete-vars): New var.
3490 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3491 Use it.
3492 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3493
3494 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3495
3496 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3497 * progmodes/pascal.el (electric-pascal-equal):
3498 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3499 * xml.el (xml-substitute-special): Fix typos.
3500
3501 2011-11-20 Glenn Morris <rgm@gnu.org>
3502
3503 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3504 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3505 Doc fixes.
3506 (rmail-decode-mime-charset): Mark as obsolete.
3507
3508 * mail/rmailsum.el (rmail-message-regexp-p-1):
3509 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3510 Before using mime functions, check they are set. (Bug#10077)
3511
3512 2011-11-19 Juri Linkov <juri@jurta.org>
3513
3514 * info.el (Info-finder-find-node): Use `package--builtins' instead
3515 of `package-alist'. Use node names formed by the pattern "Keyword "
3516 and the keyword name.
3517
3518 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3519
3520 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3521
3522 2011-11-19 Juri Linkov <juri@jurta.org>
3523
3524 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3525 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3526 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3527 `old-history', `old-history-forward'. Add let-binding
3528 `window-selected'. Remove calls to `kill-buffer',
3529 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3530 before calling `Info-find-node', so `Info-find-node-2' will reread
3531 the Info file. Restore window positions only when `window-selected'
3532 is non-nil.
3533
3534 2011-11-19 Juri Linkov <juri@jurta.org>
3535
3536 * isearch.el (isearch-lazy-highlight-new-loop):
3537 Remove condition `(not isearch-error)'. (Bug#9918)
3538
3539 * misearch.el (multi-isearch-search-fun): Add condition
3540 `(not bound)' to ignore lazy-highlighting search.
3541 Add the search-failed message "end of multi" when the end of
3542 multi-sequence is reached. Uncapitalize the search-failed
3543 message "Repeat for next buffer".
3544
3545 * info.el (Info-search): Add the search-failed message
3546 "end of the manual" when the end of the manual is reached
3547 in Isearch mode.
3548
3549 2011-11-19 Juri Linkov <juri@jurta.org>
3550
3551 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3552 Use non-destructive `remove' instead of `delete' because
3553 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3554 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3555
3556 2011-11-19 Juri Linkov <juri@jurta.org>
3557
3558 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3559 to nil instead of binding `search-ring' and `regexp-search-ring'.
3560 (Bug#9185)
3561
3562 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3563
3564 * simple.el (line-move): Force movement by logical lines for any
3565 hscrolled window, not only when auto-hscroll-mode is on.
3566 (line-move-visual): Update doc string to that effect. (Bug#10076)
3567
3568 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3569
3570 * language/european.el (macintosh): Define as alias for mac-roman.
3571
3572 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3573
3574 * mail/rmailmm.el (rmail-mime-display-header)
3575 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3576 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3577 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3578 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3579 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3580 of a raw aref.
3581 (rmail-mime-entity-segment): To get past the tagline, move forward
3582 2 more lines, to account for the 2 empty lines that precede and
3583 follow the line with the buttons.
3584 (rmail-mime-update-tagline): Move one more line, to get past the
3585 empty line that follows the buttons in the tagline. (Bug#9520)
3586
3587 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3588
3589 * window.el (window-max-delta-1, window-min-delta-1)
3590 (window-min-size-1, window-state-get-1, window-state-put-1)
3591 (window-state-put-2): Use "window--" prefix.
3592
3593 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3596 (smie-warning-count): New var.
3597 (smie-set-prec2tab): Use it.
3598 (smie-bnf->prec2): Improve warnings. Add docstring.
3599 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3600 (smie-bnf--set-class): New function.
3601 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3602 corner case.
3603
3604 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3605 (compilation-error-properties, compilation-move-to-column):
3606 Handle compilation-first-column while in the target buffer.
3607
3608 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3609 Don't hardcode point-min==1.
3610
3611 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3612 (eshell-rewrite-for-command): Remove workaround.
3613 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3614 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3615 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3616
3617 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3618
3619 2011-11-17 Glenn Morris <rgm@gnu.org>
3620
3621 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3622 Ignore buffer-local generated-autoload-file if it is the same
3623 as the global value. (Bug#10049)
3624
3625 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3626
3627 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3628 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3629 (reftex-toc-previous-heading, reftex-toc-max-level)
3630 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3631 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3632 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3633 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3634 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3635 (reftex-toc-rename-label, reftex-toc-visit-location)
3636 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3637 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3638 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3639 leaving "*toc*" only for references to the buffer.
3640
3641 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3642
3643 * window.el (window-resize, delete-window, split-window):
3644 Replace window-splits by window-combination-resize.
3645 * cus-start.el (window-splits): Replace by window-combination-resize.
3646
3647 2011-11-17 Glenn Morris <rgm@gnu.org>
3648
3649 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3650 Make bash entry derive from sh entry, not shell entry.
3651
3652 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3655 properties of linked files. (Bug#9879)
3656
3657 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3658 local file name.
3659
3660 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3661
3662 * menu-bar.el (menu-bar-file-menu):
3663 * printing.el (pr-ps-utility):
3664 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3665 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3666 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3667 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3668 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3669 (icalendar--convert-cyclic-to-ical)
3670 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3671 (icalendar--convert-ical-to-diary)
3672 (icalendar--convert-recurring-to-diary)
3673 (icalendar--convert-non-recurring-all-day-to-diary)
3674 (icalendar-import-format-sample):
3675 * progmodes/idlw-shell.el (idlwave-shell-mode):
3676 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3677 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3678 (vhdl-ps-print-init): Fix typos.
3679
3680 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3681
3682 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3683 FSF and collapse date sequence, obscure author/maintainer email address
3684 better, remove extra version line, track relocation of author's webpage.
3685
3686 * progmodes/python.el (python-pdbtrack-input-prompt)
3687 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3688 regular python pdb prompts. Adjustments shamelessly taken exactly as
3689 suggested in EmacsWiki page (tiny change):
3690 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3691
3692 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3693
3694 * expand.el (expand-pos, expand-index, expand-point):
3695 Remove redundant info from docstring.
3696 (expand-add-abbrevs): Doc fix.
3697 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3698 (expand-sample-perl-mode-expand-list): Fix typos.
3699
3700 * net/dbus.el (dbus-event-member-name):
3701 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3702 * term/pc-win.el (msdos-create-frame-with-faces):
3703 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3704
3705 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3706
3707 * window.el (split-window, window-state-get-1)
3708 (window-state-put-1, window-state-put-2): Rename occurrences of
3709 window-nest to window-combination-limit.
3710 * cus-start.el (window-nest): Rename to window-combination-limit.
3711
3712 2011-11-16 Chong Yidong <cyd@gnu.org>
3713
3714 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3715 regexp (Bug#10033).
3716
3717 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3720 `completing-read' will remove *Completions* and will preserve
3721 current-buffer for us.
3722 (tmm-add-prompt): Users of *Completions* will always (re)set its
3723 major mode.
3724 (tmm-old-comp-map): Remove.
3725
3726 2011-11-16 Glenn Morris <rgm@gnu.org>
3727
3728 * mail/rmailedit.el: Require rmailmm when compiling.
3729 (rmail-old-mime-state): New declaration.
3730 (rmail-edit-current-message): If editing a mime message,
3731 edit the "raw" message from the mbox buffer.
3732 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3733
3734 2011-11-15 Glenn Morris <rgm@gnu.org>
3735
3736 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3737 which wasn't being used. Add optional arg to force given state.
3738 (rmail-mime): Add optional arg to force given state.
3739
3740 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3741
3742 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3743 * frame.el (display-mm-dimensions-alist):
3744 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3745 (outline-move-subtree-down):
3746 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3747 (newsticker--treeview-do-get-node):
3748 * net/quickurl.el (quickurl-list-buffer-name):
3749 * progmodes/dcl-mode.el (dcl-mode):
3750 * progmodes/gdb-mi.el (gdb-mapcar*):
3751 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3752
3753 2011-11-15 Glenn Morris <rgm@gnu.org>
3754
3755 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3756 in a boolean sense, so just make it a boolean, and fix the doc.
3757 (rmail-show-mime-function, rmail-mime-feature)
3758 (rmail-require-mime-maybe): Doc fixes.
3759 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3760
3761 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3762
3763 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3764
3765 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3766 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3767 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3768 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3769
3770 2011-11-15 Glenn Morris <rgm@gnu.org>
3771
3772 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3773 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3774 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3775 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3776 (rmail-mime, rmail-show-mime): Doc fixes.
3777
3778 * term/ns-win.el (mode-line-frame-identification):
3779 Leave it alone. (Bug#10051)
3780
3781 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3782
3783 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3784 Handle empty buffers. (Bug#9978)
3785
3786 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
3787
3788 * international/mule.el (define-charset):
3789 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3790 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3791 * progmodes/verilog-mode.el (verilog-backward-token):
3792 * textmodes/ispell.el (lookup-words):
3793 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3794
3795 2011-11-14 Glenn Morris <rgm@gnu.org>
3796
3797 * progmodes/executable.el
3798 (executable-make-buffer-file-executable-if-script-p):
3799 Handle file-modes returning nil.
3800
3801 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3802 message - not necessary, and causes problems. (Bug#9831)
3803
3804 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3805
3806 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3807
3808 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3809 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3810 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3811
3812 2011-11-12 Martin Rudalics <rudalics@gmx.at>
3813
3814 * window.el (window-resize, delete-window): Use window-splits
3815 variable instead of function.
3816 (window-state-get-1, window-state-put-2, window-state-put):
3817 Don't deal with windows' splits status.
3818
3819 2011-11-12 Glenn Morris <rgm@gnu.org>
3820
3821 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3822 (apropos-documentation): Doc fixes.
3823
3824 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
3825
3826 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3827 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3828
3829 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * electric.el (electric-indent-post-self-insert-function): Make it
3832 possible for a char to only indent in some circumstances.
3833 (electric-indent-mode): Simplify.
3834
3835 2011-11-11 Martin Rudalics <rudalics@gmx.at>
3836
3837 * window.el (windows-with-parameter): Remove unused function.
3838 (windows-at-side): Rename to window-at-side-list.
3839 (window-check, window-atom-check, window-atom-check-1)
3840 (window-side-check, window-size-ignore, window-size-fixed-1)
3841 (window-in-direction-2): Prefix with "window--".
3842 (window-tree-1): Rename to window--subtree, fix doc-string.
3843
3844 2011-11-11 Glenn Morris <rgm@gnu.org>
3845
3846 * subr.el (eval-after-load): If FILE is already loaded,
3847 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3848
3849 2011-11-10 Glenn Morris <rgm@gnu.org>
3850
3851 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3852 Call svn via vc-svn-command rather than vc-do-command.
3853 (vc-svn-command): Add --non-interactive. (Bug#9993)
3854 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3855
3856 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3857 Add toggle-read-only. (Bug#7292)
3858 * files.el (toggle-read-only): Mention that it should only
3859 be used interactively. (Bug#10006)
3860
3861 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3862
3863 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3864 Adjust regexp for OCaml warnings.
3865
3866 * electric.el (electric-pair-post-self-insert-function): Let user
3867 turn it off buffer-locally (bug#9932).
3868
3869 * progmodes/python.el (python-beginning-of-statement):
3870 Rewrite (bug#2703).
3871
3872 * progmodes/compile.el: Better handle TABs (bug#9749).
3873 (compilation-internal-error-properties)
3874 (compilation-next-error-function): Obey the target buffer's
3875 compilation-error-screen-columns.
3876
3877 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
3878
3879 * progmodes/meta-mode.el: Remove obsolete comments.
3880 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3881 Fix typos in docstrings.
3882
3883 2011-11-09 Martin Rudalics <rudalics@gmx.at>
3884
3885 * window.el (window-size-fixed-p): Rewrite doc-string.
3886 (window-resizable-p): Rename to window--resizable-p. Update callers.
3887 (window--resizable): New function. Make all callers of
3888 window-resizable call window--resizable instead.
3889 (window-resizable): Rewrite in terms of window--resizable.
3890
3891 2011-11-08 Glenn Morris <rgm@gnu.org>
3892
3893 * progmodes/delphi.el (delphi-mode-syntax-table):
3894 Let define-derived-mode define a proper syntax table. (Bug#9994)
3895
3896 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * window.el: Stay away from defsubst.
3899 (window-list-no-nils): Remove.
3900 (window-state-get-1, window-state-get): Use backquote instead.
3901
3902 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3903
3904 * emacs-lisp/find-func.el (find-function-read):
3905 Fix incorrect use of default argument in `completing-read'.
3906
3907 2011-11-08 Martin Rudalics <rudalics@gmx.at>
3908
3909 * window.el (display-buffer-function, special-display-function):
3910 Mention display-buffer-record-window but do not mention
3911 help-setup parameter in doc-strings.
3912 (window-min-delta): Fix doc-string typo.
3913
3914 2011-11-08 Chong Yidong <cyd@gnu.org>
3915
3916 * window.el (window-total-height, window-total-width): Doc fix.
3917 (window-body-size): Move from C.
3918 (window-body-height, window-body-width): Move to C.
3919
3920 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * window.el: Make special-display like display-buffer-alist (bug#9532).
3923 (display-buffer--special-action): New function, morphed
3924 from display-buffer--special.
3925 (display-buffer): Use it to handle special-display-buffers at higher
3926 priority (just after display-buffer-alist).
3927 (display-buffer-fallback-action, display-buffer--other-frame-action)
3928 (pop-to-buffer-same-window): Remove display-buffer--special.
3929
3930 2011-11-07 Glenn Morris <rgm@gnu.org>
3931
3932 * calendar/cal-menu.el (cal-menu-set-date-title):
3933 Do nothing if not in a calendar. (Bug#9976)
3934
3935 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * files.el (find-file): Always use selected-window.
3938
3939 2011-11-07 Martin Rudalics <rudalics@gmx.at>
3940
3941 * window.el (window-combinations): Make WINDOW argument
3942 mandatory. Rewrite doc-string.
3943 (walk-window-subtree, window-atom-check, window-min-delta)
3944 (window-max-delta, window--resize-this-window)
3945 (window--resize-root-window-vertically, window-tree)
3946 (balance-windows, window-state-put): Rewrite doc-strings as to
3947 not mention the term "subwindow".
3948 (window--resize-subwindows-skip-p): Rename to
3949 window--resize-child-windows-skip-p.
3950 (window--resize-subwindows-normal): Rename to
3951 window--resize-child-windows-normal.
3952 (window--resize-subwindows): Rename to
3953 window--resize-child-windows.
3954 (window-or-subwindow-p): Rename to window--in-subtree-p.
3955
3956 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3957
3958 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3959 Ensure that mbox format messages end in two newlines (Bug#9974).
3960
3961 2011-11-06 Chong Yidong <cyd@gnu.org>
3962
3963 * window.el (window-combination-p): Function deleted; its
3964 side-effect is not used in any existing code.
3965 (window-combinations, window-combined-p): Call window-*-child
3966 directly.
3967
3968 2011-11-05 Chong Yidong <cyd@gnu.org>
3969
3970 * window.el (window-valid-p): Rename from window-any-p.
3971 (window-size-ignore, window-state-get): Callers changed.
3972 (window-normalize-window): Rename from window-normalize-any-window.
3973 New arg LIVE-ONLY, replacing window-normalize-live-window.
3974 (window-normalize-live-window): Delete.
3975 (window-combination-p, window-combined-p, window-combinations)
3976 (walk-window-subtree, window-atom-root, window-min-size)
3977 (window-sizable, window-sizable-p, window-size-fixed-p)
3978 (window-min-delta, window-max-delta, window-resizable)
3979 (window-resizable-p, window-full-height-p, window-full-width-p)
3980 (window-current-scroll-bars, window-point-1, set-window-point-1)
3981 (window-at-side-p, window-in-direction, window-resize)
3982 (adjust-window-trailing-edge, maximize-window, minimize-window)
3983 (window-deletable-p, delete-window, delete-other-windows)
3984 (record-window-buffer, unrecord-window-buffer)
3985 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3986 (quit-window, split-window, window-state-put)
3987 (set-window-text-height, fit-window-to-buffer)
3988 (shrink-window-if-larger-than-buffer): Callers changed.
3989
3990 2011-11-04 Eli Zaretskii <eliz@gnu.org>
3991
3992 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3993 rfc2047-decode-string.
3994 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3995 warnings.
3996
3997 * window.el (window-body-height, window-body-width): Mention in
3998 the doc string that the return values are in frame's canonical
3999 units. (Bug#9949)
4000
4001 2011-11-03 Alan Mackenzie <acm@muc.de>
4002
4003 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4004 change in cc-engine.el.
4005
4006 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4009
4010 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4011
4012 * window.el (quit-window): Call unrecord-window-buffer after
4013 showing another buffer in the window. (Bug#9937)
4014 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4015
4016 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4017
4018 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4019 Accept status with more than 9 shelves. (Bug#9935)
4020 Reported by Colin D Bennett <colin@gibibit.com>.
4021
4022 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4023
4024 * help.el (with-help-window): Don't reference
4025 temp-buffer-show-specifiers in doc-string.
4026
4027 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4028
4029 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4030 menu-item.
4031
4032 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4033
4034 * whitespace.el: New version 13.2.2.
4035 (whitespace-newline-mode): Disable properly. Reported by Sarah
4036 <EmacsWiki>.
4037
4038 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4039
4040 * net/newst-treeview.el: Remove "Time-stamp".
4041 (newsticker--group-manage-orphan-feeds): Do not call
4042 newsticker--treeview-tree-update.
4043 (newsticker-treeview-update, newsticker-treeview):
4044 Call newsticker--treeview-tree-update if necessary.
4045
4046 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4047
4048 * window.el (window-iso-combination-p, window-iso-combined-p)
4049 (window-iso-combinations): Remove "iso-" infix.
4050 Suggested by Chong Yidong.
4051 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4052 (window-max-delta-1, window-resize, window--resize-siblings)
4053 (window--resize-this-window, adjust-window-trailing-edge)
4054 (split-window, balance-windows-1)
4055 (shrink-window-if-larger-than-buffer):
4056 * calendar/calendar.el (calendar-generate-window):
4057 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4058
4059 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4062 in place (bug#9907).
4063 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4064 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4065 (eshell-structure-basic-command, eshell-rewrite-while-command)
4066 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4067 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4068 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4069 (eshell-do-pipelines-synchronously, eshell-eval-command):
4070 Use backquotes and prefer setq to set.
4071 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4072 (eshell-macrop): Use functionp.
4073 (eshell-do-eval): Handle multiple expressions in `while' body.
4074
4075 2011-10-30 Chong Yidong <cyd@gnu.org>
4076
4077 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4078 instead of set-mark (Bug#9810).
4079
4080 2011-10-30 Chong Yidong <cyd@gnu.org>
4081
4082 * window.el (split-window-below, split-window-right): Rename from
4083 split-window-above-each-other and split-window-side-by-side
4084 respectively. All callers changed.
4085 (split-window-sensibly, split-window-sensibly): Use them.
4086 (split-window-keep-point): Doc fix.
4087
4088 * isearch.el: Add isearch-scroll property to split-window-below
4089 and split-window-right.
4090
4091 * follow.el (follow-mode):
4092 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4093 * progmodes/ada-xref.el (ada-gdb-application):
4094 * emulation/vip.el (vip-buffer-in-two-windows):
4095 * image-dired.el (image-dired-dired-with-window-configuration):
4096 * dired-x.el (dired-do-find-marked-files):
4097 * dired.el (dired-pop-to-buffer):
4098 * bs.el (bs--show-with-configuration):
4099 * vc/emerge.el (emerge-setup-windows):
4100 * textmodes/two-column.el (2C-two-columns):
4101 * textmodes/reftex-toc.el (reftex-toc):
4102 * progmodes/gdb-mi.el (gdb-setup-windows):
4103 * progmodes/fortran.el (fortran-window-create):
4104 * net/newst-treeview.el (newsticker--treeview-window-init):
4105 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4106 * emulation/tpu-edt.el (tpu-gold-map):
4107 * emulation/crisp.el (crisp-mode-map):
4108 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4109
4110 2011-10-29 Chong Yidong <cyd@gnu.org>
4111
4112 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4113
4114 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4115
4116 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4117 forged Ispell output (Bug#7904).
4118
4119 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4120
4121 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * doc-view.el: Avoid ugly errors about not finding nil.
4124 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4125 (doc-view-dvipdf-program, doc-view-unoconv-program)
4126 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4127 Avoid nil or absolute file name as default value.
4128 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4129
4130 2011-10-28 Alan Mackenzie <acm@muc.de>
4131
4132 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4133
4134 2011-10-28 Alan Mackenzie <acm@muc.de>
4135
4136 Amend the handling of c-beginning/end-of-defun in nested declaration
4137 scopes.
4138
4139 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4140 cc-langs.el. Change it to a defcustom.
4141
4142 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4143 cc-vars.el.
4144
4145 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4146 Prevent "class foo : bar" being spuriously recognized as a label.
4147
4148 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4149 Add parameter `inclusive' (to include enclosing braces in the region).
4150 (c-widen-to-enclosing-decl-scope): New function.
4151 (c-while-widening-to-decl-block): New macro.
4152 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4153 outward for defun boundaries, and correspondingly change symbol
4154 `respect-enclosure' to `go-outward'.
4155 (c-declaration-limits): Change algorithm to report only the "innermost"
4156 defun's boundaries.
4157
4158 2011-10-28 Deniz Dogan <deniz@dogan.se>
4159
4160 * net/rcirc.el (rcirc-mode): Use hard newlines.
4161
4162 2011-10-28 Alan Mackenzie <acm@muc.de>
4163
4164 Amend to indent and fontify macros "which include their own semicolon"
4165 correctly, using the "virtual semicolon" mechanism.
4166
4167 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4168
4169 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4170 Recode to scan one line at a time rather than having \n and \r
4171 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4172 (c-forward-label): Amend for virtual semicolons.
4173 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4174
4175 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4176 of the new C macros.
4177
4178 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4179 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4180 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4181 (c-opt-cpp-macro-define): Make into a full language variable.
4182 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4183 AWK Mode (including \n, \r) removed, no longer needed.
4184
4185 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4186 Invoke c-make-macro-with-semi-re.
4187
4188 * progmodes/cc-vars.el (c-macro-with-semi-re):
4189 (c-macro-names-with-semicolon): New variables.
4190 (c-make-macro-with-semi-re): New function.
4191
4192 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * vc/log-edit.el: Fill empty field rather than adding new one.
4195 (log-edit-add-field): New function.
4196 (log-edit-insert-changelog): Use it.
4197
4198 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4199
4200 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4201
4202 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4205 (gdb--check-interpreter): New function.
4206 (gdb): Use it.
4207
4208 2011-10-27 Glenn Morris <rgm@gnu.org>
4209
4210 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4211 (least-positive-float, least-negative-float)
4212 (least-positive-normalized-float, least-negative-normalized-float)
4213 (float-epsilon, float-negative-epsilon):
4214 Remove unnecessary declarations.
4215
4216 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4217 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4218 (least-positive-float, least-negative-float)
4219 (least-positive-normalized-float, least-negative-normalized-float)
4220 (float-epsilon, float-negative-epsilon): Add doc-strings,
4221 based on those in cl.texi.
4222
4223 * files.el (set-visited-file-name): If the major-mode changed,
4224 reload the local variables. (Bug#9796)
4225
4226 2011-10-27 Chong Yidong <cyd@gnu.org>
4227
4228 * subr.el (change-major-mode-after-body-hook): New hook.
4229 (run-mode-hooks): Run it.
4230
4231 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4232 Use change-major-mode-before-body-hook.
4233
4234 * simple.el (fundamental-mode):
4235 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4236 change introducing fundamental-mode-hook.
4237
4238 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4239
4240 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4241
4242 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4243
4244 * ido.el (ido-file-name-all-completions-1): Do not require
4245 tramp.el explicitly. (Bug#7583)
4246
4247 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * progmodes/octave-mod.el:
4250 * progmodes/octave-inf.el: Update maintainer.
4251
4252 2011-10-26 Chong Yidong <cyd@gnu.org>
4253
4254 * subr.el (with-wrapper-hook): Rewrite doc.
4255
4256 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4257
4258 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4259 filenames "/method:foo:". (Bug#9793)
4260
4261 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4264 (bug#9865).
4265
4266 2011-10-24 Glenn Morris <rgm@gnu.org>
4267
4268 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4269
4270 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4271
4272 * notifications.el: Add the requirement of a running D-Bus session
4273 bus to the Commentary.
4274
4275 2011-10-24 Juri Linkov <juri@jurta.org>
4276
4277 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4278 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4279 (Bug#9364)
4280
4281 2011-10-24 Juri Linkov <juri@jurta.org>
4282
4283 * info.el (Info-following-node-name-re): Add newline to the list
4284 of allowed characters for leading space. (Bug#9824)
4285
4286 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * progmodes/octave-inf.el (inferior-octave-mode-map):
4289 Fix C-c C-h binding.
4290 * progmodes/octave-mod.el (octave-help): Remove.
4291
4292 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4293
4294 Sync with Tramp 2.2.3.
4295
4296 * net/tramp-cache.el (top): Pacify byte-compiler using
4297 `init-file-user' and `site-run-file'.
4298
4299 * net/trampver.el: Update release number.
4300
4301 2011-10-23 Chong Yidong <cyd@gnu.org>
4302
4303 * files.el (toggle-read-only): Remove obsolete comment about
4304 version control.
4305
4306 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4307 for toggle-read-only. Note that this hasn't called vc-next-action
4308 since 2008-05-02, though it wasn't documented at the time.
4309
4310 * vc/ediff-init.el (ediff-toggle-read-only-function):
4311 Use toggle-read-only.
4312
4313 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4314
4315 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4316 of c-parse-state.
4317
4318 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4319 correct faulty logical expression.
4320 (c-parse-state-state, c-record-parse-state-state):
4321 (c-replay-parse-state-state): New defvar/defuns.
4322 (c-debug-parse-state): Use new functions.
4323
4324 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4325
4326 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4327 last fix. Use window-in-direction correctly.
4328
4329 2011-10-21 Chong Yidong <cyd@gnu.org>
4330
4331 * progmodes/idlwave.el (idlwave-mode):
4332 * progmodes/vera-mode.el (vera-mode): No need to set
4333 require-final-newline; that's done in prog-mode.
4334 Suggested by Stefan Monnier.
4335
4336 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4337
4338 * mouse.el (mouse-drag-window-above)
4339 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4340 (mouse-drag-mode-line-1, mouse-drag-header-line)
4341 (mouse-drag-vertical-line-rightward-window): Remove.
4342 (mouse-drag-line): New function.
4343 (mouse-drag-mode-line, mouse-drag-header-line)
4344 (mouse-drag-vertical-line): Call mouse-drag-line.
4345 * window.el (window-at-side-p, windows-at-side): New functions.
4346
4347 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4348
4349 * tar-mode.el (tar-grind-file-mode):
4350 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4351
4352 2011-10-21 Chong Yidong <cyd@gnu.org>
4353
4354 * progmodes/idlwave.el (idlwave-mode):
4355 * progmodes/vera-mode.el (vera-mode):
4356 Use mode-require-final-newline.
4357
4358 2011-10-20 Glenn Morris <rgm@gnu.org>
4359
4360 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4361
4362 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4363
4364 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4365
4366 2011-10-20 Chong Yidong <cyd@gnu.org>
4367
4368 * emulation/cua-base.el (cua-mode):
4369 * mail/footnote.el (footnote-mode):
4370 * mail/mailabbrev.el (mail-abbrevs-mode):
4371 * net/xesam.el (xesam-minor-mode):
4372 * progmodes/bug-reference.el (bug-reference-mode):
4373 * progmodes/cap-words.el (capitalized-words-mode):
4374 * progmodes/compile.el (compilation-minor-mode)
4375 (compilation-shell-minor-mode):
4376 * progmodes/gud.el (gud-tooltip-mode):
4377 * progmodes/hideif.el (hide-ifdef-mode):
4378 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4379 * progmodes/subword.el (subword-mode):
4380 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4381 * progmodes/which-func.el (which-function-mode):
4382 * term/tvi970.el (tvi970-set-keypad-mode):
4383 * term/vt100.el (vt100-wide-mode):
4384 * textmodes/flyspell.el (flyspell-mode):
4385 * textmodes/ispell.el (ispell-minor-mode):
4386 * textmodes/nroff-mode.el (nroff-electric-mode):
4387 * textmodes/paragraphs.el (use-hard-newlines):
4388 * textmodes/refill.el (refill-mode):
4389 * textmodes/reftex.el (reftex-mode):
4390 * textmodes/rst.el (rst-minor-mode):
4391 * textmodes/sgml-mode.el (html-autoview-mode)
4392 (sgml-electric-tag-pair-mode):
4393 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4394 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4395 * emulation/crisp.el (crisp-mode):
4396 * emacs-lisp/eldoc.el (eldoc-mode):
4397 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4398 minor mode behavior.
4399
4400 2011-10-19 Juri Linkov <juri@jurta.org>
4401
4402 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4403 the list of hard-coded chars with escape-glyph face.
4404
4405 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4408
4409 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4412 running process.
4413
4414 2011-10-19 Glenn Morris <rgm@gnu.org>
4415
4416 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4417 Ignore ignored files. (Bug#9726)
4418
4419 2011-10-19 Chong Yidong <cyd@gnu.org>
4420
4421 Doc fix for minor modes, stating that an omitted argument enables
4422 the mode unconditionally when called from Lisp.
4423
4424 * abbrev.el (abbrev-mode):
4425 * allout.el (allout-mode):
4426 * autoinsert.el (auto-insert-mode):
4427 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4428 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4429 (global-auto-revert-mode):
4430 * battery.el (display-battery-mode):
4431 * composite.el (global-auto-composition-mode)
4432 (auto-composition-mode):
4433 * delsel.el (delete-selection-mode):
4434 * desktop.el (desktop-save-mode):
4435 * dired-x.el (dired-omit-mode):
4436 * dirtrack.el (dirtrack-mode):
4437 * doc-view.el (doc-view-minor-mode):
4438 * double.el (double-mode):
4439 * electric.el (electric-indent-mode, electric-pair-mode):
4440 * emacs-lock.el (emacs-lock-mode):
4441 * epa-hook.el (auto-encryption-mode):
4442 * follow.el (follow-mode):
4443 * font-core.el (font-lock-mode):
4444 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4445 * help.el (temp-buffer-resize-mode):
4446 * hilit-chg.el (highlight-changes-mode)
4447 (highlight-changes-visible-mode):
4448 * hi-lock.el (hi-lock-mode):
4449 * hl-line.el (hl-line-mode, global-hl-line-mode):
4450 * icomplete.el (icomplete-mode):
4451 * ido.el (ido-everywhere):
4452 * image-file.el (auto-image-file-mode):
4453 * image-mode.el (image-minor-mode):
4454 * iswitchb.el (iswitchb-mode):
4455 * jka-cmpr-hook.el (auto-compression-mode):
4456 * linum.el (linum-mode):
4457 * longlines.el (longlines-mode):
4458 * master.el (master-mode):
4459 * mb-depth.el (minibuffer-depth-indicate-mode):
4460 * menu-bar.el (menu-bar-mode):
4461 * minibuf-eldef.el (minibuffer-electric-default-mode):
4462 * mouse-sel.el (mouse-sel-mode):
4463 * msb.el (msb-mode):
4464 * mwheel.el (mouse-wheel-mode):
4465 * outline.el (outline-minor-mode):
4466 * paren.el (show-paren-mode):
4467 * recentf.el (recentf-mode):
4468 * reveal.el (reveal-mode, global-reveal-mode):
4469 * rfn-eshadow.el (file-name-shadow-mode):
4470 * ruler-mode.el (ruler-mode):
4471 * savehist.el (savehist-mode):
4472 * scroll-all.el (scroll-all-mode):
4473 * scroll-bar.el (scroll-bar-mode):
4474 * server.el (server-mode):
4475 * shell.el (shell-dirtrack-mode):
4476 * simple.el (auto-fill-mode, transient-mark-mode)
4477 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4478 (line-number-mode, column-number-mode, size-indication-mode)
4479 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4480 * strokes.el (strokes-mode):
4481 * time.el (display-time-mode):
4482 * t-mouse.el (gpm-mouse-mode):
4483 * tool-bar.el (tool-bar-mode):
4484 * tooltip.el (tooltip-mode):
4485 * type-break.el (type-break-mode-line-message-mode)
4486 (type-break-query-mode):
4487 * view.el (view-mode):
4488 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4489 (global-whitespace-mode, global-whitespace-newline-mode):
4490 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4491
4492 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4493 Fix autogenerated docstring.
4494
4495 2011-10-19 Juri Linkov <juri@jurta.org>
4496
4497 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4498 by checking environment variables "DESKTOP_SESSION" and
4499 "XDG_CURRENT_DESKTOP". (Bug#9779)
4500
4501 2011-10-19 Juri Linkov <juri@jurta.org>
4502
4503 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4504 (browse-url-chromium-program, browse-url-chromium-arguments):
4505 New defcustoms.
4506 (browse-url-default-browser): Check for `browse-url-chromium' and
4507 call `browse-url-chromium-program'.
4508 (browse-url-chromium): New command. (Bug#9779)
4509
4510 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4511
4512 * facemenu.el (list-colors-duplicates): On Windows, detect more
4513 duplicates by assuming that only colors matching "^System" are
4514 special "system colors". (Bug#9722)
4515
4516 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4519 to distinguish the author from the committer.
4520
4521 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4522
4523 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4524
4525 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4526
4527 * international/mule.el (sgml-html-meta-auto-coding-function):
4528 Add support for detecting encoding in HTML5 specified only as
4529 <meta charset="UTF-8">. Implementation just makes http-equiv and
4530 content-type parts from HTML4 encoding string optional. (Bug#9716)
4531
4532 2011-10-18 Glenn Morris <rgm@gnu.org>
4533
4534 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4535
4536 2011-10-18 Chong Yidong <cyd@gnu.org>
4537
4538 * faces.el (cursor): Doc fix.
4539
4540 2011-10-17 Chong Yidong <cyd@gnu.org>
4541
4542 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4543
4544 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4545
4546 * dirtrack.el (dirtrack): Support shell buffers with path
4547 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4548
4549 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4550
4551 * json.el: Bump version to 1.3 and note change in History.
4552 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4553
4554 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * comint.el (comint-insert-input, comint-send-input)
4557 (comint-get-old-input-default, comint-backward-matching-input)
4558 (comint-next-prompt): Use nil instead of `input' for field property of
4559 past user input (bug#114).
4560
4561 * minibuffer.el (completion--replace): Inherit surrounding properties
4562 (bug#114).
4563 (minibuffer-complete-and-exit): Use it.
4564
4565 * comint.el (comint--table-subvert): Quote the all-completions output
4566 (bug#9160).
4567
4568 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4569
4570 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4571
4572 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4573 window on right of selected. (Bug#9350) Reword other window
4574 entries and separate them from frame entries.
4575
4576 2011-10-15 Glenn Morris <rgm@gnu.org>
4577
4578 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4579 Doc fixes.
4580
4581 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4582
4583 * net/network-stream.el (network-stream-open-starttls):
4584 Improve detection of failure due to lack of TLS support.
4585
4586 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4587 putting the input text in front and in bold.
4588
4589 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4592
4593 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4594 empty buffer.
4595
4596 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4597 unread-command-events rather than pushing yet-another event.
4598
4599 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4600
4601 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4602 the explanation of the possible choices. Make the options passed
4603 to completing-read shorter.
4604
4605 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4606
4607 * textmodes/flyspell.el (flyspell-large-region): Make sure
4608 extended character mode is used if defined (Bug#1339).
4609
4610 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4611
4612 * simple.el (what-cursor-position): Fix the display of the
4613 character info for LRE, LRO, RLE, and RLO characters by appending
4614 an invisible PDF.
4615
4616 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4619 even in case of error; add debug spec; simplify data flow.
4620 (with-timeout-handler): Remove.
4621
4622 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4623
4624 Fix Bug#6019, Bug#9315.
4625
4626 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4627 complete `buffer-file-name', the local file name part could look
4628 remotely (for example on VMS).
4629
4630 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4631 `tramp-run-real-handler'.
4632 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4633 already quoted by '"'.
4634
4635 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4636 Let `file-name-handler-alist' be nil, the local file name part
4637 could look remotely (for example on VMS).
4638
4639 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4642 from here...
4643 (flyspell-post-command-hook): ...to here.
4644
4645 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4648 if not needed.
4649 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4650 using completion. Protect against "slow" callers.
4651 Remove the "message hack".
4652
4653 2011-10-11 Juri Linkov <juri@jurta.org>
4654
4655 * isearch.el (isearch-lazy-highlight-word): New variable.
4656 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4657 Use it. (Bug#9727)
4658
4659 2011-10-11 Glenn Morris <rgm@gnu.org>
4660
4661 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4662 like f90-previous-statement does.
4663
4664 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4665
4666 * eshell/eshell.el (eshell-command): History should be saved
4667 only in interactive use, to avoid error.
4668
4669 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * minibuffer.el (completion-file-name-table): Fix last change,
4672 i.e. ignore normal errors but not the other ones.
4673
4674 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4675
4676 * window.el (special-display-buffer-names)
4677 (special-display-regexps): Remove some remnants of earlier
4678 changes from doc-strings.
4679 (quit-windows-on): New function.
4680
4681 * vc/vc.el (vc-revert, vc-rollback):
4682 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4683 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4684 (Bug#6183) (Bug#7074) (Bug#7447)
4685
4686 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4687
4688 * window.el (frame-auto-hide-function): Add version tag.
4689 (Bug#9699)
4690
4691 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4692
4693 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4694 condition.
4695
4696 2011-10-09 Leo Liu <sdl.web@gmail.com>
4697
4698 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4699 (Bug#9701)
4700
4701 2011-10-08 Glenn Morris <rgm@gnu.org>
4702
4703 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4704 before the first code statement zero indent. (Bug#9690)
4705
4706 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4707
4708 * simple.el (count-words-region): Always count in the region.
4709 Report the number of lines and characters too.
4710 (count-words): New command, which counts in the buffer if the
4711 region is inactive, as count-words-region used to.
4712 (count-words--message): New function. Handle plurals.
4713 (count-lines-region): Make it an alias for count-words-region.
4714
4715 * bindings.el (esc-map): Replace count-lines-region with
4716 count-words-region.
4717
4718 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4719
4720 * window.el (window--delete): Delete dedicated frame
4721 unconditionally when argument KILL is non-nil. (Bug#9699)
4722 (switch-to-buffer): Fix doc-string typo.
4723
4724 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4725
4726 * eshell/eshell.el (eshell-command): Avoid using hooks.
4727
4728 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
4729
4730 * bindings.el ([M-left],[M-right]): Bind to left-word and
4731 right-word respectively.
4732
4733 2011-10-07 Glenn Morris <rgm@gnu.org>
4734
4735 * cus-start.el (debug-on-quit): Fix custom type.
4736
4737 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4738
4739 * subr.el (define-key-after): Clarify that the function is not
4740 useful for non-menu keymaps.
4741
4742 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4743
4744 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4745
4746 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4747 in current minibuffer (Fix bug with recursive minibuffers).
4748
4749 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
4750
4751 * progmodes/gdb-mi.el (gdb): Doc fix.
4752
4753 2011-10-05 Martin Rudalics <rudalics@gmx.at>
4754
4755 * window.el (frame-auto-hide-function): New option replacing
4756 frame-auto-delete. Suggested by Stefan Monnier.
4757 (window--delete): Call frame-auto-hide-function instead of
4758 investigating frame-auto-delete.
4759 (window-point-1, set-window-point-1): New functions.
4760 (window-in-direction, record-window-buffer, window-state-get-1)
4761 (display-buffer-record-window): Use window-point-1 instead of
4762 window-point.
4763 (set-window-buffer-start-and-point): Use set-window-point-1.
4764
4765 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4766
4767 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4768
4769 2011-10-05 Glenn Morris <rgm@gnu.org>
4770
4771 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4772 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4773
4774 2011-10-05 Leo Liu <sdl.web@gmail.com>
4775
4776 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4777 works with buffer object.
4778
4779 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * mpc.el (mpc-tool-bar-map): Add labels.
4782
4783 2011-10-04 Glenn Morris <rgm@gnu.org>
4784
4785 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4786
4787 2011-10-04 Martin Rudalics <rudalics@gmx.at>
4788
4789 * window.el (window--delete): New function.
4790 (frame-auto-delete): Resuscitate option.
4791 (bury-buffer, replace-buffer-in-windows)
4792 (quit-window): Rewrite using window--delete.
4793 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4794 Pass display-buffer-mark-dedicated to window--display-buffer-2
4795 (Bug#9639).
4796
4797 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4800 returns a list (bug#9554). Add remote file name completion.
4801 * comint.el (comint--table-subvert): Curry and get quote&unquote
4802 functions as arguments.
4803 (comint--complete-file-name-data): Adjust call accordingly.
4804 * pcomplete.el (pcomplete--table-subvert): Remove.
4805 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4806
4807 * minibuffer.el (completion-table-case-fold): Use currying.
4808 (completion--styles-type, completion--cycling-threshold-type):
4809 New constants.
4810 (completion-styles, completion-category-overrides)
4811 (completion-cycle-threshold): Use them.
4812 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4813 completion-table-case-fold.
4814
4815 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
4816
4817 * minibuffer.el (completion-category-overrides): Fix type of styles
4818 and add more user friendly tags (bug#9660).
4819
4820 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4823 (mule-input-method-string): New widget.
4824 (default-input-method, language-info-custom-alist): Use it.
4825
4826 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4827
4828 * pcomplete.el: Require comint.
4829 (pcomplete--common-suffix): Remove.
4830 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4831 (pcomplete--table-subvert): Sync with comint--table-subvert.
4832 (pcomplete--entries): Use comint-completion-file-name-table.
4833 * comint.el (comint-unquote-filename): Simplify.
4834 (comint-completion-file-name-table): New function (bug#9616).
4835 (comint--complete-file-name-data): Use it.
4836
4837 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4838 (pcmpl-gnu-tar-buffer): Remove.
4839 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4840 around. Make sure pcomplete-suffix-list is only changed temporarily.
4841 Don't look inside the tar's file if it's too large.
4842
4843 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
4844
4845 * cus-edit.el (custom-mode-map):
4846 * epa.el (epa-key-list-mode-map):
4847 * man.el (Man-mode-map):
4848 * startup.el (splash-screen-keymap):
4849 * simple.el (special-mode-map): Use scroll-up-command and
4850 scroll-down-command.
4851
4852 * progmodes/idlw-help.el (idlwave-help-mode-map):
4853 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4854 * net/newst-plainview.el (newsticker-mode-map):
4855 * emulation/ws-mode.el (wordstar-mode-map):
4856 * emulation/vi.el (vi-com-map):
4857 * calc/calc-graph.el (calc-graph-show-dumb):
4858 * term/sun.el (terminal-init-sun):
4859 * term/ns-win.el (global-map):
4860 * progmodes/grep.el (grep-mode-map):
4861 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4862 * mail/rmail.el (rmail-mode-map):
4863 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4864
4865 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4866 custom-safe-themes as special.
4867
4868 2011-10-01 Julien Danjou <julien@danjou.info>
4869
4870 * notifications.el (notifications-notify): Fix docstring.
4871
4872 2011-10-01 Per Starbäck <per@starback.se>
4873
4874 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4875
4876 2011-09-30 Martin Rudalics <rudalics@gmx.at>
4877
4878 * startup.el (command-line-1): Fix last fix by inserting
4879 initial-scratch-message into *scratch* before displaying it.
4880 (Bug#9605) and (Bug#9636)
4881
4882 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4883
4884 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4885 window is hscrolled, move by logical lines. (Bug#9607)
4886 (line-move-visual): Update the doc string to the above effect.
4887
4888 2011-09-29 Martin Rudalics <rudalics@gmx.at>
4889
4890 * window.el (display-buffer-record-window): When WINDOW is the
4891 selected window use `point' instead of `window-point'. (Bug#9626)
4892
4893 * startup.el (command-line-1): Use insert-before-markers when
4894 inserting initial-scratch-message. (Bug#9605)
4895
4896 * help.el (help-window): Remove variable.
4897
4898 2011-09-29 Glenn Morris <rgm@gnu.org>
4899
4900 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4901
4902 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * descr-text.el (describe-char-categories): Accept category
4905 descriptions more than one line long.
4906
4907 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * simple.el (delete-trailing-whitespace): Fix last change.
4910
4911 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4912 Don't confuse "y => 3" as the beginning of a `y' operation.
4913
4914 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4915 object has more than 4 slots (bug#9613).
4916
4917 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
4918
4919 * subr.el (with-output-to-temp-buffer):
4920 * net/quickurl.el (quickurl, quickurl-browse-url):
4921 Fix typos in docstrings.
4922
4923 2011-09-27 Eli Zaretskii <eliz@gnu.org>
4924
4925 * minibuffer.el (completion-styles)
4926 (completion-category-overrides): Cross reference each other in doc
4927 strings.
4928
4929 2011-09-27 Glenn Morris <rgm@gnu.org>
4930
4931 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4932 to split-string. (Bug#9606)
4933
4934 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4935
4936 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4937 (bug#9615).
4938
4939 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
4940
4941 * emacs-lisp/package.el (list-packages): Fix echo area message.
4942
4943 2011-09-27 Leo Liu <sdl.web@gmail.com>
4944
4945 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4946
4947 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
4948
4949 * net/dbus.el (dbus-unregister-object): Don't release services for
4950 registered signals. (Bug#9581)
4951
4952 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4953
4954 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4955 function that picks between cfengine 2 and 3 support
4956 automatically. Update docs accordingly.
4957
4958 2011-09-22 Kenichi Handa <handa@m17n.org>
4959
4960 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4961 ZERO.
4962 (indian-itrans-v5-table-for-tamil): New variable.
4963 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4964
4965 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4966
4967 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4968 that's true if the current command involved collapsing of text.
4969 It's reset to false at the beginning of the next command.
4970 (allout-post-command-business): Move the cursor to the beginning
4971 of entry if the cursor is hidden and collapsing activity just
4972 happened.
4973
4974 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
4975
4976 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4977 tracking (Bug#9541).
4978
4979 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
4980
4981 * net/newst-reader.el (newsticker-html-renderer)
4982 (newsticker-show-news): Automatically load html rendering package
4983 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4984 because w3m-fill-column is let-bound" and the error "Symbol's value
4985 as variable is void: w3m-fill-column".
4986
4987 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
4988
4989 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4990 Release services only if they are defined. (Bug#9581)
4991
4992 2011-09-23 Richard Stallman <rms@gnu.org>
4993
4994 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4995 distinguish start of paragraph from start of its text.
4996
4997 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4998
4999 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5000 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5001 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5002
5003 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5004
5005 * international/mule-diag.el (mule-diag): Insert a newline after
5006 each fontset description.
5007
5008 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * simple.el (delete-trailing-whitespace):
5011 Document last change; simplify.
5012
5013 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5014
5015 * simple.el (delete-trailing-whitespace): Also delete
5016 extra newlines at the end of the buffer.
5017
5018 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5019 (picture-newline): Use forward-line so as to ignore fields.
5020
5021 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * subr.el (with-wrapper-hook): Fix edebug spec.
5024
5025 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5026
5027 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5028 (bug#4538).
5029
5030 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5031
5032 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5033 Fix nasty bug using wrong cached values.
5034
5035 2011-09-23 Alan Mackenzie <acm@muc.de>
5036
5037 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5038
5039 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5040
5041 * window.el (pop-to-buffer): Ensure right window is selected if we
5042 chose another frame.
5043
5044 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5045
5046 * simple.el (what-cursor-position): Use get-char-property-change
5047 and next-single-char-property-change, to be able to show display
5048 properties that come from overlays as well as text properties.
5049
5050 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5051
5052 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5053
5054 * cmuscheme.el (run-scheme, switch-to-scheme):
5055 * cus-edit.el (customize-group, custom-buffer-create)
5056 (customize-browse):
5057 * info.el (info):
5058 * shell.el (shell):
5059 * mail/sendmail.el (mail):
5060 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5061
5062 2011-09-22 Richard Stallman <rms@gnu.org>
5063
5064 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5065 move back only to line beg, don't move back over blank lines.
5066
5067 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5068
5069 * files.el (copy-directory): Set directory attributes only in case
5070 they could be retrieved from the source directory. (Bug#9565)
5071
5072 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5073
5074 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5075 (hs-find-block-beginning, hs-hide-level-recursive):
5076 Ignore strings as well as comments. (Bug#9502)
5077
5078 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5079
5080 * progmodes/sql.el (sql-comint-postgres):
5081 Convert port number to a string. (Bug#9566)
5082
5083 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5084
5085 * window.el (quit-window): Undedicate window when switching to
5086 previous buffer. Reported by Thierry Volpiatto
5087 <thierry.volpiatto@gmail.com>.
5088 (special-display-popup-frame): When popping up a new frame reset
5089 its previous buffers to nil. Simplify code.
5090
5091 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5092
5093 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5094 and process filter, as done also in `shell-command'.
5095
5096 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5097
5098 * window.el (set-window-buffer-start-and-point):
5099 Call set-window-start with NOFORCE argument t.
5100 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5101 (quit-window): Reword doc-string. Handle new format of
5102 quit-restore parameter. Don't delete window if it has a
5103 previous buffer we can show instead of the present one.
5104 (display-buffer-record-window): Rewrite using a new format for
5105 the quit-restore window parameter
5106 (special-display-popup-frame, display-buffer-same-window)
5107 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5108 (display-buffer-pop-up-window, display-buffer-use-some-window):
5109 Adapt symbol passed to display-buffer-record-window.
5110 * help.el (help-window-setup): Handle new format of quit-restore
5111 parameter.
5112
5113 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * faces.el (face-list): Fix docstring (bug#9564).
5116
5117 * window.el (display-buffer--action-function-custom-type):
5118 Don't include internal functions in the Custom interface.
5119
5120 2011-09-20 Juri Linkov <juri@jurta.org>
5121
5122 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5123 (Info-forward-node, Info-backward-node, Info-next-preorder)
5124 (Info-last-preorder): Use it. (Bug#9528)
5125
5126 2011-09-20 Juri Linkov <juri@jurta.org>
5127
5128 * info.el (Info-last-preorder): Visit last menu item only when
5129 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5130
5131 2011-09-20 Julien Danjou <julien@danjou.info>
5132
5133 * password-cache.el (password-cache-remove): Remove entries even if the
5134 value is nil, so that password with a nil value (negative caching) is
5135 possible to invalidate.
5136
5137 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5138
5139 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5140 all whitespace around breakpoint. (Bug#9553)
5141 (f90-find-breakpoint): Only break at whitespace inside a comment.
5142
5143 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * minibuffer.el (completion-file-name-table): Keep track of errors.
5146 (completion-table-with-predicate): Handle the case where pred1 is nil.
5147 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5148
5149 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5152 (debugger-return-value): Signal an error if the debugging context does
5153 not await any return value.
5154
5155 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5156 * image-mode.el (image-toggle-display-text)
5157 (image-toggle-display-image): Stay away from evil `intangible'.
5158
5159 2011-09-19 Leo Liu <sdl.web@gmail.com>
5160
5161 * replace.el (occur-revert-arguments): Make it permanent-local.
5162 (occur-mode): Don't call font-lock-defontify.
5163
5164 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5165
5166 * net/ldap.el (ldap-search-internal): Don't push empty search
5167 result (Bug#9508).
5168
5169 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5172
5173 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5174
5175 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5176 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5177
5178 2011-09-18 Juri Linkov <juri@jurta.org>
5179
5180 * buff-menu.el (Buffer-menu-mode-map):
5181 * dired.el (dired-mode-map):
5182 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5183 (lisp-interaction-mode-map):
5184 * emacs-lisp/package.el (package-menu-mode-map):
5185 * epa.el (epa-key-list-mode-map):
5186 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5187 (menu-bar-options-menu):
5188 * outline.el (outline-mode-menu-bar-map):
5189 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5190 * vc/vc-dir.el (vc-dir-menu-map):
5191 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5192 Capitalize non-function content words in menu item strings.
5193
5194 * dired.el (dired-mode-map): Add menu item for
5195 `image-dired-dired-toggle-marked-thumbs'.
5196
5197 2011-09-18 Juri Linkov <juri@jurta.org>
5198
5199 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5200 to `isearch-case-fold-search' and restore its original value
5201 after the `isearch-mode' call.
5202
5203 2011-09-18 Juri Linkov <juri@jurta.org>
5204
5205 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5206 because `zgrep' returns 1 for successful matches (bug#9226).
5207
5208 2011-09-18 Juri Linkov <juri@jurta.org>
5209
5210 * info.el (Info-extract-menu-node-name): Check the second match
5211 for empty string (second test-case of bug#9528).
5212 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5213 intermediate nodes to the history (first test-case of bug#9528).
5214
5215 2011-09-18 Juri Linkov <juri@jurta.org>
5216
5217 * info.el (Info-mode-syntax-table): New variable.
5218 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5219
5220 2011-09-18 Juri Linkov <juri@jurta.org>
5221
5222 * info.el (Info-file-supports-index-cookies):
5223 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5224 outputs one more line for long file names (bug#4142).
5225
5226 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5227
5228 * newcomment.el (comment-normalize-vars): If prompting for
5229 comment-start, set comment-start-skip too (Bug#8424).
5230
5231 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5232
5233 * icomplete.el: Fix previous fix of Bug#5849.
5234 (icomplete-mode): Don't set completion-show-inline-help.
5235 (icomplete-minibuffer-setup): Set completion-show-inline-help
5236 locally during icompletion.
5237
5238 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5239
5240 * woman.el (woman2-process-escapes): Don't delete unrecognized
5241 escapes (Bug#7843).
5242
5243 * files.el (inhibit-first-line-modes-regexps): Add image files.
5244 (hack-local-variables-prop-line): Return nil for malformed
5245 prop-lines (Bug#9044).
5246
5247 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5248
5249 * net/tramp.el (top): Don't require 'shell.
5250 (tramp-methods): Fix docstring.
5251 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5252 Return complete remote file name. Handle "smb" case.
5253 Use `tramp-tmpdir', if defined for the respective method.
5254 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5255
5256 * net/tramp-compat.el (top): Require 'shell.
5257
5258 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5259 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5260 `tramp-current-host'.
5261 (tramp-get-remote-tmpdir): Remove.
5262
5263 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5264 `tramp-tmpdir' entries.
5265 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5266 (tramp-smb-handle-file-attributes): Ignore errors.
5267 (tramp-smb-wait-for-output): Check also for process end.
5268
5269 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5270
5271 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5272 when sending QUIT (bug#9312).
5273
5274 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5275
5276 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5277 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5278 occur-mode-display-occurrence.
5279 (occur-edit-mode): Add usage message.
5280 (occur-cease-edit): New command.
5281 (occur-after-change-function): Use text properties to find the
5282 position of the prefix text.
5283 (occur-engine): Set stickiness of prefix text properties.
5284
5285 2011-09-17 Glenn Morris <rgm@gnu.org>
5286
5287 * progmodes/etags.el (complete-tag):
5288 Fix call to completion-in-region. (Bug#9526)
5289
5290 2011-09-17 Juri Linkov <juri@jurta.org>
5291
5292 * textmodes/ispell.el (ispell-word): Add to the error message
5293 the word, ispell program name and current dictionary (bug#9121).
5294 (ispell-tex-arg-end): Capitalize "error" in the error message.
5295
5296 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5297
5298 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5299 check. (Bug#4251)
5300
5301 2011-09-17 Juri Linkov <juri@jurta.org>
5302
5303 * window.el (window-safe-min-height, window-safe-min-width):
5304 Fix typos (followup to bug#9522).
5305
5306 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5307
5308 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5309
5310 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5311
5312 * simple.el (line-move): If goal-column is set, move by logical
5313 lines, not by display lines. (Bug#971)
5314 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5315 to reflect the above change.
5316
5317 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * image.el (imagemagick-register-types): Use regexp-opt.
5320
5321 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5322
5323 * window.el (display-buffer-base-action): Rename from
5324 display-buffer-default-action. Make default value empty.
5325 (display-buffer-overriding-action): Convert to defvar.
5326 (display-buffer-fallback-action): New var.
5327
5328 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5329
5330 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5331 declaration.
5332 (package--add-to-archive-contents): If there is a duplicate entry
5333 with an older version, remove it.
5334 (package-menu-mark-delete, package-menu-mark-install)
5335 (package-menu-mark-unmark): Make unused args optional.
5336 (package-menu-mark-obsolete-for-deletion):
5337 Use package-menu-get-status instead of a regexp search.
5338 (package-menu-get-status): Use tabulated-list-entry.
5339 (package-menu-mark-upgrades): New command.
5340 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5341 (package-menu-execute): Do installation before deletion.
5342 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5343 instead of checking major-mode.
5344 (package-menu--find-upgrades): New function.
5345
5346 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5347
5348 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5349 passwords in the log buffer.
5350 (smtpmail-process-filter): Update the process marker so that the
5351 "broken by peer" status message is inserted in the right place.
5352
5353 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5356 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5357 bibtex-completion-at-point-function.
5358 (bibtex-completion-at-point-function): Use them.
5359
5360 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5361
5362 * mpc.el (mpc-constraints-tag-lookup): New function.
5363 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5364 also to browser "album|playlist".
5365
5366 2011-09-14 Juri Linkov <juri@jurta.org>
5367
5368 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5369 (isearch-edit-string): Use length of `isearch-string' when
5370 `isearch-fail-pos' returns nil.
5371 (isearch-message): Remove duplicate code and call
5372 `isearch-fail-pos' with arg `t'.
5373
5374 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5375
5376 * replace.el (occur-mode-goto-occurrence): Don't force using other
5377 window (Bug#9499).
5378
5379 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5380
5381 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5382
5383 * window.el (display-buffer-window): Remove.
5384 (display-buffer-record-window): Use help-setup window parameter
5385 instead of variable display-buffer-window.
5386 (display-buffer-function, special-display-buffer-names)
5387 (special-display-function): Mention help-setup parameter instead
5388 of display-buffer-window in doc-string.
5389 * help.el (help-window-setup): New argument help-window.
5390 Use help-window-setup parameter instead of display-buffer-window.
5391 Reword some messages.
5392 (with-help-window): Pass window used for displaying the buffer
5393 to help-window-setup. Don't set display-buffer-window.
5394
5395 2011-09-13 Glenn Morris <rgm@gnu.org>
5396
5397 * emacs-lisp/debug.el (debugger-make-xrefs):
5398 Preserve point. (Bug#9462)
5399
5400 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5401
5402 * window.el (window-deletable-p): Use next-frame.
5403
5404 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5405
5406 * window.el (window-auto-delete): Remove.
5407 (window-deletable-p): Remove argument FORCE. Don't deal with
5408 dedication and previous buffers.
5409 (switch-to-prev-buffer): Don't delete window.
5410 (delete-windows-on): Delete a window's frame if and only if the
5411 window is dedicated.
5412 (replace-buffer-in-windows): Delete buffer's window or frame if
5413 and only if window is dedicated.
5414 (quit-window): Handle quit-restore as before last change.
5415 (bury-buffer): Delete window only if window-deletable-p returns t.
5416
5417 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5418
5419 * window.el (window-deletable-p): Never delete the last frame on a
5420 given terminal.
5421
5422 2011-09-13 Glenn Morris <rgm@gnu.org>
5423
5424 * help.el (describe-key-briefly): Copy previous standard-output change.
5425
5426 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5427
5428 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5429
5430 2011-09-13 Glenn Morris <rgm@gnu.org>
5431
5432 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5433 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5434
5435 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5436
5437 * dired-aux.el (dired-mark-read-string): Don't return default
5438 value on empty input (Bug#9361).
5439 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5440 Omit initial minibuffer contents.
5441 (dired-do-chmod): Signal an error on empty input.
5442 (dired-mark-read-string): Don't return default on empty input.
5443
5444 * files.el (file-modes-symbolic-to-number): Doc fix.
5445
5446 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * international/mule-cmds.el (ucs-completions): Remove.
5449 (read-char-by-name): Use complete-with-action instead; add metadata.
5450
5451 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5452
5453 * window.el (display-buffer--action-function-custom-type)
5454 (display-buffer--action-custom-type): New vars.
5455 (display-buffer-alist, display-buffer-default-action)
5456 (display-buffer-overriding-action): Add defcustom types.
5457
5458 * frame.el (delete-other-frames): Doc fix (Bug#276).
5459
5460 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5461
5462 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5463
5464 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5465
5466 Change modes that used same-window-* vars to use switch-to-buffer.
5467
5468 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5469 Use switch-to-buffer.
5470
5471 * cus-edit.el (customize-group, custom-buffer-create)
5472 (customize-browse, custom-buffer-create-other-window):
5473 Use switch-to-buffer or switch-to-buffer-other-window.
5474
5475 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5476 (Info-prev, Info-up, Info-speedbar-goto-node)
5477 (info-display-manual): Use switch-to-buffer.
5478 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5479
5480 * mail/sendmail.el (mail): Use switch-to-buffer.
5481 (mail-recover): Use switch-to-buffer-other-window.
5482
5483 * cmuscheme.el (run-scheme, switch-to-scheme):
5484 * ielm.el (ielm):
5485 * shell.el (shell):
5486 * net/rlogin.el (rlogin):
5487 * net/telnet.el (telnet, rsh):
5488 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5489
5490 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5491
5492 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5493
5494 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5495
5496 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5497 so don't mention it (bug#9301).
5498 (dired-sort-toggle-or-edit): Clarify string further.
5499
5500 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5501 match `x', `w32' and `ns', like the manual says (bug#9029).
5502
5503 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5504 (process-kill-buffer-query-function): Mention the buffer name in
5505 the query.
5506
5507 * image-mode.el (image-next-line): The line parameter is mandatory
5508 (bug#9258).
5509
5510 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5511 which can be useful (bug#9301).
5512
5513 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5514
5515 * subr.el (match-string): Mention that the current buffer should
5516 be the same as the search was done in (bug#9282).
5517
5518 * facemenu.el: Disable the remove-* commands if the mark isn't
5519 active (bug#9162).
5520
5521 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5522
5523 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5524 of display-buffer.
5525 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5526
5527 * replace.el (occur-mode-goto-occurrence)
5528 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5529 and display-buffer.
5530
5531 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5532 display-buffer.
5533
5534 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5535 special-display and same-window variables.
5536 (mail-other-window): Use switch-to-buffer-other-window.
5537 (mail-other-frame): USe switch-to-buffer-other-frame.
5538
5539 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5540 Use display-buffer-other-frame.
5541 (gdb-display-gdb-buffer): Use pop-to-buffer.
5542
5543 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5544
5545 * progmodes/python.el: Don't set same-window-buffer-names.
5546
5547 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5548
5549 * window.el (display-buffer-alist): Add *Python*.
5550
5551 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5552
5553 * window.el (display-buffer-alist): Add entry for buffers
5554 previously handled same-window-*.
5555 (display-buffer-alist, display-buffer-default-action)
5556 (display-buffer-overriding-action): Mark as risky.
5557 (display-buffer-alist): Document action function changes.
5558 (display-buffer--same-window-action)
5559 (display-buffer--other-frame-action): New variables.
5560 (switch-to-buffer, display-buffer-other-frame): Use them.
5561 (display-buffer): Rename reuse-frame entry to reusable-frames.
5562 (display-buffer-reuse-selected-window): Function deleted.
5563 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5564 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5565 (display-buffer-special): New function.
5566 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5567 display-buffer-reuse-or-pop-window. Split off special-display
5568 part into display-buffer-special.
5569 (display-buffer-use-some-window): Don't perform any special
5570 pop-up-frames handling.
5571 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5572 (display-buffer--maybe-same-window): Rename from
5573 display-buffer-maybe-same-window.
5574
5575 * info.el: Don't set same-window-regexps.
5576 (info-setup): New function.
5577 (info-other-window, info): Call it.
5578
5579 * cus-edit.el: Don't set same-window-regexps.
5580 (customize-group): New argument.
5581 (customize-group-other-window): Use it.
5582 (customize-face, customize-face-other-window): Likewise.
5583 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5584
5585 * net/rlogin.el:
5586 * net/telnet.el:
5587 * progmodes/gud.el: Don't set same-window-regexps.
5588
5589 * cmuscheme.el:
5590 * ielm.el:
5591 * shell.el:
5592 * mail/sendmail.el:
5593 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5594
5595 2011-09-10 Juri Linkov <juri@jurta.org>
5596
5597 * isearch.el (isearch-edit-string): Remove obsolete mention of
5598 `C-w' (`isearch-yank-word-or-char') from docstring.
5599 (isearch-query-replace): Fix typo in docstring (bug#9466).
5600
5601 2011-09-10 Juri Linkov <juri@jurta.org>
5602
5603 * paren.el (show-paren-function): Don't show escaped parens.
5604 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5605
5606 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5607
5608 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5609 (mm-default-file-encoding): Remove autoload forms, they are
5610 replaced with autoload cookies in mml.el and mm-encode.el.
5611 (mail-add-attachment): New command.
5612 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5613 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5614 the doc string.
5615 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5616
5617 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5618
5619 * simple.el (count-words-region): Use buffer if there's no region
5620 (bug#9429).
5621
5622 2011-09-09 Juri Linkov <juri@jurta.org>
5623
5624 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5625 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5626 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5627
5628 2011-09-09 Alan Mackenzie <acm@muc.de>
5629
5630 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5631 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5632
5633 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5634
5635 Fix for Savannah bug#9392.
5636 * simple.el (mail-encode-mml): New defvar.
5637
5638 * mail/rmail.el (mail-encode-mml): Add a defvar.
5639 (rmail-enable-mime-composing): Default to t.
5640 (rmail-forward): Use MIME method of forwarding only if both
5641 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5642 Set mail-encode-mml non-nil if the MIME method was used.
5643
5644 * mail/sendmail.el (mml-to-mime): Add autoload form.
5645 (mail-encode-mml): Add a defvar.
5646 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5647 to nil.
5648 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5649 message through mml-to-mime, and reset mail-encode-mml to nil.
5650
5651 2011-09-09 Glenn Morris <rgm@gnu.org>
5652
5653 * woman.el (woman-if-body): When processing an .el block,
5654 do not delete the next .el block as well. (Bug#9447)
5655 (woman-special-characters): Add oq, cq, and hy characters.
5656
5657 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5658
5659 * window.el (window-deletable-p): Make sure window is live before
5660 invoking window-prev-buffers.
5661
5662 2011-09-08 Leo Liu <sdl.web@gmail.com>
5663
5664 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5665
5666 2011-09-08 Juri Linkov <juri@jurta.org>
5667
5668 * progmodes/compile.el (compilation-environment): Make it
5669 a defcustom (bug#8340).
5670
5671 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5672
5673 * window.el (frame-auto-delete): Rename to window-auto-delete.
5674 Make it control auto-deletion of windows and/or frames.
5675 (window-deletable-p): New argument FORCE. Rewrite conditions
5676 for deleting window/frame. (Bug#9419)
5677 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5678 Rewrite handling of case when window/frame can be deleted.
5679 (delete-windows-on): Call window-deletable-p with new FORCE
5680 argument t. (Bug#9456)
5681
5682 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5683
5684 * help-mode.el (help-mode): Restore autoload.
5685
5686 2011-09-07 Juri Linkov <juri@jurta.org>
5687
5688 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5689 `compilation-environment'. Set buffer-local
5690 `compilation-environment' to `thisenv' later after (funcall mode).
5691 (Bug#8340)
5692
5693 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5694 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5695 instead of replacing its value. (Bug#8340)
5696
5697 2011-09-07 Juri Linkov <juri@jurta.org>
5698
5699 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5700 based on text properties put by `grep-filter' instead of matching
5701 escape sequences.
5702 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5703 to the value of `grep-error-screen-columns' (bug#9438).
5704
5705 2011-09-07 Juri Linkov <juri@jurta.org>
5706
5707 * simple.el (next-error-highlight, next-error-highlight-no-select):
5708 Doc fix (bug#9432).
5709
5710 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5711
5712 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5713 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5714
5715 2011-09-07 Leo Liu <sdl.web@gmail.com>
5716
5717 * net/rcirc.el (rcirc-mode): Conditionally initialize
5718 rcirc-input-ring.
5719
5720 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * emacs-lisp/find-func.el (find-function-C-source): Only set
5723 find-function-C-source-directory after checking that we found a source
5724 file there (bug#9440).
5725
5726 2011-09-06 Alan Mackenzie <acm@muc.de>
5727
5728 * isearch.el (isearch-other-meta-char): Wherever a key list is
5729 unread, "unread" the prefix arg, too. This fixes bug #8901.
5730
5731 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5732
5733 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5734
5735 2011-09-05 Juri Linkov <juri@jurta.org>
5736
5737 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5738
5739 2011-09-05 Juri Linkov <juri@jurta.org>
5740
5741 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5742 keeping point where processing of grep matches begins, and
5743 continue to delete remaining escape sequences from the same point.
5744 (grep-filter): Make leading zero optional in "0?1;31m" because
5745 git-grep emits "\033[1;31m" escape sequences unlike expected
5746 "\033[01;31m" as GNU Grep does (bug#9408).
5747 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5748
5749 2011-09-05 Juri Linkov <juri@jurta.org>
5750
5751 * subr.el (y-or-n-p): Capitalize "yes".
5752
5753 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
5754
5755 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5756 `tramp-cache-unload-hook' where appropriate.
5757 (tramp-methods): Rename `tramp-remote-sh' to
5758 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5759 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5760
5761 * net/tramp-sh.el (top): Don't require 'shell.
5762 (tramp-methods): Add `tramp-remote-shell' and
5763 `tramp-remote-shell-args' entries.
5764 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5765 (tramp-sh-handle-shell-command): Remove.
5766 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5767 Use `tramp-remote-shell'.
5768
5769 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
5770
5771 * mail/sendmail.el (sendmail-query-once-function): Delete.
5772 (sendmail-query-once): Save directly to send-mail-function.
5773 Update message-send-mail-function too.
5774
5775 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5776
5777 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5778
5779 * progmodes/python.el (python-mode-map): Use correct function to
5780 start python interpreter from menu-bar (as reported by Geert
5781 Kloosterman).
5782 (inferior-python-mode-map): Fix typo.
5783 (python-shell-map): Remove.
5784
5785 2011-09-03 Deniz Dogan <deniz@dogan.se>
5786
5787 * net/rcirc.el (rcirc-print): Simplify code for
5788 rcirc-scroll-show-maximum-output. There is no need to walk
5789 through all windows to find the right one.
5790
5791 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5792
5793 * help.el (help-return-method): Doc fix.
5794
5795 2011-09-03 Martin Rudalics <rudalics@gmx.at>
5796
5797 * window.el (window-deletable-p): Don't return a non-nil value
5798 when there's a buffer that was shown in the window before.
5799 (Bug#9419)
5800 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5801 Set window's previous buffers to nil.
5802
5803 2011-09-03 Eli Zaretskii <eliz@gnu.org>
5804
5805 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5806 newline before and after the tag line, so it doesn't interfere
5807 with determining the paragraph direction of bidirectional text.
5808
5809 2011-09-03 Leo Liu <sdl.web@gmail.com>
5810
5811 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5812
5813 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5814
5815 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5816 (pop-to-buffer): Change interactive spec. Pass second argument
5817 directly to display-buffer.
5818 (display-buffer): Fix interactive spec. Use functionp to
5819 distinguish between a function and a list of functions.
5820
5821 * abbrev.el (edit-abbrevs):
5822 * arc-mode.el (archive-extract):
5823 * autoinsert.el (auto-insert):
5824 * bookmark.el (bookmark-bmenu-list):
5825 * files.el (find-file):
5826 * view.el (view-buffer):
5827 * progmodes/compile.el (compilation-goto-locus):
5828 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5829
5830 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5831
5832 * window.el (display-buffer-alist): Doc fix.
5833 (display-buffer): Add docstring. Don't treat
5834 display-buffer-default specially.
5835 (display-buffer-reuse-selected-window)
5836 (display-buffer-same-window, display-buffer-maybe-same-window)
5837 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5838 (display-buffer-pop-up-window)
5839 (display-buffer-reuse-or-pop-window)
5840 (display-buffer-use-some-window): New functions.
5841 (display-buffer-default-action): Use them.
5842 (display-buffer-default): Delete.
5843 (pop-to-buffer-1): Fix choice of actions.
5844
5845 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * minibuffer.el (completion--insert-strings): Don't get confused by
5848 completion entries that end with an LF char.
5849
5850 2011-09-01 Eli Zaretskii <eliz@gnu.org>
5851
5852 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5853
5854 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
5855
5856 * window.el (display-buffer): Restore interactive spec.
5857 (display-buffer-same-window, display-buffer-other-window):
5858 New functions.
5859 (pop-to-buffer-1): New function. Use the above.
5860 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5861 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5862
5863 * view.el (view-buffer-other-window, view-buffer-other-frame):
5864 Just use pop-to-buffer.
5865
5866 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5867
5868 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5869
5870 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5871
5872 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5873
5874 2011-08-31 Richard Stallman <rms@gnu.org>
5875
5876 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5877 of the separation of rmail-view-buffer from rmail-buffer.
5878 If you say no to "replace original", the decrypt is in the
5879 view buffer. If you say yes, the decrypt goes into the
5880 rmail buffer also.
5881
5882 2011-08-31 Martin Rudalics <rudalics@gmx.at>
5883
5884 * window.el (display-buffer-window): Rewrite doc-string.
5885 (display-buffer-record-window): New function.
5886 (display-buffer-macro-specifiers)
5887 (display-buffer-even-window-sizes, display-buffer-set-height)
5888 (display-buffer-set-width, display-buffer-in-window)
5889 (display-buffer-reuse-window, display-buffer-split-specifiers)
5890 (display-buffer-side-specifiers, display-buffer-split-window-1)
5891 (display-buffer-split-window, display-buffer-split-atom-window)
5892 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5893 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5894 (display-buffer-other-window-means-other-frame)
5895 (display-buffer-normalize-special)
5896 (display-buffer-normalize-default)
5897 (display-buffer-normalize-argument)
5898 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5899 (display-buffer-normalize-specifiers, display-buffer-frame)
5900 (display-buffer-same-window, display-buffer-same-frame)
5901 (display-buffer-other-window)
5902 (display-buffer-same-frame-other-window)
5903 (display-buffer-other-frame, pop-to-buffer-same-window)
5904 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5905 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5906 (switch-to-buffer-same-frame)
5907 (switch-to-buffer-other-window-same-frame)
5908 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5909 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5910 (display-buffer-alist-set): Remove.
5911 (display-buffer-function, special-display-buffer-names)
5912 (special-display-regexps, special-display-function):
5913 In doc-string refer to display-buffer-window and quit-restore
5914 parameter.
5915 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5916 (special-display-frame-alist, special-display-popup-frame)
5917 (same-window-buffer-names, same-window-regexps, same-window-p)
5918 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5919 (split-window-preferred-function, split-height-threshold)
5920 (split-width-threshold, window-splittable-p)
5921 (split-window-sensibly, window--try-to-split-window)
5922 (window--frame-usable-p, even-window-heights)
5923 (window--even-window-heights, window--display-buffer-1)
5924 (window--display-buffer-2, display-buffer-other-frame):
5925 Restore old Emacs 23 code, order and doc-strings where applicable.
5926 (display-buffer-default, display-buffer-assq-regexp): New functions.
5927 (display-buffer-alist): Rewrite doc-string.
5928 (display-buffer-default-action)
5929 (display-buffer-overriding-action): New variables.
5930 (display-buffer, switch-to-buffer): Rewrite.
5931 (pop-to-buffer): Restore Emacs 23 behavior but use
5932 window-normalize-buffer-to-display.
5933 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5934 Restore Emacs 23 behavior but use
5935 window-normalize-buffer-to-switch-to.
5936 (pop-to-buffer-same-window): Rewrite.
5937 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5938 Rewrite using Emacs 23 options.
5939
5940 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
5941
5942 * net/tramp.el (tramp-root-regexp): Remove.
5943 (tramp-completion-file-name-regexp-unified)
5944 (tramp-completion-file-name-regexp-separate)
5945 (tramp-completion-file-name-regexp-url): Don't use leading volume
5946 letter on win32 systems. (Bug#5303, Bug#9311)
5947 (tramp-drop-volume-letter): Simplify definition.
5948 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5949
5950 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5953 (bug#9356).
5954
5955 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5956
5957 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5958
5959 2011-08-29 Juri Linkov <juri@jurta.org>
5960
5961 * isearch.el (isearch-done): Don't display message "Mark saved"
5962 when arg `edit' is non-nil to prevent its flicker in the echo area.
5963
5964 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5965
5966 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5967 obsolete packages for deletion.
5968
5969 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5970
5971 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5972 (help-mode): Derive help-mode from special-mode. Don't invoke
5973 view-mode from help-mode.
5974 (help-xref-override-view-map): Remove.
5975 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5976 view-mode is not used anymore.
5977
5978 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5979
5980 * server.el (server-port): Doc fix.
5981
5982 * cus-theme.el (custom-theme-choose-mode): Inherit from
5983 special-mode (Bug#9124).
5984 (custom-theme-choose-mode-map): Add special-mode to parent.
5985
5986 2011-08-28 Alan Mackenzie <acm@muc.de>
5987
5988 * progmodes/cc-fonts.el
5989 (c-make-font-lock-BO-decl-search-function): New function.
5990 (c-basic-matchers-after - "Fontify the clauses after various
5991 keywords"): Extract the three keyword lists for the 3 erroneous
5992 constructs from the list of four, and use the new function above
5993 in place of an old one.
5994
5995 2011-08-28 Deniz Dogan <deniz@dogan.se>
5996
5997 * net/rcirc.el (rcirc-insert-prev-input)
5998 (rcirc-insert-next-input): Remove unused argument.
5999
6000 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6003
6004 2011-08-27 Alan Mackenzie <acm@muc.de>
6005
6006 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6007 handle function pointer parameters properly.
6008
6009 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6010
6011 * window.el (display-buffer-reuse-window): Fix case where
6012 selected window was reused with non-nil OTHER-WINDOW argument.
6013 (Bug#9381)
6014
6015 2011-08-27 Deniz Dogan <deniz@dogan.se>
6016
6017 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6018 oftc's NickServ messages.
6019
6020 2011-08-27 Glenn Morris <rgm@gnu.org>
6021
6022 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6023
6024 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6025
6026 * emacs-lisp/package.el (package-install): Call package-initialize
6027 if called interactively.
6028
6029 2011-08-26 Leo Liu <sdl.web@gmail.com>
6030
6031 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6032
6033 2011-08-25 Juri Linkov <juri@jurta.org>
6034
6035 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6036 `search-whitespace-regexp' (bug#9364).
6037
6038 2011-08-25 Juri Linkov <juri@jurta.org>
6039
6040 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6041 `regexp-search-ring' to their global values to protect from
6042 updating by `read-from-minibuffer' (bug#9185).
6043
6044 2011-08-25 Juri Linkov <juri@jurta.org>
6045
6046 * textmodes/ispell.el (ispell-command-loop): Add newline
6047 at the end of the "Use option `i'..." line.
6048
6049 2011-08-25 Juri Linkov <juri@jurta.org>
6050
6051 * battery.el (display-battery-mode): If `battery-status-function'
6052 or `battery-mode-line-format' is nil, display the message and set
6053 `display-battery-mode' to nil (bug#9363).
6054
6055 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6056
6057 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6058 bidi-string-mark-left-to-right; they are unnecessary now.
6059
6060 2011-08-25 Deniz Dogan <deniz@dogan.se>
6061
6062 * net/quickurl.el: Documentation typo fixes.
6063
6064 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6065
6066 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6067
6068 2011-08-25 Glenn Morris <rgm@gnu.org>
6069
6070 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6071
6072 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6073 (smtpmail-via-smtp): Handle nil response from smtp.
6074
6075 2011-08-24 Juri Linkov <juri@jurta.org>
6076
6077 * proced.el (proced-marked): Inherit from `error' instead of
6078 `font-lock-warning-face'.
6079
6080 * ibuffer.el (ibuffer-marked-face): Change default face from
6081 `font-lock-warning-face' to `warning'.
6082 (ibuffer-deletion-face): Change default face from
6083 `font-lock-type-face' to `error'.
6084
6085 * battery.el (battery-update): Use the face `error' instead of
6086 `font-lock-warning-face' (bug#6117).
6087
6088 2011-08-24 Juri Linkov <juri@jurta.org>
6089
6090 * faces.el (success): Change face color from "Green3" to
6091 "ForestGreen" on light background (bug#9353).
6092
6093 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6094
6095 * window.el (quit-window): Rename from quit-restore-window.
6096 Use same arglist as old quit-window.
6097 (frame-auto-delete): Doc fix.
6098
6099 * view.el (view-mode-exit): Use quit-window.
6100
6101 2011-08-24 Juri Linkov <juri@jurta.org>
6102
6103 * isearch.el (isearch-ring-adjust1): Start visiting previous
6104 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6105 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6106 for empty search string (when the last search string is reused
6107 automatically) to adjust the isearch ring to the last element and
6108 prepare the correct index for further M-p commands (bug#9185).
6109
6110 2011-08-24 Kenichi Handa <handa@m17n.org>
6111
6112 * international/ucs-normalize.el: If decomposition property of
6113 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6114 nil.
6115 (nfd, nfkd): Likewise.
6116
6117 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6120 from process filters aren't reliably transmitted to the surrounding
6121 accept-process-output.
6122 (mpc-proc-check): New function.
6123 (mpc-proc-sync): Use it (bug#8293)
6124
6125 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6128 Add compatibility functions (bug#9313).
6129
6130 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6131
6132 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6133
6134 * international/uni-bidi.el: Regenerate.
6135
6136 2011-08-23 Kenichi Handa <handa@m17n.org>
6137
6138 * international/charprop.el:
6139 * international/uni-bidi.el:
6140 * international/uni-category.el:
6141 * international/uni-combining.el:
6142 * international/uni-comment.el:
6143 * international/uni-decimal.el:
6144 * international/uni-decomposition.el:
6145 * international/uni-digit.el:
6146 * international/uni-lowercase.el:
6147 * international/uni-mirrored.el:
6148 * international/uni-name.el:
6149 * international/uni-numeric.el:
6150 * international/uni-old-name.el:
6151 * international/uni-titlecase.el:
6152 * international/uni-uppercase.el: Regenerate.
6153
6154 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6155
6156 * help.el (help-window-setup): Fix message displayed when other
6157 window is reused. (Bug#9341)
6158
6159 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6161 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6162 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6163
6164 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6165 Mark obsolete.
6166 * shell.el (shell-parse-pcomplete-arguments): New function.
6167 (shell-completion-vars): Use it instead (bug#9160).
6168
6169 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6172 strings and comments (bug#9333).
6173
6174 * emacs-lisp/debug.el (debug-arglist): New function.
6175 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6176 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6177
6178 2011-08-22 Juri Linkov <juri@jurta.org>
6179
6180 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6181 Revert regexp that highlights output switches to its old
6182 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6183
6184 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6185 to check for empty output (bug#9226).
6186
6187 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6188
6189 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6190 symbol-constituent as the default, as that stops font-lock from
6191 working properly (Bug#8843).
6192
6193 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6194
6195 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6196 `coding-system-for-*' around the process open call to avoid
6197 auth-source side effects.
6198 (smtpmail-try-auth-methods): Expand the secret password.
6199 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6200 probe hangs.
6201
6202 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6203
6204 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6205
6206 * emacs-lisp/find-func.el (find-function-noselect): New arg
6207 lisp-only.
6208
6209 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6210 signal an error for built-in functions (Bug#6664).
6211
6212 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6213
6214 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6215 (smtpmail-try-auth-methods): Use it.
6216
6217 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6218
6219 * font-lock.el (font-lock-fontify-region)
6220 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6221 (font-lock-default-unfontify-buffer)
6222 (font-lock-default-fontify-region)
6223 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6224
6225 * progmodes/compile.el (compilation-error-properties):
6226 Fix confusion between file struct and message struct (Bug#9319).
6227 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6228 `ant' regexp.
6229
6230 * net/browse-url.el (browse-url-firefox): Don't call
6231 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6232
6233 2011-08-20 Glenn Morris <rgm@gnu.org>
6234
6235 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6236
6237 * tutorial.el (tutorial--default-keys): Update some default bindings.
6238
6239 * files.el (hack-local-variables): Fully ignore case for "mode:".
6240
6241 2011-08-20 Alan Mackenzie <acm@muc.de>
6242
6243 Resolve invalid use of a regexp in regexp-opt.
6244
6245 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6246 detection for a java annotation.
6247
6248 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6249 detection for a java annotation.
6250
6251 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6252 handling for java.
6253 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6254
6255 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6256
6257 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6258 (Bug#9274).
6259
6260 2011-08-20 Alan Mackenzie <acm@muc.de>
6261
6262 Fontify CPP expressions correctly when starting in the middle of
6263 such a construct. Mainly for when jit-lock etc. starts a chunk
6264 here.
6265
6266 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6267 variable.
6268 (c-make-font-lock-search-form): New function, extracted from
6269 c-make-font-lock-search-function.
6270 (c-make-font-lock-search-function): Use the above function.
6271 (c-make-font-lock-context-search-function): New function.
6272 (c-cpp-matchers): Enhance the preprocessor expression case with
6273 the above function
6274 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6275 which takes an expression.
6276
6277 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6278
6279 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6280
6281 * window.el (display-buffer-reuse-window)
6282 (display-buffer-pop-up-window): Don't reuse or split a side
6283 window.
6284
6285 2011-08-19 Glenn Morris <rgm@gnu.org>
6286
6287 * files.el (hack-local-variables-prop-line, hack-local-variables):
6288 Downcase "Mode:". (Bug#9331)
6289
6290 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6291
6292 * international/characters.el: Add L and R categories.
6293
6294 * subr.el (bidi-string-mark-left-to-right): Rename from
6295 string-mark-left-to-right. Use category search.
6296
6297 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6298
6299 2011-08-18 Juri Linkov <juri@jurta.org>
6300
6301 * faces.el (error, warning, success): New faces with definitions
6302 copied from old default values of `font-lock-warning-face',
6303 `compilation-warning', `compilation-info' (bug#6117).
6304
6305 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6306
6307 * progmodes/compile.el (compilation-error): Inherit from `error'.
6308 (compilation-warning): Inherit from `warning'.
6309 (compilation-info): Inherit from `success'.
6310
6311 * dired.el (dired-marked): Inherit from `warning'.
6312 (dired-flagged): Inherit from `error'.
6313
6314 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6315
6316 * mail/smtpmail.el (auth-source): Require to avoid problems with
6317 binding variables (bug#9298). Also clean up some unused
6318 autoloads.
6319
6320 * net/network-stream.el (network-stream-open-starttls):
6321 Support using starttls.el without using gnutls-cli.
6322
6323 2011-08-17 Juri Linkov <juri@jurta.org>
6324
6325 * progmodes/grep.el (rgrep): Handle the case when
6326 `grep-find-command' is a cons cell (bug#9278).
6327
6328 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6329
6330 * window.el (display-buffer-pop-up-frame): Run frame creation
6331 function with BUFFER current (as special-display-popup-frame
6332 does). Reported by Drew Adams.
6333
6334 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6335
6336 * epa-mail.el: Simplify GnuPG group expansion using
6337 epg-expand-group.
6338 (epa-mail-group-alist, epa-mail-group-modtime)
6339 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6340 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6341 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6342 Remove.
6343
6344 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6345
6346 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6347
6348 2011-08-16 Alan Mackenzie <acm@muc.de>
6349
6350 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6351 Correct, to avoid the inside of macros.
6352
6353 2011-08-16 Richard Stallman <rms@gnu.org>
6354
6355 * epa-mail.el: Handle GnuPG group definitions.
6356 (epa-mail-group-alist, epa-mail-group-modtime)
6357 (epa-mail-gnupg-conf-file): New variables.
6358 (epa-mail-parse-groups, epa-mail-sync-groups)
6359 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6360 (epa-mail-expand-recipients): New functions.
6361 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6362
6363 * mail/rmail.el (rmail-epa-decrypt): New command.
6364
6365 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6366 Don't bind buffer-read-only, just inhibit-read-only.
6367 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6368 (epa-decrypt-armor-in-region): Make error message clearer.
6369
6370 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6373 and "a2b" to "ab" for `prefix'.
6374
6375 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6376
6377 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6378 filter groups.
6379 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6380 Fourquet (Bug#8804).
6381
6382 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6383
6384 * startup.el (argi): Declare as global variable (bug#9275).
6385
6386 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6387
6388 * subr.el (string-mark-left-to-right): Search the entire string
6389 for RTL script, not just the terminating character. Doc fix.
6390
6391 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6394 New function.
6395 (js--regexp-literal, js-syntax-propertize-function): Remove.
6396 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6397 (js-mode-map): Don't rebind electric keys.
6398 (js-insert-and-indent): Remove.
6399 (js-mode): Setup electric-layout and electric-indent instead.
6400
6401 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6402
6403 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6404
6405 * epa.el (epa-progress-callback-function): Fix the logic of
6406 displaying progress.
6407 * epa-file.el (epa-file-insert-file-contents): Make progress
6408 display more user-friendly.
6409 (epa-file-write-region): Ditto.
6410
6411 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6412
6413 * subr.el (string-mark-left-to-right): New function.
6414
6415 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6416 Use string-mark-left-to-right.
6417 (list-buffers-noselect): Caller changed.
6418
6419 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6420 Use string-mark-left-to-right.
6421 (tabulated-list-print): Recenter after moving point.
6422
6423 2011-08-10 Juri Linkov <juri@jurta.org>
6424
6425 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6426 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6427 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6428
6429 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6430
6431 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6432 (Bug#7554).
6433
6434 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6435
6436 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6437 character. (Bug#6594)
6438
6439 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6440
6441 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6442 (image-dired--with-db-file): New macro.
6443 (image-dired-write-tags, image-dired-remove-tag)
6444 (image-dired-create-gallery-lists, image-dired-write-comments)
6445 (image-dired-get-comment, image-dired-mark-tagged-files)
6446 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6447 (image-dired-gallery-generate): Use insert-file-contents.
6448
6449 * time.el (display-time-world-list, display-time-world-display):
6450 * time-stamp.el (time-stamp-string):
6451 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6452 set-time-zone-rule (Bug#7337).
6453
6454 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6455
6456 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6457 (epg-error-to-string, epg-errors-to-string): New function.
6458 (epg-wait-for-completion): Reverse errors list.
6459 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6460 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6461 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6462 (epg-sign-keys, epg-generate-key-from-file)
6463 (epg-generate-key-from-string): Format errors by using
6464 epg-errors-to-string (bug#9255).
6465 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6466
6467 2011-08-07 Juri Linkov <juri@jurta.org>
6468
6469 * faces.el (list-faces-display): Remove extra angle bracket
6470 from `help-mode-map'.
6471
6472 * info.el (Info-history-toc-nodes): Doc fix.
6473
6474 * longlines.el (longlines-mode): Doc fix.
6475
6476 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6479 of statements and in a few more cases (bug#9183).
6480
6481 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6482 New functions.
6483 (cl-transform-lambda): Use them (bug#9239).
6484
6485 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6486
6487 * window.el (display-buffer-same-window)
6488 (display-buffer-same-frame, display-buffer-other-window)
6489 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6490 (pop-to-buffer-other-window)
6491 (pop-to-buffer-same-frame-other-window)
6492 (pop-to-buffer-other-frame): Make them defuns.
6493 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6494
6495 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * subr.el (make-composed-keymap): Move from C. Change calling
6498 convention, and improve docstring to bring attention to a subtle point.
6499 * minibuffer.el (completing-read-default): Adjust accordingly.
6500
6501 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6504 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6505
6506 * net/trampver.el: Update release number.
6507
6508 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6511 "in" (bug#9190).
6512
6513 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6514
6515 * mail/sendmail.el (sendmail-query-once): Restore the current
6516 buffer after querying (bug#9074).
6517
6518 * dired.el (dired-flagged): Use different faces for marked and
6519 flagged files (bug#6117).
6520
6521 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6522 (bug#4433).
6523
6524 * ido.el (ido-mode): Switch off the message if called
6525 non-interactively.
6526
6527 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6528 before 587, since it appears that that's more likely to work for
6529 more people.
6530
6531 * cus-edit.el (custom-file): When running under emacs -q, always
6532 refuse to save the customizations, even if the .emacs file doesn't
6533 exist.
6534
6535 * info.el: Remove the `Info-beginning-of-buffer' function
6536 (bug#8325).
6537
6538 * net/network-stream.el (network-stream-open-starttls):
6539 Use `starttls-available-p' to see whether starttls.el can be used.
6540
6541 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6542
6543 * window.el (display-buffer-in-window): Don't set dedicated status
6544 of window here (Bug#9215).
6545 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6546 (display-buffer-pop-up-side-window)
6547 (display-buffer-in-side-window): Set dedicated status of window here.
6548
6549 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6552 before binding generated-autoload-file.
6553
6554 2011-08-01 Deniz Dogan <deniz@dogan.se>
6555
6556 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6557
6558 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6559
6560 Sync with Tramp 2.2.2.
6561
6562 * net/trampver.el: Update release number.
6563
6564 2011-07-30 Juri Linkov <juri@jurta.org>
6565
6566 * dired-aux.el (dired-touch-initial): Remove function.
6567 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6568 current time, and `default' to the last modification time of the
6569 current marked file (bug#6887).
6570
6571 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6572
6573 * simple.el (goto-line): Use string-to-number to provide a
6574 numeric argument to read-number (bug#9163).
6575
6576 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6577
6578 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6579 connection process, it could be nil.
6580
6581 2011-07-27 Leo Liu <sdl.web@gmail.com>
6582
6583 Simplify url handling in rcirc-mode.
6584
6585 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6586 (rcirc-browse-url-at-mouse): Remove.
6587 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6588
6589 2011-07-26 Alan Mackenzie <acm@muc.de>
6590
6591 Fontify bitfield declarations properly.
6592
6593 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6594 (c-symbol-chars): Now exported as a lang variable.
6595 (c-not-primitive-type-keywords): New lang variable.
6596
6597 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6598 QT keyword "more" to prevent "more slots: ...." being spuriously
6599 parsed as a bitfield declaration.
6600
6601 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6602 Refactor and enhance to handle bitfield declarations.
6603 (c-punctuation-in): New function.
6604 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6605 declarations properly.
6606
6607 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6608
6609 * calendar/icalendar.el (icalendar--all-events): Take care of
6610 multiple vcalendars in a single file.
6611 (icalendar--convert-float-to-ical): Checkdoc fixes.
6612
6613 2011-07-25 Deniz Dogan <deniz@dogan.se>
6614
6615 * image.el (insert-image): Clarifying docstring.
6616
6617 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6618
6619 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6620 `tramp-send-command-and-check' if there is no error.
6621 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6622
6623 2011-07-22 Alan Mackenzie <acm@muc.de>
6624
6625 Prevent cc-langs.elc being loaded at run time.
6626
6627 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6628 cc-langs.
6629
6630 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6631 "(require 'cc-langs)". Quote a form so it will evaluate at
6632 (cc-mode's) compilation time.
6633
6634 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6635
6636 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6637 loading. (Bug#9114)
6638
6639 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6640
6641 * window.el (display-buffer-pop-up-window)
6642 (display-buffer-pop-up-side-window)
6643 (display-buffer-in-side-window): Call display-buffer-set-height
6644 and display-buffer-set-width after setting the new window's
6645 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6646
6647 2011-07-20 Sam Steingold <sds@gnu.org>
6648
6649 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6650 (etags-tags-included-tables): Call `convert-standard-filename' on
6651 the file names contained in TAGS so that windows Emacs can handle
6652 TAGS files created by cygwin ctags.
6653
6654 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6655
6656 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6657 which apparently didn't work.
6658
6659 2011-07-19 Roland Winkler <winkler@gnu.org>
6660
6661 * proced.el (proced-send-signal): For *Marked Processes* buffer
6662 put point at beginning of buffer.
6663
6664 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6665
6666 * proced.el (proced-format): Make header lines align with the text
6667 (bug#1779).
6668
6669 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6670
6671 * view.el (view-buffer): Allow running in `special' modes if we're
6672 visiting a file (bug#8615).
6673
6674 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6675
6676 * window.el (display-buffer-alist-of-strings-p)
6677 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6678 New functions.
6679 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6680 more accurately.
6681
6682 2011-07-18 Alan Mackenzie <acm@muc.de>
6683
6684 Fontify declarators properly when, e.g., a jit-lock chunk begins
6685 inside a declaration.
6686
6687 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6688
6689 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6690 New function.
6691 (c-complex-decl-matchers): Insert reference to
6692 c-font-lock-enclosing-decls.
6693
6694 * progmodes/cc-engine.el (c-backward-single-comment):
6695 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6696 to nil around calls to (forward-comment -1).
6697
6698 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6699
6700 * image.el (put-image): Doc typo fix.
6701
6702 * progmodes/etags.el (tags-search): Doc typo fix.
6703
6704 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6705 password if we get errors 550 to 554.
6706
6707 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6708
6709 * net/gnutls.el (gnutls-log-level): Remove.
6710
6711 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6712 indentation character (bug#6380).
6713
6714 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6715
6716 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6717 to clarify what the problem is (bug#4291).
6718
6719 * simple.el (current-kill): Clarify what
6720 `interprogram-paste-function' does (bug#7500).
6721 (auto-fill-mode): Document `auto-fill-function' in relation to
6722 `auto-fill-mode' (bug#2470).
6723
6724 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6725
6726 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6727 method if slot is read-only (bug#9035).
6728
6729 2011-07-16 Martin Rudalics <rudalics@gmx.at>
6730
6731 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6732 * window.el (pop-to-buffer): Select window used even if it was
6733 selected before, see discussion of (Bug#8615), (Bug#6954).
6734 Pass argument NORECORD on to select-frame-set-input-focus.
6735
6736 2011-07-15 Glenn Morris <rgm@gnu.org>
6737
6738 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6739 Respect help-form.
6740
6741 2011-07-09 Lawrence Mitchell <wence@gmx.li>
6742
6743 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6744 (gnutls-negotiate): Use it.
6745
6746 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6747
6748 * net/gnutls.el (gnutls-negotiate):
6749 Upcase `gnutls-algorithm-priority'.
6750
6751 2011-07-15 Glenn Morris <rgm@gnu.org>
6752
6753 * jka-compr.el (jka-compr-verbose): Move from here...
6754 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6755 Add missing :version tag.
6756 * info.el: No need to require jka-compr when compiling.
6757
6758 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6759
6760 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6761 (gnutls-negotiate): Use it.
6762
6763 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6764
6765 * info.el (Info-beginning-of-buffer): New command.
6766 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6767 announcing `b' as the key (bug#8325).
6768 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6769
6770 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6771
6772 * international/mule-cmds.el
6773 (describe-specified-language-support): Make the error message
6774 clearer (bug#8905).
6775
6776 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6777
6778 * isearch.el (isearch-barrier): Add a doc string, since it's
6779 mentioned in a function doc string (bug#8678).
6780
6781 2011-07-15 Martin Rudalics <rudalics@gmx.at>
6782
6783 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6784 buffer argument (Bug#9083) and self-identifying label argument.
6785
6786 2011-07-15 Glenn Morris <rgm@gnu.org>
6787
6788 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6789
6790 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6791
6792 * man.el (Man-fontify-manpage): Fix message when formatting the
6793 man page (bug#7929).
6794
6795 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6796
6797 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6798 argument LRM; if non-nil, append an invisible LRM character to the
6799 buffer name.
6800 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6801 last argument non-nil, when formatting buffer names.
6802 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6803 paragraph direction.
6804
6805 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6806
6807 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6808 the man page name (bug#7929).
6809
6810 * image.el (put-image): Mention the `put-image' overlay property
6811 (bug#7834).
6812
6813 * scroll-bar.el (set-scroll-bar-mode): Mention that
6814 `scroll-bar-mode' lists the values (bug#7772).
6815
6816 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6817 command (bug#7729).
6818
6819 * rect.el (apply-on-rectangle): Return the point after the last
6820 operation.
6821 (string-rectangle): Go to the point after the last operation
6822 (bug#7522).
6823
6824 * printing.el (pr-toggle-region): Clarify the documentation
6825 slightly (bug#7493).
6826
6827 * time.el (display-time-update):
6828 Allow `display-time-mail-function' to return nil (bug#7158).
6829 Fix suggested by Detlev Zundel.
6830
6831 * vc/diff.el (diff): Clarify the order the file names are read
6832 (bug#7111).
6833
6834 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6835 the doc string (bug#7015).
6836
6837 * font-lock.el (font-lock-maximum-decoration): Mention what
6838 numeric levels mean (bug#6935).
6839
6840 * startup.el (initial-buffer-choice): Don't mention the `none'
6841 selection, which is against policy.
6842
6843 2011-07-14 Martin Rudalics <rudalics@gmx.at>
6844
6845 * window.el (display-buffer-normalize-special):
6846 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6847
6848 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6849
6850 * subr.el (version<, version<=, version=): Mention "-CVS" and
6851 "-12345" alpha version numbers.
6852
6853 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6854
6855 * bindings.el: Add advertised binding for set-mark-command
6856 (Bug#5772).
6857
6858 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6859
6860 * bindings.el (mode-line-other-buffer):
6861 * bookmark.el (bookmark-bmenu-2-window):
6862 * bs.el (bs-cycle-next, bs-cycle-previous):
6863 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6864 switch-to-buffer.
6865
6866 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6867 Delete.
6868
6869 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * follow.el (follow-debug-message, follow-redisplay):
6872 * jka-cmpr-hook.el (with-auto-compression-mode):
6873 Fix typos in docstrings.
6874
6875 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6876
6877 * subr.el (with-silent-modifications): Clarify somewhat what the
6878 macro inhibits (bug#6525).
6879
6880 * simple.el (eval-expression): Note what it does if called
6881 interactively (bug#6495).
6882
6883 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6884
6885 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6886 Use pop-to-buffer buffer-or-name if it is nil.
6887
6888 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6889 Remove switch-to-buffer.
6890
6891 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6892
6893 * files.el (make-directory): Clarify that an error will be raised
6894 if there's an error (bug#6397).
6895
6896 * startup.el (initial-buffer-choice): Add `none' as a choice
6897 (bug#6234).
6898
6899 * subr.el (add-hook): Clarify section about buffer-local hooks
6900 (bug#6218).
6901
6902 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6903
6904 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6905
6906 * tabify.el (untabify): Preserve the current column so that point
6907 doesn't move (bug#6032).
6908
6909 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6910
6911 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6912 Rewrite to avoid awkward possessive "s" (bug#5986).
6913
6914 2011-07-13 Glenn Morris <rgm@gnu.org>
6915
6916 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6917 (dired-insert-directory): Give a message the first time
6918 if ls is found not to support --dired.
6919
6920 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6921
6922 * simple.el (toggle-truncate-lines): Clarify what is toggled
6923 (bug#5580). Text by Drew Adams.
6924
6925 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6926
6927 * simple.el (blink-matching-open): Make the error message from the
6928 last change less verbose.
6929
6930 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6931
6932 * font-lock.el (font-lock-comment-face): Use the high contrast
6933 "yellow" color for font-lock-comment-face on low color terminals
6934 using a dark background color (bug#4221).
6935
6936 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6937
6938 * dired.el (dired-insert-set-properties): Make the doc string
6939 reflect what it does now (bug#5325).
6940
6941 * simple.el (blink-matching-open): Say that we were unable to find
6942 the match within the limit, if we're limited (bug#5122).
6943
6944 * international/mule-cmds.el (prefer-coding-system): Add an
6945 example (bug#4869).
6946
6947 * progmodes/etags.el (tags-search): Document `file-list-form'
6948 (bug#4731).
6949
6950 2011-07-13 Lawrence Mitchell <wence@gmx.li>
6951
6952 * net/browse-url.el (browse-url-default-browser)
6953 (browse-url-browser-function): Make the default browser choice a
6954 bit more logical (bug#4300). Also clean up the doc string.
6955
6956 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6957
6958 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6959 binary endings (bug#4440).
6960
6961 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6962
6963 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6964 which can be pretty annoying (bug#8971).
6965
6966 * jka-compr.el (jka-compr-verbose): New variable, and use
6967 throughout (bug#8971).
6968
6969 * info.el (Info-find-file): Fall back on the installation
6970 directory if we can't find the info node anywhere else.
6971
6972 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6973
6974 * vc/vc.el (vc-revert-file):
6975 Don't set file time-stamp in the past. (Bug#5181)
6976
6977 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6978
6979 * files.el (after-find-file): Give a better error message when
6980 trying to find a symlink that points to a file that doesn't exist
6981 (bug#4398).
6982
6983 * progmodes/cc-vars.el: Remove (probably) misleading comment
6984 (bug#4396).
6985
6986 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6987
6988 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6989
6990 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6991
6992 * mouse-sel.el: Hack restoring functionality, while keeping
6993 compatibility with 2010-07-03 changes to mouse selection.
6994 (mouse-sel-primary-overlay): New var.
6995 (mouse-sel-selection-alist): Use it.
6996 (mouse-sel-mode): Doc fix; remove points that are default features
6997 of mouse.el.
6998
6999 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7000
7001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7002 Fix previous fix (bug#2490).
7003
7004 2011-07-12 Roland Winkler <winkler@gnu.org>
7005
7006 * textmodes/bibtex.el (bibtex-initialize):
7007 Use pop-to-buffer-same-window.
7008 (bibtex-search-entries): Fix interactive call.
7009
7010 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7011
7012 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7013 Fontise bytecomp Error lines more correctly (bug#2490).
7014 Fix suggested by Johan Bockgård.
7015
7016 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7017
7018 * dired-x.el (dired-guess-default): Use `delete-dups'.
7019
7020 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7021
7022 * dired.el (dired-mark-prompt):
7023 * dired-aux.el (dired-read-shell-command): Doc fix.
7024
7025 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026
7027 * mail/sendmail.el (sendmail-query-once):
7028 Use `customize-save-variable' unconditionally, now that it works under
7029 emacs -Q.
7030
7031 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7032
7033 * cus-edit.el (custom-file): Take an optional no-error variable.
7034 (customize-save-variable): Set the variable, and give a warning if
7035 running under "emacs -q".
7036
7037 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7038
7039 * loadhist.el (unload-feature-special-hooks):
7040 Add `auto-coding-functions', `fill-nobreak-predicate' and
7041 `find-directory-functions' (bug#5327).
7042
7043 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7044
7045 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7046
7047 * cus-edit.el (custom-guess-name-alist): -alist variables should
7048 use the `alist' type (bug#3120). Suggested by Drew Adams.
7049
7050 * printing.el: Add documentation to all the `pr-toggle-' commands.
7051
7052 2011-07-11 Leo Liu <sdl.web@gmail.com>
7053
7054 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7055 backends where it makes sense (bug#2623).
7056
7057 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7058
7059 * dired-x.el (dired-guess-default): Remove duplicate shell command
7060 entries (bug#2028).
7061 (dired-guess-default): Fix grammar in doc string (bug#2028).
7062 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7063
7064 * subr.el (remove-duplicates): New conveniency function.
7065
7066 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7067
7068 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7069 (bug#1526).
7070
7071 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7072
7073 * window.el (display-buffer-normalize-default): Don't invert
7074 meaning of even-window-heights. Reported by Eli Zaretskii
7075 <eliz@gnu.org>.
7076
7077 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7078
7079 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7080
7081 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7082
7083 * window.el (display-buffer): Fix arguments to
7084 display-buffer-reuse-window in last change.
7085
7086 * faces.el (link): Use a less saturated blue on light backgrounds.
7087
7088 * startup.el (fancy-startup-text, fancy-about-text)
7089 (fancy-startup-tail): Use font-lock faces, for background safety.
7090
7091 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7092
7093 * emulation/viper-cmd.el (viper-change-state-to-vi):
7094 Limit triggering of abbrev expansion (Bug#9038).
7095
7096 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7097
7098 * window.el (display-buffer-default-specifiers): Remove.
7099 (display-buffer-macro-specifiers): Remove default specifiers.
7100 (display-buffer-alist): Default to nil.
7101 (display-buffer-reuse-window): New optional argument other-window.
7102 (display-buffer-pop-up-window): Allow splitting internal
7103 windows. Check whether a live window was created.
7104 (display-buffer-other-window-means-other-frame)
7105 (display-buffer-normalize-arguments): Rename to
7106 display-buffer-normalize-argument and rewrite. Set the
7107 other-window specifier.
7108 (display-buffer-normalize-special): New function.
7109 (display-buffer-normalize-options): Rename to
7110 display-buffer-normalize-default and rewrite.
7111 (display-buffer-normalize-options-inhibit): Remove.
7112 (display-buffer-normalize-specifiers): Rewrite.
7113 (display-buffer): Process other-window specifier and call
7114 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7115 more faithfully.
7116 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7117 (display-buffer-alist-set): Don't handle 'unset default values.
7118 (display-buffer-in-window, display-buffer-alist-set):
7119 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7120 <tassilo@member.fsf.org>.
7121
7122 2011-07-09 Leo Liu <sdl.web@gmail.com>
7123
7124 * register.el (insert-register): Restore accidental change on
7125 2011-06-26. (Bug#9028)
7126
7127 2011-07-09 Glenn Morris <rgm@gnu.org>
7128
7129 * subr.el (remq): Handle the empty list. (Bug#9024)
7130
7131 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7132
7133 * mail/sendmail.el (send-mail-function): No longer delay custom
7134 initialization.
7135 * custom.el (custom-initialize-delay): Doc fix.
7136
7137 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7140
7141 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7142
7143 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7144 human-friendly prompt.
7145
7146 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7149 provided by a particular plugin.
7150
7151 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7152
7153 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7154 save customizations (with "emacs -Q"), just set the variable
7155 instead of erroring out.
7156
7157 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7158
7159 2011-07-08 Juri Linkov <juri@jurta.org>
7160
7161 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7162 (archive-zip-update-case): Use 7z if found by `executable-find'.
7163 The order of searching the available programs is the same as in
7164 `archive-zip-extract' (bug#8968).
7165
7166 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7167
7168 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7169 (menu-bar-options-menu): Tweak descriptions.
7170
7171 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172
7173 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7174 menu items into verb phrases (bug#1421). Also refill to fit under
7175 80 columns.
7176
7177 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7178
7179 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7180 (Info-read-node-name): Doc fix (Bug#1084).
7181
7182 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7183 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7184 (end-of-sexp, beginning-of-sexp)
7185 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7186 (forward-symbol, forward-same-syntax, word-at-point)
7187 (sentence-at-point): Doc fix (Bug#1144).
7188
7189 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7190
7191 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7192 should cover it (bug#1281).
7193
7194 * cus-edit.el (custom-show): Mark as obsolete.
7195
7196 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7197 negotiation fails, then possibly try again with a non-encrypted
7198 connection (bug#9017).
7199
7200 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7201 be used.
7202
7203 2011-07-07 Richard Stallman <rms@gnu.org>
7204
7205 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7206 property, and handle its changed format.
7207 Look for the correct line number.
7208 Use file's line contents (but not past first =) to find
7209 correct line in message.
7210
7211 2011-07-07 Kenichi Handa <handa@m17n.org>
7212
7213 * international/characters.el (build-unicode-category-table):
7214 Delete it.
7215 (unicode-category-table): Set it by unicode-property-table-internal.
7216
7217 * international/mule-cmds.el (char-code-property-alist): Move to
7218 to src/chartab.c.
7219 (get-char-code-property): Call unicode-property-table-internal to
7220 load a file. Call get-unicode-property-internal where necessary.
7221 (put-char-code-property): Call unicode-property-table-internal to
7222 load a file. Call put-unicode-property-internal where necessary.
7223 put-unicode-property-internal where necessary.
7224 (char-code-property-description):
7225 Call unicode-property-table-internal to load a file.
7226
7227 * international/charprop.el:
7228 * international/uni-bidi.el:
7229 * international/uni-category.el:
7230 * international/uni-combining.el:
7231 * international/uni-comment.el:
7232 * international/uni-decimal.el:
7233 * international/uni-decomposition.el:
7234 * international/uni-digit.el:
7235 * international/uni-lowercase.el:
7236 * international/uni-mirrored.el:
7237 * international/uni-name.el:
7238 * international/uni-numeric.el:
7239 * international/uni-old-name.el:
7240 * international/uni-titlecase.el:
7241 * international/uni-uppercase.el: Regenerate.
7242
7243 * loadup.el: Load international/charprop.el before
7244 international/characters.
7245
7246 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7247
7248 * window.el (next-buffer, previous-buffer): Signal an error if
7249 called from a minibuffer window.
7250
7251 * bindings.el: Revert 2011-07-04 change.
7252
7253 2011-07-06 Richard Stallman <rms@gnu.org>
7254
7255 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7256 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7257 Treat markers like ints.
7258 (rmail-mime-entity): Doc fix.
7259
7260 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7261
7262 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7263 defcustom again for backwards compatibility.
7264
7265 * simple.el (shell-command-on-region): Fill.
7266
7267 * dired-aux.el (dired-kill-line): Add a doc string.
7268
7269 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7270 to "\\sw\\|\\s_" (bug#358).
7271
7272 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7273 (dired-unmark-backward): Ditto.
7274 (dired-flag-backup-files): Ditto.
7275
7276 * dired-x.el (dired-mark-sexp): Ditto.
7277
7278 2011-07-06 Richard Stallman <rms@gnu.org>
7279
7280 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7281 (rmail-mime-entity): New arg TRUNCATED.
7282 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7283 New functions.
7284 (rmail-mime-save): Warn if entity is truncated.
7285 (rmail-mime-toggle-hidden): Likewise, for showing.
7286 (rmail-mime-process-multipart): Record when an entity is truncated.
7287
7288 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7289 if ENTITY is a string.
7290
7291 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7292
7293 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7294 of faces when `M-C-x'-ing their definitions (bug#8378).
7295 Also clean up the code slightly.
7296
7297 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7298 because that makes the colors go away.
7299
7300 * mail/sendmail.el (send-mail-function): Change the default to
7301 `sendmail-query-once'.
7302 (sendmail-query-once): Add an autoload cookie.
7303
7304 * net/network-stream.el (network-stream-open-starttls): Try using
7305 a plain connection even if the server offered STARTTLS, and we
7306 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7307 capability. This should make smtpmail.el work in slightly more
7308 configurations.
7309
7310 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7311
7312 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7313 New defun.
7314 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7315
7316 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7317
7318 * progmodes/sql.el: Version 3.0
7319 (sql-product-alist): Add product :completion-object,
7320 :completion-column, and :statement attributes.
7321 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7322 (sql-mode-syntax-table): Mark all punctuation.
7323 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7324 ansi keywords.
7325 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7326 (sql-mode-oracle-font-lock-keywords): Improve.
7327 (sql-oracle-show-reserved-words): New function for development.
7328 (sql-product-font-lock): Simplify for source code buffers.
7329 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7330 New functions.
7331 (sql-highlight-product): Set product specific syntax table.
7332 (sql-mode-map): Add statement movement functions.
7333 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7334 New variable.
7335 (sql-statement-regexp, sql-beginning-of-statement)
7336 (sql-end-of-statement, sql-signum): New functions.
7337 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7338 (sql-show-sqli-buffer): Bug fix.
7339 (sql-interactive-mode): Store connection data as buffer local.
7340 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7341 with sql-interactive-mode.
7342 (sql-save-connection): Save buffer local settings.
7343 (sql-connection-menu-filter): Change menu entry name.
7344 (sql-product-interactive): Bug fix.
7345 (sql-preoutput-hold): New variable.
7346 (sql-interactive-remove-continuation-prompt): Bug fixes.
7347 (sql-debug-redirect): New variable.
7348 (sql-str-literal): New function.
7349 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7350 Redesign.
7351 (sql-oracle-save-settings, sql-oracle-restore-settings)
7352 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7353 (sql-completion-object, sql-completion-column)
7354 (sql-completion-sqlbuf): New variables.
7355 (sql-build-completions-1, sql-build-completions)
7356 (sql-try-completion): New functions.
7357 (sql-read-table-name): Use them.
7358 (sql-contains-names): New buffer local variable.
7359 (sql-list-all, sql-list-table): Use it.
7360 (sql-oracle-completion-types): New variable.
7361 (sql-oracle-completion-object, sql-sqlite-completion-object)
7362 (sql-postgres-completion-object): New functions.
7363
7364 2011-07-06 Glenn Morris <rgm@gnu.org>
7365
7366 * window.el (pop-to-buffer): Doc fix.
7367
7368 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7369
7370 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7371
7372 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7373
7374 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7375
7376 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7377
7378 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7379
7380 * button.el (button): Inherit from link face. Suggested by Dan
7381 Nicolaescu.
7382
7383 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * progmodes/gdb-mi.el: Fit in 80 columns.
7386 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7387 switch-to-buffer.
7388
7389 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7390 if imenu is simply not configured (bug#8941).
7391
7392 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7393
7394 * allout.el (allout-post-undo-hook): New allout outline-change
7395 event hook to signal undo activity.
7396 (allout-post-command-business): Run allout-post-undo-hook if an
7397 undo just occurred.
7398 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7399 * allout-widgets.el (allout-widgets-after-undo-function):
7400 Ensure the integrity of the current item's decoration after it has been
7401 in the vicinity of an undo.
7402 (allout-widgets-mode): Include allout-widgets-after-undo-function
7403 on the new allout-post-undo-hook.
7404
7405 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7408 Let define-derived-mode define it.
7409 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7410 cycles of abbrev-table inheritance (bug#8998).
7411
7412 2011-07-05 Roland Winkler <winkler@gnu.org>
7413
7414 * textmodes/bibtex.el: Add support for biblatex.
7415 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7416 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7417 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7418 (bibtex-entry-alist, bibtex-field-alist): New variables.
7419 (bibtex-entry-field-alist): Obsolete alias for
7420 bibtex-BibTeX-entry-alist.
7421 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7422 (bibtex-set-dialect): New command.
7423 (bibtex-entry-type, bibtex-entry-head)
7424 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7425 Bind via bibtex-set-dialect.
7426 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7427 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7428 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7429 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7430 Define via bibtex-set-dialect.
7431 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7432 Obey bibtex-no-opt-remove-re.
7433 (bibtex-vec-push, bibtex-vec-incr): New functions.
7434 (bibtex-format-entry, bibtex-field-list)
7435 (bibtex-print-help-message, bibtex-validate)
7436 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7437
7438 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * progmodes/compile.el (compilation-goto-locus):
7441 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7442 * bs.el (bs-cycle-next, bs-cycle-previous):
7443 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7444 * bindings.el (mode-line-other-buffer):
7445 * autoinsert.el (auto-insert):
7446 * arc-mode.el (archive-extract):
7447 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7448
7449 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7450
7451 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7452 Fix check of `emacs-lock-unlockable-modes'.
7453 Coerce true values of `emacs-lock--try-unlocking' to t.
7454
7455 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7456
7457 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7458 * emacs-lock.el: New file.
7459
7460 2011-07-05 Julien Danjou <julien@danjou.info>
7461
7462 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7463 than `boundp' to check if face is set.
7464
7465 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7466
7467 * register.el (registerv-make):
7468 * window.el (window-min-height): Fix typos in docstrings.
7469
7470 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7471
7472 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7473 Update doc string.
7474
7475 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * server.el (server-execute): Catch quit and call
7478 `server-return-error' to pass the error back to emacsclient and
7479 close the connection (bug#8942).
7480
7481 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7482
7483 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7484 insecure exception for current topic. Also note that auto-saves
7485 are handled differently.
7486
7487 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7488 State variables for tracking auto-save inhibition situation.
7489
7490 (allout-write-contents-hook-handler): Rename from
7491 'allout-write-file-hook-handler', and describe how it depends on
7492 write-contents-functions sensitivity to non-nil value to prevent
7493 file write.
7494
7495 (allout-auto-save-hook-handler): Remove. auto-save does not check
7496 this in individual buffers, only in the starting buffer, so this
7497 is not the right way for us to inhibit auto-save in a buffer
7498 according to its condition.
7499
7500 (allout-mode): Use new allout-write-contents-hook-handler, and
7501 only with write-contents-functions. Remove auto-save provisions -
7502 they're implemented elsewhere.
7503
7504 (allout-before-change-handler): If undo is in progress, note that
7505 for attention of allout-post-command-business.
7506
7507 (allout-post-command-business): If the command we're following was
7508 an undo, check for change in the status of encrypted items and
7509 adjust auto-save inhibitions accordingly.
7510
7511 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7512 according to whether there are or aren't any plain-text topics
7513 pending encryption.
7514
7515 (allout-inhibit-auto-save-info-for-decryption):
7516 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7517 if there are plain-text topics pending encryption.
7518
7519 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7520 buffer-saved-size and some allout state to not inhibit auto-saves
7521 if there are no longer any plain-text topics pending encryption.
7522
7523 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7524 No longer provide for exemption of the current topic.
7525
7526 2011-07-04 Juri Linkov <juri@jurta.org>
7527
7528 Add 7z operations to delete and save changed members (bug#8968).
7529 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7530 New defcustoms.
7531 (archive-7z-write-file-member): New function.
7532 (archive-7z-summarize): Fix the number of dashes in the
7533 listing output.
7534
7535 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7538 (bug#8958).
7539
7540 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7541
7542 * bindings.el: Ignore next-buffer and previous-buffer in
7543 minibuffer-local-map.
7544
7545 * font-lock.el (font-lock-builtin-face): Change light background
7546 color to dark slate blue (Bug#6693).
7547
7548 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7549
7550 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7551
7552 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7555 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7556 Add switch-to-buffer.
7557
7558 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7559
7560 * isearch.el (isearch-search-fun-function): Clarify further the
7561 meaning of the function returned.
7562
7563 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7564
7565 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7566
7567 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7568 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7569 Use it.
7570 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7571 `tramp-default-remote-path' does not exist.
7572 (tramp-send-command-and-read): New optional argument NOERROR.
7573 (tramp-open-connection-setup-interactive-shell)
7574 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7575 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7576 (tramp-process-sentinel): Flush also process' connection property.
7577 (tramp-sh-handle-start-file-process): Do not set process
7578 sentinel. It is done now ...
7579 (tramp-maybe-open-connection): ... here. (Bug#8929)
7580
7581 2011-07-04 MON KEY <monkey@sandpframing.com>
7582
7583 * play/animate.el (animate-string): Doc fixes and allow changing
7584 the buffer name (bug#5417).
7585
7586 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7587
7588 * play/animate.el (animation-buffer-name): Rename from *animate*.
7589
7590 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7591
7592 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7593 This is simpler and helps future-proof the code.
7594 (timer-until): Use time-subtract and float-time.
7595 (timer--time-less-p): Use time-less-p.
7596
7597 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7598
7599 * type-break.el (timep): Use the value of `float-time' to avoid a
7600 byte-compiler warning.
7601
7602 * server.el (server-eval-and-print): Return any result, even nil.
7603
7604 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7605
7606 * type-break.el: Accept time formats that the builtins accept.
7607 (timep, type-break-time-difference): Accept any format that
7608 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7609 This is simpler and helps future-proof the code.
7610 (type-break-time-difference): Round rather than ignoring
7611 subseconds components.
7612
7613 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7614
7615 * info.el (Info-apropos-matches): Make non-interactive, since it
7616 doesn't seem to do anything useful as a command (bug#8829).
7617
7618 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7619
7620 * frame.el (frame-background-mode, frame-set-background-mode):
7621 Move from faces.el.
7622 (frame-default-terminal-background): New function.
7623
7624 * custom.el (custom-push-theme): Don't record faces in `changed'
7625 theme; this doesn't work correctly for per-frame face settings.
7626 (disable-theme): Use face-set-after-frame-default to reset faces.
7627 (custom--frame-color-default): New function.
7628
7629 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7630
7631 * dired.el (dired-flagging-regexp): Remove unused variable
7632 (bug#8769).
7633
7634 2011-03-29 Kevin Ryde <user42@zip.com.au>
7635
7636 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7637 `perl-Test2' extend to match possible "fail #N" rep count
7638 (bug#8377).
7639
7640 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7641
7642 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7643 `smtpmail-via-smtp' now returns the error instead of nil.
7644
7645 * isearch.el (isearch-search-fun-function): Clarify the doc string
7646 (bug#8101).
7647
7648 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7649
7650 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7651 unnecessary spaces (bug#8987).
7652
7653 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654
7655 * net/network-stream.el (open-network-stream): Use the
7656 :end-of-capability command thoughout.
7657
7658 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7659
7660 * net/network-stream.el (open-network-stream): Add the
7661 :end-of-capability command parameter, used by pop3.el.
7662
7663 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7664
7665 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7666
7667 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7668 for list)" (bug#6475).
7669
7670 * files.el (file-expand-wildcards): Ignore non-readable
7671 sub-directories while trying to find matches instead of signaling
7672 an error (bug#6297).
7673
7674 * man.el (Man-reference-regexp): Allow matching possible
7675 word-wrapped references (bug#6289).
7676
7677 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7678 for consistency with the other vc buffers (bug#6197).
7679 (vc-checkin): Ditto.
7680
7681 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7682
7683 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7684
7685 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686
7687 * custom.el (defcustom): Clarify that :set is only used in the
7688 Customize user interface (bug#6089).
7689
7690 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7691 associated with a file, refuse to run instead of erroring out
7692 (bug#6084).
7693
7694 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7695 the doc string, since it appears that using `fill-column' always
7696 controls the width (bug#7845).
7697
7698 * simple.el (shell-command-on-region): Say where the error output
7699 went if `shell-command-default-error-buffer' is set (bug#6857).
7700
7701 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7702
7703 * allout.el (allout-yank-processing): Adjust cursor position for
7704 backwards-deleted space.
7705
7706 (allout-rebullet-heading): Register changes with
7707 allout-exposure-changed-hook, so the modified topic is properly
7708 decorated.
7709
7710 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7711
7712 * minibuffer.el (completion-in-region): Document PREDICATE
7713 (bug#7136).
7714
7715 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7716 of keyword/argument pairs (bug#6904).
7717
7718 * replace.el (multi-occur):
7719 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7720
7721 2011-07-02 Drew Adams <drew.adams@oracle.com>
7722
7723 * dired.el (dired-mark-if): Make the message about whether it's
7724 marking or unmarking clearer (bug#8523).
7725
7726 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7727
7728 * disp-table.el (display-table-print-array): New function.
7729 (describe-display-table): Use it to print the vectors more pretty
7730 (Bug#8859).
7731
7732 2011-07-02 Martin Rudalics <rudalics@gmx.at>
7733
7734 * window.el (window-state-get-1): Don't assign clone numbers.
7735 Add clone-of item to list of window parameters.
7736 (window-state-put-2): Don't process clone numbers.
7737 (display-buffer-alist): Fix doc-string.
7738
7739 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7740
7741 * subr.el (remq): Don't allocate if it's not needed.
7742 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7743 (keymap--merge-bindings): New functions.
7744 (keymap-canonicalize): Use them to refine the canonicalization.
7745 * minibuffer.el (minibuffer-local-completion-map)
7746 (minibuffer-local-must-match-map): Move initialization from C.
7747 (minibuffer-local-filename-completion-map): Move initialization from C;
7748 don't inherit from anything here.
7749 (minibuffer-local-filename-must-match-map): Make obsolete.
7750 (completing-read-default): Use make-composed-keymap to combine
7751 minibuffer-local-filename-completion-map with either
7752 minibuffer-local-must-match-map or
7753 minibuffer-local-filename-completion-map.
7754
7755 2011-07-01 Glenn Morris <rgm@gnu.org>
7756
7757 * type-break.el (type-break-time-sum): Use dolist.
7758
7759 * textmodes/flyspell.el (flyspell-word-search-backward):
7760 Replace CL function.
7761
7762 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * mouse.el (mouse--strip-first-event): New function.
7765 (function-key-map): Use it to map fringe clicks to normal clicks
7766 by default.
7767
7768 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7769 (vc-bzr-revision-completion-table): Add support for annotate and date.
7770
7771 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7772 inherit from parent.
7773
7774 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
7776 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7777 (dired-show-file-type): Doc fixup (bug#8818).
7778
7779 * dired.el (dired-mode): Fix up the doc string as suggested by
7780 Drew Adams (bug#8817).
7781
7782 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7783 cookie, since the manual says that it should be possible to add
7784 this function to `find-file-hook' (bug#8709).
7785
7786 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7787
7788 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7789 here. Noted Ted Zlatanov as the maintainer.
7790 (cfengine-common-settings, cfengine-common-syntax): New functions
7791 to set up common things between `cfengine-mode' and
7792 `cfengine3-mode'.
7793 (cfengine3-mode): New mode.
7794 (cfengine3-defuns cfengine3-defuns-regex
7795 (cfengine3-class-selector-regex cfengine3-category-regex)
7796 (cfengine3-vartypes cfengine3-font-lock-keywords)
7797 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7798 (cfengine3-indent-line): Add from cfengine3.el.
7799
7800 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
7801
7802 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7803
7804 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7805
7806 2011-07-01 Martin Rudalics <rudalics@gmx.at>
7807
7808 * window.el (same-window-buffer-names, same-window-regexps)
7809 (same-window-p, special-display-frame-alist)
7810 (special-display-popup-frame, special-display-function)
7811 (special-display-buffer-names, special-display-regexps)
7812 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7813 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7814 (split-window-preferred-function, split-height-threshold)
7815 (split-width-threshold, even-window-heights)
7816 (display-buffer-mark-dedicated, window-splittable-p)
7817 (split-window-sensibly, window-safely-shrinkable-p):
7818 Un-obsolete.
7819 (display-buffer): Don't spread args with function specifier
7820 because special-display-popup-frame won't like it.
7821
7822 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7823
7824 Time-stamp simplifications and fixes.
7825 These improve accuracy slightly, and future-proof the code
7826 against some potential changes to current-time format.
7827
7828 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7829 by using time-since and float-time.
7830
7831 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7832 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7833 + NNN microseconds".
7834
7835 * type-break.el (type-break-time-sum): Rewrite using time-add.
7836
7837 * play/hanoi.el (hanoi-current-time-float): Remove.
7838 All uses replaced by float-time.
7839
7840 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7841 This yields a more-accurate answer.
7842 (rng-time-to-float): Remove; no longer needed.
7843
7844 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7845
7846 * calendar/timeclock.el (timeclock-seconds-to-time):
7847 Defalias to seconds-to-time, since they're the same thing.
7848
7849 * emacs-lisp/elp.el (elp-elapsed-time):
7850 * emacs-lisp/benchmark.el (benchmark-elapse):
7851 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7852
7853 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * window.el (bury-buffer): Don't iconify the only frame.
7856 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7857 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7858
7859 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
7860
7861 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7862 Add mouse-yank-primary.
7863
7864 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7865
7866 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7867
7868 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7871 (find-library-name): Use it to find relative load names when provided
7872 absolute file name (bug#8803).
7873
7874 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7875
7876 * textmodes/flyspell.el (flyspell-word): Consider words that
7877 differ only in case as potential doublons (bug#5687).
7878
7879 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7880 Remove two rather uninteresting debugging-like messages to make
7881 debbugs.el more silent.
7882
7883 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7884 a password-like phrase.
7885
7886 2011-06-30 Masatake YAMATO <yamato@redhat.com>
7887
7888 * progmodes/cc-guess.el: New file.
7889
7890 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7891
7892 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7893 derived from `c-basic-common-init'.
7894
7895 * progmodes/cc-mode.el (top-level): Require cc-guess.
7896 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7897
7898 2011-06-30 Lawrence Mitchell <wence@gmx.li>
7899
7900 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7901
7902 2011-06-30 Alan Mackenzie <acm@muc.de>
7903
7904 * progmodes/cc-engine.el (c-guess-continued-construct):
7905 Correct the handling of template-args-cont, particularly for when font
7906 lock is disabled. Name this case as "CASE G".
7907
7908 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7909
7910 * allout.el (allout-yank-processing): Fix injection of extra space
7911 between bullet and non-whitespace character in first topic when
7912 pasting, ensuring that the actual spacing in the pasted topic
7913 following the bullet char is preserved. This extra space was
7914 causing pasted encrypted topics to get a decrypted status even
7915 when the content was actually still encrypted. Now the decryption
7916 status from before the paste is preserved.
7917
7918 (allout-flag-region): Set all allout overlays so they evaporate
7919 when reduced to zero length (evanescent), to prevent overlay
7920 leakage.
7921
7922 2011-06-30 Glenn Morris <rgm@gnu.org>
7923
7924 * w32-fns.el (w32-charset-info-alist): Declare.
7925
7926 * find-dired.el (find-grep-options): Simplify.
7927
7928 * term/ns-win.el (ns-set-resource): Declare.
7929
7930 * ses.el (row, col): Declare dynamic variables honestly.
7931
7932 * textmodes/reftex-parse.el (index-tags): Declare.
7933
7934 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
7935
7936 * cus-edit.el (customize-push-and-save): New function.
7937
7938 * files.el (hack-local-variables-confirm): Use it.
7939
7940 * custom.el (load-theme): New arg NO-CONFIRM.
7941 Use customize-push-and-save (Bug#8720).
7942 (custom-enabled-themes): Doc fix.
7943
7944 * cus-theme.el (customize-create-theme)
7945 (custom-theme-merge-theme): Callers to load-theme changed.
7946
7947 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7948
7949 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7950 short URLs have at least one dot in them (bug #7614).
7951
7952 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7953 nil, because using a pty is apparently too slow (bug #895).
7954
7955 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7956
7957 * mail/sendmail.el (sendmail-query-once): New function.
7958 (sendmail-query-once-function): New variable.
7959
7960 2011-06-29 Glenn Morris <rgm@gnu.org>
7961
7962 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7963
7964 * ses.el (top-level): Require cl when compiling.
7965 (ses-set-localvars): Fix error statement.
7966 Call it at compile time to silence a storm of warnings.
7967
7968 2011-06-29 Martin Rudalics <rudalics@gmx.at>
7969
7970 * window.el (normalize-live-buffer): Rename to
7971 window-normalize-buffer.
7972 (normalize-live-frame): Rename to window-normalize-frame.
7973 (normalize-any-window): Rename to window-normalize-any-window.
7974 (normalize-live-window): Rename to window-normalize-live-window.
7975 (make-window-atom): Rename to window-make-atom.
7976 (window-resize-reset): Rename to window--resize-reset.
7977 (window-resize-reset-1): Rename to window--resize-reset-1.
7978 (resize-mini-window): Rename to window--resize-mini-window.
7979 (resize-subwindows-skip-p): Rename to
7980 window--resize-subwindows-skip-p.
7981 (resize-subwindows-normal): Rename to
7982 window--resize-subwindows-normal.
7983 (resize-subwindows): Rename to window--resize-subwindows.
7984 (resize-other-windows): Rename to window--resize-siblings.
7985 (resize-this-window): Rename to window--resize-this-window.
7986 (resize-root-window): Rename to window--resize-root-window.
7987 (resize-root-window-vertically): Rename to
7988 window--resize-root-window-vertically.
7989 (normalize-buffer-to-display): Rename to
7990 window-normalize-buffer-to-display.
7991 (normalize-buffer-to-switch-to): Rename to
7992 window-normalize-buffer-to-switch-to.
7993 Correspondingly update all callers of the functions listed
7994 above.
7995 (display-buffer-alist, display-buffer-normalize-arguments)
7996 (display-buffer-normalize-options, display-buffer)
7997 (display-buffer-alist-set): Use "function" instead of
7998 "fun-with-args".
7999
8000 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8001
8002 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8003 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8004 debbugs.gnu.org. Mention acknowledgment email.
8005
8006 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8007
8008 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8009 buffer multibyteness, since it shouldn't matter.
8010
8011 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (display-buffer-in-side-window): Handle dedicated
8014 windows as in display-buffer-reuse-window.
8015 (display-buffer-normalize-alist): Use value of override
8016 specifier.
8017 (display-buffer-normalize-specifiers): Use value of
8018 other-window-means-other-frame specifier.
8019 (display-buffer-alist): Rewrite some texts in widgets.
8020 (display-buffer): Spread arguments when calling function
8021 specified by fun-with-args.
8022
8023 2011-06-28 Deniz Dogan <deniz@dogan.se>
8024
8025 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8026 Unnest `let'.
8027
8028 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8029 selectors (Bug#5732).
8030 (css-proprietary-nmstart-re): Use `regexp-opt'.
8031
8032 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8033
8034 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8035 (eshell-ls-date-format): New defcustom.
8036 (eshell-ls-file): Use it.
8037
8038 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8041
8042 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8043
8044 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8045 (ange-ftp-make-tmp-name): New arg.
8046 (ange-ftp-file-local-copy): Use it.
8047
8048 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8049
8050 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8051 no-conversion (Bug#8870).
8052
8053 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8054
8055 * window.el (window-right, window-left, window-child)
8056 (window-child-count, window-last-child)
8057 (window-iso-combination-p, walk-window-tree-1)
8058 (window-atom-check-1, window-tree-1, delete-window)
8059 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8060 new naming conventions - window-vchild, window-hchild,
8061 window-next and window-prev are now called window-top-child,
8062 window-left-child, window-next-sibling and window-prev-sibling
8063 respectively.
8064 (resize-window-reset): Rename to window-resize-reset.
8065 (resize-window-reset-1): Rename to window-resize-reset-1.
8066 (resize-window): Rename to window-resize.
8067 (window-min-height, window-min-width)
8068 (resize-mini-window, resize-this-window, resize-root-window)
8069 (resize-root-window-vertically, adjust-window-trailing-edge)
8070 (enlarge-window, shrink-window, maximize-window)
8071 (minimize-window, delete-window, quit-restore-window)
8072 (split-window, balance-windows, balance-windows-area-adjust)
8073 (balance-windows-area, window-state-put-2)
8074 (display-buffer-even-window-sizes, display-buffer-set-height)
8075 (display-buffer-set-width, set-window-text-height)
8076 (fit-window-to-buffer): Rename all "resize-window" prefixed
8077 calls to use the "window-resize" prefix convention.
8078 (display-buffer-alist): Fix symbol for label specifier.
8079 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8080 corresponding specifier.
8081 Reported by Juanma Barranquero <lekktu@gmail.com>.
8082
8083 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8084
8085 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8086 convention.
8087 (ses-call-printer): Does not pass an empty string to formatter when the
8088 cell is empty to keep from barking printer Calc math-format-value.
8089
8090 2011-06-27 Richard Stallman <rms@gnu.org>
8091
8092 * battery.el (battery-mode-line-limit): New variable.
8093 (battery-update): Handle it.
8094
8095 * mail/rmailmm.el (rmail-mime-process-multipart):
8096 Handle truncated messages.
8097
8098 2011-06-27 Glenn Morris <rgm@gnu.org>
8099
8100 * progmodes/flymake.el (flymake-err-line-patterns):
8101 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8102
8103 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8104
8105 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8106 (ses--clean-!, ses--clean-_): New functions.
8107 (ses-range): Add configurability of readout order, and conversion
8108 to Calc vector.
8109
8110 * ses.el (ses-repair-cell-reference-all): New function.
8111 (ses-cell-symbol): Set macro as safe, so that it can be used in
8112 formulas.
8113
8114 * ses.el: Update cycle detection algorithm.
8115 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8116 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8117 (ses-set-localvars): New function.
8118 (ses-make-cell): Add property-list as a cell element.
8119 (ses-cell-property-get-fun, ses-cell-property-get)
8120 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8121 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8122 New functions.
8123 (ses-cell-property-set, ses-cell-property-pop)
8124 (ses-cell-property-get-handle): New macro.
8125 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8126 New aliases, used for code readability.
8127 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8128 cycle detection.
8129 (ses-self-reference-early-detection): New defcustom.
8130 (ses-formula-references): Robustify against self-referring cells.
8131 (ses-mode): Use ses-set-localvars.
8132 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8133 before lauching the update processing.
8134 (ses-initialize-Dijkstra-attempt): New function.
8135 (ses-recalculate-cell): Update for cycle detection based on
8136 Dijkstra algorithm.
8137
8138 * ses.el: Fix commenting and indenting convention.
8139
8140 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * bs.el (bs-cycle-next): Complete last change.
8143
8144 2011-06-27 Drew Adams <drew.adams@oracle.com>
8145
8146 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8147
8148 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8149
8150 * net/network-stream.el (network-stream-open-starttls):
8151 Don't re-get capabilities unless we've reestablished connection.
8152 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8153
8154 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8155 to binary to possibly avoid line encoding issues on Windows (among
8156 other things).
8157
8158 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8159
8160 * net/network-stream.el (open-network-stream): Return an :error
8161 saying what the problem was, if possible.
8162
8163 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8164 server.
8165
8166 * net/network-stream.el (network-stream-open-starttls): If we
8167 wanted to use STARTTLS, and the server offered it, but we weren't
8168 able to because we had no STARTTLS support, then close the connection.
8169 (open-network-stream): Return an :error element, if present.
8170
8171 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8172
8173 * hl-line.el (hl-line-sticky-flag): Doc fix.
8174 (global-hl-line-sticky-flag): New option (Bug#8323).
8175 (global-hl-line-highlight): Obey it.
8176
8177 * vc/vc.el (vc-revert-show-diff): Default to t.
8178
8179 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8180
8181 * allout-widgets.el (allout-widgets-post-command-business):
8182 Stop decorating intermediate isearch matches. They're not being
8183 undecorated when an isearch is continued past, and isearch
8184 automatically collapses them. This leads to "widget leaks", where
8185 decorated items accumulate in collapsed areas. Lines with lots of
8186 hidden widgets can slow down cursor travel, substantially.
8187 Too much complicated machinery would be needed to ensure undecoration,
8188 so we're doing without this nicety.
8189
8190 (allout-widgets-tally-string): Don't try to do a hash-table-count
8191 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8192 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8193 *Messages* when allout-widgets-maintain-tally is t.
8194
8195 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8196
8197 * window.el (display-buffer-normalize-argument): Rename to
8198 display-buffer-normalize-arguments. Handle special meaning of
8199 LABEL argument. Respect special-display-function when popping up
8200 a new frame. Fix code searching for a window showing the buffer
8201 on another frame.
8202 (display-buffer-normalize-specifiers):
8203 Call display-buffer-normalize-arguments.
8204 (display-buffer-in-window): Don't undedicate the window if its
8205 buffer remains the same.
8206 Reported by Drew Adams <drew.adams@oracle.com>.
8207 (display-buffer-alist): Add choice for same-window macro
8208 specfier.
8209 (display-buffer): Mention special meaning of LABEL argument in
8210 doc-string. Fix quoting. Don't pop up a new frame even as
8211 fallback.
8212
8213 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8216 avoid deleting the current window in some cases (bug#8911).
8217
8218 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8219
8220 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8221 (Bug#8934)
8222
8223 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8224
8225 * net/network-stream.el (network-stream-open-starttls):
8226 Use built-in TLS support if `gnutls-available-p' is true.
8227 (network-stream-open-tls): Ditto.
8228
8229 2011-06-26 Leo Liu <sdl.web@gmail.com>
8230
8231 * register.el (registerv): New struct.
8232 (registerv-make): New function.
8233 (jump-to-register, describe-register-1, insert-register):
8234 Support the jump-func, print-func and insert-func slot of a registerv
8235 struct. (Bug#8415)
8236
8237 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8238
8239 * vc/vc.el (vc-revert-show-diff): New defcustom.
8240 (vc-diff-internal): New arg specifying diff buffer.
8241 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8242 reuse an existing *vc-diff* buffer (Bug#8927).
8243
8244 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8245
8246 2011-06-26 Glenn Morris <rgm@gnu.org>
8247
8248 * progmodes/f90.el (f90-critical-indent): New option.
8249 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8250 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8251 (f90-mode): Doc fix.
8252 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8253 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8254 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8255 (f90-match-end): Handle block, critical.
8256
8257 2011-06-25 Glenn Morris <rgm@gnu.org>
8258
8259 * calendar/diary-lib.el (diary-included-files): Doc fix.
8260 (diary-include-files): New function, extracted from
8261 diary-include-other-diary-files and diary-mark-included-diary-files.
8262 (diary-include-other-diary-files, diary-mark-included-diary-files):
8263 Just call diary-include-files.
8264 (diary-mark-entries): Reset diary-included-files on first call.
8265
8266 * calendar/diary-lib.el (diary-mark-entries)
8267 (diary-mark-included-diary-files):
8268 Visit included diary-files in temp buffers.
8269
8270 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8271 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8272 (f90-start-block-re, f90-imenu-generic-expression)
8273 (f90-looking-at-program-block-start, f90-no-block-limit):
8274 Add support for submodules.
8275
8276 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8277 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8278
8279 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8280
8281 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8282 buffer-file-type before setting its value, to avoid disastrous
8283 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8284
8285 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8286
8287 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8288
8289 * ses.el (ses-unload-function):
8290 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8291
8292 * proced.el (proced-unload-function):
8293 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8294
8295 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8296
8297 * server.el (server-create-window-system-frame): Add parameters arg.
8298 (server-process-filter): Doc fix. Handle frame-parameters.
8299
8300 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8301
8302 Fix bug#8730, bug#8781.
8303
8304 * loadhist.el (unload--set-major-mode): New function.
8305 (unload-feature): Use it.
8306
8307 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8308 (python-unload-function): New function.
8309
8310 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8313
8314 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8315
8316 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8317 the candidates list.
8318
8319 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8320
8321 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8322
8323 2011-06-23 Richard Stallman <rms@gnu.org>
8324
8325 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8326 (rmail-variables): Set next-error-move-function.
8327 (rmail-what-message): Take argument POS.
8328 (rmail-next-error-move): New function.
8329
8330 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8333 messages for adjacent non-terminals.
8334
8335 2011-06-23 Richard Stallman <rms@gnu.org>
8336
8337 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8338 (rmail-show-message-1): Preserve buffer modified flag.
8339 (rmail-start-mail): Don't specify use of rmail-mail-return;
8340 that's done by mail-bury now.
8341 (rmail-mail-return): Handle arg NEWBUF.
8342
8343 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8344
8345 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8346 SIZE is a number.
8347
8348 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8349
8350 * window.el (get-lru-window, get-mru-window)
8351 (get-largest-window): Never return a minibuffer window.
8352 (display-buffer-pop-up-window): Fix a bug that could lead to
8353 reusing the minibuffer window.
8354 (display-buffer): Pass original specifier argument to
8355 display-buffer-function instead of the normalized one.
8356 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8357
8358 2011-06-22 Leo Liu <sdl.web@gmail.com>
8359
8360 * minibuffer.el (completing-read-function)
8361 (completing-read-default): Move from minibuf.c
8362
8363 2011-06-22 Richard Stallman <rms@gnu.org>
8364
8365 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8366 to Rmail even if not started by a special Rmail command.
8367
8368 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8369 Copy the buffer currently showing just one message.
8370
8371 2011-06-22 Roland Winkler <winkler@gnu.org>
8372
8373 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8374 (bibtex-clean-entry): First delete the old key so that a
8375 customized algorithm for generating the new key does not get
8376 confused by the old key.
8377 (bibtex-url): Obey regexp of first step.
8378 (bibtex-search-entries): Do not use add-to-list with local
8379 list-var.
8380
8381 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8382
8383 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8384 stored a user name, then query for the password first, instead of
8385 waiting for SMTP to give an error message and the trying again.
8386
8387 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8388
8389 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8390 BUFFER in call-process.
8391
8392 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8393
8394 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8395 QUIT twice.
8396 (smtpmail-try-auth-methods): Require user name and password from
8397 auth-source.
8398
8399 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8400
8401 * window.el (display-buffer-default-specifiers)
8402 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8403 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8404 (split-window): Normalize SIDE argument (Bug#8916).
8405
8406 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8407 (special-display-frame-alist, special-display-popup-frame):
8408 Remove duplicate declarations. These are now in window.el.
8409
8410 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8411
8412 * mail/smtpmail.el (smtpmail-via-smtp):
8413 Set :use-starttls-if-possible so that we always use STARTTLS if the
8414 server supports it. SMTP servers that support STARTTLS commonly
8415 require it.
8416
8417 * net/network-stream.el (network-stream-open-starttls): Support
8418 upgrading to STARTTLS always, even if we don't have built-in support.
8419 (open-network-stream): Add the :always-query-capabilities keyword.
8420
8421 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8422 upgrades with `open-network-stream', and rely solely on
8423 auth-source for all credentials. Big changes throughout the file,
8424 but in particular:
8425 (smtpmail-auth-credentials): Remove.
8426 (smtpmail-starttls-credentials): Remove.
8427 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8428 MAIL FROM, too.
8429
8430 * net/network-stream.el (network-stream-open-starttls):
8431 Provide support for client certificates both for external and built-in
8432 STARTTLS.
8433 (auth-source): Require.
8434 (open-network-stream): Document the :client-certificate keyword.
8435 (network-stream-certificate): Change cert-cert to cert and
8436 cert-key to key.
8437
8438 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8439
8440 * net/tramp-cache.el (top): Don't load the persistency file when
8441 "emacs -Q" has been called.
8442
8443 2011-06-21 Tim Harper <timcharper@gmail.com>
8444
8445 * term/ns-win.el (ns-initialize-window-system):
8446 Set application-specific `ApplePressAndHoldEnabled' system
8447 resource to NO as it is not yet supported by the NS port.
8448
8449 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8450
8451 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8452 (list-dynamic-libraries): ...not here.
8453
8454 2011-06-21 Leo Liu <sdl.web@gmail.com>
8455
8456 * subr.el (sha1): Implement sha1 using secure-hash.
8457
8458 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8459
8460 * window.el (display-buffer-alist): In default value do not
8461 enforce searching a window on any but the selected frame.
8462 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8463 (display-buffer-select-window): Remove function.
8464 (display-buffer-in-window): When a window on another frame gets
8465 reused, do not select it any more but just raise its frame if
8466 necessary (Bug#8851) and (Bug#8856).
8467 (display-buffer-normalize-options): Handle pop-up-frames related
8468 options more faithfully.
8469 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8470 window if it is on another frame.
8471 (display-buffer-alist, display-buffer-default-specifiers):
8472 Don't make new frame unsplittable by default.
8473 (display-buffer-normalize-argument): Fix doc-string typo and use
8474 'same-frame-other-window instead of 'other-window when associating
8475 with display-buffer-macro-specifiers.
8476
8477 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8478
8479 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8480 New functions.
8481 (5x5-mode-map, 5x5-mode-menu): Bind them.
8482 (5x5-draw-grid): Tweak the solver's rendering.
8483
8484 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8487 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8488
8489 2011-06-21 Drew Adams <drew.adams@oracle.com>
8490
8491 * menu-bar.el: Use function variable instead of switch-to-buffer.
8492 (menu-bar-select-buffer-function): New variable.
8493 (menu-bar-update-buffers): Use it (bug#8876).
8494
8495 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8498 variable's status.
8499
8500 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8501
8502 * x-dnd.el (x-dnd-version-from-flags)
8503 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8504 and long as number (Bug#8899).
8505 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8506
8507 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8510 (completion-try-completion, completion-all-completions): Compute the
8511 metadata argument if it's missing; make it optional (bug#8795).
8512
8513 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8514 (widget-complete): Use new :completion-function property.
8515 (widget-completions-at-point): New function.
8516 (default): Use :completion-function instead of :complete.
8517 (widget-default-completions): Rename from widget-default-complete;
8518 Rewrite.
8519 (widget-string-complete, widget-file-complete, widget-color-complete):
8520 Remove functions.
8521 (file, symbol, function, variable, coding-system, color):
8522 * international/mule-cmds.el (default-input-method, charset)
8523 (language-info-custom-alist):
8524 * cus-edit.el (face): Use new property :completions.
8525
8526 * progmodes/pascal.el (pascal-completions-at-point): New function.
8527 (pascal-mode): Use it.
8528 (pascal-mode-map): Use completion-at-point.
8529 (pascal-toggle-completions): Make obsolete.
8530 (pascal-complete-word, pascal-show-completions):
8531 * progmodes/octave-mod.el (octave-complete-symbol):
8532 Redefine as obsolete alias.
8533 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8534 Signal absence of completion info for old Octave,
8535 (inferior-octave-complete): Redefine as obsolete alias.
8536 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8537 (meta-completions-at-point): Rename from meta-complete-symbol and
8538 adapt it for use on completion-at-point-functions.
8539 (meta-common-mode): Use it.
8540 (meta-looking-at-backward, meta-match-buffer): Remove.
8541 (meta-complete-symbol): Redefine as obsolete alias.
8542 (meta-common-mode-map): Use completion-at-point.
8543 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8544 (makefile-mode-map): Use completion-at-point.
8545 (makefile-completions-at-point): Rename from makefile-complete and
8546 adapt it for use on completion-at-point-functions.
8547 (makefile-mode): Use it.
8548 (makefile-complete): Redefine as obsolete alias.
8549
8550 2011-06-20 Deniz Dogan <deniz@dogan.se>
8551
8552 * net/rcirc.el: Delete trailing whitespaces once and for all.
8553
8554 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8555
8556 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8557
8558 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8559
8560 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8561
8562 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8563
8564 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8565
8566 * window.el (display-buffer-other-window-means-other-frame):
8567 Call display-buffer-normalize-alist.
8568 (display-buffer-normalize-specifiers-1): Rename to
8569 display-buffer-normalize-argument. New argument other-frame.
8570 Rewrite.
8571 (display-buffer-normalize-specifiers-2): Rename to
8572 display-buffer-normalize-options.
8573 (display-buffer-normalize-alist-1): New function.
8574 (display-buffer-normalize-specifiers-3): Rename to
8575 display-buffer-normalize-alist.
8576 Call display-buffer-normalize-alist-1.
8577 (display-buffer-normalize-options-inhibit): New variable.
8578 (display-buffer-normalize-specifiers): Rewrite calling
8579 display-buffer-normalize-alist,
8580 display-buffer-normalize-argument, and
8581 display-buffer-normalize-options. Don't call the latter if
8582 display-buffer-normalize-options-inhibit is non-nil.
8583 (frame-auto-delete): New option.
8584 (window-deletable-p): Use frame-auto-delete.
8585 (window-list-no-nils, window-state-ignored-parameters)
8586 (window-state-get-1, window-state-get, window-state-put-list)
8587 (window-state-put-1, window-state-put-2, window-state-put):
8588 New functions.
8589 (display-buffer-normalize-options): Move special-display-p group
8590 after pop-up-frame group (Bug#8851) and (Bug#8856).
8591
8592 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8593
8594 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8595 groups (Bug#8776).
8596 (rx-submatch-n): New function.
8597 (rx): Document it.
8598
8599 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8600 (Bug#8768).
8601
8602 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8603
8604 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8605
8606 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8607 anytime existing face settings are present (Bug#8889).
8608
8609 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8610 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8611 Remove unused argument.
8612
8613 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8614
8615 * window.el (display-buffer-default-specifiers):
8616 Remove pop-up-frame. Add pop-up-window-min-height,
8617 pop-up-window-min-width, and another reuse-window specifier
8618 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8619 (display-buffer-normalize-specifiers-2):
8620 Handle split-height-threshold and split-width-threshold also when
8621 pop-up-windows is unset. Add a reuse-window specifier for the
8622 case popping up a new window fails.
8623 (special-display-popup-frame): Remove double quoting.
8624 (display-buffer-normalize-specifiers-1): Fix thinko.
8625
8626 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8629 according to comint-completion-addsuffix.
8630
8631 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8632 (pcomplete-suffix-list): Mark as obsolete.
8633 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8634 pcomplete-seen in the closure.
8635 (pcomplete-comint-setup): Setup completion-at-point as well.
8636 (pcomplete--entries): New function.
8637 (pcomplete--env-regexp): New var.
8638 (pcomplete-entries): Rewrite to work with partial-completion and
8639 without relying on pcomplete-suffix-list.
8640 (pcomplete-pare-list): Remove, unused.
8641
8642 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8643
8644 * window.el (display-buffer-alist): Set pop-up-window-min-height
8645 and pop-up-window-min-width in default value. Reported by
8646 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8647 other-window-means-other-frame.
8648 (display-buffer-macro-specifiers): Comment out entry for
8649 other-window specifier.
8650 (display-buffer-other-window-means-other-frame): New function.
8651 (display-buffer-normalize-specifiers-1): New arguments
8652 buffer-name and label. Treat other-window case specially.
8653 (display-buffer-normalize-specifiers-2): Treat other-window case
8654 specially.
8655 (display-buffer-normalize-specifiers-3): New function.
8656 (display-buffer-normalize-specifiers):
8657 Call display-buffer-normalize-specifiers-3.
8658
8659 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8660
8661 * window.el (same-window-p): Fix two typos introduced when
8662 adding with-no-warnings.
8663 (display-buffer-normalize-specifiers-1): Don't check
8664 pop-up-frames for 'unset initialization.
8665 (display-buffer-normalize-specifiers-2): Major rewrite using
8666 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8667 (pop-up-frames, display-buffer-reuse-frames)
8668 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8669 Suggested by David Engster <deng@randomsample.de>.
8670 (even-window-heights): Initialize to 'unset.
8671 (display-buffer-alist-set): Handle new 'unset initializations.
8672 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8673 other window case.
8674
8675 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8676
8677 * window.el (display-buffer-normalize-specifiers-1):
8678 Respect current value of pop-up-frames for most reasonable values of
8679 second argument of display-buffer (Bug#8865).
8680 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8681 (switch-to-buffer-other-window-same-frame)
8682 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8683 Adams (Bug#8875).
8684 (display-buffer): Don't check noninteractive when calling
8685 display-buffer-pop-up-frame.
8686 (display-buffer-pop-up-frame): Never pop up a frame in
8687 noninteractive mode (Bug#8857).
8688 (enlarge-window, shrink-window): Don't report an error when the
8689 window can't be resized as requested (Bug#8862).
8690
8691 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8694
8695 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8696
8697 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8698
8699 2011-06-15 Alan Mackenzie <acm@muc.de>
8700
8701 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8702 for declarators, disable knr checking to speed up for normal files.
8703 2: Refactor, replacing a sequence of nested if forms by a cond form.
8704
8705 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8706
8707 * net/network-stream.el (open-network-stream): Add the keyword
8708 :always-query-capabilities for the case where you want to force a
8709 `plain' network connection, but the protocol still requires the
8710 capabilitiy command (i.e., SMTP and EHLO).
8711
8712 * subr.el (process-live-p): Rename from `process-alive-p' for
8713 consistency with other `-live-p' functions.
8714
8715 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * window.el (same-window-buffer-names, same-window-regexps)
8718 (special-display-frame-alist, special-display-popup-frame)
8719 (special-display-function, special-display-buffer-names)
8720 (special-display-regexps, pop-up-frame-alist)
8721 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8722 (pop-up-windows, split-window-preferred-function)
8723 (split-height-threshold, split-width-threshold, even-window-heights)
8724 (display-buffer-mark-dedicated): Don't encourage the use of
8725 display-buffer-alist from Elisp code.
8726
8727 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8728
8729 * progmodes/python.el (python-mode): Derive from prog-mode.
8730 * progmodes/ps-mode.el (ps-mode):
8731 * progmodes/mixal-mode.el (mixal-mode):
8732 * progmodes/cfengine.el (cfengine-mode):
8733 * progmodes/ld-script.el (ld-script-mode): Likewise.
8734
8735 2011-06-15 Martin Rudalics <rudalics@gmx.at>
8736
8737 * window.el (display-buffer-alist): Trim default value to avoid
8738 popping up a new frame (Bug#8857) or reusing an arbitrary window
8739 on another frame.
8740 (display-buffer): Do not fall back on popping up a new frame in
8741 batch mode (Bug#8857).
8742
8743 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
8744
8745 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8746 (custom-theme-summary): New function.
8747 (customize-themes): Use it.
8748
8749 2011-06-13 Glenn Morris <rgm@gnu.org>
8750
8751 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8752
8753 2011-06-13 Martin Rudalics <rudalics@gmx.at>
8754
8755 * help.el (help-window): Remove variable.
8756 (help-window-point-marker, temp-buffer-max-height)
8757 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8758 (help-print-return-message): Don't set help-window.
8759 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8760 (help-window-setup-finish): Remove.
8761 (help-window-display-message, help-window-setup)
8762 (with-help-window): Major rewrite based on new
8763 display-buffer-window variable.
8764
8765 * help-mode.el (help-mode-finish): Remove help-window related
8766 code.
8767
8768 * view.el (view-exits-all-viewing-windows): Remove reference to
8769 view-return-to-alist in doc-string.
8770 (view-return-to-alist): Make obsolete.
8771 (view-buffer): Call pop-to-buffer-same-window and remove
8772 undo-window code.
8773 (view-buffer-other-window): Call pop-to-buffer-other-window and
8774 simplify code. Ignore second argument.
8775 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8776 simplify code. Ignore second argument.
8777 (view-return-to-alist-update): Make obsolete.
8778 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8779 Rewrite using quit-restore window parameters.
8780 (view-mode-exit): Rename second argument to EXIT-ONLY.
8781 Rewrite using quit-restore-window.
8782 (View-exit, View-exit-and-edit, View-leave, View-quit)
8783 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8784 appropriate arguments.
8785 (view-end-message): Use quit-restore window parameter.
8786
8787 * window.el (display-buffer-function): Rewrite doc-string.
8788 (display-buffer-window, display-buffer-alist): New variables.
8789 (display-buffer-split-specifiers)
8790 (display-buffer-side-specifiers)
8791 (display-buffer-macro-specifiers): New constants.
8792 (display-buffer-even-window-sizes, display-buffer-set-height)
8793 (display-buffer-set-width, display-buffer-select-window)
8794 (display-buffer-in-window, display-buffer-reuse-window)
8795 (display-buffer-split-window-1, display-buffer-split-window)
8796 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8797 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8798 (display-buffer-in-side-window, normalize-buffer-to-display)
8799 (display-buffer-normalize-specifiers-1)
8800 (display-buffer-normalize-specifiers-2)
8801 (display-buffer-normalize-specifiers, display-buffer-frame):
8802 New functions.
8803 (display-buffer): Major rewrite.
8804 (display-buffer-other-window, display-buffer-other-frame)
8805 (pop-to-buffer, switch-to-buffer-other-window)
8806 (switch-to-buffer-other-frame): Rewrite.
8807 (display-buffer-same-window, display-buffer-same-frame)
8808 (display-buffer-same-frame-other-window)
8809 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8810 (pop-to-buffer-other-window)
8811 (pop-to-buffer-same-frame-other-window)
8812 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8813 (switch-to-buffer-other-window-same-frame): New functions.
8814 (same-window-p, special-display-p): Rewrite disabling warnings.
8815 Make obsolete.
8816 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8817 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8818 Make obsolete
8819 (same-window-buffer-names, same-window-regexps)
8820 (special-display-frame-alist, special-display-popup-frame)
8821 (special-display-function, special-display-buffer-names)
8822 (special-display-regexps, pop-up-frame-alist)
8823 (pop-up-frame-function, split-window-preferred-function)
8824 (split-height-threshold, split-width-threshold)
8825 (even-window-heights): Make obsolete.
8826
8827 2011-06-12 Glenn Morris <rgm@gnu.org>
8828
8829 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8830 Misc simplifications.
8831
8832 2011-06-12 Martin Rudalics <rudalics@gmx.at>
8833
8834 * window.el (window-safely-shrinkable-p): Restore function which
8835 was inadvertently removed in change from 2011-06-11. Declare as
8836 obsolete.
8837
8838 * calendar/calendar.el (calendar-generate-window):
8839 Use window-iso-combined-p instead of combination of one-window-p and
8840 window-safely-shrinkable-p.
8841
8842 2011-06-12 Glenn Morris <rgm@gnu.org>
8843
8844 * progmodes/fortran.el (fortran-mode-syntax-table):
8845 * progmodes/f90.el (f90-mode-syntax-table):
8846 Set % to punctuation. (Bug#8820)
8847 (f90-find-tag-default): Remove, no longer needed.
8848
8849 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8850
8851 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8852
8853 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
8854
8855 * image.el (image-animated-p): Return animation delay in seconds.
8856 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8857 (image-animate-timeout): Remove DELAY argument. Don't assume
8858 every subimage has the same delay; get it from image-animated-p.
8859 (image-animate): Caller changed.
8860
8861 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
8862
8863 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8864 to ignored backtrace functions.
8865
8866 2011-06-11 Glenn Morris <rgm@gnu.org>
8867
8868 * calendar/appt.el (appt-disp-window-function): Doc fix.
8869 (appt-check): Handle overlapping appointments. (Bug#8337)
8870
8871 2011-06-11 Martin Rudalics <rudalics@gmx.at>
8872
8873 * window.el (window-tree-1, window-tree): New functions, moving
8874 the latter to window.el.
8875 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8876 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8877 (bw-refresh-edges): Remove.
8878 (balance-windows-1, balance-windows-2): New functions.
8879 (balance-windows): Rewrite in terms of window tree functions,
8880 balance-windows-1 and balance-windows-2.
8881 (bw-adjust-window): Remove.
8882 (balance-windows-area-adjust): New function with functionality of
8883 bw-adjust-window but using resize-window.
8884 (set-window-text-height): Rewrite doc-string.
8885 Use normalize-live-window and resize-window.
8886 (enlarge-window-horizontally, shrink-window-horizontally):
8887 Rename argument to DELTA.
8888 (window-buffer-height): New function.
8889 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8890 Rewrite using new window resize routines.
8891 (kill-buffer-and-window, mouse-autoselect-window-select):
8892 Use ignore-errors instead of condition-case.
8893 (quit-window): Call delete-frame instead of delete-windows-on
8894 for the only buffer on frame.
8895
8896 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8897
8898 * loadup.el (top-level): Load window before files for the sake
8899 of replace-buffer-in-windows.
8900
8901 * files.el (read-buffer-to-switch)
8902 (switch-to-buffer-other-window)
8903 (switch-to-buffer-other-frame, display-buffer-other-frame):
8904 Move to window.el.
8905
8906 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8907 (previous-buffer): Move to window.el.
8908
8909 * bindings.el (unbury-buffer): Move to window.el.
8910
8911 * window.el (delete-other-windows-vertically): Move after
8912 definition of delete-other-windows.
8913 (other-window, delete-windows-on, replace-buffer-in-windows):
8914 Move here from window.c.
8915 (record-window-buffer, unrecord-window-buffer)
8916 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8917 (switch-to-next-buffer): New functions.
8918 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8919 from simple.el. Call switch-to-next-buffer.
8920 (previous-buffer): Move here from simple.el.
8921 Call switch-to-prev-buffer.
8922 (bury-buffer): Move here from buffer.c. Switch to previous
8923 buffer when window cannot be deleted.
8924 (unbury-buffer): Move here from bindings.el.
8925 (ctl-x-map): Move binding for other-window from window.c to
8926 here.
8927 (read-buffer-to-switch, switch-to-buffer-other-window)
8928 (switch-to-buffer-other-frame): Move here from files.el.
8929 (normalize-buffer-to-switch-to): New functions.
8930 (switch-to-buffer): Move here from buffer.c.
8931 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8932
8933 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8934
8935 * window.el (window-min-height, window-min-width): Move here
8936 from window.c. Add defcustoms and rewrite doc-strings.
8937 (resize-mini-window, resize-window): New functions.
8938 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8939 Move here from window.c.
8940 (maximize-window, minimize-window): New functions.
8941 (delete-window, delete-other-windows, split-window): Move here
8942 from window.c.
8943 (window-split-min-size): New function.
8944 (split-window-keep-point): Mention split-window-above-each-other
8945 instead of split-window-vertically.
8946 (split-window-above-each-other, split-window-vertically):
8947 Rename split-window-vertically to split-window-above-each-other
8948 and provide defalias for old definition.
8949 (split-window-side-by-side, split-window-horizontally):
8950 Rename split-window-horizontally to split-window-side-by-side
8951 and provide defalias for the old definition.
8952 (ctl-x-map): Move bindings for delete-window,
8953 delete-other-windows and enlarge-window here from window.c.
8954 Replace bindings for split-window-vertically and
8955 split-window-horizontally by bindings for
8956 split-window-above-each-other and split-window-side-by-side.
8957
8958 * cus-start.el (all): Remove entries for window-min-height and
8959 window-min-width. Add entries for window-splits and
8960 window-nest.
8961
8962 2011-06-09 Glenn Morris <rgm@gnu.org>
8963
8964 * calendar/appt.el (appt-mode-line): New function.
8965 (appt-check, appt-disp-window): Use it.
8966
8967 * files.el (hack-one-local-variable-eval-safep):
8968 Allow minor-modes with explicit +/-1 arguments.
8969
8970 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8971
8972 * term/xterm.el (xterm): Add defgroup.
8973 (xterm-extra-capabilities): Add defcustom to supply known xterm
8974 capabilities, skip querying them, or query them (default).
8975 (terminal-init-xterm): Use it.
8976 (terminal-init-xterm-modify-other-keys): New function to set up
8977 modifyOtherKeys support to simplify `terminal-init-xterm'.
8978
8979 2011-06-09 Martin Rudalics <rudalics@gmx.at>
8980
8981 * window.el (resize-window-reset, resize-window-reset-1)
8982 (resize-subwindows-skip-p, resize-subwindows-normal)
8983 (resize-subwindows, resize-other-windows, resize-this-window)
8984 (resize-root-window, resize-root-window-vertically)
8985 (window-deletable-p, window-or-subwindow-p)
8986 (frame-root-window-p): New functions.
8987
8988 2011-06-09 Glenn Morris <rgm@gnu.org>
8989
8990 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8991 (ange-ftp-get-files): Use it.
8992
8993 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8994
8995 * mail/sendmail.el (mail-recover-1, mail-recover):
8996 * files.el (recover-file, recover-session):
8997 Handle dired-listing-switches not being just a single short option.
8998
8999 2011-06-09 Glenn Morris <rgm@gnu.org>
9000
9001 * calendar/appt.el (appt-display-message, appt-disp-window):
9002 Handle lists of appointments.
9003
9004 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9005
9006 * window.el (one-window-p): Move down in code.
9007 Rewrite doc-string.
9008 (window-current-scroll-bars): Rewrite doc-string.
9009 Normalize live window argument.
9010 (walk-windows, get-window-with-predicate, count-windows):
9011 Rewrite doc-string. Use window-list-1.
9012 (window-in-direction-2, window-in-direction, get-mru-window):
9013 New functions.
9014
9015 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9016
9017 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9018 Doc fix (Bug#8713).
9019
9020 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9021
9022 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9023
9024 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9025
9026 * loadhist.el (unload-feature-special-hooks):
9027 Add `comint-output-filter-functions'.
9028
9029 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9030
9031 * calendar/appt.el (appt-check): Move some initializations into the let.
9032
9033 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9034
9035 * window.el (window-height): Defalias to window-total-height.
9036 (window-width): Defalias to window-body-width.
9037
9038 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9039
9040 * image-mode.el (image-toggle-animation): New command.
9041 (image-mode-map): Bind it to RET.
9042 (image-mode): Update message.
9043 (image-toggle-display-image): Avoid a spurious cache flush.
9044 (image-transform-rotation): Doc fix.
9045 (image-transform-properties): Return quickly in the normal case.
9046 (image-animate-loop): Rename from image-animate-max-time.
9047
9048 * image.el (image-animate-max-time): Move to image-mode.el.
9049 (create-animated-image): Remove unnecessary function.
9050 (image-animate): Rename from image-animate-start. New arg.
9051 (image-animate-stop): Remove; just use image-animate-timer.
9052 (image-animate-timer): Use car-safe.
9053 (image-animate-timeout): Rename argument.
9054
9055 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9056
9057 * window.el (get-lru-window, get-largest-window): Move here from
9058 window.c. Rename first argument to ALL-FRAMES.
9059 Rephrase doc-strings.
9060 (get-buffer-window-list): Rewrite using window-list-1.
9061 Rephrase doc-string.
9062 (window-safe-min-height, window-safe-min-width): New constants.
9063 (window-size-ignore, window-min-size, window-min-size-1)
9064 (window-sizable, window-sizable-p, window-size-fixed-1)
9065 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9066 (window-max-delta-1, window-max-delta, window-resizable)
9067 (window-resizable-p, window-total-height, window-total-width)
9068 (window-body-width): New functions.
9069 (window-full-height-p, window-full-width-p): Rewrite using
9070 window-total-size.
9071 (window-body-height): Rewrite using window-body-size.
9072
9073 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9074
9075 * window.el (window-right, window-left, window-child)
9076 (window-child-count, window-last-child, window-any-p)
9077 (normalize-live-buffer, normalize-live-frame)
9078 (normalize-any-window, normalize-live-window)
9079 (window-iso-combination-p, window-iso-combined-p)
9080 (window-iso-combinations)
9081 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9082 (windows-with-parameter, window-with-parameter)
9083 (window-atom-root, make-window-atom, window-atom-check-1)
9084 (window-atom-check, window-side-check, window-check):
9085 New functions.
9086 (ignore-window-parameters, window-sides, window-sides-vertical)
9087 (window-sides-slots): New variables.
9088 (window-size-fixed): Move down in code. Minor doc-string fix.
9089
9090 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9091
9092 * comint.el (comint-dynamic-complete-as-filename)
9093 (comint-dynamic-complete-filename): Correctly call
9094 completion-in-region.
9095
9096 2011-06-05 Deniz Dogan <deniz@dogan.se>
9097
9098 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9099 in last change.
9100
9101 2011-06-05 Deniz Dogan <deniz@dogan.se>
9102
9103 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9104 (rcirc): Use it to prompt for encryption.
9105
9106 2011-06-05 Roland Winkler <winkler@gnu.org>
9107
9108 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9109 (bibtex-search-entries): New command bound to C-c C-a.
9110 (bibtex-display-entries): New function.
9111
9112 2011-06-05 Roland Winkler <winkler@gnu.org>
9113
9114 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9115 (bibtex-insert-kill): After yanking insert newline if necessary.
9116 (bibtex-initialize): Call bibtex-string-files-init only once.
9117 (bibtex-mode): Do not call easy-menu-add.
9118 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9119 (bibtex-yank): Set arg properly if nil.
9120
9121 2011-06-05 Roland Winkler <winkler@gnu.org>
9122
9123 * textmodes/bibtex.el (bibtex-search-entry-globally):
9124 New variable.
9125 (bibtex-search-entry): Use it.
9126
9127 2011-06-05 Roland Winkler <winkler@gnu.org>
9128
9129 * textmodes/bibtex.el (bibtex-entry-format): New option
9130 sort-fields.
9131 (bibtex-format-entry, bibtex-reformat): Honor this option.
9132 (bibtex-parse-entry): Return fields in proper order.
9133
9134 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9135
9136 * doc-view.el (doc-view-remove-if): Move computation of result out
9137 of `dolist' to silence misleading lexical-binding warning.
9138
9139 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9140
9141 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9142 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9143
9144 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9145
9146 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9147 "SunOS 5.10".
9148
9149 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9150
9151 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9152 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9153 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9154 (tramp-parse-putty):
9155 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9156 (tramp-completion-function-alist-ssh)
9157 (tramp-completion-function-alist-telnet)
9158 (tramp-completion-function-alist-su)
9159 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9160 cookie.
9161
9162 * net/tramp-ftp.el:
9163 * net/tramp-sh.el:
9164 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9165 load "tramp.el" `tramp-set-completion-function'.
9166
9167 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * shell.el: Require and use pcomplete.
9170 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9171 (shell-completion-vars): Set pcomplete-default-completion-function.
9172
9173 2011-06-04 Deniz Dogan <deniz@dogan.se>
9174
9175 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9176 `memq' (Bug#8799).
9177
9178 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9181
9182 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9183
9184 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9185 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9186 * vc/log-view.el (log-view-beginning-of-defun):
9187 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9188 (smerge-refine-forward, smerge-refine-chopup-region):
9189 Silence warning for unused `dotimes' counter variables.
9190
9191 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * net/tramp.el (tramp-with-progress-reporter): Rename from
9194 with-progress-reporter. Use `declare'.
9195 * net/tramp-smb.el:
9196 * net/tramp-sh.el:
9197 * net/tramp-gvfs.el: Update all uses.
9198
9199 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9200
9201 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9202 buffer isn't killed before making it current.
9203
9204 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9205
9206 Silence various byte-compiler warnings.
9207 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9208 `access-type' and new obsolescence format.
9209 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9210 new format.
9211 (byte-compile-check-variable): New `access-type' argument.
9212 Only warn if the access-type is obsolete.
9213 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9214 (byte-compile-variable-set): Adjust callers.
9215 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9216 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9217 setting it as obsolete.
9218 * simple.el (minibuffer-completing-symbol):
9219 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9220 access as obsolete.
9221 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9222 obsolete yet.
9223 * international/quail.el (quail-mouse-choose-completion): Remove unused
9224 code referring to obsolete var.
9225 (quail-choose-completion-string): Remove.
9226 * server.el (server-clients-with, server-kill-buffer-query-function)
9227 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9228 * proced.el (proced-send-signal):
9229 * emacs-lisp/lisp.el (lisp-complete-symbol):
9230 Replace completion-annotate-function with completion-extra-properties.
9231
9232 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * simple.el (goto-line): Use read-number.
9235 (overriding-map-is-bound): Remove.
9236 (saved-overriding-map): Change default.
9237 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9238 Take the map as argument.
9239 (universal-argument, negative-argument, digit-argument): Use it.
9240 (restore-overriding-map): Adjust.
9241 (do-auto-fill): Use fill-forward-paragraph.
9242 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9243
9244 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9245 (minibuffer-inactive-mode): New major mode.
9246 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9247 the *Messages* buffer" hack.
9248 (mouse-popup-menubar): Don't burp if the event is a normal key.
9249
9250 Miscellaneous tweaks.
9251 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9252 lexical scoping as in subr.el's dolist and dotimes.
9253 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9254 Silence compiler warning.
9255 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9256 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9257 * international/ccl.el (ccl-compile): Trivial simplification.
9258 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9259 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9260 `printflag' argument.
9261 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9262 Purecopy the whole obsolescence data.
9263
9264 2011-06-01 Leo Liu <sdl.web@gmail.com>
9265
9266 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9267 improve doc-string as suggested by Marco Pessotto
9268 <melmothx@gmail.com>.
9269 (rcirc-print): Fix last change.
9270
9271 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * minibuffer.el (complete-with-action): Return nil for the metadata and
9274 boundaries of non-functional tables.
9275 (completion-table-dynamic): Return nil for the metadata.
9276 (completion-table-with-terminator): Add default case, using
9277 complete-with-action.
9278 (completion--metadata): New function.
9279 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9280 to try and avoid pathological performance problems.
9281 (completion--embedded-envvar-table): Return `category' metadata.
9282
9283 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9284
9285 * subr.el (process-alive-p): New tiny convenience function.
9286
9287 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9290 content but also its previous major mode.
9291
9292 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9293
9294 * emacs-lisp/debug.el (debug): Restore the previous content of the
9295 *Backtrace* buffer when we exit with C-M-c.
9296
9297 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * minibuffer.el: Add metadata method to completion tables.
9300 (completion-category-overrides): New defcustom.
9301 (completion-metadata, completion--field-metadata)
9302 (completion-metadata-get, completion--styles)
9303 (completion--cycle-threshold): New functions.
9304 (completion-try-completion, completion-all-completions):
9305 Add `metadata' argument to choose completion-styles.
9306 (completion--do-completion): Use metadata to choose cycling.
9307 (completion-all-sorted-completions): Use metadata for sorting.
9308 Remove :completion-cycle-penalty which is not needed any more.
9309 (completion--try-word-completion): Add `metadata' argument.
9310 (minibuffer-completion-help): Check metadata for annotation function
9311 and sorting.
9312 (completion-file-name-table): Return `category' metadata.
9313 (minibuffer-completing-file-name): Make obsolete.
9314 * simple.el (minibuffer-completing-symbol): Make obsolete.
9315 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9316 completion-try-completion.
9317
9318 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9321
9322 2011-05-30 Leo Liu <sdl.web@gmail.com>
9323
9324 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9325 (rcirc-print): Decode all incoming messages (bug#8744).
9326 (rcirc-decode-coding-system): Allow value nil for automatic coding
9327 system detection.
9328
9329 2011-06-01 Glenn Morris <rgm@gnu.org>
9330
9331 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9332
9333 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9334
9335 * image.el (image-animate-max-time): Allow nil and t values.
9336 Default to nil.
9337 (create-animated-image): Doc fix.
9338 (image-animate-start): Remove second arg; just use
9339 image-animate-max-time.
9340 (image-animate-timeout): Doc fix. Args changed.
9341
9342 * image-mode.el (image-toggle-display-image): Ensure that the
9343 image spec passed to the animate timer is the same object as in
9344 the buffer's display property (Bug#6981).
9345 (image-transform-properties): Doc fix.
9346
9347 * image.el (image-animate-max-time): Default to nil.
9348
9349 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9350
9351 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9352 entire buffer list (Bug#8184).
9353
9354 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9355
9356 * image.el (imagemagick-types-inhibit)
9357 (imagemagick-register-types): Doc fix.
9358
9359 2011-05-29 Deniz Dogan <deniz@dogan.se>
9360
9361 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9362 default.
9363
9364 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9365
9366 * select.el: Don't perform clipboard-manager saving in hooks;
9367 leave the hooks empty.
9368
9369 2011-05-28 Leo Liu <sdl.web@gmail.com>
9370
9371 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9372 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9373 (occur-edit-mode): New major mode (Bug#8463).
9374 (occur-after-change-function): New function.
9375 (occur-engine): Give Occur tags a read-only property.
9376
9377 2011-05-28 Kevin Ryde <user42@zip.com.au>
9378
9379 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9380
9381 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9382
9383 * bindings.el (help-echo): Make the initial non-indicator dash
9384 empty on graphical terminals (Bug#7295).
9385
9386 * files.el (auto-mode-alist): Move config rule after the
9387 in-stripping one (Bug#8547).
9388
9389 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9390
9391 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9392 setting (Bug#8740).
9393
9394 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9395
9396 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9397 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9398 (Bug#8539).
9399
9400 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9401
9402 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9403
9404 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9405
9406 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9407 (hs-hide-block-at-point, hs-find-block-beginning)
9408 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9409 (Bug#8279).
9410
9411 2011-05-28 Glenn Morris <rgm@gnu.org>
9412
9413 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9414
9415 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9416
9417 * help-fns.el (describe-function-1): If the function is a derived
9418 major mode, print the parent mode.
9419
9420 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9421 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9422
9423 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * minibuffer.el (completion--capf-wrapper): Check applicability before
9426 returning non-nil for non-exclusive completion data.
9427 * progmodes/etags.el (tags-completion-at-point-function):
9428 * info-look.el (info-lookup-completions-at-point): Mark as
9429 non-exclusive.
9430 (info-complete): Adjust accordingly.
9431
9432 * info-look.el: Convert to lexical-binding and completion-at-point.
9433 (info-lookup-completions-at-point): New function.
9434 (info-complete): Use it and completion-in-region.
9435
9436 2011-05-28 Drew Adams <drew.adams@oracle.com>
9437
9438 * isearch.el: Let M-e start with point at the first mismatched char.
9439 (isearch-fail-pos): New function.
9440 (isearch-edit-string): Use it.
9441
9442 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9443
9444 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9445
9446 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9447
9448 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9449 traversal functions for avl-trees.
9450 (avl-tree--stack): New struct.
9451 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9452 (avl-tree-enter): Add optional `updatefun' arg.
9453 (avl-tree--do-enter): Add optional `updatefun' arg.
9454 Change return value.
9455 (avl-tree-delete): Add optional `test' and `nilflag' args.
9456 (avl-tree--do-delete): Add `test' and `nilflag' args.
9457 Change return value.
9458 (avl-tree-member): Add optional `nilflag'
9459 (avl-tree-member-p): New function.
9460 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9461 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9462 (avl-tree-stack-empty-p): New functions.
9463
9464 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9465 avl-tree--del-balance1 and make it work both ways.
9466 (avl-tree--del-balance2): Remove.
9467 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9468 make it work both ways.
9469 (avl-tree--enter-balance2): Remove.
9470 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9471 New macros.
9472 (avl-tree--mapc, avl-tree-map): Add direction argument.
9473
9474 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9475
9476 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9477
9478 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9479
9480 * select.el: Support clipboard managers with built-in function
9481 x-clipboard-manager-save, via delete-frame-functions and
9482 kill-emacs-hook.
9483 (xselect-convert-to-targets): Add MULTIPLE target to list.
9484 (xselect-convert-to-save-targets): New function.
9485
9486 2011-05-27 Kenichi Handa <handa@m17n.org>
9487
9488 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9489 let-binding rfc2047-encode-encoded-words to nil.
9490
9491 2011-05-27 Glenn Morris <rgm@gnu.org>
9492
9493 * mail/emacsbug.el: Don't require url-util.
9494
9495 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9496
9497 * files.el (set-auto-mode):
9498 Also respect mode: entries at the end of the file. (Bug#8586)
9499
9500 2011-05-26 Glenn Morris <rgm@gnu.org>
9501
9502 * files.el (hack-local-variables-prop-line, hack-local-variables):
9503 Downcase mode names, as seems to be traditional.
9504 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9505
9506 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9507 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9508
9509 2011-05-25 Julien Danjou <julien@danjou.info>
9510
9511 * textmodes/rst.el (rst-define-level-faces): Do not define face
9512 symbol if it is already defined.
9513
9514 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9515
9516 * play/5x5.el (5x5-new-game, 5x5-randomize):
9517 Reset 5x5-solver-output to nil when a new grid is cast.
9518 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9519 these debugging traces, as defmacro breaks the compiled code.
9520
9521 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9522
9523 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9524
9525 2011-05-24 Leo Liu <sdl.web@gmail.com>
9526
9527 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9528 (vc-bzr-sha1): Adapt.
9529
9530 * sha1.el: Remove. Function `sha1' is now builtin.
9531
9532 * bindings.el: Provide sha1 feature.
9533
9534 2011-05-24 Kenichi Handa <handa@m17n.org>
9535
9536 * mail/sendmail.el: Require `rfc2047'.
9537 (mail-insert-from-field): Do not perform RFC2047 encoding.
9538 (mail-encode-header): New function.
9539 (sendmail-send-it): Set buffer-file-coding-system of the work
9540 buffer to the return value of select-message-coding-system.
9541 Call mail-encode-header.
9542
9543 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9544
9545 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9546
9547 * mail/supercite.el (sc-default-cite-frame):
9548 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9549
9550 2011-05-24 Glenn Morris <rgm@gnu.org>
9551
9552 * progmodes/python.el (brm-menu): Declare.
9553
9554 * emulation/viper.el (viper-set-hooks): Declare.
9555
9556 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9557 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9558 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9559 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9560 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9561 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9562
9563 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 Add an :exit-function for completion-at-point.
9566
9567 * minibuffer.el (completion--done): New fun.
9568 (completion--do-completion): Use it. New arg `expect-exact'.
9569 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9570 since completion--do-completion does it for us now.
9571 (minibuffer-force-complete): Use completion--done and
9572 completion--replace. Handle sole-completion case with more care.
9573 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9574 (completion-extra-properties): New var.
9575 (completion-annotate-function): Make obsolete.
9576 (minibuffer-completion-help): Adjust accordingly.
9577 Use completion-list-insert-choice-function.
9578 (completion-at-point, completion-help-at-point):
9579 Bind completion-extra-properties.
9580 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9581 * simple.el (completion-list-insert-choice-function): New var.
9582 (completion-setup-function): Preserve it.
9583 (choose-completion): Pay attention to it, shuffle the code a bit.
9584 (choose-completion-string): New arg `insert-function'.
9585
9586 * textmodes/bibtex.el: Convert to lexical binding.
9587 (bibtex-mode-map): Use completion-at-point.
9588 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9589 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9590 (bibtex-complete): Define as obsolete alias.
9591 (bibtex-complete-internal): Remove.
9592 (bibtex-format-entry): Remove unused sub-group in regexp.
9593 * shell.el (shell--command-completion-data)
9594 (shell-environment-variable-completion):
9595 * pcomplete.el (pcomplete-completions-at-point):
9596 * comint.el (comint--complete-file-name-data): Use :exit-function
9597 instead of completion-table-with-terminator so it also works for
9598 choose-completion.
9599
9600 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9603
9604 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9605 (bug#8710).
9606
9607 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9608
9609 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9610
9611 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9612 customization variable and implement: If non-nil, auto-fill will
9613 be inhibited while on topic's header line.
9614
9615 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9616
9617 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9618 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9619 always have a solution in grid size = 5 cases.
9620 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9621 (5x5-solver-output, 5x5-log-buffer): New vars.
9622 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9623 Make these variables buffer local to achieve 5x5 multi-session-ness.
9624 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9625 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9626 (5x5-solve-suggest): New funs.
9627 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9628 randomize a grid so that we ensure that there is always a solution.
9629 (5x5-make-random-grid): Allow other movement than flipping.
9630
9631 2011-05-23 Kevin Ryde <user42@zip.com.au>
9632
9633 * emacs-lisp/advice.el (ad-read-advised-function):
9634 Use `function-called-at-point' as the default, if it has
9635 advice and passes PREDICATE.
9636
9637 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9640 byte-compile-lambda if it's actually a lambda.
9641
9642 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9643 Fix function quoting. Use backquote better.
9644
9645 2011-05-22 Yuanle Song <sylecn@gmail.com>
9646
9647 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9648 matching (Bug#8516).
9649
9650 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9651
9652 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9653 different face (Bug#8178).
9654
9655 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9656
9657 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9658 defface (Bug#8144).
9659
9660 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9663 funcall as well (bug#8712). Warn when performing those conversions.
9664 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9665
9666 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9667
9668 2011-05-22 Glenn Morris <rgm@gnu.org>
9669
9670 * files.el (hack-local-variables-prop-line): Small simplifications.
9671 (hack-local-variables, hack-local-variables-prop-line):
9672 If MODE-ONLY, return the mode, rather than just `t'.
9673
9674 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9677
9678 2011-05-21 Glenn Morris <rgm@gnu.org>
9679
9680 * files.el (hack-local-variables-prop-line, hack-local-variables):
9681 If only interested in the mode, don't bother doing the other stuff.
9682
9683 * image-mode.el (image-after-revert-hook):
9684 Redraw all frames on which the image is visible. (Bug#8567)
9685
9686 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9687
9688 * wid-edit.el (widget-checklist-match-inline):
9689 Fix 2011-04-19 change. (Bug#8649)
9690
9691 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9694 Also allow singlespace after single-letter capitals followed by a dot.
9695
9696 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9697 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9698
9699 2011-05-20 Nix <nix@esperi.org.uk>
9700
9701 * files.el (basic-save-buffer-2):
9702 Fix handling of break-hardlink-on-save with non-existent files.
9703
9704 2011-05-19 Deniz Dogan <deniz@dogan.se>
9705
9706 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9707 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9708
9709 2011-05-19 Glenn Morris <rgm@gnu.org>
9710
9711 * progmodes/f90.el (f90-type-def-re):
9712 Handle "type, bind(c)". (Bug#8691)
9713
9714 * emacs-lisp/autoload.el (batch-update-autoloads):
9715 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9716
9717 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9718
9719 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9720 property for the correct connection in case of multihops.
9721
9722 2011-05-18 Glenn Morris <rgm@gnu.org>
9723
9724 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9725 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9726
9727 Rationalize calendar handling of day and month abbrev-arrays.
9728 * calendar/calendar.el (calendar-customized-p): New function.
9729 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9730 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9731 Add :set function.
9732 (calendar-abbrev-length, calendar-day-abbrev-array)
9733 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9734 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9735 Elements may no longer be nil.
9736 (calendar-day-name, calendar-month-name):
9737 Update for changed nature of abbrev arrays.
9738 * calendar/diary-lib.el (diary-name-pattern):
9739 Update for changed nature of abbrev arrays.
9740 (diary-mark-entries-1): Update calendar-make-alist calls.
9741 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9742 * calendar/cal-html.el (cal-html-day-abbrev-array):
9743 Simply inherit from calendar-day-abbrev-array.
9744
9745 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * progmodes/grep.el (grep-mode): Disable default
9748 compilation-directory-matcher setting (bug#8684).
9749
9750 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
9751
9752 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9753 instead of "head" and "tail". There were problems with SunOS 5.9,
9754 and it performs better.
9755
9756 2011-05-17 Glenn Morris <rgm@gnu.org>
9757
9758 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9759
9760 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9761 Replace obsolete function.
9762
9763 * shell.el (pcomplete-parse-arguments-function): Declare.
9764
9765 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9766 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9767 (appt-check): Doc fixes.
9768 (appt-disp-window-function, appt-delete-window-function):
9769 Remove needless special case in custom :type.
9770 (appt-display-count): Default to 0, not nil.
9771 (appt-check): Reset appt-display-count to 0, not nil.
9772
9773 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
9774
9775 * progmodes/python.el (python-font-lock-keywords):
9776 Add the Python 3.X keyword "nonlocal" (bug#8639).
9777
9778 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9781
9782 2011-05-16 Kevin Ryde <user42@zip.com.au>
9783
9784 * info-look.el (makefile-automake-mode): New setups, looking in
9785 automake manual, then makefile-mode.
9786 (makefile-mode): Remove automake manual, have it just in
9787 makefile-automake-mode since there's various things different or
9788 not relevant to plain make.
9789 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9790 believe a hypothetical automake-mode would go to makefile-mode,
9791 not the other way around.
9792
9793 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
9794
9795 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9796 hunk-end tags (Bug#8672).
9797
9798 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9799 vc-annotate-show-diff-revision-at-line (Bug#8671).
9800
9801 2011-05-14 Glenn Morris <rgm@gnu.org>
9802
9803 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9804 in the middle of an existing one with multiple authors. (Bug#8645)
9805 (change-log-font-lock-keywords): Also handle multiple author lines
9806 with leading tabs. (Bug#8644)
9807
9808 * calendar/appt.el (appt-check): Rename some local variables.
9809 Some simplification/reordering.
9810
9811 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9812 (feedmail-sendmail-f-doesnt-sell-me-out)
9813 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9814 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9815 (feedmail-queue-runner-message-sender): Set :version.
9816 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9817 (bbdb-dwim-net-address, vm-mail): Declare.
9818 (feedmail-binmail-gnulinuxish-template):
9819 Rename from feedmail-binmail-linuxish-template.
9820 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9821 Use insert-buffer-substring.
9822
9823 2011-05-14 Bill Carpenter <bill@carpenter.org>
9824
9825 * mail/feedmail.el (feedmail-patch-level): Increase.
9826 (feedmail-debug): New custom group.
9827 (feedmail-confirm-outgoing-timeout)
9828 (feedmail-sendmail-f-doesnt-sell-me-out)
9829 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9830 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9831 (feedmail-sender-line, feedmail-from-line)
9832 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9833 (feedmail-spray-this-address)
9834 (feedmail-spray-address-fiddle-plex-list)
9835 (feedmail-queue-use-send-time-for-date)
9836 (feedmail-queue-use-send-time-for-message-id)
9837 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9838 (feedmail-buffer-eating-function):
9839 Doc fixes.
9840 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9841 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9842 (feedmail-message-action-scroll-down): New functions.
9843 (feedmail-queue-directory, feedmail-queue-draft-directory):
9844 Use expand-file-name.
9845 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9846 Remove C-v help entry.
9847 (feedmail-queue-buffer-file-name): New variable.
9848 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9849 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9850 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9851 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9852 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9853 (feedmail-message-action-toggle-spray)
9854 (feedmail-run-the-queue-no-prompts)
9855 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9856 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9857 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9858 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9859 (feedmail-envelope-deducer, feedmail-fiddle-from)
9860 (feedmail-fiddle-sender, feedmail-default-date-generator)
9861 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9862 (feedmail-fiddle-spray-address)
9863 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9864 (feedmail-fiddle-list-of-fiddle-plexes)
9865 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9866 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9867 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9868 Change default. Doc fix.
9869 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9870 (feedmail-binmail-linuxish-template): New constant.
9871 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9872 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9873 (feedmail-send-it): Add debug call.
9874 Use feedmail-queue-buffer-file-name, and
9875 feedmail-send-it-immediately-wrapper.
9876 (feedmail-message-action-send): Add debug call.
9877 Use feedmail-send-it-immediately-wrapper.
9878 (feedmail-queue-express-to-queue): Add debug call.
9879 Run feedmail-queue-express-hook.
9880 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9881 (feedmail-message-action-help-blat):
9882 Rename from feedmail-queue-send-edit-prompt-help-first.
9883 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9884 Check line-endings. Handle errors better.
9885 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9886 Doc fix. Add debug call.
9887 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9888 Use feedmail-queue-send-edit-prompt-inner.
9889 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9890 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9891 from feedmail-queue-send-edit-prompt.
9892 (feedmail-queue-send-edit-prompt-help)
9893 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9894 (feedmail-tidy-up-slug): Add debug call.
9895 Respect feedmail-queue-slug-suspect-regexp.
9896 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9897 (feedmail-dump-message-to-queue): Add debug call.
9898 Expand queue-directory.
9899 (feedmail-dump-message-to-queue): Change message slightly.
9900 Use feedmail-say-chatter.
9901 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9902 (feedmail-send-it-immediately-wrapper): New function.
9903 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9904 Insert empty string rather than newline. Handle full-frame case.
9905 Use catch/throw. Use feedmail-say-chatter.
9906 (feedmail-fiddle-from): Try mail-host-address.
9907 (feedmail-default-message-id-generator): Doc fix.
9908 Bind system-time-locale. Handle missing end.
9909 (feedmail-fiddle-x-mailer): Add debug call.
9910 Handle feedmail-x-mailer-line being nil.
9911 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9912 Add debug call. Use buffer-substring-no-properties.
9913 (feedmail-say-debug, feedmail-say-chatter): New functions.
9914 (feedmail-find-eoh): Give an explicit error.
9915
9916 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
9917
9918 * net/newst-treeview.el (newsticker-treeview-face): Change default
9919 family from helvetica to sans.
9920 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9921 etc/images/newsticker.
9922
9923 * net/newst-reader.el (newsticker-feed-face): Change default
9924 family from helvetica to sans.
9925
9926 * net/newst-plainview.el (newsticker-new-item-face)
9927 (newsticker-old-item-face, newsticker-immortal-item-face)
9928 (newsticker-obsolete-item-face, newsticker-date-face)
9929 (newsticker-statistics-face): Change default family from
9930 helvetica to sans.
9931 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9932 etc/images/newsticker.
9933
9934 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9935 (newsticker--process-auto-mark-filter-match): : Tell user about
9936 auto-marking.
9937
9938 2011-05-13 Didier Verna <didier@xemacs.org>
9939
9940 Common Lisp indentation improvements on defmethod and lambda-lists.
9941 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9942 TODO entries.
9943 (lisp-lambda-list-keyword-parameter-indentation)
9944 (lisp-lambda-list-keyword-parameter-alignment)
9945 (lisp-lambda-list-keyword-alignment): New customizable user options.
9946 (lisp-indent-defun-method): Improve docstring.
9947 (extended-loop-p): Fix comment.
9948 (lisp-indent-lambda-list-keywords-regexp): New variable.
9949 (lisp-indent-lambda-list): New function.
9950 (lisp-indent-259): Use it.
9951 (lisp-indent-defmethod): Support for more than one
9952 method qualifier and properly indent methods lambda-lists.
9953 (defgeneric): Provide a missing common-lisp-indent-function property.
9954
9955 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9958 bounds for the empty string (bug#8667).
9959
9960 2011-05-13 Glenn Morris <rgm@gnu.org>
9961
9962 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9963
9964 * mail/sendmail.el (sendmail-program): Try executable-find first.
9965 (sendmail-send-it): `sendmail-program' cannot be unbound.
9966
9967 * calendar/appt.el (appt-make-list): Simplify.
9968 (appt-time-msg-list): Doc fix.
9969 (appt-check): Change mode-line message at the time of the appointment.
9970
9971 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9972
9973 * progmodes/ld-script.el (ld-script-keywords)
9974 (ld-script-builtins): Update keywords list.
9975
9976 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9979
9980 * shell.el (shell-completion-vars): New function.
9981 (shell-mode):
9982 * simple.el (read-shell-command): Use it.
9983 (blink-matching-open): No need for " [...]" in minibuffer-message.
9984
9985 2011-05-12 Glenn Morris <rgm@gnu.org>
9986
9987 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9988 (appt-check): Simplify.
9989
9990 2011-05-12 Eli Zaretskii <eliz@gnu.org>
9991
9992 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9993 literal "/dev/null".
9994
9995 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9998 Fix typo.
9999
10000 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10001
10002 * progmodes/which-func.el (which-function):
10003 Use add-log-current-defun instead of add-log-current-defun-function,
10004 which might not be defined (Bug#8260).
10005
10006 2011-05-12 Glenn Morris <rgm@gnu.org>
10007
10008 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10009 Let byte-compile-initial-macro-environment always take precedence.
10010
10011 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * net/rcirc.el: Add support for SSL/TLS connections.
10014 (rcirc-server-alist): New field `encryption'.
10015 (rcirc): Check `encryption' settings.
10016 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10017 Merge make-local-variable into `set'.
10018 (rcirc--connection-open-p): New function.
10019 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10020 the process is not a network process (e.g. running gnutls-cli).
10021 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10022 Make rcirc-(en|de)code-coding-system local here.
10023 (rcirc-mode): Merge make-local-variable into `set'.
10024 (rcirc-parent-buffer): Make permanent buffer-local.
10025 (rcirc-multiline-minor-mode): Don't do it here.
10026 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10027 there's no server buffer.
10028
10029 2011-05-11 Glenn Morris <rgm@gnu.org>
10030
10031 * newcomment.el (comment-kill): Prefix "unused" local.
10032
10033 * term/w32console.el (get-screen-color): Declare.
10034
10035 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10036 Handle symbol elements of byte-compile-initial-macro-environment.
10037
10038 2011-05-10 Leo Liu <sdl.web@gmail.com>
10039
10040 * bookmark.el (bookmark-bmenu-mode-map):
10041 Bind bookmark-bmenu-search to `/'.
10042
10043 * mail/footnote.el: Convert to utf-8 encoding.
10044 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10045 (Footnote-unicode): New function.
10046 (footnote-style-alist): Add unicode style to the list.
10047 (footnote-style): Doc fix.
10048
10049 2011-05-10 Jim Meyering <meyering@redhat.com>
10050
10051 Fix doubled-word typos.
10052 * international/quail.el (quail-insert-kbd-layout): and and -> and
10053 * kermit.el: and and -> and
10054 * net/ldap.el (ldap-search-internal): to to -> to
10055 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10056 * progmodes/js.el (js-mode): and and -> and
10057 * textmodes/artist.el (artist-move-to-xy): at at -> at
10058 (artist-draw-region-trim-line-endings): if if -> if
10059 And Safetyc -> Safety.
10060 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10061
10062 2011-05-10 Glenn Morris <rgm@gnu.org>
10063 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * files.el (hack-one-local-variable-eval-safep):
10066 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10067
10068 2011-05-10 Glenn Morris <rgm@gnu.org>
10069
10070 * calendar/diary-lib.el (diary-list-entries-hook)
10071 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10072 (diary-nongregorian-marking-hook, diary-list-entries)
10073 (diary-include-other-diary-files, diary-mark-entries)
10074 (diary-mark-included-diary-files): Doc fixes.
10075
10076 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10077
10078 * misc.el: Require tabulated-list.el during compilation.
10079
10080 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10081
10082 * progmodes/compile.el (compilation-start):
10083 Run compilation-filter-hook for the async case too.
10084 (compilation-filter-hook): Doc fix.
10085
10086 2011-05-09 Deniz Dogan <deniz@dogan.se>
10087
10088 * wdired.el: Remove outdated installation comment. Fix usage
10089 comment.
10090
10091 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10092
10093 * misc.el: Implement new command `list-dynamic-libraries'.
10094 (list-dynamic-libraries--loaded-only-p): New variable.
10095 (list-dynamic-libraries--refresh): New function.
10096 (list-dynamic-libraries): New command.
10097
10098 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10099
10100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10101 Fix the ant regexp to handle end-line and end-column info from jikes.
10102 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10103 higher priority to avoid clobbering by gnu.
10104
10105 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10106
10107 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10108 if the face has existing theme settings (Bug#8454).
10109
10110 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10111
10112 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10113 Only match variables declared via `my' or `our' (Bug#8261).
10114
10115 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10116 special file names `.' and `..' (Bug#8259).
10117
10118 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10119
10120 * progmodes/grep.el (grep-mode-font-lock-keywords):
10121 Remove buffer-changing entries.
10122 (grep-filter): New function.
10123 (grep-mode): Add it to compilation-filter-hook.
10124
10125 * progmodes/compile.el (compilation-filter-hook)
10126 (compilation-filter-start): New defvars.
10127 (compilation-filter): Call compilation-filter-hook prior to
10128 updating the process mark.
10129
10130 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10133
10134 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10135
10136 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10137 mailclient-send-it even if window-system is nil. (Bug#8595)
10138
10139 * term/w32console.el (terminal-init-w32console):
10140 Call get-screen-color and use its output to set the frame
10141 background-mode. (Bug#8597)
10142
10143 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10144
10145 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10146 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10147 New functions.
10148 (defgeneric, eieio--defmethod): Use them.
10149 (eieio-defgeneric): Remove.
10150 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10151
10152 2011-05-07 Glenn Morris <rgm@gnu.org>
10153
10154 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10155 Use let rather than let*.
10156 (timeclock-find-discrep): Remove unused local.
10157
10158 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10159
10160 * calendar/appt.el (appt-time-msg-list): Doc fix.
10161
10162 2011-05-06 Noah Friedman <friedman@splode.com>
10163
10164 * apropos.el (apropos-print-doc): Only use
10165 emacs-lisp-docstring-fill-column when it is bound to an integer,
10166 per that variable's documentation.
10167
10168 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10169
10170 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10171 and warnings are not silently discarded (e.g. use -d instead of -P).
10172
10173 2011-05-06 Glenn Morris <rgm@gnu.org>
10174
10175 * calendar/appt.el (appt-message-warning-time): Doc fix.
10176 (appt-warning-time-regexp): New option.
10177 (appt-make-list): Respect appt-message-warning-time.
10178
10179 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10180 New options.
10181 (diary-add-to-list): Strip comments from the displayed string.
10182 (diary-mode): Set comment-start and comment-end.
10183
10184 * vc/diff-mode.el (smerge-refine-subst): Declare.
10185 (diff-refine-hunk): Don't require smerge-mode when compiling.
10186
10187 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10188
10189 * simple.el (list-processes): Return nil as the docstring says.
10190
10191 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10192
10193 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10194 to "".
10195 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10196 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10197 determining of binary transfer. (Bug#7383)
10198
10199 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10200
10201 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10202 Fix port computation bug. (Bug#8618)
10203
10204 2011-05-05 Glenn Morris <rgm@gnu.org>
10205
10206 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10207
10208 * simple.el (shell-dynamic-complete-functions)
10209 (comint-dynamic-complete-functions): Declare.
10210
10211 * net/network-stream.el (gnutls-negotiate):
10212 * simple.el (tabulated-list-print): Fix declarations.
10213
10214 * progmodes/gud.el (syntax-symbol, syntax-point):
10215 Remove unnecessary and incorrect declarations.
10216
10217 * emacs-lisp/check-declare.el (check-declare-scan):
10218 Handle byte-compile-initial-macro-environment in bytecomp.el
10219
10220 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10221
10222 Fix earlier half-done eieio-defmethod change (bug#8338).
10223 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10224 Streamline and change calling convention.
10225 (defmethod): Adjust accordingly and simplify.
10226 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10227 new eieio--defmethod.
10228 (slot-boundp): Minor CSE simplification.
10229
10230 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10231
10232 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10233 (glasses-make-readable): Use glasses-separate-capital-groups.
10234
10235 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10236
10237 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10238 (warning-series): Doc fix.
10239 (display-warning): Don't try to create the buffer if we just found it.
10240
10241 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10242
10243 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10244 (autoload-find-generated-file): New function.
10245 (generate-file-autoloads): Bind generated-autoload-file to
10246 buffer-file-name.
10247 (update-file-autoloads, update-directory-autoloads):
10248 Use autoload-find-generated-file. If called interactively, prompt for
10249 output file (Bug#7989).
10250 (batch-update-autoloads): Doc fix.
10251
10252 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10253
10254 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10255
10256 2011-05-04 Glenn Morris <rgm@gnu.org>
10257
10258 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10259 function, so it follows changes in calendar-date-style.
10260 (diary-fancy-date-matcher): New function.
10261 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10262 (diary-fancy-font-lock-fontify-region-function):
10263 Use diary-fancy-date-pattern as a function.
10264
10265 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10266 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10267
10268 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10269
10270 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10271 instead of positional arguments. Allow :keylist and :crlfiles
10272 arguments.
10273 (open-gnutls-stream): Call it.
10274
10275 * net/network-stream.el (network-stream-open-starttls): Adjust to
10276 call `gnutls-negotiate' with :process and :hostname arguments.
10277
10278 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * minibuffer.el (completion--message): New function.
10281 (completion--do-completion, minibuffer-complete)
10282 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10283 (completion--do-completion): Don't ignore completion-auto-help when in
10284 icomplete-mode.
10285
10286 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10287 internal encoding (e.g. tibetan zero is not whitespace).
10288 (global-whitespace-mode): Prefer save-current-buffer.
10289 (whitespace-trailing-regexp): Remove useless save-match-data.
10290 (whitespace-empty-at-bob-regexp): Minor simplification.
10291
10292 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10293
10294 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10295
10296 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10297
10298 * textmodes/ispell.el (ispell-add-per-file-word-list):
10299 Use `concat' to create string for insertion.
10300
10301 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10304 Avoid open-line which runs post-self-insert-hook.
10305 (bibtex-fill-entry): Remove unused `end' var.
10306
10307 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10308
10309 * textmodes/ispell.el (ispell-add-per-file-word-list):
10310 Protect against `nil' value of `comment-start' (Bug#8579).
10311
10312 2011-05-03 Leo Liu <sdl.web@gmail.com>
10313
10314 * isearch.el (isearch-yank-pop): New command.
10315 (isearch-mode-map): Bind it to `M-y'.
10316 (isearch-forward): Mention it.
10317
10318 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * simple.el (minibuffer-complete-shell-command): Remove.
10321 (minibuffer-local-shell-command-map): Use completion-at-point.
10322 (read-shell-command): Setup completion vars here instead.
10323 (read-expression-map): Bind TAB to symbol completion.
10324
10325 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10326 error directly rather via storing it into `results'.
10327
10328 2011-05-02 Leo Liu <sdl.web@gmail.com>
10329
10330 * vc/diff.el: Fix description.
10331
10332 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10333
10334 * server.el (server-eval-at): New function.
10335
10336 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10337
10338 * net/network-stream.el (open-network-stream): Take a :nowait
10339 parameter and pass it on to `make-network-process'.
10340 (network-stream-open-plain): Ditto.
10341
10342 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10343
10344 * faces.el (face-spec-set-match-display): Don't match toolkit
10345 options on terminal frames.
10346
10347 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * progmodes/pascal.el: Use lexical binding.
10350 (pascal-mode-map): Remove author preferences.
10351
10352 * pcomplete.el (pcomplete-std-complete): Don't abuse
10353 completion-at-point.
10354
10355 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10356
10357 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10358 removing code that has been dead since 1991 or so.
10359
10360 * startup.el (command-line): When warning about "_emacs", use a
10361 delayed warning to allow the user to filter it out.
10362
10363 2011-04-28 Deniz Dogan <deniz@dogan.se>
10364
10365 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10366 user has not joined.
10367
10368 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10369
10370 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10371 aren't any completions at point.
10372
10373 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10374
10375 * subr.el (display-delayed-warnings): New function.
10376 (delayed-warnings-hook): New variable.
10377
10378 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * minibuffer.el (completion-at-point, completion-help-at-point):
10381 Don't presume that a given completion-at-point-function will always
10382 use the same calling convention.
10383
10384 * pcomplete.el (pcomplete-completions-at-point):
10385 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10386 pcomplete-seen is non-nil.
10387 (pcomplete-comint-setup): Also recognize the new comint/shell
10388 completion functions.
10389 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10390 pcomplete-seen is non-nil.
10391
10392 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10393
10394 * calendar/icalendar.el (diary-lib): Add require statement.
10395 (icalendar--create-uid): Read out a uid from a text-property on
10396 the first character in the entry. This allows for code to add its
10397 own uid to the entry.
10398 (icalendar--convert-float-to-ical): Add export of
10399 `diary-float'-entries save for those with the optional DAY
10400 argument.
10401
10402 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10403
10404 * subr.el (shell-quote-argument): Use alternate escaping strategy
10405 when we spot a variable reference in a string.
10406
10407 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10408
10409 * cus-start.el (all): Define customization for debug-on-event.
10410
10411 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10412
10413 * subr.el (shell-quote-argument): Escape correctly under Windows.
10414
10415 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10418
10419 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10420
10421 * net/tramp.el (tramp-process-actions): Add POS argument.
10422 Delete region between POS and (pos).
10423
10424 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10425 Use `nil' position in `tramp-process-actions' call.
10426 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10427
10428 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10429 position in `tramp-process-actions' call.
10430
10431 * net/trampver.el: Update release number.
10432
10433 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 * custom.el (defcustom): Obey lexical-binding.
10436
10437 Fix octave-inf completion problems reported by Alexander Klimov.
10438 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10439 Inherit from octave-mode-syntax-table.
10440 (inferior-octave-mode): Set info-lookup-mode.
10441 (inferior-octave-completion-at-point): New function.
10442 (inferior-octave-complete): Use it and completion-in-region.
10443 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10444 comint-filename-completion.
10445 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10446 symbol elements which shouldn't be word elements.
10447 (octave-font-lock-keywords, octave-beginning-of-defun)
10448 (octave-function-header-regexp): Adjust regexps accordingly.
10449 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10450
10451 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10452
10453 * net/gnutls.el (gnutls-errorp): Declare before first use.
10454
10455 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10456
10457 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10458 verify-error, and verify-hostname-error parameters. Check whether
10459 default trustfile exists before going to use it. Add missing
10460 argument to gnutls-message-maybe call. Return value.
10461 Reported by Claudio Bley <claudio.bley@gmail.com>.
10462 (open-gnutls-stream): Add usage example.
10463
10464 * net/network-stream.el (network-stream-open-starttls): Give host
10465 parameter to `gnutls-negotiate'.
10466 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10467 * subr.el (shell-quote-argument): Escape correctly under Windows.
10468
10469 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10470
10471 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10472 Use correct match group (bug#8438).
10473
10474 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10475
10476 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10477 (package-menu--generate): New arg specifying packages to show.
10478 (package-menu-refresh, package-menu-execute, list-packages):
10479 Callers changed.
10480 (package-show-package-list): New function, replacing deleted
10481 package--list-packages (renamed because it is non-internal).
10482
10483 * finder.el (finder-list-matches): Use package-show-package-list
10484 instead of deleted package--list-packages.
10485
10486 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10487 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10488 (vc-annotate-mode-map): Bind it to RET.
10489
10490 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10491
10492 * progmodes/etags.el (next-file): Don't use set-buffer to change
10493 buffers (Bug#8478).
10494
10495 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10496
10497 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10498
10499 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10500 (apropos-accumulator): Doc fix.
10501 (apropos-function, apropos-macro, apropos-command)
10502 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10503 (apropos-plist): Add face property.
10504 (apropos-symbols-internal): Fix indentation.
10505 (apropos-print): Simplify help, and recognize apropos-multi-type.
10506 (apropos-print-doc): Use button-type-get to extract the button's
10507 face property. Fill docstring (Bug#8352).
10508
10509 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10510
10511 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10512
10513 * play/mpuz.el (mpuz-silent): Doc fix.
10514 (mpuz-mode-map): Use mapc.
10515 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10516 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10517 Fix typos in docstrings.
10518
10519 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10520 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10521
10522 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10523
10524 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10525
10526 * minibuffer.el (completion--do-completion): Avoid the "Next char
10527 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10528
10529 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10530 mouse-2 into unread-command-events, it is interpreted correctly.
10531
10532 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10533 (image-toggle-display): Doc fix.
10534
10535 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10536
10537 * textmodes/page.el (what-page): Use line-number-at-pos to
10538 calculate line number (Bug#6825).
10539
10540 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10541
10542 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10543 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10544 Pass argument NO-DEFAULT to `find-tag-interactive'.
10545
10546 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10547
10548 Lexical-binding cleanup.
10549
10550 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10551 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10552 * progmodes/ada-prj.el (ada-prj-initialize-values)
10553 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10554 (ada-prj-show-value):
10555 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10556 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10557 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10558 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10559 * progmodes/bug-reference.el (bug-reference-push-button):
10560 * progmodes/fortran.el (fortran-line-length):
10561 * progmodes/glasses.el (glasses-change):
10562 * progmodes/octave-mod.el (octave-fill-paragraph):
10563 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10564 (python-pdbtrack-grub-for-buffer, python-sentinel):
10565 * progmodes/sql.el (sql-save-connection):
10566 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10567 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10568 Mark unused parameters.
10569
10570 * progmodes/compile.el (compilation--flush-directory-cache)
10571 (compilation--flush-parse, compile-internal): Mark unused parameters.
10572 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10573 (compilation-next-error-function): Remove unused variable `timestamp'.
10574
10575 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10576 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10577
10578 * progmodes/dcl-mode.el (dcl-end-of-command):
10579 Remove unused variable `start'.
10580 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10581 (dcl-option-value-basic, dcl-option-value-offset)
10582 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10583 Mark unused parameters.
10584 (dcl-save-local-variable): Remove unused variable `val'.
10585 (mode): Declare.
10586
10587 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10588 Mark unused parameters.
10589 (delphi-ignore-changes): Move before first use.
10590 (delphi-charset-token-at): Remove unused variable `start'.
10591 (delphi-else-start): Remove unused variable `if-count'.
10592 (delphi-comment-block-start, delphi-comment-block-end):
10593 Remove unused variable `kind'.
10594 (delphi-indent-line): Remove unused variable `new-point'.
10595
10596 * progmodes/ebrowse.el (ebrowse-files-list)
10597 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10598 Mark unused parameters. Don't quote `lambda'.
10599 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10600 Don't quote `lambda'.
10601 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10602 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10603 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10604 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10605 Use `ignore-errors'.
10606 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10607 (ebrowse-view/find-file-and-search-pattern)
10608 (ebrowse-view/find-member-declaration/definition):
10609 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10610 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10611 Rename parameter PREFIX-ARG to PREFIX.
10612 (ebrowse-tags-read-name): Remove unused variables `start' and
10613 `member-info'.
10614 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10615 to `tags-file'.
10616
10617 * progmodes/etags.el (local-find-tag-hook): Declare.
10618 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10619 Mark unused parameters.
10620
10621 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10622 (executable-interpret): Mark unused parameter.
10623
10624 * progmodes/flymake.el (flymake-process-sentinel)
10625 (flymake-after-change-function)
10626 (flymake-create-temp-with-folder-structure)
10627 (flymake-get-include-dirs-dot): Mark unused parameters.
10628 (flymake-safe-delete-directory): Remove unused variable `err'.
10629
10630 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10631 (speedbar-timer-fn, speedbar-line-text)
10632 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10633 (speedbar-center-buffer-smartly): Declare functions.
10634 (gdb-find-watch-expression): Remove unused variable `array'.
10635 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10636 (gdb-starting): Mark unused parameters.
10637 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10638 (gdb-table-string): Remove unused variable `res'.
10639 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10640 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10641 (gdb-display-buffer): Remove unused variable `cur-size'.
10642
10643 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10644 allow lexical-binding compilation.
10645 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10646 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10647 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10648 Mark unused parameters.
10649 (gud-gdb-marker-filter): Remove unused variable `match'.
10650 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10651 lambda expressions and funcall them, instead of using `fset'.
10652
10653 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10654 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10655
10656 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10657 variable `header-beg'; use `let'.
10658
10659 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10660 `restart', `last-sexp' and `at-do'.
10661
10662 * progmodes/js.el (js--debug): Mark unused parameter.
10663 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10664 (js--splice-into-items): Remove unused variable `item'.
10665 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10666
10667 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10668 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10669 (makefile-complete): Remove unused variable `try'.
10670 (makefile-fill-paragraph, makefile-match-function-end):
10671 Mark unused parameters.
10672
10673 * progmodes/octave-inf.el (inferior-octave-complete):
10674 Remove unused variable `proc'.
10675 (inferior-octave-output-digest): Mark unused parameter.
10676
10677 * progmodes/perl-mode.el (perl-calculate-indent):
10678 Remove unused variable `err'.
10679
10680 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10681 (prolog-indent-line): Mark unused parameters.
10682 (prolog-indent-line): Remove unused variable `beg'.
10683
10684 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10685 (reporter-dont-compact-list): Declare.
10686
10687 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10688 Remove unused variable `char'.
10689 (sh-debug): Mark unused parameter.
10690 (sh-get-indent-info): Remove unused variable `start'.
10691 (sh-calculate-indent): Remove unused variable `var'.
10692
10693 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10694 (simula-electric-keyword): Remove unused variable `null'.
10695 (simula-search-backward, simula-search-forward): Remove unused
10696 variables `begin' and `end'.
10697
10698 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10699 Remove unused variable `pos'.
10700 (vera-electric-tab, vera-comment-uncomment-region):
10701 Mark unused parameters.
10702 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10703
10704 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10705
10706 * emacs-lisp/package.el (package--builtins, package-alist)
10707 (package-load-descriptor, package-built-in-p, package-activate)
10708 (define-package, package-installed-p)
10709 (package-compute-transaction, package-buffer-info)
10710 (package--push): Doc fix. Distinguish more clearly between
10711 version strings and version lists.
10712
10713 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10714
10715 Lexical-binding cleanup.
10716
10717 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10718 (5x5-make-mutate-best):
10719 * play/fortune.el (fortune-in-buffer):
10720 * play/gomoku.el (gomoku-init-display):
10721 * play/solitaire.el (solitaire, solitaire-do-check):
10722 * play/tetris.el (tetris-default-update-speed-function):
10723 Mark unused parameters.
10724
10725 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10726 (bubbles--shift): Remove unused variable `char-org'.
10727 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10728 (bubbles--show-images): Remove unused variable `char'.
10729
10730 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10731 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10732 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10733 (decipher-analyze-buffer): Use ?\s.
10734 (decipher-make-checkpoint): Remove unused variable `mapping'.
10735
10736 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10737
10738 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10739 Remove unused variable `result'; use `let'.
10740
10741 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10742 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10743 (gametree-children-shown-p, gametree-compute-reduced-score):
10744 Use `ignore-errors'.
10745
10746 * play/handwrite.el (ps-lpr-switches): Declare.
10747 (handwrite): Remove unused variables `pmin' and `lastp'.
10748
10749 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10750
10751 * play/landmark.el (landmark-init-display)
10752 (landmark-update-naught-weights): Mark unused parameters.
10753 (landmark-y): Remove unused variable `noise'. Simplify.
10754 (landmark-human-plays): Remove unused variable `score'.
10755
10756 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10757 (mpuz-try-proposal): Remove unused variable `game'.
10758
10759 * play/zone.el (life-patterns): Declare.
10760
10761 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
10762
10763 * vc/vc.el (ediff-vc-internal): Declare function.
10764
10765 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * shell.el: Use lexical-binding and std completion UI.
10768 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10769 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10770 comint-preoutput-filter-functions rather than on
10771 comint-output-filter-functions.
10772 (shell-command-completion, shell--command-completion-data)
10773 (shell-filename-completion, shell-environment-variable-completion)
10774 (shell-c-a-p-replace-by-expanded-directory): New functions.
10775 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10776 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10777 (shell-dynamic-complete-environment-variable): Use them.
10778 (shell-dynamic-complete-as-environment-variable)
10779 (shell-dynamic-complete-as-command): Remove.
10780 (shell-match-partial-variable): Match past point.
10781 * comint.el: Clean up use of completion-at-point-functions.
10782 (comint-completion-at-point): New function.
10783 (comint-mode): Use it completion-at-point-functions.
10784 (comint-dynamic-complete): Make it obsolete.
10785 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10786 (comint-c-a-p-replace-by-expanded-history): New function.
10787 (comint-dynamic-complete-functions)
10788 (comint-replace-by-expanded-history): Use it.
10789 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10790 termination strings. Try harder to avoid second try-completion.
10791 (completion-in-region-mode-map): Disable bindings that don't work yet.
10792
10793 * comint.el: Use lexical-binding. Require CL.
10794 (comint-dynamic-complete-functions): Use comint-filename-completion.
10795 (comint-completion-addsuffix): Tweak custom type.
10796 (comint-filename-completion, comint--common-suffix)
10797 (comint--common-quoted-suffix, comint--table-subvert)
10798 (comint--complete-file-name-data): New functions.
10799 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10800 (comint-dynamic-list-filename-completions): Use them.
10801 (comint-dynamic-simple-complete): Make obsolete.
10802
10803 * minibuffer.el (completion-in-region-mode):
10804 Keep completion-in-region-mode--predicate global.
10805 (completion-in-region--postch):
10806 Assume completion-in-region-mode--predicate is not null.
10807
10808 * progmodes/flymake.el (flymake-start-syntax-check-process):
10809 Obey `dir'. Simplify.
10810
10811 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10812 we're in VC after all.
10813
10814 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10815
10816 * vc/vc.el (vc-diff-build-argument-list-internal)
10817 (vc-version-ediff, vc-ediff): New commands.
10818 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10819
10820 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10823 add sanity check.
10824
10825 * obsolete/erc-hecomplete.el: Make obsolete.
10826 * obsolete/: Standardize obsolescence info in the header.
10827
10828 2011-04-20 Glenn Morris <rgm@gnu.org>
10829
10830 * calendar/solar.el (solar-horizontal-coordinates):
10831 Use the longitude argument rather than `calendar-longitude'.
10832 (solar-date-next-longitude): Remove unused locals.
10833
10834 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10835
10836 * whitespace.el: New version 13.2.1.
10837
10838 2011-04-20 felix <EmacsWiki> (tiny change)
10839
10840 * whitespace.el (global-whitespace-mode): Keep highlight when
10841 switching between major modes on a file.
10842
10843 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10846 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10847 multi-line comments as well.
10848
10849 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
10850
10851 Lexical-binding cleanup.
10852
10853 * arc-mode.el (archive-mode-revert):
10854 * cmuscheme.el (scheme-interactively-start-process):
10855 * custom.el (custom-initialize-delay):
10856 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10857 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10858 * emacs-lock.el (emacs-lock-clear-sentinel):
10859 * ezimage.el (defezimage):
10860 * follow.el (follow-avoid-tail-recenter):
10861 * fringe.el (set-fringe-mode-1):
10862 * generic-x.el (bat-generic-mode-compile):
10863 * help-mode.el (help-info-variable, help-do-xref)
10864 (help-mode-revert-buffer):
10865 * help.el (view-emacs-todo):
10866 * iswitchb.el (iswitchb-completion-help):
10867 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10868 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10869 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10870 * locate.el (locate-update):
10871 * longlines.el (longlines-encode-region)
10872 (longlines-after-change-function):
10873 * outline.el (outline-isearch-open-invisible):
10874 * ps-def.el (declare-function, charset-dimension, char-width)
10875 (encode-char):
10876 * ps-mule.el (ps-mule-plot-string):
10877 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10878 (recentf-edit-list-select, recentf-edit-list-validate)
10879 (recentf-open-files-action):
10880 * rect.el (delete-whitespace-rectangle-line)
10881 (rectangle-number-line-callback):
10882 * register.el (window-configuration-to-register)
10883 (frame-configuration-to-register):
10884 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10885 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10886 (xselect-convert-to-targets, xselect-convert-to-delete)
10887 (xselect-convert-to-filename, xselect-convert-to-charpos)
10888 (xselect-convert-to-lineno, xselect-convert-to-colno)
10889 (xselect-convert-to-os, xselect-convert-to-host)
10890 (xselect-convert-to-user, xselect-convert-to-class)
10891 (xselect-convert-to-name, xselect-convert-to-integer)
10892 (xselect-convert-to-atom, xselect-convert-to-identity):
10893 * subr.el (declare, ignore, process-kill-without-query)
10894 (text-clone-maintain):
10895 * terminal.el (te-get-char, te-tic-sentinel):
10896 * tool-bar.el (tool-bar-make-keymap):
10897 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10898 * type-break.el (type-break-mode, type-break-noninteractive-query):
10899 * view.el (View-back-to-mark):
10900 * wid-browse.el (widget-browse-action, widget-browse-widget)
10901 (widget-browse-widgets, widget-browse-sexp):
10902 * widget.el (define-widget-keywords):
10903 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10904 Mark unused parameters.
10905
10906 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10907 (align-areas): Remove unused variable `look'.
10908 (align-region): Remove unused variables `real-end' and `pos-list'.
10909
10910 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10911
10912 * bindings.el (mode-line-modified, mode-line-remote):
10913 Mark unused parameters.
10914 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10915
10916 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10917 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10918
10919 * comint.el (comint-history-isearch-pop-state)
10920 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10921 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10922 (comint-substitute-in-file-name): Doc fix.
10923
10924 * completion.el (cmpl-statistics-block): Mark unused parameter.
10925 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10926 (save-completions-to-file, load-completions-from-file):
10927 Remove unused local variable `e'.
10928
10929 * composite.el (compose-chars): Remove unused variable `len'.
10930 (lgstring-insert-glyph): Remove unused variable `g'.
10931 (compose-glyph-string): Remove unused variables `ascent',
10932 `descent', `lbearing' and `rbearing'.
10933 (compose-glyph-string-relative): Remove unused variables
10934 `lbearing', `rbearing' and `wadjust'.
10935 (compose-gstring-for-graphic): Remove unused variables `header',
10936 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10937 (compose-gstring-for-terminal): Remove unused variables `header'
10938 and `nchars'. Use `let', not `let*'.
10939
10940 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10941 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10942 (Custom-buffer-done, custom-buffer-create-internal)
10943 (custom-browse-visibility-action, custom-browse-group-tag-action)
10944 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10945 (widget-magic-mouse-down-action, custom-toggle-parent)
10946 (custom-add-parent-links, custom-toggle-hide-variable)
10947 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10948 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10949 (custom-face-menu-create, custom-variable-menu-create, get)
10950 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10951 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10952 (customize-apropos): Remove unused variable `tests'.
10953 (custom-group-value-create): Remove unused variable `hidden-p'.
10954 (sort-fold-case): Declare.
10955
10956 * cus-theme.el (custom-reset-standard-faces-list)
10957 (custom-reset-standard-variables-list): Declare.
10958 (customize-create-theme, custom-theme-revert, custom-theme-write)
10959 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10960 Mark unused parameters.
10961
10962 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10963
10964 * delim-col.el (delimit-columns-max): Move defvar before first use.
10965
10966 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10967 (describe-char): Don't quote `lambda'. Mark unused parameter.
10968
10969 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10970 (auto-insert): Declare.
10971 (desktop-restore-file-buffer): Rename desktop-* parameters;
10972 mark unused ones.
10973 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10974 (desktop-buffer): Rename desktop-* parameters.
10975
10976 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10977 (dframe-reposition-frame-xemacs, dframe-help-echo)
10978 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10979 Mark unused parameters.
10980
10981 * dired-aux.el (backup-extract-version-start, overwrite-query)
10982 (overwrite-backup-query, rename-regexp-query)
10983 (rename-non-directory-query): Declare.
10984 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10985 (dired-add-entry): Remove unused variable `orig-file-name'.
10986 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10987 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10988 `dired-copy-preserve-time' directly.
10989 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10990 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10991
10992 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10993 (dired-virtual-revert, dired-make-relative-symlink):
10994 Mark unused parameters.
10995 (manual-program): Declare.
10996 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10997 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10998 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10999
11000 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11001
11002 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11003
11004 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11005 Declare.
11006
11007 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11008
11009 * electric.el (Electric-command-loop): Rename parameter
11010 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11011
11012 * expand.el (expand-in-literal): Remove unused variable `here'.
11013
11014 * facemenu.el (facemenu-add-new-color):
11015 Remove unused variable `docstring'.
11016
11017 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11018 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11019 (face-attr-construct): Mark unused parameter. Doc fix.
11020 (read-color): Remove unused variable `hex-string'.
11021
11022 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11023 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11024 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11025 (display-buffer-other-frame): Remove unused variable `old-window'.
11026 (kill-buffer-hook): Declare.
11027 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11028 Mark unused parameters.
11029 (after-find-file): Pass 1 to `auto-save-mode', not t.
11030
11031 * files-x.el (auto-insert): Declare.
11032 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11033
11034 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11035 variable `buf'. Mark unused parameter.
11036 (find-lisp-insert-directory): Mark unused parameter.
11037
11038 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11039 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11040 (format-common-tail): Remove, unused.
11041 (format-deannotate-region): Remove unused variable `loc'.
11042 (format-annotate-region): Remove unused variable `p'.
11043 (format-annotate-single-property-change): Remove unused variables
11044 `default' and `tail'.
11045
11046 * forms.el (read-file-filter): Declare.
11047 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11048
11049 * frame.el (frame-creation-function-alist): Mark unused parameter.
11050 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11051
11052 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11053 Remove unused parameters.
11054 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11055 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11056
11057 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11058 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11059 (hfy-prepare-tag-map): Mark unused parameters.
11060 (htmlfontify-buffer): Use `called-interactively-p'.
11061
11062 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11063 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11064 (ibuffer-do-occur): Mark unused parameters.
11065 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11066 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11067
11068 * ibuffer.el: Don't quote `lambda'.
11069 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11070 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11071 Mark unused parameters.
11072
11073 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11074 (ido-completing-read): Mark unused parameters.
11075 (ido-copy-current-word): Mark unused parameters;
11076 remove unused variable `name'.
11077 (ido-sort-merged-list): Remove unused parameter `dirs'.
11078
11079 * ielm.el (ielm-input-sender): Mark unused parameter.
11080 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11081 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11082 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11083 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11084 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11085
11086 * image-dired.el (image-dired-display-thumbs): Remove unused
11087 variables `curr-file' and `count'.
11088 (image-dired-remove-tag): Remove unused variable `start'.
11089 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11090 variable `curr-file'
11091 (image-dired-rotate-original): Remove unused variable `temp-file'.
11092 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11093 Remove unused variable `file'.
11094 (image-dired-gallery-generate): Remove unused variable `curr'.
11095 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11096
11097 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11098
11099 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11100
11101 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11102
11103 * isearch.el (minibuffer-history-symbol): Declare.
11104 (isearch-edit-string): Remove unused variable `err'.
11105 (isearch-message-prefix, isearch-message-suffix):
11106 Mark unused parameters.
11107
11108 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11109
11110 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11111
11112 * makesum.el (double-column): Remove unused variable `cnt'.
11113
11114 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11115 (ido-ignore-item-temp-list): Declare.
11116
11117 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11118 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11119 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11120 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11121 `mouse-col-delta'.
11122
11123 * mouse-sel.el (mouse-extend-internal):
11124 Remove unused variable `orig-window-frame'.
11125
11126 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11127 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11128 Move declarations before first use.
11129 (pcomplete-opt): Mark unused parameters; doc fix.
11130
11131 * proced.el (proced-revert): Mark unused parameter.
11132 (proced-send-signal): Remove unused variable `err'.
11133
11134 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11135 Rename parameter PREFIX-ARG to ARG.
11136 (ps-basic-plot-string, ps-basic-plot-whitespace):
11137 Mark unused parameters.
11138
11139 * replace.el (replace-count): Define.
11140 (occur-revert-function): Mark unused parameters.
11141 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11142 (isearch-case-fold-search, isearch-string): Declare.
11143 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11144 bind `case-fold-search'. Remove unused variables `beg' and `end',
11145 and simplify.
11146 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11147 COUNT and bind `replace-count'.
11148 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11149 to COUNT.
11150
11151 * savehist.el (print-readably, print-string-length): Declare.
11152
11153 * shadowfile.el (shadow-expand-cluster-in-file-name):
11154 Remove unused variable `cluster'.
11155 (shadow-copy-file): Remove unused variable `i'.
11156 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11157 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11158 (shadow-define-literal-group, shadow-define-regexp-group)
11159 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11160
11161 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11162 (shell): Use `called-interactively-p'.
11163 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11164
11165 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11166 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11167 (delete-backward-char): Remove unused variable `ocol'.
11168 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11169 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11170 (event-apply-hyper-modifier, event-apply-shift-modifier)
11171 (event-apply-control-modifier, event-apply-meta-modifier):
11172 Mark unused parameters.
11173 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11174 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11175
11176 * speedbar.el (speedbar-ignored-directory-expressions)
11177 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11178 (speedbar-find-file, speedbar-dir-follow)
11179 (speedbar-directory-buttons-follow, speedbar-tag-find)
11180 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11181 (speedbar-buffers-line-directory, speedbar-buffer-click):
11182 Mark unused parameters.
11183 (speedbar-tag-file): Remove unused variable `mode'.
11184 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11185
11186 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11187
11188 * talk.el (talk): Remove unused variable `display'.
11189
11190 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11191 (tar-write-region-annotate): Mark unused parameter.
11192
11193 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11194 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11195 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11196 warning by another.
11197
11198 * time-stamp.el (time-stamp-string-preprocess):
11199 Remove unused variable `require-padding'.
11200
11201 * tree-widget.el (widget-glyph-enable): Declare.
11202 (tree-widget-action): Mark unused parameter.
11203
11204 * w32-fns.el (x-get-selection): Mark unused parameter.
11205 (autoload-make-program, generated-autoload-file): Declare.
11206
11207 * wdired.el (wdired-revert): Mark unused parameters.
11208 (wdired-xcase-word): Remove unused variable `err'.
11209
11210 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11211 (whitespace-help-scroll): Remove unused variable `data-help'.
11212
11213 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11214 (widget-image-insert, widget-after-change, default)
11215 (widget-default-format-handler, widget-default-notify)
11216 (widget-default-prompt-value, widget-info-link-action)
11217 (widget-url-link-action, widget-function-link-action)
11218 (widget-variable-link-action, widget-file-link-action)
11219 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11220 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11221 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11222 (widget-insert-button-action, widget-delete-button-action, visibility)
11223 (widget-documentation-link-action, widget-documentation-string-action)
11224 (widget-const-prompt-value, widget-regexp-match, symbol)
11225 (widget-coding-system-prompt-value)
11226 (widget-key-sequence-value-to-external, sexp)
11227 (widget-sexp-value-to-internal, character, vector, cons)
11228 (widget-choice-prompt-value, widget-boolean-prompt-value)
11229 (widget-color--choose-action): Mark unused parameters.
11230 (widget-item-match-inline, widget-choice-match-inline)
11231 (widget-checklist-match, widget-checklist-match-inline)
11232 (widget-group-match): Rename parameter VALUES to VALS.
11233 (widget-field-value-set): Remove unused variable `size'.
11234 (widget-color-action): Remove unused variables `value' and `start'.
11235
11236 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11237 variable `dir'. Doc fix.
11238 (windmove-find-other-window): Don't pass it.
11239
11240 * window.el (count-windows): Mark unused parameter.
11241 (bw-adjust-window): Remove unused variable `err'.
11242
11243 * woman.el (woman-file-name): Remove unused variable `default'.
11244 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11245 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11246 (global-font-lock-mode): Declare.
11247 (woman-decode-region): Mark unused parameter.
11248 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11249
11250 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11251 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11252 (x-dnd-handle-moz-url): Remove unused variable `title'.
11253 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11254
11255 * xml.el (xml-parse-tag, xml-parse-attlist):
11256 Remove unused variable `pos'.
11257
11258 2011-04-19 Glenn Morris <rgm@gnu.org>
11259
11260 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11261 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11262 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11263 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11264 * calendar/cal-html.el (cal-html-insert-minical):
11265 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11266 (calendar-mark-date-pattern):
11267 Prefix "unused" locals.
11268
11269 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11270 optional argument `style'.
11271
11272 * calendar/appt.el (appt-make-list):
11273 * calendar/cal-china.el (calendar-chinese-date-string):
11274 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11275 (diary-hebrew-yahrzeit):
11276 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11277 * calendar/calendar.el (calendar-generate-window):
11278 * calendar/time-date.el (time-to-days):
11279 Remove unused local variables.
11280
11281 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11282
11283 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11284 glyphless-char-display table.
11285 (tabulated-list-glyphless-char-display): New var.
11286
11287 2011-04-18 Sam Steingold <sds@gnu.org>
11288
11289 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11290 to acknowledgments.
11291
11292 2011-04-17 Glenn Morris <rgm@gnu.org>
11293
11294 * calendar/diary-lib.el (diary-sexp-entry):
11295 * calendar/holidays.el (holiday-sexp):
11296 Set debug-on-error rather than the removed stack-trace-on-error.
11297
11298 2011-04-16 Glenn Morris <rgm@gnu.org>
11299
11300 * progmodes/f90.el: Use lexical-binding.
11301 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11302
11303 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11304
11305 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11306 (mail-mode): Setup mailalias completion here instead.
11307 * mail/mailalias.el: Use lexical-binding.
11308 (pattern, mailalias-done): Declare dynamic.
11309 (mail-completion-at-point-function): New function, from mail-complete.
11310 (mail-complete): Use it.
11311 (mail-completion-expand): New function.
11312 (mail-get-names): Use it.
11313 (mail-directory, mail-directory-process, mail-directory-stream):
11314 Don't use `pattern' for lexically bound arg.
11315
11316 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11317
11318 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11319 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11320 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11321
11322 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11323 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11324 (byte-interactive-p): Define them again, for use when inlining
11325 old code.
11326
11327 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11328
11329 * loadup.el: Use `string-to-number', not `string-to-int'.
11330
11331 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11334 gud-gdb-complete-command.
11335 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11336 (gud-gdb-completion-at-point): New function.
11337 (gud-gdb-completions): Remove.
11338
11339 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11340
11341 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11342 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11343 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11344 whether `executable-find' is bound.
11345
11346 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11347
11348 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 * minibuffer.el (completion-in-region-mode-predicate)
11351 (completion-in-region-mode--predicate): New vars.
11352 (completion-in-region, completion-in-region--postch)
11353 (completion-in-region-mode): Use them.
11354 (completion--capf-wrapper): Also return the hook function.
11355 (completion-at-point, completion-help-at-point):
11356 Adjust and provide a predicate.
11357
11358 Preserve arg names for advice of subr and lexical functions (bug#8457).
11359 * help-fns.el (help-function-arglist): Consolidate the subr and
11360 new-byte-code cases. Add argument `preserve-names' to extract names
11361 from the docstring when needed.
11362 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11363 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11364 (ad-arglist): Use help-function-arglist's new arg.
11365 (ad-definition-type): Use cond.
11366
11367 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11368
11369 * autorevert.el (auto-revert-handler):
11370 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11371 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11372 Don't quote lambda.
11373
11374 * image-mode.el (image-transform-set-scale):
11375 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11376
11377 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11378
11379 * net/network-stream.el (network-stream-open-starttls): Only do
11380 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11381 Upgrades via gnutls-cli are too slow to be done opportunistically.
11382
11383 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11384
11385 * dframe.el (dframe-current-frame): Remove spurious quote.
11386
11387 2011-04-12 Glenn Morris <rgm@gnu.org>
11388
11389 * calendar/cal-tex.el (cal-tex-end-document):
11390 Try to automatically use latin1 input if needed.
11391
11392 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11393 Don't try to cons a mark onto an empty element.
11394
11395 2011-04-11 Leo Liu <sdl.web@gmail.com>
11396
11397 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11398 buffers.
11399 (ido-kill-buffer-at-head): Support killing virtual buffers.
11400
11401 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11402
11403 * minibuffer.el (completion-show-inline-help): New var.
11404 (completion--do-completion, minibuffer-complete)
11405 (minibuffer-force-complete, minibuffer-complete-word):
11406 Inhibit minibuffer messages if completion-show-inline-help is nil.
11407
11408 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11409 to avoid interference from inline help (Bug#5849).
11410
11411 2011-04-10 Leo Liu <sdl.web@gmail.com>
11412
11413 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11414 Fix typo.
11415
11416 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11417
11418 * image-mode.el (image-toggle-display-image): Signal an error if
11419 not in Image mode.
11420 (image-transform-mode, image-transform-resize)
11421 (image-transform-set-rotation): Doc fix.
11422 (image-transform-set-resize): Delete.
11423 (image-transform-set-scale, image-transform-fit-to-height)
11424 (image-transform-fit-to-width): Handle image-toggle-display-image
11425 and image-transform-resize directly.
11426
11427 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11428
11429 * doc-view.el (doc-view-fit-width-to-window)
11430 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11431 New functions for fitting the shown image to the Emacs window size.
11432 (doc-view-mode-map): Add bindings for the new functions.
11433
11434 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11435
11436 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11437 Fix typo in docstring.
11438
11439 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11440
11441 * files.el (file-size-human-readable): Produce one digit after
11442 decimal, like "ls -lh" does.
11443
11444 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11445 the file size representation.
11446
11447 * simple.el (list-processes): If async subprocesses are not
11448 available, error out with a clear error message.
11449
11450 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11451
11452 * help.el (help-form-show): New function, to be called from C.
11453 Put help-form output in a buffer named differently than *Help*.
11454
11455 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11456
11457 * files.el (file-size-human-readable): New function.
11458
11459 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11460 computing the representation inline. Don't require `cl'.
11461
11462 2011-04-08 Glenn Morris <rgm@gnu.org>
11463
11464 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11465
11466 * net/browse-url.el (browse-url-firefox):
11467 Test system-type, not system-configuration.
11468
11469 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11470 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11471 Use log-edit-empty-buffer-p. (Bug#7598)
11472
11473 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11474 (rlogin-mode-map): Initialize in the defvar.
11475 (rlogin): Use ignore-errors.
11476
11477 * replace.el (occur-mode-map): Some fixes for menu items.
11478
11479 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11480
11481 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11482
11483 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11484
11485 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11486 issuing unused warnings.
11487
11488 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11489 macro directly.
11490
11491 * simple.el: Lisp reimplement of list-processes. Based on an
11492 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11493 (process-menu-mode): New major mode.
11494 (list-processes--refresh, list-processes):
11495 (process-menu-visit-buffer): New functions.
11496
11497 * files.el (save-buffers-kill-emacs): Don't assume any return
11498 value of list-processes, which is undocumented anyway.
11499
11500 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11501
11502 * emacs-lisp/tabulated-list.el: New file.
11503
11504 * emacs-lisp/package.el: Use Tabulated List mode.
11505 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11506 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11507 table format using Tabulated List mode variables.
11508 (package--push): New macro, replacing package-list-maybe-add.
11509 (package-menu--generate): Use package--push. Renamed from
11510 package--generate-package-list.
11511 (package-menu-refresh, list-packages): Use it.
11512 (package-menu--print-info): Rename from package-print-package.
11513 Return insertion data instead of inserting it directly.
11514 (package-menu-describe-package, package-menu-execute):
11515 Use tabulated-list-get-id.
11516 (package-menu-mark-delete, package-menu-mark-install)
11517 (package-menu-mark-unmark, package-menu-backup-unmark)
11518 (package-menu-mark-obsolete-for-deletion):
11519 Use tabulated-list-put-tag.
11520 (package--list-packages, package-menu-revert)
11521 (package-menu-get-package, package-menu-get-version)
11522 (package-menu-sort-by-column): Functions deleted.
11523 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11524 (package-menu--status-predicate, package-menu--version-predicate)
11525 (package-menu--name-predicate)
11526 (package-menu--description-predicate): Handle arguments in the
11527 Tabulated List format.
11528 (package-list-packages-no-fetch): Call list-packages.
11529
11530 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11531
11532 * files.el (after-find-file-from-revert-buffer): Remove variable.
11533 (after-find-file): Don't bind it.
11534 (revert-buffer-in-progress-p): New variable.
11535 (revert-buffer): Bind it.
11536 Pass nil for `after-find-file-from-revert-buffer'.
11537
11538 * saveplace.el (save-place-find-file-hook): Use new variable
11539 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11540
11541 2011-04-06 Glenn Morris <rgm@gnu.org>
11542
11543 * Makefile.in (AUTOGEN_VCS): New variable.
11544 (autoloads): Use $AUTOGEN_VCS.
11545
11546 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11547 * calendar/calendar.el (calendar-mode-map):
11548 Check for toolkit scroll bars. (Bug#8305)
11549
11550 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11551
11552 * minibuffer.el (completion-in-region--postch)
11553 (completion-in-region-mode): Remove unnecessary messages.
11554
11555 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11556
11557 * font-lock.el (font-lock-refresh-defaults):
11558 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11559 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11560
11561 * info.el (Info-directory-list, Info-read-node-name-2)
11562 (Info-split-parameter-string): Doc fixes.
11563 (Info-virtual-nodes): Reflow docstring.
11564 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11565 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11566 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11567 Fix typos in docstrings.
11568 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11569 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11570 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11571 (Info-restore-desktop-buffer): Mark unused parameters.
11572 (Info-directory-find-file, Info-directory-find-node)
11573 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11574 (Info-virtual-index-find-node, Info-apropos-find-file)
11575 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11576 Mark unused parameters; fix typos in docstrings.
11577 (Info-virtual-index): Remove unused local variable `nodename'.
11578
11579 2011-04-05 Deniz Dogan <deniz@dogan.se>
11580
11581 * net/rcirc.el: Update my e-mail address.
11582 (rcirc-mode-map): Remove M-o binding.
11583
11584 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11585
11586 * startup.el (command-line): Save the cursor's theme-face
11587 directly, instead of using face-override-spec.
11588
11589 * custom.el (load-theme): Minor optimization in assigning faces.
11590
11591 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11592
11593 * help-fns.el (describe-variable): Complete all variables having
11594 documentation, including keywords.
11595 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11596
11597 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11598
11599 Convert to lexical-binding.
11600
11601 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11602 (bs--get-marked-string, bs--get-modified-string)
11603 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11604 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11605 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11606
11607 * ehelp.el (electric-help-execute-extended)
11608 (electric-help-ctrl-x-prefix):
11609 * hexl.el (hexl-revert-buffer-function):
11610 * linum.el (linum-after-change, linum-after-scroll):
11611 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11612
11613 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11614
11615 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11616
11617 * epa-dired.el:
11618 * epa-mail.el:
11619 * epa-hook.el:
11620 * epa-file.el:
11621 * epa.el:
11622 * epg.el: Use lexical binding.
11623
11624 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11625
11626 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11627
11628 * textmodes/flyspell.el (flyspell-word): Recognize default
11629 dictionary case for flyspell-mark-duplications-exceptions.
11630 Use regexp matching for languages.
11631 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11632 default dictionary (Bug#7926).
11633
11634 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11635
11636 * emacs-lisp/package.el (package--with-work-buffer):
11637 Recognize https URLs.
11638
11639 * net/network-stream.el: Move from gnus/proto-stream.el.
11640 Change prefix to network-stream throughout.
11641 (open-protocol-stream): Merge into open-network-stream, leaving
11642 open-protocol-stream as an alias. Handle nil BUFFER args.
11643
11644 * subr.el (open-network-stream): Move to net/network-stream.el.
11645
11646 2011-04-02 Glenn Morris <rgm@gnu.org>
11647
11648 * find-dired.el (find-exec-terminator): New option.
11649 (find-ls-option): Test for -ls support.
11650 (find-ls-subdir-switches): Test for -b in find-ls-option.
11651 (find-dired, find-grep-dired): Doc fixes.
11652 (find-dired): Use find-exec-terminator.
11653
11654 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11655 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11656 (find-name-arg): Remove purecopy.
11657
11658 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11659 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11660 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11661 accordingly. Don't add the null-device if not needed.
11662
11663 * files.el (save-some-buffers): Doc fix.
11664
11665 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11666
11667 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11668
11669 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11670
11671 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11672 Use `dolist' rather than `mapcar'.
11673
11674 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11675
11676 Add lexical binding.
11677
11678 * subr.el (apply-partially): Use new closures rather than CL.
11679 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11680 (dolist, dotimes): Use slightly different expansion for lexical code.
11681 (functionp): Move to C.
11682 (letrec): New macro.
11683 (with-wrapper-hook): Use it and apply-partially instead of CL.
11684 (eval-after-load): Preserve lexical-binding.
11685 (save-window-excursion, with-output-to-temp-buffer): Turn them
11686 into macros.
11687
11688 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11689
11690 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11691 than the arglist.
11692 (help-add-fundoc-usage): Don't add `Not documented'.
11693 (help-function-arglist): Handle closures, subroutines, and new
11694 byte-code-functions.
11695 (help-make-usage): Remove leading underscores.
11696 (describe-function-1): Handle closures.
11697 (describe-variable): Use special-variable-p for completion.
11698
11699 * files.el (lexical-binding): Declare safe.
11700
11701 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11702 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11703 (pcase): Add `let' pattern.
11704 Change memoization so it actually works.
11705 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11706 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11707 <let>: New case.
11708
11709 * emacs-lisp/macroexp.el: Use lexical binding.
11710 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11711 Don't convert ' to #' without checking that it's indeed quoting
11712 a lambda.
11713
11714 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11715 Use eval-sexp-add-defvars.
11716 (eval-sexp-add-defvars): New fun.
11717
11718 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11719
11720 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11721 Don't autoload.
11722 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11723 than the internal `byte-compile-lambda'.
11724 (defmethod): Don't hide code under quotes.
11725 (eieio-defmethod): New `code' argument.
11726
11727 * emacs-lisp/eieio-comp.el: Remove.
11728
11729 * emacs-lisp/edebug.el (edebug-eval-defun)
11730 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11731 (edebug-toggle): Avoid `eval'.
11732
11733 * emacs-lisp/disass.el (disassemble-internal): Handle new
11734 `closure' objects.
11735 (disassemble-1): Handle new byte codes.
11736
11737 * emacs-lisp/cl.el (pushnew): Silence warning.
11738
11739 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11740 (cl-byte-compile-throw): Remove.
11741 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11742
11743 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11744 closures.
11745
11746 * emacs-lisp/cconv.el: New file.
11747
11748 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11749 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11750 (byte-compile-initial-macro-environment):
11751 Handle declare-function here.
11752 (byte-compile--lexical-environment): New var.
11753 (byte-stack-ref, byte-stack-set, byte-discardN)
11754 (byte-discardN-preserve-tos): New lap codes.
11755 (byte-interactive-p): Don't use any more.
11756 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11757 New macros.
11758 (byte-compile-lapcode): Use them and handle new lap codes.
11759 (byte-compile-obsolete): Remove.
11760 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11761 (byte-compile-arglist-warn): Check late def of inlinable funs.
11762 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11763 since they should have been expanded by now.
11764 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11765 (byte-compile-from-buffer): Remove unused second arg.
11766 (byte-compile-preprocess): New function.
11767 (byte-compile-toplevel-file-form): New function to distinguish
11768 file-form calls from outside from file-form calls from hunk-handlers.
11769 (byte-compile-file-form): Simplify.
11770 (byte-compile-file-form-defsubst): Remove.
11771 (byte-compile-file-form-defmumble): Simplify now that
11772 byte-compile-lambda always returns a byte-code-function.
11773 (byte-compile): Preprocess.
11774 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11775 Remove, not used any more.
11776 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11777 (byte-compile-make-args-desc): New funs.
11778 (byte-compile-lambda): Handle lexical functions. Always return
11779 a byte-code-function.
11780 (byte-compile-reserved-constants): New var, to make up room for
11781 closed-over variables.
11782 (byte-compile-constants-vector): Obey it.
11783 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11784 (byte-compile-macroexpand-declare-function): New function.
11785 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11786 byte-code-functions.
11787 (byte-compile-form): Check obsolescence here.
11788 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11789 (byte-compile-variable-ref): Remove.
11790 (byte-compile-dynamic-variable-op): New fun.
11791 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11792 (byte-compile-variable-set): New funs.
11793 (byte-compile-discard): Add 2 args.
11794 (byte-compile-stack-ref, byte-compile-stack-set)
11795 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11796 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11797 macroexpand-all instead.
11798 (byte-compile-quote-form): Remove.
11799 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11800 (byte-compile-bind, byte-compile-unbind): New funs.
11801 (byte-compile-let): Handle let* and lexical binding.
11802 (byte-compile-let*): Remove.
11803 (byte-compile-catch, byte-compile-unwind-protect)
11804 (byte-compile-track-mouse, byte-compile-condition-case):
11805 Handle a new :fun-body form, used for lexical scoping.
11806 (byte-compile-save-window-excursion)
11807 (byte-compile-with-output-to-temp-buffer): Remove.
11808 (byte-compile-defun): Simplify.
11809 (byte-compile-stack-adjustment): New fun.
11810 (byte-compile-out): Use it.
11811 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11812
11813 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11814 handler any more.
11815
11816 * emacs-lisp/byte-opt.el: Use lexical binding.
11817 (byte-inline-lapcode): Remove (to bytecomp).
11818 (byte-compile-inline-expand): Pay attention to inlining to/from
11819 lexically bound code.
11820 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11821 any more.
11822 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11823 any more and don't call compiler-macros.
11824 (byte-compile-splice-in-already-compiled-code): Remove.
11825 (byte-code): Don't inline any more.
11826 (disassemble-offset): Receive `bytes' as argument rather than via
11827 dynamic scoping.
11828 (byte-compile-tag-number): Declare before first use.
11829 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11830 `return' even if make-spliceable.
11831 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11832 obsolete interactive-p.
11833 (byte-optimize-lapcode): Optimize new lap-codes.
11834 Don't trip up on new form of `byte-constant' lap code.
11835
11836 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11837
11838 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11839
11840 * custom.el (custom-initialize-default, custom-declare-variable):
11841 Use `defvar'.
11842
11843 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11844 New variables.
11845 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11846 (COMPILE_FIRST): Add macroexp and cconv.
11847 * makefile.w32-in: Mirror changes in Makefile.in.
11848
11849 * vc/cvs-status.el:
11850 * vc/diff-mode.el:
11851 * vc/log-edit.el:
11852 * vc/log-view.el:
11853 * vc/smerge-mode.el:
11854 * textmodes/bibtex-style.el:
11855 * textmodes/css.el:
11856 * startup.el:
11857 * uniquify.el:
11858 * minibuffer.el:
11859 * newcomment.el:
11860 * reveal.el:
11861 * server.el:
11862 * mpc.el:
11863 * emacs-lisp/smie.el:
11864 * doc-view.el:
11865 * dired.el:
11866 * abbrev.el: Use lexical binding.
11867
11868 2011-04-01 Eli Zaretskii <eliz@gnu.org>
11869
11870 * info.el (info-display-manual): New function.
11871
11872 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11875
11876 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11877
11878 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11879 an entry for that server in rcirc-authinfo. (Bug#8385)
11880
11881 2011-03-31 Glenn Morris <rgm@gnu.org>
11882
11883 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11884
11885 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11886
11887 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11888
11889 * progmodes/python.el (python-default-interpreter)
11890 (python-python-command-args, python-jython-command-args)
11891 (python-which-shell, python-which-args, python-which-bufname)
11892 (python-file-queue, python-comint-output-filter-function)
11893 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11894 variables and functions.
11895
11896 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11899 (completion-in-region-mode): New minor mode.
11900 (completion-in-region): Use it.
11901 (completion-in-region--data, completion-in-region-mode-map): New vars.
11902 (completion-in-region--postch): New function.
11903 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11904 New vars.
11905 (completion--capf-wrapper): New function.
11906 (completion-at-point): Use it to track well-behavedness of
11907 hook functions.
11908 (completion-help-at-point): New command.
11909
11910 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11911
11912 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11913 syntax class to search for whitespace on a single line
11914 (Message-ID: <4D938140.4030905@redhat.com>).
11915
11916 2011-03-30 Leo Liu <sdl.web@gmail.com>
11917
11918 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11919 New commands.
11920 (edit-abbrevs-map): Bind them here.
11921 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11922
11923 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11924
11925 * allout.el (allout-hide-by-annotation, allout-flag-region):
11926 Reduce possibility of overlay leakage by making them volatile.
11927
11928 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11929 hash is not shared between buffers. Mode initialization is
11930 responsible for giving it a useful starting value.
11931 (allout-item-span): Reduce possibility of overlay leakage by
11932 making them volatile.
11933 (allout-widgets-count-buttons-in-region): Add diagnostic function
11934 for tracking down button overlay leaks.
11935
11936 2011-03-29 Leo Liu <sdl.web@gmail.com>
11937
11938 * ido.el (ido-read-internal): Use the default history var
11939 minibuffer-history if no HISTORY is specified.
11940
11941 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11942
11943 * net/imap.el (imap-shell-open, imap-process-connection-type):
11944 Use imap-process-connection-type for 'shell' streams as well as
11945 Kerberos, SSL, other subprocesses.
11946
11947 2011-03-28 Leo Liu <sdl.web@gmail.com>
11948
11949 * abbrev.el (abbrev-table-empty-p): New function.
11950 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11951 nonempty ones. (Bug#5937)
11952
11953 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11954
11955 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11956
11957 2011-03-27 Leo Liu <sdl.web@gmail.com>
11958
11959 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11960 for foreground and background colors.
11961 (ansi-color-make-color-map): Adapt.
11962
11963 2011-03-25 Leo Liu <sdl.web@gmail.com>
11964
11965 * midnight.el (midnight-time-float): Remove. Note it calculates
11966 the microsecond component incorrectly and seconds-to-time does the
11967 same job.
11968 Remove redundant (require 'timer).
11969
11970 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11971 (ido-completions): Remove unused arguments. (Bug#8329)
11972
11973 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * minibuffer.el (completion--flush-all-sorted-completions):
11976 Remove itself from hook.
11977 (completion-at-point): Let the functions perform the completion
11978 immediately and return nil or t.
11979 * comint.el (comint-dynamic-complete-functions): Now identical to
11980 completion-at-point-functions.
11981 (comint-dynamic-list-input-ring): Remove unused var `index'.
11982 (comint--match-partial-filename, comint--unquote&expand-filename):
11983 New funs, split from comint-match-partial-filename.
11984 (comint-dynamic-complete): Use completion-at-point.
11985 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11986
11987 2011-03-24 Drew Adams <drew.adams@oracle.com>
11988
11989 * thingatpt.el: Support `defun'.
11990
11991 2011-03-23 Leo Liu <sdl.web@gmail.com>
11992
11993 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11994
11995 * help-mode.el (help-mode-finish): Tweak regexp.
11996
11997 2011-03-23 Glenn Morris <rgm@gnu.org>
11998
11999 * eshell/esh-opt.el (eshell-eval-using-options):
12000 Do not bind unused local variable `eshell-option-stub'.
12001
12002 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12003
12004 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12005
12006 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12007 keymap variable in `with-no-warnings' to avoid a warning when the
12008 keymap has been already `defconst'ed.
12009
12010 2011-03-22 Leo Liu <sdl.web@gmail.com>
12011
12012 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12013 encode all chars in abbrevs; otherwise use emacs-mule or
12014 utf-8-emacs. (Bug#8308)
12015
12016 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12017
12018 * simple.el (backward-delete-char-untabify):
12019 Avoid warning about using `delete-backward-char'.
12020
12021 * image.el (image-type-file-name-regexps): Make it variable.
12022 `imagemagick-register-types' modifies it, and the user may want
12023 to add new extensions for known image types.
12024 (imagemagick-register-types): Throw error if not using ImageMagick.
12025
12026 2011-03-22 Leo Liu <sdl.web@gmail.com>
12027
12028 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12029 located before rcirc-prompt-end-marker.
12030 (rcirc-complete): Error if point is not after rcirc prompt.
12031 Handle the case when table is nil.
12032 (rcirc-user-authenticated): Define to fix compiler warning.
12033
12034 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12035
12036 * custom.el (custom--inhibit-theme-enable): Make it affect only
12037 custom-theme-set-variables and custom-theme-set-faces.
12038 (provide-theme): Ignore custom--inhibit-theme-enable.
12039 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12040 (custom-enabling-themes): Delete variable.
12041 (enable-theme): Accept only loaded themes as arguments.
12042 Ignore the special custom-enabled-themes variable.
12043 (custom-enabled-themes): Forbid themes from setting this.
12044 Eliminate use of custom-enabling-themes.
12045 (custom-push-theme): Quote "changed" custom var entry.
12046
12047 2011-03-21 Leo Liu <sdl.web@gmail.com>
12048
12049 * ido.el (ido-read-internal): Add ido-selected to history instead
12050 of user input.
12051
12052 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * subr.el (deferred-action-list, deferred-action-function):
12055 Mark obsolete.
12056
12057 2011-03-21 Leo Liu <sdl.web@gmail.com>
12058
12059 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12060 change on 2011-02-13 (bug#8309).
12061
12062 * minibuffer.el (read-file-name-function): Change default value.
12063 (read-file-name--defaults): Rename from read-file-name-defaults.
12064 (read-file-name-default): Rename from read-file-name.
12065 (read-file-name): Call read-file-name-function.
12066
12067 2011-03-21 Glenn Morris <rgm@gnu.org>
12068
12069 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12070 Doc fixes.
12071
12072 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12073
12074 * cus-theme.el: Add missing provide statement.
12075 (customize-create-theme): Extract theme value correctly.
12076 (custom-theme-visit-theme): Autoload.
12077 (customize-create-theme): Prompt before inserting default faces.
12078
12079 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12080
12081 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12082 units and musical notes.
12083
12084 2011-03-20 Leo Liu <sdl.web@gmail.com>
12085
12086 * ido.el (ido-read-internal): Use completing-read-default.
12087 (ido-completing-read): Fix compatibility with completing-read.
12088
12089 2011-03-20 Christian Ohler <ohler@gnu.org>
12090
12091 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12092 (ert-delete-all-tests): Use `called-interactively-p' rather than
12093 `interactive-p'.
12094 (ert--make-xrefs-region): Respect END.
12095
12096 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12097
12098 * dired-aux.el (dired-create-directory): Signal an error if the
12099 directory already exists (Bug#8246).
12100
12101 * facemenu.el (list-colors-display): Call list-faces-display
12102 inside with-help-window.
12103 (list-colors-print): Use display property to align the final
12104 column, instead of checking window-width.
12105
12106 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12107
12108 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12109 windows-nt systems.
12110 (emerge-protect-metachars): Quote correctly for ms-dos and
12111 windows-nt systems.
12112
12113 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12114
12115 * info.el (info-initialize): Replace all uses of `:' with
12116 path-separator for compatibility with non-Unix systems.
12117 Cache quoting of path-separator. (Bug#8258)
12118
12119 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12120
12121 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12122 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12123 (mouse-avoidance-mode): Fix typos in docstrings.
12124
12125 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12126
12127 * startup.el (package-subdirectory-regexp): Move from package.el.
12128 Omit \\` and \\', and let callers add them.
12129
12130 * emacs-lisp/package.el (package-strip-version)
12131 (package-load-all-descriptors): Add \\` and \\' to
12132 package-subdirectory-regexp before using it.
12133 (package-untar-buffer): New arg DIR; ensure that file untars only
12134 into this expected directory. Remove superfluous delete-region.
12135 (package-unpack): Caller changed.
12136 (package-tar-file-info): Use package-subdirectory-regexp.
12137
12138 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12139
12140 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12141 diff-mode-shared-map (bug#8284).
12142 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12143
12144 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12145
12146 * calendar/time-date.el (format-seconds): Use assoc instead of
12147 assoc-string, since assoc-string doesn't exist in XEmacs.
12148
12149 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12150
12151 * custom.el (custom-known-themes): Reflow docstring.
12152 (custom-theme-load-path): Fix typo in docstring.
12153 (load-theme): Fix typo in error message.
12154 (custom-available-themes, custom-variable-theme-value):
12155 Use `let', not `let*'.
12156
12157 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12158
12159 * calc/README: Mention inclusion of musical notes.
12160
12161 * calc/calc-units.el (calc-lu-quant): Rename from
12162 `calc-logunits-quantity'.
12163 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12164 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12165 (calc-db): Rename from `calc-dblevel'.
12166 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12167 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12168 (calc-np): Rename from `calc-nplevel'.
12169 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12170 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12171 (calc-lu-plus): Rename from `calc-logunits-add'.
12172 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12173 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12174 (calc-lu-minus): Rename from `calc-logunits-sub'.
12175 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12176 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12177 (calc-lu-times): Rename from `calc-logunits-mul'.
12178 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12179 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12180 (calc-lu-divide): Rename from `calc-logunits-div'.
12181 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12182 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12183
12184 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12185 functions being autoloaded.
12186
12187 * calc/calc.el (calc-lu-power-reference): Rename from
12188 `calc-logunits-power-reference'.
12189 (calc-lu-field-reference): Rename from
12190 `calc-logunits-field-reference'.
12191
12192 * calc/calc-help.el (calc-l-prefix-help):
12193 Mention musical note functions.
12194
12195 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * minibuffer.el (completion-all-sorted-completions):
12198 Use :completion-cycle-penalty text property if present.
12199
12200 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12201
12202 * allout.el (allout-yank-processing): Adjust for new rebulleting
12203 regime so bullet being yanked is used without prompting the user
12204 for a choice.
12205
12206 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12207
12208 * startup.el (command-line): Warn the user that _emacs is deprecated.
12209
12210 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12211
12212 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12213 (delphi-verbose, delphi-comment-face, delphi-string-face)
12214 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12215 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12216 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12217 (delphi-new-comment-line, delphi-font-lock-defaults)
12218 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12219 Fix typos in docstrings.
12220
12221 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12222
12223 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12224 Invert the roles of character and string values for INSTEAD, so a
12225 string is used for the more common case of a defaulting prompt.
12226
12227 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * progmodes/ruby-mode.el (ruby-backward-sexp):
12230 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12231 * play/gamegrid.el (gamegrid-make-face):
12232 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12233 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12234 * notifications.el (notifications-notify):
12235 * net/xesam.el (xesam-search-engines):
12236 * net/quickurl.el (quickurl-list-insert):
12237 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12238
12239 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12240
12241 * startup.el (command-line): Update package subdirectory regexp.
12242
12243 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * allout.el (allout-abbreviate-flattened-numbering)
12246 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12247
12248 * subr.el (read-char-choice): Only show the cursor after the prompt,
12249 not after the answer.
12250
12251 2011-03-15 Kevin Ryde <user42@zip.com.au>
12252
12253 * help-fns.el (variable-at-point): Skip leading quotes, if any
12254 (bug#8253).
12255
12256 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12259 warning message.
12260
12261 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12262
12263 * shell.el (shell): When called interactively, offer to change the
12264 shell file name on remote hosts.
12265
12266 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12267
12268 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12269 integration for LDAP parameters. The host, base, user or binddn,
12270 and secret tokens can be specified in a netrc file, for instance.
12271 This is optional because an `auth-source' parameter must be
12272 specified in the search attributes.
12273
12274 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12275
12276 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12277
12278 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12281 into declaration. Remove redundant and harmful binding.
12282
12283 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12284
12285 * files.el (file-ownership-preserved-p): Pass `integer' as an
12286 explicit 2nd argument to `file-attributes'. If the file's owner
12287 is the Administrators group on Windows, and the current user is
12288 Administrator, consider that a match.
12289
12290 * server.el (server-ensure-safe-dir): Consider server directory
12291 safe on MS-Windows if its owner is the Administrators group while
12292 the current Emacs user is Administrator. Use `=' to compare
12293 numerical UIDs, since they could be integers or floats.
12294
12295 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12296
12297 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12298
12299 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12300
12301 Sync with Tramp 2.2.1.
12302
12303 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12304
12305 * net/trampver.el: Update release number.
12306
12307 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12308
12309 * progmodes/compile.el (compilation--previous-directory): Fix up
12310 various nil/dead-marker mismatches (bug#8014).
12311 (compilation-directory-properties, compilation-error-properties):
12312 Don't call it at a position past the one we're about to change.
12313
12314 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12315 Disable obsolescence warnings in the file that declares it.
12316
12317 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12318
12319 * allout-widgets.el (allout-widgets-tally):
12320 Initialize allout-widgets-tally as a hash table rather than nil to
12321 prevent mode-line redisplay warnings. Also, clarify the module
12322 description and fix a comment typo.
12323
12324 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * help-fns.el (describe-variable): Don't complete keywords.
12327 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12328
12329 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12330
12331 * emacs-lisp/package.el (package-version-join): Impose a standard
12332 string representation for pre/alpha/beta version lists.
12333 (package-unpack-single): Standardize the directory name by passing
12334 it through package-version-join.
12335 (package-strip-rcs-id): Accept any version string that does not
12336 signal an error in version-to-list.
12337
12338 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12339
12340 * simple.el (delete-trailing-whitespace): Return nil for the
12341 benefit of `write-file-functions'.
12342
12343 2011-03-10 Glenn Morris <rgm@gnu.org>
12344
12345 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12346
12347 * vc/vc-git.el (vc-git-program): New option.
12348 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12349 (vc-git--call): Use it.
12350
12351 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12352
12353 * cus-edit.el (Custom-newline): If no button at point, look
12354 for a subgroup button at start-of-line. (Bug#2298)
12355
12356 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12357
12358 2011-03-10 Julien Danjou <julien@danjou.info>
12359
12360 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12361 `cursor-type' is nil.
12362
12363 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12364
12365 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12366
12367 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12368
12369 * allout.el: Change so yank of distinctive-bullet items
12370 preserves the existing header prefix, rebulleting it if necessary,
12371 rather than replacing it. This is necessary for proper operation
12372 of cooperative addons like allout-widgets.
12373 (allout-make-topic-prefix, allout-rebullet-heading):
12374 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12375 value as alternate bullet to be used, instead of prompting the user
12376 for a bullet character.
12377
12378 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12379
12380 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12381 Do not use `tramp-file-name-port', because this returns also
12382 `tramp-default-port'.
12383
12384 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12385
12386 * net/rcirc.el (rcirc-handler-001): Remove useless
12387 with-rcirc-process-buffer.
12388 (rcirc-check-auth-status): Swap arguments to string-match.
12389
12390 2011-03-09 Glenn Morris <rgm@gnu.org>
12391
12392 * shell.el (shell-mode):
12393 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12394
12395 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12396 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12397
12398 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12399
12400 * emacs-lisp/package.el (package-refresh-contents)
12401 (package-menu-execute): Use condition-case-no-debug.
12402
12403 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12404
12405 * simple.el (shell-command-to-string): Use `process-file'.
12406
12407 * emacs-lisp/package.el (package-tar-file-info): Handle also
12408 remote files.
12409
12410 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12411 Use `equal' for upload base check.
12412
12413 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12414
12415 * textmodes/texinfo.el (texinfo-environments):
12416 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12417
12418 2011-03-08 Glenn Morris <rgm@gnu.org>
12419
12420 * cus-start.el (cursor-in-non-selected-windows):
12421 Fix :set quoting oddness. (Bug#8192)
12422
12423 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12424 in some setf expressions. (Bug#2159)
12425
12426 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12427
12428 * custom.el (custom-available-themes): Return themes in
12429 alphabetical order.
12430
12431 See ChangeLog.15 for earlier changes.
12432
12433 ;; Local Variables:
12434 ;; coding: utf-8
12435 ;; End:
12436
12437 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12438
12439 This file is part of GNU Emacs.
12440
12441 GNU Emacs is free software: you can redistribute it and/or modify
12442 it under the terms of the GNU General Public License as published by
12443 the Free Software Foundation, either version 3 of the License, or
12444 (at your option) any later version.
12445
12446 GNU Emacs is distributed in the hope that it will be useful,
12447 but WITHOUT ANY WARRANTY; without even the implied warranty of
12448 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12449 GNU General Public License for more details.
12450
12451 You should have received a copy of the GNU General Public License
12452 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.